Subject: panic locking agsinst myself
To: None <current-users@netbsd.org>
From: Matthew Jacob <mjacob@feral.com>
List: current-users
Date: 02/11/2001 16:53:08
Top of tree, sparc, diskless:

panic: lockmgr: locking against myself
Stopped in pid 149 (swapctl) at cpu_Debugger+0x4:       jmpl            [%o7 +
0
x8], %g0
db> t
lockmgr(0xf638a4e4, 0x10002, 0xf638a460, 0xb8, 0xf0636000, 0x1) at
lockmgr+0x774

genfs_lock(0xf6373740, 0x7c, 0xf0074360, 0xf063de00, 0xf0636000,
0xf0636300) at g
enfs_lock+0x10
VOP_LOCK(0xf638a460, 0x10002, 0xf0637000, 0x15f, 0xf01b8590, 0x2000000) at
VOP_L
OCK+0x28
vn_lock(0xf638a460, 0x10002, 0xf01b8590, 0x15f, 0x408000e5, 0x0) at
vn_lock+0x50

vget(0xf638a460, 0x2, 0x0, 0xf0237400, 0xf0638f00, 0x4) at vget+0x108
nfs_nget(0xf06f1c00, 0xf06ddc0c, 0x1c, 0xf637391c, 0xf0206258, 0xf0206280) at
nf
s_nget+0x80
nfs_statfs(0xf06f1c00, 0xf06f1c4c, 0xf62d1768, 0x10000, 0x0, 0x2000000) at
nfs_s
tatfs+0x24
swap_on(0x0, 0xf06bd580, 0x1, 0x0, 0x0, 0xf0633740) at swap_on+0xfc
sys_swapctl(0x10, 0x0, 0xf6373f20, 0xf015c748, 0xf03530c0, 0x0) at
sys_swapctl+0
x42c
syscall(0x10f, 0xf6373fb0, 0x0, 0x1, 0xefffedc0, 0x21) at syscall+0x1f4
_syscall(0x1, 0x3a030, 0x0, 0xeffff2ca, 0x9, 0x0) at _syscall+0x120
db>