-
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
installation qestion ------ could not insert 'videodev' #1225
Comments
Hello @GITSHOHOKU , the error may indicate that the patched module kernel was build for a version different from the currently loaded kernel. Make sure to follow the instructions and update Ubuntu before applying the kernel patch. Additionally, please provide the following data:
|
I tried it again and I am sure I follow the step to update ubuntu ,
Handle videodev : 2.last 50 lines of dmesg :
|
the problem seems to be indicated by this line |
Hello @GITSHOHOKU , I was not able to reproduce the error with two 4.4.0-116-kernel based desktops, but then I found this link that indicates that some previous decision in Linux tree was reverted and a patch has been removed from the kernel tree (see this for kernel 4.4). I will work to establish a repro environment and update the thread when the fix is set. In the meanwhile the alternatives are:
|
Thanks for your reply ev-mp ,I ues
depmod.... DKMS: install completed. |
Hello @GITSHOHOKU , the warning you receive is a known issues as DKMS tries to install both for 4.4 and 4.10 kernels, (and fails for 4.10, which is not current). We are currently testing an updated DKMS that will remove this inconvenience. But the DKMS for 4.4 would be installed by then.
Then run |
Thanks for your Handle videodev : Handle uvcvideo : Handle hid-sensor-accel-3d : Handle hid-sensor-gyro-3d : Script has completed. Please consult the installation guide for further instruction. |
And when I did patch again and ran realsense-viewer code-light depth sensor I got
|
Additional information for the problem "modprobe: ERROR: could not insert 'videodev': The succeeded result of the script ./scripts/patch-realsense-ubuntu-lts.sh:
|
In my case, the Secure Boot also solved my problem! Thanks! |
Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):
All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)
Issue Description
<Describe your issue / question / feature request / etc..>
I had installed the SDK on Intel NUC ,just only followed steps here https://github.com/IntelRealSense/librealsense/blob/development/doc/installation.md .The error never showed when I installed on my own PC. When I installed it at the last step ./scripts/patch-realsense-ubuntu-xenial.sh the error showed as below:
Patched kernels modules were created successfully
Handle videodev :
Applying the patched module ... modprobe: ERROR: could not insert 'videodev': Exec format error
Failed to insert the patched module. Operation is aborted, the original module is restored
Verify that the current kernel version is aligned to the patched module version
The original videodev module was reloaded
Anybody know why? Please help me with this problem.Did it because the platform change?
The text was updated successfully, but these errors were encountered: