Bug 11534 - suspend-to-ram broken on Thinkpad T500
Summary: suspend-to-ram broken on Thinkpad T500
Status: CLOSED PATCH_ALREADY_AVAILABLE
Alias: None
Product: ACPI
Classification: Unclassified
Component: Power-Sleep-Wake (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Zhang Rui
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-10 20:07 UTC by Patrick McLean
Modified: 2008-10-16 16:21 UTC (History)
2 users (show)

See Also:
Kernel Version: 2.6.26, 2.6.27-rc{5,6}
Subsystem:
Regression: ---
Bisected commit-id:


Attachments
acpidump ouput on my T500 (310.77 KB, text/plain)
2008-09-10 20:11 UTC, Patrick McLean
Details

Description Patrick McLean 2008-09-10 20:07:47 UTC
Latest working kernel version:
Earliest failing kernel version:
Distribution: Gentoo
Hardware Environment: Lenovo Thinkpad T500
Here is a lspci from the machine:

00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:03.0 Communication controller: Intel Corporation Mobile 4 Series Chipset MEI Controller (rev 07)
00:19.0 Ethernet controller: Intel Corporation 82567LM Gigabit Network Connection (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M-E LPC Interface Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
03:00.0 Network controller: Intel Corporation Device 4237
15:00.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ba)
15:00.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 04)
15:00.2 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 21)
15:00.3 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev ff)
15:00.4 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 11)
15:00.5 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 11)

And a lsusb:
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 08ff:2810 AuthenTec, Inc. 
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Problem Description: I can suspend fine, but it does not come back up. It appears to be a video issue as it sort of resumes, but I have a black screen.
I tried vbetool, which didn't seem to help much. I am willing to test patches and run any debug code necessary to help get this working.
Comment 1 Patrick McLean 2008-09-10 20:11:34 UTC
Created attachment 17721 [details]
acpidump ouput on my T500

Here is the output of acpidump, let me know if there is any other information I can provide.

This was taken while running the latest iwlwifi git as of this morning.
Comment 2 Zhang Rui 2008-09-11 00:34:01 UTC
does the keyboard still alive?
i.e. can you see the led on when pressing caps lock button?
does the network still alive?
i.e. can you connect to this laptop via network after resume?
Comment 3 ykzhao 2008-09-11 07:35:58 UTC
Hi, Patrick
    Will you please add the boot option of "acpi_sleep=s3_beep and see whether the beep voice can be heard when pressing the power button to resume the system?
   thanks.
Comment 4 Patrick McLean 2008-09-11 08:55:15 UTC
Both the keyboard and network are alive after a resume. The LED's work fine and I can ssh into the machine normally.

When I add acpi_sleep=s3_beep, it does 3 short beeps and one long beep when I resume.
Comment 5 Zhang Rui 2008-09-11 18:46:06 UTC
hah, it's the known S3 video issue.
You're using an Intel integrated graphics card, aren't you?
Jessie's drm patches have fixed already.
please try any kernel releases later than 2.6.26.

note: you must make sure the i915 driver is loaded first, i.e start X or load i915 driver manually in console mode.
Comment 6 Patrick McLean 2008-09-11 20:30:53 UTC
It turns out that X wasn't autoloading the i915 driver for some reason, I compiled it into my kernel (2.6.27-rc6) and it seems to be working now.

Note You need to log in before you can comment on or make changes to this bug.