Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Not able to proceed in "Building EVDI kernel module with DKMS" #142

Closed
situsnow opened this issue Aug 1, 2018 · 10 comments
Closed

Not able to proceed in "Building EVDI kernel module with DKMS" #142

situsnow opened this issue Aug 1, 2018 · 10 comments

Comments

@situsnow
Copy link

situsnow commented Aug 1, 2018

Hi,
Really appreciate if someone could help this issue. I run the "displaylink-debian.sh" script and everything seems working fine until it hanged in "Building EVDI kernel module with DKMS" for really long time. Below is the terminal history after I run "sudo ./displaylink-debian.sh"

--------------------------- displaylink-debian ----------------------------

DisplayLink driver installer for Debian based Linux distributions:

  • Debian GNU/Linux
  • Ubuntu
  • Elementary OS
  • Linux Mint
  • Kali Linux
  • Deepin

Options:

[I]nstall
[U]ninstall
[R]e-install
[Q]uit

Select a key: [i/u/r/q]: i


Checking dependencies

unzip is installed
linux-headers-4.15.0-29-generic is installed
dkms is installed
lsb-release is installed
linux-source is installed

Platform requirements satisfied, proceeding ...


Please read the Software License Agreement
available at http://www.displaylink.com/downloads/file?id=1123
and accept here: [Y]es or [N]o: Y

Downloading DisplayLink Ubuntu driver:

--2018-08-01 10:36:20-- http://www.displaylink.com/downloads/file?id=1123
Resolving www.displaylink.com (www.displaylink.com)... 52.208.143.240, 54.72.7.162, 34.252.223.12, ...
Connecting to www.displaylink.com (www.displaylink.com)|52.208.143.240|:80... connected.
HTTP request sent, awaiting response... 303 See Other
Location: http://assets.displaylink.com/live/downloads/software/f1123_DisplayLink%20USB%20Graphics%20Software%20for%20Ubuntu%204.2.zip?AWSAccessKeyId=AKIAJHGQWPVXWHEDJUEA&Expires=1533084445&Signature=jEqYLlFC6E%2BKEPd9cDEHgK4Vls4%3D [following]
--2018-08-01 10:36:21-- http://assets.displaylink.com/live/downloads/software/f1123_DisplayLink%20USB%20Graphics%20Software%20for%20Ubuntu%204.2.zip?AWSAccessKeyId=AKIAJHGQWPVXWHEDJUEA&Expires=1533084445&Signature=jEqYLlFC6E%2BKEPd9cDEHgK4Vls4%3D
Resolving assets.displaylink.com (assets.displaylink.com)... 52.218.104.162
Connecting to assets.displaylink.com (assets.displaylink.com)|52.218.104.162|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14112877 (13M) [application/octet-stream]
Saving to: 'DisplayLink_Ubuntu_4.2.zip’

DisplayLink_Ubuntu_4.2.zip 100%[================================================================>] 13.46M 356KB/s in 76s

2018-08-01 10:37:38 (183 KB/s) - 'DisplayLink_Ubuntu_4.2.zip’ saved [14112877/14112877]


Preparing for install

Archive: DisplayLink_Ubuntu_4.2.zip
inflating: 4.2/displaylink-driver-4.2.29.run
inflating: 4.2/LICENSE
creating: 4.2/__MACOSX/
inflating: 4.2/__MACOSX/._LICENSE
Creating directory displaylink-driver-4.2.29
Verifying archive integrity... 100% All good.
Uncompressing DisplayLink Linux Driver 4.2.29 100%


Installing driver version: 4.2

DisplayLink Linux Software 4.2.29 install script called: install
Distribution discovered: Ubuntu 18.04 LTS
Installing
Configuring EVDI DKMS module
Registering EVDI kernel module with DKMS
Building EVDI kernel module with DKMS

@lthiery
Copy link

lthiery commented Aug 1, 2018

Interest over here as well. Same configuration.

@AdnanHodzic
Copy link
Owner

Could you please confirm if this issue is not the same as: #114?

Also, is this a new install of displaylink-debian? If not, please run "uninstall" reboot and try "install" again.

Another issue which looks similar but was resolved by using latest driver version at the time: #22

@situsnow
Copy link
Author

situsnow commented Aug 2, 2018

@AdnanHodzic Thank you very much for your reply. Unfortunately, I don't think they are similar as I don't even have error log to check what is the issue. The installation just hanged after it printed "Building EVDI kernel module with DKMS". I tried to leave it overnight but my computer hanged the next morning and I had to reboot it by force. I am really new to Linux, could you kindly advise if I can check intermediate logs anywhere? Sorry for the troubles and thank you again for your kind suggestions.

@AdnanHodzic
Copy link
Owner

@situsnow no worries, have you tried "uninstall" > reboot > "install" > reboot and if that does anything for you?

@situsnow
Copy link
Author

situsnow commented Aug 3, 2018

@AdnanHodzic Yes, I tried "uninstall">"reboot">"install" more than 24 hours ago and still hanging.

@dktoao
Copy link

dktoao commented Aug 14, 2018

I am also having this issue on Ubuntu 18.04. It also fails in the same way if I try to download and install the official 4.2 install script from DisplayLink as well.

EDIT: I thought I has secure boot disabled (because I thought I had checked the option when I installed), but somehow it was still enabled. Disabling secure boot fixes the hang.

@situsnow
Copy link
Author

Hi all,
I fixed the issue today by injecting the correct port - thunderbolts (yes, I got the wrong port for all these whole times in the stupidest way as there's also a USB embedded with the cable!!!) and upgraded the driver, things work - I don't even have to run any script.
Thank you very much for your kind help and I hope no one will make the same mistake as me :(

@AdnanHodzic
Copy link
Owner

@situsnow glad you were able to fix the problem.

@dktoao I'll update the ReadMe with this, as most of the problems are related to people not disabling the secure boot. Although it's mentioned in Post Installation Guide most people miss it.

@smoquet
Copy link

smoquet commented Jan 16, 2019

"sudo apt-get install linux-signed-generic-lts-utopic"
worked for me!
see: https://support.displaylink.com/knowledgebase/articles/684649

@AdnanHodzic
Copy link
Owner

I've just merged displaylink-5 branch with master which introduces big changes, among which are support for yesterday released DisplayLink 5.1 driver. Disabling modesetting as part of displaylink-debian as now all of it should be happening on EVDI level. I've included few more changes.

Regardless, please pull latest (git pull) changes on master and run sudo ./displaylink-debian.sh --install

After this everything should be working as expected and with this said I'm closing the issue. If the issue still persists, re-open the issue and include output of sudo ./displaylink-debian.sh --debug command.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants