Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 May 2024 13:06:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 278212] amdgpu / AMD Radeon XT 6900 - kernel panic (page fault) on FreeBSD 14.0-RELEASE-p6
Message-ID:  <bug-278212-227-UZnpznPpgO@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-278212-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-278212-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278212

--- Comment #7 from Tomasz "CeDeROM" CEDRO <tomek@cedro.info> ---
Another one right now. Default unmodified amdgpu settings. This may be caus=
ed
by linux compatibility layer not necessarily amdgpu?

Fri May 10 14:52:09 CEST 2024

FreeBSD octagon 14.0-RELEASE-p6 FreeBSD 14.0-RELEASE-p6 #0: Tue Mar 26 20:2=
6:20
UTC 2024=20=20=20=20
root@amd64-builder.daemonology.net:/usr/obj/usr/src/amd64.amd64/sys/GENERIC=
=20
amd64

panic: page fault

GNU gdb (GDB) 14.1 [GDB v14.1 for FreeBSD]
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.htm=
l>
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-freebsd14.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 =3D 0; apic id =3D 10
fault virtual address   =3D 0xfffff8020e207610
fault code              =3D supervisor read instruction, protection violati=
on
instruction pointer     =3D 0x20:0xfffff8020e207610
stack pointer           =3D 0x28:0xfffffe00e0480e18
frame pointer           =3D 0x28:0xfffffe00e0480e40
code segment            =3D base 0x0, limit 0xfffff, type 0x1b
                        =3D DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        =3D interrupt enabled, resume, IOPL =3D 0
current process         =3D 0 (linuxkpi_irq_wq)
rdi: fffff8020e207610 rsi: fffff801afe84400 rdx: 0000000000000039
rcx: fffffe00b2f31cc0  r8: 000000000000003e  r9: fffffe0035e04198
rax: fffff8020e207610 rbx: fffffe00e0480e28 rbp: fffffe00e0480e40
r10: fffff801afe84400 r11: fffff801afe84600 r12: fffff80001b39658
r13: 0000000000000000 r14: ffffffff81a10d48 r15: 0000000000000002
trap number             =3D 12
panic: page fault
cpuid =3D 0
time =3D 1715345415
KDB: stack backtrace:
#0 0xffffffff80b9009d at kdb_backtrace+0x5d
#1 0xffffffff80b431a2 at vpanic+0x132
#2 0xffffffff80b43063 at panic+0x43
#3 0xffffffff8100c85c at trap_fatal+0x40c
#4 0xffffffff8100c8af at trap_pfault+0x4f
#5 0xffffffff80fe3ac8 at calltrap+0x8
#6 0xffffffff80ba5992 at taskqueue_run_locked+0x182
#7 0xffffffff80ba6c22 at taskqueue_thread_loop+0xc2
#8 0xffffffff80afdb7f at fork_exit+0x7f
#9 0xffffffff80fe4b2e at fork_trampoline+0xe
Uptime: 1h49m51s
Dumping 1876 out of 32616 MB:..1%..11%..21%..31%..41%..51%..61%..71%..81%..=
91%

