Sudden journald timeout and hibernation failures

Hello, since a couple of days ago my device started timeouting waiting for the start of journald on boot

Aug 08 18:44:32 brontes kernel: usbcore: registered new device driver apple-mfi-fastcharge
Aug 08 18:44:32 brontes systemd[1]: Reached target Smart Card.
Aug 08 18:44:32 brontes kernel: usb 1-3-port3: unable to enumerate USB device
Aug 08 18:44:32 brontes kernel: usb 1-3.3: device descriptor read/8, error -110
Aug 08 18:44:32 brontes systemd[1]: systemd-journald.service: start operation timed out. Terminating.
Aug 08 18:44:32 brontes kernel: usb 1-3.3: device descriptor read/8, error -110
Aug 08 18:44:32 brontes kernel: usb 1-3.3: new full-speed USB device number 11 using xhci_hcd
Aug 08 18:44:32 brontes kernel: usb 1-3.3: device descriptor read/8, error -110
Aug 08 18:44:32 brontes kernel: usb 1-3.3: device descriptor read/8, error -110
Aug 08 18:44:32 brontes kernel: usb 1-3.3: new full-speed USB device number 10 using xhci_hcd
Boot Screen Image

image

At the same time my system would fail to go into hibernation, or rather, it would go into hibernation but would boot like normal when powering it on.

Booting an older boot entry or reverting to a previous version of my flake did not change this behaviour at all.

I would greatly appreciate any ideas.

My Flake

How much free space you got?

Thanks for checking out my issue!

It seems to be more than sufficient:

╰─>$ df -h
Filesystem             Size  Used Avail Use% Mounted on
devtmpfs               796M     0  796M   0% /dev
tmpfs                  7.8G  103M  7.7G   2% /dev/shm
tmpfs                  3.9G  6.3M  3.9G   1% /run
/dev/nvme0n1p3         412G  110G  298G  27% /
efivarfs               192K   61K  127K  33% /sys/firmware/efi/efivars
tmpfs                  7.8G  1.2M  7.8G   1% /run/wrappers
/dev/nvme0n1p1         4.0G  204M  3.8G   5% /boot
/dev/mapper/pool-home  1.4T  732G  660G  53% /home
tmpfs                  1.6G  9.3M  1.6G   1% /run/user/1000

( 500 gb btrfs nvme for the swap, /boot and root partition, then a 1.5 tb lvm2 btrfs partition for /home)

I also have a 32 gb swap partition for 16 gb of ram

╰─>$ swapon
NAME   TYPE SIZE USED PRIO
/fstab file  30G 644M   -2

Did you try booting an older generation?

1 Like

Ye, I did try a ~10 day old generation and also rebuild an old commit, to no avail but I somehow solved my issue:

  • delete swap partition and recreate it
  • update the swapdevice uuid in my config
  • rebuild
  • reboot into the oldest generation I have (30 days)
    • will timeout waiting for the swap device, as the uuid changed
  • sudo swapon <path to swap>
  • systemctl hibernate
  • reboot into the most recent generation
    • The hibernation image will have been successfully recovered
    • Meaning your newest generation behaves like the oldest
  • Reboot into newest generation
  • systemctl hibernate
  • it works!!!

I will try to hibernate again to make sure it wasnt a fluke, but if not, then it was the solution to my issue.

Edit: Yep it fixed it completely

I would greatly appreciate if anyone with a very wrinkled brain could explain what the issue is and how the solution fixed it.