Bug 250791 - graphics/drm-kmod : Using kld_list for Radeon HD 5450 panics RELEASE-12.2
Summary: graphics/drm-kmod : Using kld_list for Radeon HD 5450 panics RELEASE-12.2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-x11 (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-01 22:54 UTC by kenneth.freidank
Modified: 2021-11-19 15:16 UTC (History)
4 users (show)

See Also:
bugzilla: maintainer-feedback? (x11)


Attachments
dmesg of 12.1 GENERIC kernel running on 12.2 system (11.34 KB, text/plain)
2020-11-01 22:54 UTC, kenneth.freidank
no flags Details
dmesg of 12.2 GENERIC kernel running on 12.2 system (7.92 KB, text/plain)
2020-11-01 23:14 UTC, kenneth.freidank
no flags Details
xrandr of X11 using 12.1 kernel (2.04 KB, text/plain)
2020-11-01 23:51 UTC, kenneth.freidank
no flags Details
xrandr of X11 using 12.2 kernel (187 bytes, text/plain)
2020-11-01 23:54 UTC, kenneth.freidank
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description kenneth.freidank 2020-11-01 22:54:41 UTC
Created attachment 219287 [details]
dmesg of 12.1 GENERIC kernel running on 12.2 system

Radeon HD 5450 causes kernel panic after upgrade to RELEASE 12.2 with GENERIC kernel, /etc/rc.conf is using kld_list="/boot/modules/radeonkms.ko", installed drm-kmod-g20190710.  Only way to boot 12.2 kernel is to comment out the kld_list line from /etc/rc.conf.  Currently running old 12.1 GENERIC kernel on updated 12.2 system -- strange but it is working.

Other info that might be important.
/boot/loader.conf has only 1 line:  amdtemp_load="YES"
Comment 1 kenneth.freidank 2020-11-01 23:03:01 UTC
When running the 12.1 kernel on the 12.2 system, I am using the Radeon card & kld_list.
When running the 12.2 kernel on the 12.2 system, I am using the motherboard graphics without kld_list.
Comment 2 kenneth.freidank 2020-11-01 23:14:14 UTC
Created attachment 219289 [details]
dmesg of 12.2 GENERIC kernel running on 12.2 system
Comment 3 kenneth.freidank 2020-11-01 23:20:41 UTC
(In reply to kenneth.freidank from comment #1)
Please disregard comment #1.  I am running the 12.2 kernel on the 12.2 system, however the display is no where as crisp as when running the 12.1 kernel with the kld_list="/boot/modules/radeonkms.ko" in the /etc/rc.conf.
Comment 4 kenneth.freidank 2020-11-01 23:51:52 UTC
Created attachment 219290 [details]
xrandr of X11 using 12.1 kernel
Comment 5 kenneth.freidank 2020-11-01 23:54:15 UTC
Created attachment 219291 [details]
xrandr of X11 using 12.2 kernel
Comment 6 Li-Wen Hsu freebsd_committer freebsd_triage 2020-11-02 00:25:06 UTC
Does build drm-kmod from ports help? Please refer to bug 250700 (comment #1) for more information.
Comment 7 kenneth.freidank 2020-11-08 00:59:53 UTC
No.  I installed drm-kmod from a poudriere build in a 12.2 Release jail and a new ports pull.  I built using the 12.2 kernel (remember I kept the old 12.1 kernel in the boot menu).  I un-commented "kld_list=/boot/modules/radeonkms.ko" and the kernel panicked.
Comment 8 kenneth.freidank 2020-11-28 05:21:49 UTC
Fixed!
I only removed drm-kmod when installing my previous build. A "pkg info | grep drm" showed 3 drm packages, and a "pkg info | grep kmod" showed 1 additional package.  I removed all 4.  After this, I changed to graphics/drm-kmod, did a "make clean", and "make install".  I did not try using the Poudriere builds again.
I restored my rc.conf line and I have my graphics back.
Side Note:  I completely rebuilt and installed 12.2 RELEASE world with GENERIC from releng.
Comment 9 Emmanuel Vadot freebsd_committer freebsd_triage 2021-11-19 15:16:10 UTC
Seems fixed, closing.