Subject: kern/35110: Boot time panic from smb_co_unlock
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <apb@cequrux.com>
List: netbsd-bugs
Date: 11/23/2006 20:15:01
>Number:         35110
>Category:       kern
>Synopsis:       Boot time panic from smb_co_unlock
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 23 20:15:01 +0000 2006
>Originator:     Alan Barrett
>Release:        NetBSD 4.99.4
>Organization:
Not much
>Environment:
System: NetBSD 4.99.4 
Architecture: i386
Machine: i386
>Description:
I get the following panic at boot time, just before the kernel
chooses a device for the root file system:

Kernelized RAIDframe activated
panic: lockmgr: release of unlocked lock!
Stopped in pid 0. (swapper) at netbsd:cpu_Debugger+0x4:
db> t
cpu_Debugger(...)
panic(...)
lockmgr(...)
smb_co_unlock(...) at netbsd:smb_co_unlock+0x25
smb_sm_init(...) at netbsd:smb_sm_init+0x29
nsmbattach(...)
main(...)
db>

>How-To-Repeat:
Boot an i386 kernel with SMBFS.

>Fix:
Unknown