all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ivan Vilata i Balaguer <ivan@selidor.net>
To: Tobias Geerinckx-Rice <me@tobias.gr>
Cc: Ivan Vilata i Balaguer <ivan@selidor.net>, guix-devel@gnu.org
Subject: Re: Status of hibernation (suspend to disk) in Guix
Date: Mon, 5 Dec 2022 17:23:57 +0100	[thread overview]
Message-ID: <Y44bHWm7VScfIJ24@sax> (raw)
In-Reply-To: <87wn79wnfj.fsf@nckx>

[-- Attachment #1: Type: text/plain, Size: 1289 bytes --]

Thanks for the update, Tobias!  More inline…

Tobias Geerinckx-Rice (2022-12-02 21:32:09 +0100) wrote:

> Ivan Vilata i Balaguer 写道:
> > So the TL;DR would be: Is it worth adding such documentation, given the
> > current state of hibernation support in Guix?
> 
> I think documenting the current status quo in time for 1.4.0 is a good idea.
> 
> The next step is to automate things so ‘resume=’ becomes optional. This
> should have landed already, but hasn't for personal reasons. The code is
> basically ready, but won't be in the release.

Regarding that, and in case it's useful for post-release work: in #59746 I
skipped documenting `resume_offset` with more detail, even if it's needed for
resuming from a swap file.  The reason is that according to [swsusp doc][1],
some specific tool may be needed to compute the swap file offset.  There is
[swap-offset][2] from the uswsusp suite, which is missing from Guix and no
longer shipped with Debian.  I guess that rewriting that small logic in Scheme
wouldn't be too difficult.

[1]: https://www.kernel.org/doc/html/latest/power/swsusp.html
[2]: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/suspend-utils.git/tree/swap-offset.c

Cheers,

-- 
Ivan Vilata i Balaguer -- https://elvil.net/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2022-12-05 16:24 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-02 20:12 Status of hibernation (suspend to disk) in Guix Ivan Vilata i Balaguer
2022-12-02 20:32 ` Tobias Geerinckx-Rice
2022-12-05 16:23   ` Ivan Vilata i Balaguer [this message]
2022-12-09 23:10     ` Mekeor Melire
2022-12-10  1:00       ` Mekeor Melire
2022-12-12 20:11         ` Ivan Vilata i Balaguer
2022-12-14  9:43           ` Ivan Vilata i Balaguer
2022-12-21 12:27             ` Ivan Vilata i Balaguer
2023-01-07 11:36               ` Ivan Vilata i Balaguer
2022-12-09 20:52   ` Mekeor Melire
2022-12-09 21:16     ` Jack Hill
  -- strict thread matches above, loose matches on Subject: below --
2022-12-15  6:55 Nathan Dehnel

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

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

  git send-email \
    --in-reply-to=Y44bHWm7VScfIJ24@sax \
    --to=ivan@selidor.net \
    --cc=guix-devel@gnu.org \
    --cc=me@tobias.gr \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.