Re: Auto doadump()

From: Benjamin Kaduk <kaduk_at_MIT.EDU>
Date: Thu, 3 Jun 2010 17:40:49 -0400 (EDT)
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
Received on Thu Jun 03 2010 - 19:40:52 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:04 UTC