Following on from topic 185438 [openSuSE 15.6 not hibernating any more], I have since updated to the Backport Kernel 6.15 (to try to fix Sound and Dock issues) and the hibernation option has disappeared, again.
But # echo 1 > /sys/firmware/efi/secret-key/regenfails because there is no such directory - indeed the parent directory is also gone:
Yes. This patch was never accepted upstream, so it is dropped in the current kernel. Not sure if it is still present in Leap 16.0 (I lost track where sources for Leap 16 are now).
Please can you advise how to persuade the kernel that it supports hibernation again? Enrolling the key in MOK was essential to get it to boot, but does not seem to have helped with hibernation.
I have searched everywhere for an equivalent ( to su -; echo 1 > /sys/firmware/efi/secret-key/regen ) for kernel 6.15 and I am stumped.
I t seems the issue is that the above relates to the
patch that allows generating and storing as UEFI variable a secret key used to encrypt hibernation image
(quoting from topic 184133) [in 15.6 stock aka 6.4] being missing in the 6.15 backport kernel. So my options seem to be:
Revert to 15.6 Stock (6.4) kernel, breaking sound, dock support etc. on this laptop but regaining hibernation.
Keep 6.15 and live without hibernation but enjoying the many other fixes
Build my own kernel with the patch, though I assume I somehow have to sign it & enrol the signature in MOK before it will work with secure boot? And is the patch likely to be usable with 6.15? Maybe it’s not present for a good reason…