[Bug 256511] UFS assertion failure when shutting down from single-user mode

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 09 Jun 2021 19:48:46 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256511

            Bug ID: 256511
           Summary: UFS assertion failure when shutting down from
                    single-user mode
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: markj@FreeBSD.org

I built a VM image without an fstab.  At the mountroot prompt, I entered the
root partition, and the system dropped into single-user mode (because there's
no fstab).  While shutting down, I get:

panic: Assertion ump->um_softdep == NULL failed at
/root/freebsd/sys/ufs/ffs/ffs_vfsops.c:1541                                     
cpuid = 0                                                                       
time = 1623267977                                                               
KDB: stack backtrace:                                                           
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe0008585820  
vpanic() at vpanic+0x181/frame 0xfffffe0008585870                               
panic() at panic+0x43/frame 0xfffffe00085858d0                                  
ffs_unmount() at ffs_unmount+0x4b5/frame 0xfffffe0008585940                     
dounmount() at dounmount+0x42b/frame 0xfffffe00085859b0                         
vfs_unmountall() at vfs_unmountall+0x6a/frame 0xfffffe00085859e0                
bufshutdown() at bufshutdown+0x2ce/frame 0xfffffe0008585a30                     
kern_reboot() at kern_reboot+0x213/frame 0xfffffe0008585a70                     
sys_reboot() at sys_reboot+0x3a6/frame 0xfffffe0008585ac0                       
amd64_syscall() at amd64_syscall+0x12e/frame 0xfffffe0008585bf0                 
fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe0008585bf0      
--- syscall (55, FreeBSD ELF64, sys_reboot), rip = 0x28c92a, rsp =
0x7fffffffe698, rbp = 0x7fffffffe780 ---

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