lenovo/thinkpad R400/R500/T6x/T400[s]/T420/T500/W500/W700/X60/X200 suspend fails

Bug #625364 reported by Scott Moser
610
This bug affects 112 people
Affects Status Importance Assigned to Milestone
linux (Fedora)
Fix Released
Medium
linux (Ubuntu)
Fix Released
Critical
Unassigned
Natty
Fix Released
Critical
Unassigned
pm-utils (Ubuntu)
Fix Released
Critical
Unassigned
Natty
Fix Released
Critical
Unassigned

Bug Description

Using recent maverick kernels, my suspend has stopped working. It previously worked in lucid, and for much of maverick development cycle.

Now, closing the laptop results in flashing 'moon' and a switch of console out of X, with an unrelated message on the screen (I think it is gdk message, but don't recall exactly).

opening laptop back up, it is generally unresponsive. (alt-f1 -> alt-f7 do nothing).
I've had to hard power off.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: linux-image-2.6.35-19-generic 2.6.35-19.26
Regression: Yes
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.35-19.26-generic 2.6.35.3
Uname: Linux 2.6.35-19-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: smoser 2297 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xfc020000 irq 48'
   Mixer name : 'Conexant CX20561 (Hermosa)'
   Components : 'HDA:14f15051,17aa211c,00100000'
   Controls : 14
   Simple ctrls : 7
Card29.Amixer.info:
 Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 7VHT14WW-1.03'
   Mixer name : 'ThinkPad EC 7VHT14WW-1.03'
   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 Aug 27 11:10:23 2010
EcryptfsInUse: Yes
HibernationDevice: RESUME=UUID=c38b210e-96b2-4c5a-9548-cfea0e4c4bee
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100318)
MachineType: LENOVO 7417CTO
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-19-generic root=UUID=36286167-4eba-4a1e-a202-155c6baafa01 ro quiet splash
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
RelatedPackageVersions: linux-firmware 1.38
SourcePackage: linux
dmi.bios.date: 04/17/2009
dmi.bios.vendor: LENOVO
dmi.bios.version: 7UET70WW (3.00 )
dmi.board.name: 7417CTO
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:bvr7UET70WW(3.00):bd04/17/2009:svnLENOVO:pn7417CTO:pvrThinkPadT400:rvnLENOVO:rn7417CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 7417CTO
dmi.product.version: ThinkPad T400
dmi.sys.vendor: LENOVO

Revision history for this message
Scott Moser (smoser) wrote :
Revision history for this message
Andris Sprūds (aspruds) wrote :

I am also affected. The dangerous part of this bug is that the laptop suspends only partially. The thermal control (fans) are shut down, while processor and screen remains running. I am afraid that this combination can lead to fatal consequences to the CPU.

Revision history for this message
Khari Villela (khariv) wrote :

I have been experiencing this bug since one of the earliest builds of 10.10. I'm disappointed it has not gotten resolved in the final 10.10 release.

The system has a 50/50 chance of being put into the crash state. What I'm doing (browsing running flash, no browsers open, etc.) does not appear to have any impact on whether the system crashes.

Running Lenovo R60.

Revision history for this message
Stas Sușcov (sushkov) wrote :

This is very bad.
After upgrade, I closed the lid and woke up that my laptop battery was fully drained and the temperature in my backpack grew like in summer. My T400 is cold usually, so this bug is serious!

If you need help with testing, I'm in.

Revision history for this message
Andris Sprūds (aspruds) wrote :

4 people are experiencing the same symptoms, so I am changing the status to confirmed

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
mokinys (mokinys) wrote :

This bug affects at least 10 people by now (me too). Hope to get a bugfix soon.

Revision history for this message
Stefan Sommer (stefan-nefan) wrote :

Same on my T500.

Revision history for this message
Scott Moser (smoser) wrote :

Can anyone reliably reproduce this ? Or is it just "sometimes" ? For me, its just occasional.

Revision history for this message
mat_lec (mail-matlechner) wrote :

I use suspend quite often, but I still cannot spot a pattern. A few days ago it seemed, that every 2nd suspend fails, but the last days I was able to suspend and resume several times before my T400 got stuck.
Could anyone who tested Maverick during its devolopment spot the version at which things started going wrong? Maybe that helps to track down the reason of the bug...

Revision history for this message
Rami Taibah (rtaibah) wrote :

I am affected by this too. However I switched to my discrete ATI card and it seems to work properly. Haven't done extensive testing yet, but I haven't had a problem since I switched 3 days ago. Seems like the integrated Intel card is whats causing the problem. So that might be a temp solution if you have two graphic card

Revision history for this message
David Danziger (david-stufflikethat) wrote :

