cvs commit: src/etc/defaults rc.conf

John Baldwin jhb at
Wed Apr 23 13:19:47 UTC 2008

On Monday 21 April 2008 02:17:48 pm Brooks Davis wrote:
> brooks      2008-04-21 18:17:48 UTC
>   FreeBSD src repository
>   Modified files:
>     etc/defaults         rc.conf
>   Log:
>   Change the default of ddb_enable to YES so we default to generating
> textdumps on panic.  This means you get a potentially useful dump even if
> your system is running X when you panic.

Note that for many panics (such as page faults due to a NULL pointer 
dereference) the enhanced stack handling ability of kgdb (ability to examine 
local variables in stack frames, etc.) is a lot more useful than ddb and now 
those panics won't be nearly as easy to debug via textdumps.

As far as panics in X are concerned, that is a bug in the console driver that 
it doesn't just abort ddb already and write out a dump and reboot.  I've been 
disabling ddb on panics via tunable as a workaround on my laptop to get 
crashdumps during panics in X.

John Baldwin

More information about the cvs-all mailing list