KLD i915kms.ko depends on kernel -not available or version mismatch. reddit / freebsd ---------------------------------------------------------------------- loziomario · 2022-01-16 23:59 Hello to everyone. I've just upgraded FreeBSD marietto 13.0-RELEASE-p6 to 14-CURRENT ; it seems that almost everything has been upgraded correctly,except for the driver "i915kms.ko" that has not been accepted,so I can't use Xorg,because it is the driver of the default graphic card that I have,the "CoffeeLake-S GT2 \[UHD Graphics 630\]" ; how can I fix this error ? ​ My xorg.conf sounds like this : ​ Identifier  "Card0" Driver      "intel" BusID       "PCI:0:2:0" Where 0:2:0 is my default graphic card : vgapci0@pci0:0:2:0: class=0x030000 rev=0x02 hdr=0x00 vendor=0x8086 device=0x3e98 subvendor=0x1458 subdevice=0xd000 vendor = 'Intel Corporation' device = 'CoffeeLake-S GT2 [UHD Graphics 630]' class = display subclass = VGA ​ This is how I have upgrade it : ​ # git clone https://git.FreeBSD.org/src.git /usr/src # cd /usr/src # make -j4 buildworld # make -j4 kernel # shutdown -r now # etcupdate -p # cd /usr/src # make installworld # etcupdate -B # shutdown -r now ​ https://preview.redd.it/doa4wflm15c81.jpg?width=1152&format=pjpg&auto= webp&s=675ddb13be560610cd0f40934ced559e3284c916 https://preview.redd.it/o58rxilm15c81.jpg?width=1152&format=pjpg&auto= webp&s=bceb40ee04da420ffb7113fb514345113daf714b ---------------------------------------------------------------------- DonovanNagel · 2022-01-17 00:26 Rebuild it. ---------------------------------------------------------------------- loziomario · 2022-01-17 00:28 how ? give me some material where to study and learn. Better if it is not saturated with informations. I want to get straight to the point. ---------------------------------------------------------------------- DonovanNagel · 2022-01-17 00:32 Did you install `drm-kmod` with `pkg`? Try uninstalling it and building the port instead, so it matches your current kernel version. ---------------------------------------------------------------------- edthesmokebeard · 2022-01-17 02:55 What compelling reason is there to run pre-release versions? ---------------------------------------------------------------------- grahamperrin · 2022-01-17 06:39 Briefly: 1. as root 2. `pkg delete drm-kmod drm-fbsd13-kmod gpu-firmware-kmod` 3. `cd /usr/ports/` 4. `git pull` 5. `cd graphics/drm-devel-kmod` 6. `make install` 7. `make clean` 8. `cd ../gpu-firmware-kmod` 9. `make install` 10. `make clean` 11. `kldload i915kms` This assumes that: * you previously used Git for the ports tree * you would like to participate in developmental testing of the superior driver for graphics – `drm-devel-kmod`. If the kernel panics, occasionally, it might be this, for which there are two patches: * FreeBSD bug [261166 – LinuxKPI kernel panics: mi_switch: switch in a critical section – 14.0-CURRENT main-n252381-75d20a5e386 (2022-01- 11)](https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261166) ---------------------------------------------------------------------- grahamperrin · 2022-01-17 06:44 For many people, not necessarily /u/loziomario, there is a wish for Wi-Fi to work. For others, not /u/loziomario, there is a requirement for FreeBSD to boot the computer. From posts elsewhere, we know that /u/loziomario does like to experiment. ---------------------------------------------------------------------- loziomario · 2022-01-17 09:05 exactly. I've installed it on another disk,to play / experiment with it. ---------------------------------------------------------------------- [deleted] · 2022-01-17 09:28 [deleted] ---------------------------------------------------------------------- loziomario · 2022-01-17 12:18 everything works great until now. thanks. ---------------------------------------------------------------------- Get0utCl0wn · 2022-01-19 06:02 I'm running 13.0 release. Have a look at the /boot/defaults/loader.conf file. Had to comment out line 106 containing the "blacklist drm, drm2, radeonkms, i915kms, and amdgpu" before X would start. Hope this helps! ---------------------------------------------------------------------- grahamperrin · 2022-01-19 07:20 > `/boot/defaults/loader.conf` From , with added emphasis: > … default settings -- **do not** change *this* file. Instead, write your requirements into: `/boot/loader.conf` ---------------------------------------------------------------------- grahamperrin · 2022-01-19 07:23 > If the kernel panics, occasionally, Fixes were committed to the `main` branch a few hours ago. ---------------------------------------------------------------------- Get0utCl0wn · 2022-01-19 15:01 On this end, the difference between it working or not was changing that file. ---------------------------------------------------------------------- grahamperrin · 2022-01-20 00:26 I don't doubt it, however you should instead edit `/boot/loader.conf`. (A future operating system update, or major upgrade, might overwrite the defaults file.) ---------------------------------------------------------------------- Get0utCl0wn · 2022-01-20 14:28 Thanks tips.