Apparently same thing on T400s; always seems to occur upon every suspend attempt (what with the data loss and all, I'm not inclined to keep trying, unless someone has a less destructive test methodology). Prior to Maverick (Karmic, Gutsy), suspend worked flawlessly. I'm seeing anecdotal reports of behavior that sounds related as early as April or March...is this really such an unpopular laptop series?

Revision history for this message
Stas Sușcov (sushkov) wrote : Re: [Bug 625364] Re: lenovo T400 suspend fails

În data de Jo, 21-10-2010 la 04:59 +0000, David Danziger a scris:
> Apparently same thing on T400s; always seems to occur upon every suspend
> attempt (what with the data loss and all, I'm not inclined to keep
> trying, unless someone has a less destructive test methodology). Prior
> to Maverick (Karmic, Gutsy), suspend worked flawlessly. I'm seeing
> anecdotal reports of behavior that sounds related as early as April or
> March...is this really such an unpopular laptop series?
>

Anyone, beside problems with suspend, experience drop in performance on
3d acceleration(for example lp:#663328) and wifi. I mean it makes me
feel that after Lucid, Meerkat made my t400 a bit less smart.

Also, I don't have the model with 2 video cards, just with an Intel GM45
series, so this bugs is surely not caused by such details like used gpu.

Revision history for this message
mokinys (mokinys) wrote : Re: lenovo T400 suspend fails

@David et al.
This is definitely not an unpopular laptop series. I'm working for IBM and all of us employees worldwide are using Thinkpads, especially the T-Series, and so do others in IT and Business. About 10% of us IBM employees are using Linux on their workstations (=Thinkpads). I've been using Ubuntu for years now and suspend has worked flawlessly, as you say, even with Lucid.
About the pattern/symptoms: It seems to be entirely random. Sometimes it hangs several times in a row and then suspend works again... strange!

Revision history for this message
Marcin Sochacki (wanted) wrote :

Another "me too", T400, I use suspend a lot and since upgrading to Maverick it hangs in about 10-20% of cases.

The last message printed on console is something like "Checking battery state", but I'm not sure if it's at all related to hangups.

summary: - lenovo T400 suspend fails
+ lenovo T400/T500 suspend fails
Revision history for this message
Mihai (udev) wrote : Re: lenovo T400/T500 suspend fails

Same here, I have a T400 and suspending it fails in about 50% of cases. Only way out is to switch the machine off.

Revision history for this message
Stas Sușcov (sushkov) wrote :

Related: lp:#348204 ?

164 comments hidden view all 194 comments
Revision history for this message
In , Felix (felix-redhat-bugs) wrote :

Created attachment 456339
/var/log/pm-suspend.log

I had suspend working on my notebook for several Fedora versions. It broke recently.

Debugging it I found out that it fails with
# echo mem > /sys/power/state
bash: echo: Write-Error: Input/Output-Error

pm-utils-1.3.1-3.fc14.i686
# uname -a
Linux thinkpad 2.6.35.6-46.fc14.i686.PAE #1 SMP Tue Oct 19 03:06:38 UTC 2010 i686 i686 i386 GNU/Linux

Revision history for this message
In , Robert (robert-redhat-bugs-1) wrote :

Created attachment 456346
Similar experience on a Lenovo Thinkpad X200s

Suspend fails at the same point as the aforementioned poster, except in my /usr/lib64/pm-utils/pm-functions at line 295 I have an echo -n.

I have pm-utils-1.3.1-2.fc14.x86_64 installed.

If I cat /sys/power/state I observe:

$ cat /sys/power/state
mem disk

If there is anything you would like me to try or any further information you wish to obtain from me, please ask.

Revision history for this message
In , Robert (robert-redhat-bugs-1) wrote :

This issue is fixed for me with the kernel update to:

kernel.x86_64 2.6.35.6-48.fc14

165 comments hidden view all 194 comments
Revision history for this message
Kapil Thangavelu (hazmat) wrote :

Definitely related to the same suite of issues on other thinkpad models described here. lp bug:644223

166 comments hidden view all 194 comments
Revision history for this message
In , Felix (felix-redhat-bugs) wrote :

In fact I can "echo mem > /sys/power/state" now without error.
But the system hangs on suspend every time. I just see the blue plymouth screen...

Revision history for this message
In , Jaroslav (jaroslav-redhat-bugs) wrote :

Seems like kernel problem. Could you provide output of pm-utils-bugreport-info.sh?

166 comments hidden view all 194 comments
Revision history for this message
Marcin Sochacki (wanted) wrote :

I made a series of experiments and found out the following:

1) using pm-suspend I could safely suspend the T400 from text console (ctrl-alt-f1) every single time on stock kernel (even if gdm was running on X session at the same time)
2) the same pm-suspend would freeze the laptop randomly if ran from xterm in GNOME
3) upgrading to PPA kernel 2.6.36 (http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.36-maverick/linux-image-2.6.36-020636-generic_2.6.36-020636.201010210905_i386.deb) fixed the issue for me completely

summary: - lenovo T400/T500 suspend fails
+ lenovo/thinkpad T400/T500/W500 suspend fails
tags: added: lenovo t400 t500 thinkpad w500
167 comments hidden view all 194 comments
Revision history for this message
In , Felix (felix-redhat-bugs) wrote :

Created attachment 456809
pm-utils-bugreport-info.sh

Here is the output of pm-utils-bugreport-info.sh.

My systems suspends fine with "echo mem > /sys/power/state". However it does not work from the menu (gnome) and from the terminal with "pm-suspend"...

166 comments hidden view all 194 comments
Revision history for this message
mokinys (mokinys) wrote : Re: lenovo/thinkpad T400/T500/W500 suspend fails

