-
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
apt-get install librealsense2-dkms won't build on 5.11.0 / 20.04 #11106
Comments
Hi @dheera A RealSense user at #5366 who experienced the Bad return status for module build on kernel error message found that the solution in their particular case was to reinstall everything on a clean Ubuntu installation. You can remove all RealSense related DKMS packages from your computer with the command below:
|
Hello, I also encountered the same problem, is this because the kernel version is wrong? Because I noticed this "The Realsense [DKMS] kernel drivers package (librealsense2-dkms) supports Ubuntu LTS kernels 4.4, 4.8, 4.10, 4.13, 4.15, 4.18*, 5.0*, 5.3* and 5.4. Please refer to [Ubuntu Kernel Release Schedule] or further details." in "Linux Distribution".(https://github.com/IntelRealSense/librealsense/blob/master/doc/distribution_linux.md) |
Hi @EthanTwo2022 Kernel 5.11 is supported for source code builds of the 2.51.1 librealsense SDK. |
Hi @dheera and @EthanTwo2022 Do you require further assistance with this case, please? Thanks! |
Case closed due to no further comments received. |
Hi Marty, I have received the same error. Tried removing all Realsense libraries but the same error persists.
|
Hi @YXGuan Which computer / computing device are you installing librealsense from packages on, please (Raspberry Pi, Nvidia Jetson, desktop / laptop PC, etc). Thanks! |
Thanks for your prompt response Laptop Lenovo Carbon X1 Ubuntu 20.04 |
from /var/crash/librealsense2-dkms.0.crash:
|
The librealsense SDK does not support kernel 5.14 unfortunately. It supports the kernels either side of it, 5.13 and 5.15. If you are unable to change your kernel version then it is possible to bypass the kernel by building the SDK from source code with CMake using the RSUSB backend installation method, which is not dependent on Linux versions or kernel versions and does not need to have a kernel patch applied. Instructions for performing an RSUSB source code build can be found at #9931 (comment) |
Will try Thank you so much Marty! |
make.log contains:
The file
/var/lib/dkms/librealsense2-dkms/1.3.19/build/5.11.0/drivers/media/usb/uvc/Makefile
does not exist.The file
/var/lib/dkms/librealsense2-dkms/1.3.19/build/5.15.0/drivers/media/usb/uvc/Makefile
DOES exist.The text was updated successfully, but these errors were encountered: