Re: Automatic crashdumps, etc.

From: Lawrence Stewart <lstewart_at_freebsd.org>
Date: Sun, 12 Jul 2009 12:31:02 +0100
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
Received on Sun Jul 12 2009 - 09:31:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:51 UTC