[Bug 255119] kernel panic when a few vnode backed md devices are created

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Apr 16 11:47:28 UTC 2021


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

            Bug ID: 255119
           Summary: kernel panic when a few vnode backed md devices are
                    created
           Product: Base System
           Version: CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: nvass at gmx.com

The kernel panics when creating several vnode backed md devices. This is from a
recent 14-CURRENT but the bug exists on older branches like FREEBSD-12.

Steps to reproduce:
root at sheep:~ # cd /bin
root at sheep:/bin # apply 'mdconfig -f' *
md0
md1
md2
md3
md4
md5
<<kernel panics>>




Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x0
fault code              = supervisor write data, page not present
instruction pointer     = 0x20:0xffffffff80d13968                              
                                                     stack pointer           =
0x28:0xfffffe006435b3d0                                                        
                           frame pointer           = 0x28:0xfffffe006435b460
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0                  
                                                     current process         =
1703 (mdconfig)
trap number             = 12
panic: page fault
cpuid = 0
time = 1618572307
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe006435b080
vpanic() at vpanic+0x181/frame 0xfffffe006435b0d0
panic() at panic+0x43/frame 0xfffffe006435b130
trap_fatal() at trap_fatal+0x387/frame 0xfffffe006435b190
trap_pfault() at trap_pfault+0x97/frame 0xfffffe006435b1f0
trap() at trap+0x2ab/frame 0xfffffe006435b300
calltrap() at calltrap+0x8/frame 0xfffffe006435b300
--- trap 0xc, rip = 0xffffffff80d13968, rsp = 0xfffffe006435b3d0, rbp =
0xfffffe006435b460 ---
vn_open_vnode() at vn_open_vnode+0x308/frame 0xfffffe006435b460
vn_open_cred() at vn_open_cred+0x55d/frame 0xfffffe006435b5d0
mdctlioctl() at mdctlioctl+0x997/frame 0xfffffe006435b800
devfs_ioctl() at devfs_ioctl+0xcd/frame 0xfffffe006435b850
vn_ioctl() at vn_ioctl+0x131/frame 0xfffffe006435b960

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


More information about the freebsd-bugs mailing list