Bug 597575

Summary: System fails to "sleep" but freezes (power cycle needed)
Product: [openSUSE] openSUSE 11.3 Reporter: Klaus Kämpf <kkaempf>
Component: KernelAssignee: Rafael Wysocki <rjw>
Status: RESOLVED WORKSFORME QA Contact: E-mail List <qa-bugs>
Severity: Critical    
Priority: P3 - Medium CC: forgotten_xs3PtXj4XH, jeffm, resler, stefan.kunze, wstephenson
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Hwinfo for HP Compaq 6715b
supportconfig - crash happened only about 10min to 15 min earlier

Description Klaus Kämpf 2010-04-17 11:17:34 UTC
After an update from 11.2 to 11.3M5 with 'zypper dup' my Laptop (Lenovo T60) fails to put itself to sleep.

The 'sleep lamp' starts blinking, display is switched to console and thats it. Only way out is power cycling the system.
Comment 1 Will Stephenson 2010-04-20 12:04:47 UTC
Me too, intel i945GM machine.  If yours is an intel too, is this a dupe of https://bugzilla.novell.com/show_bug.cgi?id=595760 ?
Comment 2 Klaus Kämpf 2010-04-20 12:08:46 UTC
No, mine is a Lenovo T60 laptop with ATI graphics.
Comment 3 Forgotten User xs3PtXj4XH 2010-07-12 11:08:03 UTC
Anybody care to re-test with RC2?
Comment 4 Jaroslav Resler 2010-07-31 13:57:38 UTC
The same behaviour on HP 6715b (AMD Turion, Radeon X1250) with OpenSuse 11.3 GM. It works perfect in OpenSuse 11.2 on the same configuration.
Comment 5 Forgotten User xs3PtXj4XH 2010-07-31 14:08:02 UTC
Thanks Jaroslav.  I've updated this bug to 11.3 final based on your report.  I wonder if this is ATI graphics-related.  Could you please kindly attach your hwinfo results to this bug report?  You can do this by issuing the command (as root/super user): hwinfo > hwinfo-jaroslav.txt and attaching the produced file below.
Comment 6 Jaroslav Resler 2010-07-31 14:50:25 UTC
Created attachment 379690 [details]
Hwinfo for HP Compaq 6715b

I append hwinfo for my notebook. One more remark: It does work properly in runlevel 3 so the problem might be related to Radeon and KMS.
Comment 7 Forgotten User xs3PtXj4XH 2010-08-01 01:45:25 UTC
I'd say you're probably right.  If I recall correctly, it wouldn't be the first time.
Comment 8 Rafael Wysocki 2010-08-02 22:12:00 UTC
Can you please try the kernel(s) from:

http://ftp.suse.com/pub/projects/kernel/kotd/master/

matching your system configuration?

Also, if you use the radeon driver with KMS, please check if removing the execute permission from /usr/sbin/s2ram helps.
Comment 9 Forgotten User xs3PtXj4XH 2010-08-07 07:19:21 UTC
Jaroslav, do you have any additional information to report?  Have you tried the kernels posted by Rafael?  I've set the bug to NEEDINFO while we wait on his report.
Comment 10 Jaroslav Resler 2010-08-07 17:43:30 UTC
More information about the problem:
1. Kotd kernel does not help, neither removing execute permission from /usr/sbin/s2ram does.
2. Starting the system with nomodeset helps but the screen is flickering from time to time in this setup.
Comment 11 Forgotten User xs3PtXj4XH 2010-08-07 20:27:39 UTC
OK, I've changed the bug's NEEDINFO status, though you could have done this yourself.  Let's see what Rafael has to say.
Comment 12 Rafael Wysocki 2010-08-22 20:31:30 UTC
The fact that starting the kernel with "nomodeset" helps indicates that the problem is related to the graphics driver.  I'm afraid this is an upstream issue.

Jaroslav, is it viable to test mainline kernels from kernel.org on your machine?
Comment 13 Rafael Wysocki 2010-09-21 23:26:18 UTC
Please check if the last openSUSE 11.3 kernel update fixes this issue.
Comment 14 Stefan Kunze 2010-09-28 10:44:20 UTC
Created attachment 391869 [details]
supportconfig - crash happened only about 10min to 15 min earlier
Comment 15 Stefan Kunze 2010-09-28 10:45:54 UTC
Ok I'm also affected by this bug 
11.3 radeon driver - KMS 
last crash happened 10-15 min ago - power cycle needed
This happens annoyingly often since I updated to 11.3
Comment 16 Stefan Kunze 2010-09-28 10:48:09 UTC
To describe further - the system falls asleep in midaction and cannot be woken up - powercycle is needed 
I cant even switch to a Terminal
Comment 17 Rafael Wysocki 2010-09-28 19:03:04 UTC
That may not be the same issue.

What was the last openSUSE 11.3 kernel that was tested?  Please attach the output of dmesg from that kernel.
Comment 18 Jaroslav Resler 2010-09-28 19:41:36 UTC
The issue is still here after the latest kernel update.
Comment 19 Rafael Wysocki 2010-09-28 19:51:03 UTC
Please test the current kernel from

http://ftp.suse.com/pub/projects/kernel/kotd/master/

that matches your system configuration.
Comment 20 Jaroslav Resler 2010-09-28 20:22:11 UTC
The suspend works well with the new kernel 2.6.36-2.99.24. It is a great news. Is any hope that the fix will be ported back to the standard OpenSuse 11.3 kernel?
Comment 21 Rafael Wysocki 2010-09-28 21:15:15 UTC
That depends on whether or not we're able to identify the fix and how intrusive it is.  Unfortunately, only you can identify the fix, because you have the hardware the problem occurs on.

If you can build and install kernel.org kernels on your system, please check if the last kernel from the 2.6.35.y series works correctly for you.

Please let me know if you can do that.
Comment 22 Stefan Kunze 2010-09-30 07:28:27 UTC
(In reply to comment #17)
> That may not be the same issue.
> 
> What was the last openSUSE 11.3 kernel that was tested?  Please attach the
> output of dmesg from that kernel.

Hi Rafael, 

dmesg is part of the supportconfig i attached - you will find it in the boot.txt 
If you need a different dmesg please tell where I can find it . 

And this is the latest kernel I tested.
Comment 23 Rafael Wysocki 2010-09-30 20:34:19 UTC
OK, thanks.

Can you test the kernel that worked for Jaroslav, 2.6.36-2.99.24, to verify it fixes the problem for you too?
Comment 24 Forgotten User xs3PtXj4XH 2010-11-18 09:08:23 UTC
If not further information is received, this bug should be closed.
Comment 25 Stefan Kunze 2010-11-18 09:22:38 UTC
Hi , thanks for the reminder - I'm pretty busy atm - but I will try to test the new Kerenl either today or tomorrow . if it works it will be at least a few few days before I can confirm as it crashes rather randomly - sometimes several times a day. Sometimes only once a week.
Comment 26 Forgotten User xs3PtXj4XH 2010-11-18 11:01:52 UTC
Thanks Stefan, looking forward to your update.
Comment 27 Stefan Kunze 2010-11-30 15:54:48 UTC
Ok I updated to the factory kernel about 2 weeks ago and use the version 

Linux Terrania 2.6.36-18-desktop #1 SMP PREEMPT 2010-10-26 21:31:22 +0200 x86_64 x86_64 x86_64 GNU/Linux
 
since then. In this nearly 2 weeks I had one crash compare d to about 2 dozen times (some days it was crashing very often) in 2weeks with 2.6.34 (up-to-date 11.3 Kernel) before . 

It might not be completely solved but I can certainly live with the situation as it is right now. probably will do a complete reinstallation once 11.4 is around.
Comment 28 Rafael Wysocki 2010-11-30 22:21:19 UTC
OK, I'm resolving this as "worksforme", if you don't mind.

Please reopen if it breaks again.