Bug 734226

Summary: Suspend/resume to RAM not working properly in openSuSE 12.1
Product: [openSUSE] openSUSE 12.1 Reporter: Pavel Hloušek <pavel.hlousek>
Component: KernelAssignee: E-mail List <kernel-maintainers>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: forgotten_iHLWPki5OT, forgotten_xnWyJO8MVA
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: SUSE Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Pavel Hloušek 2011-12-01 17:46:46 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.8 (KHTML, like Gecko) Chrome/17.0.922.0 Safari/535.8 SUSE/17.0.922.0

I have a K52F laptop with i915 graphics.

When I try to suspend it to RAM the screen goes black but the backlight stays on. No matter how I try I cannot get it to resume (Fn+running man, power button). The only thing that works is to hold power button for 5s and then turn the power on again which is not a resume but a usual boot.

I've read the SDB: Suspend to RAM article and I've tried all the hints: boot with "vga=0 init=/bin/bash", calling s2ram with all the variants of options first with the -v option then with the -v option.

Everytime it went exactly as described above: black screen with backlight on and no way to resume. Sometimes I could see a message for a very short moment before the screen went black. I wasn't able to read it all as it appears only for a very short time, but it said something like "...graphics drive in use...".

When suspending from KDE, the /var/log/pm-suspend.log contains only success messages.

Please, can you help me?

Reproducible: Always

Steps to Reproduce:
1. Suspend
2. Try to resume

Actual Results:  
Does not suspend properly (backlight stays on).
Does not resume.

Expected Results:  
Suspends and then resumes :)

$ s2ram -n

Machine unknown
This machine can be identified by:
    sys_vendor   = "ASUSTeK Computer Inc.        "
    sys_product  = "K52F"
    sys_version  = "1.0       "
    bios_version = "K52F.205"
Comment 1 Forgotten User iHLWPki5OT 2011-12-24 17:01:06 UTC
Weird thing I also have a Laptop with i915 video chipset and tried using a newer kernel version 3.1.5 IIRC from kernel.opensuse.org and had same behavior as yours with additional sporadic kernel panics when returning from hibernation.

My solution was to stay at kernel 3.1.0 shipped with the 12.1 release and everything is working as expected. I now know reading the kernel logs, that the i915/drm is being heavily rewritten at the moment so probably that's the instability root cause.

Please provide further information as kernel version and branch (-desktop, -default) and attach any log information that you might find useful to track this. So I can have a newer kernel version too.

Thanks
Comment 2 Pavel Hloušek 2012-01-02 09:16:05 UTC
# uname -a

Linux xxxx 3.1.0-1.2-desktop #1 SMP PREEMPT Thu Nov 3 14:45:45 UTC 2011 (187dde0) x86_64 x86_64 x86_64 GNU/Linux

I'm not much of a kernel guy so I'm not sure what log information could be useful.
Comment 3 Forgotten User xnWyJO8MVA 2012-01-13 20:35:25 UTC
This bug duplicate this bus

https://bugzilla.novell.com/show_bug.cgi?id=648742

*** This bug has been marked as a duplicate of bug 648742 ***