Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Oct 2023 21:01:30 +0200
From:      Philipp-Joachim Ost <pj@smo.de>
To:        stable@freebsd.org
Subject:   14-Stable: Cannot load DRM kernel module
Message-ID:  <a7dc76f6-a0e4-629a-7e31-64c802d9f70c@smo.de>

next in thread | raw e-mail | index | archive | help
Hi everyone,

yesterday, I updated to stable/14 and now I'm facing the problem that I
cannot load the DRM kernel modules.

After upgrading, I replaced graphics/drm-510-kmod with
graphics/drm-515-kmod. I have the following DRM kmod related ports
installed:
drm-515-kmod-5.15.118
gpu-firmware-radeon-kmod-cedar-20220511

Upon loading radeonkms.ko, I get the following output in dmesg:

KLD drm.ko: depends on linuxkpi_hdmi - 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/radeonkms.ko - unsupported file type

I have the following kernel modules in /boot/modules
# ls -ltr /boot/modules
total 6987
-r-xr-xr-x  1 root wheel  501032 Jul 21 20:24 vboxdrv.ko
-r-xr-xr-x  1 root wheel   15840 Jul 21 20:24 vboxnetadp.ko
-r-xr-xr-x  1 root wheel   34328 Jul 21 20:24 vboxnetflt.ko
-r-xr-xr-x  1 root wheel   18000 Oct 20 14:31 radeon_CEDAR_me_bin.ko
-r-xr-xr-x  1 root wheel   16992 Oct 20 14:31 radeon_CEDAR_pfp_bin.ko
-r-xr-xr-x  1 root wheel   15584 Oct 20 14:31 radeon_CEDAR_rlc_bin.ko
-r-xr-xr-x  1 root wheel   36400 Oct 20 14:31 radeon_CEDAR_smc_bin.ko
-r-xr-xr-x  1 root wheel   51072 Oct 20 20:58 dmabuf.ko
-r-xr-xr-x  1 root wheel   92136 Oct 20 20:58 ttm.ko
-r-xr-xr-x  1 root wheel  891984 Oct 20 20:58 drm.ko
-r-xr-xr-x  1 root wheel 8581760 Oct 20 20:58 amdgpu.ko
-r-xr-xr-x  1 root wheel 2394600 Oct 20 20:58 radeonkms.ko
-r-xr-xr-x  1 root wheel 3013712 Oct 20 20:58 i915kms.ko
-rw-r--r--  1 root wheel   11396 Oct 20 20:58 linker.hints
#

I'm currently running a GENERIC kernel with added 'device iic'. uname -a
reports
FreeBSD x.y.z.de 14.0-STABLE FreeBSD 14.0-STABLE #1
stable/14-n265543-68513b4102dc-dirty: Fri Oct 16:38:55 CEST 2023
root@x.y.z.de:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64

Where do I get the missing linuxkpi_hdmi kernel module from? What am I
missing here? I would appreciate it if somebody could point me in the
right direction.

Thanks!
Philipp



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a7dc76f6-a0e4-629a-7e31-64c802d9f70c>