You are not logged in.

#1 2025-05-17 02:59:15

yominater
Member
Registered: 2025-05-17
Posts: 11

Hibernate device not found

Hi, I'm sorry if I add text badly.

I'm trying to get hibernation to work on my Lenovo 100e AST laptop. I run hibernate with 'systemctl hibernate'. Computer screen turns black, comes on again, unresponsive, then turns off. After several minutes of waiting, I need to hold down power button for 20 seconds, then press it again to boot.

Error message on boot (... and ### I added to save typing):

...
: : running hook [resume]
Reported hibernation image: ID-arch kernel=6.16-stoney UUID=bc716251-...080925 offset=0
Failed to check if resume=/dev/mmcblkp2 is the same device as EFI HibernationLocation device 'dev/disk/by-uuid/bc716251...080925', ignoring: No such file or directory
Failed to stat resume device '/dev/mmcblk1p2': No such file or directory
Waiting 10 seconds for device /dev/disk/by-uuid/d21bef7e-...f5081656a2c7 ...(real ellipsis)
: : Performing fsck on 'UUID=<rootUUID>'
/dev/mmcblk3: recovering journal
/dev/mmcblk3: clean, ### files, ### blocks
: : mounting 'UUID=<rootUUID>' on real root
: : running cleanup hook [udev]
...

## partition layout: lsblk

NAME         FSTYPE FSVER LABEL UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
mmcblk1                                                                             
├─mmcblk1p1  vfat   FAT32       7E6C-97A8                             296.3M    41% /boot
├─mmcblk1p2  swap   1           bc716251-4c15-4860-845f-f3b621080925                [SWAP]
└─mmcblk1p3  ext4   1.0         d21bef7e-997f-473d-883e-f5881656a2c7      4G    78% /
mmcblk1boot0                                                                       
mmcblk1boot1                                                                       
zram0        swap   1                                                               [SWAP]

## Here's what I've done already:

### 4.1: 3.8 GiB RAM, 4 GiB swap partition

### 4.2 Initramfs

/etc/mkinitcpio.conf

FILES=()
BINARIES=()
MODULES=()
HOOKS=(base udev autodetect microcode modconf kms keyboard keymap consolefont block filesystems resume fsck)

I regenerated initramfs with `mkinitcpio -P`

### 4.3.1 hibernate location

/boot/loader/entries/156b2ec2cbe54ba4843c819c1b784055-6.6.16-stoney.conf

# Boot Loader Specification type#1 entry
# File created by /usr/lib/kernel/install.d/90-loaderentry.install (systemd 257.2-2-arch)
title      Arch Linux
version    6.6.16-stoney
machine-id 156b2ec2cbe54ba4843c819c1b784055
sort-key   arch
options    root=UUID=d21bef7e-997f-473d-883e-f5881656a2c7 rw systemd.machine_id=156b2ec2cbe54ba4843c819c1b784055 resume=/dev/mmcblk1p2
linux      /156b2ec2cbe54ba4843c819c1b784055/6.6.16-stoney/linux
initrd     /156b2ec2cbe54ba4843c819c1b784055/6.6.16-stoney/initrd

### system

CPU: dual core AMD A4-9120C RADEON R4 5 COMPUTE CORES 2C+3G (-MCP-)
speed/min/max: 1196/1200/1600 MHz Kernel: 6.6.16-stoney x86_64 Up: 33m
Mem: 1.64/3.76 GiB (43.6%) Storage: 29.12 GiB (65.4% used) Procs: 157

### Logs
#### journalctl -b | grep resume (nothing for hibernate)

May 16 22:14:01 Yomibook kernel: Command line: initrd=\156b2ec2cbe54ba4843c819c1b784055\6.6.16-stoney\initrd root=UUID=d21bef7e-997f-473d-883e-f5881656a2c7 rw systemd.machine_id=156b2ec2cbe54ba4843c819c1b784055 resume=/dev/mmcblk1p2
May 16 22:14:01 Yomibook kernel: Kernel command line: initrd=\156b2ec2cbe54ba4843c819c1b784055\6.6.16-stoney\initrd root=UUID=d21bef7e-997f-473d-883e-f5881656a2c7 rw systemd.machine_id=156b2ec2cbe54ba4843c819c1b784055 resume=/dev/mmcblk1p2
May 16 22:21:03 Yomibook kernel: ACPI: PM: Low-level resume complete
May 16 22:21:03 Yomibook bluetoothd[939]: Controller resume with wake event 0x0

Full log: http://0x0.st/8v42.txt

### cat /proc/cmdline

initrd=\156b2ec2cbe54ba4843c819c1b784055\6.6.16-stoney\initrd root=UUID=d21bef7e-997f-473d-883e-f5881656a2c7 rw systemd.machine_id=156b2ec2cbe54ba4843c819c1b784055 resume=/dev/mmcblk1p2

### bootctl status

System:
      Firmware: UEFI 2.70 (EDK II 1.00)
Firmware Arch: x64
   Secure Boot: disabled
  TPM2 Support: yes
  Measured UKI: no
  Boot into FW: supported

Current Boot Loader:
      Product: systemd-boot 257.1-1-arch
     Features: ✓ Boot counting
               ✓ Menu timeout control
               ✓ One-shot menu timeout control
               ✓ Default entry control
               ✓ One-shot entry control
               ✓ Support for XBOOTLDR partition
               ✓ Support for passing random seed to OS
               ✓ Load drop-in drivers
               ✓ Support Type #1 sort-key field
               ✓ Support @saved pseudo-entry
               ✓ Support Type #1 devicetree field
               ✓ Enroll SecureBoot keys
               ✓ Retain SHIM protocols
               ✓ Menu can be disabled
               ✓ Multi-Profile UKIs are supported
               ✓ Boot loader set partition information
    Partition: /dev/disk/by-partuuid/08c5fc64-f5af-4cce-8016-a70d9bfbf136
       Loader: └─/EFI/systemd/systemd-bootx64.efi
Current Entry: 156b2ec2cbe54ba4843c819c1b784055-6.6.16-stoney.conf

Random Seed:
System Token: set
       Exists: yes

Last edited by yominater (2025-05-17 03:06:51)

Offline

#2 2025-05-17 03:32:22

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,699

Re: Hibernate device not found

How was this system installed?

Online

#3 2025-05-17 04:23:27

yominater
Member
Registered: 2025-05-17
Posts: 11

Re: Hibernate device not found

It was installed without archinstall. I tried to follow the wiki.

Offline

#4 2025-05-17 05:58:51

seth
Member
Registered: 2012-09-03
Posts: 64,032

Re: Hibernate device not found

Scimmia is asking because of

initrd=\156b2ec2cbe54ba4843c819c1b784055\6.6.16-stoney\initrd

how and what and why that kernel?

May 16 22:14:26 Yomibook systemd-logind[440]: /etc/systemd/sleep.conf:30: Unknown key 'ResumeDevice' in section [Sleep], ignoring.

Post that file.

Also what happens if you omit the resume parameter resp. preferably use the UUID to reference it?

Inb4: I was also gonna call OP out for the underdimensioned swap (as hibernation location) … but it's a chrombook and only has 4GB RAM so that's actually fine.

Online

#5 2025-05-17 06:36:30

mithrial
Member
Registered: 2017-03-05
Posts: 92

Re: Hibernate device not found

Depends, if your swap is already full, there is no space left for the full RAM contents. I would recommend twice the size.

However, this is not because of space. Your config seems wrong. I would use the UUID instead of mount points.

Offline

#6 2025-05-17 14:33:51

yominater
Member
Registered: 2025-05-17
Posts: 11

Re: Hibernate device not found

Stoney kernel needed for sound device to be exposed on chromebook. Install process for stoney kernel:

Download stoney kernel (https://fs.nightcore.monster/chromebook … est.tar.xz)
    Copy/move stoney/vmlinuz-6.6.16-stoney to /boot
    Copy/move stoney/modules/lib/modules/6.6.16-stoney to /usr/lib/modules
    Run kernel-install add 6.6.16-stoney /boot/vmlinuz-6.6.16-stoney
    Reboot and select stoney kernel in GRUB menu

/etc/systemd/seep.conf

AllowSuspend=yes
AllowHibernation=yes
#AllowSuspendThenHibernate=yes
#AllowHybridSleep=yes
SuspendState=mem standby freeze
HibernateMode=platform shutdown
#MemorySleepMode=
#HibernateDelaySec=
#HibernateOnACPower=yes
#SuspendEstimationSec=60min
ResumeDevice=/dev/mmcblk1p2

Removing kernel perameter and sleep.conf

Reported hibernation image: ID=arch kernel=6.16-stoney UUID=bc716... offset 0
(in red) Failed to stat resume device 'dev/disk/by-uuid/bc716...' no such file or directory
Waiting 10 seconds for evice /dev/disk/by-uuid/d21be...'

Journal:
http://0x0.st/8vxx.txt

Offline

#7 2025-05-17 19:12:05

seth
Member
Registered: 2012-09-03
Posts: 64,032

Re: Hibernate device not found

Stoney kernel needed for sound device to be exposed on chromebook

Have you tried the behavior w/ the main kernel? (Sound is overrated anyway tongue)

(in red) Failed to stat resume device 'dev/disk/by-uuid/bc716...' no such file or directory
Waiting 10 seconds for evice /dev/disk/by-uuid/d21be.

It waits 10s for the root device which is the same MMC, so that's not immediately present either?
Can you try to delay the boot in the bootloader (are you also booting from that MMC? What's the 156b2ec2cbe54ba4843c819c1b784055 path? There're also mmcblk1boot[0,1])

Last edited by seth (2025-05-17 19:12:17)

Online

#8 2025-05-17 19:56:09

yominater
Member
Registered: 2025-05-17
Posts: 11

Re: Hibernate device not found

No, but that's a good idea. You're right, who needs sound anyway?

It works to a point. It seems to find device and load windows, but i3 (Xorg?) crashes to tty after a few seconds. Running startx again restarts i3, but the screen doesn't update unless I go into full screen and back out. Even in the tty it doesn't update. Rebooting fixes the issue.

Edit: I can't read. The error for the crash is (I think, it's kind of hard to read.):

ERROR: X11 connection was closed unexpectedly - maybe your X server terminated / crashed?13status: exiting due to signal.xinit: connection to X server lostrc/xcb.c:1233]
i3: Cannot open display ((this wasn't me; I didn't run anything))
Closing SHM log "/i3-log-1184"

