panic: acquiring blockable sleep lock with spinlock or critical section held (kernel_lock) &kernel_lock Starting stack trace... panic(ffffffff825a2db5) at panic+0x16b sys/kern/subr_prf.c:233 witness_checkorder(ffffffff829f3ad8,9,0) at witness_checkorder+0x116d sys/kern/subr_witness.c:833 __mp_lock(ffffffff829f38d0) at __mp_lock+0xa1 read_rflags machine/cpufunc.h:195 [inline] __mp_lock(ffffffff829f38d0) at __mp_lock+0xa1 intr_disable machine/cpufunc.h:216 [inline] __mp_lock(ffffffff829f38d0) at __mp_lock+0xa1 sys/kern/kern_lock.c:142 selwakeup(fffffd8066bf2c90) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd8066bf2c90) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd8066bf2b78) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1699 rip_input(ffff80002e421f38,ffff80002e421f44,0,2) at rip_input+0x3b0 sys/netinet/raw_ip.c:188 ip_deliver(ffff80002e421f38,ffff80002e421f44,0,2) at ip_deliver+0x322 sys/netinet/ip_input.c:657 ip_ours(ffff80002e421f38,ffff80002e421f44,ffff80002af47000,0) at ip_ours+0x3ba sys/netinet/ip_input.c:616 ip_input_if(ffff80002e421f38,ffff80002e421f44,4,0,ffff800000689000) at ip_input_if+0x2a1 ipv4_input(ffff800000689000,fffffd8066e84a00) at ipv4_input+0x48 sys/netinet/ip_input.c:242 if_input_local(ffff800000689000,fffffd8066e84a00,2) at if_input_local+0x10e sys/net/if.c:774 ip_output(fffffd8068359100,0,fffffd806f679f18,20,0,fffffd806f679ea0,4d4dd6a3902b936a) at ip_output+0xb05 ip_mloopback sys/netinet/ip_output.c:1791 [inline] ip_output(fffffd8068359100,0,fffffd806f679f18,20,0,fffffd806f679ea0,4d4dd6a3902b936a) at ip_output+0xb05 sys/netinet/ip_output.c:332 rip_output(fffffd8068359100,fffffd8066bf2998,ffff80002e422190,103) at rip_output+0x2cb sys/netinet/raw_ip.c:302 rip_usrreq(fffffd8066bf2998,9,fffffd8068359100,0,0,ffff8000ffff0fc0) at rip_usrreq+0x49c sys/netinet/raw_ip.c:554 sosend(fffffd8066bf2998,0,ffff80002e422420,0,0,0) at sosend+0x632 sys/kern/uipc_socket.c:582 dofilewritev(ffff8000ffff0fc0,5,ffff80002e422420,0,ffff80002e422520) at dofilewritev+0x19c sys/kern/sys_generic.c:381 sys_writev(ffff8000ffff0fc0,ffff80002e4224c8,ffff80002e422520) at sys_writev+0xa7 sys/kern/sys_generic.c:328 syscall(ffff80002e422590) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e422590) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xfcaef8803c0, count: 238 End of stack trace.