sidux.com
Menu

News

Give back
Last 3 Contributions
30-11-2008 20.00
25-11-2008 100.00
25-11-2008 20.00

Donate


Sponsor
hetzner.de

Languages
Preferred language:



Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
askunky
Post subject: Suspend to disk problem  PostPosted: May 03, 2008 - 02:14 PM



Joined: May 03, 2008
Posts: 5

Status: Offline
Hi,

despite my research on the forum I was unable to solve this problem.
Am running an Amilo (fujitsu siemens) m1450g.
Suspend to disk seems to shut down and the the on again...
First it didn't work because i had no swap, but now i have set one, and it worked once, don't know why..., but no it doesn't.

Any idea?

Thanks a lot,

Fred.
 
 View user's profile Send private message  
Reply with quote Back to top
op4latino
Post subject: RE: Suspend to disk problem  PostPosted: May 03, 2008 - 06:00 PM



Joined: Dec 02, 2006
Posts: 1045
Location: East Coast
Status: Offline
Try this
kelmo wrote:
Code:

cat /etc/initramfs-tools/conf.d/resume


Should reflect your swap partition, if not, update it. (it can be of form UUID= and LABEL=).

Then you must update the current initramfs:

Code:

update-initramfs -u -k $(uname -r)

Remember that swap should be near or greater than 1.5 times the RAM size.

If that doesn't help, look at /var/log/hibernate.log and /var/log/suspend2disk.log
 
 View user's profile Send private message  
Reply with quote Back to top
askunky
Post subject: RE: Suspend to disk problem  PostPosted: May 03, 2008 - 11:45 PM



Joined: May 03, 2008
Posts: 5

Status: Offline
Thanks op4latino.
First line returns no such file or directory. I have a swap partition, created with gparted, swap on and well declared in fstab...
But /etc/initramfs-tools/conf.d/ is empty...

Do i have to create a new swap and mount it somewhere?


Thanks,

Fred
 
 View user's profile Send private message  
Reply with quote Back to top
op4latino
Post subject: RE: Suspend to disk problem  PostPosted: May 04, 2008 - 12:34 PM



Joined: Dec 02, 2006
Posts: 1045
Location: East Coast
Status: Offline
askunky, please create that file

Code:
cat /etc/initramfs-tools/conf.d/resume
RESUME=UUID=81f0f5df-dd5f-43af-af06-0c1debf6da44


blkid can help you (as root)
Code:
blkid |grep swap
/dev/sda5: TYPE="swap" UUID="81f0f5df-dd5f-43af-af06-0c1debf6da44"


update: if you have sidux-script installed, run get-resume-partion, that will take care of creating the file and run the update-initramfs command for you
 
 View user's profile Send private message  
Reply with quote Back to top
askunky
Post subject: RE: Suspend to disk problem  PostPosted: May 04, 2008 - 10:32 PM



Joined: May 03, 2008
Posts: 5

Status: Offline
Still have a problem. Now resume file is ok, but suspend to disk doesn't work (worked couple of times, i don't know why).
I try to use Kpowersave or s2disk...
Seems to be a tricky thing...
Have done what was suggested above...

Fred
 
 View user's profile Send private message  
Reply with quote Back to top
op4latino
Post subject: RE: Suspend to disk problem  PostPosted: May 04, 2008 - 11:27 PM



Joined: Dec 02, 2006
Posts: 1045
Location: East Coast
Status: Offline
I forgot to tell you to check in /var/log/suspend2disk.log or any other log file in /var/log related to suspend to disk.
Also, do you have resume2=swap=UUID=blah in grub's menu.list?
 
 View user's profile Send private message  
Reply with quote Back to top
askunky
Post subject:   PostPosted: May 05, 2008 - 08:54 AM



Joined: May 03, 2008
Posts: 5

Status: Offline
Still stuck...


s2disk: Could not stat the resume device file. Reason: No such file or directory
 
 View user's profile Send private message  
Reply with quote Back to top
dibl
Post subject:   PostPosted: May 10, 2008 - 06:41 PM



Joined: Jan 12, 2008
Posts: 289
Location: Ohio/USA
Status: Offline
Bingo -- this is just the information I was looking for to configure this little Eee PC!

@op4latino, does that "resume2=swap=UUID=yadayadayada" line go in the "defoptions" section of /boot/grub/menu.lst, or down with the boot menu item?

Thanks.

_________________
Intel X6800 on Intel D975XBX2, Nvidia 9600GT
sidux 2008-02 "Έρεβος" 64-bit on JFS filesystem

Asus Eee PC 4G / 701, sidux 2008-03 "Ουρέα"
 
 View user's profile Send private message AIM Address MSN Messenger  
Reply with quote Back to top
op4latino
Post subject:   PostPosted: May 11, 2008 - 04:12 AM



Joined: Dec 02, 2006
Posts: 1045
Location: East Coast
Status: Offline
dibl: Actually, it goes in kopt, once it's there you need to do update-grub.

This thread talks about swap as well, and it might help both of you using get-resume-partition http://sidux.com/index.php?name=PNphpBB ... 0853#80853
 
 View user's profile Send private message  
Reply with quote Back to top
speedygeo
Post subject:   PostPosted: Oct 05, 2008 - 05:42 PM



Joined: Dec 17, 2007
Posts: 171
Location: Italy
Status: Offline
Thanks op4latino!

_________________
The free(dom) technologies are possible!
Stuff for free(dom) software newbies on work!
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
 
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2006-2008 by sidux e.V., 10407 Berlin, Kniprodestr. 104. sidux e.V. is a Berlin, Germany based non-profit foundation. Consult Impressum and Legal Terms for details. sidux™ is Free Software released under the GNU/GPL license and other compatible licenses.
powered by Zikula & Zafenio