Auto doadump()

Benjamin Kaduk kaduk at MIT.EDU
Thu Jun 3 21:40:52 UTC 2010

On Thu, 3 Jun 2010, David Rhodus wrote:

> Is there a rc.conf variable to automatically save core on a panic and reboot ?
> Setting dumpdev="AUTO"  doesn't seem to do the trick.

dumpdev merely controls which swap device the dump gets written to.
You probably want to either compile your kernel with KDB_UNATTENDED or set 
the debug.debugger_on_panic sysctl to 0.
(I run my systems to drop into KDB interactively, but reading 
kern/kern_shutdown.c seems to indicate that this will do what you want.)

-Ben Kaduk

More information about the freebsd-current mailing list