Can't find 'i3-log-1184' as a file on my system

There is with nothing in sleep.conf or arch.conf about resume devices

journalctl -b | grep hibernate
May 17 15:22:03 Yomibook systemd-logind[449]: The system will hibernate now!
May 17 15:22:04 Yomibook systemd-sleep[3358]: Performing sleep operation 'hibernate'...
May 17 15:23:56 Yomibook systemd-sleep[3358]: System returned from sleep operation 'hibernate'.
May 17 15:23:57 Yomibook systemd[1]: systemd-hibernate.service: Deactivated successfully.
May 17 15:23:57 Yomibook systemd[1]: systemd-hibernate.service: Consumed 3.468s CPU time, 8.5M memory peak.
May 17 15:23:57 Yomibook systemd-logind[449]: Operation 'hibernate' finished.


Everything's on one disk. There's a boot partition, root, and swap partitions (boot is MMCblk1p1) The two mmcblk1boot[0, 1] partitions are leftovers from chromeos. They're only 4MiB, and I don't think they're used

I know 156b2ec2cbe54ba4843c819c1b784055.conf holds the kernel parameters. (same directory as arch.conf). The actual directory is in /boot. It holds '/6.6.16-stoney/[initrd, linux]' (my custom kernel)

How would I delay the boot? Is that something I do myself or a config change?

