panic: assertwaitok: non-zero mutex count: 2 Starting stack trace... panic(ffffffff82ff7797) at panic+0x1ba sys/kern/subr_prf.c:229 assertwaitok() at assertwaitok+0x16f sys/kern/subr_xxx.c:163 mi_switch() at mi_switch+0x2b6 sys/kern/sched_bsd.c:412 preempt() at preempt+0x61 sys/kern/sched_bsd.c:338 ast(ffff80002a58f3d0) at ast+0x13f mi_ast sys/sys/syscall_mi.h:261 [inline] ast(ffff80002a58f3d0) at ast+0x13f sys/arch/amd64/amd64/trap.c:541 intr_user_exit() at intr_user_exit+0x3c end of kernel end trace frame: 0x72f00b4e0bd0, count: 251 End of stack trace.