DisplayLink Forum

DisplayLink Forum (https://displaylink.org/forum/index.php)
-   Linux and Open Source (https://displaylink.org/forum/forumdisplay.php?f=29)
-   -   Ubuntu 21.04: could not insert 'evdi': Exec format error (https://displaylink.org/forum/showthread.php?t=67829)

mmehl 08-04-2021 10:37 PM

Ubuntu 21.04: could not insert 'evdi': Exec format error
 
Hi all,

I'm not able to use my monitor via DisplayLink on Ubuntu 21.04.

I installed "DisplayLink USB Graphics Software for Ubuntu5.4-EXE.zip"
It seems the evdi module is not loaded by the kernel.

I see the following errors in syslog:
Code:

Aug  4 18:48:25 mZBOX systemd[1]: displaylink-driver.service: Scheduled restart job, restart counter is at 357.
Aug  4 18:48:25 mZBOX systemd[1]: Stopped DisplayLink Driver Service.
Aug  4 18:48:25 mZBOX systemd[1]: Starting DisplayLink Driver Service...
Aug  4 18:48:25 mZBOX kernel: [ 2015.120007] module: x86/modules: Skipping invalid relocation target, existing value is nonzero for type 1, loc 00000000b1e3d105, val ffffffffc1e48e3e
Aug  4 18:48:25 mZBOX sh[45704]: modprobe: ERROR: could not insert 'evdi': Exec format error
Aug  4 18:48:25 mZBOX sh[45730]: Module evdi/1.9.1 already installed on kernel 5.11.0-25-generic/x86_64
Aug  4 18:48:25 mZBOX kernel: [ 2015.349287] module: x86/modules: Skipping invalid relocation target, existing value is nonzero for type 1, loc 000000006a9a04e2, val ffffffffc1e60e3e
Aug  4 18:48:25 mZBOX sh[45705]: modprobe: ERROR: could not insert 'evdi': Exec format error
Aug  4 18:48:25 mZBOX systemd[1]: displaylink-driver.service: Control process exited, code=exited, status=1/FAILURE
Aug  4 18:48:25 mZBOX systemd[1]: displaylink-driver.service: Failed with result 'exit-code'.
Aug  4 18:48:25 mZBOX systemd[1]: Failed to start DisplayLink Driver Service.

Some details about my configuration:

Code:

uname -a
Linux mZBOX 5.11.0-25-generic #27-Ubuntu SMP Fri Jul 9 23:06:29 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

If you need more details, I'll be happy to provide them.

barter 08-05-2021 08:17 AM

Please run the installer with uninstall param, this will get rid of the evdi you had installer previously:

Quote:

Aug 4 18:48:25 mZBOX sh[45730]: Module evdi/1.9.1 already installed on kernel 5.11.0-25-generic/x86_64
and then reboot, and run installer again. It should be fine from there. It was for me :)

mmehl 08-05-2021 10:31 AM

Thanks for this hint. I tried this already several times, but it does not solve the problem.

barter 08-05-2021 04:47 PM

ok, so if you still have another evdi loaded, can you make sure you do not have `evdi-dkms` installed and then repeat uninstall + install procedure?

mmehl 08-05-2021 05:58 PM

This was one of my tests when I had the problem with DisplayLink: I installed evdi-dkms, but this also failed when I tried "modprobe evdi".

I removed evdi-dkms, but the problem with DisplayLink remains.

Package status is not "installiert":
Code:

mmehl@mZBOX:~$ apt list evdi-dkms
Auflistung… Fertig
evdi-dkms/hirsute,hirsute 1.9.1-1ubuntu1 all


barter 08-06-2021 08:28 AM

I know it is not helping but decided to post this anyway.
I have checked the same kernel you have installed and I can reproduce the same issue you have posted. So I'd say this is a bug that needs to be reported.

max1 08-10-2021 01:22 AM

Similar Issue
 
Hello,

I am having a similar issue with my Dell D6000 that uses DisplayLink on Pop OS 21.4....
I get the 5.4 driver for ubuntu instaled just fine and I can get 2 monitors through the dock to work up until I change one of their orientations then the system crashes.. or sometimes they do not connect at all and the system crashes right away.

Any headway with your issue?

Thank You!



Quote:

Originally Posted by mmehl (Post 92379)
Hi all,

I'm not able to use my monitor via DisplayLink on Ubuntu 21.04.

I installed "DisplayLink USB Graphics Software for Ubuntu5.4-EXE.zip"
It seems the evdi module is not loaded by the kernel.

I see the following errors in syslog:
Code:

Aug  4 18:48:25 mZBOX systemd[1]: displaylink-driver.service: Scheduled restart job, restart counter is at 357.
Aug  4 18:48:25 mZBOX systemd[1]: Stopped DisplayLink Driver Service.
Aug  4 18:48:25 mZBOX systemd[1]: Starting DisplayLink Driver Service...
Aug  4 18:48:25 mZBOX kernel: [ 2015.120007] module: x86/modules: Skipping invalid relocation target, existing value is nonzero for type 1, loc 00000000b1e3d105, val ffffffffc1e48e3e
Aug  4 18:48:25 mZBOX sh[45704]: modprobe: ERROR: could not insert 'evdi': Exec format error
Aug  4 18:48:25 mZBOX sh[45730]: Module evdi/1.9.1 already installed on kernel 5.11.0-25-generic/x86_64
Aug  4 18:48:25 mZBOX kernel: [ 2015.349287] module: x86/modules: Skipping invalid relocation target, existing value is nonzero for type 1, loc 000000006a9a04e2, val ffffffffc1e60e3e
Aug  4 18:48:25 mZBOX sh[45705]: modprobe: ERROR: could not insert 'evdi': Exec format error
Aug  4 18:48:25 mZBOX systemd[1]: displaylink-driver.service: Control process exited, code=exited, status=1/FAILURE
Aug  4 18:48:25 mZBOX systemd[1]: displaylink-driver.service: Failed with result 'exit-code'.
Aug  4 18:48:25 mZBOX systemd[1]: Failed to start DisplayLink Driver Service.

Some details about my configuration:

Code:

uname -a
Linux mZBOX 5.11.0-25-generic #27-Ubuntu SMP Fri Jul 9 23:06:29 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

If you need more details, I'll be happy to provide them.


mmehl 08-15-2021 10:16 AM

Issue added to evdi project
 
I've now created an issue in the evdi project:
see https://github.com/DisplayLink/evdi/issues/301

mmehl 08-22-2021 10:11 PM

Problem fixed
 
Problem is fixed. Kernel 5.11.0-31-generic is now available and works as expected.


All times are GMT. The time now is 11:51 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2021, vBulletin Solutions, Inc.