Subject: kern/26090: panic: lockmgr: locking against myself
To: None <gnats-bugs@gnats.netbsd.org>
From: None <kristerw@netbsd.org>
List: netbsd-bugs
Date: 06/27/2004 18:39:57
>Number:         26090
>Category:       kern
>Synopsis:       panic: lockmgr: locking against myself
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 27 18:40:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Krister Walfridsson
>Release:        NetBSD 2.0_BETA as of 2004-06-23
>Organization:
	
>Environment:
	
	
System: NetBSD pc20.kwa 2.0_BETA NetBSD 2.0_BETA (GENERIC) #0: Fri Jun 25 18:44:27 UTC 2004  autobuild@tgm.netbsd.org:/autobuild/netbsd-2-0/i386/OBJ/autobuild/netbsd-2-0/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
The computer paniced while doing a pkgsrc bulk build in one sandbox
and a make clean in another sandbox.

panic: lockmgr: locking against myself
Stopped in pid 19856.1 (sh) at netbsd:cpu_Debugger+0x4:        leave
db> t
cpu_Debugger(cd255dd4,d5265bd8,d526595c,10002,d1604508) at netbsd:cpu_Debugger+0x4
panic(c0705ca0,dc,d526598c,c039ff4c,d5265974) at netbsd:panic+0x11d
lockmgr(d1604508,10002,d1604498,d5265bd8,d5265bb4) at netbsd:lockmgr+0x185
genfs_lock(d52659c4,0,0,1,c05b0240) at netbsd:genfs_lock+0x19
VOP_LOCK(d1604498,10002,0,1,d1604498) at netbsd:VOP_LOCK+0x28
vn_lock(d1604498,10002,d5265a4c,c039f9f8,d00e7558) at netbsd:vn_lock+0x69
vget(d1604498,10002,1,c2171580,cff91e5c) at netbsd:vget+0x93
cache_lookup(cd122cf8,d5265c64,d5265c78,c25ed400,d17b219c) at netbsd:cache_lookup+0x2c2
ufs_lookup(d5265b64,cff91e5c,0,d17b219c,cff91e5c) at netbsd:ufs_lookup+0xc1
layer_lookup(d5265b64,cff91e5c,d5265b7c,c0396f6a,c05afb00) at netbsd:layer_lookup+0x57
VOP_LOOKUP(cd4e81f0,d5265c64,d5265c78,20,cd8fe7f4) at netbsd:VOP_LOOKUP+0x2e
lookup(d5265c54,ce591000,400,d5265c6c,c2171580) at netbsd:lookup+0x1fd
namei(d5265c54,0,d5265cac,c312cb48,d5265c90) at netbsd:namei+0xfc
emul_find_interp(cff91e5c,c06daa79,c2173400,0,c2171580) at netbsd:emul_find_interp+0x8f
linux_elf32_probe(cff91e5c,d5265eb4,c3294000,c2173400,d5265d3c) at netbsd:linux_elf32_probe+0x39
exec_elf32_makecmds(cff91e5c,d5265eb4,cff91e5c,cff91e5c,3) at netbsd:exec_elf32_makecmds+0x55f
check_exec(cff91e5c,d5265eb4,0,d5265f64,bfc00000) at netbsd:check_exec+0x182
sys_execve(cdbe0c90,d5265f64,d5265f5c,0,d5265fa4) at netbsd:sys_execve+0x115
syscall_plain() at netbsd:syscall_plain+0x7e
--- syscall (number 59) ---
0x480adf9b:
db> show registers
ds          0x10
es          0x10
fs          0x30
gs          0x10
edi         0x1
esi         0x100
ebp         0xd526592c
ebx         0xd5265958
edx         0
ecx         0xc0774780  vga_console_screen
eax         0x17a3
eip         0xc03fc688  cpu_Debugger+0x4
cs          0x8
eflags      0x202
esp         0xd526592c
ss          0x10
netbsd:cpu_Debugger+0x4:        leave

>How-To-Repeat:
	
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted: