Date: Fri, 16 Apr 2021 11:47:28 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 255119] kernel panic when a few vnode backed md devices are created Message-ID: <bug-255119-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255119 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@FreeBSD.org Reporter: nvass@gmx.com The kernel panics when creating several vnode backed md devices. This is fr= om a recent 14-CURRENT but the bug exists on older branches like FREEBSD-12. Steps to reproduce: root@sheep:~ # cd /bin root@sheep:/bin # apply 'mdconfig -f' * md0 md1 md2 md3 md4 md5 <<kernel panics>> Fatal trap 12: page fault while in kernel mode cpuid =3D 0; apic id =3D 00 fault virtual address =3D 0x0 fault code =3D supervisor write data, page not present instruction pointer =3D 0x20:0xffffffff80d13968=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 stack pointer = =3D 0x28:0xfffffe006435b3d0=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 frame pointer =3D 0x28:0xfffffe006435b= 460 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 current process = =3D 1703 (mdconfig) trap number =3D 12 panic: page fault cpuid =3D 0 time =3D 1618572307 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe006435b= 080 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 =3D 0xffffffff80d13968, rsp =3D 0xfffffe006435b3d0, rbp = =3D 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 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255119-227>