Re: panic: lock (smbsm) lockmgr does not match earlier (sleep mutex) lock

From: Kris Kennaway <kris_at_FreeBSD.org>
Date: Sat, 23 Feb 2008 10:37:17 +0100
Bryan Venteicher wrote:
> Hi,
> 
> I receive the following panic "lock (smbsm) lockmgr does not match earlier (sleep mutex) lock" when loading the smbfs module on a recent current.
> 
> Kernel dumps weren't configured on the particular machine. Here's the abbreviated relevant portions of the stack:
> ...
> nsmb_dev_load
> smb_sm_init
> smb_co_init
> ...
> enroll
> panic
> 
> In smb_co_init(), the same description/name is used to initialize both cp->co_interlock and cp->co_lock.

Fix is probably to just rename one so witness doesn't get confused :)

Kris
Received on Sat Feb 23 2008 - 08:37:20 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:28 UTC