You are not logged in.

#1 2012-11-05 05:11:06

mibadt
Member
Registered: 2009-09-25
Posts: 396

Arch fails to recover from hibernation

Hi,
I'm on a fully updated Arch_x86-64/KDE system on an AMD CPU.
The system incorporates systemd and a BIOS based GRUB2 boot loader.
While the system successfully recovers from suspend (into RAM) mode, it fails to recover from hibernation (it simply reboots once I press the power button).
The same occurs if I select hibernate from KDE's menu, or issue (as regular user) from terminal "ststemctl-hibernate".
Please advise.

Thanks

---relevant part of journal------------

Nov 04 23:02:44 Miki_Arch polkitd[564]: Registered Authentication Agent for unix-process:9016:4000393 (system bus name :1.132 [/usr/bin/pkttyagent --notify-fd
Nov 04 23:02:44 Miki_Arch systemd[1]: Starting Sleep.
Nov 04 23:02:44 Miki_Arch systemd[1]: Reached target Sleep.
Nov 04 23:02:44 Miki_Arch systemd[1]: Starting Hibernate...
Nov 04 23:02:44 Miki_Arch polkitd[564]: Unregistered Authentication Agent for unix-process:9016:4000393 (system bus name :1.132, object path /org/freedesktop/
Nov 04 23:02:44 Miki_Arch systemd-sleep[9020]: /usr/lib/systemd/system-sleep/notify-upower.sh exited with exit status 1.
Nov 04 23:02:44 Miki_Arch systemd-sleep[9020]: Hibernating system...
Nov 04 23:02:44 Miki_Arch kernel: PM: Marking nosave pages: [mem 0x0009f000-0x000fffff]
Nov 04 23:02:44 Miki_Arch kernel: PM: Marking nosave pages: [mem 0xcfdf0000-0xffffffff]
Nov 04 23:02:44 Miki_Arch kernel: PM: Marking nosave pages: [mem 0xc4000000-0xc7ffffff]
Nov 04 23:02:44 Miki_Arch kernel: PM: Basic memory bitmaps created
-- Reboot --

-----respective  Linux version and CPU info---------

# uname -a
Linux Miki_Arch 3.6.5-1-ARCH #1 SMP PREEMPT Wed Oct 31 20:57:39 CET 2012 x86_64 GNU/Linux
[root@Miki_Arch miki]# cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 16
model           : 10
model name      : AMD Phenom(tm) II X6 1055T Processor
..

My GRUB2 is configured to support hibernation by using the swap partition -----

cd /etc/default/
[root@Miki_Arch default]# cat grub 
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX="resume=/dev/disk/by-uuid/19746a40-d8a0-45e4-8c4b-15c70d3c4dab"
..

Best regards,
Michael Badt

Offline

#2 2012-11-05 05:26:56

cybertorture
Member
Registered: 2010-05-05
Posts: 339

Re: Arch fails to recover from hibernation

Just wild guess : do you have "resume" hook in mkinitcpio.conf ? and also make sure swap is acualy mounted.


O' rly ? Ya rly Oo

Offline

#3 2012-11-05 06:57:40

mibadt
Member
Registered: 2009-09-25
Posts: 396

Re: Arch fails to recover from hibernation

Thanks,
weird, looks like swap is indeed not mounted (see below)- shouldn't it be automatically be mounted?
Is mkinitcpio.conf still relevant for systemd based systems?

-----------swap status-------

$ cat mtab  | grep swap
miki /etc $ cat fstab  | grep swap
UUID=19746a40-d8a0-45e4-8c4b-15c70d3c4dab swap swap defaults 0 0

Best regards,
Michael Badt

Offline

#4 2012-11-05 07:02:33

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Arch fails to recover from hibernation

Isn't the mount point of swap supposed to be 'none'?

Offline

#5 2012-11-05 09:14:10

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,546

Re: Arch fails to recover from hibernation

mibadt wrote:

Is mkinitcpio.conf still relevant for systemd based systems?

It really, really is

https://wiki.archlinux.org/index.php/Hi … esume_Hook

Last edited by skunktrader (2012-11-05 09:25:28)

Offline

#6 2012-11-05 14:05:21

mibadt
Member
Registered: 2009-09-25
Posts: 396

Re: Arch fails to recover from hibernation

Thanks all !


Best regards,
Michael Badt

Offline

Board footer

Powered by FluxBB