panic: LK_RETRY set with incompatible flags

Andriy Gapon avg at
Sun Feb 3 17:03:57 UTC 2013

on 03/02/2013 18:36 Rick Macklem said the following:
> I can think of two possibilities:
> 1 - ZFS isn't setting VV_ROOT on the root vnode under some condition.
> or
> 2 - The vnode was left locked from some previous operation that happened
>     to be done by this thread. Doesn't seem likely, but???
> Maybe Sergey could try the change to line#1451 and see if the panic
> still happens. If not, that would suggest possibility #1, I think.

If the kernel is configured with witness, then it should be easy to check where
the exclusive lock was taken (file and line number).

Andriy Gapon

More information about the freebsd-current mailing list