From owner-freebsd-stable@FreeBSD.ORG Thu May 27 15:52:07 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B5F8E16A4CF; Thu, 27 May 2004 15:52:07 -0700 (PDT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id A192A43D58; Thu, 27 May 2004 15:52:07 -0700 (PDT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 5069972DCB; Thu, 27 May 2004 15:51:24 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 4D0A772DB5; Thu, 27 May 2004 15:51:24 -0700 (PDT) Date: Thu, 27 May 2004 15:51:24 -0700 (PDT) From: Doug White To: David Magda In-Reply-To: Message-ID: <20040527154625.S53810@carver.gumbysoft.com> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: stable@freebsd.org cc: Robert Watson Subject: Re: how to interpret crash? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 May 2004 22:52:07 -0000 On Wed, 26 May 2004, David Magda wrote: > On May 26, 2004, at 17:34, Robert Watson wrote: > [...] > > This is a NULL pointer dereference in some piece of code. The > > instruction > > pointer is 0xc0230fee, which if you have a kernel with debugging > > symbols, > > you can convert into a source file and line number (see the handbook > > for > [...] > > Currently debugging kernels are not installed by default. Would it be > possible to add a flag in make.conf to allow a kernel.debug to be > installed along side the regular kernel? This way people can set things > up once and not having to worry about digging around for a kernel with > symbols if a panic should occur. I believe this is the default in 5.X, not only because its a testing release. :-) If you put this line in your kernel config it should generate the kernel.debug: makeoptions DEBUG=-g > I know there's there's an installkernel.debug target under /usr/src, > but I'm unclear as to what it does. Does it install both the regular > and debugging kernels, or just the debugging one? You don't need the actual kernel.debug to boot with, just the image around so when you run gdb -k it can pull the symbols out. Otherwise, the installed kernel is stripped. On -CURRENT, there's a /sys/$arch/compile/$kernelname.debug that you suck in. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org