Date: Thu, 19 Feb 2026 17:36:40 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 293299] creating zvol and got Fatal trap 12: page fault while in kernel mode Message-ID: <bug-293299-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293299 Bug ID: 293299 Summary: creating zvol and got Fatal trap 12: page fault while in kernel mode Product: Base System Version: 15.0-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: mwlucas@michaelwlucas.com Created attachment 268191 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=268191&action=edit host dmesg (My first actual kernel panic in over ten years, hope I remember how to file this properly!) I'm running 15.0 on a FreeNAS Mini XL hardware, dmesg attached. It's used for bhyve VMs managed via vm-bhyve. I need a VM with >60 virtual disks for documenting ZFS draid. I'm backing them with sparse zvols. Added them with # vm add -d disk -t sparse-zvol -s 10g draid In creating my ~32nd sparse zvol, I got a panic. Backtrace attached. I have upgraded the host to the latest, but am keeping this boot environment on hand until you tell me this isn't interesting. kgdb /boot/kernel/kernel vmcore.0 GNU gdb (GDB) 15.1 [GDB v15.1 for FreeBSD] Copyright (C) 2024 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-portbld-freebsd15.0". Type "show configuration" for configuration details. For bug reporting instructions, please see: <https://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /boot/kernel/kernel... Reading symbols from /usr/lib/debug//boot/kernel/kernel.debug... Unread portion of the kernel message buffer: Fatal trap 12: page fault while in kernel mode cpuid = 4; apic id = 08 fault virtual address = 0x50 fault code = supervisor read data, page not present instruction pointer = 0x20:0xffffffff821be3ff stack pointer = 0x28:0xfffffe00fa568da0 frame pointer = 0x28:0xfffffe00fa568de0 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 = 13 (g_event) rdi: 0000000000000000 rsi: fffff800205bf780 rdx: fffff800044a9780 rcx: 0000000000000002 r8: 0000000000000000 r9: 0000000000000fff rax: 0000000000000000 rbx: fffff80006ae5290 rbp: fffffe00fa568de0 r10: 0000000000000000 r11: ffffffffcecc948c r12: fffff804b7742b00 r13: 0000000000000000 r14: 0000000000000001 r15: fffff80006ae5000 trap number = 12 panic: page fault cpuid = 4 time = 1771348512 KDB: stack backtrace: #0 0xffffffff80bbe1ed at kdb_backtrace+0x5d #1 0xffffffff80b71576 at vpanic+0x136 #2 0xffffffff80b71433 at panic+0x43 #3 0xffffffff81079f69 at trap_pfault+0x3c9 #4 0xffffffff8104ff18 at calltrap+0x8 #5 0xffffffff80aabae7 at g_access+0x1b7 #6 0xffffffff80aafef4 at g_part_taste+0x74 #7 0xffffffff80aac31a at g_new_provider_event+0x8a #8 0xffffffff80aa754e at g_run_events+0x11e #9 0xffffffff80b2786b at fork_exit+0x7b #10 0xffffffff81050f3e at fork_trampoline+0xe Uptime: 4d23h59m37s Dumping 1291 out of 32698 MB:..2%..12%..22%..31%..41%..51%..61%..71%..81%..91% Reading symbols from /boot/kernel/zfs.ko... Reading symbols from /usr/lib/debug//boot/kernel/zfs.ko.debug... Reading symbols from /boot/kernel/hcons.ko... Reading symbols from /usr/lib/debug//boot/kernel/hcons.ko.debug... Reading symbols from /boot/kernel/hidmap.ko... Reading symbols from /usr/lib/debug//boot/kernel/hidmap.ko.debug... Reading symbols from /boot/kernel/hms.ko... Reading symbols from /usr/lib/debug//boot/kernel/hms.ko.debug... Reading symbols from /boot/kernel/hsctrl.ko... Reading symbols from /usr/lib/debug//boot/kernel/hsctrl.ko.debug... Reading symbols from /boot/kernel/ichsmb.ko... Reading symbols from /usr/lib/debug//boot/kernel/ichsmb.ko.debug... Reading symbols from /boot/kernel/smbus.ko... Reading symbols from /usr/lib/debug//boot/kernel/smbus.ko.debug... Reading symbols from /boot/kernel/vmm.ko... Reading symbols from /usr/lib/debug//boot/kernel/vmm.ko.debug... Reading symbols from /boot/kernel/nmdm.ko... Reading symbols from /usr/lib/debug//boot/kernel/nmdm.ko.debug... Reading symbols from /boot/kernel/if_bridge.ko... Reading symbols from /usr/lib/debug//boot/kernel/if_bridge.ko.debug... Reading symbols from /boot/kernel/bridgestp.ko... Reading symbols from /usr/lib/debug//boot/kernel/bridgestp.ko.debug... Reading symbols from /boot/kernel/mac_ntpd.ko... Reading symbols from /usr/lib/debug//boot/kernel/mac_ntpd.ko.debug... __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:57 57 __asm("movq %%gs:%c1,%0" : "=r" (td) -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-293299-227>
