[Bug 225423] panic: softdep_deallocate_dependencies: dangling deps

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Nov 15 21:02:44 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225423

--- Comment #13 from Eric van Gyzen <vangyzen at FreeBSD.org> ---
I get the same panic on recent head (r340361) when force-unmounting /dev.  Does
that fall under the same "hardening" umbrella, or should it be treated
differently?

# mount -t ufs
/dev/gpt/scratch on /scratch (ufs, local, soft-updates)
# echo hello > /scratch/hello
# umount -f /dev

fsync: giving up on dirty (error = 35) 0xfffff8002d19b000: tag devfs, type VCHR
    usecount 1, writecount 0, refcount 7 rdev 0xfffff800035a2c00
    flags (VI_DOOMED|VI_ACTIVE)
    v_object 0xfffff8002d9e6600 ref 0 pages 15 cleanbuf 3 dirtybuf 1
    lock type devfs: EXCL by thread 0xfffff8002d014580 (pid 729, umount, tid
100397)
        dev gpt/scratch
panic: softdep_deallocate_dependencies: dangling deps

panic() at panic+0x43/frame 0xfffffe001beed4d0
softdep_deallocate_dependencies() at softdep_deallocate_dependencies+0x76/frame
0xfffffe001beed4f0
brelse() at brelse+0x176/frame 0xfffffe001beed540
flushbuflist() at flushbuflist+0x147/frame 0xfffffe001beed5a0
bufobj_invalbuf() at bufobj_invalbuf+0x9f/frame 0xfffffe001beed600
vgonel() at vgonel+0x15e/frame 0xfffffe001beed670
vflush() at vflush+0x22c/frame 0xfffffe001beed7c0
devfs_unmount() at devfs_unmount+0x43/frame 0xfffffe001beed800
dounmount() at dounmount+0x4b1/frame 0xfffffe001beed860
sys_unmount() at sys_unmount+0x310/frame 0xfffffe001beed980
amd64_syscall() at amd64_syscall+0x278/frame 0xfffffe001beedab0
fast_syscall_common() at fast_syscall_common+0x101/frame 0xfffffe001beedab0
--- syscall (22, FreeBSD ELF64, sys_unmount), rip = 0x8002d6a3a, rsp =
0x7fffffffc628, rbp = 0x7fffffffcb60 ---

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-fs mailing list