Last edited by yominater (2025-05-17 20:26:03)

Offline

#9 2025-05-17 20:51:43

seth
Member
Registered: 2012-09-03
Posts: 64,032

Re: Hibernate device not found

restarts i3, but the screen doesn't update unless I go into full screen and back out

Do you run picom along i3?
Journal and possibly xorg log ("Xorg.0.log.old") of that boot might be interesting.

You could try to add "resumedelay=10" or "resumewait" (the latter will wait forever) to the https://wiki.archlinux.org/title/Kernel_parameters

Online

#10 2025-05-17 21:38:11

yominater
Member
Registered: 2025-05-17
Posts: 11

Re: Hibernate device not found

Yes, I use picom
Journal: http://0x0.st/8v0e.txt
Xorg: http://0x0.st/8v0L.txt

resume delay added to stoney kernel, no change. It did get added as I can see in /proc/cmdline

Offline

#11 2025-05-17 21:59:04

seth
Member
Registered: 2012-09-03
Posts: 64,032

Re: Hibernate device not found

May 17 17:26:25 Yomibook kernel: [Firmware Bug]: CPU   1: APIC ID mismatch. CPUID: 0x0001 APIC: 0x0011
May 17 17:26:25 Yomibook kernel: [Firmware Bug]: ACPI MWAIT C-state 0x0 not supported by HW (0x0)
May 17 17:26:25 Yomibook kernel: CPU1 is up
May 17 17:26:25 Yomibook kernel: ACPI: PM: Waking up from system sleep state S4
May 17 17:26:25 Yomibook kernel: ACPI: EC: interrupt unblocked
May 17 17:26:25 Yomibook kernel: ACPI: EC: event unblocked
May 17 17:26:25 Yomibook kernel: usb usb1: root hub lost power or was reset
May 17 17:26:25 Yomibook kernel: usb usb3: root hub lost power or was reset
May 17 17:26:25 Yomibook kernel: [drm] PCIE GART of 1024M enabled (table at 0x000000F400600000).
May 17 17:26:25 Yomibook kernel: amdgpu: smu version 33.10.00
May 17 17:26:25 Yomibook kernel: usb usb2: root hub lost power or was reset
May 17 17:26:25 Yomibook kernel: amdgpu 0000:00:01.0: [drm:amdgpu_ring_test_helper [amdgpu]] *ERROR* ring comp_1.0.1 test failed (-110)
May 17 17:26:25 Yomibook kernel: [drm] UVD initialized successfully.
May 17 17:26:25 Yomibook kernel: usb 2-1: reset high-speed USB device number 2 using ehci-pci
May 17 17:26:25 Yomibook kernel: usb 1-3: reset high-speed USB device number 2 using xhci_hcd
May 17 17:26:25 Yomibook kernel: [drm] VCE initialized successfully.
May 17 17:26:25 Yomibook kernel: usb 3-3: reset SuperSpeed USB device number 2 using xhci_hcd
May 17 17:26:25 Yomibook kernel: usb 2-1.2: reset full-speed USB device number 4 using ehci-pci
May 17 17:26:25 Yomibook kernel: usb 2-1.1: reset high-speed USB device number 3 using ehci-pci
May 17 17:26:25 Yomibook kernel: amdgpu 0000:00:01.0: [drm:amdgpu_ib_ring_tests [amdgpu]] *ERROR* IB test failed on gfx (-110).
May 17 17:26:25 Yomibook kernel: [drm:process_one_work] *ERROR* ib ring test failed (-110).
May 17 17:26:25 Yomibook kernel: PM: hibernation: Basic memory bitmaps freed
May 17 17:26:25 Yomibook kernel: OOM killer enabled.
May 17 17:26:25 Yomibook kernel: Restarting tasks ... done.
May 17 17:26:25 Yomibook kernel: acp3x-alc5682-max98357 AMDI5682:00: DMIC gpio failed err=-2
May 17 17:26:25 Yomibook kernel: acp3x-alc5682-max98357 AMDI5682:00: probe with driver acp3x-alc5682-max98357 failed with error -2
May 17 17:26:25 Yomibook kernel: efivarfs: resyncing variable state
May 17 17:26:25 Yomibook kernel: efivarfs: removing variable HibernateLocation-8cf2644b-4b0b-428f-9387-6d876050dc67
May 17 17:26:25 Yomibook kernel: acp3x-alc5682-max98357 AMDI5682:00: DMIC gpio failed err=-2
May 17 17:26:25 Yomibook kernel: acp3x-alc5682-max98357 AMDI5682:00: probe with driver acp3x-alc5682-max98357 failed with error -2
May 17 17:26:25 Yomibook kernel: PM: hibernation: hibernation exit

