Subject: kern/18424: nqnfs [client] gives lockmgr panic from nfs_remove()
To: None <>
From: None <>
List: netbsd-bugs
Date: 09/26/2002 07:45:53
	Note: There was a bad value `mediam' for the field `>Priority:'.
	It was set to the default value of `medium'.

>Number:         18424
>Category:       kern
>Synopsis:       nqnfs [client] gives lockmgr panic from nfs_remove()
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 26 00:47:01 PDT 2002
>Originator:     Roland Dowdeswell
>Release:        NetBSD/i386 1.6H, 25 Sept 2002
NetBSD 1.6H NetBSD 1.6H (CHEKALAHK) #4: Wed Sep 25 19:45:14 EDT 2002 i386

userland is slightly older.
	I mounted my partitions over IPsec using the options
	intr,nqnfs,rdirplus,-a=4 and was consistently panicking
	when I logged in via xdm.  The dmesg from the core dump

wsdisplay0: screen 7 added (80x25, sun emulation)
nfs server arioch:/u: not responding
panic: lockmgr: locking against myself
Begin traceback...
lockmgr(d3c22b48,10002,d3c22adc,c098a49c,d39478dc) at lockmgr+0x591
genfs_lock(d39478a4,c0a03400,d905153b,c0000000,c09f07e8) at genfs_lock+0x1c
VOP_LOCK(d3c22adc,10002,c0232c4d,c09f082c) at VOP_LOCK+0x2e
vn_lock(d3c22adc,10002,0,c09f082c,d3c2a144) at vn_lock+0x5d
vget(d3c22adc,2,0,c01d670c) at vget+0xcd
nfs_nget(c09f6800,d3947c40,1c,d3947998,c0a03400) at nfs_nget+0x86
nqnfs_callback(c0a1ae00,c0a03400,c0a00400,c0a00478) at nqnfs_callback+0x251
nfs_reply(c0acffc0,0,3b9aca00,0,d3947dd0) at nfs_reply+0x15b
nfs_request(d3c22adc,c09f1900,c,d3c92d14,c0a99700) at nfs_request+0x3b6
nfs_removerpc(d3c22adc,d3c9f009,d,c0a99700,d3c92d14) at nfs_removerpc+0x58d
nfs_remove(d3947ec0,0,0,d390e390,d3f81ea8) at nfs_remove+0x9a
VOP_REMOVE(d3c22adc,d3f81ea8,d3947f1c,2,d3947f80) at VOP_REMOVE+0x35
sys_unlink(d3c92d14,d3947f80,d3947f78,c027b69c) at sys_unlink+0xc3
syscall_plain(806002b,806002b,bfbf002b,809002b,bfbfbd70) at syscall_plain+0xa7
End traceback...
syncing disks... 5 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 giving up
Printing vnodes for busy buffers

	I'm not currently sure what the problem is.

	mount your home directory using intr,nqnfs,rdirplus,-a=4
	and log in via xdm(1).
	none provided.