Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Apr 2008 09:07:23 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        Brooks Davis <brooks@freebsd.org>
Cc:        cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/etc/defaults rc.conf
Message-ID:  <200804230907.24247.jhb@freebsd.org>
In-Reply-To: <200804211817.m3LIHm97031507@repoman.freebsd.org>
References:  <200804211817.m3LIHm97031507@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804230907.24247.jhb>