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

--- Comment #2 from Mark Millard <[email protected]> ---
(In reply to Mark Johnston from comment #1)

I'll note that the context had booted the PkgBase GENERIC-NODEBUG
kernel, not the default PkgBase debug kernel. (I comment/uncomment
in /boot/loader.conf to pick kernels for booting and usually
use the GENERIC-NODEBUG one.)

# kgdb /boot/kernel.GENERIC-NODEBUG/kernel /var/crash/vmcore.4
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>
. . .
Reading symbols from /boot/kernel.GENERIC-NODEBUG/kernel...
Reading symbols from
/usr/lib/debug//boot/kernel.GENERIC-NODEBUG/kernel.debug...

Unread portion of the kernel message buffer:


Fatal trap 12: page fault while in kernel mode
cpuid = 22; apic id = 16
fault virtual address   = 0x2b6c70f070
fault code              = supervisor read data, page not present
instruction pointer     = 0x20:0xffffffff80f1ec09
stack pointer           = 0x0:0xfffffe029d8edb40
frame pointer           = 0x0:0xfffffe029d8edeb0
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         = 8 (dom0)
rdi: fffffe00d45f8210 rsi: fffffe029d8edb94 rdx: 0000000000000000
rcx: 0000000000010008  r8: 0000000005010008  r9: 0000000000000501
rax: 0000000005010008 rbx: 0000000000eb9aa0 rbp: fffffe029d8edeb0
r10: fffff8012d5e9701 r11: fffff80000000000 r12: fffffe00eedc67b8
r13: 0000002b6c70f000 r14: 0000000000000027 r15: 0000000000000000
trap number             = 12
panic: page fault
cpuid = 22
time = 1753581376
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe029d8ed890
vpanic() at vpanic+0x136/frame 0xfffffe029d8ed9c0
panic() at panic+0x43/frame 0xfffffe029d8eda20
trap_pfault() at trap_pfault+0x3da/frame 0xfffffe029d8eda70
calltrap() at calltrap+0x8/frame 0xfffffe029d8eda70
--- trap 0xc, rip = 0xffffffff80f1ec09, rsp = 0xfffffe029d8edb40, rbp =
0xfffffe029d8edeb0 ---
vm_pageout_worker() at vm_pageout_worker+0xb09/frame 0xfffffe029d8edeb0
vm_pageout() at vm_pageout+0x1d7/frame 0xfffffe029d8edef0
fork_exit() at fork_exit+0x7b/frame 0xfffffe029d8edf30
fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe029d8edf30
--- trap 0x3f4caf63, rip = 0xb70ba6cbbb4ba6cf, rsp = 0x103c3d871c7c3d83, rbp =
0xac0311a9a04311ad ---
KDB: enter: panic

Reading symbols from /boot/kernel.GENERIC-NODEBUG/zfs.ko...
. . .
Reading symbols from
/usr/lib/debug//boot/kernel.GENERIC-NODEBUG/linux64.ko.debug...
__curthread () at /home/pkgbuild/worktrees/main/sys/amd64/include/pcpu_aux.h:57
57              __asm("movq %%gs:%c1,%0" : "=r" (td)
(kgdb) frame 15
#15 vm_pageout_scan_active (vmd=0xffffffff81c22380 <vm_dom>,
page_shortage=102849) at /home/pkgbuild/worktrees/main/sys/vm/vm_pageout.c:1264
1264                    refs = object->ref_count != 0 ? pmap_ts_referenced(m) :
0;
(kgdb) p/x *m
$1 = {plinks = {q = {tqe_next = 0xfffffe00d45f8210, tqe_prev = 0x1e918e5}, s =
{ss = {sle_next = 0xfffffe00d45f8210}}, memguard = {p = 0xfffffe00d45f8210, v =
0x1e918e5}, uma = {
      slab = 0xfffffe00d45f8210, zone = 0x1e918e5}}, object = 0x2b6c70f000,
pindex = 0xfffff806f04482c8, phys_addr = 0xfffff806f04482d0, md = {pv_list =
{tqh_first = 0x65fdabc07, 
      tqh_last = 0x180000000}, pv_gen = 0x8010009, pat_mode = 0x1010d},
ref_count = 0xffff0a00, busy_lock = 0x509f8ade, a = {{flags = 0x8, queue = 0x1,
act_count = 0x5}, _bits = 0x5010008}, 
  order = 0xd, pool = 0x1, flags = 0x1, oflags = 0x0, psind = 0x0, segind =
0xa, valid = 0xff, dirty = 0xff}

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

Reply via email to