The kernel in question is a downloaded version via pkgbase.
But it looks kgdb does not fully recognize it. How to proceed? I think the problem is "warning: 399 /home/pkgbuild/worktrees/main/sys/kern/kern_shutdown.c: No such file or directory"
But it looks kgdb does not fully recognize it. How to proceed? I think the problem is "warning: 399 /home/pkgbuild/worktrees/main/sys/kern/kern_shutdown.c: No such file or directory"
cc@macfbsd16e:/var/crash % uname -a
FreeBSD macfbsd16e 16.0-CURRENT FreeBSD 16.0-CURRENT main-n284009-e387d9438ba0 GENERIC arm64
cc@macfbsd16e:/var/crash % sudo cat info.last
Dump header from device: /dev/nda0p3
Architecture: aarch64
Architecture Version: 1
Dump Length: 152383488
Blocksize: 512
Compression: none
Dumptime: 2026-02-20 09:02:55 -0500
Hostname: macfbsd16e
Magic: FreeBSD Kernel Dump
Version String: FreeBSD 16.0-CURRENT main-n284009-e387d9438ba0 GENERIC
Panic String: Assertion cur != QIDX_INVALID failed at /home/pkgbuild/worktrees/main/sys/dev/e1000/em_txrx.c:499
Dump Parity: 2269964289
Bounds: 1
Dump Status: good
cc@macfbsd16e:/var/crash % sudo kgdb /usr/lib/debug/boot/kernel/kernel.debug /var/crash/vmcore.last
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 "aarch64-portbld-freebsd16.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 /usr/lib/debug/boot/kernel/kernel.debug...
Reading symbols from /boot/kernel/hms.ko...
Reading symbols from /usr/lib/debug//boot/kernel/hms.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/mac_ntpd.ko...
Reading symbols from /usr/lib/debug//boot/kernel/mac_ntpd.ko.debug...
0xffff0000004d6a60 in doadump (textdump=0) at /home/pkgbuild/worktrees/main/sys/kern/kern_shutdown.c:399
warning: 399 /home/pkgbuild/worktrees/main/sys/kern/kern_shutdown.c: No such file or directory
(kgdb) bt
#0 0xffff0000004d6a60 in doadump (textdump=0) at /home/pkgbuild/worktrees/main/sys/kern/kern_shutdown.c:399
#1 0x5a900000000ec9f8 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(kgdb)