You are not logged in.

#1 2007-11-10 03:47:44

stevesutt89
Member
From: Newcastle Australia
Registered: 2007-10-30
Posts: 46
Website

swap fails on hibernate

I have been trying to set up my laptop (Toshiba Tecra A2) to suspend and hibernate and haven't been having much sucess.  I installed pm-utils and followed the instructions as per the pm-utils section of the Arch wiki.  Now, if i set the computer to hibernate when i shut the lid, it appears to do so, but will not resume.  ie: I shut the lid, it spins up the hdd for about 5-10 sec and then it powers off.  When i open the lid, it automatically powers on, but it will fail to mount the swap partition and so it just boots normally. When it has booted, i then have to manually activate swap for it to work again (with mkswap /dev/sda5 and then swapon -a /dev/sda5)

I have searched with google for an answer, but (i at least) couldn't find one. 

My Second problem is that suspend seems to work, except that it my computer will not stay suspended, rather, it will 'suspend' itself, and then immediately un-suspend, to bring me back to where i was 10 seconds ago!

This second problem is not really an issue as i rarely use suspend, but i do use hibernate a lot (or would like to whan i get it working) so it has a higher priority.

Cheers, Steve

Offline

#2 2007-11-10 03:54:53

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: swap fails on hibernate

It may be that USB is not active after closing the lid and doesn;t start up soon enough when restarting.


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#3 2007-11-10 04:16:39

stevesutt89
Member
From: Newcastle Australia
Registered: 2007-10-30
Posts: 46
Website

Re: swap fails on hibernate

I just tried loading the resume hook in the mkinitcpio.conf file after the usb hook (i assume thats what you meant) and then rebuilding the initrd-thingy,  but to no avail, i still have the same problem, that swap fails when coming out of hibernation

Offline

#4 2007-11-10 04:29:30

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: swap fails on hibernate

There is some discussion of the lid problem in eeeuser.com forum........Edited

Last edited by lilsirecho (2007-11-10 04:31:36)


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#5 2007-11-10 05:58:05

stevesutt89
Member
From: Newcastle Australia
Registered: 2007-10-30
Posts: 46
Website

Re: swap fails on hibernate

Umm, i just went a searched the eeeuser.com forums and found nothing that seemed to relate to my problem (i searched for 'hibernate' and none of the results had anything useful in them)

If there was a specific page on that site that you were refering to, could you please post a link??

Offline

#6 2007-11-10 06:15:02

stevesutt89
Member
From: Newcastle Australia
Registered: 2007-10-30
Posts: 46
Website

Re: swap fails on hibernate

oh no............As it turns out it was all my fault (the hibernate problem that is). 
When editing the /boot/grub/menu.lst file and adding the resume=/dev/sda5 but, i ....er.....edited the wrong file (as my grub actually boots from a debian partition and not from my arch partition)
But, the good news (for me) is that hibernate now works perfectly-when i edit the right file
I would celebrate, but i'm too busy hanging my head in shame

Offline

#7 2008-06-25 08:51:30

innusius
Member
From: Slovakia
Registered: 2008-03-19
Posts: 16
Website

Re: swap fails on hibernate

cool , thanks , i did tha same smile

Offline

Board footer

Powered by FluxBB