From owner-freebsd-stable@FreeBSD.ORG Fri Jan 29 15:13:40 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07AE4106568F for ; Fri, 29 Jan 2010 15:13:40 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 4C8CB8FC1C for ; Fri, 29 Jan 2010 15:13:38 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id RAA10375; Fri, 29 Jan 2010 17:13:35 +0200 (EET) (envelope-from avg@icyb.net.ua) Message-ID: <4B62FB1F.7070005@icyb.net.ua> Date: Fri, 29 Jan 2010 17:13:35 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.23 (X11/20091206) MIME-Version: 1.0 To: Jeremy Chadwick References: <20100122162155.GG3917@e-Gitt.NET> <201001232244.03752.doconnor@gsoft.com.au> <20100129104624.GA13472@ei.bzerk.org> <201001292230.01867.doconnor@gsoft.com.au> <20100129134030.GA44869@icarus.home.lan> <4B62EFD7.2010800@icyb.net.ua> <20100129143314.GA46085@icarus.home.lan> In-Reply-To: <20100129143314.GA46085@icarus.home.lan> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: 8.0-RELEASE -> -STABLE and size of / X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jan 2010 15:13:40 -0000 on 29/01/2010 16:33 Jeremy Chadwick said the following: > > The *.symbols files I have for the kernel are installed in /boot/kernel. > I'm referring to "stuff" in /usr/obj which appears to be required to > debug a crash (vmcore). What I'm describing is even mentioned in the > FreeBSD Developers Handbook: > > http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-gdb.html > > Note the first two steps: > > 1:# cd /usr/obj/usr/src/sys/KERNCONF > 2:# kgdb kernel.debug /var/crash/vmcore.0 No, that information is outdated. The *.symbols files in /boot/kernel are required, "stuff in /usr/obj" is not. You start debugging by kgdb /boot/kernel/kernel /var/crash/vmcore.0 or whatever are the proper paths. BTW, this section is also obsolete: http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-kld.html Modules/their symbols are loaded automatically in the recent versions of FreeBSD. -- Andriy Gapon