@wanted
Thank you for pointing out a solution. Suspend works like a charm for me now, too.

167 comments hidden view all 194 comments
Revision history for this message
In , Jaroslav (jaroslav-redhat-bugs) wrote :

Log looks good. I do not have here T400 for testing now but I will try to get one. Can you try without video quirks? Create file in /etc/pm/config.d with content:

HOOK_BLACKLIST=98video-quirk-db-handler

If it doesn't help try to blacklist other hooks from the log above. Maybe one of the hook is causing problem. Please report result.

Revision history for this message
In , Felix (felix-redhat-bugs) wrote :

Hi Jaroslav thanks alot for your suggestion:

HOOK_BLACKLIST=98video-quirk-db-handler

fixes the problem for me.

What do you need to really fix this?
At what time is http://cgit.freedesktop.org/pm-utils/tree/video-quirks/20-video-quirk-pm-lenovo.quirkdb?h=video-quirks used?

167 comments hidden view all 194 comments
Revision history for this message
Stas Sușcov (sushkov) wrote : Re: [Bug 625364] Re: lenovo T400/T500 suspend fails

În data de Du, 31-10-2010 la 20:19 +0000, wanted a scris:
> I made a series of experiments and found out the following:
>
> 1) using pm-suspend I could safely suspend the T400 from text console (ctrl-alt-f1) every single time on stock kernel (even if gdm was running on X session at the same time)
> 2) the same pm-suspend would freeze the laptop randomly if ran from xterm in GNOME
> 3) upgrading to PPA kernel 2.6.36 (http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.36-maverick/linux-image-2.6.36-020636-generic_2.6.36-020636.201010210905_i386.deb) fixed the issue for me completely

Suspend works, yay!
Thanks.

Revision history for this message
David Danziger (david-stufflikethat) wrote : Re: lenovo/thinkpad T400/T500/W500 suspend fails

Same for me with T400s; above-mentioned mainline kernel deb restores suspend ability.

Revision history for this message
mat_lec (mail-matlechner) wrote :

I tried the 2.6.36 mainline kernel and suspend indeed works like a charm again (it even wakes up faster than with the standard Ubuntu kernel, but I already noticed this with lucid, too). Also, I checked the 2.6.35 mainline kernel: it had the same problems as the Ubuntu version, so it is definitely a problem with the kernel itself and not with Ubuntu's patches.

166 comments hidden view all 194 comments
Revision history for this message
In , Jaroslav (jaroslav-redhat-bugs) wrote :

Thanks for info. It seems the quirks DB is not shipped with pm-utils. Please try to download latest quirk DB from http://pm-utils.freedesktop.org/releases/ and unpack it to /usr/lib/pm-utils (or /usr/lib64/pm-utils/ for 64 bit) and retest.

165 comments hidden view all 194 comments
Revision history for this message
Student (ein-student) wrote :

My Lenovo T400s is affected too.

Fortunately, with the 2.6.36 mainline kernel suspend works again. You can download the 64bit version at http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.36-maverick/linux-image-2.6.36-020636-generic_2.6.36-020636.201010210905_amd64.deb
@wanted: Thanks for the solution!

summary: - lenovo/thinkpad T400/T500/W500 suspend fails
+ lenovo/thinkpad T400[s]/T500/W500 suspend fails
tags: added: t400s
Revision history for this message
erikv (eveld) wrote : Re: lenovo/thinkpad T400[s]/T500/W500 suspend fails

Seeing the same behaviour on my T400s running 10.10. Suspend works half of the time. The other half the box freezes. Used to work fine with 10.04.

Revision history for this message
Scott Moser (smoser) wrote :

Well, I just installed linux-image-2.6.36-020636-generic in maybe 5 attempts to suspsend/resume, 2 of them failed. One was pretty much a stock "boot, open firefox, suspend", and it did not come out of suspend. The other left the moon flashing on the way into suspend.

Revision history for this message
alien8 (fb-alien8) wrote :

Hi,

w/ 2.6.36 I also had major suspend/hibernate problems. Lately, that was an issue on LKML too http://kerneltrap.org/mailarchive/linux-kernel/2010/10/27/4638146 . Further, I had apparmor seg faults w/ the stock 2.6.36 LK.

As written in bug 666172 (marked as duplicated of this one here)
echo (disk|mem) >| /sys/power/state
always worked fine for me. However, from time to time I get Kernel Ooopsies using the Ubuntu Kernel. I attach 2 dmesg traces here showing that. I did "short-cut" the /usr/lib/pm-utils/bin/pm-action script to skip everything (hooks) but the suspend/hibernate action.

Currently, I'm trying the 2.6.35 stock kernel from http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.35-maverick/ It's too early to say if it also ooopses since that happens only once in a while. suspend/hibernate seems to be stable though.

/var/log/pm-suspend.log has never shown any issues. Just ended w/ the hooks section.

- a8

Revision history for this message
Michał Stawicki (stawicki) wrote :

Same issue on Lenovo R400.

