The officially official Devuan Forum!

You are not logged in.

#1 2025-06-06 16:09:03

Marjorie
Member
From: Teignmouth, UK
Registered: 2019-06-09
Posts: 222  

Daedalus kernel upgrade from 6.1.0-35 to 6.1.0.37 breaks hibernate

I'm running Daedulus. I recently got an automated update from linux-image and linux-headers 6.1.0-35 to 6.1.0-37, however this breaks hibernate, or more accurately thaw as the machine hibernates seemingly successfully but doesn't thaw properly - I see the disk light flashing intermittently but it never achieves a thawed image, it's just blank. Stopping and restarting using the power button works but doesn't get me back the hibernated image.

Removing the 6-1.0-37 linux-image (and headers) reverts me back to 6.1.0-35 and hibernate works once again.

Attempting to jump over the issue by installing the latest backport kernel fails due to unmet dependencies.

So for now I've also put a hold on to stop 6-1.0-37 re-installing itself.

Has anyone else seen this behaviour or have a solution?

Or maybe I just need to wait for Excalibur and see if that solves the problem.

Offline

#2 2025-06-06 19:32:31

Duke Nukem
Member
Registered: 2018-11-07
Posts: 36  

Re: Daedalus kernel upgrade from 6.1.0-35 to 6.1.0.37 breaks hibernate

I had this same problem when I went from Chimera to Daedalus, but with Suspend rather than Hibernate. I don't know what the latter kernel version was but it would have been recent. For reasons, I then installed PeppermintOS (2023 version - the latest) which is (optionally) a Devuan derivative, with xfce,  and Suspend works fine on it from the desktop icon. I have never tried Hibernate.

Your post prompted me to check my kernel version and it is also 6.1.0-37-amd64, so it is a mystery.

Offline

#3 2025-06-06 21:08:26

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,650  

Re: Daedalus kernel upgrade from 6.1.0-35 to 6.1.0.37 breaks hibernate

I just tested pm-hibernate in excalibur and it works. Kernel is 6.12.27.
Check /etc/initramfs/conf.d/resume to make sure it didn't change and also that the uuid on the swap didn't change. (assuming resume uses the uuid)

Check /var/log/syslog for errors. I got something like "couldn't find swap" before I did a few things to make my new swap partition work. (I had to make a resume file, edit fstab, run update-initramfs -u, and reboot.)

Offline

#4 2025-06-07 14:46:14

rbit
Member
Registered: 2018-06-12
Posts: 61  

Re: Daedalus kernel upgrade from 6.1.0-35 to 6.1.0.37 breaks hibernate

Not sure why backports kernel wouldn't work in your case.  But to remain on a specific kernel version you could try this,
create a file in /etc/apt/preferences.d  - you could call it pin-kernel  or something
The contents would be:

Package: linux-image-amd64
Pin: version 6.1.137-1
Pin-Priority: 1001

  You didn't mention architecture, so I'm assuming amd64.  After creating that file, run `apt update`.   I haven't actually used this with a kernel so not 100% sure on it.  Keep an eye out for later kernel updates, once there's one past 6.1.0-37, you may want to try it out.  To do so, remove the pin-kernel file and run `apt update` again.  (or apt-get, or whatever you use to upgrade).

Offline

Board footer