panic: acquiring blockable sleep lock with spinlock or critical section held (kernel_lock) &kernel_lock Starting stack trace... panic(ffffffff825a56b6) at panic+0x16b sys/kern/subr_prf.c:233 witness_checkorder(ffffffff82b47030,9,0) at witness_checkorder+0x116d sys/kern/subr_witness.c:833 __mp_lock(ffffffff82b46e28) at __mp_lock+0xa1 read_rflags machine/cpufunc.h:195 [inline] __mp_lock(ffffffff82b46e28) at __mp_lock+0xa1 intr_disable machine/cpufunc.h:216 [inline] __mp_lock(ffffffff82b46e28) at __mp_lock+0xa1 sys/kern/kern_lock.c:142 selwakeup(fffffd807f5474f0) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd807f5474f0) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd807f5473d8) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1699 rip6_input(ffff800024517798,ffff8000245177a4,85,18) at rip6_input+0x692 sys/netinet6/raw_ip6.c:224 ip_deliver(ffff800024517798,ffff8000245177a4,85,18) at ip_deliver+0x322 sys/netinet/ip_input.c:657 ip6_input_if(ffff800024517798,ffff8000245177a4,29,0,ffff80000019f2a8) at ip6_input_if+0x920 ipv6_input(ffff80000019f2a8,fffffd8075a7dd00) at ipv6_input+0x48 sys/netinet6/ip6_input.c:169 if_input_local(ffff80000019f2a8,fffffd8075a7dd00,18) at if_input_local+0x136 sys/net/if.c:778 ip6_output(fffffd80645dcf00,ffff8000006d5d00,fffffd806f67cf18,0,0,fffffd806f67cea0) at ip6_output+0xf57 rip6_output(fffffd80645dcf00,fffffd807f547018,ffff800024517b00,0) at rip6_output+0x4ad sys/netinet6/raw_ip6.c:490 rip6_usrreq(fffffd807f547018,9,fffffd80645dcf00,0,0,ffff8000ffff7510) at rip6_usrreq+0x5d3 sys/netinet6/raw_ip6.c:679 sosend(fffffd807f547018,0,ffff800024517d38,0,0,0) at sosend+0x632 sys/kern/uipc_socket.c:582 dofilewritev(ffff8000ffff7510,5,ffff800024517d38,0,ffff800024517e30) at dofilewritev+0x19c sys/kern/sys_generic.c:381 sys_write(ffff8000ffff7510,ffff800024517dd8,ffff800024517e30) at sys_write+0x83 sys/kern/sys_generic.c:301 syscall(ffff800024517ea0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800024517ea0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa731e997ce0, count: 239 End of stack trace.