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(fffffd806d575c70) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd806d575c70) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd806d575b58) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1699 rip_input(ffff800027d667e8,ffff800027d667f4,ff,2) at rip_input+0x3b0 sys/netinet/raw_ip.c:188 ip_deliver(ffff800027d667e8,ffff800027d667f4,ff,2) at ip_deliver+0x322 sys/netinet/ip_input.c:657 ip_ours(ffff800027d667e8,ffff800027d667f4,ffff8000246eb000,0) at ip_ours+0x3ba sys/netinet/ip_input.c:616 ip_input_if(ffff800027d667e8,ffff800027d667f4,4,0,ffff800000689000) at ip_input_if+0x2a1 ipv4_input(ffff800000689000,fffffd806799bc00) at ipv4_input+0x48 sys/netinet/ip_input.c:242 if_input_local(ffff800000689000,fffffd806799bc00,2) at if_input_local+0x10e sys/net/if.c:774 ip_output(fffffd805b5ed800,fffffd8065cf1000,fffffd80687351b8,20,0,fffffd8068735140,5db87b51c331eb92) at ip_output+0xb05 ip_mloopback sys/netinet/ip_output.c:1791 [inline] ip_output(fffffd805b5ed800,fffffd8065cf1000,fffffd80687351b8,20,0,fffffd8068735140,5db87b51c331eb92) at ip_output+0xb05 sys/netinet/ip_output.c:332 rip_output(fffffd805b5ed800,fffffd806d575798,ffff800027d66a40,ee) at rip_output+0x2cb sys/netinet/raw_ip.c:302 rip_usrreq(fffffd806d575798,9,fffffd805b5ed800,0,0,ffff800021142d28) at rip_usrreq+0x49c sys/netinet/raw_ip.c:554 sosend(fffffd806d575798,0,ffff800027d66c58,0,0,0) at sosend+0x632 sys/kern/uipc_socket.c:582 dofilewritev(ffff800021142d28,4,ffff800027d66c58,0,ffff800027d66d50) at dofilewritev+0x19c sys/kern/sys_generic.c:381 sys_write(ffff800021142d28,ffff800027d66cf8,ffff800027d66d50) at sys_write+0x83 sys/kern/sys_generic.c:301 syscall(ffff800027d66dc0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800027d66dc0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9c0c202f460, count: 238 End of stack trace.