[Bug 269510] Problem with amdgpu kernel module after upgrading FreeBSD 13.1 system
Date: Sun, 12 Feb 2023 08:17:01 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269510 Bug ID: 269510 Summary: Problem with amdgpu kernel module after upgrading FreeBSD 13.1 system Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: riza.dindir@gmail.com Hardware: AMD FX7500 CPU AMD Radeon R7 M265, with two graphics devices. One device is the Kaveri [Radeon R6/R& Graphics] with PCI id 0x002 0x1309. The other is the Opal XT (oland) [Radeon R7 M265/M365X/M465]. OS: FreeBSD, 13.1-RELEASE, FreeBSD 13.1-RELEASE, releng/13.1-n250148-fc952ac2212, GENERIC, amd64 What Happened: Wanted to upgrade all the packages on my system. I have run "pkg upgrade". The command did these: 1. Upgraded pkg from 1.18.4 to 1.19.0 2. Removed (deinstalled) the drm-fbsd13-kmod-5.1.191.g20220604_1. 3. Upgraded all the gpu-firmware-amd-kmod-* packages from version 20220511 to 20221207_1. 4. Installed drm-510-kmod-5.10.113_8. 5. Upgraded drm-firmware-kmod from 20220511,1 to 20221208-1,1. Prior to the upgrade I have been loading the amdgpu kernel module in the rc.conf file. kld_list="amdgpu". After the upgrade, I restarted the system. The system halted at the "loading kernel modules" message, and a line of colored pixels at the right lower part of the LCD screen (laptop). Restarted the system, Went into the single user mode. Did fsck and "mount -u /" and removed the amdgpu from kld_list to prevent it from loading. Then restarted the system. After boot I did the update and upgrade again by doing these things: 1. pkg update -f 2. pkg install drm-510-kmod 3. pkg install drm-kmod (which also pulls the gpu-firmware-kmod package). 4. pkg upgrade -f All the packages were forcefully upgraded. Then changed kld_list to load the radeonkms kernel module (kld_list="radeonkms"). After changing the kernel module, the system started normally and the graphics devices were initialized correctly. On the https://wiki.freebsd.org/Graphics page it is stated that the radeonkms kernel module is for older GPU's (pre-HD7000 or pre-Tahiti). I am not sure if my card is pre-Tahiti, or pre-HD7000. I think they might be newer. Being able to use the amdgpu kernel module prior to the package upgrade and having to use radeonkms after the upgrade might indicate a bug in the amdgpu kernel module. -- You are receiving this mail because: You are the assignee for the bug.