You are not logged in.
Hi, I am having a problem using pm-utils. pm-suspend works fine, but pm-hibernate doesn't. I checked the /var/log/pm-suspend.log and the only thing that seems like it could be causing trouble is this line:
Wed Nov 5 21:22:35 CST 2008: performing hibernate
/usr/lib/pm-utils/pm-functions: line 275: echo: write error: No such device
Wed Nov 5 21:22:39 CST 2008: Awake.
When I run the pm-hibernate command as root from a terminal window, it will black the screen with a cursor for a little while then dumps me back into a command line interface, where I have to startx all over again. Anybody have any suggestions on this?
Offline
I had a similar problem. Run sudo blkid and check that your swap uuid is the same as in /etc/fstab. This took care of it for me.
Offline
As far as I can tell its right. I run free -m and it shows that I have swap space available.
Offline
Have you added the resume= path to your kernel line in /boot/grub/menu.lst?
http://wiki.archlinux.org/index.php/Pm-utils
Last edited by thayer (2008-11-07 19:52:59)
thayer williams ~ cinderwick.ca
Offline
yes I added that line.
Here is my /etc/fstab:
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
none /dev/pts devpts defaults 0 0
none /dev/shm tmpfs defaults 0 0
#/dev/cdrom /media/cd auto ro,user,noauto,unhide 0 0
#/dev/dvd /media/dvd auto ro,user,noauto,unhide 0 0
/dev/disk/by-uuid/0a20becf-2617-45b1-8be0-e37d2e758c1e /home ext3 defaults 0 1
/dev/disk/by-uuid/586b0ad9-a35d-4d95-8b65-8953ac8150b2 swap swap defaults 0 0
/dev/disk/by-uuid/bf41d5f1-a5d7-4fe2-abd1-46457055cb42 / ext3 defaults 0 1
/dev/disk/by-uuid/FFEB-6EC9 /media/ipod vfat users,exec,noauto 0 0
My /boot/grub/menu.lst:
...
# (0) Arch Linux
title Arch Linux
root (hd0,0)
kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/bf41d5f1-a5d7-4fe2-abd1-46457055cb42 ro resume=/dev/disk/by-uuid/bf41d5f1-a5d7-4fe2-abd1-46457055cb42 vga=773 nolapic_timer
initrd /boot/kernel26.img
...
and the results of blkid:
[semperfiguy: ~]$ blkid
/dev/sda1: UUID="bf41d5f1-a5d7-4fe2-abd1-46457055cb42" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda2: TYPE="swap" UUID="586b0ad9-a35d-4d95-8b65-8953ac8150b2"
/dev/sda3: UUID="0a20becf-2617-45b1-8be0-e37d2e758c1e" SEC_TYPE="ext2" TYPE="ext3"
Last edited by semperfiguy (2008-11-07 20:30:48)
Offline
Have you tried using the traditional path to the resume partition? For example, mine works fine with this:
kernel /vmlinuz26 root=/dev/disk/by-uuid/7bff5cab-c4a4-4ad6-afc6-1b497398b875 resume=/dev/sda2 ro vga=838 logo.nologo quiet
Also, am I imagining things or does your root have the exact same uuid as your resume path in the kernel line?
Last edited by thayer (2008-11-07 20:53:20)
thayer williams ~ cinderwick.ca
Offline
You are not imagining things. The uuid is exactly the same. They are both supposed to point to the root partition right? oh wait. It should point to swap. Thats what it is. I'll try that and that should work.
Edit: Tried it and I get the same error as before. Note: I did not reboot. I just changed the grub file and ran the pm-hibernate command. I Will try a reboot and see if that works.
Last edited by semperfiguy (2008-11-09 23:50:26)
Offline
You are not imagining things. The uuid is exactly the same. They are both supposed to point to the root partition right? oh wait. It should point to swap. Thats what it is. I'll try that and that should work.
Edit: Tried it and I get the same error as before. Note: I did not reboot. I just changed the grub file and ran the pm-hibernate command. I Will try a reboot and see if that works.
You'll need to reboot in order for it to work. If you have done so and everything is going well, please edit your original post and add [SOLVED] to the subject line.
Cheers
thayer williams ~ cinderwick.ca
Offline