Solved KDB & backtracing: How do I approach? [Solved]

sossego

Retired from the forums
This is what the G3 is outputting.
Code:
lock order reversal:
1st 0xd47cc118 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:2559
2nd 0x177c200 dirhash (dirhash) @ /usr/src/sys/ufs/ufs/ufs_dirhash.c:285
KDB: stack backtrace:
0xdafa9760: at kdb_backtrace+0x4c
0xdafa9870: at_witness_debugger+0x3c
0xdafa97a0:at witness_checkorder+0x8d0
0xdafa9800: at _sx_xcloxk+0x90
0xdafa9830: at ufsdirhash_acquire+0x40
0xdafa9850: at ufsdirhash_remove+0x2c
0xdafa98c0: at ufs_remove+0x8c
0xdafa9900: at VOP_REMOVE_APV+0xe0
0xdafa9920: at kern_unlinkat+0x22c
0xdafa9a60: at kern_unlink+0x28
0xdafa9a80: at unlink+0x1c
0xdafa9aa0: at trap+0x37c
0xdafa9b60: at powerpc_interrupt+0x100
0xdafa9b90: user SC trap by 0x41957238:srr1=0xd032
            r1=0x7fffc4e0 cr=0x20000042 xer=0 ctr=0x41957230

It repeats occasionally with the addresses changing but the same calls. I am using testing. I'd like to know which application would be the best for debugging this and if there is any online documentation for said application.
Thanks.

Edit: I am not on the G3. I have to look at the screen and type the messages on one of my x86 boxes.

Edit 2: I am not able to debug with kgdb.
Code:
Can't open a vmcore without a kernel
It won't run from /boot/kernel or from /usr/src/sys/powerpc/conf. Stock kernel.

This has been solved.
 
My apologies. It's a lock order reversal. The mailing list help me to report it to the proper place. If this can be placed to where it is proper or deleted because it was reported, please feel free to do so.
Once again, my apologies.
 
Back
Top