2.6.32-22-generic kernel breaks suspend/resume on Thinkpad X60s

Bug #590889 reported by Philip Armstrong
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

suspend/resume works fine with 2.6.32-21-generic, but suspend never completes with 2.6.32-22: the screen blanks and the system hangs; the suspend light never stops flashing & it won't resume.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: linux-image-2.6.32-22-generic 2.6.32-22.36
Regression: Yes
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: phil 1849 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xee240000 irq 17'
   Mixer name : 'Analog Devices AD1981'
   Components : 'HDA:11d41981,17aa2025,00100200'
   Controls : 20
   Simple ctrls : 11
Card29.Amixer.info:
 Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 7BHT40WW-1.13'
   Mixer name : 'ThinkPad EC 7BHT40WW-1.13'
   Components : ''
   Controls : 2
   Simple ctrls : 1
Card29.Amixer.values:
 Simple mixer control 'Console',0
   Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
   Playback channels: Mono
   Limits: Playback 0 - 14
   Mono: Playback 12 [86%] [on]
Date: Mon Jun 7 18:31:36 2010
EcryptfsInUse: Yes
HibernationDevice: RESUME=UUID=cbb67b68-0200-44ed-9b92-c5edee748b4d
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
MachineType: LENOVO 1702WNK
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-22-generic root=UUID=65efc7b2-710d-460d-b808-8977ea2b7106 ro quiet splash
ProcEnviron:
 LANG=en_GB.utf8
 SHELL=/bin/bash
RelatedPackageVersions: linux-firmware 1.34
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
SourcePackage: linux
dmi.bios.date: 11/20/2008
dmi.bios.vendor: LENOVO
dmi.bios.version: 7BETD7WW (2.18 )
dmi.board.name: 1702WNK
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr7BETD7WW(2.18):bd11/20/2008:svnLENOVO:pn1702WNK:pvrThinkPadX60s:rvnLENOVO:rn1702WNK:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 1702WNK
dmi.product.version: ThinkPad X60s
dmi.sys.vendor: LENOVO

Revision history for this message
Philip Armstrong (phil-ubuntu) wrote :
Revision history for this message
Philip Armstrong (phil-ubuntu) wrote :

OK, addendum: suspend/resume fails with 2.6.32-21-generic as well. I was confused by the fact that suspend/resume *does* work if you try it from the initial gdm login screen: once you've logged in once, it will always fail thereafter (whether you're logged in or not). I was just rebooting into the older kernel & trying it, not actually logging myself in.

I've tried the 2.6.34 kernel from the ubuntu kernel ppa & the Karmic kernel as well & they all fail. Now, suspend/resume definitely used to work on this laptop. I'll try the earlier kernels & see if any of them work.

Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi Philip,

If you could also please test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

    [This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kernel-suspend
tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Philip Armstrong (phil-ubuntu) wrote :

OK, I'm afraid I don't know whether this is a kernel bug, or whether it lies elsewhere. I can at least confirm the following:

1) Booting from a Lucid install CD, suspend and resume work perfectly
2) Using the same kernel as the LiveCD (2.6.32-21.32) on my X60s install fails to suspend.
3) The latest 2.6.34 release from the kernel ppa also hangs.

Both the Install CD & the X60 install are using the same xserver-xorg-video-intel version (2:2.9.1-3ubuntu5).

Any ideas where else I could be looking?

Revision history for this message
Philip Armstrong (phil-ubuntu) wrote :

Oh, and suspend/resume work perfectly from the gdm login screen. It's only after login that they start to hang. Maybe the wireless drivers are hanging? I'll have a prod.

Revision history for this message
Philip Armstrong (phil-ubuntu) wrote :

Ah ha! Found the culprit: it's the SD card slot.

If there's an SD card mounted, then suspend hangs. Unmount the SD card before suspending and everything works perfectly.

tags: removed: regression-update
Revision history for this message
Philip Armstrong (phil-ubuntu) wrote :

I guess this is pm-utils bug #137810 again then. Re-assign?

Revision history for this message
Chris Skalenda (chris-atld) wrote :

I doubt it is the same bug, as this is new behavior with lucid on the X60. I'm pretty sure it worked in previous releases.

I'm glad you found the culprit. I've been frustrated by this bug for months! :)

Revision history for this message
Philip Armstrong (phil-ubuntu) wrote :

searching on sd card suspend reveals that this is an ongoing problem with a number of laptops. Bug #569882 is a report on a Thinkpad X61 (very similar hardware to the X60) for instance, but there are a number of others with laptops from a variety of manufacturers. I wonder if they're all using the same SD card hardware?

Glad to have helped you anyway Chris :)

Changed in linux (Ubuntu):
status: Incomplete → Triaged
importance: Undecided → Medium
tags: added: kernel-needs-review kernel-power
removed: needs-upstream-testing
Revision history for this message
Evan Carroll (evancarroll) wrote :

@Philip Armstrong -- good job!!!

Jesus Christ, I've been bothered by this problem for months! It started like half way through beta (iirc). I've been hoping someone can iron this out. I'm going to mark this bug as a dupe, because obviously we know now with absolute certainty how malicious and awkward this bug can be. I wonder how many other people are affected by this that are looking to solve the problem in all the wrong places.

I consider myself pretty seasoned, but I couldn't find any trace of the cause of this no matter how hard I looked.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.