NFS non-sleepable lock?

Josh Tolbert hemi at puresimplicity.net
Tue Apr 26 11:24:33 PDT 2005


Hi,

Found a bunch of these in my logs after looking in to a kernel panic somewhere
in NFS. These are from an SMP 5.3-RELEASE-p5 machine.

Apr 26 01:40:13 ram kernel: malloc(M_WAITOK) of "Mbuf", forcing M_NOWAIT with the following non-sleepable locks held:
Apr 26 01:40:13 ram kernel: exclusive sleep mutex nfsd_mtx r = 0 (0xc19c7680) locked @ /usr/src/sys/modules/nfsserver/../../nfsserver/nfs_srvsock.c:712
Apr 26 01:40:13 ram kernel: KDB: stack backtrace:
Apr 26 01:40:13 ram kernel: kdb_backtrace(c068f894,d52bfb50,1,1,1) at kdb_backtrace+0x2e
Apr 26 01:40:13 ram kernel: witness_warn(5,0,c06279f5,c0614cec,c15de960) at witness_warn+0x1d3
Apr 26 01:40:13 ram kernel: uma_zalloc_arg(c0c1f9a0,d52bfb88,2,c06157a1,18e) at uma_zalloc_arg+0x55
Apr 26 01:40:13 ram kernel: nfsm_disct(d52bfbd8,d52bfbdc,28,24,c17c6500) at nfsm_disct+0xbd
Apr 26 01:40:13 ram kernel: nfsm_dissect_xx(28,d52bfbd8,d52bfbdc,126,c19c190f) at nfsm_dissect_xx+0x44
Apr 26 01:40:13 ram kernel: nfs_getreq(c1756600,c1758c00,1,2c8,c3ce3c00) at nfs_getreq+0x5f
Apr 26 01:40:13 ram kernel: nfsrv_dorec(c3d7d700,c1758c00,d52bfc64,175,0) at nfsrv_dorec+0x109
Apr 26 01:40:13 ram kernel: nfssvc_nfsd(c15de960,0,c19c1a83,9a,d52bfcfc) at nfssvc_nfsd+0x253
Apr 26 01:40:13 ram kernel: nfssvc(c15de960,d52bfd14,8,7,2) at nfssvc+0x1f2
Apr 26 01:40:13 ram kernel: syscall(2f,2f,2f,0,0) at syscall+0x270
Apr 26 01:40:13 ram kernel: Xint0x80_syscall() at Xint0x80_syscall+0x1f
Apr 26 01:40:13 ram kernel: --- syscall (155, FreeBSD ELF32, nfssvc), eip = 0x280ccb9f, esp = 0xbfbfeb3c, ebp = 0xbfbfeb58 ---

Thanks,
Josh
-- 
Josh Tolbert
hemi at puresimplicity.net  ||  http://www.puresimplicity.net/~hemi/

If your sysadmin's not being fascist, you're paying him too much.
   --Sam Greenfield


More information about the freebsd-stable mailing list