how to set dumpdev

Brian Candler B.Candler at pobox.com
Thu Apr 28 03:29:57 PDT 2005


On Thu, Apr 28, 2005 at 05:37:16AM -0400, Andre Guibert de Bruet wrote:
> >	i can't use dumpon, since the kernel is panicking on boot, so
> >tried in loader.conf:
> >	dumpdev="/dev/ar0s1b"
> >but getting:
> >db> call doadump
> >Cannot dump. No dump device defined.
> >0x25
> >
> >i need this is for current 6.0
> >thanks,
> >	danny
> >
> 
> That directive, along with dumpdir, would be set in /etc/rc.conf.

According to `man dumpon` (on a 5-STABLE system):

     Since dumpon cannot be used during kernel initialization, the dumpdev
     variable of loader(8) must be used to enable dumps for system panics
     which occur during kernel initialization.

But I don't find 'dumpdev' referenced anywhere under /usr/src/sys/boot/. Is
the documentation wrong?

Regards,

Brian.


More information about the freebsd-current mailing list