GNU bug report logs - #57583
Guix cannot resume after hibernation

Previous Next

Package: guix;

Reported by: Yusuf Talha <yusuftalha <at> tuta.io>

Date: Sun, 4 Sep 2022 16:38:01 UTC

Severity: normal

Done: Mekeor Melire <mekeor <at> posteo.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Mekeor Melire <mekeor <at> posteo.de>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#57583: closed (Guix cannot resume after hibernation)
Date: Sat, 10 Dec 2022 01:16:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 10 Dec 2022 01:11:05 +0000
with message-id <87h6y4oy92.fsf <at> posteo.de>
and subject line Re: bug#57583: Guix cannot resume after hibernation
has caused the debbugs.gnu.org bug report #57583,
regarding Guix cannot resume after hibernation
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
57583: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=57583
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Yusuf Talha <yusuftalha <at> tuta.io>
To: Bug Guix <bug-guix <at> gnu.org>
Subject: Guix cannot resume after hibernation
Date: Sun, 4 Sep 2022 18:37:42 +0200 (CEST)
Hello.  I'm using Guix System on my Librebooted Thinkpad X200 laptop.  Suspending to RAM works perfectly.  The problem is, when I run "loginctl hibernate" it writes to the swap partition and powers off successfully.  But when I try to boot up and resume from swap, it just ignores it and starts up like it wasn't hibernated before.  And also I have to run "sudo swapon /dev/mapper/matrix-swapvol" to re-enable my swap partition.  swapon says:
"swapon: /dev/mapper/matrix-swapvol: software suspend data detected. Rewriting the swap signature."

I have added "resume=/dev/mapper/matrix-swapvol" to the kernel-arguments list in config.scm.
In addition to that, I see these messages on the dmesg log (I have no idea what they mean):

[    0.068782] PM: hibernation: Registered nosave memory: [mem 0x00000000-0x00000fff]
[    0.068788] PM: hibernation: Registered nosave memory: [mem 0x000a0000-0x000fffff]
[    0.068791] PM: hibernation: Registered nosave memory: [mem 0x7d74a000-0x7d7fffff]
[    0.068794] PM: hibernation: Registered nosave memory: [mem 0x7d800000-0x93ffffff]
[    0.068796] PM: hibernation: Registered nosave memory: [mem 0x94000000-0xefffffff]
[    0.068798] PM: hibernation: Registered nosave memory: [mem 0xf0000000-0xf3ffffff]
[    0.068800] PM: hibernation: Registered nosave memory: [mem 0xf4000000-0xffffffff]
I haven't encountered this problem on any other distros.  You probably realized that I encrypted my disk.  Hibernation wasn't working while I was using Guix without encryption a few months ago either.  So I don't think LUKS is the problem here.

I would be glad if you can help me with that.  Thanks in advance.



[Message part 3 (message/rfc822, inline)]
From: Mekeor Melire <mekeor <at> posteo.de>
To: 57583 <at> debbugs.gnu.org
Cc: Josselin Poiret <dev <at> jpoiret.xyz>, bug-guix <at> gnu.org,
 Ludovic Courtès <ludo <at> gnu.org>,
 Tobias Geerinckx-Rice <me <at> tobias.gr>, Yusuf Talha <yusuftalha <at> tuta.io>,
 57583-done <at> debbugs.gnu.org, jackhill <at> jackhill.us
Subject: Re: bug#57583: Guix cannot resume after hibernation
Date: Sat, 10 Dec 2022 01:11:05 +0000
2022-09-05 15:05 bug-guix <at> gnu.org:

> Jack, Yusuf, Ludo',
>
> Yusuf: you could try pulling, reconfiguring, hibernating, and resuming, if
> you're brave-ish.

I also use an X200 (but not with Libreboot, yet). I just tried out
hibernation (I didn't even know I had to be brave for that :D) and it
worked like a charm. So, I'll attempt to close this bug now. Feel free
to re-open, if you're still experiencing the bug, Yusuf.

> Ludovic Courtès 写道:
> > I believe this is fixed by this: […] The patch in question fell
> > through the cracks
>
> Pushed as ec16f88522041dc285a35705ff9ee95672b78143, thanks Jack!


This bug report was last modified 2 years and 169 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.