Solved Release 14.3 breaks my amdgpu setting

I upgraded my workstation from 14.2 to 14.3 and Xorg stopped working. I'm using the Radeonkms module. The message I get is:
Code:
link_elf_obj: symbol linux_kfree_async undefined, linker_load_fin: /boot/modules/dmabuf.ko - unsupported file type, KLD drm.ko: depends on dmabuf - not available or version mismatch linker_load_file: /boot/modules/drm.ko unsupported file type, KLD radeonkms.ko: depends on drmn -not available or version mismatch, linker_load_file: /boot/modules/radionkms.ko - unsupported file type.
Code:

Normally I just use pkg for binary packages. But I saw a thread where someone said you have to use ports to build the latest drm-kmod package. I tried this, but I get an error saying incompatible kernel type. All suggestions welcome.
 
If you have tried drm-510-kmod which is unsupported even on 14.2, that's normal. In 14.3, a new repository is added to provide the right drm-kmod packages with right and matching OSVERSION values. Try upgrading your drm-kmod packages from that repository. A lot of threads/posts were about this pastly.

Can you run pkg repos
 
I upgraded my workstation from 14.2 to 14.3 and Xorg stopped working. I'm using the Radeonkms module. The message I get is:
Code:
link_elf_obj: symbol linux_kfree_async undefined, linker_load_fin: /boot/modules/dmabuf.ko - unsupported file type, KLD drm.ko: depends on dmabuf - not available or version mismatch linker_load_file: /boot/modules/drm.ko unsupported file type, KLD radeonkms.ko: depends on drmn -not available or version mismatch, linker_load_file: /boot/modules/radionkms.ko - unsupported file type.
Code:

Normally I just use pkg for binary packages. But I saw a thread where someone said you have to use ports to build the latest drm-kmod package. I tried this, but I get an error saying incompatible kernel type. All suggestions welcome.

Update DRM for your 14.3 system.
 
I'll wait until the pkg system catches up to ports.
Note that, when you upgrade to 14.3-RELEASE, you must be extra careful to get the latest version (=highest numbered version) of all relevant packages containing kernel modules, such as (graphics) packages like graphics/drm-61-kmod or packages containing kernel modules for relevant wireless drivers, matched to your specific minor version.

If you built such packages yourself on 14.3-RELEASE, for example graphics/drm-61-kmod, you'll get the correct version.

If you use packages, you should use the FreeBSD-kmods repository; by default enabled on 14.3-RELEASE. For information about the FreeBSD-kmods, see thread, message #66 and subsequent messages.
 
I've tried, but it won't update. When I try
sh:
make install
it just exits without any error messages.

Execute this command:

doas pkg install drm-61-kmod-6.1.128.1403000_4

You don't need compile DRM now, in repos from 14.3 we have a repo for KMODS.

Install the new DRM and review your config in rc.conf.
 
So, it now works. Here's what I had to do. I added the FreeBSD-kmods to the pkg.conf. Then I installed from ports both "drm-mod" and "drm-61-mod." Happy days.
 
Back
Top