intel graphics regression? between r332432 and r333982

Jean-Sébastien Pédron dumbbell at FreeBSD.org
Sat Jun 16 09:13:49 UTC 2018


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20180616/32db32da/attachment.sig>


More information about the freebsd-current mailing list