Marcin Sochacki (wanted)
summary: - lenovo/thinkpad T400[s]/T500/W500 suspend fails
+ lenovo/thinkpad T400[s]/T500/W500/X60 suspend fails
tags: added: x60
162 comments hidden view all 194 comments
Revision history for this message
In , Jaroslav (jaroslav-redhat-bugs) wrote :

Please try following scratch build:
http://koji.fedoraproject.org/koji/taskinfo?taskID=2589652

It incorporates all quirks. Also pm-utils-bugreport-info.sh was updated. If you still encounter the problem, please post output of pm-utils-bugreport-info.sh from the above scratch build. It should reveal more information now.

161 comments hidden view all 194 comments
Revision history for this message
thomas michel (tom-michel) wrote : Re: lenovo/thinkpad T400[s]/T500/W500/X60 suspend fails

The vanilla kernel does not fix the issue on the X60 tablet. Still a blinking moon on hibernate and a running fan on suspend.

Revision history for this message
alien8 (fb-alien8) wrote :

Thomas, which one? I also caught the first Ooops w/ 3.6.35 vanila, T400s Do you happen to have a dmesg log?

Thanks,

- a8

Revision history for this message
thomas michel (tom-michel) wrote :

Hi,

this is the vanilla kernal I'm running:

2.6.36-020636-generic

Attached is the output of dmesg.

Revision history for this message
alien8 (fb-alien8) wrote :

Thanks Thomas,

Your dmesg looks fine. It doesn't show a bug.

The developers need the dmesg if it fails. As an example please look at what I attached to #26.

Thanks,

- a8

Revision history for this message
Scott Moser (smoser) wrote :

Pulling my hair out, I tried going back to the lucid kernel, where I used to be able to suspend/resume.
From https://launchpad.net/ubuntu/+source/linux I downloaded
linux-headers-2.6.32-25_2.6.32-25.45_all.deb
linux-headers-2.6.32-25-generic_2.6.32-25.45_amd64.deb
linux-image-2.6.32-25-generic_2.6.32-25.45_amd64.deb

and installed them.
On reboot, susped still failed with blinking moon.

I'd like it if someone else could corroborate that.

Revision history for this message
Scott Moser (smoser) wrote :

I tried backing off pm-utils to 1.3.0-1ubuntu2 (lucid), thinking maybe some changes there in the quirks that were determined were the issue.

Still suspend fails with pm-utils 1.3.0-1ubuntu2.

Revision history for this message
Scott Moser (smoser) wrote :

thanks to 'wanted' in comment 18 above, I am now suspend and resuming 5 times in a row using up to date maverick.
What i'm doing is just running:
sudo sh -c 'chvt 1; pm-suspend; sudo chvt 7'

so, that works. However, I've not successfully set any quirks (/usr/share/doc/pm-utils/README.debugging) that got me consistent suspend and resume.

Revision history for this message
Scott Moser (smoser) wrote :

you can put the work around into the pm-utils path by adding the following to /etc/pm/sleep.d/10-lp-bug-625364. Note, its a work around, not a fix, but it makes me very happy to not crash. Note, you need to write the file as root, then make sure its executable (chmod 755)

#!/bin/sh
# LP: #625364
# /etc/pm/sleep.d/10-lp-bug-625364

case "${1}" in
   suspend|hibernate)
      echo "${1}: changing to vt 1 for LP: #625364 work around";
      chvt 1;;
   resume|thaw)
      echo "${1}: changing to vt 7 for LP: #625364 work around";
      chvt 7;;
esac

Revision history for this message
Scott Moser (smoser) wrote :

Well, i had assumed that comment 35 work around was not 100%, just hiding something. Now i've seen system fail to suspend even with that in place.

Revision history for this message
alien8 (fb-alien8) wrote :

Scott,

Do you have a dmesg traces of the fails? What LK version?

Thanks,

- a8

Revision history for this message
Scott Moser (smoser) wrote :

alien8,
  I'm running up to date maverick now (as are most other people on this bug). In my personal tests, reverting kernel (to lucid kernel, which used to work) still fails.
  $ dpkg -S /boot/vmlinuz-$(uname -r)
  linux-image-2.6.35-22-generic: /boot/vmlinuz-2.6.35-22-generic

there is nothing in dmesg, or at least no way to get at it that i'm aware of The system locks up, it basically suspends, but the moon remains flashing, and does not come out of suspend.
/var/log/messages has nothing.

Revision history for this message
thomas michel (tom-michel) wrote :

I cannot find anything in dmesg either. With vanilla kernel 2.6.36 I have now twice successfully suspended to disk - but suspend to ram still fails (steady moon, but fan still blowing, system cannot be reactivated).

Additionally, the hotkeys FN-F4 / FN-F12 for suspend / hibernate do not work, but this may be another issue.

Revision history for this message
jeffbl (jeff-mulb) wrote :

I get this on my Thinkpad x201 as well - makes things pretty unusable for me, as I need to carry my laptop pretty much everywhere, and can't just leave it on all the time.

Changed in linux (Ubuntu):
importance: Undecided → Critical
150 comments hidden view all 194 comments
Revision history for this message
In , Jaroslav (jaroslav-redhat-bugs) wrote :

Update was pushed through Bodhi, if it does not resolve your problem, feel free to reopen.

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

