Subject: kern/25922: panic: lockmgr: pid 8, not exclusive lock holder 8 unlocking
To: None <gnats-bugs@gnats.NetBSD.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-bugs
Date: 06/14/2004 11:27:15
>Number:         25922
>Category:       kern
>Synopsis:       panic: lockmgr: pid 8, not exclusive lock holder 8 unlocking
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 14 09:28:01 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 2.0_BETA
>Organization:
	LIP6/ASIM
>Environment:
System: NetBSD reggae 2.0_BETA NetBSD 2.0_BETA (REGGAE.MP) #0: Mon Jun 7 15:44:34 CEST 2004 bouyer@pop.lip6.fr:/local/pop1/bouyer/tmp/sparc/obj/local/pop1/bouyer/netbsd-2-0/src/sys/arch/sparc/compile/REGGAE.MP sparc
Architecture: sparc
Machine: sparc
>Description:
	This box is running a few MRTG daemons, as well as some SunOS 4
	daemons running under emulation. It is a dual-CPU SS10, but it
	looks like a MI problem.
	The system has been stable for more than a week, but this morning
	it paniced with:
panic: lockmgr: pid 8, not exclusive lock holder 8 unlocking
Stopped in pid 8.1 (ioflush) at netbsd:cpu_Debugger+0x4:        or            
  %o7, %g0, %g1
db{1}> tr
cpu_Debugger(0xf01a86d0, 0x8, 0x8, 0xd, 0x100, 0xf01dd000) at netbsd:lockmgr+0x85c
lockmgr(0xf3fbb910, 0x6, 0x0, 0x11, 0xf3fbb8a0, 0x3) at netbsd:ufs_inactive+0xac
ufs_inactive(0x0, 0xff, 0x1000000, 0x408000e5, 0x700, 0xe) at netbsd:vput+0x168
vput(0xf3fbb8a0, 0x0, 0x1000000, 0xc7c4c, 0x4f, 0x1) at netbsd:ffs_sync+0x2ec
ffs_sync(0xf07fbc00, 0x3, 0xf32cfaf0, 0x0, 0xf0199800, 0xf07fba00) at netbsd:sync_fsync+0x98
sync_fsync(0xf3b7bf20, 0x12, 0x2, 0xf32cfaf0, 0x0, 0x0) at netbsd:sched_sync+0x25c
sched_sync(0xf01da800, 0xf021b800, 0xf3b7bf20, 0xf3b7bf10, 0xf021e800, 0xf0199c00) at netbsd:proc_trampoline+0x18
db{1}> mach cpu 0
using CPU 0
db{1}> tr
nmi_soft(0xf01d4620, 0x80000000, 0xe00, 0xf016ffd4, 0x40001fc3, 0xf01f61c8) at netbsd:ft_want_ast+0x1b8
ft_want_ast(0x1, 0xff, 0x1000000, 0xa, 0xf021d800, 0x5) at netbsd:hardclock+0x380
hardclock(0xf021bea4, 0xf01d473c, 0x400040, 0x0, 0x600, 0x0) at netbsd:lockmgr+0x4c8
lockmgr(0xf021bea4, 0x400042, 0x400040, 0x408010e6, 0x601, 0x103878a8) at netbsd:sparc_interrupt44c+0x110
sparc_interrupt44c(0x103b2c28, 0x1a2d8, 0x40cadb28, 0x0, 0x49c, 0x0) at 0x16b100
x16b10(0xf021bea4, 0xf01d48c4, 0x400040, 0x0, 0x600, 0x1e00) at netbsd:lockmgr+0x4c8
lockmgr(0xf021bea4, 0x400042, 0x400040, 0x11, 0xf72, 0xf01f8078) at netbsd:sparc_interrupt44c+0x110

>How-To-Repeat:
	Don't know. For now I got it only one time.
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted: