unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Yusuf Talha via Bug reports for GNU Guix <bug-guix@gnu.org>
To: 57583@debbugs.gnu.org
Subject: bug#57583: Guix cannot resume after hibernation
Date: Sun, 4 Sep 2022 18:37:42 +0200 (CEST)	[thread overview]
Message-ID: <NB8MLyo--3-2@tuta.io> (raw)

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.





             reply	other threads:[~2022-09-04 16:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-04 16:37 Yusuf Talha via Bug reports for GNU Guix [this message]
2022-09-04 17:19 ` bug#57583: Guix cannot resume after hibernation Josselin Poiret via Bug reports for GNU Guix
2022-09-05 12:38   ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2022-09-05 12:51   ` Ludovic Courtès
2022-09-05 13:05     ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2022-12-10  1:11       ` Mekeor Melire
2022-09-05 12:13 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2022-09-06  2:23 ` bug#57583: Yusuf Talha via Bug reports for GNU Guix

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=NB8MLyo--3-2@tuta.io \
    --to=bug-guix@gnu.org \
    --cc=57583@debbugs.gnu.org \
    --cc=yusuftalha@tuta.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).