[Bug 267028] kernel panics when booting with both (zfs,ko or vboxnetflt,ko or acpi_wmi.ko) and amdgpu.ko
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 17 Dec 2024 23:21:43 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267028
--- Comment #247 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Mark Millard from comment #235)
I found another context issue that might eventually prove
to be of interest for the vmcore.8 that I've got a copy of.
First remember:
(kgdb) print *found_modules->tqh_first->link.tqe_next->. . .->link.tqe_next
$1 = {link = {tqe_next = 0xfffff80000000007, tqe_prev = 0xfffff8000465bbc0},
container = 0xfffff80004b29600, name = 0xffffffff82e62026
"amdgpu_raven_mec2_bin_fw", version = 1}
Note that amdgpu_raven_mec2_bin_fw as the last name. Now:
(kgdb) info sharedlibrary
From To Syms Read Shared Object Library
0xffffffff82545000 0xffffffff82552000 Yes ./boot/kernel/fusefs.ko
0xffffffff8256d000 0xffffffff8256f000 Yes ./boot/kernel/sem.ko
No /boot/modules/if_re.ko
No /boot/modules/amdgpu.ko
No /boot/modules/drm.ko
0xffffffff8298a000 0xffffffff8298b000 Yes ./boot/kernel/iic.ko
No
/boot/modules/linuxkpi_gplv2.ko
No /boot/modules/dmabuf.ko
No /boot/modules/ttm.ko
No
/boot/modules/amdgpu_raven_gpu_info_bin.ko
No
/boot/modules/amdgpu_raven_sdma_bin.ko
No
/boot/modules/amdgpu_raven_asd_bin.ko
No
/boot/modules/amdgpu_raven_ta_bin.ko
No
/boot/modules/amdgpu_raven_pfp_bin.ko
No
/boot/modules/amdgpu_raven_me_bin.ko
No
/boot/modules/amdgpu_raven_ce_bin.ko
No
/boot/modules/amdgpu_raven_rlc_bin.ko
No
/boot/modules/amdgpu_raven_mec_bin.ko
No
/boot/modules/amdgpu_raven_mec2_bin.ko
No
/boot/modules/amdgpu_raven_vcn_bin.ko
0xffffffff83000000 0xffffffff8324c000 Yes ./boot/kernel/zfs.ko
So both amdgpu_raven_vcn_bin.ko and zfs.ko are not in the found_modules
list before the failing point in the list --but the failure was not seen
until the activity associated with zfs.ko 's load attempt.
Note: So far, I'm operating without copies of /boot/modules/*.ko or any
debug information for such. my guess is that port builds do not normally
generate debug information for /boot/modules/*.ko files so only public
symbols for linking might show up for such.
I had carelessly worked in a way that was referencing some files from my
live system previously. But those were not from the same vintage of
drm-*-kmod and related.
For reference:
(kgdb) info files
Symbols from
"/usr/home/root/failing-13.4Rp2-kp1-freebsd-kernel-files/usr/lib/debug/boot/kernel/kernel.debug".
Kernel core dump file:
`/usr/home/root/failing-13.4Rp2-kp1-freebsd-kernel-files/vmcore.8',
file type FreeBSD kernel vmcore.
Local exec file:
`/usr/home/root/failing-13.4Rp2-kp1-freebsd-kernel-files/boot/kernel/kernel',
file type elf64-x86-64-freebsd.
Entry point: 0xffffffff8038e000
0xffffffff802002a8 - 0xffffffff802002b5 is .interp
0xffffffff802002b8 - 0xffffffff80231108 is .hash
0xffffffff80231108 - 0xffffffff8025f9e4 is .gnu.hash
0xffffffff8025f9e8 - 0xffffffff802f24c0 is .dynsym
0xffffffff802f24c0 - 0xffffffff8036d162 is .dynstr
0xffffffff8036d168 - 0xffffffff8038db08 is .rela.dyn
0xffffffff8038e000 - 0xffffffff811843f8 is .text
0xffffffff81184400 - 0xffffffff817f68d0 is .rodata
0xffffffff817f68d0 - 0xffffffff817fba38 is set_sysctl_set
0xffffffff817fba38 - 0xffffffff817fef60 is set_modmetadata_set
0xffffffff817fef60 - 0xffffffff817fefb8 is set_cam_xpt_xport_set
0xffffffff817fefb8 - 0xffffffff817fefe0 is set_cam_xpt_proto_set
0xffffffff817fefe0 - 0xffffffff817ff028 is set_ah_chips
0xffffffff817ff028 - 0xffffffff817ff078 is set_ah_rfs
0xffffffff817ff078 - 0xffffffff817ff098 is set_kbddriver_set
0xffffffff817ff098 - 0xffffffff817ff150 is set_sdt_providers_set
0xffffffff817ff150 - 0xffffffff81800268 is set_sdt_probes_set
0xffffffff81800268 - 0xffffffff818035c8 is set_sdt_argtypes_set
0xffffffff818035c8 - 0xffffffff818035e0 is set_scterm_set
0xffffffff818035e0 - 0xffffffff81803608 is set_cons_set
0xffffffff81803608 - 0xffffffff81803610 is
set_uart_acpi_class_and_device_set
0xffffffff81803620 - 0xffffffff81803660 is usb_host_id
0xffffffff81803660 - 0xffffffff81803680 is set_vt_drv_set
0xffffffff81803680 - 0xffffffff818036a8 is set_elf64_regset
0xffffffff818036a8 - 0xffffffff818036d8 is set_elf32_regset
0xffffffff818036d8 - 0xffffffff818036e8 is set_compressors
0xffffffff818036e8 - 0xffffffff818036f0 is set_kdb_dbbe_set
0xffffffff818036f0 - 0xffffffff81803700 is set_ratectl_set
0xffffffff81803700 - 0xffffffff81803718 is set_crypto_set
0xffffffff81803718 - 0xffffffff81803730 is set_ieee80211_ioctl_getset
0xffffffff81803730 - 0xffffffff81803748 is set_ieee80211_ioctl_setset
0xffffffff81803748 - 0xffffffff81803770 is set_scanner_set
0xffffffff81803770 - 0xffffffff81803790 is set_videodriver_set
0xffffffff81803790 - 0xffffffff818037d8 is set_scrndr_set
0xffffffff818037d8 - 0xffffffff81803820 is set_vga_set
0xffffffff81803820 - 0xffffffff81804881 is kern_conf
0xffffffff81804884 - 0xffffffff818048a8 is .note.gnu.build-id
0xffffffff818048a8 - 0xffffffff8180493c is .eh_frame
0xffffffff81a00000 - 0xffffffff81a00140 is .dynamic
0xffffffff81a00140 - 0xffffffff81a01000 is .relro_padding
0xffffffff81c00000 - 0xffffffff81c00035 is .data.read_frequently
0xffffffff81c00040 - 0xffffffff81c017f4 is .data.read_mostly
0xffffffff81c01800 - 0xffffffff81c07680 is .data.exclusive_cache_line
0xffffffff81c08000 - 0xffffffff81d51248 is .data
0xffffffff81d51248 - 0xffffffff81d54688 is set_sysinit_set
0xffffffff81d54688 - 0xffffffff81d55e48 is set_sysuninit_set
0xffffffff81d55e80 - 0xffffffff81d592e8 is set_pcpu
0xffffffff81d592f0 - 0xffffffff81d82851 is set_vnet
0xffffffff81d82880 - 0xffffffff82200000 is .bss
0xffffffff82545000 - 0xffffffff82552000 is .text in
./boot/kernel/fusefs.ko
0xffffffff82552000 - 0xffffffff82554000 is .rodata in
./boot/kernel/fusefs.ko
0xffffffff82554000 - 0xffffffff82556874 is .data in
./boot/kernel/fusefs.ko
0xffffffff82556878 - 0xffffffff82556970 is set_sdt_probes_set in
./boot/kernel/fusefs.ko
--Type <RET> for more, q to quit, c to continue without paging--
0xffffffff82556970 - 0xffffffff82556ba0 is set_sdt_argtypes_set in
./boot/kernel/fusefs.ko
0xffffffff82556ba0 - 0xffffffff82556bd8 is set_sysinit_set in
./boot/kernel/fusefs.ko
0xffffffff82556bd8 - 0xffffffff82556bf8 is set_sysuninit_set in
./boot/kernel/fusefs.ko
0xffffffff82556bf8 - 0xffffffff82556c60 is set_sysctl_set in
./boot/kernel/fusefs.ko
0xffffffff82556c60 - 0xffffffff82556cc0 is .bss in
./boot/kernel/fusefs.ko
0xffffffff82556cc0 - 0xffffffff82556cc8 is set_sdt_providers_set in
./boot/kernel/fusefs.ko
0xffffffff82556cc8 - 0xffffffff82556ce0 is set_modmetadata_set in
./boot/kernel/fusefs.ko
0xffffffff82556ce0 - 0xffffffff82556d04 is .note.gnu.build-id in
./boot/kernel/fusefs.ko
0xffffffff8256d000 - 0xffffffff8256f000 is .text in
./boot/kernel/sem.ko
0xffffffff8256f000 - 0xffffffff82570000 is .rodata in
./boot/kernel/sem.ko
0xffffffff82570000 - 0xffffffff8257095c is .data in
./boot/kernel/sem.ko
0xffffffff82570960 - 0xffffffff82570978 is set_sysctl_set in
./boot/kernel/sem.ko
0xffffffff82570978 - 0xffffffff82570988 is set_sysinit_set in
./boot/kernel/sem.ko
0xffffffff82570988 - 0xffffffff82570990 is set_sysuninit_set in
./boot/kernel/sem.ko
0xffffffff82570990 - 0xffffffff82570a10 is .bss in ./boot/kernel/sem.ko
0xffffffff82570a10 - 0xffffffff82570a28 is set_modmetadata_set in
./boot/kernel/sem.ko
0xffffffff82570a28 - 0xffffffff82570a4c is .note.gnu.build-id in
./boot/kernel/sem.ko
0xffffffff8298a000 - 0xffffffff8298b000 is .text in
./boot/kernel/iic.ko
0xffffffff8298b000 - 0xffffffff8298c000 is .rodata in
./boot/kernel/iic.ko
0xffffffff8298c000 - 0xffffffff8298c270 is .data in
./boot/kernel/iic.ko
0xffffffff8298c270 - 0xffffffff8298c280 is set_sysinit_set in
./boot/kernel/iic.ko
0xffffffff8298c280 - 0xffffffff8298c288 is set_sysuninit_set in
./boot/kernel/iic.ko
0xffffffff8298c288 - 0xffffffff8298c2a8 is set_modmetadata_set in
./boot/kernel/iic.ko
0xffffffff8298c2a8 - 0xffffffff8298c2b0 is .bss in ./boot/kernel/iic.ko
0xffffffff8298c2b0 - 0xffffffff8298c2d4 is .note.gnu.build-id in
./boot/kernel/iic.ko
0xffffffff83000000 - 0xffffffff8324c000 is .text in
./boot/kernel/zfs.ko
0xffffffff8324c000 - 0xffffffff832dc000 is .rodata in
./boot/kernel/zfs.ko
0xffffffff832dc000 - 0xffffffff832fe228 is .data in
./boot/kernel/zfs.ko
0xffffffff832fe228 - 0xffffffff832fe318 is set_sysinit_set in
./boot/kernel/zfs.ko
0xffffffff832fe318 - 0xffffffff832fe398 is set_sysuninit_set in
./boot/kernel/zfs.ko
0xffffffff832fe400 - 0xffffffff833b79c8 is .bss in ./boot/kernel/zfs.ko
0xffffffff833b79c8 - 0xffffffff833b85e8 is set_sysctl_set in
./boot/kernel/zfs.ko
0xffffffff833b85e8 - 0xffffffff833b8810 is set_sdt_probes_set in
./boot/kernel/zfs.ko
0xffffffff833b8810 - 0xffffffff833b8c30 is set_sdt_argtypes_set in
./boot/kernel/zfs.ko
0xffffffff833b8c30 - 0xffffffff833b8c98 is set_modmetadata_set in
./boot/kernel/zfs.ko
0xffffffff833b8c98 - 0xffffffff833b8cbc is .note.gnu.build-id in
./boot/kernel/zfs.ko
(kgdb)
--
You are receiving this mail because:
You are on the CC list for the bug.