Unable to suspend nor reboot

Hi! I’ve installed Guix system using System Crafter’s Guix Installer CI build , and then did a reconfigure based on David’s dotfiles code adapted for my home server Regina. I’m facing some problems and I’ll try to write one post for each one of them.

My first and previous post is about a no such file or directory that shows up before the login prompt.

This one is about being unable to suspend nor reboot. The poweroff process seems to start fine, services like sshd are turned off. But then it just sits there. I can plug a keyboard and press caps-lock or num-lock and the lights turn on and off; but I can’t do much else except hard reset or long-press the power button.

similar issues:

https://lists.gnu.org/archive/html/help-guix/2023-07/msg00021.html

Had the same Problem. Happened only under Linux 6.12.13.
System halt and reboot did not work.
Also sway did not start after greetd login but was startable manually.
If you have a Generation with 6.12.12 still present try it.
If not then try to generate one. What i did (most probably there are easier methods but i’m a noob)

the (downgraded) 6.12.12 Version in my system(guix system list-generations)

Generation 4    Feb 19 2025 00:27:56
  file name: /var/guix/profiles/system-4-link
  canonical file name: /gnu/store/m7bmsmvs7vydqlms21ijwxcyba03jzn8-system
  label: GNU with Linux 6.12.12
  bootloader: grub-efi
  root device: UUID: b38753fd-54a0-44ee-b7e1-5b495beda4c7
  kernel: /gnu/store/01ypp65p9xag2zd3yah0wy79mnw1y8hd-linux-6.12.12/bzImage
  channels:
    nonguix:
      repository URL: https://gitlab.com/nonguix/nonguix
      branch: master
      commit: 5c6ef7cafdfabdacae8ce33410b41168a952d4ff
    guix:
      repository URL: https://git.savannah.gnu.org/git/guix.git
      branch: master
      commit: 4f4ee1ba0096444ce383bcb655af565f373363d9
  configuration file: /gnu/store/6zjlpafh47za56bdb200njl9y6vnvr6y-configuration.scm

Channels file i used to downgrade:

~# cat 6.12.12-channels.scm
(list (channel
        (name 'nonguix)
        (url "https://gitlab.com/nonguix/nonguix")
        (branch "master")
        (commit
          "5c6ef7cafdfabdacae8ce33410b41168a952d4ff")
        (introduction
          (make-channel-introduction
            "897c1a470da759236cc11798f4e0a5f7d4d59fbc"
            (openpgp-fingerprint
              "2A39 3FFF 68F4 EF7A 3D29  12AF 6F51 20A0 22FB B2D5"))))
      (channel
        (name 'guix)
        (url "https://git.savannah.gnu.org/git/guix.git")
        (branch "master")
        (commit
          "4f4ee1ba0096444ce383bcb655af565f373363d9")
        (introduction
          (make-channel-introduction
            "9edb3f66fd807b096b48283debdcddccfea34bad"
            (openpgp-fingerprint
              "BBB0 2DDF 2CEA F6A8 0D1D  E643 A2A0 6DF2 A33A 54FA")))))

then guix pull with the channel file specified

guix pull -C  6.12.12-channels.scm  --allow-downgrades

last but not least reconfigure the system

guix system reconfigure myconfig.scm --allow-downgrades

Afterwards you should theoretically have an option to choose Generation with 6.12.12 again … test it…maybe works for you too.

  • Sway starts
  • Commands like “halt” and “reboot” do again what they should…

Not sure what is the best way to make the Version the standard one…i simply edited /boot/grub/grub.cfg

Most probably there are better ways to do all that…