Open knaggsy2000 opened 2 days ago
Forgot to include the output of kgdb /boot/kernel/kernel vmcore.last
: -
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.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 "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:
panic: vm_fault_lookup: fault on nofault entry, addr: 0xfffffe01ce36e000
cpuid = 0
time = 1726594283
KDB: stack backtrace:
#0 0xffffffff80b7fefd at kdb_backtrace+0x5d
#1 0xffffffff80b32bd1 at vpanic+0x131
#2 0xffffffff80b32a93 at panic+0x43
#3 0xffffffff80ea6a0f at vm_fault+0x15af
#4 0xffffffff80ea5381 at vm_fault_trap+0x81
#5 0xffffffff81000ade at trap_pfault+0x1be
#6 0xffffffff80fd6d48 at calltrap+0x8
#7 0xffffffff8425c200 at amdgpu_vm_pt_create+0x3b0
#8 0xffffffff84259148 at amdgpu_vm_bo_update_mapping+0x568
#9 0xffffffff84259da2 at amdgpu_vm_bo_update+0x2c2
#10 0xffffffff84225dcf at amdgpu_gem_va_update_vm+0x4f
#11 0xffffffff84225d33 at amdgpu_gem_va_ioctl+0x253
#12 0xffffffff84059cc6 at drm_ioctl_kernel+0xc6
#13 0xffffffff8405a075 at drm_ioctl+0x2b5
#14 0xffffffff80d9a44d at linux_file_ioctl+0x2fd
#15 0xffffffff80ba0f95 at kern_ioctl+0x255
#16 0xffffffff80ba0cdf at sys_ioctl+0xff
#17 0xffffffff810011c0 at amd64_syscall+0x100
Uptime: 1m15s
Dumping 1431 out of 32635 MB:..2%..11%..21%..31%..41%..51%..61%..71%..81%..91%
Reading symbols from /boot/kernel/cryptodev.ko...
Reading symbols from /usr/lib/debug//boot/kernel/cryptodev.ko.debug...
Reading symbols from /boot/kernel/nmdm.ko...
Reading symbols from /usr/lib/debug//boot/kernel/nmdm.ko.debug...
Reading symbols from /boot/kernel/if_bridge.ko...
Reading symbols from /usr/lib/debug//boot/kernel/if_bridge.ko.debug...
Reading symbols from /boot/kernel/bridgestp.ko...
Reading symbols from /usr/lib/debug//boot/kernel/bridgestp.ko.debug...
Reading symbols from /boot/kernel/amdtemp.ko...
Reading symbols from /usr/lib/debug//boot/kernel/amdtemp.ko.debug...
Reading symbols from /boot/kernel/amdsmn.ko...
Reading symbols from /usr/lib/debug//boot/kernel/amdsmn.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/vmm.ko...
Reading symbols from /usr/lib/debug//boot/kernel/vmm.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_polaris12_mc_bin.ko...
(No debugging symbols found in /boot/modules/amdgpu_polaris12_mc_bin.ko)
Reading symbols from /boot/modules/amdgpu_polaris12_pfp_2_bin.ko...
(No debugging symbols found in /boot/modules/amdgpu_polaris12_pfp_2_bin.ko)
Reading symbols from /boot/modules/amdgpu_polaris12_me_2_bin.ko...
(No debugging symbols found in /boot/modules/amdgpu_polaris12_me_2_bin.ko)
Reading symbols from /boot/modules/amdgpu_polaris12_ce_2_bin.ko...
(No debugging symbols found in /boot/modules/amdgpu_polaris12_ce_2_bin.ko)
Reading symbols from /boot/modules/amdgpu_polaris12_rlc_bin.ko...
(No debugging symbols found in /boot/modules/amdgpu_polaris12_rlc_bin.ko)
Reading symbols from /boot/modules/amdgpu_polaris12_mec_2_bin.ko...
(No debugging symbols found in /boot/modules/amdgpu_polaris12_mec_2_bin.ko)
Reading symbols from /boot/modules/amdgpu_polaris12_mec2_2_bin.ko...
(No debugging symbols found in /boot/modules/amdgpu_polaris12_mec2_2_bin.ko)
Reading symbols from /boot/modules/amdgpu_polaris12_sdma_bin.ko...
--Type <RET> for more, q to quit, c to continue without paging--c
(No debugging symbols found in /boot/modules/amdgpu_polaris12_sdma_bin.ko)
Reading symbols from /boot/modules/amdgpu_polaris12_sdma1_bin.ko...
(No debugging symbols found in /boot/modules/amdgpu_polaris12_sdma1_bin.ko)
Reading symbols from /boot/modules/amdgpu_polaris12_uvd_bin.ko...
(No debugging symbols found in /boot/modules/amdgpu_polaris12_uvd_bin.ko)
Reading symbols from /boot/modules/amdgpu_polaris12_vce_bin.ko...
(No debugging symbols found in /boot/modules/amdgpu_polaris12_vce_bin.ko)
Reading symbols from /boot/modules/amdgpu_polaris12_smc_bin.ko...
(No debugging symbols found in /boot/modules/amdgpu_polaris12_smc_bin.ko)
Reading symbols from /boot/kernel/hidraw.ko...
Reading symbols from /usr/lib/debug//boot/kernel/hidraw.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/hkbd.ko...
Reading symbols from /usr/lib/debug//boot/kernel/hkbd.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/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/snd_uaudio.ko...
Reading symbols from /usr/lib/debug//boot/kernel/snd_uaudio.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/usbhid.ko...
Reading symbols from /usr/lib/debug//boot/kernel/usbhid.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/hidmap.ko...
Reading symbols from /usr/lib/debug//boot/kernel/hidmap.ko.debug...
Reading symbols from /boot/kernel/pflog.ko...
Reading symbols from /usr/lib/debug//boot/kernel/pflog.ko.debug...
Reading symbols from /boot/kernel/pf.ko...
Reading symbols from /usr/lib/debug//boot/kernel/pf.ko.debug...
Reading symbols from /boot/kernel/fdescfs.ko...
Reading symbols from /usr/lib/debug//boot/kernel/fdescfs.ko.debug...
__curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:57
57 __asm("movq %%gs:%P1,%0" : "=r" (td) : "n" (offsetof(struct pcpu,
Some additional info: -
As I saw Linux in the trace, but it didn't any difference.
What has changed in FreeBSD 14.1 which is causing this?
Have been a longtime FreeBSD user (since v5), not had to deal with crash dumps so much before. So throw me bone if needed.
I am not sure this is a "bone" but.... To me it looks like your might not have /usr/src
populated correctly (The FreeBSD kernel source). This is what FloppyKing hinted at in the thread you referenced. Credit to T-Daemon as I got it from here.
The following worked for me:
cd /usr
git clone
git clone https://git.freebsd.org/src.git
git checkout releng/14.1
cd /usr/ports/graphics/drm-61-kmod
make
make install
Describe the bug Ever since I've upgraded from v14.0 to v14.1 been getting kernel panics when the X environment gets loaded - BUT, not every time - it seems to when something needs to access DRM, like in my case when VLC loads a DVD.
I don't use a graphical login manager, I login via console and then issue "startx" - always done this and that's never going to change.
With my mentioned card (in the title - RX 550) it's 100% fails now. So I swapped it out for my backup gfx card - which is a RX 6500XT, everything works perfectly! So I ordered another RX550 thinking my gfx card failed in some way (as from personal experiences, kernel panics have always been hardware issues) - well, it turns out that it wasn't. Fault still happens with NEW hardware - so the issue is clearly with the drivers/firmware.
Upon some research found this. It states that the solution is to install drm-61 instead - great! But there's multiple problems with that. First: No pkg currently available to install. Second: Building from ports/source fails (for me at least): -
I would prefer to put my cheaper gfx card back into my main PC, but can't at the moment.
Also seen other issues raised on here that sound slightly similar too.
Please can someone help?
Thanks.
FreeBSD version
FreeBSD mainpc.local 14.1-RELEASE-p4 FreeBSD 14.1-RELEASE-p4 GENERIC amd64 1401000 1401000
PCI Info
DRM KMOD version
To Reproduce Already mentioned earlier.
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Additional info available upon request.