kldunload amdgpu and kldload amdgpu ?etc.<6>[drm] amdgpu kernel modesetting enabled.
Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address =
amdgpu.ko too early in the boot process - I discovered that the line needs to be dead last in /etc/rc.conf - even as others on these Forums have told me that it should not matter.<6>[drm] amdgpu kernel modesetting enabled.
Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address = 0xffffffff00001000
fault code = supervisor read instruction, page not present
instruction pointer = 0x20:0xffffffff00001000
stack pointer = 0x28:0xfffffe00ffd66a40
frame pointer = 0x28:0x0
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 = 185 (kldload)
trap number = 12
panic: page fault
cpuid = 0
time = 1715556294
KDB: stack backtrace:
#0 0xffffffff00c514c5 at kdb_backtrace+0x65
#1 0xffffffff80c04e22 at vpanic+0x152
#2 0xffffffff80c04cc3 at panic+0x43
#3 0xffffffff810c206d at trap_fatal+0x38d
#4 0xffffffff810c20bf at trap_pfault+0x4f
#5 0xffffffff81099c18 at calltrap+0x8
A quick read confirmed for me thatShould I be using radeonkms instead? The amdgpu was been the thing since the start of this system, which required 13.0 to run X at all....
amdgpu is what you should be using...amdgpu worked when you installed it on 13.0-RELEASE on your hardware. radeonkms is for older stuff. pkg info drm-510-kmod ?drm-510-kmod-5.10.163_9
Name : drm-510-kmod
Version : 5.10.163_9
Installed on : Sun May 12 18:22:08 2024 PDT
Origin : graphics/drm-510-kmod
Architecture : FreeBSD:13:amd64
Prefix : /usr/local
Categories : kld graphics
Licenses : MIT and GPLv2 and BSD2CLAUSE
Maintainer : x11@FreeBSD.org
WWW : https://github.com/freebsd/drm-kmod/
Comment : DRM drivers modules
Annotations :
FreeBSD_version: 1302001
build_timestamp: 2024-04-09T18:48:56+0000
built_by : poudriere-git-3.4.1-1-g1e9f97d6
port_checkout_unclean: no
port_git_hash : c5cd82114
ports_top_checkout_unclean: no
ports_top_git_hash: c5cd82114
repo_type : binary
repository : FreeBSD
Flat size : 12.6MiB
Description :
amdgpu, i915, and radeon DRM drivers modules.
Currently corresponding to Linux 5.10 DRM.
This version is for FreeBSD 13.1 and above.
I upgraded from 12.3 to 13.3 and happened that to me, then I immediately upgraded to 14.0 and now works.And running 'kldload amdgpu' from the command line gives the same output and also freezes the system.
This. Keep in mind that packages in the FreeBSD repositories are still being built for 13.2. This isn't an issue for the majority of the packages, but kernel modules like this one are always a bit of a problem. Packages will get build for 13.3 specifically when 13.2 is EoL (at the end of June 2024).Have you tried building graphics/drm-510-kmod ? What is the output ofpkg info drm-510-kmod?
Since binary packages are only built for one version of 13.x, drm-kmod user will need to build the relevant drm-x-kmod in the 3 month period between minor release.
No, I'm saying the packages for graphics/drm-kmod (and it's dependencies) are still being built for 13.2 and may not work on 13.3. Build them from ports if you need them right now.You're saying my 13.3 system will start to function only when 13.2 is discontinued?
Packages still being built for a system that is gonna be EoL so soon? ?No, I'm saying the packages for graphics/drm-kmod (and it's dependencies) are still being built for 13.2 and may not work on 13.3. Build them from ports if you need them right now.
The joys of out of tree kernel modules.Packages still being built for a system that is gonna be EoL so soon? ?