Re: intel graphics regression? between r332432 and r333982

From: Jean-Sébastien Pédron <dumbbell_at_FreeBSD.org>
Date: Sat, 16 Jun 2018 11:13:35 +0200
On 06.06.2018 00:04, Anton Shterenlikht wrote:
> I built graphics/drm-next-kmod
> and added kld_list="/boot/modules/i915kms.ko"
> to /etc/rc.conf.
> 
> However, on boot I see:
> 
> KLD drm.ko: depends on kernel - not available or version mismatch
> linker_load_file: /boot/modules/drm.ko - unsupported file type
> KLD i915kms.ko: depends on drmn - not available or version mismatch
> linker_load_file: /boot/modules/i915kms.ko - unsupported file type

Hi!

You need to make sure that the base sources you use to build
graphics/drm-next-kmod match the kernel you are running. And currently,
this is not the case according to the error.

> I can still load these modules manually:
> 
> root_at_z:~ # kldload drm
> root_at_z:~ # kldload i915kms

When you only specify the module name, as opposed the the absolute path
like in /etc/rc.conf, you load the module compiled with the kernel (e.g.
/boot/kernel/i915kms.ko), which is different from the one installed by
drm-next-kmod. And the one built with the kernel doesn't support your GPU.

-- 
Jean-Sébastien Pédron
The FreeBSD Project


Received on Sat Jun 16 2018 - 07:13:49 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:16 UTC