witness: lock order reversal: 1st 0xfffffd807effeb98 vmmaplk (&map->lock) 2nd 0xfffffd8062540d60 inode (&ip->i_lock) lock order "&ip->i_lock"(rrwlock) -> "&map->lock"(rwlock) first seen at: #0 witness_checkorder+0x65e witness_lock_order_add sys/kern/subr_witness.c:2463 [inline] #0 witness_checkorder+0x65e sys/kern/subr_witness.c:880 #1 rw_enter_read+0x66 sys/kern/kern_rwlock.c:111 #2 uvmfault_lookup+0xd9 sys/uvm/uvm_fault.c:1438 #3 uvm_fault+0x7e sys/uvm/uvm_fault.c:526 #4 pageflttrap+0x254 sys/arch/amd64/amd64/trap.c:219 #5 kerntrap+0xf1 sys/arch/amd64/amd64/trap.c:301 #6 alltraps_kern_meltdown+0x7b #7 copyout+0x53 #8 ffs_read+0x3e2 sys/ufs/ffs/ffs_vnops.c:258 #9 VOP_READ+0xbf sys/kern/vfs_vops.c:247 #10 vn_rdwr+0x10b #11 vmcmd_map_readvn+0xda sys/kern/exec_subr.c:246 #12 exec_process_vmcmds+0xb2 sys/kern/exec_subr.c:143 #13 sys_execve+0x9ff sys/kern/kern_exec.c:461 #14 syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] #14 syscall+0x4a1 sys/arch/amd64/amd64/trap.c:567 #15 Xsyscall+0x128 lock order "&map->lock"(rwlock) -> "&ip->i_lock"(rrwlock) first seen at: #0 witness_checkorder+0x65e witness_lock_order_add sys/kern/subr_witness.c:2463 [inline] #0 witness_checkorder+0x65e sys/kern/subr_witness.c:880 #1 rw_enter+0xd4 #2 rrw_enter+0x88 sys/kern/kern_rwlock.c:462 #3 VOP_LOCK+0x4b sys/kern/vfs_vops.c:603 #4 vn_lock+0x6c sys/kern/vfs_vnops.c:575 #5 uvn_io+0x2b5 sys/uvm/uvm_vnode.c:1196 #6 uvn_get+0x226 sys/uvm/uvm_vnode.c:1056 #7 uvm_fault+0x1197 sys/uvm/uvm_fault.c:1016 #8 uvm_fault_wire+0x63 sys/uvm/uvm_fault.c:1285 #9 uvm_map_pageable_wire+0x30d sys/uvm/uvm_map.c:2367 #10 sys_mlockall+0x6a sys/uvm/uvm_mmap.c:828 #11 syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] #11 syscall+0x4a1 sys/arch/amd64/amd64/trap.c:567 #12 Xsyscall+0x128 Stopped at db_enter+0x18: 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+0x18 sys/arch/amd64/amd64/db_interface.c:398 witness_checkorder(fffffd8062540d60,9,0) at witness_checkorder+0xf5a witness_debugger sys/kern/subr_witness.c:2490 [inline] witness_checkorder(fffffd8062540d60,9,0) at witness_checkorder+0xf5a sys/kern/subr_witness.c:1087 rw_enter(fffffd8062540d50,81) at rw_enter+0xd4 rrw_enter(fffffd8062540d50,81) at rrw_enter+0x88 sys/kern/kern_rwlock.c:462 VOP_LOCK(fffffd806257bb60,81) at VOP_LOCK+0x4b sys/kern/vfs_vops.c:603 vn_lock(fffffd806257bb60,81) at vn_lock+0x6c sys/kern/vfs_vnops.c:575 uvn_io(fffffd806dd27e60,ffff80002350ae38,1,2,0) at uvn_io+0x2b5 sys/uvm/uvm_vnode.c:1196 uvn_get(fffffd806dd27e60,9000,ffff80002350b090,ffff80002350b02c,0,3) at uvn_get+0x226 sys/uvm/uvm_vnode.c:1056 uvm_fault(fffffd807effeb80,1b31929000,2,3) at uvm_fault+0x1197 sys/uvm/uvm_fault.c:1016 uvm_fault_wire(fffffd807effeb80,1b31920000,1b32920000,3) at uvm_fault_wire+0x63 sys/uvm/uvm_fault.c:1285 uvm_map_pageable_wire(fffffd807effeb80,fffffd8059d115f0,0,378,ffffffff8228a410,0) at uvm_map_pageable_wire+0x30d sys/uvm/uvm_map.c:2367 sys_mlockall(ffff8000212c73e0,ffff80002350b268,ffff80002350b2b0) at sys_mlockall+0x6a sys/uvm/uvm_mmap.c:828 syscall(ffff80002350b330) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002350b330) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:567 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x2ed806feac0, count: -14 ddb{0}> show registers rdi 0x3 rsi 0x40000 acpi_pdirpa+0x2be68 rbp 0xffff80002350aa90 rbx 0x3 rdx 0xffff800000b08200 rcx 0x3 rax 0x3ffff acpi_pdirpa+0x2be67 r8 0xffffffff8129a523 witness_checkorder+0xf33 r9 0x5 r10 0xb95da415311fd264 r11 0xfc75c5ce76ed5d75 r12 0xffffffff8281dbf0 w_lodata+0x546f0 r13 0 r14 0xffffffff8280a5e0 w_lodata+0x410e0 r15 0xfffffd8002c8f480 rip 0xffffffff819aafe8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80002350aa80 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.1) pid=270559 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff8000212c6020,0xffffffff8287f558 process=0xffff8000222f17b0 user=0xffff800023506000, vmspace=0xfffffd807effeb80 estcpu=36, cpticks=6, pctcpu=0.0 user=0, sys=6, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 67949 41350 57053 0 2 0 syz-executor.1 *67949 270559 57053 0 7 0x4000000 syz-executor.1 34553 18729 0 0 3 0x14200 bored sosplice 57053 364633 49619 0 2 0x482 syz-executor.1 37433 5431 49619 0 2 0x2 syz-executor.0 49619 438832 78302 0 3 0x82 thrsleep syz-fuzzer 49619 463782 78302 0 2 0x4000482 syz-fuzzer 49619 203171 78302 0 3 0x4000082 kqread syz-fuzzer 49619 57232 78302 0 3 0x4000082 thrsleep syz-fuzzer 49619 12037 78302 0 3 0x4000082 thrsleep syz-fuzzer 49619 92385 78302 0 3 0x4000082 thrsleep syz-fuzzer 49619 351458 78302 0 7 0x4000482 syz-fuzzer 49619 236207 78302 0 3 0x4000082 thrsleep syz-fuzzer 78302 162446 10799 0 3 0x10008a pause ksh 10799 437843 77903 0 3 0x92 select sshd 92196 161754 1 0 3 0x100083 ttyin getty 77903 339320 1 0 3 0x80 select sshd 85565 31577 72907 74 3 0x100092 bpf pflogd 72907 199777 1 0 3 0x80 netio pflogd 22199 134377 18964 73 3 0x100090 kqread syslogd 18964 4473 1 0 3 0x100082 netio syslogd 34477 182454 1 77 3 0x100090 poll dhclient 85299 379334 1 0 3 0x80 poll dhclient 70659 480647 0 0 3 0x14200 bored smr 17729 288317 0 0 2 0x14200 zerothread 70539 330740 0 0 3 0x14200 aiodoned aiodoned 30354 480052 0 0 3 0x14200 syncer update 48433 431511 0 0 3 0x14200 cleaner cleaner 86723 422827 0 0 3 0x14200 reaper reaper 183 122024 0 0 3 0x14200 pgdaemon pagedaemon 66259 36971 0 0 3 0x14200 bored crynlk 92903 505268 0 0 3 0x14200 bored crypto 52572 133217 0 0 3 0x40014200 acpi0 acpi0 60568 168312 0 0 3 0x40014200 idle1 3314 33891 0 0 3 0x14200 bored softnet 82890 137071 0 0 3 0x14200 bored systqmp 11962 409884 0 0 3 0x14200 bored systq 80172 272116 0 0 3 0x40014200 bored softclock 41030 462567 0 0 3 0x40014200 idle0 1 200244 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 67949 (syz-executor.1) thread 0xffff8000212c73e0 (270559) shared rwlock vmmaplk r = 0 (0xfffffd807effeb98) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1164 #1 rw_enter+0x446 sys/kern/kern_rwlock.c:311 #2 vm_map_lock_ln+0xda sys/uvm/uvm_map.c:5452 #3 uvm_map_pageable_all+0x56 sys/uvm/uvm_map.c:2576 #4 sys_mlockall+0x6a sys/uvm/uvm_mmap.c:828 #5 syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] #5 syscall+0x4a1 sys/arch/amd64/amd64/trap.c:567 #6 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff8287d770) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1164 #1 syscall+0x3fd mi_syscall sys/sys/syscall_mi.h:93 [inline] #1 syscall+0x3fd sys/arch/amd64/amd64/trap.c:567 #2 Xsyscall+0x128 Process 37433 (syz-executor.0) thread 0xffff8000211e7150 (5431) exclusive rrwlock inode r = 0 (0xfffffd8061781928) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1164 #1 rw_enter+0x446 sys/kern/kern_rwlock.c:311 #2 rrw_enter+0x88 sys/kern/kern_rwlock.c:462 #3 ufs_ihashins+0x45 sys/ufs/ufs/ufs_ihash.c:140 #4 ffs_vget+0x135 sys/ufs/ffs/ffs_vfsops.c:1350 #5 ffs_inode_alloc+0x1e1 sys/ufs/ffs/ffs_alloc.c:394 #6 ufs_mkdir+0xf4 sys/ufs/ufs/ufs_vnops.c:1162 #7 VOP_MKDIR+0xc6 sys/kern/vfs_vops.c:450 #8 domkdirat+0x121 sys/kern/vfs_syscalls.c:3064 #9 syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] #9 syscall+0x4a1 sys/arch/amd64/amd64/trap.c:567 #10 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd8062540b40) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1164 #1 rw_enter+0x446 sys/kern/kern_rwlock.c:311 #2 rrw_enter+0x88 sys/kern/kern_rwlock.c:462 #3 VOP_LOCK+0x4b sys/kern/vfs_vops.c:603 #4 vn_lock+0x6c sys/kern/vfs_vnops.c:575 #5 vfs_lookup+0xe6 sys/kern/vfs_lookup.c:419 #6 namei+0x5f7 sys/kern/vfs_lookup.c:249 #7 domkdirat+0x75 sys/kern/vfs_syscalls.c:3049 #8 syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] #8 syscall+0x4a1 sys/arch/amd64/amd64/trap.c:567 #9 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9486 6403K 6670K 78643K 11659 0 pcb 13 8K 8K 78643K 58 0 rtable 108 3K 4K 78643K 269 0 ifaddr 54 12K 12K 78643K 56 0 sysctl 2 0K 0K 78643K 2 0 counters 43 33K 33K 78643K 43 0 ioctlops 0 0K 4K 78643K 1613 0 iov 0 0K 16K 78643K 446 0 mount 1 1K 1K 78643K 1 0 vnodes 1227 77K 77K 78643K 1674 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 17 0 VM map 2 1K 1K 78643K 2 0 sem 11 1K 1K 78643K 13 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 5 13K 25K 78643K 11483 0 sigio 0 0K 0K 78643K 4 0 proc 61 63K 95K 78643K 513 0 subproc 32 2K 2K 78643K 34 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 159 0 in_multi 33 2K 2K 78643K 47 0 ether_multi 1 0K 0K 78643K 22 0 mrt 0 0K 0K 78643K 19 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 43 201K 201K 78643K 43 0 exec 0 0K 2K 78643K 433 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 7 26K 26K 78643K 7 0 UVM amap 387 50K 50K 78643K 25624 0 UVM aobj 43 3K 3K 78643K 48 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 74 0 NDP 8 0K 0K 78643K 13 0 temp 114 3962K 4026K 78643K 25733 0 kqueue 3 4K 16K 78643K 59 0 SYN cache 2 16K 16K 78643K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 6 0 0 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 96 90 0 88 1 0 1 1 0 8 0 rtentry 112 45 0 1 2 0 2 2 0 8 0 unpcb 120 1507 0 1496 1 0 1 1 0 8 0 syncache 272 12 0 12 6 6 0 1 0 8 0 tcpqe 32 163 0 163 3 3 0 1 0 8 0 tcpcb 592 686 0 682 11 10 1 3 0 8 0 inpcb 296 1395 0 1388 9 8 1 2 0 8 0 nd6 48 6 0 0 1 0 1 1 0 8 0 kcovpl 48 2 0 0 1 0 1 1 0 8 0 pffrag 232 4 0 4 2 2 0 1 0 482 0 pffrnode 88 4 0 4 2 2 0 1 0 8 0 pffrent 40 94 0 94 2 2 0 1 0 8 0 pfosfp 40 848 0 423 5 0 5 5 0 8 0 pfosfpen 112 1430 0 714 21 0 21 21 0 8 0 pfstitem 24 40 0 38 1 0 1 1 0 8 0 pfstkey 112 40 0 38 1 0 1 1 0 8 0 pfstate 328 40 0 38 2 1 1 2 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 187 0 0 12 0 12 12 0 8 0 art_table 32 188 0 0 2 0 2 2 0 8 0 art_node 16 44 0 4 1 0 1 1 0 8 0 sysvmsgpl 40 12 0 6 1 0 1 1 0 8 0 semapl 112 11 0 2 1 0 1 1 0 8 0 shmpl 112 45 0 5 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 13568 0 12163 97 9 88 89 0 8 0 ffsino 272 13568 0 12163 96 1 95 95 0 8 0 nchpl 144 26470 0 24863 60 0 60 60 0 8 0 uvmvnodes 72 5926 0 0 108 0 108 108 0 8 0 vnodes 208 5926 0 0 312 0 312 312 0 8 0 namei 1024 59056 0 59055 5 4 1 1 0 8 0 percpumem 16 32 0 0 1 0 1 1 0 8 0 scxspl 192 77611 0 77611 13 12 1 7 0 8 1 plimitpl 152 87 0 78 1 0 1 1 0 8 0 sigapl 424 11699 0 11667 4 0 4 4 0 8 0 futexpl 56 56548 0 56548 4 3 1 1 0 8 1 knotepl 112 126 0 106 1 0 1 1 0 8 0 kqueuepl 152 11848 0 11841 1 0 1 1 0 8 0 pipepl 304 383 0 372 10 9 1 2 0 8 0 fdescpl 496 11683 0 11667 3 0 3 3 0 8 0 filepl 152 33436 0 33334 6 1 5 5 0 8 0 lockfpl 104 1138 0 1137 1 0 1 1 0 8 0 lockfspl 48 544 0 543 1 0 1 1 0 8 0 sessionpl 120 18 0 7 1 0 1 1 0 8 0 pgrppl 48 30 0 19 1 0 1 1 0 8 0 ucredpl 96 1262 0 1253 1 0 1 1 0 8 0 zombiepl 144 11667 0 11667 2 1 1 1 0 8 1 processpl 1008 11699 0 11667 6 1 5 5 0 8 0 procpl 632 23912 0 23872 7 3 4 5 0 8 0 sosppl 144 30 0 30 7 7 0 1 0 8 0 sockpl 400 2992 0 2972 10 7 3 4 0 8 0 mcl64k 65536 12 0 0 2 0 2 2 0 8 0 mcl16k 16384 4 0 0 1 0 1 1 0 8 0 mcl12k 12288 18 0 0 2 0 2 2 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 24 0 0 3 0 3 3 0 8 0 mcl4k 4096 17 0 0 3 0 3 3 0 8 0 mcl2k2 2112 5 0 0 1 0 1 1 0 8 0 mcl2k 2048 329 0 0 25 10 15 25 0 8 0 mtagpl 96 7 0 0 1 0 1 1 0 8 0 mbufpl 256 590 0 0 24 0 24 24 0 8 0 bufpl 280 15708 0 9458 447 0 447 447 0 8 0 anonpl 16 755377 0 686649 313 36 277 277 0 124 0 amapchunkpl 152 39741 0 37158 103 3 100 100 0 158 0 amappl16 192 29410 0 27686 117 30 87 95 0 8 0 amappl15 184 2 0 2 2 2 0 1 0 8 0 amappl14 176 5729 0 5721 1 0 1 1 0 8 0 amappl13 168 61 0 57 1 0 1 1 0 8 0 amappl12 160 10 0 7 3 2 1 1 0 8 0 amappl11 152 58 0 43 1 0 1 1 0 8 0 amappl10 144 5764 0 5759 1 0 1 1 0 8 0 amappl9 136 368 0 368 1 1 0 1 0 8 0 amappl8 128 141 0 104 2 0 2 2 0 8 0 amappl7 120 245 0 237 1 0 1 1 0 8 0 amappl6 112 5818 0 5806 1 0 1 1 0 8 0 amappl5 104 11824 0 11806 1 0 1 1 0 8 0 amappl4 96 298 0 268 1 0 1 1 0 8 0 amappl3 88 697 0 689 1 0 1 1 0 8 0 amappl2 80 83644 0 83575 3 0 3 3 0 8 0 amappl1 72 323725 0 323243 29 19 10 19 0 8 0 amappl 80 24470 0 24140 7 0 7 7 0 84 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 253 0 253 1 1 0 1 0 8 0 dma64 64 6 0 6 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 64 47 0 5 1 0 1 1 0 8 0 uaddrrnd 24 11683 0 11667 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 11683 0 11667 1 0 1 1 0 8 0 vmmpekpl 168 36130 0 36088 3 0 3 3 0 8 0 vmmpepl 168 1437401 0 1434208 237 91 146 180 0 357 3 vmsppl 368 11682 0 11667 2 0 2 2 0 8 0 pdppl 4096 23373 0 23334 9 3 6 6 0 8 1 pvpl 32 2890682 0 2818760 668 87 581 581 0 265 0 pmappl 232 11682 0 11667 2 1 1 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 303 0 43 8 0 8 8 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 witness_checkorder(fffffd8062540d60,9,0) at witness_checkorder+0xf5a witness_debugger sys/kern/subr_witness.c:2490 [inline] witness_checkorder(fffffd8062540d60,9,0) at witness_checkorder+0xf5a sys/kern/subr_witness.c:1087 rw_enter(fffffd8062540d50,81) at rw_enter+0xd4 rrw_enter(fffffd8062540d50,81) at rrw_enter+0x88 sys/kern/kern_rwlock.c:462 VOP_LOCK(fffffd806257bb60,81) at VOP_LOCK+0x4b sys/kern/vfs_vops.c:603 vn_lock(fffffd806257bb60,81) at vn_lock+0x6c sys/kern/vfs_vnops.c:575 uvn_io(fffffd806dd27e60,ffff80002350ae38,1,2,0) at uvn_io+0x2b5 sys/uvm/uvm_vnode.c:1196 uvn_get(fffffd806dd27e60,9000,ffff80002350b090,ffff80002350b02c,0,3) at uvn_get+0x226 sys/uvm/uvm_vnode.c:1056 uvm_fault(fffffd807effeb80,1b31929000,2,3) at uvm_fault+0x1197 sys/uvm/uvm_fault.c:1016 uvm_fault_wire(fffffd807effeb80,1b31920000,1b32920000,3) at uvm_fault_wire+0x63 sys/uvm/uvm_fault.c:1285 uvm_map_pageable_wire(fffffd807effeb80,fffffd8059d115f0,0,378,ffffffff8228a410,0) at uvm_map_pageable_wire+0x30d sys/uvm/uvm_map.c:2367 sys_mlockall(ffff8000212c73e0,ffff80002350b268,ffff80002350b2b0) at sys_mlockall+0x6a sys/uvm/uvm_mmap.c:828 syscall(ffff80002350b330) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002350b330) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:567 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x2ed806feac0, count: -14 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{1}> trace x86_ipi_db(ffff800020d80ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:352 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff8287d568) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff8287d568) at __mp_lock+0x122 sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff8287d568,1) at __mp_acquire_count+0x4c sys/kern/kern_lock.c:227 mi_switch() at mi_switch+0x390 sys/kern/sched_bsd.c:435 sleep_finish(ffff8000212aa270,1) at sleep_finish+0x111 sys/kern/kern_synch.c:418 sleep_finish_all(ffff8000212aa270,1) at sleep_finish_all+0x32 sleep_finish_timeout sys/kern/kern_synch.c:447 [inline] sleep_finish_all(ffff8000212aa270,1) at sleep_finish_all+0x32 sys/kern/kern_synch.c:393 tsleep(ffffffff82821500,120,ffffffff823b473b,2) at tsleep+0x1c2 sys/kern/kern_synch.c:155 sys_nanosleep(ffff8000211e7b30,ffff8000212aa3a0,ffff8000212aa3f0) at sys_nanosleep+0x1f5 sys/kern/kern_time.c:297 syscall(ffff8000212aa470) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000212aa470) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:567 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc0000ebde0, count: -12