When running zfs test suite in bhyve, it usually panics with following message:
panic: deadlres_td_sleep_q: possible deadlock detected for 0xfffff8006b642000, blocked for 180024 ticks
VM image and core files (vmcore.1 is used in this bug report, vmcore.0 is previous run, also panicked in the same point):
Some ddb outputs:
Also note that there might be another issue:
thread 100230 (pid 0, zio_null_intr) blocked on lockmgr (null)EXCL
thread -559038242 (pid 268435455, pppppppppppppppppppppppppppppppppppppppppppppsecondarycache) ??? (0xdeadc0de)
Is this still reproducible? The job seems to be running to completion: https://ci.freebsd.org/job/FreeBSD-head-amd64-test_zfs/
I hit this bug on a bhyve with UFS filesystem on 13-current!
thread 100377 (pid 36752, sh) blocked on lockmgr ufsEXCL
thread 100078 (pid 22, syncer) blocked on lockmgr bufwaitEXCL
It's still in KDB but I can only access the console via VNC so can't copy/paste text, dump it or make screenshots.
Trace of the sh process that started this;
Need any more info?