Port-arm archive

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

[ARM32] Possible PMAP_KMPAGE = 0 produces lock collision



Hello.

Possible the patch "Default PMAP_KMPAGE to 0 unless it's been
previously defined by <machine/pmap.h>"
produces lock collision when LOCKDEBUG option is set.

With this patch (means the behaviour is changed w/o it) the kernel
panics at very start (and I can't start even debugger):

init subsystems: stacks vectors undefined page pmap done.
initarm done.
Reader / writer lock error: lockdebug_wantlock: locking against myself

lock address : 0x0000000080542b8c type     :     sleep/adaptive
initialized  : 0x00000000803afb78
shared holds :                  0 exclusive:                  1
shares wanted:                  0 exclusive:                  1
current cpu  :                  0 last held:                  0
current lwp  : 0x000000008051da80 last held: 0x000000008051da80
last locked  : 0x00000000803b1264 unlocked : 0x00000000803b2a48
owner/count  : 0x000000008051da80 flags    : 0x000000000000000c

Turnstile chain at 0x80551540.
=> No active turnstile for this lock.

panic: LOCKDEBUG


andy@FITFIESPPC176:~/tmp/nbcvs/root/micro/src/libMicro$ addr2line -e
~/prj/netbsd/objcvs/sys/arch/evbarm/compile/TISDP2420LOC/netbsd.gdb
803b1264
/home/andy/prj/netbsd/netbsd-current/sys/uvm/uvm_map.c:557
andy@FITFIESPPC176:~/tmp/nbcvs/root/micro/src/libMicro$ addr2line -e
~/prj/netbsd/objcvs/sys/arch/evbarm/compile/TISDP2420LOC/netbsd.gdb
803b2a48
/home/andy/prj/netbsd/netbsd-current/sys/uvm/uvm_map.c:1561
andy@FITFIESPPC176:~/tmp/nbcvs/root/micro/src/libMicro$ addr2line -e
~/prj/netbsd/objcvs/sys/arch/evbarm/compile/TISDP2420LOC/netbsd.gdb
803afb78
/home/andy/prj/netbsd/netbsd-current/sys/uvm/uvm_map.c:5056

-- 
With Best Regards,
Andy Shevchenko


Home | Main Index | Thread Index | Old Index