pm-utils-1.3.1-4.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/pm-utils-1.3.1-4.fc14

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

pm-utils-1.3.1-4.fc14 has been pushed to the Fedora 14 testing repository. If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with
 su -c 'yum --enablerepo=updates-testing update pm-utils'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/pm-utils-1.3.1-4.fc14

Changed in pm-utils (Ubuntu):
status: New → Confirmed
importance: Undecided → Critical
Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

pm-utils-1.3.1-4.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.

Changed in linux (Fedora):
importance: Undecided → Unknown
status: New → Unknown
Changed in linux (Ubuntu):
importance: Critical → Medium
Changed in pm-utils (Ubuntu):
importance: Critical → Medium
Changed in linux (Ubuntu):
importance: Medium → Critical
Changed in pm-utils (Ubuntu):
importance: Medium → Critical
Eugene San (eugenesan)
summary: - lenovo/thinkpad T400[s]/T500/W500/X60 suspend fails
+ lenovo/thinkpad T400[s]/T500/W500/X60/T61 suspend fails
summary: - lenovo/thinkpad T400[s]/T500/W500/X60/T61 suspend fails
+ lenovo/thinkpad T400[s]/T500/W500/X60/T6x suspend fails
tags: added: regression-release
removed: regression-potential
tags: added: kernel-key
removed: needs-upstream-testing
Changed in linux (Ubuntu):
status: Confirmed → Triaged
Tim Tierney (timtierney)
summary: - lenovo/thinkpad T400[s]/T500/W500/X60/T6x suspend fails
+ lenovo/thinkpad T400[s]/T500/W500/W700/X60/T6x suspend fails
Changed in linux (Ubuntu Maverick):
status: New → Triaged
Changed in linux (Ubuntu Natty):
status: Triaged → Incomplete
Changed in pm-utils (Ubuntu Maverick):
status: New → Confirmed
Changed in pm-utils (Ubuntu Natty):
status: Confirmed → Incomplete
summary: - lenovo/thinkpad T400[s]/T500/W500/W700/X60/T6x suspend fails
+ lenovo/thinkpad T400[s]/T500/W500/R500/W700/X60/T6x suspend fails
Chris Cheney (ccheney)
summary: - lenovo/thinkpad T400[s]/T500/W500/R500/W700/X60/T6x suspend fails
+ lenovo/thinkpad T400[s]/T500/W500/R500/W700/X60/X200/T6x suspend fails
summary: - lenovo/thinkpad T400[s]/T500/W500/R500/W700/X60/X200/T6x suspend fails
+ lenovo/thinkpad R500/T6x/T400[s]/T500/W500/W700/X60/X200 suspend fails
Andy Whitcroft (apw)
Changed in linux (Ubuntu Natty):
status: Incomplete → In Progress
status: In Progress → Incomplete
Andy Whitcroft (apw)
Changed in linux (Ubuntu Natty):
status: Incomplete → In Progress
status: In Progress → Incomplete
Changed in linux (Ubuntu Natty):
assignee: nobody → Canonical Kernel Team (canonical-kernel-team)
Andy Whitcroft (apw)
Changed in linux (Ubuntu Natty):
status: Incomplete → In Progress
status: In Progress → Incomplete
Changed in linux (Ubuntu Maverick):
importance: Undecided → Medium
Changed in linux (Ubuntu Natty):
status: Incomplete → In Progress
status: In Progress → Incomplete
assignee: Canonical Kernel Team (canonical-kernel-team) → nobody
madbiologist (me-again)
Changed in pm-utils (Ubuntu Natty):
status: Incomplete → In Progress
status: In Progress → Fix Released
Changed in linux (Ubuntu Natty):
status: Incomplete → In Progress
status: In Progress → Fix Released
38 comments hidden view all 194 comments
Revision history for this message
Daniel Smedegaard Buus (danielbuus) wrote : Re: lenovo/thinkpad R500/T6x/T400[s]/T500/W500/W700/X60/X200 suspend fails

These issues reek of serious ACPI trouble with the recent kernels. I'm also on the Ubuntu on MacBook discussion list, and here brightness keys stopped working with Natty:

http://ubuntuforums.org/showthread.php?t=1603365&page=31#308

Same thing on my laptop - I'm also missing /var/log/messages now (don't even know how that's possible and if that's related). My desktop (i7 920 on ASUS RoG II GENE) kernel panics if booted without noacpi nolapic.

I'm starting to believe that the ACPI code in the 2.6.38 kernels may be seriously flawed, and that the kernel team has some massive work to do before any of us see all of our issues resolved - and I fear that the Ubuntu team can's do a whole lot...

Revision history for this message
tully (tuly-seznam) wrote :

i experiencing problem described in #151 only with PAE kernel (2.6.38/2.6.39 tested) . with "normal" kernel suspend/resume works with security chip disabled in BIOS

Revision history for this message
Ankur Nayak (ankur-iit) wrote :

I've the same issue. pm script workaround didn't work for me. i've u160 ideapad.

Revision history for this message
ben (roboben) wrote : Re: [Bug 625364] Re: lenovo/thinkpad R500/T6x/T400[s]/T500/W500/W700/X60/X200 suspend fails
Download full text (4.0 KiB)

