Subject: Re: softdep-related panic two days in a row, 2.0_BETA/i386
To: Jeff Rizzo <riz@redcrowgroup.com>
From: Pavel Cahyna <pcah8322@artax.karlin.mff.cuni.cz>
List: current-users
Date: 07/13/2004 21:48:31
> > I usually do 'reboot 0x04' on this system for this very reason, but
> > that's why I don't get a crash dump. :-(  I don't
> > see from the ddb manpage what the 0x100 does... care to explain?  I'm
> > loathe to experiment too much, because if this system hangs I have to
> > drive for an hour to reset it.  :/

Isn't it possible to go back to ddb by sending a magic value to the console
(Break, Stop-A, Ctrl-Alt-Esc or whatever) when such hang happens? 

> 
> never mind, a little UTSL cleared that up.  (RB_DUMP)  The other
> reboot flags should probably be mentioned (or at least a pointer to
> them mentioned) in ddb(4)...

Yes, they should. But there is also a kernel FAQ:
http://www.netbsd.org/Documentation/kernel/#generating-a-crash-dump

I would also love to have a 'dump' command in ddb which would be an
alias of reboot 0x104, just as 'sync' is alias for reboot 0x100. (I
can never remember the correct value and it's difficult to find it when
the machine sits in ddb...)

Bye	Pavel