tech-kern archive

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

lock error in sys_kevent



I have two i386 machines in the debugger with similar lock error
panics---see below.  Any ideas?  Let me know if I can extract more
information from ddb in order to get to the bottom of it.  By the way,
neither machine is running a MULTIPROCESSOR kernel.

*** This machine runs very current (updated in the last couple of days)
*** -current.  AFAIK, this is the first time it has panicked like this.

Mutex error: mutex_spin_retry: locking against myself

lock address : 0x00000000c03cd66c
current cpu  :                  0
current lwp  : 0x00000000c6abb4a0
owner field  : 0x0000000000010600 wait/spin:                0/1

panic: lock error
Stopped in pid 541.1 (hslsd) at netbsd:breakpoint+0x4:  popl    %ebp
breakpoint(c03711d8,10600,0,c6a7dac8,c03cd66c) at netbsd:breakpoint+0x4
panic(c0374719,0,c6abb4a0,c0337204,c03cd670) at netbsd:panic+0x197
lockdebug_abort(c03cd66c,c038c144,c0337204,c03712a1,c6978fae) at netbsd:lockdebu
g_abort+0x2b
mutex_abort(c03cd66c,c0337204,c03712a1,c6a7dc90,c6a7dc88) at netbsd:mutex_abort+
0x23
mutex_spin_retry(c03cd66c,c6a7db4c,c022daa6,c6978fd4,c696d354) at netbsd:mutex_s
pin_retry+0x19
cv_timedwait_sig(c6978fd4,c6978fac,24,24,0) at netbsd:cv_timedwait_sig+0xd1
kevent1(c6a7dd28,3,bb91a800,0,bb91b000) at netbsd:kevent1+0x431
sys_kevent(c6abb4a0,c6a7dd00,c6a7dd28,c6af2b9c,7) at netbsd:sys_kevent+0x2e
syscall(c6a7dd48,bfbf00b3,bb9000ab,bb95001f,bfbf001f) at netbsd:syscall+0xa6
ds          0x10
es          0x10
fs          0x30
gs          0x10
edi         0xc6978fac
esi         0xc0374719  copyright+0x19919
ebp         0xc6a7da9c
ebx         0x100
edx         0xc0374719  copyright+0x19919
ecx         0x6
eax         0x1
eip         0xc02d49dc  breakpoint+0x4
cs          0x8
eflags      0x246
esp         0xc6a7da9c
ss          0x10
netbsd:breakpoint+0x4:  popl    %ebp
db> 

*** This machine runs -current from approximately March 7.  This machine
*** has panicked like this more than once.

db> bt
breakpoint(c03e4468,10600,0,cae5db78,c0472598) at netbsd:breakpoint+0x4
panic(c03e7ad1,0,cae9d600,606,c047259c) at netbsd:panic+0x197
lockdebug_abort(c0472598,c040c084,c03abd44,c03d9f8d,cae5dcc8) at netbsd:lockdebu
g_abort+0x2b
mutex_abort(c0472598,c03abd44,c03d9f8d,c09eff01,c09efa80) at netbsd:mutex_abort+
0x21
mutex_owner(c0472598,c09efa80,cae5dc0c,cae5dc80,6) at netbsd:mutex_owner
ltsleep(c097ee70,318,c03e3163,6,c097ee7c) at netbsd:ltsleep+0xa5
kevent1(cae9d600,cae5dd28,3,bb91a800,0) at netbsd:kevent1+0x32f
sys_kevent(cae9d600,cae5dd00,cae5dd28,cae5dd00,0) at netbsd:sys_kevent+0x2a
syscall(cae5dd48,bb9400b3,ab,1f,bfbf001f) at netbsd:syscall+0x11d
db> show registers
ds          0x10
es          0x10
fs          0x30
gs          0x10
edi         0x318
esi         0xc03e7ad1  copyright+0x1dcb1
ebp         0xcae5db4c
ebx         0x100
edx         0x7
ecx         0x1
eax         0x1
eip         0xc02eee7c  breakpoint+0x4
cs          0x8
eflags      0x246
esp         0xcae5db4c
ss          0x10
netbsd:breakpoint+0x4:  popl    %ebp
db> 


Dave

-- 
David Young             OJC Technologies
dyoung%ojctech.com@localhost      Urbana, IL * (217) 278-3933 ext 24


Home | Main Index | Thread Index | Old Index