panic: bad dir Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *229557 57166 0 0 0 0K dhcpleased db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff8248268c) 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(fffffd806f34a658,ffff8000211dc628,ffff8000211dc658) at VOP_LOOKUP+0x58 sys/kern/vfs_vops.c:85 vfs_lookup(ffff8000211dc5f8) at vfs_lookup+0x6e5 sys/kern/vfs_lookup.c:561 namei(ffff8000211dc5f8) at namei+0x36a sys/kern/vfs_lookup.c:245 vn_open(ffff8000211dc5f8,1,0) at vn_open+0x105 sys/kern/vfs_vnops.c:146 doopenat(ffff800021193ce8,ffffff9c,7f7ffffdb620,0,0,ffff8000211dc7e0) at doopenat+0x26a sys/kern/vfs_syscalls.c:1128 syscall(ffff8000211dc850) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000211dc850) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffdb610, 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(ffffffff8248268c) 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(fffffd806f34a658,ffff8000211dc628,ffff8000211dc658) at VOP_LOOKUP+0x58 sys/kern/vfs_vops.c:85 vfs_lookup(ffff8000211dc5f8) at vfs_lookup+0x6e5 sys/kern/vfs_lookup.c:561 namei(ffff8000211dc5f8) at namei+0x36a sys/kern/vfs_lookup.c:245 vn_open(ffff8000211dc5f8,1,0) at vn_open+0x105 sys/kern/vfs_vnops.c:146 doopenat(ffff800021193ce8,ffffff9c,7f7ffffdb620,0,0,ffff8000211dc7e0) at doopenat+0x26a sys/kern/vfs_syscalls.c:1128 syscall(ffff8000211dc850) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000211dc850) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffdb610, count: -10 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff8000211dc0b0 rbx 0xffffffff82800bff cpu_info_full_primary+0x2bff rdx 0 rcx 0 rax 0xffff800021193ce8 r8 0x101010101010101 r9 0x8080808080808080 r10 0x1d1f6e2070d37e06 r11 0x949f1ebd42feb9ba r12 0xffffffff82800a00 cpu_info_full_primary+0x2a00 r13 0 r14 0 r15 0x1 rip 0xffffffff815b7158 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000211dc0a0 ss 0 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (dhcpleased) pid=229557 stat=onproc flags process=0 proc=0 pri=17, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff800021192548,0xffff8000ffff7d00 process=0xffff8000ffff8c80 user=0xffff8000211d7000, vmspace=0xfffffd807efffa10 estcpu=1, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 83763 316281 8257 0 2 0 syz-executor.2 83763 403589 8257 0 2 0x4000000 syz-executor.2 64520 250145 88780 0 2 0 syz-executor.3 88780 321235 99335 0 3 0x82 nanoslp syz-executor.3 95747 412314 99335 0 2 0x2 syz-executor.1 8257 515945 99335 0 3 0x82 nanoslp syz-executor.2 63534 169718 99335 0 2 0x482 syz-executor.0 46458 467620 0 0 3 0x14200 acct acct 36271 146870 1 0 3 0x100083 ttyin getty 87582 158814 0 0 3 0x14280 nfsidl nfsio 17346 172556 0 0 3 0x14280 nfsidl nfsio 65401 324307 0 0 3 0x14280 nfsidl nfsio 33462 492435 0 0 3 0x14280 nfsidl nfsio 63262 24122 0 0 3 0x14280 nfsidl nfsio 38074 386855 0 0 3 0x14280 nfsidl nfsio 57201 100227 0 0 3 0x14280 nfsidl nfsio 29498 90196 0 0 3 0x14280 nfsidl nfsio 86379 93079 0 0 3 0x14280 nfsidl nfsio 69492 460981 0 0 3 0x14280 nfsidl nfsio 52339 454840 0 0 3 0x14280 nfsidl nfsio 22520 181662 0 0 3 0x14280 nfsidl nfsio 31860 259449 0 0 3 0x14280 nfsidl nfsio 32807 161818 0 0 3 0x14280 nfsidl nfsio 49445 449676 0 0 3 0x14280 nfsidl nfsio 52034 523673 0 0 3 0x14280 nfsidl nfsio 86236 516741 0 0 3 0x14280 nfsidl nfsio 43411 263378 0 0 3 0x14280 nfsidl nfsio 18918 139059 0 0 3 0x14280 nfsidl nfsio 97088 186819 0 0 3 0x14280 nfsidl nfsio 24388 11946 0 0 3 0x14200 bored sosplice 99335 501113 81364 0 3 0x82 thrsleep syz-fuzzer 99335 136250 81364 0 3 0x4000082 nanoslp syz-fuzzer 99335 227570 81364 0 3 0x4000082 kqread syz-fuzzer 99335 86376 81364 0 3 0x4000082 thrsleep syz-fuzzer 99335 249237 81364 0 3 0x4000082 thrsleep syz-fuzzer 99335 264983 81364 0 3 0x4000082 thrsleep syz-fuzzer 99335 444658 81364 0 3 0x4000082 thrsleep syz-fuzzer 99335 217342 81364 0 3 0x4000082 thrsleep syz-fuzzer 99335 367750 81364 0 3 0x4000082 nanoslp syz-fuzzer 81364 449265 83148 0 3 0x10008a sigsusp ksh 83148 521365 63789 0 3 0x9a poll sshd 63789 467778 1 0 3 0x88 poll sshd 73119 490715 96248 74 3 0x100092 bpf pflogd 96248 278116 1 0 3 0x80 netio pflogd 32723 380021 96456 73 3 0x100090 kqread syslogd 96456 224516 1 0 3 0x100082 netio syslogd 12282 138799 1 0 3 0x100080 kqread resolvd 24869 492721 57166 77 3 0x100092 kqread dhcpleased 23827 464055 57166 77 3 0x100092 kqread dhcpleased *57166 229557 1 0 7 0 dhcpleased 56993 25529 0 0 3 0x14200 bored smr 79441 522847 0 0 2 0x14200 zerothread 35872 518663 0 0 3 0x14200 aiodoned aiodoned 49083 357260 0 0 3 0x14200 syncer update 41125 69053 0 0 3 0x14200 cleaner cleaner 18888 309612 0 0 3 0x14200 reaper reaper 8356 340207 0 0 3 0x14200 pgdaemon pagedaemon 10381 233105 0 0 3 0x14200 bored viomb 69432 440841 0 0 3 0x40014200 acpi0 acpi0 44429 110165 0 0 7 0x40014200 idle1 31924 225924 0 0 3 0x14200 bored softnet 68025 463514 0 0 3 0x14200 bored systqmp 45819 75681 0 0 3 0x14200 bored systq 76836 455267 0 0 3 0x40014200 bored softclock 87329 157587 0 0 3 0x40014200 idle0 1 517692 0 0 3 0x80082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 95747 (syz-executor.1) thread 0xffff8000242cda50 (412314) exclusive rrwlock inode r = 0 (0xfffffd806ef13818) #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 (0xfffffd806ea5d5f0) #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 57166 (dhcpleased) thread 0xffff800021193ce8 (229557) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff828dce90) #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 (0xfffffd806f08b5f0) #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 10228 6640K 14699K 78643K 97704 0 pcb 13 24K 28K 78643K 8031 0 rtable 175 20K 20K 78643K 22639 0 ifaddr 85 29K 36K 78643K 3816 0 sysctl 3 1K 5K 78643K 6 0 counters 50 34K 35K 78643K 1162 0 ioctlops 0 0K 4K 78643K 10136 0 iov 0 0K 28K 78643K 20118 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1479 93K 93K 78643K 29677 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 470 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 6949 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 8 25K 49K 78643K 44578 0 sigio 0 0K 0K 78643K 924 0 proc 77 87K 112K 78643K 8342 0 subproc 52 3K 7K 78643K 2867 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 2937 0 in_multi 55 3K 3K 78643K 4244 0 ether_multi 1 0K 0K 78643K 728 0 mrt 1 0K 0K 78643K 244 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 259 1155K 1155K 78643K 259 0 exec 0 0K 2K 78643K 10325 0 pfkey data 0 0K 1K 78643K 73 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 734 2131K 2136K 78643K 485569 0 UVM aobj 131 4K 4K 78643K 131 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 1K 78643K 2734 0 NDP 13 0K 1K 78643K 1073 0 temp 117 4214K 8310K 78643K 293732 0 kqueue 10 14K 24K 78643K 1966 0 SYN cache 2 8K 16K 78643K 3 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 35647 0 35644 244 241 3 6 0 8 2 rtentry 112 3013 0 2954 2 0 2 2 0 8 0 unpcb 136 26983 0 26968 324 318 6 9 0 8 5 syncache 296 168 0 168 46 45 1 1 0 8 1 tcpqe 32 88 198 88 6 6 0 1 0 8 0 tcpcb 736 14300 0 14292 487 482 5 16 0 8 3 arp 120 474 0 464 1 0 1 1 0 8 0 inpcb 304 42903 0 42891 625 618 7 17 0 8 5 rttmr 72 57 0 57 18 18 0 1 0 8 0 ip6q 72 3 0 3 1 1 0 1 0 8 0 ip6af 40 9 0 9 1 1 0 1 0 8 0 nd6 48 753 0 741 2 1 1 1 0 8 0 pkpcb 40 160 0 160 28 28 0 1 0 8 0 kcovpl 48 214 0 210 1 0 1 1 0 8 0 ppxss 1248 139 0 139 34 34 0 1 0 8 0 pfstscr 40 170 0 170 8 8 0 1 0 8 0 pffrag 232 220 0 220 19 19 0 1 0 482 0 pffrnode 88 220 0 220 19 19 0 1 0 8 0 pffrent 40 1276 0 1276 21 21 0 1 0 8 0 pfosfp 40 1438 0 1014 5 0 5 5 0 8 0 pfosfpen 112 1438 0 720 21 0 21 21 0 8 0 pfrktable 1344 425 0 412 14 12 2 2 0 8 0 pftag 88 27 0 23 1 0 1 1 0 8 0 pfqueue 264 8 0 8 2 2 0 1 0 8 0 pfstitem 24 237 0 235 1 0 1 1 0 8 0 pfstkey 112 565 0 563 2 1 1 2 0 8 0 pfstate 320 397 0 395 6 5 1 4 0 8 0 pfrule 1360 995 0 931 7 1 6 6 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 13027 0 12751 102 84 18 19 0 8 0 art_table 32 13028 0 12751 4 1 3 3 0 8 0 art_node 16 3002 0 2952 1 0 1 1 0 8 0 sysvmsgpl 40 38 0 3 1 0 1 1 0 8 0 semapl 112 6944 0 6934 1 0 1 1 0 8 0 shmpl 112 128 0 0 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 60044 0 58548 94 0 94 94 0 8 0 ffsino 272 60044 0 58548 100 0 100 100 0 8 0 nchpl 144 118233 0 116636 61 0 61 61 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 419567 0 419565 4 3 1 2 0 8 0 percpumem 16 593 0 556 1 0 1 1 0 8 0 vcpupl 2048 426 0 1 54 0 54 54 0 8 0 vmpool 560 513 0 88 40 9 31 31 0 8 0 pfiaddrpl 120 100 0 82 2 1 1 1 0 8 0 scsiplug 72 24 0 24 7 7 0 1 0 8 0 scxspl 216 333015 0 333015 31 30 1 8 0 8 1 plimitpl 152 5184 0 5173 1 0 1 1 0 8 0 sigapl 424 44257 0 44200 9 2 7 7 0 8 0 futexpl 64 430224 0 430224 9 8 1 1 0 8 1 knotepl 112 367 0 0 4 0 4 4 0 8 0 kqueuepl 216 12628 0 12620 211 210 1 8 0 8 0 pipepl 336 9416 0 9400 245 241 4 12 0 8 2 fdescpl 496 44177 0 44156 11 7 4 4 0 8 1 filepl 152 326773 0 326618 594 580 14 19 0 8 6 lockfpl 104 12306 0 12304 23 22 1 2 0 8 0 lockfspl 48 3821 0 3819 1 0 1 1 0 8 0 sessionpl 144 235 0 222 1 0 1 1 0 8 0 pgrppl 48 356 0 343 1 0 1 1 0 8 0 ucredpl 96 38680 0 38664 1 0 1 1 0 8 0 zombiepl 144 44200 0 44199 1 0 1 1 0 8 0 processpl 1064 44257 0 44199 11 6 5 5 0 8 1 procpl 672 110116 0 110049 58 51 7 8 0 8 0 srpgc 96 307 0 307 66 66 0 1 0 8 0 sosppl 168 371 0 369 59 58 1 1 0 8 0 sockpl 480 105971 0 105933 1937 1923 14 36 0 8 8 mcl64k 65536 20 0 0 3 0 3 3 0 8 0 mcl16k 16384 5 0 0 1 0 1 1 0 8 0 mcl12k 12288 8 0 0 1 0 1 1 0 8 0 mcl9k 9216 5 0 0 1 0 1 1 0 8 0 mcl8k 8192 143 0 0 18 0 18 18 0 8 0 mcl4k 4096 27 0 0 4 1 3 3 0 8 0 mcl2k2 2112 8 0 0 1 0 1 1 0 8 0 mcl2k 2048 934 0 0 99 8 91 92 0 8 0 mtagpl 96 1784 0 0 12 4 8 9 0 8 0 mbufpl 256 20658 0 0 1209 0 1209 1209 0 8 0 bufpl 288 69480 0 63153 454 0 454 454 0 8 0 anonpl 24 10410549 0 10388753 591 431 160 178 0 186 0 amapchunkpl 152 1112159 0 1111427 292 260 32 45 0 158 0 amappl16 200 120300 0 119210 344 284 60 70 0 8 0 amappl15 192 10627 0 10625 1 0 1 1 0 8 0 amappl14 184 6343 0 6338 2 1 1 1 0 8 0 amappl13 176 6394 0 6389 1 0 1 1 0 8 0 amappl12 168 6194 0 6188 1 0 1 1 0 8 0 amappl11 160 4451 0 4437 1 0 1 1 0 8 0 amappl10 152 4090 0 4080 1 0 1 1 0 8 0 amappl9 144 4296 0 4293 1 0 1 1 0 8 0 amappl8 136 10137 0 9982 7 1 6 6 0 8 0 amappl7 128 6576 0 6564 1 0 1 1 0 8 0 amappl6 120 5318 0 5289 1 0 1 1 0 8 0 amappl5 112 34686 0 34652 3 1 2 2 0 8 0 amappl4 104 15149 0 15113 3 1 2 2 0 8 0 amappl3 96 12456 0 12421 1 0 1 1 0 8 0 amappl2 88 12473 0 12420 4 2 2 2 0 8 0 amappl1 80 1072099 0 1071548 32 18 14 15 0 8 0 amappl 88 481014 0 480670 10 1 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 130 0 0 3 0 3 3 0 8 0 uaddrrnd 24 44690 0 44244 3 0 3 3 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 44690 0 44244 3 0 3 3 0 8 0 vmmpekpl 168 257303 0 257232 4 0 4 4 0 8 0 vmmpepl 168 4740951 0 4737379 1382 1181 201 205 0 357 21 vmsppl 368 44689 0 44244 44 3 41 41 0 8 0 rwobjpl 56 1121095 0 1112504 208 83 125 126 0 8 0 pdppl 4096 89388 0 88913 712 233 479 481 0 8 4 pvpl 32 18337866 0 18318589 981 783 198 254 0 265 0 pmappl 248 44689 0 44244 34 5 29 29 0 8 1 extentpl 40 57 0 38 1 0 1 1 0 8 0 phpool 112 3644 0 1058 76 1 75 75 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(ffffffff8248268c) 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(fffffd806f34a658,ffff8000211dc628,ffff8000211dc658) at VOP_LOOKUP+0x58 sys/kern/vfs_vops.c:85 vfs_lookup(ffff8000211dc5f8) at vfs_lookup+0x6e5 sys/kern/vfs_lookup.c:561 namei(ffff8000211dc5f8) at namei+0x36a sys/kern/vfs_lookup.c:245 vn_open(ffff8000211dc5f8,1,0) at vn_open+0x105 sys/kern/vfs_vnops.c:146 doopenat(ffff800021193ce8,ffffff9c,7f7ffffdb620,0,0,ffff8000211dc7e0) at doopenat+0x26a sys/kern/vfs_syscalls.c:1128 syscall(ffff8000211dc850) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000211dc850) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffdb610, 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