witness: lock order reversal: 1st 0xfffffd806a3ff2d8 vmmaplk (&map->lock) 2nd 0xfffffd806df2a5f8 inode (&ip->i_lock) lock order [1] vmmaplk (&map->lock) -> [2] inode (&ip->i_lock) #0 rw_enter+0x122 #1 rrw_enter+0xbe sys/kern/kern_rwlock.c:464 #2 VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 #3 vn_lock+0xa4 sys/kern/vfs_vnops.c:564 #4 vn_rdwr+0xd1 sys/kern/vfs_vnops.c:320 #5 vndstrategy+0x4ff sys/dev/vnd.c:342 #6 physio+0x2f6 sys/kern/kern_physio.c:162 #7 spec_read+0x155 sys/kern/spec_vnops.c:215 #8 VOP_READ+0x102 sys/kern/vfs_vops.c:227 #9 vn_read+0x17b sys/kern/vfs_vnops.c:369 #10 dofilereadv+0x230 sys/kern/sys_generic.c:252 #11 sys_readv+0xd8 sys/kern/sys_generic.c:199 #12 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] #12 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #13 Xsyscall+0x128 lock order [2] inode (&ip->i_lock) -> [1] vmmaplk (&map->lock) #0 rw_enter_read+0xab sys/kern/kern_rwlock.c:112 #1 uvmfault_lookup+0x122 sys/uvm/uvm_fault.c:1819 #2 uvm_fault_check+0x49 sys/uvm/uvm_fault.c:672 #3 uvm_fault+0xf5 sys/uvm/uvm_fault.c:600 #4 kpageflttrap+0x2d0 sys/arch/amd64/amd64/trap.c:279 #5 kerntrap+0x14a sys/arch/amd64/amd64/trap.c:332 #6 alltraps_kern_meltdown+0x7b #7 copyout+0x57 #8 ffs_read+0x422 sys/ufs/ffs/ffs_vnops.c:254 #9 VOP_READ+0x102 sys/kern/vfs_vops.c:227 #10 vn_rdwr+0x15b #11 vmcmd_map_readvn+0x142 sys/kern/exec_subr.c:249 #12 exec_process_vmcmds+0xfb sys/kern/exec_subr.c:139 #13 sys_execve+0xbe4 sys/kern/kern_exec.c:468 #14 start_init+0x3c6 sys/kern/init_main.c:714 #15 proc_trampoline+0x10 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:437 witness_checkorder(fffffd806df2a5f8,9,0) at witness_checkorder+0x1047 rw_enter(fffffd806df2a5e8,1) at rw_enter+0x122 rrw_enter(fffffd806df2a5e8,1) at rrw_enter+0xbe sys/kern/kern_rwlock.c:464 VOP_LOCK(fffffd807dcb40d8,2001) at VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 vn_lock(fffffd807dcb40d8,2001) at vn_lock+0xa4 sys/kern/vfs_vnops.c:564 vn_rdwr(0,fffffd807dcb40d8,ffff800011a261c0,23,0,1,2fe45c6478a27b0f,0,ffff800000b3e000,0) at vn_rdwr+0xd1 sys/kern/vfs_vnops.c:320 vndstrategy(fffffd805e47b358) at vndstrategy+0x4ff sys/dev/vnd.c:342 physio(ffffffff82ad13c0,2902,8000,ffffffff82b37ee0,ffff8000361a2eb0) at physio+0x2f6 sys/kern/kern_physio.c:162 spec_read(ffff8000361a2ca0) at spec_read+0x155 sys/kern/spec_vnops.c:215 VOP_READ(fffffd806f8a4d08,ffff8000361a2eb0,0,fffffd807f7d3618) at VOP_READ+0x102 sys/kern/vfs_vops.c:227 vn_read(fffffd806a1a7c98,ffff8000361a2eb0,0) at vn_read+0x17b sys/kern/vfs_vnops.c:369 dofilereadv(ffff8000371d82c8,5,ffff8000361a2eb0,0,ffff8000361a2f70) at dofilereadv+0x230 sys/kern/sys_generic.c:252 sys_readv(ffff8000371d82c8,ffff8000361a3020,ffff8000361a2f70) at sys_readv+0xd8 sys/kern/sys_generic.c:199 syscall(ffff8000361a3020) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff8000361a3020) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xaa6842149f0, count: -16 ddb{0}> show registers rdi 0 rsi 0x40000 acpi_pdirpa+0x2be71 rbp 0xffff8000361a2760 rbx 0xfffffd80042cb7a0 rdx 0xffff800001316dc0 rcx 0xffff8000371d82c8 rax 0x3ffff acpi_pdirpa+0x2be70 r8 0xffff8000361a2640 r9 0x8080808080808080 r10 0x66f01f174daac84 r11 0x2eeecc75b9671f94 r12 0 r13 0xfffffd8003ae3e00 r14 0x3 r15 0xffffffff rip 0xffffffff829b4485 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff8000361a2750 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor) tid=443360 pid=60786 tcnt=2 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=0xffff8000371d8040,0xffffffff83540e10 process=0xffff800037274920 user=0xffff80003619e000, vmspace=0xfffffd806a3ff1e0 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 60786 435492 10178 0 3 0x80 fsleep syz-executor *60786 443360 10178 0 7 0x4000000 syz-executor 34957 75810 74108 0 3 0x80 fsleep syz-executor 34957 161771 74108 0 3 0x4000080 kqread syz-executor 41843 304516 85701 0 3 0x80 fsleep syz-executor 41843 301982 85701 0 3 0x4000080 pipewr syz-executor 35455 405859 20428 0 3 0x80 fsleep syz-executor 35455 463261 20428 0 3 0x4000080 pipewr syz-executor 18192 221924 74052 0 3 0x80 fsleep syz-executor 18192 127255 74052 0 3 0x4000080 netacc syz-executor 18192 267031 74052 0 3 0x4000080 fsleep syz-executor 29322 241282 8121 0 3 0x80 fsleep syz-executor 29322 53338 8121 0 3 0x4000080 ttyin syz-executor 8692 99655 60097 0 3 0x80 fsleep syz-executor 8692 117840 60097 0 3 0x4000080 kqsel syz-executor 37057 158631 0 0 3 0x14280 nfsidl nfsio 92746 400406 0 0 3 0x14280 nfsidl nfsio 91194 218133 0 0 3 0x14280 nfsidl nfsio 74303 270259 0 0 3 0x14280 nfsidl nfsio 16441 98529 0 0 3 0x14280 nfsidl nfsio 98868 93922 0 0 3 0x14280 nfsidl nfsio 52297 438312 0 0 3 0x14280 nfsidl nfsio 79321 322749 0 0 3 0x14280 nfsidl nfsio 59852 186696 0 0 3 0x14280 nfsidl nfsio 59118 409176 0 0 3 0x14280 nfsidl nfsio 42647 381773 0 0 3 0x14280 nfsidl nfsio 45854 144749 0 0 3 0x14280 nfsidl nfsio 91609 172821 0 0 3 0x14280 nfsidl nfsio 92509 381754 0 0 3 0x14280 nfsidl nfsio 71265 453679 0 0 3 0x14280 nfsidl nfsio 85174 157478 0 0 3 0x14280 nfsidl nfsio 78047 433478 0 0 3 0x14280 nfsidl nfsio 71944 44988 0 0 3 0x14280 nfsidl nfsio 96174 298602 0 0 3 0x14280 nfsidl nfsio 43161 156984 0 0 3 0x14280 nfsidl nfsio 27071 268309 1 0 3 0x100083 ttyin getty 10178 232590 82177 0 2 0x482 syz-executor 20428 22531 82177 0 3 0x82 nanoslp syz-executor 74052 475360 82177 0 2 0x482 syz-executor 26593 99624 0 0 3 0x14200 bored sosplice 85701 132799 82177 0 2 0x482 syz-executor 8121 168621 82177 0 2 0x482 syz-executor 74108 461825 82177 0 2 0x482 syz-executor 60097 221771 82177 0 3 0x82 nanoslp syz-executor 76323 179382 82177 0 7 0x2 syz-executor 82177 251510 29926 0 3 0x82 kqread syz-executor 29926 449475 153 0 3 0x10008a sigsusp ksh 153 238100 68 0 3 0x98 kqread sshd-session 68 360986 84523 0 3 0x92 kqread sshd-session 84523 216882 1 0 3 0x88 kqread sshd 51915 129315 18000 74 3 0x1100092 bpf pflogd 18000 460144 1 0 3 0x80 sbwait pflogd 43596 288723 82485 73 3 0x1100090 kqread syslogd 82485 422535 1 0 3 0x100082 sbwait syslogd 99503 147214 1 0 3 0x100080 kqread resolvd 65073 351138 55699 77 3 0x100092 kqread dhcpleased 74046 6288 55699 77 3 0x100092 kqread dhcpleased 55699 37803 1 0 3 0x80 kqread dhcpleased 64825 298171 0 0 3 0x14200 bored smr 27332 371122 0 0 3 0x14200 pgzero zerothread 56770 104002 0 0 3 0x14200 aiodoned aiodoned 79399 517879 0 0 3 0x14200 syncer update 45215 97122 0 0 3 0x14200 cleaner cleaner 82417 516872 0 0 3 0x14200 reaper reaper 60061 210735 0 0 3 0x14200 pgdaemon pagedaemon 15220 481910 0 0 3 0x14200 bored viomb 23704 198458 0 0 3 0x40014200 acpi0 acpi0 5440 297686 0 0 3 0x40014200 idle1 79566 323136 0 0 3 0x14200 bored softnet3 95117 227493 0 0 3 0x14200 bored softnet2 77218 280787 0 0 3 0x14200 bored softnet1 93559 320461 0 0 3 0x14200 bored softnet0 84015 496490 0 0 3 0x14200 bored systqmp 60385 341148 0 0 3 0x14200 bored systq 29135 119258 0 0 3 0x14200 tmoslp softclockmp 18947 32513 0 0 2 0x40014200 softclock 8101 48656 0 0 3 0x40014200 idle0 1 244223 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 60786 (syz-executor) thread 0xffff8000371d82c8 (443360) shared rwlock vmmaplk r = 0 (0xfffffd806a3ff2d8) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 uvm_vslock_device+0x149 sys/uvm/uvm_glue.c:172 #2 physio+0x277 sys/kern/kern_physio.c:139 #3 spec_read+0x155 sys/kern/spec_vnops.c:215 #4 VOP_READ+0x102 sys/kern/vfs_vops.c:227 #5 vn_read+0x17b sys/kern/vfs_vnops.c:369 #6 dofilereadv+0x230 sys/kern/sys_generic.c:252 #7 sys_readv+0xd8 sys/kern/sys_generic.c:199 #8 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] #8 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #9 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff835c11c0) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 vn_read+0x56 sys/kern/vfs_vnops.c:351 #2 dofilereadv+0x230 sys/kern/sys_generic.c:252 #3 sys_readv+0xd8 sys/kern/sys_generic.c:199 #4 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] #4 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #5 Xsyscall+0x128 Process 76323 (syz-executor) thread 0xffff800029fd9be0 (179382) exclusive rrwlock inode r = 0 (0xfffffd8063b7b700) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 rw_enter+0x41b sys/kern/kern_rwlock.c:309 #2 rrw_enter+0xbe sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:564 #5 vget+0x2bd sys/kern/vfs_subr.c:678 #6 ufs_ihashget+0x192 sys/ufs/ufs/ufs_ihash.c:98 #7 ffs_vget+0x8c sys/ufs/ffs/ffs_vfsops.c:1201 #8 ufs_lookup+0x19f8 sys/ufs/ufs/ufs_lookup.c:478 #9 VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 #10 vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 #11 namei+0x7aa sys/kern/vfs_lookup.c:250 #12 dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1852 #13 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:178 [inline] #13 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #14 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806cdc0928) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 rw_enter+0x41b sys/kern/kern_rwlock.c:309 #2 rrw_enter+0xbe sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:564 #5 vfs_lookup+0x109 sys/kern/vfs_lookup.c:418 #6 namei+0x7aa sys/kern/vfs_lookup.c:250 #7 dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1852 #8 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:178 [inline] #8 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #9 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10217 11250K 11690K 166960K 14245 0 pcb 17 16K 17K 166960K 406 0 rtable 212 7K 8K 166960K 632 0 pf 33 17K 21K 166960K 173 0 ifaddr 38 6K 8K 166960K 97 0 ifgroup 54 2K 2K 166960K 148 0 sysctl 3 1K 1K 166960K 5 0 counters 62 36K 36K 166960K 118 0 ioctlops 0 0K 4K 166960K 1751 0 iov 1 12K 28K 166960K 281 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1419 89K 90K 166960K 3000 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 30 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 123 0 dirhash 12 2K 2K 166960K 33 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 17 61K 93K 166960K 1840 0 sigio 0 0K 0K 166960K 66 0 proc 72 91K 152K 166960K 808 0 subproc 104 6K 6K 166960K 169 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 320 0 in_multi 85 6K 7K 166960K 235 0 ether_multi 1 0K 0K 166960K 23 0 mrt 1 0K 0K 166960K 13 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 163 731K 731K 166960K 163 0 exec 0 0K 1K 166960K 784 0 fusefs mount 1 32K 32K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 236 73K 86K 166960K 18525 0 UVM aobj 65 7K 7K 166960K 68 0 pinsyscall 42 84K 106K 166960K 3107 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 121 0 NDP 11 0K 1K 166960K 68 0 temp 77 6828K 6935K 166960K 67802 0 kqueue 14 22K 32K 166960K 291 0 SYN cache 2 16K 16K 166960K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 24 0 0 1 0 1 1 0 8 0 rtpcb 120 278 0 242 4 2 2 2 0 8 0 rtentry 112 199 0 103 4 0 4 4 0 8 0 unpcb 144 1524 0 1507 13 8 5 6 0 8 4 syncache 336 7 0 7 3 3 0 1 0 8 0 tcpcb 808 503 0 495 12 7 5 5 0 8 4 arp 120 33 0 16 1 0 1 1 0 8 0 inpcb 336 1999 0 1986 26 19 7 7 0 8 5 nd6 136 48 0 22 1 0 1 1 0 8 0 pkpcb 40 10 0 10 6 5 1 1 0 8 1 kcovpl 48 13 0 5 1 0 1 1 0 8 0 ppxss 1168 13 0 13 5 5 0 1 0 8 0 pffrag 232 43 0 38 1 0 1 1 0 482 0 pffrnode 88 41 0 36 1 0 1 1 0 8 0 pffrent 40 114 0 109 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 pfstitem 24 142 0 91 1 0 1 1 0 8 0 pfstkey 128 142 0 91 3 0 3 3 0 8 0 pfstate 376 142 0 91 8 0 8 8 0 8 0 pfrule 1344 24 0 18 2 0 2 2 0 8 1 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 863 0 465 36 9 27 30 0 8 0 art_table 32 866 0 465 4 0 4 4 0 8 0 art_node 16 197 0 112 1 0 1 1 0 8 0 sysvmsgpl 40 14 0 9 1 0 1 1 0 8 0 semapl 112 117 0 107 1 0 1 1 0 8 0 shmpl 112 65 0 3 2 0 2 2 0 8 0 dirhash 1024 31 0 14 3 0 3 3 0 8 0 dino2pl 256 4584 0 3076 95 0 95 95 0 8 0 ffsino 272 4584 0 3076 103 2 101 102 0 8 0 nchpl 144 7258 0 6702 63 40 23 63 0 8 0 uvmvnodes 80 5751 0 0 118 0 118 118 0 8 0 vnodes 216 5751 0 0 320 0 320 320 0 8 0 namei 1024 25355 0 25355 2 1 1 2 0 8 1 percpumem 16 73 0 28 1 0 1 1 0 8 0 kstatmem 264 78 0 56 2 0 2 2 0 8 0 scsiplug 72 9 0 9 5 4 1 1 0 8 1 scxspl 216 20908 0 20908 14 13 1 8 1 8 1 plimitpl 152 499 0 481 1 0 1 1 0 8 0 sigapl 424 2190 0 2120 10 2 8 8 0 8 0 futexpl 64 32422 0 32414 1 0 1 1 0 8 0 knotepl 120 655 0 0 18 0 18 18 0 8 0 kqueuepl 216 680 0 669 11 10 1 5 0 8 0 pipepl 320 482 0 453 15 12 3 8 0 8 0 fdescpl 496 2128 0 2097 5 0 5 5 0 8 0 filepl 152 14723 0 14433 32 18 14 22 0 8 2 lockfpl 104 922 0 919 3 2 1 2 0 8 0 lockfspl 48 299 0 296 1 0 1 1 0 8 0 sessionpl 144 33 0 24 1 0 1 1 0 8 0 pgrppl 48 83 0 66 1 0 1 1 0 8 0 ucredpl 104 2378 0 2364 1 0 1 1 0 8 0 zombiepl 144 2120 0 2120 1 0 1 1 0 8 1 processpl 1160 2190 0 2120 8 2 6 6 0 8 0 procpl 648 4827 0 4749 10 2 8 8 0 8 1 srpgc 96 8 0 8 3 3 0 1 0 8 0 sosppl 168 5 0 5 4 4 0 1 0 8 0 sockpl 664 3838 0 3773 34 24 10 14 0 8 4 mcl64k 65536 8 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 9 0 0 2 0 2 2 0 8 0 mcl4k 4096 131 0 0 16 0 16 16 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 52 0 0 7 1 6 7 0 8 0 mtagpl 96 50 0 0 2 0 2 2 0 8 0 mbufpl 256 1175 0 0 73 0 73 73 0 8 0 bufpl 280 5572 0 117 390 0 390 390 0 8 0 anonpl 24 274717 0 266060 85 6 79 79 0 185 0 amapchunkpl 152 59025 0 58463 44 19 25 31 0 158 1 amappl16 200 6106 0 5842 46 18 28 28 0 8 0 amappl15 192 42 0 42 1 1 0 1 0 8 0 amappl14 184 137 0 124 1 0 1 1 0 8 0 amappl13 176 19 0 19 1 1 0 1 0 8 0 amappl12 168 2875 0 2844 4 2 2 3 0 8 0 amappl11 160 51 0 37 1 0 1 1 0 8 0 amappl10 152 5 0 5 1 1 0 1 0 8 0 amappl9 144 214 0 214 1 1 0 1 0 8 0 amappl8 136 18 0 15 1 0 1 1 0 8 0 amappl7 128 143 0 130 1 0 1 1 0 8 0 amappl6 120 215 0 213 1 0 1 1 0 8 0 amappl5 112 157 0 145 1 0 1 1 0 8 0 amappl4 104 423 0 401 1 0 1 1 0 8 0 amappl3 96 10987 0 10896 3 0 3 3 0 8 0 amappl2 88 2474 0 2388 3 0 3 3 0 8 0 amappl1 80 14128 0 13572 16 2 14 14 0 8 0 amappl 88 17841 0 17668 6 1 5 5 0 92 0 dma4096 4096 1 0 1 1 1 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 256 0 256 3 3 0 1 0 8 0 dma64 64 6 0 6 1 1 0 1 0 8 0 dma32 32 8 0 8 2 2 0 1 0 8 0 dma16 16 19 0 18 1 0 1 1 0 8 0 aobjpl 72 67 0 3 2 0 2 2 0 8 0 uaddrrnd 24 2128 0 2097 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2128 0 2097 1 0 1 1 0 8 0 vmmpekpl 168 17827 0 17776 3 0 3 3 0 8 0 vmmpepl 168 133611 0 131514 118 13 105 105 0 357 2 vmsppl 448 2127 0 2097 6 2 4 5 0 8 0 rwobjpl 56 40743 0 33769 99 0 99 99 0 8 0 pdppl 4096 4263 0 4194 129 58 71 85 0 8 2 pvpl 32 20370 0 0 164 0 164 164 0 265 0 pmappl 248 2127 0 2097 3 0 3 3 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 527 0 110 13 0 13 13 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:437 witness_checkorder(fffffd806df2a5f8,9,0) at witness_checkorder+0x1047 rw_enter(fffffd806df2a5e8,1) at rw_enter+0x122 rrw_enter(fffffd806df2a5e8,1) at rrw_enter+0xbe sys/kern/kern_rwlock.c:464 VOP_LOCK(fffffd807dcb40d8,2001) at VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 vn_lock(fffffd807dcb40d8,2001) at vn_lock+0xa4 sys/kern/vfs_vnops.c:564 vn_rdwr(0,fffffd807dcb40d8,ffff800011a261c0,23,0,1,2fe45c6478a27b0f,0,ffff800000b3e000,0) at vn_rdwr+0xd1 sys/kern/vfs_vnops.c:320 vndstrategy(fffffd805e47b358) at vndstrategy+0x4ff sys/dev/vnd.c:342 physio(ffffffff82ad13c0,2902,8000,ffffffff82b37ee0,ffff8000361a2eb0) at physio+0x2f6 sys/kern/kern_physio.c:162 spec_read(ffff8000361a2ca0) at spec_read+0x155 sys/kern/spec_vnops.c:215 VOP_READ(fffffd806f8a4d08,ffff8000361a2eb0,0,fffffd807f7d3618) at VOP_READ+0x102 sys/kern/vfs_vops.c:227 vn_read(fffffd806a1a7c98,ffff8000361a2eb0,0) at vn_read+0x17b sys/kern/vfs_vnops.c:369 dofilereadv(ffff8000371d82c8,5,ffff8000361a2eb0,0,ffff8000361a2f70) at dofilereadv+0x230 sys/kern/sys_generic.c:252 sys_readv(ffff8000371d82c8,ffff8000361a3020,ffff8000361a2f70) at sys_readv+0xd8 sys/kern/sys_generic.c:199 syscall(ffff8000361a3020) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff8000361a3020) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xaa6842149f0, count: -16 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp ddb{1}> trace x86_ipi_db(ffff800029b7bff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff835c0fb8) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff835c0fb8) at __mp_lock+0x192 sys/kern/kern_lock.c:144 __mp_acquire_count(ffffffff835c0fb8,1) at __mp_acquire_count+0x58 mi_switch() at mi_switch+0x4b7 sys/kern/sched_bsd.c:441 sleep_finish(0,1) at sleep_finish+0x2f2 sys/kern/kern_synch.c:425 biowait(fffffd806d021240) at biowait+0xc1 sys/kern/vfs_bio.c:1246 bwrite(fffffd806d021240) at bwrite+0x2e2 sys/kern/vfs_bio.c:758 ffs_update(fffffd8063b7b668,1) at ffs_update+0x34c sys/ufs/ffs/ffs_inode.c:111 ffs_truncate(fffffd8063b7b668,0,4,fffffd807f7d3618) at ffs_truncate+0xcb6 ufs_rmdir(ffff80002a09a708) at ufs_rmdir+0x374 sys/ufs/ufs/ufs_vnops.c:1265 VOP_RMDIR(fffffd806c44fe90,fffffd80613de0e0,ffff80002a09a7e8) at VOP_RMDIR+0x19a sys/kern/vfs_vops.c:413 dounlinkat(ffff800029fd9be0,ffffff9c,77c3a3067730,8) at dounlinkat+0x2e0 sys/kern/vfs_syscalls.c:1885 syscall(ffff80002a09a960) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff80002a09a960) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x77c3a3067720, count: -16