You are not logged in.
Pages: 1
Yesterday I tried to get Displayport working. For this I needed the package evdi.
The issue here is that it appears I have 2 kernels.
$ uname -a
Linux bram-laptop 6.4.15-hardened1-1-hardened #1 SMP PREEMPT_DYNAMIC Tue, 12 Sep 2023 17:08:22 +0000 x86_64 GNU/Linux
$ pacman -Q linux
linux 6.5.3.arch1-1
$ ls /lib/modules/6.
6.4.15-hardened1-1-hardened/ 6.5.3-arch1-1/While trying to install this Displayport package, evdi gets installed against another kernel version then the Displayport package is trying to find the dependency.
I have checked that /boot is empty when unmounted, I have reinstalled linux package, I have also rebuilded it.
Any suggestions as to what is going on and how I can fix this?
Offline
You seem to have two kernels installed, linux and linux-hardened and you're currently booting linux-hardened.
Offline
You seem to have two kernels installed, linux and linux-hardened and you're currently booting linux-hardened.
So how do I go about my linux system to use 1 and only 1?
And not go for 1 package to kernel 1 and for second package to kernel 2?
Basically how do I deduplicate them? Because now evdi and displayport both use the other one
Offline
if you want the module compiled for every kernel make sure you have the headers package for each kernel installed, i.e. linux-headers and linux-hardened-headers so that dkms can build the module.
If you just want to use one kernel remove the kernel you don't want and switch your boot loader to boot from the kernel you want. Also note that hardened kernels by definition of what they want to be often restrict what third party modules can do so this might be somewhat knowingly broken in that case, potentially.
Last edited by V1del (2023-09-14 13:57:15)
Online
Pages: 1