panic: System call lstat returning with 1 locks held

Pawel Jakub Dawidek pjd at
Thu Jan 17 03:40:37 PST 2008

On Wed, Jan 16, 2008 at 08:10:03PM -0600, Scot Hetzel wrote:
> The local CVS repository is on a ZFS filesystem.  Is anyone seeing
> this problem on a UFS filesystem?

WITNESS won't work on ZFS' lock by default. Please add:


to sys/modules/zfs/Makefile and recompile zfs kernel module. DEBUG
define tells ZFS not to add NOWITNESS flag at lock initialization time.

Pawel Jakub Dawidek             
pjd at                 
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-current mailing list