tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Need help looking at kernel dump for "/netbsd: panic: lock error"

NetBSD documentation just kind of pointed me at figuring out which
processes are running and looking at the backtrace. Well, the backtrace
just looks to me like it was printing out the error. I know I should
look at other frames, but not sure what I should be looking at. Here's 4
frames up:

(gdb) up
#4  0xffffffff8027d62f in rw_vector_enter (rw=0xfffffe8076e20198, op=RW_READER) 
at /usr/src/sys/kern/kern_rwlock.c:341
341                             rw_abort(rw, __func__, "locking against 
(gdb) bt
#0  0xffffffff802cb09e in cpu_reboot (howto=260, bootstr=<optimized out>) at 
#1  0xffffffff803c2084 in vpanic (fmt=0xffffffff8053631d "lock error", 
ap=0xfffffe8038bc2410) at /usr/src/sys/kern/subr_prf.c:308
#2  0xffffffff803c2159 in panic (fmt=<unavailable>) at 
#3  0xffffffff803bba6a in lockdebug_abort (lock=0xfffffe8076e20198, 
    func=0xffffffff804d73c0 "rw_vector_enter", msg=0xffffffff8051a7a7 "locking 
against myself")
    at /usr/src/sys/kern/subr_lockdebug.c:858
#4  0xffffffff8027d62f in rw_vector_enter (rw=0xfffffe8076e20198, op=RW_READER) 
at /usr/src/sys/kern/kern_rwlock.c:341
#5  0xffffffff8043a933 in uvmfault_lookup (write_lock=false, 
ufi=0xfffffe8038bc26a0) at /usr/src/sys/uvm/uvm_fault_i.h:126
#6  uvm_fault_check (maxprot=false, ranons=<optimized out>, 
flt=0xfffffe8038bc26e0, ufi=0xfffffe8038bc26a0)
    at /usr/src/sys/uvm/uvm_fault.c:957
#7  uvm_fault_internal (orig_map=<optimized out>, vaddr=<optimized out>, 
access_type=<optimized out>, fault_flag=<optimized out>)
    at /usr/src/sys/uvm/uvm_fault.c:877
#8  0xffffffff803faab7 in trap (frame=0xfffffe8038bc2840) at 
#9  0xffffffff80101046 in calltrap ()
#10 0xfffffe807c8f2888 in ?? ()
#11 0x0000000000000000 in ?? ()

Anyone have any further hints for me?


Hisashi T Fujinaka -
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte

Home | Main Index | Thread Index | Old Index