Reading symbols from /boot/kernel/amdsmn.ko...
Reading symbols from /usr/lib/debug//boot/kernel/amdsmn.ko.debug...
Reading symbols from /boot/modules/sysctlinfo.ko...
(No debugging symbols found in /boot/modules/sysctlinfo.ko)
Reading symbols from /boot/kernel/amdpm.ko...
Reading symbols from /usr/lib/debug//boot/kernel/amdpm.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/speaker.ko...
Reading symbols from /usr/lib/debug//boot/kernel/speaker.ko.debug...
Reading symbols from /boot/kernel/ntb_hw_amd.ko...
Reading symbols from /usr/lib/debug//boot/kernel/ntb_hw_amd.ko.debug...
Reading symbols from /boot/kernel/ntb.ko...
Reading symbols from /usr/lib/debug//boot/kernel/ntb.ko.debug...
Reading symbols from /boot/kernel/hgame.ko...
Reading symbols from /usr/lib/debug//boot/kernel/hgame.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/hidbus.ko...
Reading symbols from /usr/lib/debug//boot/kernel/hidbus.ko.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/linux.ko...
Reading symbols from /usr/lib/debug//boot/kernel/linux.ko.debug...
Reading symbols from /boot/kernel/linux_common.ko...
Reading symbols from /usr/lib/debug//boot/kernel/linux_common.ko.debug...
Reading symbols from /boot/kernel/amdsmb.ko...
Reading symbols from /usr/lib/debug//boot/kernel/amdsmb.ko.debug...
Reading symbols from /boot/modules/sysctlbyname_improved.ko...
(No debugging symbols found in /boot/modules/sysctlbyname_improved.ko)
Reading symbols from /boot/kernel/amdtemp.ko...
Reading symbols from /usr/lib/debug//boot/kernel/amdtemp.ko.debug...
Reading symbols from /boot/kernel/hidraw.ko...
Reading symbols from /usr/lib/debug//boot/kernel/hidraw.ko.debug...
Reading symbols from /boot/kernel/usbhid.ko...
Reading symbols from /usr/lib/debug//boot/kernel/usbhid.ko.debug...
Reading symbols from /boot/kernel/splash_bmp.ko...
Reading symbols from /usr/lib/debug//boot/kernel/splash_bmp.ko.debug...
Reading symbols from /boot/kernel/fusefs.ko...
Reading symbols from /usr/lib/debug//boot/kernel/fusefs.ko.debug...
Reading symbols from /boot/kernel/mac_priority.ko...
Reading symbols from /usr/lib/debug//boot/kernel/mac_priority.ko.debug...
Reading symbols from /boot/kernel/cpuctl.ko...
Reading symbols from /usr/lib/debug//boot/kernel/cpuctl.ko.debug...
Reading symbols from /boot/kernel/linux64.ko...
Reading symbols from /usr/lib/debug//boot/kernel/linux64.ko.debug...
Reading symbols from /boot/kernel/cuse.ko...
Reading symbols from /usr/lib/debug//boot/kernel/cuse.ko.debug...
Reading symbols from /boot/kernel/amdsbwd.ko...
Reading symbols from /usr/lib/debug//boot/kernel/amdsbwd.ko.debug...
Reading symbols from /boot/kernel/amdgpio.ko...
Reading symbols from /usr/lib/debug//boot/kernel/amdgpio.ko.debug...
Reading symbols from /boot/kernel/gpiobus.ko...
Reading symbols from /usr/lib/debug//boot/kernel/gpiobus.ko.debug...
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/amdgpu.ko...
(No debugging symbols found in /boot/modules/amdgpu.ko)
Reading symbols from /boot/modules/ttm.ko...
(No debugging symbols found in /boot/modules/ttm.ko)
Reading symbols from /boot/modules/amdgpu_polaris10_mc_bin.ko...
(No debugging symbols found in /boot/modules/amdgpu_polaris10_mc_bin.ko)
Reading symbols from /boot/modules/amdgpu_polaris10_pfp_2_bin.ko...
(No debugging symbols found in /boot/modules/amdgpu_polaris10_pfp_2_bin.ko)
Reading symbols from /boot/modules/amdgpu_polaris10_me_2_bin.ko...
(No debugging symbols found in /boot/modules/amdgpu_polaris10_me_2_bin.ko)
Reading symbols from /boot/modules/amdgpu_polaris10_ce_2_bin.ko...
(No debugging symbols found in /boot/modules/amdgpu_polaris10_ce_2_bin.ko)
Reading symbols from /boot/modules/amdgpu_polaris10_rlc_bin.ko...
(No debugging symbols found in /boot/modules/amdgpu_polaris10_rlc_bin.ko)
Reading symbols from /boot/modules/amdgpu_polaris10_mec_2_bin.ko...
(No debugging symbols found in /boot/modules/amdgpu_polaris10_mec_2_bin.ko)
Reading symbols from /boot/modules/amdgpu_polaris10_mec2_2_bin.ko...
(No debugging symbols found in /boot/modules/amdgpu_polaris10_mec2_2_bin.ko)
Reading symbols from /boot/modules/amdgpu_polaris10_sdma_bin.ko...
(No debugging symbols found in /boot/modules/amdgpu_polaris10_sdma_bin.ko)
Reading symbols from /boot/modules/amdgpu_polaris10_sdma1_bin.ko...
(No debugging symbols found in /boot/modules/amdgpu_polaris10_sdma1_bin.ko)
Reading symbols from /boot/modules/amdgpu_polaris10_uvd_bin.ko...
(No debugging symbols found in /boot/modules/amdgpu_polaris10_uvd_bin.ko)
Reading symbols from /boot/modules/amdgpu_polaris10_vce_bin.ko...
(No debugging symbols found in /boot/modules/amdgpu_polaris10_vce_bin.ko)
Reading symbols from /boot/modules/amdgpu_polaris10_k_smc_bin.ko...
(No debugging symbols found in /boot/modules/amdgpu_polaris10_k_smc_bin.ko)
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/hcons.ko...
Reading symbols from /usr/lib/debug//boot/kernel/hcons.ko.debug...
Reading symbols from /boot/kernel/hkbd.ko...
Reading symbols from /usr/lib/debug//boot/kernel/hkbd.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/intpm.ko...
Reading symbols from /usr/lib/debug//boot/kernel/intpm.ko.debug...
Reading symbols from /boot/kernel/pty.ko...
Reading symbols from /usr/lib/debug//boot/kernel/pty.ko.debug...
Reading symbols from /boot/kernel/fdescfs.ko...
Reading symbols from /usr/lib/debug//boot/kernel/fdescfs.ko.debug...
Reading symbols from /boot/kernel/linprocfs.ko...
Reading symbols from /usr/lib/debug//boot/kernel/linprocfs.ko.debug...
Reading symbols from /boot/kernel/linsysfs.ko...
Reading symbols from /usr/lib/debug//boot/kernel/linsysfs.ko.debug...
Reading symbols from /boot/modules/vboxguest.ko...
(No debugging symbols found in /boot/modules/vboxguest.ko)
Reading symbols from /boot/modules/vboxdrv.ko...
(No debugging symbols found in /boot/modules/vboxdrv.ko)
Reading symbols from /boot/modules/vboxnetflt.ko...
(No debugging symbols found in /boot/modules/vboxnetflt.ko)
Reading symbols from /boot/kernel/netgraph.ko...
Reading symbols from /usr/lib/debug//boot/kernel/netgraph.ko.debug...
Reading symbols from /boot/kernel/ng_ether.ko...
Reading symbols from /usr/lib/debug//boot/kernel/ng_ether.ko.debug...
Reading symbols from /boot/modules/vboxnetadp.ko...
(No debugging symbols found in /boot/modules/vboxnetadp.ko)
Reading symbols from /boot/kernel/snd_uaudio.ko...
Reading symbols from /usr/lib/debug//boot/kernel/snd_uaudio.ko.debug...
Reading symbols from /boot/kernel/ipfw.ko...
Reading symbols from /usr/lib/debug//boot/kernel/ipfw.ko.debug...
Reading symbols from /boot/kernel/nullfs.ko...
Reading symbols from /usr/lib/debug//boot/kernel/nullfs.ko.debug...
__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" : "=3Dr" (td) : "n" (offsetof(stru=
ct
pcpu,
(kgdb) #0  __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:57
#1  doadump (textdump=3D<optimized out>) at /usr/src/sys/kern/kern_shutdown=
.c:405
#2  0xffffffff80b42d37 in kern_reboot (howto=3D260)
    at /usr/src/sys/kern/kern_shutdown.c:526