https://wiki.archlinux.org/title/Intel_ … up_from_S3 ("processor.max_cstate=1")

Could however also be related to

May 17 16:33:58 Yomibook kernel: acp3x-alc5682-max98357 AMDI5682:00: DMIC gpio failed err=-2
May 17 16:33:58 Yomibook kernel: acp3x-alc5682-max98357 AMDI5682:00: probe with driver acp3x-alc5682-max98357 failed with error -2

Online

#12 2025-05-18 16:32:22

yominater
Member
Registered: 2025-05-17
Posts: 11

Re: Hibernate device not found

Seems like those last two errors are related to audio. Something something audio device and driver not found.

I don't get what you mean about intel graphics Higher C-states prevent wakeup from S3. I don't have intel and I don't have those issues.

Offline

#13 2025-05-18 16:40:30

seth
Member
Registered: 2012-09-03
Posts: 64,032

Re: Hibernate device not found

seth wrote:

"processor.max_cstate=1"

I'm aware that your hardware differs but the symptoms are quite similar and therefore the plan was to limit the c-state before the hibernation and see whether that prevents the amdgpu failure.

Seems like those last two errors are related to audio

Yes. This is likely why you need the patched kernel for sound and the concern would be that  the disfunct audio chip would spoil the bs and spill over to the APU.
That's however an unfounded theory, I was just recording it so we don't forget that that's there wink