@ankur: i've filed a new bug for this device here:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/777110

On Sat, May 7, 2011 at 3:16 PM, Ankur Nayak <email address hidden>wrote:

> I've the same issue. pm script workaround didn't work for me. i've u160
> ideapad.
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/625364
>
> Title:
> lenovo/thinkpad R500/T6x/T400[s]/T500/W500/W700/X60/X200 suspend fails
>
> Status in “linux” package in Ubuntu:
> Fix Released
> Status in “pm-utils” package in Ubuntu:
> Fix Released
> Status in “linux” source package in Maverick:
> Triaged
> Status in “pm-utils” source package in Maverick:
> Confirmed
> Status in “linux” source package in Natty:
> Fix Released
> Status in “pm-utils” source package in Natty:
> Fix Released
> Status in “linux” package in Fedora:
> Unknown
>
> Bug description:
> Using recent maverick kernels, my suspend has stopped working. It
> previously worked in lucid, and for much of maverick development
> cycle.
>
> Now, closing the laptop results in flashing 'moon' and a switch of
> console out of X, with an unrelated message on the screen (I think it
> is gdk message, but don't recall exactly).
>
> opening laptop back up, it is generally unresponsive. (alt-f1 -> alt-f7
> do nothing).
> I've had to hard power off.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 10.10
> Package: linux-image-2.6.35-19-generic 2.6.35-19.26
> Regression: Yes
> Reproducible: Yes
> ProcVersionSignature: Ubuntu 2.6.35-19.26-generic 2.6.35.3
> Uname: Linux 2.6.35-19-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: smoser 2297 F.... pulseaudio
> CRDA: Error: [Errno 2] No such file or directory
> Card0.Amixer.info:
> Card hw:0 'Intel'/'HDA Intel at 0xfc020000 irq 48'
> Mixer name : 'Conexant CX20561 (Hermosa)'
> Components : 'HDA:14f15051,17aa211c,00100000'
> Controls : 14
> Simple ctrls : 7
> Card29.Amixer.info:
> Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30,
> fw 7VHT14WW-1.03'
> Mixer name : 'ThinkPad EC 7VHT14WW-1.03'
> 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 Aug 27 11:10:23 2010
> EcryptfsInUse: Yes
> HibernationDevice: RESUME=UUID=c38b210e-96b2-4c5a-9548-cfea0e4c4bee
> InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100318)
> MachineType: LENOVO 7417CTO
> PccardctlIdent:
> Socket 0:
> no product info available
> PccardctlStatus:
> Socket 0:
> no card
> ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-19-generic
> root=UUID=36286167-4eba-4a1e-a202-155c6baafa01 ro quiet splash
>...

Read more...

Revision history for this message
Ankur Nayak (ankur-iit) wrote :
Download full text (7.9 KiB)

Thanks. Are there any workarounds so far?

On Sat, May 7, 2011 at 10:17 AM, ben <email address hidden> wrote:
> @ankur: i've filed a new bug for this device here:
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/777110
>
> On Sat, May 7, 2011 at 3:16 PM, Ankur Nayak
> <email address hidden>wrote:
>
>> I've the same issue. pm script workaround didn't work for me. i've u160
>> ideapad.
>>
>> --
>> You received this bug notification because you are a direct subscriber
>> of the bug.
>> https://bugs.launchpad.net/bugs/625364
>>
>> Title:
>>  lenovo/thinkpad R500/T6x/T400[s]/T500/W500/W700/X60/X200 suspend fails
>>
>> Status in “linux” package in Ubuntu:
>>  Fix Released
>> Status in “pm-utils” package in Ubuntu:
>>  Fix Released
>> Status in “linux” source package in Maverick:
>>  Triaged
>> Status in “pm-utils” source package in Maverick:
>>  Confirmed
>> Status in “linux” source package in Natty:
>>  Fix Released
>> Status in “pm-utils” source package in Natty:
>>  Fix Released
>> Status in “linux” package in Fedora:
>>  Unknown
>>
>> Bug description:
>>  Using recent maverick kernels, my suspend has stopped working.  It
>>  previously worked in lucid, and for much of maverick development
>>  cycle.
>>
>>  Now, closing the laptop results in flashing 'moon' and a switch of
>>  console out of X, with an unrelated message on the screen (I think it
>>  is gdk message, but don't recall exactly).
>>
>>  opening laptop back up, it is generally unresponsive.  (alt-f1 -> alt-f7
>> do nothing).
>>  I've had to hard power off.
>>
>>  ProblemType: Bug
>>  DistroRelease: Ubuntu 10.10
>>  Package: linux-image-2.6.35-19-generic 2.6.35-19.26
>>  Regression: Yes
>>  Reproducible: Yes
>>  ProcVersionSignature: Ubuntu 2.6.35-19.26-generic 2.6.35.3
>>  Uname: Linux 2.6.35-19-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:  smoser     2297 F.... pulseaudio
>>  CRDA: Error: [Errno 2] No such file or directory
>>  Card0.Amixer.info:
>>   Card hw:0 'Intel'/'HDA Intel at 0xfc020000 irq 48'
>>     Mixer name : 'Conexant CX20561 (Hermosa)'
>>     Components : 'HDA:14f15051,17aa211c,00100000'
>>     Controls      : 14
>>     Simple ctrls  : 7
>>  Card29.Amixer.info:
>>   Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30,
>> fw 7VHT14WW-1.03'
>>     Mixer name : 'ThinkPad EC 7VHT14WW-1.03'
>>     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 Aug 27 11:10:23 2010
>>  EcryptfsInUse: Yes
>>  HibernationDevice: RESUME=UUID=c38b210e-96b2-4c5a-9548-cfea0e4c4bee
>>  InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100318)
>>  MachineType: LENOVO 7417CTO
>>  PccardctlIdent:
>>   Socket 0...