#3  0xffffffff80b4320f in vpanic (fmt=3D0xffffffff81136b3b "%s",=20
    ap=3Dap@entry=3D0xfffffe00e0480c60) at /usr/src/sys/kern/kern_shutdown.=
c:970
#4  0xffffffff80b43063 in panic (fmt=3D<unavailable>)
    at /usr/src/sys/kern/kern_shutdown.c:894
#5  0xffffffff8100c85c in trap_fatal (frame=3D0xfffffe00e0480d50,=20
    eva=3D18446735286443472400) at /usr/src/sys/amd64/amd64/trap.c:952
#6  0xffffffff8100c8af in trap_pfault (frame=3D0xfffffe00e0480d50,=20
    usermode=3Dfalse, signo=3D<optimized out>, ucode=3D<optimized out>)
    at /usr/src/sys/amd64/amd64/trap.c:760
#7  <signal handler called>
#8  0xfffff8020e207610 in ?? ()
#9  0xffffffff80db83b2 in linux_rcu_cleaner_func (context=3D<optimized out>=
,=20
    pending=3D<optimized out>)
    at /usr/src/sys/compat/linuxkpi/common/src/linux_rcu.c:172
#10 0xffffffff80ba5992 in taskqueue_run_locked (
    queue=3Dqueue@entry=3D0xfffff80001b39600)
    at /usr/src/sys/kern/subr_taskqueue.c:512
#11 0xffffffff80ba6c22 in taskqueue_thread_loop (
    arg=3Darg@entry=3D0xffffffff81a10e30 <linux_irq_work_tq>)
    at /usr/src/sys/kern/subr_taskqueue.c:824
#12 0xffffffff80afdb7f in fork_exit (
    callout=3D0xffffffff80ba6b60 <taskqueue_thread_loop>,=20
    arg=3D0xffffffff81a10e30 <linux_irq_work_tq>, frame=3D0xfffffe00e0480f4=
0)
    at /usr/src/sys/kern/kern_fork.c:1160
#13 <signal handler called>
(kgdb)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-278212-227-UZnpznPpgO>