I was running Virtual Box on Leap 15.4 on an UEFI machine (secure boot) with backport kernel 6.1.9-lp153.2. I had enrolled a Machine User Key, and after build of the kernels vboxdrv.ko etc., Virtual box 7.0.4 worked fine.
After a kernel update, kernel modules could not be loaded. To sign the kernels, I ran:
thank you very much for the fast reply. I am afraid, I did not really get what to do about these 6.2.1 lockdown patches. Shall I install some patches? How does it work? I followed the link, but I did not understand what to do…
How can I get back to the older kernel? I would like to keep secure boot. I am sorry, I am not so experienced with backport kernel stuff…
Assuming working kernel is still present on your system, you could configure zypper to keep it (see SDB:Keep multiple kernel versions - openSUSE Wiki) and set it as default in bootloader configuration. If kernel was already purged, you could rollback to a previous snapshot if you are using btrfs.
thanks again - I modified grub.cfg and boot to 6.1.9 now. Everything works.
Still I do not understand the problem with 6.2.2: is it a bug? Will there be an updated kernel version that allows me to verify the kernel modules?
By the way: although I am using btrfs, there was no snapshot for the backport kernel 6.1.9 - the latest one before 6.2.2 was 5.14.21. Do you have an idea, why the kernel update from 6.1.9 to 6.2.2 did not produce a snapshot?