> I got two off-list mails suggesting LOCKDEBUG. I tried that today - > I added LOCKDEBUG and VNODE_LOCKDEBUG both (the latter I found in the > ALL config when grepping for LOCKDEBUG). > > That kernel panicked promptly on boot > > panic: vop_read: vp: locked 0, expected 1
just use LOCKDEBUG for now. this is VNODE_LOCKDEBUG and it might be buggy since no one uses it, but LOCKDEBUG is quite common. .mrg.