You are not logged in.
Pages: 1
I recently posted this in the Macbook Air 2013 topic but thought it would be more appropriate here:
I have followed the wiki article on suspend and hibernate:
https://wiki.archlinux.org/index.php/Su … ibernation
However I still can't manage to get hibernate working, I am getting the following message on boot:
"Error: resume no device specified for hibernation"
I have added 'resume=/dev/sda8' to the 'GRUB_CMDLINE_LINUX_DEFAULT' line in the 'etc/default/grub' file and also run 'grub-mkconfig -o /boot/grub/grub.cfg'
I have added the resume hook as follows in the '/etc/mkinitcpio.conf' file:
HOOKS="base udev autodetect keyboard modconf block resume filesystems keyboard fsck"
I've made sure that I've run 'mkinitcpio -p linux' after this.
pm-suspend.log is not showing any errors. The machine just boots up as normal as if it was shutdown after pm-hibernate
The only error I could find in dmesg was:
PM: Hibernation image not present or could not be loadedLast edited by iaculch (2013-11-07 12:06:03)
Offline
A message flickers before the device shuts down, I managed to get a picture of it just before the display turned off:
mei_me: 0000:00:16.0: suspend
ata1: exception Emask 0x10 Sact 0x0 SErr 0x1000 action 0xe frozen
ata1: irq_stat 0x00400000, PHY RDY changed
ata1: SError: {PHYRydChg}Offline
have you tried using a swap file instead?
Offline
I have just tried to use a swap file. After running 'systemctl hibernate'. The display blacks out, and then comes back on with the error:
PM: Swap header not found!
A dependency job for hibernate.target failed. See 'journalctl -xn' for details When running 'journalctl -xn', I don't see any new messages.
I am also still getting the same message on boot
EDIT: Using sudo hibernate, when the screen comes back on I get /bin/echo: write error: No such device
Last edited by iaculch (2013-11-07 13:27:34)
Offline
In /etc/fstab you use UUID?
In that case you must use UUID in grub.cfg.
Offline
I don't have the UUID in /etc/fstab
I have added the folllowing to /etc/fstab:
/swapfile none swap defaults 0 0Last edited by iaculch (2013-11-07 13:49:01)
Offline
I have two questions:
At the moment I have the kernel parameters in line 'GRUB_CMDLINE_LINUX_DEFAULT' are the resume parameters meant to be placed there or on the 'GRUB_CMDLINE_LINUX' line?
Also,
When I run cat /proc/cmdline, I am not seeing the resume parameters, is this normal?
Offline
try /swapfile none swap defaults 0 0
also dont forget to edit grub again and make sure the resume_offset is defined
those instructions are on the wiki
--edited for typo --
Last edited by VanillaFunk (2013-11-07 14:19:28)
Offline
Tried that, no change.
The swap is showing up when I run 'free -m' or 'swapon -s'.
I don't know where to go from here... I'm certain that I have followed the wiki.
Offline
Pages: 1