|Summary:||suspend-to-ram broken on my d630 since 2.6.31|
|Product:||Drivers||Reporter:||Bernd Schubert (bernd.schubert)|
|Component:||Video(DRI - non Intel)||Assignee:||drivers_video-dri|
|Severity:||normal||CC:||airlied, akpm, alan, dmitry.torokhov, rui.zhang|
|Bug Depends on:|
|Attachments:||dmesg output of 2.6.28|
Description Bernd Schubert 2010-01-06 01:52:49 UTC
Suspend-to-Ram works perfectly with 2.6.28 (ubuntu). In 2.6.30 the mouse does not work any more when it wakes up (I opened a ubuntu bug report about that past year). Just update everything and now notice that S2RAM is completely broken - when it wakes up, it starts to spin the disk, but the screen stays blank. First tested with 2.6.31 (ubuntu karmic) and then updated to 2.6.32 (ubuntu lucid). Sorry didn't test vanilla kernels yet. Except of testing a very few releases, I will not have the time bisect these problems.
Comment 1 Bernd Schubert 2010-01-06 01:56:27 UTC
Created attachment 24458 [details] dmesg output of 2.6.28
Comment 2 Bernd Schubert 2010-01-06 01:57:47 UTC
Forgot to write that, it is about a Dell Lattitude D600. bernd@hardy ~>lspci 00:00.0 Host bridge: Intel Corporation 82855PM Processor to I/O Controller (rev 03) 00:01.0 PCI bridge: Intel Corporation 82855PM Processor to AGP Controller (rev 03) 00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01) 00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01) 00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01) 00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 01) 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 81) 00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 01) 00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 01) 00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01) 00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 01) 01:00.0 VGA compatible controller: ATI Technologies Inc Radeon RV250 [Mobility FireGL 9000] (rev 02) 02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5705M Gigabit Ethernet (rev 01) 02:01.0 CardBus bridge: O2 Micro, Inc. OZ711EC1 SmartCardBus Controller (rev 20) 02:01.1 CardBus bridge: O2 Micro, Inc. OZ711EC1 SmartCardBus Controller (rev 20) 02:03.0 Network controller: Intel Corporation PRO/Wireless 2200BG [Calexico2] Network Connection (rev 05) bernd@hardy ~>
Comment 3 Andrew Morton 2010-01-11 21:56:10 UTC
I'll reassign this regression to acpi. Also cc Dmitry, as the problem might lie in the input drivers.
Comment 4 Dmitry Torokhov 2010-01-11 22:57:02 UTC
Hm, my D630 suspends and resumes fine (and was doing it for ages). They are certainly different boxes but I'd expect keyboard controller to be very similar and they both use ALPS... You seem to have an ATI graphics card while mine has nvidia so I'd might start looking there. Does resume work if you stay in text console (so no X involved)?
Comment 5 Zhang Rui 2010-01-27 07:24:06 UTC
please attach the dmesg output after resume.
Comment 6 Bernd Schubert 2010-02-04 00:40:23 UTC
Sorry for my late reply. Found some time to do some tests during the last weekend. With 2.6.32 it works fine once I disable kms (radeon). But I think kms did not work at all for a radeon 9250 before 2.6.32, so I initially also didn't test that... Anyway now that we know it is radeon-kms, how shall we debug it? Keyboard (sysrq) doesn't work and nothing in syslog after failed resume. Hmm, actually it is one of the few notebooks with an external serial port. I will check if it shows something. Thanks, Bernd
Comment 7 Andrew Morton 2010-02-04 00:49:50 UTC
Sigh, DRM regression #4,766,343. I'll reassign it.
Comment 8 Dave Airlie 2010-02-04 07:57:22 UTC
Okay its not a regression if UMS still suspends/resumes okay. Its just the KMS driver has a bug Can you get http://people.freedesktop.org/~airlied/scratch/pm-hacks.patch to apply (it might need some munging)