panic: bad dir Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *405068 42008 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(fffffd80787d58f8,ffff8000211dcb88,ffff8000211dcbb8) at VOP_LOOKUP+0x58 sys/kern/vfs_vops.c:85 vfs_lookup(ffff8000211dcb58) at vfs_lookup+0x6e5 sys/kern/vfs_lookup.c:561 namei(ffff8000211dcb58) at namei+0x36a sys/kern/vfs_lookup.c:245 vn_open(ffff8000211dcb58,1,0) at vn_open+0x105 sys/kern/vfs_vnops.c:146 doopenat(ffff800021193ce8,ffffff9c,7f7ffffd1c90,0,0,ffff8000211dcd40) at doopenat+0x26a sys/kern/vfs_syscalls.c:1128 syscall(ffff8000211dcdb0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000211dcdb0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd1c80, 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(fffffd80787d58f8,ffff8000211dcb88,ffff8000211dcbb8) at VOP_LOOKUP+0x58 sys/kern/vfs_vops.c:85 vfs_lookup(ffff8000211dcb58) at vfs_lookup+0x6e5 sys/kern/vfs_lookup.c:561 namei(ffff8000211dcb58) at namei+0x36a sys/kern/vfs_lookup.c:245 vn_open(ffff8000211dcb58,1,0) at vn_open+0x105 sys/kern/vfs_vnops.c:146 doopenat(ffff800021193ce8,ffffff9c,7f7ffffd1c90,0,0,ffff8000211dcd40) at doopenat+0x26a sys/kern/vfs_syscalls.c:1128 syscall(ffff8000211dcdb0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000211dcdb0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd1c80, count: -10 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff8000211dc610 rbx 0xffffffff82774bff cpu_info_full_primary+0x2bff rdx 0 rcx 0 rax 0xffff800021193ce8 r8 0x101010101010101 r9 0x8080808080808080 r10 0xe45a355de3d8ea61 r11 0x10f3a702e0892515 r12 0xffffffff82774a00 cpu_info_full_primary+0x2a00 r13 0 r14 0 r15 0x1 rip 0xffffffff8207c658 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000211dc600 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (dhcpleased) pid=405068 stat=onproc flags process=0 proc=0 pri=17, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800021192d28,0xffff8000ffff7a60 process=0xffff8000ffff8430 user=0xffff8000211d7000, vmspace=0xfffffd800858aa10 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 37356 12892 72430 0 2 0 syz-executor.2 61646 485820 23756 0 2 0 syz-executor.0 61646 493987 23756 0 2 0x4000000 syz-executor.0 43249 230139 8142 0 2 0 syz-executor.1 43249 452821 8142 0 2 0x4000000 syz-executor.1 8142 179491 37822 0 3 0x82 nanoslp syz-executor.1 11749 28847 0 0 3 0x14280 nfsidl nfsio 97072 347077 0 0 3 0x14280 nfsidl nfsio 36599 124477 0 0 3 0x14280 nfsidl nfsio 16843 202095 0 0 3 0x14280 nfsidl nfsio 75927 278252 0 0 3 0x14280 nfsidl nfsio 42563 39023 0 0 3 0x14280 nfsidl nfsio 70796 228859 0 0 3 0x14280 nfsidl nfsio 22166 294959 0 0 3 0x14280 nfsidl nfsio 92950 10207 0 0 3 0x14280 nfsidl nfsio 98181 171346 0 0 3 0x14280 nfsidl nfsio 90372 87069 0 0 3 0x14280 nfsidl nfsio 62606 244833 0 0 3 0x14280 nfsidl nfsio 1510 226882 0 0 3 0x14280 nfsidl nfsio 37130 397161 0 0 3 0x14280 nfsidl nfsio 53602 172592 0 0 3 0x14280 nfsidl nfsio 46118 386277 0 0 3 0x14280 nfsidl nfsio 42995 391358 0 0 3 0x14280 nfsidl nfsio 8996 359777 0 0 3 0x14280 nfsidl nfsio 1736 163309 0 0 3 0x14280 nfsidl nfsio 8722 373379 0 0 3 0x14280 nfsidl nfsio 72430 72719 37822 0 3 0x82 nanoslp syz-executor.2 40200 238898 37822 0 2 0x2 syz-executor.3 19482 363918 1 0 3 0x100083 ttyin getty 23756 158745 37822 0 3 0x82 nanoslp syz-executor.0 11848 122011 0 0 3 0x14200 bored sosplice 37822 340936 30091 0 3 0x82 thrsleep syz-fuzzer 37822 504749 30091 0 3 0x4000082 nanoslp syz-fuzzer 37822 327332 30091 0 3 0x4000082 thrsleep syz-fuzzer 37822 247210 30091 0 3 0x4000082 thrsleep syz-fuzzer 37822 330468 30091 0 3 0x4000082 thrsleep syz-fuzzer 37822 455665 30091 0 3 0x4000082 kqread syz-fuzzer 37822 106892 30091 0 3 0x4000082 thrsleep syz-fuzzer 37822 46681 30091 0 3 0x4000082 thrsleep syz-fuzzer 37822 242654 30091 0 3 0x4000082 nanoslp syz-fuzzer 30091 424525 34393 0 3 0x10008a sigsusp ksh 34393 156940 56662 0 3 0x9a poll sshd 56662 359511 1 0 3 0x88 poll sshd 76058 384341 77464 74 3 0x100092 bpf pflogd 77464 217578 1 0 3 0x80 netio pflogd 62342 521559 34506 73 3 0x100090 kqread syslogd 34506 381081 1 0 3 0x100082 netio syslogd 58022 1340 1 0 3 0x100080 kqread resolvd 98034 232603 42008 77 2 0x100012 dhcpleased 35853 295741 42008 77 3 0x100092 kqread dhcpleased *42008 405068 1 0 7 0 dhcpleased 73344 76010 0 0 3 0x14200 bored smr 76226 216273 0 0 2 0x14200 zerothread 44371 29956 0 0 3 0x14200 aiodoned aiodoned 70289 40004 0 0 3 0x14200 syncer update 82023 182539 0 0 3 0x14200 cleaner cleaner 62125 304648 0 0 3 0x14200 reaper reaper 16975 444155 0 0 3 0x14200 pgdaemon pagedaemon 30694 301210 0 0 3 0x14200 bored viomb 59037 454262 0 0 3 0x40014200 acpi0 acpi0 64069 90018 0 0 7 0x40014200 idle1 9147 325372 0 0 3 0x14200 bored softnet 24234 385294 0 0 3 0x14200 bored systqmp 31611 336423 0 0 3 0x14200 bored systq 63859 498294 0 0 3 0x40014200 bored softclock 65406 358124 0 0 3 0x40014200 idle0 1 124579 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 40200 (syz-executor.3) thread 0xffff80002123c2a0 (238898) exclusive rrwlock inode r = 0 (0xfffffd8062b89a28) #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 ufs_ihashins+0x42 sys/ufs/ufs/ufs_ihash.c:140 #5 ffs_vget+0x141 sys/ufs/ffs/ffs_vfsops.c:1347 #6 ffs_inode_alloc+0x1be sys/ufs/ffs/ffs_alloc.c:394 #7 ufs_mkdir+0xf4 sys/ufs/ufs/ufs_vnops.c:1162 #8 VOP_MKDIR+0xbf sys/kern/vfs_vops.c:404 #9 domkdirat+0x121 sys/kern/vfs_syscalls.c:3100 #10 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #10 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806489e928) #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 domkdirat+0x75 sys/kern/vfs_syscalls.c:3085 #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 42008 (dhcpleased) thread 0xffff800021193ce8 (405068) 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 (0xfffffd806f10e700) #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 10229 6648K 7664K 78643K 174286 0 pcb 13 26K 30K 78643K 6693 0 rtable 180 20K 20K 78643K 11509 0 ifaddr 79 28K 34K 78643K 3302 0 sysctl 3 1K 1K 78643K 3 0 counters 50 34K 35K 78643K 1142 0 ioctlops 0 0K 8K 78643K 10344 0 iov 0 0K 28K 78643K 4039 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1596 100K 101K 78643K 47874 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 291 0 VM map 2 1K 1K 78643K 2 0 sem 22 28K 56K 78643K 336 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 9 29K 49K 78643K 40343 0 sigio 0 0K 0K 78643K 421 0 proc 75 87K 124K 78643K 7468 0 subproc 52 6K 6K 78643K 2639 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 5035 0 in_multi 55 3K 4K 78643K 5612 0 ether_multi 1 0K 0K 78643K 613 0 mrt 1 0K 0K 78643K 161 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 241 1076K 1076K 78643K 241 0 exec 0 0K 2K 78643K 9612 0 pfkey data 0 0K 0K 78643K 76 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 838 2632K 2649K 78643K 498919 0 UVM aobj 131 6K 6K 78643K 137 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 3656 0 NDP 11 0K 1K 78643K 1308 0 temp 115 4210K 8306K 78643K 353921 0 kqueue 10 14K 22K 78643K 1802 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 5143 0 5140 73 72 1 5 0 8 0 rtentry 112 4030 0 3969 2 0 2 2 0 8 0 unpcb 136 27941 0 27926 332 329 3 9 0 8 2 syncache 296 160 0 160 47 47 0 1 0 8 0 tcpqe 32 72 0 72 26 26 0 1 0 8 0 tcpcb 736 18445 0 18438 632 625 7 21 0 8 5 arp 120 470 0 459 1 0 1 1 0 8 0 inpcb 304 51498 0 51487 623 612 11 17 0 8 10 rttmr 72 54 0 54 16 16 0 1 0 8 0 ip6q 72 6 0 6 2 2 0 1 0 8 0 ip6af 40 18 0 18 2 2 0 1 0 8 0 nd6 48 1010 0 998 1 0 1 1 0 8 0 pkpcb 40 425 0 425 30 30 0 1 0 8 0 kcovpl 48 203 0 199 1 0 1 1 0 8 0 ppxss 1248 120 0 120 39 39 0 1 0 8 0 pfstscr 40 43 0 43 2 2 0 1 0 8 0 pffrag 232 323 0 323 29 29 0 1 0 482 0 pffrnode 88 323 0 323 29 29 0 1 0 8 0 pffrent 40 1566 0 1566 32 32 0 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 pfrke_plain 168 32 0 32 5 5 0 1 0 8 0 pfrktable 1344 91 0 78 3 1 2 2 0 8 0 pftag 88 4 0 2 1 0 1 1 0 8 0 pfstitem 24 66 0 64 1 0 1 1 0 8 0 pfstkey 112 152 0 150 1 0 1 1 0 8 0 pfstate 320 109 0 107 2 1 1 2 0 8 0 pfrule 1360 190 0 154 6 2 4 4 0 8 0 art_heap8 4096 13 0 12 7 6 1 3 0 8 0 art_heap4 256 19671 0 19399 85 67 18 21 0 8 0 art_table 32 19684 0 19411 8 5 3 3 0 8 0 art_node 16 3993 0 3942 1 0 1 1 0 8 0 sysvmsgpl 40 64 0 45 1 0 1 1 0 8 0 semupl 112 2 0 2 2 2 0 1 0 8 0 semapl 112 319 0 299 1 0 1 1 0 8 0 shmpl 112 134 0 6 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 55063 0 53513 98 0 98 98 0 8 0 ffsino 272 55063 0 53513 104 0 104 104 0 8 0 nchpl 144 106060 0 104460 61 0 61 61 0 8 0 rtmask 32 64 0 64 5 5 0 1 0 8 0 uvmvnodes 80 6174 0 0 126 0 126 126 0 8 0 vnodes 224 6174 0 0 364 0 364 364 0 8 0 namei 1024 404846 0 404844 5 4 1 2 0 8 0 percpumem 16 583 0 546 1 0 1 1 0 8 0 vcpupl 2048 461 0 0 58 0 58 58 0 8 0 vmpool 560 512 0 51 34 1 33 33 0 8 0 pfiaddrpl 120 36 0 22 1 0 1 1 0 8 0 scsiplug 72 6 0 6 2 2 0 1 0 8 0 scxspl 216 304803 0 304803 56 55 1 8 0 8 1 plimitpl 152 4411 0 4400 1 0 1 1 0 8 0 sigapl 424 40083 0 40026 12 5 7 7 0 8 0 futexpl 64 383682 0 383682 5 4 1 1 0 8 1 knotepl 112 367 0 0 4 1 3 4 0 8 0 kqueuepl 216 9271 0 9260 189 188 1 8 0 8 0 pipepl 336 8227 0 8211 267 265 2 12 0 8 0 fdescpl 496 39974 0 39952 8 5 3 4 0 8 0 filepl 152 309697 0 309542 569 557 12 21 0 8 6 lockfpl 104 10095 0 10093 20 19 1 2 0 8 0 lockfspl 48 3194 0 3192 1 0 1 1 0 8 0 sessionpl 144 223 0 210 1 0 1 1 0 8 0 pgrppl 48 375 0 362 1 0 1 1 0 8 0 ucredpl 96 47254 0 47236 1 0 1 1 0 8 0 zombiepl 144 40026 0 40026 4 3 1 1 0 8 1 processpl 1064 40083 0 40026 8 4 4 5 0 8 0 procpl 672 111178 0 111111 53 45 8 8 0 8 1 srpgc 96 284 0 284 54 54 0 1 0 8 0 sosppl 168 374 0 374 57 57 0 1 0 8 0 sockpl 480 85126 0 85097 1705 1685 20 42 0 8 15 mcl64k 65536 50 0 0 4 1 3 3 0 8 0 mcl16k 16384 25 0 0 3 0 3 3 0 8 0 mcl12k 12288 73 0 0 2 0 2 2 0 8 0 mcl9k 9216 49 0 0 2 0 2 2 0 8 0 mcl8k 8192 40 0 0 4 1 3 3 0 8 0 mcl4k 4096 41 0 0 5 2 3 3 0 8 0 mcl2k2 2112 11 0 0 1 0 1 1 0 8 0 mcl2k 2048 688 0 0 23 7 16 20 0 8 0 mtagpl 96 2627 0 0 25 0 25 25 0 8 0 mbufpl 256 11075 0 0 589 0 589 589 0 8 0 bufpl 288 66053 0 59809 454 0 454 454 0 8 0 anonpl 24 11533565 0 11503063 803 597 206 228 0 186 0 amapchunkpl 152 1234634 0 1233445 297 248 49 63 0 158 0 amappl16 200 119908 0 118739 583 520 63 75 0 8 0 amappl15 192 8649 0 8648 12 11 1 1 0 8 0 amappl14 184 5730 0 5724 1 0 1 1 0 8 0 amappl13 176 5316 0 5315 1 0 1 1 0 8 0 amappl12 168 4116 0 4109 1 0 1 1 0 8 0 amappl11 160 4143 0 4129 1 0 1 1 0 8 0 amappl10 152 6774 0 6765 1 0 1 1 0 8 0 amappl9 144 3687 0 3683 1 0 1 1 0 8 0 amappl8 136 10051 0 9899 8 2 6 6 0 8 0 amappl7 128 6666 0 6654 1 0 1 1 0 8 0 amappl6 120 4603 0 4574 1 0 1 1 0 8 0 amappl5 112 37801 0 37772 1 0 1 1 0 8 0 amappl4 104 14789 0 14754 3 1 2 2 0 8 0 amappl3 96 8269 0 8244 1 0 1 1 0 8 0 amappl2 88 8234 0 8153 3 1 2 2 0 8 0 amappl1 80 720463 0 719975 13 1 12 13 0 8 0 amappl 88 494355 0 493964 11 1 10 10 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 136 0 6 3 0 3 3 0 8 0 uaddrrnd 24 40486 0 40003 3 0 3 3 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 40486 0 40003 3 0 3 3 0 8 0 vmmpekpl 168 249796 0 249708 5 0 5 5 0 8 0 vmmpepl 168 3752218 0 3748526 1354 1155 199 209 0 357 26 vmsppl 368 40485 0 40003 45 1 44 44 0 8 0 rwobjpl 56 887396 0 878739 239 115 124 127 0 8 0 pdppl 4096 80980 0 80467 655 140 515 516 0 8 2 pvpl 32 19288746 0 19266798 973 765 208 250 0 265 0 pmappl 248 40485 0 40003 31 0 31 31 0 8 0 extentpl 40 57 0 38 1 0 1 1 0 8 0 phpool 112 3050 0 1123 58 2 56 56 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(fffffd80787d58f8,ffff8000211dcb88,ffff8000211dcbb8) at VOP_LOOKUP+0x58 sys/kern/vfs_vops.c:85 vfs_lookup(ffff8000211dcb58) at vfs_lookup+0x6e5 sys/kern/vfs_lookup.c:561 namei(ffff8000211dcb58) at namei+0x36a sys/kern/vfs_lookup.c:245 vn_open(ffff8000211dcb58,1,0) at vn_open+0x105 sys/kern/vfs_vnops.c:146 doopenat(ffff800021193ce8,ffffff9c,7f7ffffd1c90,0,0,ffff8000211dcd40) at doopenat+0x26a sys/kern/vfs_syscalls.c:1128 syscall(ffff8000211dcdb0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000211dcdb0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd1c80, 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