You are not logged in.

#1 2012-12-07 04:19:01

vikramr
Member
Registered: 2009-09-22
Posts: 40

Can't hibernate after reinstall

I had to reinstall Arch on my Dell Inspirion 1525 a week back because I hosed the system :( 

After the reinstall I can suspend and resume but can't resume after a hibernate. I didnt have any issues before the reinstall when I used init. I already added update my grub config and added the resume hook and ran " mkinitcpio -p linux"

[root@choma-laptop vikram]# cat /boot/grub/grub.cfg  | grep resume
        linux   /vmlinuz-linux root=UUID=28762a09-cddd-4dcf-8539-006b7578a0ff ro resume=/dev/sda5 quiet
        linux   /vmlinuz-linux root=UUID=28762a09-cddd-4dcf-8539-006b7578a0ff ro resume=/dev/sda5 quiet

[root@choma-laptop vikram]# cat /etc/mkinitcpio.conf | grep resume
    HOOKS="base udev autodetect pata scsi sata resume filesystems"

[root@choma-laptop log]# swapon -s
Filename                                Type            Size    Used    Priority
/dev/sda5                               partition       3903756 0       -1

 
I can see two log files pm-powersave.log and pm-suspend.log in /var/log if it helps -

[root@choma-laptop log]# tail -n 20  pm-*
==> pm-powersave.log <==
Setting readahead for /dev/sda2 to 256...Done.
Setting readahead for /dev/sda7 to 256...Done.

/usr/lib/pm-utils/power.d/readahead false: success.
Running hook /usr/lib/pm-utils/power.d/sata_alpm false:
Setting SATA APLM on host0 to max_performance...Done.
Setting SATA APLM on host1 to max_performance...Done.
Setting SATA APLM on host2 to max_performance...Done.

/usr/lib/pm-utils/power.d/sata_alpm false: success.
Running hook /usr/lib/pm-utils/power.d/sched-powersave false:
**sched policy powersave OFF

/usr/lib/pm-utils/power.d/sched-powersave false: success.
Running hook /usr/lib/pm-utils/power.d/wireless false:

/usr/lib/pm-utils/power.d/wireless false: success.
Running hook /usr/lib/pm-utils/power.d/xfs_buffer false:

/usr/lib/pm-utils/power.d/xfs_buffer false: success.

==> pm-suspend.log <==
Running hook /etc/pm/sleep.d/90alsa hibernate hibernate:

/etc/pm/sleep.d/90alsa hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/90clock hibernate hibernate:

/usr/lib/pm-utils/sleep.d/90clock hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/94cpufreq hibernate hibernate:

/usr/lib/pm-utils/sleep.d/94cpufreq hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/95led hibernate hibernate:

/usr/lib/pm-utils/sleep.d/95led hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler hibernate hibernate:
Kernel modesetting video driver detected, not using quirks.

/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/99video hibernate hibernate:

/usr/lib/pm-utils/sleep.d/99video hibernate hibernate: success.
Sun Nov 25 16:55:25 PST 2012: performing hibernate

I dont see a resume log at all. Do I need to do anything else to get this to work ?

Offline

#2 2012-12-07 05:21:19

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

Re: Can't hibernate after reinstall

Is there a reason you are using pm-utils?  What happens when you use systemd's hibernation?

BTW, I don't think pm-utils is active anymore, and the powersave and other scripts are a bit outdated and typically unnecessary.

Offline

#3 2012-12-08 03:20:53

vikramr
Member
Registered: 2009-09-22
Posts: 40

Re: Can't hibernate after reinstall

WonderWoofy wrote:

Is there a reason you are using pm-utils?  What happens when you use systemd's hibernation?

BTW, I don't think pm-utils is active anymore, and the powersave and other scripts are a bit outdated and typically unnecessary.

I get the same result when I type systemctl hibernate. It hibernates as expected and then doesnt resume. Instead i get fsck of allthe drives because the system wasnt shut down properly sad

Offline

#4 2012-12-08 03:26:31

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

Re: Can't hibernate after reinstall

So after trying with systemd's functionality, what do the logs say?  BTW, it will fsck all the drives whether or not you shut down properly, but definitely will if you don't.

Offline

#5 2012-12-08 03:44:01

vikramr
Member
Registered: 2009-09-22
Posts: 40

Re: Can't hibernate after reinstall

WonderWoofy wrote:

So after trying with systemd's functionality, what do the logs say?  BTW, it will fsck all the drives whether or not you shut down properly, but definitely will if you don't.

I dont see anyting in the logs. is there a specific log file for systemd ?

Offline

Board footer

Powered by FluxBB