Automatic crashdumps, etc.

Lawrence Stewart lstewart at freebsd.org
Sun Jul 12 11:31:28 UTC 2009


Stefan Bethke wrote:
> Am 12.07.2009 um 09:16 schrieb Lawrence Stewart:
> 
>> You can set debug.debugger_on_panic=0 in /etc/sysctl.conf which will 
>> make the system automatically dump core and reset instead of sitting 
>> at the ddb prompt.
> 
> I was under the impression that adding ddb_enable="YES" to rc.conf would 
> run a DDB script that records some information, creates a dump, and then 
> resets.  However, whenever I've had a panic, I was presented with just 
> the ddb prompt.  Is something else needed?

Not sure about the rc.conf option. Doing what I said will get you a 
core.txt.X, info.X and vmcore.X file in /var/crash automatically if the 
system panics, so you shouldn't need any more than that right?

Cheers,
Lawrence


More information about the freebsd-current mailing list