-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Manual patches for Kernel 6.8 Jammy and Noble #13236
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
Manual patches for Kernel 6.8 Jammy and Noble #13236
Conversation
|
Jammy patches working. Tested with 585. |
|
@dmipx please review and help Arun understand why it doesn’t work. |
| # As a precausion start with unloading the core uvcvideo: | ||
| try_unload_module uvcvideo | ||
| try_unload_module videobuf2_v4l2 | ||
| [ ${k_maj_min} -ge 608 ] && try_unload_module videobuf2_memops |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For some reason, "videobuf2_memops" is not getting removed. So removing manually.
Reference output:
$ lsmod | grep video
videobuf2_memops 16384 0
videobuf2_common 81920 1 videobuf2_memops
mc 81920 1 videobuf2_common
video 73728 1 nouveau
wmi 28672 6 video,intel_wmi_thunderbolt,gigabyte_wmi,wmi_bmof,mxm_wmi,nouveau
|
|
||
| # Get the required tools and headers to build the kernel | ||
| sudo apt-get install linux-headers-generic linux-headers-$LINUX_BRANCH build-essential git bc -y | ||
| sudo apt-get install linux-headers-$LINUX_BRANCH build-essential git bc -y |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed installing linux-headers-generic. Since, it is in development, new versions are released regularly and it leads to installing a kernel version greater than the local kernel version. For example, default kernel for U24 is 6.8.0-31 and this command installs 6.8.0-40.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work Arun!
@dmipx can you also review please?
Thanks
|
I suggest to verify on one of our NUC setups. They have specific default media setup with loaded sensor driver which conflicts on patched modules loading. |
So you recommend updating the kernel on one of our U22 NUCs? |
fc314cd to
73779d6
Compare
|
@Arun-Prasad-V looks like a rebase is required to fix CI issues |
73779d6 to
33cd065
Compare
33cd065 to
5110137
Compare
|
I tested the developed branch on Ubuntu 22.04, and it works fine; thanks for the fix! |
|
Manual patching from development branch failed with Ubuntu 22.04.01 , kernel release 6.8.0-49-generic . Error code Patched kernels modules were created successfully
Replacing uvc -
Applying the patched module ... modprobe: ERROR: could not insert 'uvc': Key was rejected by service
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 uvc module was reloaded |
|
Edit: problem solved after disabling secure boot |
Tracked by RSDSO-19755