[Bug 283031] graphics/drm-515-kmod: 'kldload amdgpu' causes kernel panic (page fault)
- Reply: bugzilla-noreply_a_freebsd.org: "maintainer-feedback requested: [Bug 283031] graphics/drm-515-kmod: 'kldload amdgpu' causes kernel panic (page fault)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 283031] graphics/drm-515-kmod: 'kldload amdgpu' causes kernel panic (page fault)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 283031] graphics/drm-515-kmod: 'kldload amdgpu' causes kernel panic (page fault)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 283031] graphics/drm-515-kmod: 'kldload amdgpu' causes kernel panic (page fault)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 283031] graphics/drm-515-kmod: 'kldload amdgpu' causes kernel panic (page fault)"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 28 Nov 2024 22:14:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283031 Bug ID: 283031 Summary: graphics/drm-515-kmod: 'kldload amdgpu' causes kernel panic (page fault) Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: x11@FreeBSD.org Reporter: bsd@philippost.de Assignee: x11@FreeBSD.org Flags: maintainer-feedback?(x11@FreeBSD.org) Created attachment 255515 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=255515&action=edit Transcript of system console output after 'kldload amdgpu' from graphics/drm-61-kmod On a newly installed system running 14.2-Stable amd64, 'kldload amdgpu' causes an immediate kernel panic (page fault); this is with drm-515-kmod-5.15.160_1. The hardware in question is an AMD Ryzen 7 7700X CPU and a AMD Radeon Pro W6400 graphics card. pciconf identifies the card as follows: vgapci0@pci0:3:0:0: class=0x030000 rev=0x00 hdr=0x00 vendor=0x1002 device=0x7422 subvendor=0x1002 subdevice=0x0e44 vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]' device = 'Navi 24 [Radeon PRO W6400]' class = display subclass = VGA The correct firmware files are be installed: gpu-firmware-amd-kmod-beige-goby-20230625_2 Firmware modules for beige_goby AMD GPUs uname reports FreeBSD 14.2-STABLE stable/14-n269656-9431091ee021 GENERIC amd64. Upon rebooting the system, crash dumps get written to /var/crash. Excerpts from /var/crash/core.txt: ----8<---- panic: page fault Reading symbols from /boot/kernel/kernel... Reading symbols from /usr/lib/debug//boot/kernel/kernel.debug... Reading symbols from /boot/kernel/zfs.ko... Reading symbols from /usr/lib/debug//boot/kernel/zfs.ko.debug... Reading symbols from /boot/kernel/cryptodev.ko... Reading symbols from /usr/lib/debug//boot/kernel/cryptodev.ko.debug... Reading symbols from /boot/kernel/acpi_wmi.ko... Reading symbols from /usr/lib/debug//boot/kernel/acpi_wmi.ko.debug... Reading symbols from /boot/kernel/ig4.ko... Reading symbols from /usr/lib/debug//boot/kernel/ig4.ko.debug... Reading symbols from /boot/kernel/intpm.ko... Reading symbols from /usr/lib/debug//boot/kernel/intpm.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/uhid.ko... Reading symbols from /usr/lib/debug//boot/kernel/uhid.ko.debug... Reading symbols from /boot/kernel/ums.ko... Reading symbols from /usr/lib/debug//boot/kernel/ums.ko.debug... Reading symbols from /boot/kernel/wmt.ko... Reading symbols from /usr/lib/debug//boot/kernel/wmt.ko.debug... Reading symbols from /boot/kernel/mac_ntpd.ko... Reading symbols from /usr/lib/debug//boot/kernel/mac_ntpd.ko.debug... Reading symbols from /boot/modules/amdgpu.ko... (No debugging symbols found in /boot/modules/amdgpu.ko) Reading symbols from /boot/modules/drm.ko... (No debugging symbols found in /boot/modules/drm.ko) Reading symbols from /boot/kernel/iic.ko... Reading symbols from /usr/lib/debug//boot/kernel/iic.ko.debug... Reading symbols from /boot/kernel/linuxkpi_hdmi.ko... Reading symbols from /usr/lib/debug//boot/kernel/linuxkpi_hdmi.ko.debug... Reading symbols from /boot/modules/dmabuf.ko... (No debugging symbols found in /boot/modules/dmabuf.ko) Reading symbols from /boot/kernel/lindebugfs.ko... Reading symbols from /usr/lib/debug//boot/kernel/lindebugfs.ko.debug... Reading symbols from /boot/modules/ttm.ko... (No debugging symbols found in /boot/modules/ttm.ko) Reading symbols from /boot/modules/amdgpu_beige_goby_sos_bin.ko... (No debugging symbols found in /boot/modules/amdgpu_beige_goby_sos_bin.ko) Reading symbols from /boot/modules/amdgpu_beige_goby_ta_bin.ko... (No debugging symbols found in /boot/modules/amdgpu_beige_goby_ta_bin.ko) Reading symbols from /boot/modules/amdgpu_beige_goby_smc_bin.ko... (No debugging symbols found in /boot/modules/amdgpu_beige_goby_smc_bin.ko) Reading symbols from /boot/modules/amdgpu_beige_goby_pfp_bin.ko... (No debugging symbols found in /boot/modules/amdgpu_beige_goby_pfp_bin.ko) Reading symbols from /boot/modules/amdgpu_beige_goby_me_bin.ko... (No debugging symbols found in /boot/modules/amdgpu_beige_goby_me_bin.ko) Reading symbols from /boot/modules/amdgpu_beige_goby_ce_bin.ko... (No debugging symbols found in /boot/modules/amdgpu_beige_goby_ce_bin.ko) Reading symbols from /boot/modules/amdgpu_beige_goby_rlc_bin.ko... (No debugging symbols found in /boot/modules/amdgpu_beige_goby_rlc_bin.ko) Reading symbols from /boot/modules/amdgpu_beige_goby_mec_bin.ko... (No debugging symbols found in /boot/modules/amdgpu_beige_goby_mec_bin.ko) Reading symbols from /boot/modules/amdgpu_beige_goby_mec2_bin.ko... (No debugging symbols found in /boot/modules/amdgpu_beige_goby_mec2_bin.ko) Reading symbols from /boot/modules/amdgpu_beige_goby_sdma_bin.ko... (No debugging symbols found in /boot/modules/amdgpu_beige_goby_sdma_bin.ko) Reading symbols from /boot/modules/amdgpu_beige_goby_dmcub_bin.ko... (No debugging symbols found in /boot/modules/amdgpu_beige_goby_dmcub_bin.ko) Reading symbols from /boot/modules/amdgpu_beige_goby_vcn_bin.ko... (No debugging symbols found in /boot/modules/amdgpu_beige_goby_vcn_bin.ko) __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:57 warning: Source file is more recent than executable. 57 __asm("movq %%gs:%P1,%0" : "=r" (td) : "n" (offsetof(struct pcpu, (kgdb) #0 __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:57 td = <optimized out> #1 doadump (textdump=<optimized out>) at /usr/src/sys/kern/kern_shutdown.c:405 error = 0 coredump = <optimized out> #2 0xffffffff80b3e767 in kern_reboot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:523 once = 0 #3 0xffffffff80b3ec3e in vpanic (fmt=0xffffffff8117d33c "%s", ap=ap@entry=0xfffffe01dee3b250) at /usr/src/sys/kern/kern_shutdown.c:967 buf = "page fault", '\000' <repeats 245 times> __pc = 0x0 __pc = 0x0 __pc = 0x0 other_cpus = {__bits = {65023, 0 <repeats 15 times>}} td = 0xfffff801989aa000 bootopt = <unavailable> newpanic = <optimized out> #4 0xffffffff80b3ea93 in panic (fmt=<unavailable>) at /usr/src/sys/kern/kern_shutdown.c:891 ap = {{gp_offset = 16, fp_offset = 48, overflow_arg_area = 0xfffffe01dee3b280, reg_save_area = 0xfffffe01dee3b220}} #5 0xffffffff8102ba0b in trap_fatal (frame=0xfffffe01dee3b330, eva=8) at /usr/src/sys/amd64/amd64/trap.c:952 __pc = 0x0 __pc = 0x0 __pc = 0x0 softseg = {ssd_base = 0, ssd_limit = 1048575, ssd_type = 27, ssd_dpl = 0, ssd_p = 1, ssd_long = 1, ssd_def32 = 0, ssd_gran = 1} code = 0 ss = 40 type = <optimized out> gdt = <optimized out> handled = <optimized out> #6 0xffffffff8102ba56 in trap_pfault (frame=<unavailable>, usermode=false, signo=<optimized out>, ucode=<optimized out>) at /usr/src/sys/amd64/amd64/trap.c:760 __pc = 0x0 __pc = 0x0 __pc = 0x0 td = 0xfffff801989aa000 p = <optimized out> eva = <unavailable> map = <optimized out> ftype = <optimized out> rv = <optimized out> #7 <signal handler called> No locals. #8 fpu_kern_leave (td=0xfffff801989aa000, ctx=ctx@entry=0x0) at /usr/src/sys/amd64/amd64/fpu.c:1218 __pc = 0x0 pcb = 0xfffff801989aa520 #9 0xffffffff80db3ab7 in lkpi_kernel_fpu_end () at /usr/src/sys/compat/linuxkpi/common/src/linux_fpu.c:60 No locals. #10 0xffffffff80db3b11 in lkpi_fpu_safe_exec (func=0xfffff801989aa000, ctx=0xfffffe01dee3b458) at /usr/src/sys/compat/linuxkpi/common/src/linux_fpu.c:72 save_fpu_level = 4294967295 #11 0xffffffff80dc14e7 in lkpi_kmalloc (size=<optimized out>, flags=<optimized out>) at /usr/src/sys/compat/linuxkpi/common/src/linux_slab.c:240 lmc = {size = 104, flags = 258, addr = 0x0} #12 0xffffffff8365596a in dccg30_create () from /boot/modules/amdgpu.ko No symbol table info available. #13 0xffffffff83690446 in dcn303_create_resource_pool () from /boot/modules/amdgpu.ko No symbol table info available. #14 0xffffffff835b95b5 in dc_create_resource_pool () from /boot/modules/amdgpu.ko No symbol table info available. #15 0xffffffff835c1584 in dc_create () from /boot/modules/amdgpu.ko No symbol table info available. #16 0xffffffff83587d88 in dm_hw_init () from /boot/modules/amdgpu.ko No symbol table info available. #17 0xffffffff834190aa in amdgpu_device_ip_hw_init_phase2 () from /boot/modules/amdgpu.ko No symbol table info available. #18 0x0000000000000009 in ?? () No symbol table info available. #19 0xfffffe01f3fff000 in ?? () No symbol table info available. #20 0xfffffe01f4018eb1 in ?? () No symbol table info available. #21 0x0000000000000009 in ?? () No symbol table info available. #22 0xfffffe01dee3b7c0 in ?? () No symbol table info available. #23 0xffffffff834156b0 in amdgpu_device_ip_init () from /boot/modules/amdgpu.ko No symbol table info available. Backtrace stopped: frame did not save the PC (kgdb) (kgdb) Tracing command "idle\000l", '\000' <repeats 13 times> pid 11 tid 100003 (CPU 0) #0 cpustop_handler () at /usr/src/sys/x86/x86/mp_x86.c:1527 #1 0xffffffff80ffa648 in ipi_nmi_handler () at /usr/src/sys/x86/x86/mp_x86.c:1484 #2 0xffffffff8102ad8f in trap (frame=0xffffffff81c2edc0 <nmi0_stack+3888>) at /usr/src/sys/amd64/amd64/trap.c:237 #3 <signal handler called> #4 acpi_cpu_c1 () at /usr/src/sys/x86/x86/cpu_machdep.c:247 #5 0xffffffff804b5765 in acpi_cpu_idle (sbt=<optimized out>) at /usr/src/sys/dev/acpica/acpi_cpu.c:1157 #6 0xffffffff80feff96 in cpu_idle_acpi (sbt=179735239) at /usr/src/sys/x86/x86/cpu_machdep.c:590 #7 0xffffffff80ff004d in cpu_idle (busy=0) at /usr/src/sys/x86/x86/cpu_machdep.c:679 #8 0xffffffff80b73c86 in sched_idletd (dummy=dummy@entry=0x0) at /usr/src/sys/kern/sched_ule.c:3061 #9 0xffffffff80af859f in fork_exit ( callout=0xffffffff80b73710 <sched_idletd>, arg=0x0, frame=0xfffffe006ad20f40) at /usr/src/sys/kern/kern_fork.c:1164 #10 <signal handler called> #11 0xa7b84c33abf84c37 in ?? () Backtrace stopped: Cannot access memory at address 0x8fd77f0ccfd77b Tracing command "idle\000l", '\000' <repeats 13 times> pid 11 tid 100004 (CPU 1) #0 cpustop_handler () at /usr/src/sys/x86/x86/mp_x86.c:1527 #1 0xffffffff80ffa648 in ipi_nmi_handler () at /usr/src/sys/x86/x86/mp_x86.c:1484 #2 0xffffffff8102ad8f in trap (frame=0xfffffe006d9edf30) at /usr/src/sys/amd64/amd64/trap.c:237 #3 <signal handler called> #4 acpi_cpu_c1 () at /usr/src/sys/x86/x86/cpu_machdep.c:247 #5 0xffffffff804b5765 in acpi_cpu_idle (sbt=<optimized out>) at /usr/src/sys/dev/acpica/acpi_cpu.c:1157 #6 0xffffffff80feff96 in cpu_idle_acpi (sbt=455220407) at /usr/src/sys/x86/x86/cpu_machdep.c:590 #7 0xffffffff80ff004d in cpu_idle (busy=0) at /usr/src/sys/x86/x86/cpu_machdep.c:679 #8 0xffffffff80b73c86 in sched_idletd (dummy=dummy@entry=0x0) at /usr/src/sys/kern/sched_ule.c:3061 #9 0xffffffff80af859f in fork_exit ( callout=0xffffffff80b73710 <sched_idletd>, arg=0x0, frame=0xfffffe006ad1bf40) at /usr/src/sys/kern/kern_fork.c:1164 #10 <signal handler called> #11 0x501db54c5c5db548 in ?? () Backtrace stopped: Cannot access memory at address 0xf72a2e00fb6a2e04 Tracing command "idle\000l", '\000' <repeats 13 times> pid 11 tid 100005 (CPU 2) #0 cpustop_handler () at /usr/src/sys/x86/x86/mp_x86.c:1527 #1 0xffffffff80ffa648 in ipi_nmi_handler () at /usr/src/sys/x86/x86/mp_x86.c:1484 #2 0xffffffff8102ad8f in trap (frame=0xfffffe006d9fcf30) at /usr/src/sys/amd64/amd64/trap.c:237 #3 <signal handler called> #4 acpi_cpu_c1 () at /usr/src/sys/x86/x86/cpu_machdep.c:247 #5 0xffffffff804b5765 in acpi_cpu_idle (sbt=<optimized out>) at /usr/src/sys/dev/acpica/acpi_cpu.c:1157 #6 0xffffffff80feff96 in cpu_idle_acpi (sbt=3489502313) at /usr/src/sys/x86/x86/cpu_machdep.c:590 #7 0xffffffff80ff004d in cpu_idle (busy=0) at /usr/src/sys/x86/x86/cpu_machdep.c:679 #8 0xffffffff80b73c86 in sched_idletd (dummy=dummy@entry=0x0) at /usr/src/sys/kern/sched_ule.c:3061 #9 0xffffffff80af859f in fork_exit ( callout=0xffffffff80b73710 <sched_idletd>, arg=0x0, frame=0xfffffe006ad2af40) at /usr/src/sys/kern/kern_fork.c:1164 #10 <signal handler called> #11 0xb018c5b5bc58c5b1 in ?? () Backtrace stopped: Cannot access memory at address 0x172f5ef91b6f5efd Tracing command "idle\000l", '\000' <repeats 13 times> pid 11 tid 100006 (CPU 3) #0 cpustop_handler () at /usr/src/sys/x86/x86/mp_x86.c:1527 #1 0xffffffff80ffa648 in ipi_nmi_handler () at /usr/src/sys/x86/x86/mp_x86.c:1484 #2 0xffffffff8102ad8f in trap (frame=0xfffffe006da0bf30) at /usr/src/sys/amd64/amd64/trap.c:237 #3 <signal handler called> #4 acpi_cpu_c1 () at /usr/src/sys/x86/x86/cpu_machdep.c:247 #5 0xffffffff804b5765 in acpi_cpu_idle (sbt=<optimized out>) at /usr/src/sys/dev/acpica/acpi_cpu.c:1157 #6 0xffffffff80feff96 in cpu_idle_acpi (sbt=2619596821) at /usr/src/sys/x86/x86/cpu_machdep.c:590 #7 0xffffffff80ff004d in cpu_idle (busy=0) at /usr/src/sys/x86/x86/cpu_machdep.c:679 #8 0xffffffff80b73c86 in sched_idletd (dummy=dummy@entry=0x0) at /usr/src/sys/kern/sched_ule.c:3061 #9 0xffffffff80af859f in fork_exit ( callout=0xffffffff80b73710 <sched_idletd>, arg=0x0, frame=0xfffffe006ad25f40) at /usr/src/sys/kern/kern_fork.c:1164 #10 <signal handler called> #11 0x7aa954b076e954b4 in ?? () Backtrace stopped: Cannot access memory at address 0xdd9ecffcd1decff8 Tracing command "idle\000l", '\000' <repeats 13 times> pid 11 tid 100007 (CPU 4) #0 cpustop_handler () at /usr/src/sys/x86/x86/mp_x86.c:1527 #1 0xffffffff80ffa648 in ipi_nmi_handler () at /usr/src/sys/x86/x86/mp_x86.c:1484 #2 0xffffffff8102ad8f in trap (frame=0xfffffe006da1af30) at /usr/src/sys/amd64/amd64/trap.c:237 #3 <signal handler called> #4 acpi_cpu_c1 () at /usr/src/sys/x86/x86/cpu_machdep.c:247 #5 0xffffffff804b5765 in acpi_cpu_idle (sbt=<optimized out>) at /usr/src/sys/dev/acpica/acpi_cpu.c:1157 #6 0xffffffff80feff96 in cpu_idle_acpi (sbt=685141148) at /usr/src/sys/x86/x86/cpu_machdep.c:590 #7 0xffffffff80ff004d in cpu_idle (busy=0) at /usr/src/sys/x86/x86/cpu_machdep.c:679 #8 0xffffffff80b73c86 in sched_idletd (dummy=dummy@entry=0x0) at /usr/src/sys/kern/sched_ule.c:3061 #9 0xffffffff80af859f in fork_exit ( callout=0xffffffff80b73710 <sched_idletd>, arg=0x0, frame=0xfffffe006ad34f40) at /usr/src/sys/kern/kern_fork.c:1164 #10 <signal handler called> #11 0x1f853ca113c53ca5 in ?? () Backtrace stopped: Cannot access memory at address 0xb8b2a7edb4f2a7e9 Tracing command "idle\000l", '\000' <repeats 13 times> pid 11 tid 100008 (CPU 5) #0 cpustop_handler () at /usr/src/sys/x86/x86/mp_x86.c:1527 #1 0xffffffff80ffa648 in ipi_nmi_handler () at /usr/src/sys/x86/x86/mp_x86.c:1484 #2 0xffffffff8102ad8f in trap (frame=0xfffffe006da29f30) at /usr/src/sys/amd64/amd64/trap.c:237 #3 <signal handler called> #4 acpi_cpu_c1 () at /usr/src/sys/x86/x86/cpu_machdep.c:247 #5 0xffffffff804b5765 in acpi_cpu_idle (sbt=<optimized out>) at /usr/src/sys/dev/acpica/acpi_cpu.c:1157 #6 0xffffffff80feff96 in cpu_idle_acpi (sbt=1142864942) at /usr/src/sys/x86/x86/cpu_machdep.c:590 #7 0xffffffff80ff004d in cpu_idle (busy=0) at /usr/src/sys/x86/x86/cpu_machdep.c:679 #8 0xffffffff80b73c86 in sched_idletd (dummy=dummy@entry=0x0) at /usr/src/sys/kern/sched_ule.c:3061 #9 0xffffffff80af859f in fork_exit ( callout=0xffffffff80b73710 <sched_idletd>, arg=0x0, frame=0xfffffe006ad2ff40) at /usr/src/sys/kern/kern_fork.c:1164 #10 <signal handler called> #11 0x6d09dd362149dd32 in ?? () Backtrace stopped: Cannot access memory at address 0xca3e467ac67ec67e Tracing command "idle\000l", '\000' <repeats 13 times> pid 11 tid 100009 (CPU 6) #0 cpustop_handler () at /usr/src/sys/x86/x86/mp_x86.c:1527 #1 0xffffffff80ffa648 in ipi_nmi_handler () at /usr/src/sys/x86/x86/mp_x86.c:1484 #2 0xffffffff8102ad8f in trap (frame=0xfffffe006da38f30) at /usr/src/sys/amd64/amd64/trap.c:237 #3 <signal handler called> #4 acpi_cpu_c1 () at /usr/src/sys/x86/x86/cpu_machdep.c:247 #5 0xffffffff804b5765 in acpi_cpu_idle (sbt=<optimized out>) at /usr/src/sys/dev/acpica/acpi_cpu.c:1157 #6 0xffffffff80feff96 in cpu_idle_acpi (sbt=3476617714) at /usr/src/sys/x86/x86/cpu_machdep.c:590 #7 0xffffffff80ff004d in cpu_idle (busy=0) at /usr/src/sys/x86/x86/cpu_machdep.c:679 #8 0xffffffff80b73c86 in sched_idletd (dummy=dummy@entry=0x0) at /usr/src/sys/kern/sched_ule.c:3061 #9 0xffffffff80af859f in fork_exit ( callout=0xffffffff80b73710 <sched_idletd>, arg=0x0, frame=0xfffffe006ad3ef40) at /usr/src/sys/kern/kern_fork.c:1164 #10 <signal handler called> #11 0x0825b5270465b523 in ?? () Backtrace stopped: Cannot access memory at address 0xaf122e6ba3522e6f Tracing command "idle\000l", '\000' <repeats 13 times> pid 11 tid 100010 (CPU 7) #0 cpustop_handler () at /usr/src/sys/x86/x86/mp_x86.c:1527 #1 0xffffffff80ffa648 in ipi_nmi_handler () at /usr/src/sys/x86/x86/mp_x86.c:1484 #2 0xffffffff8102ad8f in trap (frame=0xfffffe006da47f30) at /usr/src/sys/amd64/amd64/trap.c:237 #3 <signal handler called> #4 acpi_cpu_c1 () at /usr/src/sys/x86/x86/cpu_machdep.c:247 #5 0xffffffff804b5765 in acpi_cpu_idle (sbt=<optimized out>) at /usr/src/sys/dev/acpica/acpi_cpu.c:1157 #6 0xffffffff80feff96 in cpu_idle_acpi (sbt=2213266192) at /usr/src/sys/x86/x86/cpu_machdep.c:590 #7 0xffffffff80ff004d in cpu_idle (busy=0) at /usr/src/sys/x86/x86/cpu_machdep.c:679 #8 0xffffffff80b73c86 in sched_idletd (dummy=dummy@entry=0x0) at /usr/src/sys/kern/sched_ule.c:3061 #9 0xffffffff80af859f in fork_exit ( callout=0xffffffff80b73710 <sched_idletd>, arg=0x0, frame=0xfffffe006ad39f40) at /usr/src/sys/kern/kern_fork.c:1164 #10 <signal handler called> #11 0x17043f141b443f10 in ?? () Backtrace stopped: Cannot access memory at address 0xb033a458bc73a45c Tracing command "idle\000l", '\000' <repeats 13 times> pid 11 tid 100011 (CPU 8) #0 cpustop_handler () at /usr/src/sys/x86/x86/mp_x86.c:1527 #1 0xffffffff80ffa648 in ipi_nmi_handler () at /usr/src/sys/x86/x86/mp_x86.c:1484 #2 0xffffffff8102ad8f in trap (frame=0xfffffe006da56f30) at /usr/src/sys/amd64/amd64/trap.c:237 #3 <signal handler called> #4 acpi_cpu_c1 () at /usr/src/sys/x86/x86/cpu_machdep.c:247 #5 0xffffffff804b5765 in acpi_cpu_idle (sbt=<optimized out>) at /usr/src/sys/dev/acpica/acpi_cpu.c:1157 #6 0xffffffff80feff96 in cpu_idle_acpi (sbt=2535748695) at /usr/src/sys/x86/x86/cpu_machdep.c:590 #7 0xffffffff80ff004d in cpu_idle (busy=0) at /usr/src/sys/x86/x86/cpu_machdep.c:679 #8 0xffffffff80b73c86 in sched_idletd (dummy=dummy@entry=0x0) at /usr/src/sys/kern/sched_ule.c:3061 #9 0xffffffff80af859f in fork_exit ( callout=0xffffffff80b73710 <sched_idletd>, arg=0x0, frame=0xfffffe006ad48f40) at /usr/src/sys/kern/kern_fork.c:1164 #10 <signal handler called> #11 0xddf87e50d1b87e54 in ?? () Backtrace stopped: Cannot access memory at address 0x7acfe51c768fe518 Tracing command "kldload", '\000' <repeats 12 times> pid 4339 tid 100671 (CPU 9) #0 __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:57 #1 doadump (textdump=<optimized out>) at /usr/src/sys/kern/kern_shutdown.c:405 #2 0xffffffff80b3e767 in kern_reboot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:523 #3 0xffffffff80b3ec3e in vpanic (fmt=0xffffffff8117d33c "%s", ap=ap@entry=0xfffffe01dee3b250) at /usr/src/sys/kern/kern_shutdown.c:967 #4 0xffffffff80b3ea93 in panic (fmt=<unavailable>) at /usr/src/sys/kern/kern_shutdown.c:891 #5 0xffffffff8102ba0b in trap_fatal (frame=0xfffffe01dee3b330, eva=8) at /usr/src/sys/amd64/amd64/trap.c:952 #6 0xffffffff8102ba56 in trap_pfault (frame=<unavailable>, usermode=false, signo=<optimized out>, ucode=<optimized out>) at /usr/src/sys/amd64/amd64/trap.c:760 #7 <signal handler called> #8 fpu_kern_leave (td=0xfffff801989aa000, ctx=ctx@entry=0x0) at /usr/src/sys/amd64/amd64/fpu.c:1218 #9 0xffffffff80db3ab7 in lkpi_kernel_fpu_end () at /usr/src/sys/compat/linuxkpi/common/src/linux_fpu.c:60 #10 0xffffffff80db3b11 in lkpi_fpu_safe_exec (func=0xfffff801989aa000, ctx=0xfffffe01dee3b458) at /usr/src/sys/compat/linuxkpi/common/src/linux_fpu.c:72 #11 0xffffffff80dc14e7 in lkpi_kmalloc (size=<optimized out>, flags=<optimized out>) at /usr/src/sys/compat/linuxkpi/common/src/linux_slab.c:240 #12 0xffffffff8365596a in dccg30_create () from /boot/modules/amdgpu.ko #13 0xffffffff83690446 in dcn303_create_resource_pool () from /boot/modules/amdgpu.ko #14 0xffffffff835b95b5 in dc_create_resource_pool () from /boot/modules/amdgpu.ko #15 0xffffffff835c1584 in dc_create () from /boot/modules/amdgpu.ko #16 0xffffffff83587d88 in dm_hw_init () from /boot/modules/amdgpu.ko #17 0xffffffff834190aa in amdgpu_device_ip_hw_init_phase2 () from /boot/modules/amdgpu.ko #18 0x0000000000000009 in ?? () #19 0xfffffe01f3fff000 in ?? () #20 0xfffffe01f4018eb1 in ?? () #21 0x0000000000000009 in ?? () #22 0xfffffe01dee3b7c0 in ?? () #23 0xffffffff834156b0 in amdgpu_device_ip_init () from /boot/modules/amdgpu.ko Backtrace stopped: frame did not save the PC Tracing command "idle\000l", '\000' <repeats 13 times> pid 11 tid 100013 (CPU 10) #0 cpustop_handler () at /usr/src/sys/x86/x86/mp_x86.c:1527 #1 0xffffffff80ffa648 in ipi_nmi_handler () at /usr/src/sys/x86/x86/mp_x86.c:1484 #2 0xffffffff8102ad8f in trap (frame=0xfffffe006da74f30) at /usr/src/sys/amd64/amd64/trap.c:237 #3 <signal handler called> #4 acpi_cpu_c1 () at /usr/src/sys/x86/x86/cpu_machdep.c:247 #5 0xffffffff804b5765 in acpi_cpu_idle (sbt=<optimized out>) at /usr/src/sys/dev/acpica/acpi_cpu.c:1157 #6 0xffffffff80feff96 in cpu_idle_acpi (sbt=3195336365) at /usr/src/sys/x86/x86/cpu_machdep.c:590 #7 0xffffffff80ff004d in cpu_idle (busy=0) at /usr/src/sys/x86/x86/cpu_machdep.c:679 #8 0xffffffff80b73c86 in sched_idletd (dummy=dummy@entry=0x0) at /usr/src/sys/kern/sched_ule.c:3061 #9 0xffffffff80af859f in fork_exit ( callout=0xffffffff80b73710 <sched_idletd>, arg=0x0, frame=0xfffffe006ad52f40) at /usr/src/sys/kern/kern_fork.c:1164 #10 <signal handler called> #11 0xfc9af7d2f0daf7d6 in ?? () Backtrace stopped: Cannot access memory at address 0x5bad6c9e57ed6c9a Tracing command "idle\000l", '\000' <repeats 13 times> pid 11 tid 100014 (CPU 11) #0 cpustop_handler () at /usr/src/sys/x86/x86/mp_x86.c:1527 #1 0xffffffff80ffa648 in ipi_nmi_handler () at /usr/src/sys/x86/x86/mp_x86.c:1484 #2 0xffffffff8102ad8f in trap (frame=0xfffffe006da83f30) at /usr/src/sys/amd64/amd64/trap.c:237 #3 <signal handler called> #4 acpi_cpu_c1 () at /usr/src/sys/x86/x86/cpu_machdep.c:247 #5 0xffffffff804b5765 in acpi_cpu_idle (sbt=<optimized out>) at /usr/src/sys/dev/acpica/acpi_cpu.c:1157 #6 0xffffffff80feff96 in cpu_idle_acpi (sbt=1416954104) at /usr/src/sys/x86/x86/cpu_machdep.c:590 #7 0xffffffff80ff004d in cpu_idle (busy=0) at /usr/src/sys/x86/x86/cpu_machdep.c:679 #8 0xffffffff80b73c86 in sched_idletd (dummy=dummy@entry=0x0) at /usr/src/sys/kern/sched_ule.c:3061 #9 0xffffffff80af859f in fork_exit ( callout=0xffffffff80b73710 <sched_idletd>, arg=0x0, frame=0xfffffe006ad4df40) at /usr/src/sys/kern/kern_fork.c:1164 #10 <signal handler called> #11 0x00e966d30ca966d7 in ?? () Backtrace stopped: Cannot access memory at address 0xa7defd9fab9efd9b Tracing command "idle\000l", '\000' <repeats 13 times> pid 11 tid 100015 (CPU 12) #0 cpustop_handler () at /usr/src/sys/x86/x86/mp_x86.c:1527 #1 0xffffffff80ffa648 in ipi_nmi_handler () at /usr/src/sys/x86/x86/mp_x86.c:1484 #2 0xffffffff8102ad8f in trap (frame=0xfffffe006da92f30) at /usr/src/sys/amd64/amd64/trap.c:237 #3 <signal handler called> #4 acpi_cpu_c1 () at /usr/src/sys/x86/x86/cpu_machdep.c:247 #5 0xffffffff804b5765 in acpi_cpu_idle (sbt=<optimized out>) at /usr/src/sys/dev/acpica/acpi_cpu.c:1157 #6 0xffffffff80feff96 in cpu_idle_acpi (sbt=3458498586) at /usr/src/sys/x86/x86/cpu_machdep.c:590 #7 0xffffffff80ff004d in cpu_idle (busy=0) at /usr/src/sys/x86/x86/cpu_machdep.c:679 #8 0xffffffff80b73c86 in sched_idletd (dummy=dummy@entry=0x0) at /usr/src/sys/kern/sched_ule.c:3061 #9 0xffffffff80af859f in fork_exit ( callout=0xffffffff80b73710 <sched_idletd>, arg=0x0, frame=0xfffffe006ad5cf40) at /usr/src/sys/kern/kern_fork.c:1164 #10 <signal handler called> #11 0x65c50ec269850ec6 in ?? () Backtrace stopped: Cannot access memory at address 0xc2f2958eceb2958a Tracing command "idle\000l", '\000' <repeats 13 times> pid 11 tid 100016 (CPU 13) #0 cpustop_handler () at /usr/src/sys/x86/x86/mp_x86.c:1527 #1 0xffffffff80ffa648 in ipi_nmi_handler () at /usr/src/sys/x86/x86/mp_x86.c:1484 #2 0xffffffff8102ad8f in trap (frame=0xfffffe006daa1f30) at /usr/src/sys/amd64/amd64/trap.c:237 #3 <signal handler called> #4 acpi_cpu_c1 () at /usr/src/sys/x86/x86/cpu_machdep.c:247 #5 0xffffffff804b5765 in acpi_cpu_idle (sbt=<optimized out>) at /usr/src/sys/dev/acpica/acpi_cpu.c:1157 #6 0xffffffff80feff96 in cpu_idle_acpi (sbt=2159113824) at /usr/src/sys/x86/x86/cpu_machdep.c:590 #7 0xffffffff80ff004d in cpu_idle (busy=0) at /usr/src/sys/x86/x86/cpu_machdep.c:679 #8 0xffffffff80b73c86 in sched_idletd (dummy=dummy@entry=0x0) at /usr/src/sys/kern/sched_ule.c:3061 #9 0xffffffff80af859f in fork_exit ( callout=0xffffffff80b73710 <sched_idletd>, arg=0x0, frame=0xfffffe006ad57f40) at /usr/src/sys/kern/kern_fork.c:1164 #10 <signal handler called> #11 0x218bef512dcbef55 in ?? () Backtrace stopped: Cannot access memory at address 0x86bc741d8afc7419 Tracing command "idle\000l", '\000' <repeats 13 times> pid 11 tid 100017 (CPU 14) #0 cpustop_handler () at /usr/src/sys/x86/x86/mp_x86.c:1527 #1 0xffffffff80ffa648 in ipi_nmi_handler () at /usr/src/sys/x86/x86/mp_x86.c:1484 #2 0xffffffff8102ad8f in trap (frame=0xfffffe006dab0f30) at /usr/src/sys/amd64/amd64/trap.c:237 #3 <signal handler called> #4 acpi_cpu_c1 () at /usr/src/sys/x86/x86/cpu_machdep.c:247 #5 0xffffffff804b5765 in acpi_cpu_idle (sbt=<optimized out>) at /usr/src/sys/dev/acpica/acpi_cpu.c:1157 #6 0xffffffff80feff96 in cpu_idle_acpi (sbt=648157572) at /usr/src/sys/x86/x86/cpu_machdep.c:590 #7 0xffffffff80ff004d in cpu_idle (busy=0) at /usr/src/sys/x86/x86/cpu_machdep.c:679 #8 0xffffffff80b73c86 in sched_idletd (dummy=dummy@entry=0x0) at /usr/src/sys/kern/sched_ule.c:3061 #9 0xffffffff80af859f in fork_exit ( callout=0xffffffff80b73710 <sched_idletd>, arg=0x0, frame=0xfffffe006ad66f40) at /usr/src/sys/kern/kern_fork.c:1164 #10 <signal handler called> #11 0xc18e9fa8cdce9fac in ?? () Backtrace stopped: Cannot access memory at address 0x66b904e46af904e0 Tracing command "idle\000l", '\000' <repeats 13 times> pid 11 tid 100018 (CPU 15) #0 cpustop_handler () at /usr/src/sys/x86/x86/mp_x86.c:1527 #1 0xffffffff80ffa648 in ipi_nmi_handler () at /usr/src/sys/x86/x86/mp_x86.c:1484 #2 0xffffffff8102ad8f in trap (frame=0xfffffe006dabff30) at /usr/src/sys/amd64/amd64/trap.c:237 #3 <signal handler called> #4 acpi_cpu_c1 () at /usr/src/sys/x86/x86/cpu_machdep.c:247 #5 0xffffffff804b5765 in acpi_cpu_idle (sbt=<optimized out>) at /usr/src/sys/dev/acpica/acpi_cpu.c:1157 #6 0xffffffff80feff96 in cpu_idle_acpi (sbt=4167159165) at /usr/src/sys/x86/x86/cpu_machdep.c:590 #7 0xffffffff80ff004d in cpu_idle (busy=0) at /usr/src/sys/x86/x86/cpu_machdep.c:679 #8 0xffffffff80b73c86 in sched_idletd (dummy=dummy@entry=0x0) at /usr/src/sys/kern/sched_ule.c:3061 #9 0xffffffff80af859f in fork_exit ( callout=0xffffffff80b73710 <sched_idletd>, arg=0x0, frame=0xfffffe006ad61f40) at /usr/src/sys/kern/kern_fork.c:1164 #10 <signal handler called> #11 0xdeaf159bd2af159f in ?? () Backtrace stopped: Cannot access memory at address 0x79988ed775d8aed3 (kgdb) ---->8---- And the system console output: ----8<---- [...] iic0: <I2C generic I/O> on iicbus0 [drm] amdgpu kernel modesetting enabled. drmn0: <drmn> on vgapci0 vgapci0: child drmn0 requested pci_enable_io vgapci0: child drmn0 requested pci_enable_io [drm] initializing kernel modesetting (BEIGE_GOBY 0x1002:0x7422 0x1002:0x0E44 0x00). drmn0: Trusted Memory Zone (TMZ) feature not supported [drm] register mmio base: 0xFCA00000 [drm] register mmio size: 1048576 [drm] add ip block number 0 <nv_common> [drm] add ip block number 1 <gmc_v10_0> [drm] add ip block number 2 <navi10_ih> [drm] add ip block number 3 <psp> [drm] add ip block number 4 <smu> [drm] add ip block number 5 <gfx_v10_0> [drm] add ip block number 6 <sdma_v5_2> [drm] add ip block number 7 <dm> [drm] add ip block number 8 <vcn_v3_0> drmn0: Fetched VBIOS from VFCT amdgpu: ATOM BIOS: 113-D6370200-100 [drm] VCN(0) decode is enabled in VM mode [drm] vm size is 262144 GB, 4 levels, block size is 9-bit, fragment size is 9-bit drmn0: VRAM: 4080M 0x0000008000000000 - 0x00000080FEFFFFFF (4080M used) drmn0: GART: 512M 0x0000000000000000 - 0x000000001FFFFFFF drmn0: AGP: 267894784M 0x0000008400000000 - 0x0000FFFFFFFFFFFF [drm] Detected VRAM RAM=4080M, BAR=4096M [drm] RAM width 64bits GDDR6 [drm] amdgpu: 4080M of VRAM memory ready [drm] amdgpu: 4080M of GTT memory ready. [drm] GART: num cpu pages 131072, num gpu pages 131072 [drm] PCIE GART of 512M enabled (table at 0x0000008000300000). beige_goby_sos.bin: could not load binary firmware /boot/firmware/beige_goby_sos.bin either amdgpu/beige_goby_sos.bin: could not load binary firmware /boot/firmware/amdgpu/beige_goby_sos.bin either amdgpu_beige_goby_sos.bin: could not load binary firmware /boot/firmware/amdgpu_beige_goby_sos.bin either drmn0: successfully loaded firmware image 'amdgpu/beige_goby_sos.bin' beige_goby_ta.bin: could not load binary firmware /boot/firmware/beige_goby_ta.bin either amdgpu/beige_goby_ta.bin: could not load binary firmware /boot/firmware/amdgpu/beige_goby_ta.bin either amdgpu_beige_goby_ta.bin: could not load binary firmware /boot/firmware/amdgpu_beige_goby_ta.bin either drmn0: successfully loaded firmware image 'amdgpu/beige_goby_ta.bin' drmn0: PSP runtime database doesn't exist beige_goby_smc.bin: could not load binary firmware /boot/firmware/beige_goby_smc.bin either amdgpu/beige_goby_smc.bin: could not load binary firmware /boot/firmware/amdgpu/beige_goby_smc.bin either amdgpu_beige_goby_smc.bin: could not load binary firmware /boot/firmware/amdgpu_beige_goby_smc.bin either drmn0: successfully loaded firmware image 'amdgpu/beige_goby_smc.bin' lkpi_iic0: <LinuxKPI I2C> on drmn0 iicbus1: <Philips I2C bus> on lkpi_iic0 iic1: <I2C generic I/O> on iicbus1 beige_goby_pfp.bin: could not load binary firmware /boot/firmware/beige_goby_pfp.bin either amdgpu/beige_goby_pfp.bin: could not load binary firmware /boot/firmware/amdgpu/beige_goby_pfp.bin either amdgpu_beige_goby_pfp.bin: could not load binary firmware /boot/firmware/amdgpu_beige_goby_pfp.bin either drmn0: successfully loaded firmware image 'amdgpu/beige_goby_pfp.bin' beige_goby_me.bin: could not load binary firmware /boot/firmware/beige_goby_me.bin either amdgpu/beige_goby_me.bin: could not load binary firmware /boot/firmware/amdgpu/beige_goby_me.bin either amdgpu_beige_goby_me.bin: could not load binary firmware /boot/firmware/amdgpu_beige_goby_me.bin either drmn0: successfully loaded firmware image 'amdgpu/beige_goby_me.bin' beige_goby_ce.bin: could not load binary firmware /boot/firmware/beige_goby_ce.bin either amdgpu/beige_goby_ce.bin: could not load binary firmware /boot/firmware/amdgpu/beige_goby_ce.bin either amdgpu_beige_goby_ce.bin: could not load binary firmware /boot/firmware/amdgpu_beige_goby_ce.bin either drmn0: successfully loaded firmware image 'amdgpu/beige_goby_ce.bin' beige_goby_rlc.bin: could not load binary firmware /boot/firmware/beige_goby_rlc.bin either amdgpu/beige_goby_rlc.bin: could not load binary firmware /boot/firmware/amdgpu/beige_goby_rlc.bin either amdgpu_beige_goby_rlc.bin: could not load binary firmware /boot/firmware/amdgpu_beige_goby_rlc.bin either drmn0: successfully loaded firmware image 'amdgpu/beige_goby_rlc.bin' beige_goby_mec.bin: could not load binary firmware /boot/firmware/beige_goby_mec.bin either amdgpu/beige_goby_mec.bin: could not load binary firmware /boot/firmware/amdgpu/beige_goby_mec.bin either amdgpu_beige_goby_mec.bin: could not load binary firmware /boot/firmware/amdgpu_beige_goby_mec.bin either drmn0: successfully loaded firmware image 'amdgpu/beige_goby_mec.bin' beige_goby_mec2.bin: could not load binary firmware /boot/firmware/beige_goby_mec2.bin either amdgpu/beige_goby_mec2.bin: could not load binary firmware /boot/firmware/amdgpu/beige_goby_mec2.bin either amdgpu_beige_goby_mec2.bin: could not load binary firmware /boot/firmware/amdgpu_beige_goby_mec2.bin either drmn0: successfully loaded firmware image 'amdgpu/beige_goby_mec2.bin' beige_goby_sdma.bin: could not load binary firmware /boot/firmware/beige_goby_sdma.bin either amdgpu/beige_goby_sdma.bin: could not load binary firmware /boot/firmware/amdgpu/beige_goby_sdma.bin either amdgpu_beige_goby_sdma.bin: could not load binary firmware /boot/firmware/amdgpu_beige_goby_sdma.bin either drmn0: successfully loaded firmware image 'amdgpu/beige_goby_sdma.bin' [drm] use_doorbell being set to: [true] beige_goby_dmcub.bin: could not load binary firmware /boot/firmware/beige_goby_dmcub.bin either amdgpu/beige_goby_dmcub.bin: could not load binary firmware /boot/firmware/amdgpu/beige_goby_dmcub.bin either amdgpu_beige_goby_dmcub.bin: could not load binary firmware /boot/firmware/amdgpu_beige_goby_dmcub.bin either drmn0: successfully loaded firmware image 'amdgpu/beige_goby_dmcub.bin' [drm] Loading DMUB firmware via PSP: version=0x02020017 beige_goby_vcn.bin: could not load binary firmware /boot/firmware/beige_goby_vcn.bin either amdgpu/beige_goby_vcn.bin: could not load binary firmware /boot/firmware/amdgpu/beige_goby_vcn.bin either amdgpu_beige_goby_vcn.bin: could not load binary firmware /boot/firmware/amdgpu_beige_goby_vcn.bin either drmn0: successfully loaded firmware image 'amdgpu/beige_goby_vcn.bin' [drm] Found VCN firmware Version ENC: 1.27 DEC: 2 VEP: 0 Revision: 0 drmn0: Will use PSP to load VCN firmware [drm] reserve 0xa00000 from 0x80fe000000 for PSP TMR drmn0: RAS: optional ras ta ucode is not available drmn0: SECUREDISPLAY: securedisplay ta ucode is not available drmn0: smu driver if version = 0x0000000d, smu fw if version = 0x0000000f, smu fw version = 0x00492000 (73.32.0) drmn0: SMU driver if version not matched drmn0: use vbios provided pptable drmn0: SMU is initialized successfully! [drm] kiq ring mec 2 pipe 1 q 0 Fatal trap 12: page fault while in kernel mode cpuid = 9; apic id = 09 fault virtual address = 0x8 fault code = supervisor read data, page not present instruction pointer = 0x20:0xffffffff81007f8d stack pointer = 0x28:0xfffffe01dee3b3f0 frame pointer = 0x28:0xfffffe01dee3b410 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 = 4339 (kldload) rdi: fffff801989aa000 rsi: 0000000000000000 rdx: ffffffff8388a020 rcx: ffffffff80dc1500 r8: ffffffff83889ec0 r9: ffffffff8388ab0c rax: fffff80281a93f18 rbx: fffff801989aa520 rbp: fffffe01dee3b410 r10: 0000000000000000 r11: 0000000000000000 r12: ffffffff80dc1500 r13: fffff80196dc5800 r14: 0000000000000000 r15: 00000000ffffffff trap number = 12 panic: page fault cpuid = 9 time = 1732828535 KDB: stack backtrace: #0 0xffffffff80b8c86d at kdb_backtrace+0x5d #1 0xffffffff80b3ebd1 at vpanic+0x131 #2 0xffffffff80b3ea93 at panic+0x43 #3 0xffffffff8102ba0b at trap_fatal+0x40b #4 0xffffffff8102ba56 at trap_pfault+0x46 #5 0xffffffff81002418 at calltrap+0x8 #6 0xffffffff80db3b11 at lkpi_fpu_safe_exec+0x51 #7 0xffffffff80dc14e7 at lkpi_kmalloc+0x27 #8 0xffffffff8365596a at dccg30_create+0x3a #9 0xffffffff83690446 at dcn303_create_resource_pool+0x396 #10 0xffffffff835b95b5 at dc_create_resource_pool+0x75 #11 0xffffffff835c1584 at dc_create+0x2c4 #12 0xffffffff83587d88 at dm_hw_init+0x278 #13 0xffffffff834190aa at amdgpu_device_ip_hw_init_phase2+0x5a #14 0xffffffff834156b0 at amdgpu_device_ip_init+0x360 #15 0xffffffff834146e6 at amdgpu_device_init+0x1a96 #16 0xffffffff8342f7c6 at amdgpu_driver_load_kms+0x16 #17 0xffffffff834207ea at amdgpu_pci_probe+0x2aa Uptime: 5m20s Dumping 2210 out of 64688 MB:..1%..11%..21%..31%..41%..51%..61%..71%..81%..91% ---->8---- I also tried my luck with graphics/drm-61-kmod (drm-61-kmod-6.1.92_2). In this case, 'kldload amdgpu' is successful, but it also hangs the system. A transcript of the system console output is attached. I am happy to provide more information if required. Any help is appreciated. -- You are receiving this mail because: You are the assignee for the bug.