From owner-freebsd-stable@FreeBSD.ORG Tue Feb 12 19:02:34 2013 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 6AFA85BC for ; Tue, 12 Feb 2013 19:02:34 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 63F4EAB5 for ; Tue, 12 Feb 2013 19:02:33 +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 VAA26652; Tue, 12 Feb 2013 21:02:29 +0200 (EET) (envelope-from avg@FreeBSD.org) Message-ID: <511A91C5.7010502@FreeBSD.org> Date: Tue, 12 Feb 2013 21:02:29 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130206 Thunderbird/17.0.2 MIME-Version: 1.0 To: David Demelier Subject: Re: Panic at shutdown References: <51127767.1030007@gmail.com> <5119F6C6.8010802@FreeBSD.org> <2872289.1yXr0e1VeO@melon.malikania.fr> In-Reply-To: <2872289.1yXr0e1VeO@melon.malikania.fr> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-stable@FreeBSD.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Feb 2013 19:02:34 -0000 on 12/02/2013 20:44 David Demelier said the following: > Le mardi 12 février 2013 10:01:10 Andriy Gapon a écrit : >> on 12/02/2013 09:57 David Demelier said the following: >>> Yes I have added debugging option in my kernel. I have makeoptions >>> DEBUG=-g in my config. Do I need more ? >> >> .symbols? > > I don't understand what you are saying, I have /boot/kernel/kernel.symbols. > Please tell me what I'm doing wrong. I've just read and done the steps written > there : > > http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug- > gdb.html > > So I've run > > # cd /usr/obj/usr/src/sys/Melon > # kgdb kernel.debug /var/crash/vmcore.0 > > and that's the only trace I get using bt full : > > 229 #define IS_BSP() (PCPU_GET(cpuid) == 0) > (kgdb) bt full > #0 doadump (textdump=) at pcpu.h:229 > No locals. > #1 0x0000000000000000 in ?? () > No symbol table info available. I don't know what you are doing wrong, but the above message ("No symbol table info available") is wrong. Perhaps your world (kgdb) and kernel are out of sync, maybe something else... -- Andriy Gapon