panic: bad dir Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 33750 90960 0 0 0 0K dhcpleased db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff824818ff) at panic+0x177 sys/kern/subr_prf.c:202 ufs_lookup() at ufs_lookup+0x174c ufs_dirbad sys/ufs/ufs/ufs_lookup.c:609 [inline] ufs_lookup() at ufs_lookup+0x174c sys/ufs/ufs/ufs_lookup.c:444 VOP_LOOKUP(fffffd806efb4818,ffff8000211dc498,ffff8000211dc4c8) at VOP_LOOKUP+0x58 sys/kern/vfs_vops.c:85 vfs_lookup(ffff8000211dc468) at vfs_lookup+0x6e5 sys/kern/vfs_lookup.c:561 namei(ffff8000211dc468) at namei+0x36a sys/kern/vfs_lookup.c:245 vn_open(ffff8000211dc468,1,0) at vn_open+0x105 sys/kern/vfs_vnops.c:146 doopenat(ffff800021193ce8,ffffff9c,7f7ffffba840,0,0,ffff8000211dc650) at doopenat+0x26a sys/kern/vfs_syscalls.c:1128 syscall(ffff8000211dc6c0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000211dc6c0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffba830, count: 5 https://www.openbsd.org/ddb.html describes the minimum info required in bug reports. Insufficient info makes it difficult to find and fix bugs. ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: bad dir ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff824818ff) at panic+0x177 sys/kern/subr_prf.c:202 ufs_lookup() at ufs_lookup+0x174c ufs_dirbad sys/ufs/ufs/ufs_lookup.c:609 [inline] ufs_lookup() at ufs_lookup+0x174c sys/ufs/ufs/ufs_lookup.c:444 VOP_LOOKUP(fffffd806efb4818,ffff8000211dc498,ffff8000211dc4c8) at VOP_LOOKUP+0x58 sys/kern/vfs_vops.c:85 vfs_lookup(ffff8000211dc468) at vfs_lookup+0x6e5 sys/kern/vfs_lookup.c:561 namei(ffff8000211dc468) at namei+0x36a sys/kern/vfs_lookup.c:245 vn_open(ffff8000211dc468,1,0) at vn_open+0x105 sys/kern/vfs_vnops.c:146 doopenat(ffff800021193ce8,ffffff9c,7f7ffffba840,0,0,ffff8000211dc650) at doopenat+0x26a sys/kern/vfs_syscalls.c:1128 syscall(ffff8000211dc6c0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000211dc6c0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffba830, count: -10 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff8000211dbf20 rbx 0xffffffff82774bff cpu_info_full_primary+0x2bff rdx 0 rcx 0 rax 0xffff800021193ce8 r8 0x101010101010101 r9 0x8080808080808080 r10 0x882de6f14c64c5 r11 0x2b21b0841da4789c r12 0xffffffff82774a00 cpu_info_full_primary+0x2a00 r13 0 r14 0 r15 0x1 rip 0xffffffff8207c658 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000211dbf10 ss 0 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (dhcpleased) pid=33750 stat=onproc flags process=0 proc=0 pri=17, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800021192548,0xffff8000ffff7d00 process=0xffff8000ffff8c80 user=0xffff8000211d7000, vmspace=0xfffffd800858ab80 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 35342 137464 61103 0 2 0 syz-executor.3 35342 128686 61103 0 2 0x4000000 syz-executor.3 95986 337744 69690 0 2 0 syz-executor.2 91102 488364 89670 0 2 0 syz-executor.1 91102 190174 89670 0 3 0x4000080 fsleep syz-executor.1 61103 7588 15389 0 3 0x82 nanoslp syz-executor.3 69690 54562 15389 0 3 0x82 nanoslp syz-executor.2 89670 313563 15389 0 3 0x82 nanoslp syz-executor.1 74116 185903 15389 0 2 0x2 syz-executor.0 83600 513717 0 0 3 0x14200 acct acct 49320 225595 0 0 3 0x14280 nfsidl nfsio 93081 313599 0 0 3 0x14280 nfsidl nfsio 96573 498713 0 0 3 0x14280 nfsidl nfsio 63083 462468 0 0 3 0x14280 nfsidl nfsio 19002 242607 0 0 3 0x14280 nfsidl nfsio 12855 69363 0 0 3 0x14280 nfsidl nfsio 8322 97768 0 0 3 0x14280 nfsidl nfsio 92328 142147 0 0 3 0x14280 nfsidl nfsio 82665 70814 0 0 3 0x14280 nfsidl nfsio 75195 370957 0 0 3 0x14280 nfsidl nfsio 48635 99996 0 0 3 0x14280 nfsidl nfsio 74689 82126 0 0 3 0x14280 nfsidl nfsio 9815 262394 0 0 3 0x14280 nfsidl nfsio 65076 410389 0 0 3 0x14280 nfsidl nfsio 54177 393650 0 0 3 0x14280 nfsidl nfsio 92858 439192 0 0 3 0x14280 nfsidl nfsio 88061 211979 0 0 3 0x14280 nfsidl nfsio 83225 194116 0 0 3 0x14280 nfsidl nfsio 23387 116587 0 0 3 0x14280 nfsidl nfsio 49379 459718 0 0 3 0x14280 nfsidl nfsio 61867 209694 1 0 3 0x100083 ttyin getty 89044 28291 0 0 3 0x14200 bored sosplice 15389 184421 93650 0 3 0x82 kqread syz-fuzzer 15389 416947 93650 0 3 0x4000082 nanoslp syz-fuzzer 15389 310183 93650 0 3 0x4000082 nanoslp syz-fuzzer 15389 142574 93650 0 3 0x4000082 thrsleep syz-fuzzer 15389 273037 93650 0 3 0x4000082 thrsleep syz-fuzzer 15389 48926 93650 0 3 0x4000082 thrsleep syz-fuzzer 15389 9210 93650 0 3 0x4000082 thrsleep syz-fuzzer 15389 271102 93650 0 3 0x4000082 thrsleep syz-fuzzer 93650 212344 62400 0 3 0x10008a sigsusp ksh 62400 185150 14209 0 3 0x9a poll sshd 14209 70181 1 0 3 0x88 poll sshd 85701 378858 58266 74 3 0x100092 bpf pflogd 58266 285747 1 0 3 0x80 netio pflogd 65128 479260 64360 73 3 0x100090 kqread syslogd 64360 290821 1 0 3 0x100082 netio syslogd 34219 17619 1 0 3 0x100080 kqread resolvd 31304 204444 90960 77 3 0x100092 kqread dhcpleased 80767 278214 90960 77 3 0x100092 kqread dhcpleased *90960 33750 1 0 7 0 dhcpleased 83262 36528 0 0 3 0x14200 bored smr 37134 493167 0 0 2 0x14200 zerothread 69019 33523 0 0 3 0x14200 aiodoned aiodoned 75661 174683 0 0 3 0x14200 syncer update 59672 330680 0 0 3 0x14200 cleaner cleaner 54156 251192 0 0 3 0x14200 reaper reaper 62595 331834 0 0 3 0x14200 pgdaemon pagedaemon 84446 488568 0 0 3 0x14200 bored viomb 38645 519209 0 0 3 0x40014200 acpi0 acpi0 79300 462464 0 0 7 0x40014200 idle1 98787 335098 0 0 3 0x14200 bored softnet 19155 16405 0 0 3 0x14200 bored systqmp 26857 359574 0 0 3 0x14200 bored systq 78589 224109 0 0 3 0x40014200 bored softclock 45213 446038 0 0 3 0x40014200 idle0 1 185309 0 0 3 0x80082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 74116 (syz-executor.0) thread 0xffff8000211df510 (185903) exclusive rrwlock inode r = 0 (0xfffffd806e235918) #0 witness_lock+0x44d #1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310 #2 rrw_enter+0x8b sys/kern/kern_rwlock.c:461 #3 VOP_LOCK+0x87 sys/kern/vfs_vops.c:534 #4 vn_lock+0x84 sys/kern/vfs_vnops.c:579 #5 vget+0x1d3 sys/kern/vfs_subr.c:677 #6 ufs_ihashget+0x121 sys/ufs/ufs/ufs_ihash.c:119 #7 ffs_vget+0x7c sys/ufs/ffs/ffs_vfsops.c:1318 #8 ufs_lookup+0x13ba sys/ufs/ufs/ufs_lookup.c:487 #9 VOP_LOOKUP+0x58 sys/kern/vfs_vops.c:85 #10 vfs_lookup+0x6e5 sys/kern/vfs_lookup.c:561 #11 namei+0x36a sys/kern/vfs_lookup.c:245 #12 dounlinkat+0x99 sys/kern/vfs_syscalls.c:1849 #13 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #13 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #14 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd8067c72708) #0 witness_lock+0x44d #1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310 #2 rrw_enter+0x8b sys/kern/kern_rwlock.c:461 #3 VOP_LOCK+0x87 sys/kern/vfs_vops.c:534 #4 vn_lock+0x84 sys/kern/vfs_vnops.c:579 #5 vfs_lookup+0xd1 sys/kern/vfs_lookup.c:413 #6 namei+0x36a sys/kern/vfs_lookup.c:245 #7 dounlinkat+0x99 sys/kern/vfs_syscalls.c:1849 #8 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #8 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #9 Xsyscall+0x128 Process 90960 (dhcpleased) thread 0xffff800021193ce8 (33750) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff828752a0) #0 witness_lock+0x44d #1 __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 #2 mi_switch+0x3d3 sys/kern/sched_bsd.c:416 #3 sleep_finish+0x1b2 sys/kern/kern_synch.c:433 #4 tsleep+0x12c sys/kern/kern_synch.c:158 #5 biowait+0x91 sys/kern/vfs_bio.c:1271 #6 ffs_bufatoff+0x125 sys/ufs/ffs/ffs_subr.c:71 #7 ufs_lookup+0x466 sys/ufs/ufs/ufs_lookup.c:258 #8 VOP_LOOKUP+0x58 sys/kern/vfs_vops.c:85 #9 vfs_lookup+0x6e5 sys/kern/vfs_lookup.c:561 #10 namei+0x36a sys/kern/vfs_lookup.c:245 #11 vn_open+0x105 sys/kern/vfs_vnops.c:146 #12 doopenat+0x26a sys/kern/vfs_syscalls.c:1128 #13 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #13 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #14 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806f10c0a0) #0 witness_lock+0x44d #1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310 #2 rrw_enter+0x8b sys/kern/kern_rwlock.c:461 #3 VOP_LOCK+0x87 sys/kern/vfs_vops.c:534 #4 vn_lock+0x84 sys/kern/vfs_vnops.c:579 #5 vget+0x1d3 sys/kern/vfs_subr.c:677 #6 cache_lookup+0x2b4 sys/kern/vfs_cache.c:224 #7 ufs_lookup+0x1ac sys/ufs/ufs/ufs_lookup.c:162 #8 VOP_LOOKUP+0x58 sys/kern/vfs_vops.c:85 #9 vfs_lookup+0x6e5 sys/kern/vfs_lookup.c:561 #10 namei+0x36a sys/kern/vfs_lookup.c:245 #11 vn_open+0x105 sys/kern/vfs_vnops.c:146 #12 doopenat+0x26a sys/kern/vfs_syscalls.c:1128 #13 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #13 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #14 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10239 6597K 7475K 78643K 76135 0 pcb 13 20K 24K 78643K 6349 0 rtable 228 30K 31K 78643K 9822 0 ifaddr 85 25K 27K 78643K 2952 0 sysctl 3 1K 1K 78643K 3 0 counters 50 34K 35K 78643K 938 0 ioctlops 0 0K 4K 78643K 8499 0 iov 0 0K 24K 78643K 2468 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1625 102K 102K 78643K 21950 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 246 0 VM map 2 1K 1K 78643K 2 0 sem 27 17K 32K 78643K 2646 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 9 29K 49K 78643K 31037 0 sigio 0 0K 0K 78643K 492 0 proc 81 88K 112K 78643K 6092 0 subproc 52 6K 8K 78643K 2253 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 2113 0 in_multi 52 3K 4K 78643K 3785 0 ether_multi 1 0K 0K 78643K 497 0 mrt 2 0K 0K 78643K 620 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 343 1526K 1526K 78643K 343 0 exec 0 0K 2K 78643K 8228 0 pfkey data 0 0K 0K 78643K 14 0 tdb 3 0K 0K 78643K 3 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 770 2293K 2294K 78643K 377321 0 UVM aobj 134 4K 4K 78643K 143 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 2079 0 NDP 11 0K 1K 78643K 943 0 temp 131 4242K 8336K 78643K 316385 0 kqueue 13 18K 24K 78643K 1145 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 plcache 128 22 0 0 1 0 1 1 0 8 0 rtpcb 120 2683 0 2680 41 40 1 3 0 8 0 rtentry 112 2973 0 2908 3 0 3 3 0 8 0 unpcb 136 37966 0 37951 319 313 6 9 0 8 5 syncache 296 81 0 81 26 26 0 1 0 8 0 tcpqe 32 763 0 763 10 10 0 1 0 8 0 tcpcb 736 13276 0 13255 427 424 3 18 0 8 1 arp 120 390 0 380 1 0 1 1 0 8 0 inpcb 304 34841 0 34832 453 449 4 14 0 8 3 rttmr 72 253 0 253 17 17 0 1 0 8 0 ip6q 72 8 0 8 3 3 0 1 0 8 0 ip6af 40 24 0 24 3 3 0 1 0 8 0 nd6 48 677 0 667 1 0 1 1 0 8 0 pkpcb 40 250 0 250 23 23 0 1 0 8 0 kcovpl 48 166 0 162 1 0 1 1 0 8 0 ppxss 1248 92 0 92 27 27 0 1 0 8 0 pfstscr 40 132 0 132 8 8 0 1 0 8 0 pffrag 232 189 0 187 15 14 1 1 0 482 0 pffrnode 88 187 0 185 15 14 1 1 0 8 0 pffrent 40 1201 0 1199 15 14 1 1 0 8 0 pfosfp 40 1454 0 1025 5 0 5 5 0 8 0 pfosfpen 112 1454 0 726 21 0 21 21 0 8 0 pfrke_plain 168 15 0 15 5 5 0 1 0 8 0 pfrktable 1344 486 0 453 7 4 3 3 0 8 0 pftag 88 21 0 17 1 0 1 1 0 8 0 pfqueue 264 3 0 3 1 1 0 1 0 8 0 pfstitem 24 48 0 46 1 0 1 1 0 8 0 pfstkey 112 312 0 310 1 0 1 1 0 8 0 pfstate 320 177 0 175 3 2 1 3 0 8 0 pfrule 1360 1158 0 1000 19 5 14 14 0 8 0 art_heap8 4096 5 0 4 5 4 1 3 0 8 0 art_heap4 256 13571 0 13255 88 68 20 39 0 8 0 art_table 32 13576 0 13259 6 2 4 6 0 8 0 art_node 16 2955 0 2899 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 2638 0 2613 1 0 1 1 0 8 0 shmpl 112 140 0 12 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 40989 0 39471 96 0 96 96 0 8 0 ffsino 272 40989 0 39471 103 1 102 102 0 8 0 nchpl 144 79171 0 77575 61 0 61 61 0 8 0 rtmask 32 26 0 26 5 5 0 1 0 8 0 uvmvnodes 80 6804 0 0 139 0 139 139 0 8 0 vnodes 224 6804 0 0 401 0 401 401 0 8 0 namei 1024 286691 0 286690 6 5 1 2 0 8 0 percpumem 16 481 0 444 1 0 1 1 0 8 0 vcpupl 2048 449 0 0 57 0 57 57 0 8 0 vmpool 560 495 0 46 35 2 33 33 0 8 0 pfiaddrpl 120 454 0 384 4 1 3 3 0 8 0 scsiplug 72 20 0 20 7 7 0 1 0 8 0 scxspl 216 250774 0 250774 50 49 1 8 0 8 1 plimitpl 152 3267 0 3256 1 0 1 1 0 8 0 sigapl 424 30846 0 30788 8 1 7 7 0 8 0 futexpl 64 277897 0 277896 8 7 1 1 0 8 0 knotepl 112 240 0 0 3 0 3 3 0 8 0 kqueuepl 216 6351 0 6332 173 168 5 9 0 8 3 pipepl 336 9583 0 9567 238 233 5 15 0 8 3 fdescpl 496 30780 0 30758 7 4 3 4 0 8 0 filepl 152 228779 0 228625 443 431 12 23 0 8 6 lockfpl 104 8650 0 8648 24 23 1 4 0 8 0 lockfspl 48 2623 0 2621 1 0 1 1 0 8 0 sessionpl 144 187 0 174 1 0 1 1 0 8 0 pgrppl 48 256 0 243 1 0 1 1 0 8 0 ucredpl 96 28583 0 28567 1 0 1 1 0 8 0 zombiepl 144 30788 0 30788 2 1 1 1 0 8 1 processpl 1064 30846 0 30788 4 0 4 4 0 8 0 procpl 672 81277 0 81210 38 31 7 8 0 8 0 srpgc 96 231 0 231 42 42 0 1 0 8 0 sosppl 168 213 0 213 36 36 0 1 0 8 0 sockpl 480 75792 0 75765 1594 1582 12 34 0 8 8 mcl64k 65536 27 0 0 3 0 3 3 0 8 0 mcl16k 16384 22 0 0 3 1 2 3 0 8 0 mcl12k 12288 17 0 0 2 0 2 2 0 8 0 mcl9k 9216 32 0 0 2 0 2 2 0 8 0 mcl8k 8192 41 0 0 4 1 3 3 0 8 0 mcl4k 4096 41 0 0 4 1 3 3 0 8 0 mcl2k2 2112 10 0 0 1 0 1 1 0 8 0 mcl2k 2048 438 0 0 24 5 19 24 0 8 0 mtagpl 96 1672 0 0 12 0 12 12 0 8 0 mbufpl 256 14619 0 0 811 0 811 811 0 8 0 bufpl 288 54292 0 47784 487 6 481 487 0 8 0 anonpl 24 8553432 0 8526245 552 377 175 200 0 186 1 amapchunkpl 152 930281 0 929170 247 201 46 60 0 158 0 amappl16 200 78038 0 77150 299 244 55 60 0 8 7 amappl15 192 6206 0 6200 1 0 1 1 0 8 0 amappl14 184 4001 0 3998 1 0 1 1 0 8 0 amappl13 176 4352 0 4347 1 0 1 1 0 8 0 amappl12 168 3628 0 3620 1 0 1 1 0 8 0 amappl11 160 5391 0 5377 1 0 1 1 0 8 0 amappl10 152 4627 0 4617 1 0 1 1 0 8 0 amappl9 144 3414 0 3410 1 0 1 1 0 8 0 amappl8 136 6646 0 6519 7 2 5 5 0 8 0 amappl7 128 3888 0 3876 1 0 1 1 0 8 0 amappl6 120 4134 0 4104 1 0 1 1 0 8 0 amappl5 112 25138 0 25108 1 0 1 1 0 8 0 amappl4 104 15744 0 15717 1 0 1 1 0 8 0 amappl3 96 7949 0 7925 1 0 1 1 0 8 0 amappl2 88 6964 0 6868 3 0 3 3 0 8 0 amappl1 80 558273 0 557785 13 1 12 13 0 8 0 amappl 88 373731 0 373360 12 3 9 9 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 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 72 142 0 9 3 0 3 3 0 8 0 uaddrrnd 24 31275 0 30804 3 0 3 3 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 31275 0 30804 3 0 3 3 0 8 0 vmmpekpl 168 207247 0 207169 4 0 4 4 0 8 0 vmmpepl 168 2848312 0 2844834 989 809 180 186 0 357 19 vmsppl 368 31274 0 30804 46 3 43 43 0 8 0 rwobjpl 56 669515 0 660530 181 51 130 131 0 8 2 pdppl 4096 62558 0 62057 629 126 503 503 0 8 2 pvpl 32 14749522 0 14727115 789 589 200 257 0 265 3 pmappl 248 31274 0 30804 31 1 30 30 0 8 0 extentpl 40 57 0 38 1 0 1 1 0 8 0 phpool 112 3056 0 885 64 1 63 63 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:440 panic(ffffffff824818ff) at panic+0x177 sys/kern/subr_prf.c:202 ufs_lookup() at ufs_lookup+0x174c ufs_dirbad sys/ufs/ufs/ufs_lookup.c:609 [inline] ufs_lookup() at ufs_lookup+0x174c sys/ufs/ufs/ufs_lookup.c:444 VOP_LOOKUP(fffffd806efb4818,ffff8000211dc498,ffff8000211dc4c8) at VOP_LOOKUP+0x58 sys/kern/vfs_vops.c:85 vfs_lookup(ffff8000211dc468) at vfs_lookup+0x6e5 sys/kern/vfs_lookup.c:561 namei(ffff8000211dc468) at namei+0x36a sys/kern/vfs_lookup.c:245 vn_open(ffff8000211dc468,1,0) at vn_open+0x105 sys/kern/vfs_vnops.c:146 doopenat(ffff800021193ce8,ffffff9c,7f7ffffba840,0,0,ffff8000211dc650) at doopenat+0x26a sys/kern/vfs_syscalls.c:1128 syscall(ffff8000211dc6c0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000211dc6c0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffba830, count: -10 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffff800020d38ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 acpicpu_idle() at acpicpu_idle+0x312 sys/dev/acpi/acpicpu.c:1206 sched_idle(ffff800020d38ff0) at sched_idle+0x417 sys/kern/kern_sched.c:178 end trace frame: 0x0, count: 10 ddb{1}> trace x86_ipi_db(ffff800020d38ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 acpicpu_idle() at acpicpu_idle+0x312 sys/dev/acpi/acpicpu.c:1206 sched_idle(ffff800020d38ff0) at sched_idle+0x417 sys/kern/kern_sched.c:178 end trace frame: 0x0, count: -5