From owner-cvs-all@FreeBSD.ORG Wed Apr 23 13:19:47 2008 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CAEC4106566C; Wed, 23 Apr 2008 13:19:47 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 72B238FC13; Wed, 23 Apr 2008 13:19:47 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from zion.baldwin.cx (unknown [208.65.91.234]) by elvis.mu.org (Postfix) with ESMTP id 29E581A4D7E; Wed, 23 Apr 2008 06:19:47 -0700 (PDT) From: John Baldwin To: Brooks Davis Date: Wed, 23 Apr 2008 09:07:23 -0400 User-Agent: KMail/1.9.7 References: <200804211817.m3LIHm97031507@repoman.freebsd.org> In-Reply-To: <200804211817.m3LIHm97031507@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804230907.24247.jhb@freebsd.org> Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/etc/defaults rc.conf X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Apr 2008 13:19:47 -0000 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