LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 12-03-2008, 07:00 PM   #1
brianpbarnes
Member
 
Registered: Dec 2005
Posts: 143

Rep: Reputation: 15
Suspend/hibernate on Ubuntu 8.04 fails even with s2both (uswsusp)


Hi,
Suspend and hibernate with Ubuntu 8.04 on my Asus P5Q3 never wakes up. At best, I get a black screen with some a garbled corner on it. Researching it shows it is apparently a common problem. My mobo has Intel's newest (bleeding edge) P45, DDR3 chipset.

I found one solution, installing uswsusp and trying s2both. It complains:
s2both: Could not stat the resume device file. Reason: No such file or directory

When I installed it, it asked if I wanted to install it "without a valid swap device". I have 3 swap devices on 3 separate hard drives totaling 25 GB:
root@godzilla2:/tera/nt.snap# grep swap /etc/fstab
UUID=7356e42c-2aa3-46ca-aacf-6efdd1cfec18 none swap sw 0 0
UUID=8e4a7444-6e14-49f7-81ee-190534eeacb5 none swap sw 0 0
UUID=9152f370-051a-497f-a4bf-3f5a679acb7e none swap sw 0 0

The reason I had to go to the weird UUID method for fstab was that on almost every boot, my SD A, B, C and D devices were randomly scrambled. I took careful notes and any one of my 4 drive subsystems would be SDA. I have a Velociraptor as the main system drive, a 1 TB deathstar for backup, a 640 GB data/windoz drive and a 3TB RAID 5 deep storage drive.

Most of the times I tried to boot with the standard /dev/sd{ABCD} in fstab, the boot would fail and I had to go in as ROOT and reassign the SD a, b, c and d devices in fstab to suit the random allocation of the day by looking at gparted /dev/sd?. The UUID fstab trick gives me consistent boots and mounts.

Is there a way to have s2both recognize the UUID disk or to have the boot sequence not randomly assign my hard drive devices?

Thank you,

Brian


root@godzilla2:/home/brianp# cat /etc/uswsusp.conf
# /etc/uswsusp.conf(8) -- Configuration file for s2disk/s2both
resume device = UUID=7356e42c-2aa3-46ca-aacf-6efdd1cfec18
<< this swap is on my boot drive and is 8 GB with 4 GB RAM >>
splash = y
compress = y
early writeout = y
image size = 1909767618
RSA key file = /etc/uswsusp.key
shutdown method = platform

root@godzilla2:/home/brianp# cat /etc/fstab
UUID=1561BA463BD6DC0F /mnt/ntsys ntfs-3g defaults 0 0
UUID=7077647804C17F45 /mnt/ntdat ntfs-3g defaults 0 0
#UUID=909803B698039A3C /extera ntfs-3g defaults 0 0

//vulcan/home_brianp /home/brianp/vulcan cifs user=brianp,uid=1000,gid=100 0 0
#//fractal/viper_d /home/brianp/fractal smbfs defaults 0 0
#//viper/Viper_C /home/brianp/viper smbfs defaults 0 0
#//godzilla/godzilla_d /home/brianp/godzilla smbfs defaults 0 0

proc /proc proc defaults 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
none /proc/bus/usb usbfs devgid=132,devmode=664 0 0

UUID=c06dd2cb-1a34-4133-8f74-582893877c42 /boot ext3 relatime 0 2
UUID=6779b8c1-b2a5-40ec-9a7f-94fc5358837f / ext3 relatime,errors=remount-ro 0 1
UUID=7356e42c-2aa3-46ca-aacf-6efdd1cfec18 none swap sw 0 0
UUID=58d7f5e8-5cf9-486a-bb61-44b7037b1cbe /home ext3 relatime 0 2
UUID=392ca003-984b-43d0-88e9-297500ebedf0 /home2 ext2 relatime 0 0
UUID=8e4a7444-6e14-49f7-81ee-190534eeacb5 none swap sw 0 0
UUID=c5ce8459-295b-418d-b4ea-826983440c42 /r5 ext3 relatime 0 0
UUID=d16c80ec-73b1-4744-a60f-24bfc6e3f696 /sys3 ext3 relatime 0 0
UUID=c3c17b83-bb07-42f8-9e1c-a198102006c2 /tera ext2 relatime 0 0
UUID=9152f370-051a-497f-a4bf-3f5a679acb7e none swap sw 0 0
 
  


Reply

Tags
hibernate, suspend, ubuntu, uswsusp


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with ubuntu hibernate/suspend Jykke Linux - Hardware 3 08-25-2008 02:59 PM
Problem suspend/hibernate ubuntu feisty oddvar Linux - Software 4 08-02-2008 09:57 PM
cli hibernate works but gnome panel hibernate fails BCarey Linux - Desktop 1 06-08-2007 11:21 AM
Broken suspend and hibernate on Lenovo 3000 N100 running Ubuntu rune.evjen Linux - Laptop and Netbook 6 02-23-2007 07:31 PM
suspend a.k.a hibernate on kernel 2.6, how to use it? demmylls Linux - General 1 03-06-2004 01:06 PM


All times are GMT -5. The time now is 06:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration