Subject: Re: Generating a crash dump...
To: Darren Reed <darrenr@reed.wattle.id.au>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: current-users
Date: 04/25/2000 14:51:55
On Tue, Apr 25, 2000 at 05:11:17PM +1000, Darren Reed wrote:
> How is this now done from ddb ?
> 
> db> call cpu_reboot(0x100)
> 
> dumping dev 0,1 offset 199177
> dump pciide0:0:0: bad state 1 in _wdc_ata_bio_start
> panic: _wdc_ata_bio_start: bad state

This should have worked, but it seems the IDE controller was not in a stable
state, so it aborted. It look like this case should be easy to deal with,
if we know we are doing a core dump (so that we can just reset the driver state
without worying). Is there a way (global variable or something) to know if
we're doing a core dump ?

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--