drm-61-kmod panic

I recently got a new workstation. This morning I installed FreeBSD 14.2. Other than a bit of a battle as to what to put in the grub2 stanza get it to boot all went fairly well.

That is, until I tried to start installing things for a DE.

I ran make install in /usr/ports/graphics/drm-61-kmod and then tried "kldload amdgpu" which gave me a panic. So I thought I'd do things properly. I added 'kld_list="amdgpu"' to /etc/rc.conf and rebooted. Another panic. So I booted to single used and commented it out.

This is on a AMD Ryzen 9 9900X.

Any suggestions? Is there any config or setup that I missed out?
 
I recently got a new workstation. This morning I installed FreeBSD 14.2. Other than a bit of a battle as to what to put in the grub2 stanza get it to boot all went fairly well.

That is, until I tried to start installing things for a DE.

I ran make install in /usr/ports/graphics/drm-61-kmod and then tried "kldload amdgpu" which gave me a panic. So I thought I'd do things properly. I added 'kld_list="amdgpu"' to /etc/rc.conf and rebooted. Another panic. So I booted to single used and commented it out.

This is on a AMD Ryzen 9 9900X.

Any suggestions? Is there any config or setup that I missed out?
This is because binary packages are built using the oldest supported minor release. Since 14.1 is still a thing, packages are built using 14.1. This results in a KBI mismatch for packages sensitive to a different kernel. This mismatch results in misbehaviour or worse, a panic.

You will need to build any of the drm-kmod ports by hand.
 
This is because binary packages are built using the oldest supported minor release. Since 14.1 is still a thing, packages are built using 14.1. This results in a KBI mismatch for packages sensitive to a different kernel. This mismatch results in misbehaviour or worse, a panic.

You will need to build any of the drm-kmod ports by hand.

That's what I did. "I ran make install in /usr/ports/graphics/drm-61-kmod."
 
What is the difference between your pkg and running make install in the ports directory?
It's one of the possibilities. No difference, except maybe the exact version. You have to recompile this kmod after the upgrade. You need the FreeBSD sources, locally installed.
 
It's one of the possibilities. No difference, except maybe the exact version. You have to recompile this kmod after the upgrade. You need the FreeBSD sources, locally installed.

This is for a fresh install, done this morning. I installed all components, so there's /usr/ports from the install.
 
That's what I did. "I ran make install in /usr/ports/graphics/drm-61-kmod."
What is the difference between your pkg and running make install in the ports directory?
At the moment the 14.2 specifc drm-61-kmod version is also available in the "kmod" repositories:
Code:
root@q210>0: ~ # pkg search '^drm-61-kmod'                                                                                                                             pts/1
drm-61-kmod-6.1.92.1401000_3   DRM drivers modules
drm-61-kmod-6.1.92.1402000_3   DRM drivers modules
root@q210>0: ~ #
If your locally build version has the same version number (6.1.92.1402000_3) you should be fine.

Needed firmware packages: 'wifi-firmware-mediatek-kmod-mt792x gpu-firmware-amd-kmod-kaveri'
I can't find "wifi-firmware-mediatek-kmod-mt792x": mediatek-kmod, so I'm not sure what you are referring to.

For the newest Ryzen GPUs, it might be that this Ryzen 9 GPU thread is also relevant to your Ryzen 7: AMD Ryzen 9 7940HS (Radeon 780M) - Graphics now working!.
 
Back
Top