-
Notifications
You must be signed in to change notification settings - Fork 201
Description
I've tried a number of permutations, and can't get the driver to load.
First, the latest package available from https://github.com/displaylink-rpm/displaylink-rpm will not build during package installation. I found that there is a bug with this driver on the latest Rocky 9 kernel which was resolved in #544. I pulled that patch and respun the RPM to include the patch; the driver would then build properly, but would not load.
Then I removed the RPM and tried using the latest driver directly. Cloned this repo, built the head of main (currently 5d708d1) via modules/dkms_install.sh, which successfully built and installed the driver. Following the rebooting to register the new key, the systemd-modules-load service was failing:
% systemctl status -l systemd-modules-load.service
× systemd-modules-load.service - Load Kernel Modules
Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static)
Active: failed (Result: exit-code) since Thu 2025-12-11 11:05:01 PST; 14min ago
Docs: man:systemd-modules-load.service(8)
man:modules-load.d(5)
Main PID: 1056 (code=exited, status=1/FAILURE)
CPU: 15ms
Dec 11 11:05:01 roundhouse systemd[1]: Starting Load Kernel Modules...
Dec 11 11:05:01 roundhouse systemd-modules-load[1056]: Failed to insert module 'evdi': Exec format error
Dec 11 11:05:01 roundhouse systemd-modules-load[1056]: Module 'msr' is built in
Dec 11 11:05:01 roundhouse systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
Dec 11 11:05:01 roundhouse systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
Dec 11 11:05:01 roundhouse systemd[1]: Failed to start Load Kernel Modules.
Trying to load the module manually gives:
% sudo modprobe evdi
[sudo] password for trinity-q:
modprobe: ERROR: could not insert 'evdi': Exec format error
Checking dmesg, I get:
[ 968.792951] module evdi: .gnu.linkonce.this_module section size must match the kernel's built struct module size at run time