librealsense icon indicating copy to clipboard operation
librealsense copied to clipboard

Manual patches for Kernel 6.8 Jammy and Noble

Open Arun-Prasad-V opened this issue 1 year ago • 3 comments
trafficstars

Tracked by RSDSO-19755

Arun-Prasad-V avatar Aug 06 '24 04:08 Arun-Prasad-V

Jammy patches working. Tested with 585. Noble patches are not getting applied. Debugging it.

Arun-Prasad-V avatar Aug 06 '24 04:08 Arun-Prasad-V

@dmipx please review and help Arun understand why it doesn’t work. @Arun-Prasad-V please attach dmesg output on the problematic formats

Nir-Az avatar Aug 06 '24 08:08 Nir-Az

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.

dmipx avatar Aug 18 '24 07:08 dmipx

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? I believe it was tested on U24 by Arun.

Nir-Az avatar Aug 28 '24 20:08 Nir-Az

@Arun-Prasad-V looks like a rebase is required to fix CI issues

Nir-Az avatar Sep 03 '24 10:09 Nir-Az

I tested the developed branch on Ubuntu 22.04, and it works fine; thanks for the fix!

andrejpan avatar Sep 10 '24 12:09 andrejpan

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

betelgeuse009 avatar Nov 24 '24 14:11 betelgeuse009

Edit: problem solved after disabling secure boot

betelgeuse009 avatar Nov 24 '24 14:11 betelgeuse009