witness: lock order reversal: 1st 0xffff8000299eee30 &cq->cq_mtx (&cq->cq_mtx) 2nd 0xffffffff839253d8 &sched_lock (&sched_lock) lock order [1] &cq->cq_mtx (&cq->cq_mtx) -> [2] &sched_lock (&sched_lock) #0 mtx_enter+0x95 sys/kern/kern_lock.c:406 #1 sleep_setup+0xc6 sys/kern/kern_synch.c:302 #2 msleep_nsec+0x10b sys/kern/kern_synch.c:217 #3 dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 #4 dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] #4 dtclose+0x109 sys/dev/dt/dt_dev.c:239 #5 spec_close+0x466 sys/kern/spec_vnops.c:-1 #6 VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 #7 vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] #7 vn_closefile+0x12b sys/kern/vfs_vnops.c:615 #8 fdrop+0x121 sys/kern/kern_descrip.c:1280 #9 closef+0x192 sys/kern/kern_descrip.c:1264 #10 syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] #10 syscall+0xbd4 sys/arch/amd64/amd64/trap.c:765 #11 Xsyscall+0x128 lock order [2] &sched_lock (&sched_lock) -> [1] &cq->cq_mtx (&cq->cq_mtx) #0 mtx_enter+0x95 sys/kern/kern_lock.c:406 #1 clockintr_cancel+0x2f sys/kern/kern_clockintr.c:323 #2 mi_switch+0x187 sys/kern/sched_bsd.c:376 #3 sleep_finish+0x2d8 sys/kern/kern_synch.c:367 #4 sys_futex+0xb90 futex_wait sys/kern/sys_futex.c:306 [inline] #4 sys_futex+0xb90 sys/kern/sys_futex.c:155 #5 syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] #5 syscall+0xbd4 sys/arch/amd64/amd64/trap.c:765 #6 Xsyscall+0x128 Stopped at db_enter+0x25: addq $0x8,%rsp ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic the kernel did not panic ddb{0}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 witness_checkorder(ffffffff839253d8,9,0) at witness_checkorder+0x10d1 sys/kern/subr_witness.c:-1 mtx_enter(ffffffff839253c8) at mtx_enter+0x95 sys/kern/kern_lock.c:406 sleep_setup(ffff8000299eee80,220,ffffffff83421610) at sleep_setup+0xc6 sys/kern/kern_synch.c:302 msleep_nsec(ffff8000299eee80,ffff8000299eee20,220,ffffffff83421610,ffffffffffffffff) at msleep_nsec+0x10b sys/kern/kern_synch.c:217 dt_ioctl_record_stop(ffff800001487000) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(11e5f,1,2000,ffff80003c461790) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80003c461790) at dtclose+0x109 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c415990) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806167f960,1,fffffd80097fb680,ffff80003c461790) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8061c33e08,ffff80003c461790) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8061c33e08,ffff80003c461790) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd8061c33e08,ffff80003c461790) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8061c33e08,ffff80003c461790) at closef+0x192 sys/kern/kern_descrip.c:1264 syscall(ffff80003c415bf0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c415bf0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x2ee4b61b900, count: -14 ddb{0}> show registers rdi 0 rsi 0 rbp 0xffff80003c415660 rbx 0 rdx 0 rcx 0xffff80003c461790 rax 0xffffffff83846ff0 cpu_info_full_primary+0x1ff0 r8 0xffff80003c415540 r9 0x8080808080808080 r10 0x205c3f9a2418214c r11 0x906c3d0f3eed5c99 r12 0xfffffd8003f38e40 r13 0xfffffd80046e3330 r14 0x3 r15 0xffffffff8340c500 substchar+0xc42e rip 0xffffffff82164b95 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80003c415650 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor) tid=181715 pid=84216 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c461260,0xffff80003c460048 process=0xffff80003c4326b0 user=0xffff80003c410000, vmspace=0xfffffd806c2433e8 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 84216 124833 89854 0 2 0 syz-executor *84216 181715 89854 0 7 0x4000000 syz-executor 84216 10117 89854 0 3 0x4000080 fsleep syz-executor 64270 28863 45804 0 2 0 syz-executor 64270 395304 45804 0 3 0x4000080 ttyout syz-executor 64270 286346 45804 0 2 0x4000000 syz-executor 41493 331402 94260 0 2 0 syz-executor 41493 137720 94260 0 2 0x4000000 syz-executor 63748 400775 72415 -1 2 0x11 syz-executor 63748 141696 72415 -1 3 0x4000090 fsleep syz-executor 63748 93670 72415 -1 3 0x4000090 fsleep syz-executor 63748 399195 72415 -1 3 0x4000090 fsleep syz-executor 32181 119099 93500 0 2 0x2 syz-executor 94434 100639 93500 0 2 0x2 syz-executor 84271 379621 93500 0 2 0x2 syz-executor 20100 413623 1 0 3 0x100083 ttyopn getty 94260 227338 93500 0 3 0x82 nanoslp syz-executor 72415 129693 93500 0 3 0x82 nanoslp syz-executor 48249 314375 93500 0 2 0x2 syz-executor 45804 524227 93500 0 3 0x82 nanoslp syz-executor 89854 416253 93500 0 3 0x82 nanoslp syz-executor 93500 323509 50272 0 3 0x82 kqread syz-executor 50272 199093 70770 0 3 0x10008a sigsusp ksh 70770 404220 25009 0 3 0x98 kqread sshd-session 25009 303353 64778 0 3 0x92 kqread sshd-session 64778 242997 1 0 3 0x88 kqread sshd 82450 91872 78973 74 3 0x1100092 bpf pflogd 78973 409340 1 0 3 0x80 sbwait pflogd 73566 189229 85391 73 3 0x1100090 kqread syslogd 85391 66312 1 0 3 0x100082 sbwait syslogd 14809 383349 1 0 3 0x100080 kqread resolvd 15193 354602 36241 77 3 0x100092 kqread dhcpleased 24090 504692 36241 77 3 0x100092 kqread dhcpleased 36241 10112 1 0 3 0x80 kqread dhcpleased 1055 65581 0 0 3 0x14200 bored smr 41937 238652 0 0 2 0x14200 zerothread 92417 270988 0 0 3 0x14200 aiodoned aiodoned 57350 376579 0 0 3 0x14200 syncer update 83895 251634 0 0 3 0x14200 cleaner cleaner 39343 241442 0 0 3 0x14200 reaper reaper 69267 119539 0 0 3 0x14200 pgdaemon pagedaemon 30200 41294 0 0 3 0x14200 bored viomb 72599 375725 0 0 3 0x40014200 acpi0 acpi0 71032 193768 0 0 7 0x40014200 idle1 40480 508622 0 0 3 0x14200 bored softnet1 20263 311678 0 0 3 0x14200 bored softnet0 12711 115632 0 0 3 0x14200 bored systqmp 6476 2582 0 0 3 0x14200 bored systq 16292 208483 0 0 3 0x14200 tmoslp softclockmp 70492 10108 0 0 3 0x40014200 tmoslp softclock 69831 39412 0 0 3 0x40014200 idle0 1 79510 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{0}> show all locks CPU 0: exclusive mutex &cq->cq_mtx r = 0 (0xffff8000299eee30) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 mtx_enter+0x4b4 sys/kern/kern_lock.c:487 #2 clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 #3 dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 #4 dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] #4 dtclose+0x109 sys/dev/dt/dt_dev.c:239 #5 spec_close+0x466 sys/kern/spec_vnops.c:-1 #6 VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 #7 vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] #7 vn_closefile+0x12b sys/kern/vfs_vnops.c:615 #8 fdrop+0x121 sys/kern/kern_descrip.c:1280 #9 closef+0x192 sys/kern/kern_descrip.c:1264 #10 syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] #10 syscall+0xbd4 sys/arch/amd64/amd64/trap.c:765 #11 Xsyscall+0x128 Process 84216 (syz-executor) thread 0xffff80003c461790 (181715) exclusive rwlock dtlk r = 0 (0xffffffff838509a8) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 rw_do_enter_write+0x419 sys/kern/kern_rwlock.c:320 #2 dt_ioctl_record_stop+0x2e sys/dev/dt/dt_dev.c:572 #3 dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] #3 dtclose+0x109 sys/dev/dt/dt_dev.c:239 #4 spec_close+0x466 sys/kern/spec_vnops.c:-1 #5 VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 #6 vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] #6 vn_closefile+0x12b sys/kern/vfs_vnops.c:615 #7 fdrop+0x121 sys/kern/kern_descrip.c:1280 #8 closef+0x192 sys/kern/kern_descrip.c:1264 #9 syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] #9 syscall+0xbd4 sys/arch/amd64/amd64/trap.c:765 #10 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83960e88) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 vn_closefile+0x41 sys/kern/vfs_vnops.c:608 #2 fdrop+0x121 sys/kern/kern_descrip.c:1280 #3 closef+0x192 sys/kern/kern_descrip.c:1264 #4 syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] #4 syscall+0xbd4 sys/arch/amd64/amd64/trap.c:765 #5 Xsyscall+0x128 exclusive mutex &cq->cq_mtx r = 0 (0xffff8000299eee30) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 mtx_enter+0x4b4 sys/kern/kern_lock.c:487 #2 clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 #3 dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 #4 dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] #4 dtclose+0x109 sys/dev/dt/dt_dev.c:239 #5 spec_close+0x466 sys/kern/spec_vnops.c:-1 #6 VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 #7 vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] #7 vn_closefile+0x12b sys/kern/vfs_vnops.c:615 #8 fdrop+0x121 sys/kern/kern_descrip.c:1280 #9 closef+0x192 sys/kern/kern_descrip.c:1264 #10 syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] #10 syscall+0xbd4 sys/arch/amd64/amd64/trap.c:765 #11 Xsyscall+0x128 Process 32181 (syz-executor) thread 0xffff8000fffee2b0 (119099) exclusive rwlock vmmaplk r = 0 (0xfffffd806c2438b8) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 rw_do_enter_write+0x419 sys/kern/kern_rwlock.c:320 #2 vm_map_lock_ln+0x12e sys/uvm/uvm_map.c:5171 #3 uvmspace_fork+0x12b sys/uvm/uvm_map.c:3741 #4 process_new+0x577 sys/kern/kern_fork.c:281 #5 fork1+0x3f6 sys/kern/kern_fork.c:-1 #6 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] #6 syscall+0xb17 sys/arch/amd64/amd64/trap.c:765 #7 Xsyscall+0x128 exclusive rwlock vmmaplk r = 0 (0xfffffd806c07e6d8) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 rw_do_enter_write+0x419 sys/kern/kern_rwlock.c:320 #2 vm_map_lock_ln+0x12e sys/uvm/uvm_map.c:5171 #3 uvmspace_fork+0x44 sys/uvm/uvm_map.c:3732 #4 process_new+0x577 sys/kern/kern_fork.c:281 #5 fork1+0x3f6 sys/kern/kern_fork.c:-1 #6 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] #6 syscall+0xb17 sys/arch/amd64/amd64/trap.c:765 #7 Xsyscall+0x128 Process 94434 (syz-executor) thread 0xffff80003c408020 (100639) exclusive rwlock vmmaplk r = 0 (0xfffffd806c243c88) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 rw_do_enter_write+0x419 sys/kern/kern_rwlock.c:320 #2 vm_map_lock_ln+0x12e sys/uvm/uvm_map.c:5171 #3 uvmspace_fork+0x12b sys/uvm/uvm_map.c:3741 #4 process_new+0x577 sys/kern/kern_fork.c:281 #5 fork1+0x3f6 sys/kern/kern_fork.c:-1 #6 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] #6 syscall+0xb17 sys/arch/amd64/amd64/trap.c:765 #7 Xsyscall+0x128 exclusive rwlock vmmaplk r = 0 (0xfffffd806c07ec90) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 rw_do_enter_write+0x419 sys/kern/kern_rwlock.c:320 #2 vm_map_lock_ln+0x12e sys/uvm/uvm_map.c:5171 #3 uvmspace_fork+0x44 sys/uvm/uvm_map.c:3732 #4 process_new+0x577 sys/kern/kern_fork.c:281 #5 fork1+0x3f6 sys/kern/kern_fork.c:-1 #6 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] #6 syscall+0xb17 sys/arch/amd64/amd64/trap.c:765 #7 Xsyscall+0x128 Process 48249 (syz-executor) thread 0xffff8000fffefca0 (314375) exclusive rwlock vmmaplk r = 0 (0xfffffd806c243118) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 rw_do_enter_write+0x419 sys/kern/kern_rwlock.c:320 #2 vm_map_lock_ln+0x12e sys/uvm/uvm_map.c:5171 #3 uvmspace_fork+0x12b sys/uvm/uvm_map.c:3741 #4 process_new+0x577 sys/kern/kern_fork.c:281 #5 fork1+0x3f6 sys/kern/kern_fork.c:-1 #6 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] #6 syscall+0xb17 sys/arch/amd64/amd64/trap.c:765 #7 Xsyscall+0x128 exclusive rwlock vmmaplk r = 0 (0xfffffd800b027c70) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 rw_do_enter_write+0x419 sys/kern/kern_rwlock.c:320 #2 vm_map_lock_ln+0x12e sys/uvm/uvm_map.c:5171 #3 uvmspace_fork+0x44 sys/uvm/uvm_map.c:3732 #4 process_new+0x577 sys/kern/kern_fork.c:281 #5 fork1+0x3f6 sys/kern/kern_fork.c:-1 #6 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] #6 syscall+0xb17 sys/arch/amd64/amd64/trap.c:765 #7 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10245 11066K 11550K 166960K 14891 0 pcb 17 16K 22K 166960K 638 0 rtable 237 14K 15K 166960K 990 0 pf 39 18K 67486K 166960K 274 0 ifaddr 39 7K 8K 166960K 192 0 ifgroup 60 2K 2K 166960K 333 0 sysctl 4 1K 9K 166960K 52 0 counters 70 37K 38K 166960K 486 0 ioctlops 0 0K 8K 166960K 2086 0 iov 0 0K 20K 166960K 183 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1462 92K 92K 166960K 4197 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 2K 9K 166960K 37 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 113 0 dirhash 12 2K 2K 166960K 141 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 240K 166960K 2573 0 sigio 0 0K 0K 166960K 52 0 proc 73 115K 164K 166960K 1079 0 subproc 72 4K 4K 166960K 144 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 331 0 in_multi 76 5K 7K 166960K 271 0 ether_multi 1 0K 0K 166960K 21 0 mrt 2 0K 0K 166960K 37 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 259 1155K 1155K 166960K 259 0 exec 0 0K 1K 166960K 1081 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 3 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 220 167K 185K 166960K 25687 0 UVM aobj 130 18K 18K 166960K 141 0 pinsyscall 43 86K 102K 166960K 3988 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 150 0 NDP 13 0K 2K 166960K 141 0 temp 84 8664K 8800K 166960K 106750 0 kqueue 13 20K 35K 166960K 521 0 SYN cache 2 0K 16K 166960K 4 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 26 0 0 1 0 1 1 0 8 0 rtpcb 120 297 0 294 3 2 1 3 0 8 0 rtentry 176 269 0 183 6 0 6 6 0 8 0 unpcb 144 2001 0 1983 15 14 1 6 0 8 0 syncache 336 21 0 21 7 6 1 1 0 8 1 tcpqe 32 13 0 13 5 4 1 1 0 8 1 tcpcb 736 684 0 675 9 7 2 7 0 8 0 arp 136 43 0 27 1 0 1 1 0 8 0 inpcb 328 2858 0 2845 30 28 2 13 0 8 0 nd6 152 53 0 33 2 0 2 2 0 8 0 pkpcb 40 27 0 27 6 6 0 1 0 8 0 kcovpl 48 16 0 8 1 0 1 1 0 8 0 mppekey 1024 2 0 2 2 2 0 1 0 8 0 ppxss 1192 174 0 174 2 2 0 1 0 8 0 pppxif 1504 74 0 74 4 4 0 1 0 8 0 pfstscr 40 1 0 1 1 1 0 1 0 8 0 pffrag 232 19 0 14 1 0 1 1 0 482 0 pffrnode 88 16 0 11 1 0 1 1 0 8 0 pffrent 40 96 0 91 1 0 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfrktable 1344 4 0 4 3 3 0 1 0 8 0 pfstitem 24 25 0 23 1 0 1 1 0 8 0 pfstkey 128 27 0 25 1 0 1 1 0 8 0 pfstate 448 26 0 24 3 2 1 3 0 8 0 pfrule 1344 24 0 18 2 1 1 2 0 8 0 rttmr 136 8 0 8 5 5 0 1 0 8 0 art_heap8 4096 4 0 0 4 0 4 4 0 8 0 art_heap4 256 1318 0 960 37 9 28 29 0 8 0 art_table 40 1322 0 960 5 0 5 5 0 8 0 art_node 32 264 0 191 1 0 1 1 0 8 0 sysvmsgpl 40 23 0 18 1 0 1 1 0 8 0 semupl 112 3 0 3 2 2 0 1 0 8 0 semapl 112 103 0 93 1 0 1 1 0 8 0 shmpl 112 132 0 11 4 0 4 4 0 8 0 dirhash 1024 104 0 87 3 0 3 3 0 8 0 dino2pl 256 6542 0 5023 96 0 96 96 0 8 0 ffsino 296 6542 0 5023 118 0 118 118 0 8 0 nchpl 144 9855 0 8138 65 0 65 65 0 8 0 rtmask 32 21 0 21 5 5 0 1 0 8 0 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 36385 0 36385 4 3 1 2 0 8 1 percpumem 16 258 0 208 1 0 1 1 0 8 0 vcpupl 3968 6 0 0 1 0 1 1 0 8 0 vmpool 840 6 0 0 1 0 1 1 0 8 0 kstatmem 264 220 0 190 8 5 3 3 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 17 0 17 6 6 0 1 0 8 0 scxspl 216 53872 0 53872 14 13 1 8 1 8 1 plimitpl 152 678 0 661 1 0 1 1 0 8 0 sigapl 424 2904 0 2857 9 2 7 8 0 8 0 knotepl 120 809 0 0 23 0 23 23 0 8 0 kqueuepl 224 1263 0 1254 22 20 2 5 0 8 1 pipepl 344 414 0 387 10 7 3 6 0 8 0 fdescpl 528 2843 0 2811 3 0 3 3 0 8 0 filepl 160 20650 0 20437 31 18 13 18 0 8 0 lockfpl 104 1101 0 1088 3 2 1 2 0 8 0 lockfspl 48 511 0 500 1 0 1 1 0 8 0 sessionpl 144 48 0 39 1 0 1 1 0 8 0 pgrppl 48 106 0 89 1 0 1 1 0 8 0 ucredpl 104 3764 0 3750 1 0 1 1 0 8 0 zombiepl 144 3952 0 3952 2 1 1 1 0 8 1 processpl 1232 2905 0 2857 7 2 5 6 0 8 0 procpl 664 7081 0 7025 8 2 6 8 0 8 0 sosppl 176 15 0 15 6 6 0 1 0 8 0 sockpl 752 5320 0 5286 42 37 5 18 0 8 0 mcl64k 65536 34 0 0 4 0 4 4 0 8 0 mcl16k 16384 6 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl9k 9216 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 118 0 0 15 0 15 15 0 8 0 mcl2k 2048 73 0 0 10 3 7 10 0 8 0 mtagpl 96 12 0 0 1 0 1 1 0 8 0 mbufpl 256 1230 0 0 77 0 77 77 0 8 0 bufpl 280 19407 0 13270 439 0 439 439 0 8 0 anonpl 32 13294 0 0 107 0 107 107 0 246 0 amapchunkpl 152 86889 0 86483 56 31 25 34 0 158 1 amappl16 200 8844 0 8813 75 70 5 27 0 8 0 amappl15 192 2 0 2 1 1 0 1 0 8 0 amappl14 184 18 0 18 2 2 0 1 0 8 0 amappl13 176 540 0 539 1 0 1 1 0 8 0 amappl12 168 3303 0 3264 3 0 3 3 0 8 0 amappl11 160 9 0 9 2 2 0 1 0 8 0 amappl10 152 75 0 61 1 0 1 1 0 8 0 amappl9 144 262 0 262 1 1 0 1 0 8 0 amappl8 136 134 0 131 1 0 1 1 0 8 0 amappl7 128 127 0 126 1 0 1 1 0 8 0 amappl6 120 397 0 384 1 0 1 1 0 8 0 amappl5 112 92 0 81 1 0 1 1 0 8 0 amappl4 104 549 0 517 1 0 1 1 0 8 0 amappl3 96 15495 0 15423 4 1 3 3 0 8 0 amappl2 88 3052 0 2976 2 0 2 2 0 8 0 amappl1 80 23525 0 22946 15 1 14 14 0 8 0 amappl 88 24280 0 24140 5 0 5 5 0 92 0 uvmvnodes 80 175 0 0 4 0 4 4 0 8 0 dma65536 65536 1 0 1 1 1 0 1 0 8 0 dma4096 4096 2 0 2 2 2 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 7 0 7 2 2 0 1 0 8 0 dma128 128 255 0 255 2 2 0 1 0 8 0 dma64 64 9 0 9 3 3 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 19 0 18 1 0 1 1 0 8 0 aobjpl 72 140 0 11 3 0 3 3 0 8 0 uaddrrnd 24 2842 0 2811 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2842 0 2811 1 0 1 1 0 8 0 vmmpekpl 168 23267 0 23211 4 0 4 4 0 8 0 vmmpepl 168 188634 0 186791 127 29 98 109 0 357 0 vmsppl 488 2841 0 2811 5 0 5 5 0 8 0 rwobjpl 80 51345 0 50145 41 9 32 35 0 8 0 pdppl 4096 5704 0 5628 138 60 78 84 0 8 2 pvpl 32 20152 0 0 162 0 162 162 0 265 0 pmappl 256 2847 0 2811 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 420 0 97 10 0 10 10 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 witness_checkorder(ffffffff839253d8,9,0) at witness_checkorder+0x10d1 sys/kern/subr_witness.c:-1 mtx_enter(ffffffff839253c8) at mtx_enter+0x95 sys/kern/kern_lock.c:406 sleep_setup(ffff8000299eee80,220,ffffffff83421610) at sleep_setup+0xc6 sys/kern/kern_synch.c:302 msleep_nsec(ffff8000299eee80,ffff8000299eee20,220,ffffffff83421610,ffffffffffffffff) at msleep_nsec+0x10b sys/kern/kern_synch.c:217 dt_ioctl_record_stop(ffff800001487000) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(11e5f,1,2000,ffff80003c461790) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80003c461790) at dtclose+0x109 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c415990) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806167f960,1,fffffd80097fb680,ffff80003c461790) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8061c33e08,ffff80003c461790) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8061c33e08,ffff80003c461790) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd8061c33e08,ffff80003c461790) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8061c33e08,ffff80003c461790) at closef+0x192 sys/kern/kern_descrip.c:1264 syscall(ffff80003c415bf0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c415bf0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x2ee4b61b900, count: -14 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp ddb{1}> trace x86_ipi_db(ffff8000299edff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 mtx_enter(ffff8000299eee20) at mtx_enter+0x377 sys/kern/kern_lock.c:454 clockintr_dispatch(ffff80002a22c4e0) at clockintr_dispatch+0x401 sys/kern/kern_clockintr.c:215 lapic_clockintr(0,0) at lapic_clockintr+0x51 sys/arch/amd64/amd64/lapic.c:482 Xresume_lapic_ltimer() at Xresume_lapic_ltimer+0x2a acpicpu_idle() at acpicpu_idle+0x457 sys/dev/acpi/acpicpu_x86.c:1224 sched_idle(ffff8000299edff0) at sched_idle+0x391 sys/kern/kern_sched.c:191 end trace frame: 0x0, count: -9