| Author |
Message |
|
|
Post subject: Suspend to disk problem
Posted: 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. |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Suspend to disk problem
Posted: 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 |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Suspend to disk problem
Posted: 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 |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Suspend to disk problem
Posted: 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 |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Suspend to disk problem
Posted: 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 |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Suspend to disk problem
Posted: 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? |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: 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 |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: 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 "Ουρέα"
|
| |
|
|
|
 |
|
|
Post subject:
Posted: May 11, 2008 - 04:12 AM
|
|

Joined: Dec 02, 2006
Posts: 1045
Location: East Coast
Status: Offline
|
|
|
|
|
 |
|
|
Post subject:
Posted: 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!
|
| |
|
|
|
 |
|
|