Online

#14 2025-05-18 17:05:41

yominater
Member
Registered: 2025-05-17
Posts: 11

Re: Hibernate device not found

I think I understand. You're suggesting using "processor.max_cstate=1" in kernel perimeter, and using running cpupower-idle-set before hibernating.

On arch kernel:

Added 'processor.max_cstate=1', reboot
cpupower idleset -D 0
cpupower idleset -E
systemctl hibernate

Same thing happens. i3 loads, then crashes.

http://0x0.st/8vhd.txt

It seems the audio errors are still occuring with the patched kernel. I don't even know where to start with to try to fix them though. Do I need a better patched kernel?

Last edited by yominater (2025-05-18 17:07:24)

Offline

#15 2025-05-18 17:19:44

seth
Member
Registered: 2012-09-03
Posts: 64,032

Re: Hibernate device not found

The plan was to use processor.max_cstate=1 as quick test, running cpupower idleset -E before the hibernation unlimits the c-states what defeats the test.
You'll use that after the hibernation resumed

Online

#16 2025-05-19 03:36:26

yominater
Member
Registered: 2025-05-17
Posts: 11

Re: Hibernate device not found

Got a different error with X server crash.

x_fetch_region ERROR ] Failed to fetch rectangles (No error)
# along with the same errors
i3status: exiting due to signal
xinit: connenction to x server lost
i3: cannot open display

i3 still crashes, TTY still doesn't update when I type, although cursor still blinks.

Using cpupower idle-set doesn't seem to change things.

Is needing to hold the power button to turn it off then turn it back on standard behavior?

Offline

#17 2025-05-19 05:51:32

seth
Member
Registered: 2012-09-03
Posts: 64,032

Re: Hibernate device not found

The X11 errors will be fallout of the amdgpu error.
You did also test to just add "processor.max_cstate=1" to the kernel parameters and leave idle-set alone?

Add to that

pcie_aspm=off amdgpu.aspm=0 amdgpu.bapm=0 amdgpu.runpm=0 

Edit:

Is needing to hold the power button to turn it off then turn it back on standard behavior?

idally not and it's also not a good idea.
Try to frenetically press ctrl+alt+del or use the https://wiki.archlinux.org/title/Keyboa … el_(SysRq)

Last edited by seth (2025-05-19 05:52:50)

Online

#18 2025-05-19 14:26:20

yominater
Member
Registered: 2025-05-17
Posts: 11

Re: Hibernate device not found

Yes, I set kernel parameters and don't use idle-set until fully after hibernate. Neither seems to change.

http://0x0.st/8wPY.txt

Unfortunately my chromebook doesn't have a delete key or a SysRq key.

Offline

#19 2025-05-19 14:45:37

yominater
Member
Registered: 2025-05-17
Posts: 11

Re: Hibernate device not found

Maybe a solution here but I don't know enough to mess with that stuff

https://bugzilla.kernel.org/show_bug.cgi?id=204241#c14

Offline

#20 2025-05-19 15:49:51

seth
Member
Registered: 2012-09-03
Posts: 64,032

Re: Hibernate device not found

sysrq is the print key, del seems alt+backspace but that's likely just the keyboard layout - not sure whether ctrl+alt+backspace will trigger the reboot (but be careful, it's the default shortcut to zap, ie. kill, the X11 server!)

The kernel bug is 6 years old, supposed to be fixed sice a couple of them and doesn't mention your specific error.
Actually only https://forums.gentoo.org/viewtopic-p-8 … 4449082479 does
https://forums.gentoo.org/viewtopic-p-8 … 4449082479 lists a bunch of upstream bugs - https://gitlab.freedesktop.org/drm/amd/-/issues/3911 is probably the most interesting one. It has a couple of suggestions (disable THP, use the legacy amdgpu reset) but nothing conclusive sad

Online

#21 2025-05-19 15:55:59

yominater
Member
Registered: 2025-05-17
Posts: 11

Re: Hibernate device not found

Okay, I'm just going to live with suspend. I've spend already too much time on this. Thanks for you help

Offline

Board footer

Powered by FluxBB