Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Nov 2002 02:22:38 -0800
From:      "Joel M. Baldwin" <qumqats@outel.org>
To:        current@freebsd.org
Subject:   dnet causes panic ( was Hard Lock )
Message-ID:  <4814673.1037067758@[192.168.1.20]>

next in thread | raw e-mail | index | archive | help

Well I'm not getting Hard Locks when I try running dnet on a
SMP kernel.  Instead I've gotten the following panics.

It turns out I can run a single non threaded dnet process when
I invoke it thus:  'dnet -cpunum 0'

-----------------------------------------------------------------

lock order reversal
 1st 0xc2685e68 process lock (process lock) @ 
../../../kern/kern_fork.c:571
 2nd 0xc03cd760 proctree (proctree) @ ../../../kern/kern_fork.c:596
recursed on non-recursive lock (sleep mutex) process lock @ 
../../../kern/kern_fork.c:599
first acquired @ ../../../kern/kern_fork.c:571
panic: recurse
cpuid = 1; lapic.id = 01000000
Debugger("panic")
Stopped at      Debugger+0x55:  xchgl   %ebx,in_Debugger.0
db> t
Debugger(c039059a,1000000,c039397a,cdcebc08,1) at Debugger+0x55
panic(c039397a,c038dd4b,23b,c038dd4b,257) at panic+0x11f
witness_lock(c2685e68,8,c038dd4b,257,0) at witness_lock+0x3e6
_mtx_lock_flags(c2685e68,0,c038dd4b,257,cdcebcb8) at 
_mtx_lock_flags+0xb2
fork1(c25279c0,6050,0,cdcebcd4,c2685e68) at fork1+0xbfc
rfork(c25279c0,cdcebd10,c03ae516,407,1) at rfork+0x65
syscall(2f,2f,2f,0,80ddf10) at syscall+0x28e
Xint0x80_syscall() at Xint0x80_syscall+0x1d
--- syscall (251, FreeBSD ELF32, rfork), eip = 0x8087d14, esp = 
0xbfbff82c, ebp = 0xbfbff8a8 ---

--------------------------------------------------------------

lock order reversal
 1st 0xc285a228 process lock (process lock) @ 
../../../kern/kern_fork.c:571
 2nd 0xc03cd760 proctree (proctree) @ ../../../kern/kern_fork.c:596
recursed on non-recursive lock (sleep mutex) process lock @ 
../../../kern/kern_fork.c:599
first acquired @ ../../../kern/kern_fork.c:571
panic: recurse
cpuid = 1; lapic.id = 01000000
Debugger("panic")
Stopped at      Debugger+0x55:  xchgl   %ebx,in_Debugger.0



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4814673.1037067758>