Subject: mutex fault and no symbol table on recent Dom0 and Xen
To: None <port-xen@NetBSD.org>
From: Kazushi (Jam) Marukawa <jam@pobox.com>
List: port-xen
Date: 07/03/2007 09:45:23
Hi,
I'm having difficulties with recent Dom0 kernel. It crashes
with following message.
Mutex error: mutex_vector_exit: exiting unheld spin mutex
I tried Dom0 from both 20070627 and 20070701. Both crashed
because of mutex error. Here is a crash log from 0627. Not
sure why, but db didn't show symbol table.
----
Mutex error: mutex_vector_exit: exiting unheld spin mutex
lock address : 0x00000000c0971620
current cpu : 0
current lwp : 0x00000000cae21d80
owner field : 0x0000000000000b00 wait/spin: 0/1
panic: lock error
Stopped in pid 0.2 (system) at 0xc04b5e54: popl %ebp
db> bt
?(c08591c9,cae45ef4,cae45ee8,c0434437,b) at 0xc04b5e54
?(c083756d,c0836356,c06ea070,c083633c,c0971620) at 0xc04343c5
?(0,c0971620,c08cb50c,c06ea070,c083633c) at 0xc042f9f1
?(c0971620,c06ea070,c083633c,c148a500,975aa0) at 0xc0410c9c
?(c0971620,1,cae45f88,c06b932c,c148a500) at 0xc0410e7f
?(0,0,cae45fb8,c04c6026,0) at 0xc0426bf7
?(0,cae45fa8,0,f,fffff000) at 0xc04ee2cf
?(0,cad96bdc,0,cae45fec,c04ee2db) at 0xc0103c8d
?(f,cad96bdc,cad96b94,0,ffffffff) at 0xc04c6627
--- switch to interrupt stack ---
?(cad96bdc,0,11,31,ca000011) at 0xc01024e0
?(c0407e30,cae21d80,cad96c6c,c0407ed5,cae21d80) at 0xc010416b
?(cae21d80,cad96c68,c040f9fe,0,cae21d80) at 0xc04b8585
?(cae21d80,0,c01001e7,c01001df,c01001e7) at 0xc0407ed5
db> reboot
syncing disks... Mutex error: mutex_vector_enter: locking
against myself
lock address : 0x00000000c096fed0
current cpu : 0
current lwp : 0x00000000cae21d80
owner field : 0x0000000000010b00 wait/spin: 0/1
panic: lock error
Stopped in pid 0.2 (system) at 0xc04b5e54: popl %ebp
db>
----
Another problem is that db doesn't recognize kernel symbol
table like above log. I put kernel to boot at
/stand/20070701/netbsd-XEN3_DOM0 and hard link it to /netbsd
for symbol table reading. This worked fine before with
Xen3.0.4 and Dom0 at May. Is there anything I need to do
for recent kernel or Xen? Thanks.
-- Kazushi
Millihelen, adj:
The amount of beauty required to launch one ship.