-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Ubuntu 18.04 #1700
Comments
Hello @feliwir , In the meanwhile you're welcomed to use the kernel patch for Ubuntu 18 from WIP branch |
[Realsense Customer Engineering Team Comment] Is the issue resolved? You can also refer to below for Ubuntu 18 installation instruction. |
@RealSense-Customer-Engineering |
Hello @feliwir , Please follow the guide to build kernel patches and update if you have issues. |
Hey @ev-mp ,
|
Please post the kernel log ( |
@feliwir , thanks for the log. Are you using Ubuntu 18.04 or Ubuntu 18.10 distribution? |
Hey @ev-mp , I am using Ubuntu 18.04. I downloaded the .iso from the official website after it was officially released (so no beta version whatsoever) gcc -v
cat /sys/devices/system/cpu/vulnerabilities/spectre_v2
grep CONFIG_RETPOLINE /boot/config* /proc/config.gz
|
I see recognize some differences:
while I have 2 Additionally
vs (local version) We will look into this to understand what are the requirements/constrain to use gcc8-based tool-chain. |
Hey @ev-mp, |
I can't recall where, but I remember finding instructions online for how to
install multiple versions of gcc side by side. Could that be a solution for
you?
|
The knowledge of AMD Ryzen is important, it can explain the differences in kernel's manifestation (vermagic string). Can you try to comment out this line , rerun the script and share the kernel log? |
This made no obvious difference to me. |
Also tried with gcc 7.3 which made no difference in the result |
Per the instructions contained in https://github.com/IntelRealSense/librealsense/blob/development/doc/installation.md It says to run the script: ./scripts/patch-realsense-ubuntu-lts.sh
The line first line correctly evaluates to bionic. The second line however evaluates to true as long as $UBUNTU_CODENAME isn't emtpy, and then it resets $ubuntu_codename to xenial. Then down on line 54, it pulls the xenial kernel rather than the bionic kernel from git://kernel.ubuntu.com. For me, after commenting out that if block (lines 35 to 40), the patch runs successfully. I have not yet finished the installation process to see if everything else works. Edit: Ubuntu 18.04, Kernel version: 4.15.0-22-generic. |
Hello @jecyrd , it is not directly related to the original issue, but
According to multiple resources (e.g. 1, 2 ) the operator Can you share the execution log for lines 34-40 when you run unmodified script ? (enable log by replacing |
Sorry @ev-mp. Suppose I didn't read the thread close enough. Though I was having the same modprobe error as feliwir and was avoiding starting a duplicate.
You are correct, I got it turned around. The behavior is as I described, just for the wrong reasons (see script output below). I think the issue is that the condition needs to edit: Suppose I should mention this is using the development branch for which the link on the intel getting started page links to. Output of unmodified script:
|
Hello @jecyrd ,
|
I'll also add that compilation of librealsense2, and several of the example programs ran without any issue once the patch completed successfully.
This is on a Dell XPS 13, 9343, BIOS A15. Let me know if you need any other information. |
I ran into the same modprobe error on PopOS 18.04.
For me My solution was simply setting an environment in the shell before executing the script:
Then it ran through smoothly. |
The solution from @compiaffe worked for me! |
[Realsense Customer Engineering Team Comment] Sill need any support for this topic? |
@RealSense-Customer-Engineering |
[Realsense Customer Engineering Team Comment] You're right. The DKMS package is not there yet. Will further check internally about its availability. |
[Realsense Customer Engineering Team Comment] |
[Realsense Customer Engineering Team Comment] If no other question for this issue, will close this first. If you still can re-open or create another ticket. |
Issue Description
Hello, the issue i am having that i am unable to update the kernel drivers to 4.15. Running the script gives me an error that kernel version 4.15 isn't supported. Since this is a LTS release it would be worth adding this kernel version in my opinion. It's also not possible for me to update the firmware because the debian repositories are down. Thanks!
The text was updated successfully, but these errors were encountered: