thinkpad t410 freezes reproducibly upon resume from suspend

Bug #717189 reported by Muharem Hrnjadovic
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Linux
Fix Released
Medium
linux (Ubuntu)
Fix Released
Medium
Andy Whitcroft

Bug Description

The v2.6.38-rc4 mainline kernel exhibited the same behaviour. Also, there are no errors or anything to be found in /var/log/syslog when this happens.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: linux-image-2.6.38-3-generic 2.6.38-3.30
Regression: Yes
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.38-3.30-generic 2.6.38-rc4
Uname: Linux 2.6.38-3-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: muharem 1725 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xf2620000 irq 45'
   Mixer name : 'Intel IbexPeak HDMI'
   Components : 'HDA:14f15069,17aa214c,00100302 HDA:14f12c06,17aa2122,00100000 HDA:80862804,17aa21b5,00100000'
   Controls : 12
   Simple ctrls : 6
Card29.Amixer.info:
 Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 6IHT37WW-1.12'
   Mixer name : 'ThinkPad EC 6IHT37WW-1.12'
   Components : ''
   Controls : 1
   Simple ctrls : 1
Card29.Amixer.values:
 Simple mixer control 'Console',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Date: Fri Feb 11 16:17:44 2011
HibernationDevice: RESUME=UUID=63fe042b-5e97-41c4-abe1-36a403db9daa
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20110201.2)
MachineType: LENOVO 25379UG
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 LC_MESSAGES=en_US.utf8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-3-generic root=UUID=fd7218e7-34f4-4f22-98b6-200ecf6235c4 ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-2.6.38-3-generic N/A
 linux-backports-modules-2.6.38-3-generic N/A
 linux-firmware 1.46
SourcePackage: linux
dmi.bios.date: 08/27/2010
dmi.bios.vendor: LENOVO
dmi.bios.version: 6IET72WW (1.32 )
dmi.board.name: 25379UG
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:bvr6IET72WW(1.32):bd08/27/2010:svnLENOVO:pn25379UG:pvrThinkPadT410:rvnLENOVO:rn25379UG:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 25379UG
dmi.product.version: ThinkPad T410
dmi.sys.vendor: LENOVO

Revision history for this message
Muharem Hrnjadovic (al-maisan) wrote :
Revision history for this message
Andy Whitcroft (apw) wrote :

Reporter has tested upstream v2.6.38-rc4 and that is also bad. Will bisect with reporter.

Changed in linux (Ubuntu):
assignee: nobody → Andy Whitcroft (apw)
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Ogilvierothchild (ogilvierothchild) wrote :

I am seeing the exact same behavior on the t410 running linux-image-2.6.38-3-generic from the kernel ppa.

Revision history for this message
devsk (funtoos) wrote :

Almost the same thing happens on my Dell Latitude E6510 using vanilla-sources 2.6.38-rc4. Surprisingly, the regression was introduced with rc4 because I had rc3 earlier and resume from suspend worked, sort of (the screen stayed dim, so I had to hit Fn-Auto (left arrow) to get the screen to show fully lit).

The difference for me is that the laptop is hard locked on resume. I can't ssh or sysrq. I can only do hard shutdown by long pressing the power.

Revision history for this message
Seth Forshee (sforshee) wrote :

I did a pm_trace against the v2.6.38-rc4 mainline build on my T410 and got the following in dmesg:

   Magic number: 0:117:321
   hash matches /home/kernel-ppa/COD/linux/drivers/base/power/main.c:514
 tty tty46: hash matches
 pci 0000:00:02.0: hash matches

/sys/power/pm_trace_dev_match contained:

tty
i915

I'll try to debug some more later this weekend.

Revision history for this message
Seth Forshee (sforshee) wrote :

I bisected it to this commit:

commit 5d1d0cc87fc0887921993ea0742932e0c8adeda0
Author: Chris Wilson <email address hidden>
Date: Mon Jan 24 15:02:15 2011 +0000

    drm/i915: Reset crtc after resume

    Based on a patch by Takashi Iwai.

    Reported-by: Matthias Hopf <email address hidden>
    Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=27272
    Tested-by: Takashi Iwai <email address hidden>
    Signed-off-by: Chris Wilson <email address hidden>

I haven't gotten the time yet to find exactly where the kernel is actually hanging. The changes can only be indirectly causing the hang, as all it really does is introduce the resetting of some values into the resume path.

Revision history for this message
Czikus (czikus-gmail) wrote :

Same problem with 2.6.38-3 from xedgers PPA on Maverick and Lenovo x201t. 2.6.38-2 works just fine.
This bug seems to be related: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/713677

Revision history for this message
Seth Forshee (sforshee) wrote :

The following commit in v2.6.38-rc5 fixes this regression in my testing (about a dozen S3 cycles).

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=04dbff52600719017598f7439bf42e5a72e7de3b

Changed in linux:
importance: Unknown → Medium
status: Unknown → Fix Released
Revision history for this message
Andy Whitcroft (apw) wrote :

This is believed fixed by the updates in v2.6.35-rc5. Moving Fix Released for natty.

Changed in linux (Ubuntu):
status: In Progress → Fix Released
Changed in linux:
status: Fix Released → Incomplete
Changed in linux:
status: Incomplete → Fix Released
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.