Panic at shutdown

Ronald Klop ronald-freebsd8 at klop.yi.org
Tue Feb 12 20:42:03 UTC 2013


On Tue, 12 Feb 2013 19:44:49 +0100, David Demelier  
<demelier.david at gmail.com> wrote:

> 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

Why not something like kgdb /boot/kernel/kernel.symbols  
/var/crash/vmcore.0?
That looks like what the manual page of kgdb seems to suggest.

Regards,
Ronald.


>
> 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=<value optimized out>) at pcpu.h:229
> No locals.
> #1  0x0000000000000000 in ?? ()
> No symbol table info available.
>
>
> --
> David Demelier
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"


More information about the freebsd-stable mailing list