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

Kris Kennaway kris at
Sat Feb 23 09:37:20 UTC 2008

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 :)


More information about the freebsd-current mailing list