You are not logged in.

#1 2010-08-07 09:56:30

grine
Member
Registered: 2010-02-09
Posts: 38

Dell Vostro 1400 not resuming from pm-hibernate.

For some reason my laptop won't resume after hibernating with pm-hibernate.

I have added the resume hook to /etc/mkinitcpio.conf and the swap drive to /boot/grub/menu.lst.

Is s2disk reports no error when creating image file and the hook is run on next boot but it doesn't work.

dmesg output:

PM: Checking image partition /dev/sda6
PM: Resume from disk failed.
PM: Starting manual resume from disk
PM: Resume from partition 8:6
PM: Checking hibernation image.
PM: Error -22 checking image file
PM: Resume from disk failed.

Any ideas?

Offline

#2 2010-08-07 16:48:32

lagagnon
Member
From: an Island in the Pacific...
Registered: 2009-12-10
Posts: 1,087
Website

Re: Dell Vostro 1400 not resuming from pm-hibernate.

Show us the output to the following commands: "df -h" and "free".


Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.

Offline

#3 2010-08-11 10:40:38

grine
Member
Registered: 2010-02-09
Posts: 38

Re: Dell Vostro 1400 not resuming from pm-hibernate.

gustaf@myhost:~$ free
             total       used       free     shared    buffers     cached
Mem:       2062312     550380    1511932          0      39912     218132
-/+ buffers/cache:     292336    1769976
Swap:      2048252          0    2048252
gustaf@myhost:~$ df -h
Filesystem            Size  Used Avail Use% Mounted on
udev                   10M  244K  9.8M   3% /dev
/dev/disk/by-uuid/295976ce-2dec-40c7-a8ae-499184c1b9ef
                      4.6G  1.3G  3.1G  30% /
none                 1007M   24K 1007M   1% /dev/shm
/dev/sda1             487M   21M  441M   5% /boot
/dev/sda7              22G   17G  3.9G  81% /home
/dev/sda8             4.6G  3.6G  851M  81% /usr
/dev/sda2              25G   13G   13G  49% /mnt/winsys
/dev/sda5              54G   42G   12G  78% /mnt/windata

Offline

#4 2010-08-15 21:59:07

Painless
Member
Registered: 2006-02-06
Posts: 233

Re: Dell Vostro 1400 not resuming from pm-hibernate.

What does the "Hooks" line in /etc/mkinitcpio.conf look like?  I have 'resume' second from last, before 'filesystem'.

Also, did you run `mkinitcpio -p kernel26` after updating /etc/mkinitcpio.conf?

Offline

#5 2010-08-15 22:04:58

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

Re: Dell Vostro 1400 not resuming from pm-hibernate.

you also need to add to the kernel boot line:

resume=/dev/disk/by-uuid/aabf9ab7-ce2c-4d1e-9975-3157ee1352bd

with the appropiate uuid for your swap partition

Offline

#6 2010-08-15 22:32:53

Painless
Member
Registered: 2006-02-06
Posts: 233

Re: Dell Vostro 1400 not resuming from pm-hibernate.

Also, is your memory larger than your swap size?  It looks a bit bigger from the output of your 'free' command.  In which case, I suspect resume from hibernation might never work.

Last edited by Painless (2010-08-15 22:33:48)

Offline

#7 2010-08-16 15:04:49

grine
Member
Registered: 2010-02-09
Posts: 38

Re: Dell Vostro 1400 not resuming from pm-hibernate.

As I said in the OP I have added the resume hook in the correct place and the swap drive to the boot line using uuid instead of as /dev/sda6, this did not help.

I've ran mkinitcpio -p kernel26 aswell.


The swap drive is a little bit smaller than the RAM maybe, but according to the wiki the resume-image is most often smaller than the actual memory
size so this should work.


The wierdest part is that I have used pm-hibernate successfully on this 
computer before.

Offline

Board footer

Powered by FluxBB