From owner-freebsd-questions@FreeBSD.ORG Sun Jan 7 04:49:22 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4C9BA16A403 for ; Sun, 7 Jan 2007 04:49:22 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [199.26.172.34]) by mx1.freebsd.org (Postfix) with ESMTP id 2FF6B13C455 for ; Sun, 7 Jan 2007 04:49:22 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id l074nLUx024774 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 6 Jan 2007 20:49:21 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id l074nLrK024773; Sat, 6 Jan 2007 20:49:21 -0800 (PST) Received: from fbsd61 ([192.168.200.61]) by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA10755; Sat, 6 Jan 07 20:37:40 PST Date: Sat, 06 Jan 2007 20:40:28 -0800 From: perryh@pluto.rain.com To: skeptikos@gmail.com Message-Id: <45a079bc.YFKSvvGvMoJzOpm3%perryh@pluto.rain.com> References: In-Reply-To: User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: obtaining kernel.debug X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jan 2007 04:49:22 -0000 > I'm trying to debug some panics on my system, and the section > in the handbook that goes over kernel debugging points to > /usr/obj/usr/src/sys/KERNEL as the location of kernel.debug. > But I don't have this file there. I only have 'kernel'. Just in case this was not obvious, "KERNEL" there is meta-linguistic. Yours might be in GENERIC, MYKERNEL, etc. -- the same place where you built the currently-running kernel. If you're running the original CD-installed kernel, I suppose the corresponding place would be GENERIC (but I don't know offhand whether the standard install includes GENERIC/kernel.debug -- if not, perhaps it should). > Can I just use the 'kernel' file, or is there a difference > between 'kernel' and 'kernel.debug'? The code and data are the same, but 'kernel.debug' also contains debugging records (symbols, source line references, etc).