Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Feb 2013 19:44:49 +0100
From:      David Demelier <demelier.david@gmail.com>
To:        Andriy Gapon <avg@freebsd.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Panic at shutdown
Message-ID:  <2872289.1yXr0e1VeO@melon.malikania.fr>
In-Reply-To: <5119F6C6.8010802@FreeBSD.org>
References:  <51127767.1030007@gmail.com> <CAO%2BPfDeGfN1MjMAv63WzuRfm1VK3ZoHd7N=tEFu-NS1KJYyuoQ@mail.gmail.com> <5119F6C6.8010802@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Le mardi 12 f=E9vrier 2013 10:01:10 Andriy Gapon a =E9crit :
> on 12/02/2013 09:57 David Demelier said the following:
> > Yes I have added debugging option in my kernel. I have makeoptions
> > DEBUG=3D-g in my config. Do I need more ?
>=20
> .symbols?

I don't understand what you are saying, I have /boot/kernel/kernel.symb=
ols.=20
Please tell me what I'm doing wrong. I've just read and done the steps =
written=20
there :

http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-
gdb.html

So I've run=20

# 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) =3D=3D 0)
(kgdb) bt full
#0  doadump (textdump=3D<value optimized out>) at pcpu.h:229
No locals.
#1  0x0000000000000000 in ?? ()
No symbol table info available.


--
David Demelier



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2872289.1yXr0e1VeO>