Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Sep 2005 23:00:27 +0400
From:      Artemiev Igor <ai@bmc.brk.ru>
To:        freebsd-current@freebsd.org
Subject:   current-i386: thread 0xc07686a0 unlocking unheld lock
Message-ID:  <20050928190027.GA1028@bmc.brk.ru>

next in thread | raw e-mail | index | archive | help
I received this message during the reboot after the update last night:

lockmgr: thread 0xc07686a0 unlocking unheld lock
KDB: stack backtrace:
kdb_backtrace(c070a80b,c07686a0,c07766ac,c0c20cec,c053ebd7) at kdb_backtrace+0x2
e
lockmgr(c0776688,6,c07766ac,c07686a0,c0c20d28) at lockmgr+0x5d0
smb_co_unlock(c0776680,0,c07686a0,c07686a0,c0c20d48) at smb_co_unlock+0x2c
smb_sm_init(c0c20d48,c0541ab4,c19802ac,c0716652,c1980280) at smb_sm_init+0x4a
nsmb_dev_load(c1980280,0,0,0,0) at nsmb_dev_load+0x25
module_register_init(c074c864,c1e000,c1ec00,c1e000,0) at module_register_init+0x
81
mi_startup() at mi_startup+0x99
begin() at begin+0x2c
netsmb_dev: loaded

Looks like the curthread was changed, but lk_lockholder remained the same, and because of that, lock is not released now by lockmgr(). Why?
I use SCHED_ULE with PREEMPTION+ADAPTIVE_GIANT+MUTEX_WAKE_ALL. NETSMB compiled into kernel.

-- 
iprefetch ai



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050928190027.GA1028>