Bug 153272

Summary: Resume from suspend to disk fails
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Todd Nine <todd.nine>
Component: X.OrgAssignee: Pavel Machek <pavel>
Status: RESOLVED WORKSFORME QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: i586   
OS: Other   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Hardware info and suspend logs

Description Todd Nine 2006-02-24 01:13:34 UTC
Resuming from suspend to disk fails.  It appears that everything is loaded into memory correctly, however the X display hangs on startup, displaying 4 copies of the booting logs in each corner.  I cannot switch to any tty console, or restart X with ALT+CTRL+Backspace.  I'm using ext3 instead of ReiserFS.
Comment 1 Todd Nine 2006-02-24 01:16:27 UTC
Created attachment 70084 [details]
Hardware info and suspend logs
Comment 2 Chris L Mason 2006-02-24 13:05:30 UTC
One for pavel.
Comment 3 Pavel Machek 2006-02-24 13:09:57 UTC
Can you try it from text console (and if that fails, from minimal boot?)

Any chance to try suse10.1?
Comment 4 Todd Nine 2006-02-26 19:30:48 UTC
I can try the suspend from the console.  Unfortunately, I'm not sure I'm ready to upgrade to 10.1 yet.  I use Suse for development of c++ open source linux projects, and I don't want to run the risk of damaging my development environment.  
Comment 5 Todd Nine 2006-02-26 22:38:38 UTC
I was able to resume from the "shutdown -z now" command, however the behavior was not as expected.  I logged in to tty1 as root, and X was running.  I executed "shutdown -Z now" and the suspend executed successfully.  However, when the resume was finished the shutdown command continued to execute by sending the term and kill signal, shutting down my laptop again.
Comment 6 Pavel Machek 2006-02-27 09:45:00 UTC
Try triggering suspend manually, without using shutdown command. echo disk > /sys/power/state (and I'm sure there's nice howto somewhere).
Comment 7 Todd Nine 2006-03-01 14:04:32 UTC
I was able to suspend manually from tty1 and resume.  However as soon as I switch to the X diplay by CTRL+ALT+F7 my pc freezed.  This is apparently an X issued with my video card so I am witching the component to X.Org.

Comment 8 Todd Nine 2006-03-05 15:41:34 UTC
Adding the boot parameters acpi_sleep=s3_bios,s3_mode resolves this issue even though this is "not supposed to work".  The documentation is available here.

http://en.opensuse.org/ACPI_Suspend_debugging

Comment 9 Forgotten User ZhJd0F0L3x 2006-03-05 21:50:38 UTC
cool. Although i am pretty sure that acpi_sleep=... does absolutely nothing in the suspend-to-disk case. If it does, this would be a bug ;-)