Solved DRM Module Kernel Panic with pkg

D

Deleted member 62636

Guest
Hello, I have been trying to get OpenCL working and found out I needed graphics/drm-fbsd12.0-kmod in order to get OpenCL recognize my GPU.
The problem is, that module only works if it's built from ports and crashes when it's installed from pkg.
The other issue is for number of reasons I can't install it from ports collection.
When I asked about it SirDice said:
Packages are being built for 12.1 because it's still supported. This support will end at the end of this month (https://www.freebsd.org/security/#sup). Once 12.1 is end-of-life packages will get built for 12.2. Almost all of the 12.1 packages don't cause problems when installing them on 12.2, the DRM driver is one of a few that's known to cause issues.
So I waited for 12.2 packages to get built and It got build. http://beefy2.nyi.freebsd.org/build.html?mastername=122amd64-quarterly&build=563981

I updated pkg with pkg update -f and pkg upgrade -f.

And installed it with pkg install drm-fbsd12.0-kmod and loaded it with kldload /boot/modules/radeonkms.ko and... It still crashes.

At this point I don't know what to do besides change my server's OS.

How can I solve this?

Edit: When I uninstall that package a bunch of errors show up:
Code:
...
kldxref: //boot/modules/radeon_BONAIRE_smc_bin.ko: file has no contents
kldxref: //boot/modules/radeon_BONAIRE_uvd_bin.ko: file has no contents
kldxref: //boot/modules/radeon_HAWAII_smc_bin.ko: file has no contents
kldxref: //boot/modules/radeon_SUMO_uvd_bin.ko: file has no contents
kldxref: //boot/modules/radeon_TAHITI_uvd_bin.ko: file has no contents
kldxref: //boot/modules/radeon_bonaire_k_smc_bin.ko: file has no contents
kldxref: //boot/modules/radeon_bonaire_smc_bin.ko: file has no contents
kldxref: //boot/modules/radeon_bonaire_uvd_bin.ko: file has no contents
kldxref: //boot/modules/radeon_hawaii_k_smc_bin.ko: file has no contents
kldxref: //boot/modules/radeon_hawaii_smc_bin.ko: file has no contents
kldxref: //boot/modules/radeon_hawaii_uvd_bin.ko: file has no contents
kldxref: //boot/modules/radeon_kabini_uvd_bin.ko: file has no contents
kldxref: //boot/modules/radeon_kaveri_uvd_bin.ko: file has no contents
kldxref: //boot/modules/radeon_mullins_uvd_bin.ko: file has no contents

Thanks everyone in this thread for helping me out but I have run out of time to solve this issue and ,as much as I don't want, I have to switch to a different OS.
I am marking this thread as solved, as I can't provide more information.
Have a good evening (for UTC).
 
Back
Top