From owner-freebsd-current Tue Nov 12 2:24: 0 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EDA1A37B401 for ; Tue, 12 Nov 2002 02:23:58 -0800 (PST) Received: from outel.org (outel.org [168.150.177.152]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9DC943E6E for ; Tue, 12 Nov 2002 02:23:56 -0800 (PST) (envelope-from qumqats@outel.org) Received: from localhost (winxp [192.168.1.20]) by outel.org (8.12.6/8.12.6) with ESMTP id gACAMiqi074011 for ; Tue, 12 Nov 2002 02:23:43 -0800 (PST) (envelope-from qumqats@outel.org) Date: Tue, 12 Nov 2002 02:22:38 -0800 From: "Joel M. Baldwin" To: current@freebsd.org Subject: dnet causes panic ( was Hard Lock ) Message-ID: <4814673.1037067758@[192.168.1.20]> X-Mailer: Mulberry/3.0.0b8 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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