You are not logged in.

#1 2024-07-02 00:24:44

pradtf
Member
Registered: 2009-06-10
Posts: 149

SOLVED: hibernate not resuming after upgrade

it's been fine with archlinux 6.8, but freezes on resume since i went to 6.9, today.
suspend shows the same behavior which is interesting.

it seems that the images are being written to disk/memory, but there is no resuming taking place.

i recall a similar issue back in 2021-12-17 where xorg had to be downgraded till the next up date.

anyone know if this is an upgrade problem or if there is another solution?

of course i have swap partition:
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet resume=/dev/nvme0n1p2"
in /etc/default/grub

and the following hooks:
HOOKS=(base udev autodetect modconf block filesystems resume keyboard fsck)
in /etc/mkinitcpio.conf:


EDIT: with some guidance from perplexity ai, i switched to the linux-lts kernel and i can resume from hibernate again! i am glad about this, though i don't really see why i have to do it since it suggests that regular kernel upgrades may result in this problem repeatedly.

Last edited by pradtf (2024-07-02 04:21:59)


in friendship,
prad

Offline

#2 2024-07-02 18:59:07

gromit
Package Maintainer (PM)
From: Germany
Registered: 2024-02-10
Posts: 710
Website

Re: SOLVED: hibernate not resuming after upgrade

Do you also have the issue with the latest release candidate for linux 6.10? You can install it like so:

sudo pacman -U https://pkgbuild.com/\~gromit/linux-bisection-kernels/linux-mainline-6.10rc6-1-x86_64.pkg.tar.zst

If the issue also persists there we need to debug it as it could possibly be a kernel regression, which should be bisected and reported upstream to the kernel developers and the regression mailing list ...

Are you confident to do the bisection on your own or do you need some help?
If you want we could also provide you with prebuilt kernel images for you to test

Good info to get you started is:
- https://docs.kernel.org/admin-guide/rep … sions.html
- https://wiki.archlinux.org/title/Kernel … egressions

In order for the issue to be properly bisectable it would need to be reproducible, so do you already know how you can trigger the bug reliably?

Offline

#3 2024-07-02 21:18:20

pradtf
Member
Registered: 2009-06-10
Posts: 149

Re: SOLVED: hibernate not resuming after upgrade

hi chris!

i've never done this sort of thing, but i'll give it a try using the docs you provided.

my understanding from bing co-pilot is that we are finding the successive bisection points between a working kernel and a non-working one (release bisect), till we find where the first appearance of the fault occurs.

i'll set up a spare laptop tomorrow and ask you for assistance (if i require it), and report on progress by the end of the week.


in friendship,
prad

Offline

#4 2024-07-02 21:28:46

gromit
Package Maintainer (PM)
From: Germany
Registered: 2024-02-10
Posts: 710
Website

Re: SOLVED: hibernate not resuming after upgrade

A tricky thing could be that the bug might only be triggering on the main hw, so maybe you wont even get the bug on your spare machine ..

But in any case, check it out for a bit and get back to me once you progressed or need help!

Offline

#5 2024-07-06 05:17:33

pradtf
Member
Registered: 2009-06-10
Posts: 149

Re: SOLVED: hibernate not resuming after upgrade

hmm it seems what you said has come true, chris.

i just tried it on the laptop and it works - haven't had a chance yet to try it on the desktop so i can't confirm if the problem is resolved because of the hw or because they've fixed things.

in any case, so far on the laptop here's what we have:

hp pavilion dv7 notebook pc
bios f.07
intel i7 q720 1.6GHz
6.144GB ram
wlan
bluetooth
NOEFI
Using Gnome

| version          | suspend | hibernate |
| 6.8.9-arch1-1 | y            | y              |
| 6.9.7-arch1-1 | y            | y              |

i'll get 6.10 as per your instructions and keep trying out things on the weekend. stay tuned!


in friendship,
prad

Offline

#6 2024-07-07 04:07:39

pradtf
Member
Registered: 2009-06-10
Posts: 149

Re: SOLVED: hibernate not resuming after upgrade

chris, 6.10.0-rc6-1-mainline works too for both suspend and hibernate, on my laptop.

from Index of /~gromit/linux-bisection-kernels/
i see that it is the latest one 30-Jun-2024 22:32

does that mean there is nothing more to do? it is all over??


in friendship,
prad

Offline

#7 2024-07-07 09:17:40

gromit
Package Maintainer (PM)
From: Germany
Registered: 2024-02-10
Posts: 710
Website

Re: SOLVED: hibernate not resuming after upgrade

What we could do is find out which commit fixed the issue for you, so it can be backported for everyone. But I'm not sure whether thats worth the trouble .. tongue
Especially since the 6.10 series is about to become stable so the next stable kernels will be based on 6.10.

Last edited by gromit (2024-07-07 09:19:18)

Offline

#8 2024-07-08 04:19:41

pradtf
Member
Registered: 2009-06-10
Posts: 149

Re: SOLVED: hibernate not resuming after upgrade

agreed!
at least i'll know what to do next time!


in friendship,
prad

Offline

#9 2024-10-06 18:12:36

pradtf
Member
Registered: 2009-06-10
Posts: 149

Re: SOLVED: hibernate not resuming after upgrade

hibernation not working again for 6.11.1 and 6.11.2
whom do i report this to, please?


in friendship,
prad

Offline

Board footer

Powered by FluxBB