Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Apr 2006 09:53:55 -0400
From:      "Steve Douville" <fbsd@douville.net>
To:        <freebsd-questions@freebsd.org>
Subject:   Re: Kernel Panic
Message-ID:  <040e01c66b94$5b3d3e70$d701a8c0@sdouvilnonq1>
References:  <03ad01c66b4a$374b9510$d701a8c0@sdouvilnonq1> <20060429053950.GA24299@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> a) You're not using the kernel.debug, and b) it's not a sensible 
> backtrace.  Perhaps it's a side-effect of a) (i.e. you're not running
> kgdb against the same kernel that panicked).


I compiled the kernel using config -g, then rebooted using that kernel. At 
some point, the system crashes, the dump file is written, and when it 
reboots, savecore saves the dump to the crash directory. The I use kgdb with 
this:

ns11# kgdb /sys/i386/compile/ADKernel/kernel.debug /var/kcrash/vmcore.5
[GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: 
Undefined symbol "ps_pglobal_lookup"]
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd".
#0  0xc055c5e2 in doadump ()
(kgdb) where
#0  0xc055c5e2 in doadump ()
#1  0xc055cb82 in boot ()
#2  0xc055ce18 in panic ()
#3  0xc068502c in trap_fatal ()
#4  0xc06847d5 in trap ()
#5  0xc0674baa in calltrap ()
#6  0x00000018 in ?? ()
#7  0xc2d90010 in ?? ()
#8  0xc2d90010 in ?? ()
#9  0x00000002 in ?? ()
#10 0xc283b000 in ?? ()
#11 0xef1f09d0 in ?? ()
#12 0xef1f09b8 in ?? ()
#13 0xc28f55c0 in ?? ()
#14 0xc28f55c0 in ?? ()
#15 0x00000000 in ?? ()
#16 0xc283b020 in ?? ()
#17 0x0000000c in ?? ()
#18 0x00000000 in ?? ()
#19 0xc057a8f9 in turnstile_setowner ()
#20 0xc057abbb in turnstile_wait ()
#21 0xc0554565 in _mtx_lock_sleep ()
#22 0xc05543dc in _mtx_lock_flags ()
#23 0xc2699c68 in ?? ()
#24 0xc26a2a60 in ?? ()
#25 0x00000000 in ?? ()
#26 0xc26a0289 in ?? ()
#27 0x000009ef in ?? ()
#28 0x00000004 in ?? ()
#29 0xc26a2a60 in ?? ()
#30 0x00000000 in ?? ()
#31 0x00004002 in ?? ()
#32 0xc23d5400 in ?? ()
#33 0x06400004 in ?? ()
#34 0x00000000 in ?? ()
#35 0x0100007f in ?? ()
#36 0x00000000 in ?? ()
#37 0x00000000 in ?? ()
#38 0x00000000 in ?? ()
#39 0x0100007f in ?? ()
#40 0x00000000 in ?? ()
#41 0x00000000 in ?? ()
#42 0x00000000 in ?? ()
#43 0x00000000 in ?? ()
#44 0x00000801 in ?? ()
#45 0x00000000 in ?? ()
#46 0x00000000 in ?? ()
#47 0xd22d0014 in ?? ()
#48 0x00000001 in ?? ()
#49 0x00000000 in ?? ()
#50 0x00020014 in ?? ()
#51 0x00000000 in ?? ()
#52 0x00000000 in ?? ()
#53 0x00000000 in ?? ()
#54 0x00000000 in ?? ()
#55 0x00000000 in ?? ()
#56 0xc26a2a60 in ?? ()
#57 0xc25a8c54 in ?? ()
#58 0x0000001c in ?? ()
#59 0x00000030 in ?? ()
#60 0x00000000 in ?? ()
#61 0x0000265f in ?? ()
#62 0x00000000 in ?? ()
#63 0x00000033 in ?? ()
#64 0x00000000 in ?? ()
#65 0x00000000 in ?? ()
#66 0x00000000 in ?? ()
#67 0xc25a8c40 in ?? ()
#68 0xef1f0b3c in ?? ()
#69 0xc25a8c00 in ?? ()
#70 0xef1f0b80 in ?? ()
#71 0xc23d1200 in ?? ()
#72 0xc23c17a0 in ?? ()
#73 0xc0735a80 in ip_rsvpd ()
#74 0x00000002 in ?? ()
#75 0xef1f0b1c in ?? ()
#76 0xc2696402 in ?? ()
#77 0xc25a8c40 in ?? ()
#78 0x00000014 in ?? ()
#79 0xc23d5400 in ?? ()
#80 0x00000001 in ?? ()
#81 0xef1f0b3c in ?? ()
#82 0xef1f0b4c in ?? ()
#83 0xc05ca963 in pfil_run_hooks ()

TIA,
Steve 





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?040e01c66b94$5b3d3e70$d701a8c0>