Read more...

Revision history for this message
ben (roboben) wrote :

I haven't found one. :(

Revision history for this message
Alain ANDERLINI (alain-anderlini) wrote : Re: lenovo/thinkpad R500/T6x/T400[s]/T500/W500/W700/X60/X200 suspend fails

As reported by Scott Moser on comment #142, I hereby confirm that the suspend issue (endless flashing moon requiring a hard power off) no longer appears on my T400 (with Intel graphics) since I have upgraded to Kubuntu Natty 11.04, and this without any workaround. My laptop now goes correctly to standby mode (I tested a few tens times over two weeks now without any one failure).

Revision history for this message
tully (tuly-seznam) wrote :

can someone confirm #156 (issue is relaited to PAE kernel in natty) ?

Revision history for this message
approx (marc-stroebel) wrote :

I have exactly the same behavior as described in #156. Since I switched back to the normal Kernel 2.6.38 (without PAE) suspend works fine again.

Revision history for this message
Joschi Poschi (joschiposchi) wrote :

any suggestions for the Lenovo U160? Haven't found a solution yet :-(

MadMat (madmat)
summary: - lenovo/thinkpad R500/T6x/T400[s]/T500/W500/W700/X60/X200 suspend fails
+ lenovo/thinkpad R400/R500/T6x/T400[s]/T500/W500/W700/X60/X200 suspend
+ fails
Revision history for this message
mejo (jonas-freesources) wrote : Re: lenovo/thinkpad R400/R500/T6x/T400[s]/T500/W500/W700/X60/X200 suspend fails

I'm experiencing the same bug on a ThinkPad T420 with up-to-date Ubuntu Natty. Please reopen.

The bug is very serious. Just like others, I learned about it the hard way: closed the lid, put my laptop inside the bag, took it out about half an our later, and was shocked to see the laptop heated like on fire, and the fan running full power. Also, the CapsLock light was blinking.

This issue should be mentioned in the ReleaseNotes, as it possibly can damage hardware!

Revision history for this message
strav (strav) wrote :

May I know why this bug has been set to "fix released" on Natty? It seems that so far, all we have is post #35's duct tape fix (which, in my case, helped but didn't completely fixed the issue) and unless I'm missing something, I haven't encountered an official update fixing the issue.

Revision history for this message
mejo (jonas-freesources) wrote :

I'm able to produce a Kernel Panic with 'echo -n mem > /sys/power/state'. A photo of the Kernel Panic is attached.

summary: - lenovo/thinkpad R400/R500/T6x/T400[s]/T500/W500/W700/X60/X200 suspend
- fails
+ lenovo/thinkpad R400/R500/T6x/T400[s]/T420/T500/W500/W700/X60/X200
+ suspend fails
Revision history for this message
Bernt Ribbum (bernt-ribbum) wrote :

Strav (comment #166): I'm just as confused as you... Ever since installing Natty a few weeks ago on my T500 I've NEVER been able to suspend. In my case the moon AND the Caps Lock indicator keep blinking until I forcefully power off. Even the #35 fix (and other fixes of similar kind) have done nothing to help. This bug is unfortunately serious and still very much alive!

Revision history for this message
Bernt Ribbum (bernt-ribbum) wrote :

As asked in comment #162:

Yes, for me this issue was related to using the PAE kernel! I have done lots of experimenting with this, and my T500 is now happily suspending and resuming. Can't be 100% sure of course, but by the looks of it, *everything* works!

To get a working system, I have applied the following fixes:

* "duct-tape" fix to switch to TTY1 on suspend (#35)
* disabled security chip in BIOS (#154)
* switched to generic (non-PAE) kernel (#156)

I'll come back if I am wrong, but for now I'm happy!

Revision history for this message
Bernt Ribbum (bernt-ribbum) wrote :

Well, happiness lasted about an hour...
All the way until I started a virtual machine in VirtualBox, that is. That made me reinstall the driver vboxdrv, which started the symptoms all over again..! It wouldn't suspend.

This time I won't blame Ubuntu of course, but rather the BIOS (or at least the hardware). Something is fishy with this machine when it comes to addressing >4GB. Have anyone ever tried to install a 64-bit OS on it?

Revision history for this message
Wirawan Purwanto (wirawan0) wrote : Re: [Bug 625364] Re: lenovo/thinkpad R400/R500/T6x/T400[s]/T420/T500/W500/W700/X60/X200 suspend fails

I have been using 64-bit Ubuntu (8.10, 10.04 LTS) in Thinkpad T400
with Intel graphics. They are fine in general. There are issues here
and there--some could be annoying. The latest is the problem with
suspend-resume and/or graphics. My issues are described here:

https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/777956

I tried backported 2.6.35 and 2.6.38 series kernel available for
Lucid---I keep having issues with respect to suspend/resume. 2.6.35
problem is as described in this bug page (moon light blinking and
suspend was hung); 2.6.38's problem is with waking up from suspend
(something X-related; I can't describe in full right now). Both are
occasionally happening (and don't know when they will happen). It
feels like I want to give up using Ubuntu on this laptop.

Wirawan

Revision history for this message
Bernt Ribbum (bernt-ribbum) wrote :

Thanks Wirawan,

I also suspend the machine all the time, so it is critical for me that
it works. In my case, however, Ubuntu will NEVER let me suspend. I feel
like giving Ubuntu up as well. Do you have a viable alternative? I would
like to stick to the .deb system if possible, and the installation
medium must be CD (can't write DVDs on this machine...)

Bernt

On 10.08.2011 05:50, Wirawan Purwanto wrote:
> I have been using 64-bit Ubuntu (8.10, 10.04 LTS) in Thinkpad T400
> with Intel graphics. They are fine in general. There are issues here
> and there--some could be annoying. The latest is the problem with
> suspend-resume and/or graphics. My issues are described here:
>
> https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
> intel/+bug/777956
>
> I tried backported 2.6.35 and 2.6.38 series kernel available for
> Lucid---I keep having issues with respect to suspend/resume. 2.6.35
> problem is as described in this bug page (moon light blinking and
> suspend was hung); 2.6.38's problem is with waking up from suspend
> (something X-related; I can't describe in full right now). Both are
> occasionally happening (and don't know when they will happen). It
> feels like I want to give up using Ubuntu on this laptop.
>
> Wirawan
>

Revision history for this message
Wirawan Purwanto (wirawan0) wrote :

Hi Bernt: I recently installed Debian 6.0.2 (Squeeze) on my laptop. I think this distro runs smoothly on this laptop. Exception is the firmware for intel iwlwifi, which must be installed separately (not a big deal). I am using kernel 2.6.38 from squeeze-backports to get rid of "flickering" problem existing in 2.6.32 kernel line. I probably should write a fuller report in ubuntu forums instead of here. I just want to give you some lead if perhaps this would help you too. I love Ubuntu and the efforts made by Canonical to popularize linux. However I am also disappointed that critical issues like this always exist from release to release. Debian seems to pay better attention to stability and reliability for "business"-like uses.

Revision history for this message
Bernt Ribbum (bernt-ribbum) wrote :

Thanks Wirawan. I'll give it a go. I love Ubuntu, too, and it's never let me down before. But this time it is obviously necessary to look for alternatives! And why not go to the parent?

- Bernt

Revision history for this message
Bernt Ribbum (bernt-ribbum) wrote :

Debian was not a great success, unfortunately. I was asked for some proprietary driver when installing (which I don't have!), and now the machine won't connect to my wireless network... So back to square one. If I reinstall Ubuntu and stop running virtual machines it should work!

Thanks anyway, Wirawan!

Bernt

Revision history for this message
Bernt Ribbum (bernt-ribbum) wrote :

Hello again Wirawan.
Next time I post, I'll try to actually read what you've said first. You say:

> Exception is the firmware for intel iwlwifi, which must be installed separately (not a big deal)

Same that I experienced, but in my case I had no idea how to deal with it. It asked for a driver - how to get hold of that?

- Bernt

Revision history for this message
Daniel Cuneo (dpcuneo) wrote :

Hi all,

I have a T400 running 64 bit Ubuntu 10.10 with 4GB ram.

My suspend fails intermittantly and my mouse lags, at every startup and wake up. It looks like the cpu's are up to
30% when the mouse lag occurs. I was using kernel 2.35.x I'll need to look it up.

I switched to kernel 2.6.32-28-generic, what I used with 9.10 and haven't noticed either problem yet. I found the
kernel version by searching Ubuntuforums.org, I shouldn't written down the URL....

I'll post back if I have another suspend fail.

dpc

Revision history for this message
louisJ (louisrom1) wrote :

The bug (black screen after resume) is back with version 12.04 of Ubuntu (thinkpad T400).... any definitive solution?

Revision history for this message
louisJ (louisrom1) wrote :

it seems I talked too fast, it works

Revision history for this message
Julian Wiedmann (jwiedmann) wrote :

This release has reached end-of-life [0].

[0] https://wiki.ubuntu.com/Releases

Changed in linux (Ubuntu Maverick):
status: Triaged → Invalid
Changed in linux (Ubuntu Maverick):
status: Invalid → Confirmed
no longer affects: linux (Ubuntu Maverick)
no longer affects: pm-utils (Ubuntu Maverick)
Changed in linux (Fedora):
importance: Unknown → Medium
status: Unknown → Fix Released
Displaying first 40 and last 40 comments. View all 194 comments or add a comment.
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.