Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Oct 2004 10:19:34 -0400 (EDT)
From:      Robert Watson <rwatson@freebsd.org>
To:        "Wilkinson, Alex" <alex.wilkinson@dsto.defence.gov.au>
Cc:        freebsd-current@freebsd.org
Subject:   Re: RELENG_5 panic [nic: _mtx_lock_sleep: recursed on non-recursivemutex nfsd_mtx]
Message-ID:  <Pine.NEB.3.96L.1041017101833.12860C-100000@fledge.watson.org>
In-Reply-To: <20041015082424.GA786@squirm.dsto.defence.gov.au>

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

On Fri, 15 Oct 2004, Wilkinson, Alex wrote:

> Hi all,
> 
> I currently get a panic with "nfs_server_enable=YES" in /etc/rc.conf.
> 
> OS: FreeBSD 5.3-BETA4 #2: Tue Sep 14 13:55:30 UTC 2004
> 
> Backtrace
> ---------
> 
> panic: _mtx_lock_sleep: recursed on non-recursive mutex nfsd_mtx @ /usr /src/sys/nfsserver/nfs_serv.c:1947

Is the NFS server code compiled into your kernel, or is it getting loaded
as a module?  Do you have any other NFS-related entries in /etc/rc.conf?
Could you show the output of "show locks" and "show witness" with witness
compiled into the kernel?

Thanks!

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert@fledge.watson.org      Principal Research Scientist, McAfee Research


> cpuid = 0
> KDB: enter: panic
> [thread 100074]
> Stopped at      kdb_enter+0x32: leave
> db> tr
> kdb_enter(c068ba66,0,c068aed8,dd2ed90c,c1b6b340) at kdb_enter+0x32
> panic(c068aed8,c069885f,c0698617,79b,c0698617) at panic+0x1b0
> _mtx_lock_sleep(c071c940,c1b6b340,0,c0698617,79b) at _mtx_lock_sleep+0x16e
> _mtx_lock_flags(c071c940,0,c0698617,79b,0) at _mtx_lock_flags+0xb0
> nfsrv_create(c1eb6800,c1b98800,c1b6b340,dd2edc8c,0) at nfsrv_create+0x8c4
> nfssvc(c1b6b340,dd2edd14,8,0,2) at nfssvc+0x6ea
> syscall(2f,2f,2f,0,0) at syscall+0x13b
> Xint0x80_syscall() at Xint0x80_syscall+0x1f
> --- syscall (155, FreeBSD ELF32, nfssvc), eip = 0x280c60bf, esp = 0xbfbfeb1c, eb p = 0xbfbfeb38 ---
> 
> 
>  - aW
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1041017101833.12860C-100000>