Lenovo Thinkpads with Core i5 and i7 suspend/resume (with kernel oops) once then fail horribly on next suspend

Bug #532374 reported by Jeremy Zimmer
388
This bug affects 63 people
Affects Status Importance Assigned to Milestone
Linux
Fix Released
High
OEM Priority Project
Fix Released
Critical
Alex Chiang
linux (Ubuntu)
Invalid
Critical
Alex Chiang
Lucid
Invalid
Critical
Alex Chiang

Bug Description

THIS HAPPENS ONLY TO THINKPADS WITH i5 or i7 PROCESSORS: Thinkpad T410, T510 and X201 models are affected (intel integrated graphics, nvidia discrete graphics). The first suspend/resume completes successfully. The second suspend appears to work, but when waking, a few LEDs flicker, but the laptop stays suspended (moon LED on the lid stays lit, LED around power button continues to pulse). Pressing the power button again causes a reboot (no other buttons seem to do anything in this state).

Per https://wiki.ubuntu.com/DebuggingKernelSuspend:

$ grep -A4 Magic .tmp/dmesg.txt
[ 1.148585] Magic number: 0:523:347
[ 1.148587] hash matches /build/buildd/linux-2.6.32/drivers/base/power/main.c:471
[ 1.148615] pci0000:00: hash matches

That's the DRAM Controller.

Same results from the "xterm" session, and also without X, so no gnome-power-manager interactions.

This issue effects:
Thinkpads X201, T410, T510, W510
& possibly T410s

Revision history for this message
Jeremy Zimmer (jeremyz) wrote :
Revision history for this message
Jeremy Zimmer (jeremyz) wrote :
Revision history for this message
Jeremy Zimmer (jeremyz) wrote :
Revision history for this message
Jeremy Zimmer (jeremyz) wrote :
Revision history for this message
Jeremy Zimmer (jeremyz) wrote :
Tom Gelinas (tomgelinas)
Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Tom Gelinas (tomgelinas) wrote :

I confirm this behavior on my t510 4313 with nVidia nvs3100m discrete graphics.
However, my second resume shows the Lenovo BIOS splash indefinitely.

I filed a similar bug last month: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/519375 , post 11 has logs from similar methodology. I will test again with the latest Ubuntu and mainline kernels.

tags: added: kernel-series-unknown
Revision history for this message
Tom Gelinas (tomgelinas) wrote :

This occurs under Linux oo 2.6.32-16-generic #25-Ubuntu SMP Tue Mar 9 16:33:12 UTC 2010 x86_64 GNU/Linux
AKA current Lucid Alpha 3. Post 5 confirms this.

Revision history for this message
Tom Gelinas (tomgelinas) wrote :

I see the same hash match, it is not associated with PCI though.
[ 1.181366] registered taskstats version 1
[ 1.182071] Magic number: 0:523:740
[ 1.182151] hash matches /build/buildd/linux-2.6.32/drivers/base/power/main.c:471

Revision history for this message
Peter Petrakis (peter-petrakis) wrote :

Confirmed T510 Intel i5 with Intel graphics, Intel 6300 wireless, bluetooth, & SSD drive.
2.6.32-16-generic x86_64. Tried updating to latest bios, no change.

Revision history for this message
Peter Petrakis (peter-petrakis) wrote :

Tried adding mem=nopentium with 2.6.32-16 which resulted in a early kernel panic. Seeing if 2.6.33 fairs any better...

Revision history for this message
Peter Petrakis (peter-petrakis) wrote :

Tried 2.6.33-020633-generic, same outcome. Also tried removing the iwlagn module
before sleeping, same outcome.

Revision history for this message
Peter Petrakis (peter-petrakis) wrote :

With regards to the T510

Revision history for this message
Tom Gelinas (tomgelinas) wrote :

So should we be reporting this upstream? It's safe to assume that Canonical is not going to be doing a lot of kernel hacking in this case, right? The issue persists upstream, and 2.6.27 is nearing completion: http://kerneltrap.org/Linux/2.6.27-rc8_This_One_Should_Be_The_Last_One Where do we need to volunteer to get the ball rolling? The e1000e eeprom bug is still rearing its ugly head, but I'm guessing our warranties will cover that so we don't have a whole lot to be afraid of.

tags: added: lucid
removed: kernel-series-unknown
Revision history for this message
David Strauss (davidstrauss) wrote :

@Tom I'm not sure why you're mentioning 2.6.27. That's quite an old kernel; see the date of the post you linked.

I've confirmed this issue in 2.6.32.9 and 2.6.33, installed to Ubuntu 9.10 from http://kernel.ubuntu.com/~kernel-ppa/mainline.

Revision history for this message
David Strauss (davidstrauss) wrote :

Because suspending to disk (hibernating) works fine, users of T410 and T510 models may want to use the power control panel to have the sleep key press, lid closing event, and possibly other events map to hibernation. This will at least avoid data loss from closing the lid (or doing something else) that puts the laptop into normal suspend mode a second time.

Revision history for this message
David Strauss (davidstrauss) wrote :

I take that back. Hibernating isn't working, either.

Revision history for this message
Tom Gelinas (tomgelinas) wrote :

@ David: I blame that stupidness on fatigue.

Hibernate actually works when using Nouveau, but not with proprietary nVidia drivers.

Revision history for this message
David Strauss (davidstrauss) wrote :

@Tom I'm using Intel drivers. I specifically avoided discrete video hardware for this machine.

Revision history for this message
jlgoolsbee (jlgoolsbee) wrote :

This bug has been reported at kernel.org as well: http://bugzilla.kernel.org/show_bug.cgi?id=15407

(Just trying to make sure any relevant conversation that takes place over there is linked here.)

description: updated
Revision history for this message
Bryn Hughes (linux-nashira) wrote :

Just to add this also affects the W510, and probably also affects the T410s.

I was the one who reported it upstream - unfortunately I haven't been able to get a Ubuntu kernel package to build yet as the documentation hasn't been updated for Lucid. Anyone who knows how to do the latest voodoo who can compile a kernel with ACPI_PROCESSOR as a module? That's what's stalling the upstream bug report right now.

Revision history for this message
Bryn Hughes (linux-nashira) wrote :

This also affects the Lenovo W510 (multiple models) and probably affects the T410s as well.

The upstream bug report is stalled because I can't sort out how to compile a kernel the "ubuntu way" under Lucid - the latest public documentation I can find is still targeting Karmic, and a lot of the scripts, etc have changed. They're looking for a kernel to be compiled with the ACPI_PROCESSOR code compiled as a module so it can be unloaded, or disabled altogether.

Revision history for this message
Corey Quinn (kb1jwq) wrote :

d3mia7, you may want to take a look at https://wiki.ubuntu.com/KernelTeam/KernelMaintenance -- it seems to answer the questions you have. If you get stuck, ping me on freenode (same nick) and I'll work on it with you.

Revision history for this message
Bryn Hughes (linux-nashira) wrote :

Thanks, got a missing piece of the puzzle out of there that (in combination) with some other docs got it going. Updated the upstream bug - machines will still fail to resume on the second time even with ACPI_PROCESSOR blacklisted.

Revision history for this message
Jeremy Zimmer (jeremyz) wrote :

> However, my second resume shows the Lenovo BIOS splash indefinitely.

Sorry, I left that out of my original report, but I can confirm what Tom is seeing with the hang at the BIOS splash.

Also possibly worth noting, I updated the bios to 1.12, which is still the latest available on Lenovo's website, before reporting this bug. Today the link I bookmarked broke (see "temporarily unavailable" at http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-74582), which suggests they might be releasing a new revision soon.

Another discovery from this morning, the following sequence works fine: suspend, resume, hibernate, wake, suspend, resume.

So the hibernate/wake cycle is equivalent to a reboot in the context of this bug. Two consecutive suspend/resume cycles still break in the same way after hibernating.

Revision history for this message
Jerone Young (jerone) wrote :

This issue effects all Intel Core i5 Thinkpads. This happens on the T410 & X210 I have here. There is a kernel oops after the first suspend, this is ultimately leading to the reboot.

The issue is worst as after the oops the usb ports are also unusable after the first suspend. So the kernel oops put the machine in a bad state.

dmesg from X201 is attached. It looks as though pm suspend looks to be triggering the issue.

Jerone Young (jerone)
Changed in oem-priority:
importance: Undecided → Critical
summary: - [Lenovo 2537AD3, 2537AB8] one successful suspend/resume per boot
+ Lenovo Thinkpads suspend/resume (with kernel oops) once then fail
+ horribly on next suspend
summary: - Lenovo Thinkpads suspend/resume (with kernel oops) once then fail
- horribly on next suspend
+ Lenovo Thinkpads with Core i5 suspend/resume (with kernel oops) once
+ then fail horribly on next suspend
Changed in linux (Ubuntu Lucid):
importance: Undecided → Critical
Revision history for this message
Jerone Young (jerone) wrote : Re: Lenovo Thinkpads with Core i5 suspend/resume (with kernel oops) once then fail horribly on next suspend

kernel options mem=nopentium & notsc have no effect.

summary: - Lenovo Thinkpads with Core i5 suspend/resume (with kernel oops) once
- then fail horribly on next suspend
+ Lenovo Thinkpads with Core i5 and i7 suspend/resume (with kernel oops)
+ once then fail horribly on next suspend
Revision history for this message
Colin Ian King (colin-king) wrote :

Just to clarify what the "notsc" kernel parameter addresses:

The CPU#0 stuck messages in comment #26 are because of a math error in the softlockup code which gets confused when the TSC warps backwards when coming out of S3:

[1266874885.662888] BUG: soft lockup - CPU#0 stuck for 0s! [pm-suspend:1512]
[1266874885.662889] Modules linked in: binfmt_misc ppdev joydev snd_hda_codec_intelhdmi fbcon tileblit font bitblit softcursor vga16fb vgastate arc4 snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device iwlagn iwlcore thinkpad_acpi i915 drm_kms_helper led_class snd mac80211 nvram drm i2c_algo_bit psmouse serio_raw video output cfg80211 intel_agp soundcore snd_page_alloc agpgart lp parport e1000e
[1266874885.662915]
[1266874885.662917] Pid: 1512, comm: pm-suspend Not tainted (2.6.32-16-generic #25-Ubuntu) 3626F8U
[1266874885.662919] EIP: 0060:[<c059ddf5>] EFLAGS: 00000292 CPU: 0
[1266874885.662925] EIP is at _spin_unlock_irqrestore+0x15/0x20
[1266874885.662926] EAX: 00000292 EBX: 00000292 ECX: 00000100 EDX: 00000292
[1266874885.662928] ESI: f7002cbd EDI: 00000000 EBP: f47f1d10 ESP: f47f1d0c
[1266874885.662929] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[1266874885.662930] CR0: 8005003b CR2: 08346b18 CR3: 33097000 CR4: 000006d0
[1266874885.662932] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[1266874885.662933] DR6: ffff0ff0 DR7: 00000400
[1266874885.662934] Call Trace:

Using the kernel parameter "notsc" will disable the TSC and stop these false-positives. I have a patch (http://linux.derkeiler.com/Mailing-Lists/Kernel/2010-03/msg08854.html) that should get into the mainline kernel very soon now that addresses the math overflow error that trips these false-positive errors.

Revision history for this message
Colin Ian King (colin-king) wrote :

Just another point to consider, looking at the S3 magic number debug:

[ 1.181366] registered taskstats version 1
[ 1.182071] Magic number: 0:523:740
[ 1.182151] hash matches /build/buildd/linux-2.6.32/drivers/base/power/main.c:471

This corresponds to the device_resume() function terminating correctly with a error value of 0 (which means it worked successfully) - so it appears that all the drivers have been resumed correctly in this function.

Revision history for this message
Colin Ian King (colin-king) wrote :

Jerone, there are a whole bunch of BUG messages in your kernel log because of the TSC issue. Also, there is one final warning because IRQ 9 is not being handled, which is very odd:

[ 5.496247] irq 9: nobody cared (try booting with the "irqpoll" option)
[ 5.496257] Pid: 0, comm: swapper Not tainted 2.6.32-16-generic #25-Ubuntu

I suggest:

1) Using kernel boot parameters notsc and also irqpoll
2) Try again.

Also please attach the output from /proc/interrupts - I suspect IRQ 9 is handled by acpi which may explain some of the resume weirdness if IRQ 9 is being missed.

Thanks.

Revision history for this message
Tom Gelinas (tomgelinas) wrote :

Hi, here's the info you requested. This is from my T510 with nVidia GPU.
Sorry if there was a way to add multiple attachments to a post.

Revision history for this message
Tom Gelinas (tomgelinas) wrote :

Ah and an explanation: I booted using notsc, irqpoll and text. The system failed to sleep a second time, the screen never turned off and the system never entered sleep (ie. no blinking power light) This is possibly an nVidia specific behaviour, though.

Revision history for this message
David Pollak (dpp+launchpad) wrote :

This bug hits me as well. I'm running an X201s which has the video on the processor... so it's not nVidia specific.

Revision history for this message
David Pollak (dpp+launchpad) wrote :

Oh... and this seems to be related to #531309 https://bugs.launchpad.net/ubuntu/+source/linux/+bug/531309

Revision history for this message
David Strauss (davidstrauss) wrote : Re: [Bug 532374] Re: Lenovo Thinkpads with Core i5 and i7 suspend/resume(with kernel oops) once then fail horribly on next suspend

Our Core i7s have Intel video and this problem, too.

------Original Message------
From: David Pollak
Sender: <email address hidden>
To: David Strauss
ReplyTo: Bug 532374
Subject: [Bug 532374] Re: Lenovo Thinkpads with Core i5 and i7 suspend/resume(with kernel oops) once then fail horribly on next suspend
Sent: Mar 27, 2010 14:24

This bug hits me as well. I'm running an X201s which has the video on
the processor... so it's not nVidia specific.

--
Lenovo Thinkpads with Core i5 and i7 suspend/resume (with kernel oops) once then fail horribly on next suspend
https://bugs.launchpad.net/bugs/532374
You received this bug notification because you are a direct subscriber
of the bug.

Revision history for this message
Tom Gelinas (tomgelinas) wrote :

@ Davids Pollak: You mean your system never enters sleep a second time with notsc and irqpoll kernel options, right? That's what I meant may be nVidia specific, most specifically the LCD and backlight not turnng off.

Revision history for this message
David Pollak (dpp+launchpad) wrote :

@Tom Gelinas I have random failures entering sleep and hibernate. Sometimes it works and sometimes the screen goes blank and neither sleep nor hibernate is entered.

Revision history for this message
Paladin (bram85) wrote :

Hardware: T410 with Corei7 and Nvidia video (using proprietary driver).
Ubuntu: Karmic 64bit, Kernel 2.6.31-20-generic
Power: plugged in

I have the same behaviour with the two times stand by. I noticed further:
- USB is not working after first wakeup. USB mouse is dead, unplug and plug in again does not help.

After the 2nd wake up try, Laptop hangs for ~ 1 min in Bios screen, then Ubuntu starts.
Then I have no sound until I power off the Laptop and start Ubuntu again.
I'm not sure if I have sound between the two stand by - I will check this.

I tested the stand by behaviour also with Windows 7 64 bit to rule out the laptop. Indeed, stand by for Windows works fast and fine.

Revision history for this message
tekstr1der (tekstr1der) wrote :

@Paladin: Have you filed, or are you aware of a separate bug concerning the USB failure on resume?

I am noticing the same behavior and hope it is related to this particular bug. If not, we need to get that on the kernel radar ASAP.

Revision history for this message
Jerone Young (jerone) wrote :

FYI: Colin King now has a Thinkpad T410 to look at this issue. He is looking into it now.

Revision history for this message
Paladin (bram85) wrote :

@tekstr1der
I'm currently not aware of a separate bug report. I suppose it could have sth. to do with the kernel bug. Somehow, the first stand by prevents the correct wake up from the second stand by. If the first stand by brought the computer into the exact same state as before the first stand by, the second stand by would not fail. So there must be a state change happening after the first stand by.
This may be somehow related to the usb failure.

@all
Sound works between the first and second stand by.

Revision history for this message
Colin Ian King (colin-king) wrote :

Unfortunately, it looks like a BIOS issue to me at this point.

Looking at Tom's logs I get:

[1266874884.830945] ACPI Error: Hardware did not change modes (20090903/hwacpi-144)
[1266874884.830954] ACPI Error: Could not transition to ACPI mode (20090903/evxfevnt-93)

On my T410 I get the same. This error occurs when the kernel ACPI driver attempts to transition to ACPI mode
by writing ACPI_ENABLE to the SMI_CMD port but fails. This is dependant on the FADT containing the correct
ACPI_ENABLE and/or ACPI_DISABLE values - I've disassembled the FADT and they are 0xf0 and 0xf1 respectively
which means they are defined according to ACPI 2.0.

One possibility of the transition to ACPI mode failing is that hardware is taking more than the 3 seconds allowed or that
the FADT contains the wrong values, the latter is very unlikely.

It is noteworthy that the BIOS should have disabled all GP events by the time the transition occurs - if it hasn't transitioned
correctly, perhaps these are still enabled causing a huge number of IRQ's on line 9 which causes the later error message:

irq 9: nobody cared (try booting with the "irqpoll" option)

this seems to happen when the IRQ handler detects more than 99900 unhandled IRQs.

I will debug the mode transition code to see if I can tease a little more out of this bug, but it looks like a firmware problem at this stage.

Revision history for this message
Daron Chabot (daron-chabot) wrote : Re: [Bug 532374] Re: Lenovo Thinkpads with Core i5 and i7 suspend/resume (with kernel oops) once then fail horribly on next suspend
Download full text (3.2 KiB)

Hmmm... given Paladin's statement of correct operation under Windows 7,
either there is a workaround by that OS, or Colin's initial diagnosis is not
quite right.

My shiny new x201s has aversions to waking up (I can totally relate!), and
using Win7... ;)

Anything I can do to help here ?

On Thu, Apr 1, 2010 at 10:16 AM, Colin King <email address hidden> wrote:

> Unfortunately, it looks like a BIOS issue to me at this point.
>
> Looking at Tom's logs I get:
>
> [1266874884.830945] ACPI Error: Hardware did not change modes
> (20090903/hwacpi-144)
> [1266874884.830954] ACPI Error: Could not transition to ACPI mode
> (20090903/evxfevnt-93)
>
> On my T410 I get the same. This error occurs when the kernel ACPI driver
> attempts to transition to ACPI mode
> by writing ACPI_ENABLE to the SMI_CMD port but fails. This is dependant on
> the FADT containing the correct
> ACPI_ENABLE and/or ACPI_DISABLE values - I've disassembled the FADT and
> they are 0xf0 and 0xf1 respectively
> which means they are defined according to ACPI 2.0.
>
> One possibility of the transition to ACPI mode failing is that hardware is
> taking more than the 3 seconds allowed or that
> the FADT contains the wrong values, the latter is very unlikely.
>
> It is noteworthy that the BIOS should have disabled all GP events by the
> time the transition occurs - if it hasn't transitioned
> correctly, perhaps these are still enabled causing a huge number of IRQ's
> on line 9 which causes the later error message:
>
> irq 9: nobody cared (try booting with the "irqpoll" option)
>
> this seems to happen when the IRQ handler detects more than 99900
> unhandled IRQs.
>
> I will debug the mode transition code to see if I can tease a little
> more out of this bug, but it looks like a firmware problem at this
> stage.
>
> --
> Lenovo Thinkpads with Core i5 and i7 suspend/resume (with kernel oops) once
> then fail horribly on next suspend
> https://bugs.launchpad.net/bugs/532374
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in The Linux Kernel: Unknown
> Status in OEM Priority Project: New
> Status in “linux” package in Ubuntu: Confirmed
> Status in “linux” source package in Lucid: Confirmed
>
> Bug description:
> This happens identically with both Thinkpad T410 and T510 models (intel
> integrated graphics, nvidia discrete graphics). The first suspend/resume
> completes successfully. The second suspend appears to work, but when
> waking, a few LEDs flicker, but the laptop stays suspended (moon LED on the
> lid stays lit, LED around power button continues to pulse). Pressing the
> power button again causes a reboot (no other buttons seem to do anything in
> this state).
>
> Per https://wiki.ubuntu.com/DebuggingKernelSuspend:
>
> $ grep -A4 Magic .tmp/dmesg.txt
> [ 1.148585] Magic number: 0:523:347
> [ 1.148587] hash matches
> /build/buildd/linux-2.6.32/drivers/base/power/main.c:471
> [ 1.148615] pci0000:00: hash matches
>
> That's the DRAM Controller.
>
> Same results from the "xterm" session, and also without X, so no
> gnome-power-manager interactions.
>
>
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad....

Read more...

Revision history for this message
Colin Ian King (colin-king) wrote :

Looks like the transition to ACPI mode is broken in the BIOS - the request is just returning MODE_LEGACY which explains why we probably get breakage on the 2nd suspend/resume cycle. Will try the latest firmware now..

Revision history for this message
Colin Ian King (colin-king) wrote :

Upgraded from BIOS version 1.09 to 1.15 - didn't fix this either.

Revision history for this message
Colin Ian King (colin-king) wrote :

@Daron, just because it works on Windows does not mean the BIOS is not 100% functionally correct w.r.t. the ACPI spec...

Revision history for this message
Daron Chabot (daron-chabot) wrote :

On Thu, Apr 1, 2010 at 2:33 PM, Colin King <email address hidden> wrote:

> @Daron, just because it works on Windows does not mean the BIOS is not
> 100% functionally correct w.r.t. the ACPI spec...
>

Of course.

I simply meant to suggest, "if Win7 can cope, can Ubuntu be made to as well
?"

There have been cases of (linux) workarounds for "not fully compliant" BIOS
in the past. I was just hoping this might be such a case. I don't know
enough about ACPI systems to be much of a judge in the matter...

Good luck with the Lenovo engineers. Hopefully we will see a speedy
resolution to this.

>
> --
> Lenovo Thinkpads with Core i5 and i7 suspend/resume (with kernel oops) once
> then fail horribly on next suspend
> https://bugs.launchpad.net/bugs/532374
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in The Linux Kernel: Unknown
> Status in OEM Priority Project: New
> Status in “linux” package in Ubuntu: Confirmed
> Status in “linux” source package in Lucid: Confirmed
>
> Bug description:
> This happens identically with both Thinkpad T410 and T510 models (intel
> integrated graphics, nvidia discrete graphics). The first suspend/resume
> completes successfully. The second suspend appears to work, but when
> waking, a few LEDs flicker, but the laptop stays suspended (moon LED on the
> lid stays lit, LED around power button continues to pulse). Pressing the
> power button again causes a reboot (no other buttons seem to do anything in
> this state).
>
> Per https://wiki.ubuntu.com/DebuggingKernelSuspend:
>
> $ grep -A4 Magic .tmp/dmesg.txt
> [ 1.148585] Magic number: 0:523:347
> [ 1.148587] hash matches
> /build/buildd/linux-2.6.32/drivers/base/power/main.c:471
> [ 1.148615] pci0000:00: hash matches
>
> That's the DRAM Controller.
>
> Same results from the "xterm" session, and also without X, so no
> gnome-power-manager interactions.
>
>
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/linux/+bug/532374/+subscribe
>

Revision history for this message
Paladin (bram85) wrote :

Title: All Lenovo i5/i7 notebooks do not resume properly after suspend - system resumes but will hang if resumed a second time
Kernel Version: 2.6.32
Link: https://bugzilla.kernel.org/show_bug.cgi?id=15407

[I know this link has been posted here already, but it is quite at the beginning]

Reading this bug report, it seems to be a kernel bug after all. The kernel version tells not that much - the bug could exist in numerous kernel versions before.
2.6.31 is the oldest kernel tested there --> the kernel version I'm currently using. So in my case, I suppose it is "only" a problem with the kernel, or am I wrong?

This bug has a very high priority, so a solution cannot be far away.

Revision history for this message
Jerone Young (jerone) wrote :

Hi all,
         Please keep the noise level down on this bug unless you have technical details. Comment #47 - #49 accurately describe the issue.

          We will be wrking with Lenovo to try and resolve this issue.

Changed in oem-priority:
status: New → In Progress
Jerone Young (jerone)
description: updated
Revision history for this message
Jerone Young (jerone) wrote :

Good news everyone. Thanks to the fabulous work of Colin King, Lenovo is fixing their bioses.

Tentative plan is for release around the end of April with the bios fixes. Will keep everyone posted on details.

Revision history for this message
Jason (jasonkenneth) wrote :

Even though the fix is on the way (yay!), I can confirm that the issue occurs w/ Win 7 x64.
If I enter sleep via Fn + F4, it actually works ok.

If I enter sleep via screensaver or shutting the lid, I get the pulsating power light w/ active keyboard (i.e., red mute light is on, keyboard light can be turned off/on). I've had this happen many times. Also, the machine seems to be on in general even though the screen is blank; today I had the first experience of nearly frying the box after a couple of hours in a bag after shutting the lid.

Revision history for this message
Martin Spacek (mspacek) wrote :

Sorry for the noise, but just to contradict Jason, I don't have any sleep or hibernate problems on my Thinkpad W510 in Win7 x64, regardless of how (start menu, Fn+F4, screensaver, or lid) or how many times in a row I suspend. I'm using the latest 1.15 BIOS, and I just installed all the latest drivers from lenovo.com/support. I do however have this suspend problem in Lucid.

Revision history for this message
Marco Steinacher (mst-websource) wrote :

I think the USB problem after the (first) resume from suspend pointed out by Paladin is covered by bug #252341. We'll have to check if that is fixed by the upcoming BIOS patch as well or if it's a different issue. Currently, unloading and re-loading the ehci_hcd module is a workaround but requires the compilation of a custom kernel as ehci_hcd is not available as module in the current default kernel (at least in Karmic).

Revision history for this message
loke (developer-loke) wrote :

I am having a weird situation with thinkpad X61, predecessor of X201. I am able to suspend after I start at the login window, if I have not logged in. After I log in, the machine will suspend, but the fan keeps running, and the moon light keeps blinking. The machine continues to do that until I hard reset.

I have tried logging out and then suspend at the login window, and have seen the same symptoms. Seems like something gets triggered after a user logs in, and it never get turned off.

I have compiz enabled, but disabling has not helped the symptoms.

Thanks

Revision history for this message
Anmar Oueja (anmar) wrote :

Loke: did you update to the latest version of lucid. I had that happen to me last week but post update it was gone. I am using thinkpad T400 and running the latest Lucid with updates.

Revision history for this message
Steve Langasek (vorlon) wrote :

If this is being fixed in the Lenovo BIOS, should this bug report be closed (or at least taken off the release radar)?

Revision history for this message
Peter Petrakis (peter-petrakis) wrote :

@Steve

It's still broken until we can confirm this to be released bios actually fixes the issue. What if they get it wrong the first time around?

Revision history for this message
Tom Gelinas (tomgelinas) wrote :

Sorry for wiping out some attachments, I had some sensitive information in them. I'll update to 1.15 of the BIOS and post santitized copies if needed.

Revision history for this message
Tom Gelinas (tomgelinas) wrote :

D'oh - Sorry, i'll post the stuff for the T510 right away! I accidentally wiped someone else's attachments!

Revision history for this message
Michael Fritscher (michael-fritscher) wrote :

I can confirm lokes experience on my x61t - but sometimes suspend works even after I logged in.

Revision history for this message
Tom Gelinas (tomgelinas) wrote :
Revision history for this message
Tom Gelinas (tomgelinas) wrote :
Revision history for this message
Tom Gelinas (tomgelinas) wrote :
Revision history for this message
Tom Gelinas (tomgelinas) wrote :

Again, I apologise for wiping out other people's attachments. Just to make sure I didn't confuse anyone: this bug is NOT solved and Lenovo has not yet released a BIOS update that addresses this issue. RSS Feeds for Lenovo Thinkpad software updates can be found here: http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=lenovo&lndocid=MIGR-69603#tp

Revision history for this message
Tom Gelinas (tomgelinas) wrote :
Revision history for this message
Jerone Young (jerone) wrote :

Hi all,
        An update. Lenovo has resolved the issue and it was a bios issue. Bios updates should be coming soon. But looking like late April/early May now. They have to go through a process (to ensure your box doesn't get bricked), before releasing anything to the public.

       Lenovo has been very quick at fixing this issue and great to work with. Everyone stay patient fix is coming.

        These updates are only for recently released Thinkpads .. for older thinkpads such as X61 .. please file another bug.

Revision history for this message
loke (developer-loke) wrote :

I tried it today after updating Ubuntu. And it suspends like a charm, without the BIOS update. Machine: Lenovo Thinkpad X61 7675CTO Dual Core 32 bit

Revision history for this message
Bryn Hughes (linux-nashira) wrote :

As mentioned above, the X61 has nothing to do with this bug, this bug ONLY affects machines with Intel's new Core i5 and i7 CPUs.

Revision history for this message
Martijn de Nerd (martijn-de-nerd) wrote :

Filed a bug on the usb problem. I don't think it's covered by 252341, I have different error messages.
See here: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/566149

Revision history for this message
Jerone Young (jerone) wrote :

@Martijn
           It most likely is, though have to wait till the bios update comes around to verify. We actually did not look into the usb issue, but my bet is based on what I've learned. The updated bios fixes this issue also.

          Unmarking the kernel task as critical based on feedback from Lenovo. Will reopen if updated bios still has issues.

Changed in linux (Ubuntu Lucid):
status: Confirmed → Invalid
Revision history for this message
Alex Chiang (achiang) wrote :

For folks who can reproduce this, please try booting with this kernel command line option and see if it helps:

acpi_sleep=sci_force_enable

We got a hint via Jerone that this might help the kernel workaround the BIOS bug.

Please report back your results. Thanks.

Revision history for this message
Ian Howson (ianhowson) wrote :

sci_force_enable makes no difference for me (T410 w/NVIDIA, v1.12 BIOS, 2.6.32-21-generic kernel).

Revision history for this message
Riccardo Murri (rmurri) wrote :

no luck here either with sci_force_enable (X201, BIOS v1.05,
2.6.32-21-generic kernel).

Revision history for this message
darthvader (sarmbruster) wrote :

sci_force_enable does not work for me, W510, Bios 1.15, 2.6.31-20-generic

Revision history for this message
Tom Gelinas (tomgelinas) wrote :

As long as we're sending notification to like 50 people: It didn't work on my T510 with NVS 3100m, BIOS 1.15. The resume-trace hash match is still /build/buildd/linux-2.6.32/drivers/base/power/main.c:471

Revision history for this message
Jerone Young (jerone) wrote :

hi all
       sci_force_enable isn't supported till in 2.6.32 . Alex will need to provide a more recent upstream kernel to try it.

Revision history for this message
Jerone Young (jerone) wrote :

I mean it is not supported in 2.6.32 kernel in lucid so you would need to try and upstream 2.6.34-rc? to try it.

Revision history for this message
Alex Chiang (achiang) wrote :

Sorry folks, I was looking at an upstream kernel which provides the command line option I talked about.

I am working on building a kernel to test, but if you are so inclined, you can try the attached patch. It applies to the latest Lucid kernel.

Apply the patch, rebuild your kernel, and try the command line parameter again.

Otherwise, you can wait while I try and build a test kernel.

Thanks.

Revision history for this message
Tom Gelinas (tomgelinas) wrote :

Suspend works for my T510 4314CTO with NVS 3100m while running the current Ubuntu Mainline Kernel Build.
https://wiki.ubuntu.com/KernelTeam/MainlineBuilds Thanks for the effort!

Revision history for this message
Alex Chiang (achiang) wrote :

Tom, do you mean that the current mainline build worked out of the box? Or did you need to pass the command line parameter?

Revision history for this message
Tom Gelinas (tomgelinas) wrote :

I meant that it worked when I passed acpi_sleep=sci_force_enable , this laptop was not blacklisted. I typo'd on my last post, it's a T510 4313 and I posted my dmidecode.log to this bug. I removed some information like serial numbers and some stuff I thought related to Intel AMT and TPM, so please let me know if you need any more info.

Revision history for this message
Evgeni Golov (evgeni) wrote :

X201s, BIOS 1.12, EC1.07. Kernel 2.6.34-rc4 from kernel.org.
acpi_sleep=sci_force_enable fixes the issue for me! thank you so much (and even more for working on a fixed bios)

Revision history for this message
Alex Chiang (achiang) wrote :

Evgeni, can you please attach the output of dmidecode?

Revision history for this message
Jason (jasmas) wrote :

This works on Fedora Core 13 Beta with the 2.6.33 kernel.
uname -a
Linux fmi2727.fic.ffg 2.6.33.1-24.fc13.x86_64 #1 SMP Tue Mar 30 18:21:22 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
Kap4Lin (kap4lin) wrote :

2.6.33-2.slh.6-sidux-amd64 #1 SMP PREEMPT x86_64 GNU/Linux, T410 (i5 M 540, BIOS version 1.12), Nvidia NVS 3100M (195.36.15 binary driver).

acpi_sleep=sci_force_enable does nothing. No power to USB (see bug thread in #78 above) ports, second cycle of suspend / resume hangs while resuming.

Revision history for this message
Bryn Hughes (linux-nashira) wrote :

linux-image-2.6.33-020633-generic_2.6.33-020633_amd64 (Mainline Ubuntu) works perfectly with acpi_sleep=sci_force_enable for me on my w510.

Revision history for this message
Jerone Young (jerone) wrote :

Hi all,
         An update. Trying out internal test bios from Lenovo. They have resolved this issue. So you can use the workaround or wait till the next bios update is released.

       There has though been discovered a 2nd issue where USB ports are not cutting on after suspend.
       Please go to bug 566149 . We will be working with Lenovo on this issue also.

Revision history for this message
Evgeni Golov (evgeni) wrote :

@Alex: see attached dmidecode.txt.gz from the current running system (vanilla 2.6.34-rc4, after a couple of successful resumes, USB was not working until I reloaded ehci_hcd).

Revision history for this message
bbandi (bbandi86) wrote :

Suspend works with acpi_sleep=sci_force_enable on T410, Arch linux x64 (default kernel: 2.6.33) - except the usb problem.

Revision history for this message
Riccardo Murri (rmurri) wrote :

Suspend works on Lucid with mainline kernel 2.6.34-020634rc5-generic
and "acpi_sleep=sci_force_enable"; thanks for the fix!

Hardware: X201, BIOS v1.05; dmidecode output attached.

Revision history for this message
David Pollak (dpp+launchpad) wrote :

Suspend works (but the USB problem is still present) on an X201s with 2.6.34-RC5 with acpi_sleep=sci_force_enable (i7-LM640 and Intel graphics)

Revision history for this message
Alex Chiang (achiang) wrote :

Folks, we've got a handle on this issue, and we're aware that USB is still broken.

We don't need any more reports here, unless you see something completely new, in which case, open a new bug.

Thanks.

Revision history for this message
Alex Chiang (achiang) wrote :

Hello,

I've built a test kernel that contains a fix for both this bug and for bug 566149.

With this kernel, you do NOT need to pass a command line parameter for suspend/resume to work. It should Just Work(tm) on its own. And after resume, you should also have USB power.

Please download from:
    http://people.canonical.com/~achiang/lp-532374_566149/

Please make sure you grab the correct kernel for your machine (amd64 vs. i386).

Thanks for testing!

Revision history for this message
Riccardo Murri (rmurri) wrote :

On Fri, Apr 23, 2010 at 3:18 AM, Alex Chiang <email address hidden> wrote:
> I've built a test kernel that contains a fix for both this bug and for
> bug 566149.
>

I can confirm that suspend works with this new 2.6.32 test kernel with
no special options enabled.
(X201, arch amd64, BIOS v1.05)

Thank you Alex!

Revision history for this message
Stephan Schnitzer (s-schnitzer) wrote :

Hi Alex,

linux-headers-2.6.32-22-generic_2.6.32-22.33-lp532374-lp566149_amd64.deb

works for T410 NVIDIA, BIOS 1.15 (both STR and USB).

Thanks for your help.

Revision history for this message
Jerone Young (jerone) wrote :

Hi all,
     Lenovo has released bios updat to fix this bug for the T410
http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-74582

    More coming.

Revision history for this message
Anmar Oueja (anmar) wrote :

Jerone: Thanks for your continued effort. One details though. I have an X201. Do you know if Lenovo is working on updating the BIOS for the X201 and other Intel i5 machines?

Revision history for this message
Marco Steinacher (mst-websource) wrote :

I can confirm that updating to BIOS version 1.18-1.07 released by Lenovo on 2010/04/22 solves this problem (but NOT the USB issue) for this system: Lenovo T410, nvidia, arch amd64, kernel 2.6.31-21-generic. Thanks!

Revision history for this message
Sse (sse123) wrote :

Hi Alex,

thanks for your help!

Could you please also post the applied patch here?
Unfortunately, there's no clue about when Lenovo is going to update the BIOS for my machine (W510)...

Thank you again

Revision history for this message
Sse (sse123) wrote :

never mind, found your patch at https://bugzilla.kernel.org/show_bug.cgi?id=15407
works perfectly, aside from a kernel message repeated a few times at boot time: ACPI: Invalid _PSD data
and sorry for raising the noise level...

Revision history for this message
Torsten Schenkel (torsten-t-cubed) wrote :

Hi Alex,

regarding the kernel you mentioned in #102:

I'd like to give it a go, but the package

linux-headers-2.6.32-22

is missing and

linux-headers-2.6.32-22-generic

depends on it.

Thanks for your work. Will the USB problem be solved with the next BIOS or will we need a different kernel with/or ehci as modules?

SIncerely

Revision history for this message
loke (developer-loke) wrote :

It worked like charm, but now it's away after the recent update. I am writing after updating right now. Please, we need to have it back.

Revision history for this message
loke (developer-loke) wrote :

Sorry, I forgot to mention the symptoms. They are same as I posted in my first post:
1. The system suspends OK when never logged in, and will show the symptoms even after logging out.
2. The system seems to suspend, but the moon light keeps blinking, and the processor fan continues to run
3. The system has to be hard reset

I will be glad to provide any log files.

Revision history for this message
loke (developer-loke) wrote :

Here it is after updating to firware 2.21 on Thinkpad x61. No difference.

Revision history for this message
Dagfinn Ilmari Mannsåker (ilmari) wrote :

Hi Alex,

I can confirm that your test kernel fixes this bug on my x201s (BIOS version 1.05)

Revision history for this message
loke (developer-loke) wrote :

Since this bug does not affect x61, I have added a new bug at https://bugs.launchpad.net/oem-priority/+bug/569882 . Please follow it there.

Thanks

Revision history for this message
Sebastian Geiger (lanoxx) wrote :

I think I am experiencing this bug (or a similar one) on my X61 notebook. After a reboot i can suspend one or two times and also wake up successfully. However the next time when I try to suspend the gnome password dialog (like after the screen saver) appears, the screen freezes and the little half moon keeps flashing (blinking).

Sometimes the screen just goes dark without the gnome password dialog appearing but the system freezes anyway, this bug has started appearing a few days ago.

Cheers Lanoxx

Revision history for this message
Tom Gelinas (tomgelinas) wrote :

Lanoxx, please look 1 post above yours, which refers to the bug report for x61s. https://bugs.launchpad.net/oem-priority/+bug/569882 . Nobody without an i5/i7 Thinkpad is affected by this particular bug.

description: updated
tags: added: t410 t410s t510
tags: removed: glucid
Tom Gelinas (tomgelinas)
description: updated
tags: added: x201
description: updated
Jerone Young (jerone)
tags: added: w510
Jerone Young (jerone)
Changed in oem-priority:
status: In Progress → Fix Released
Revision history for this message
Bernhard Vallant (bernhard-vallant) wrote :

I can confirm that this problem as well as https://bugs.launchpad.net/ubuntu/+source/linux/+bug/566149 on a T410s is fixed by using Alex Chiang's Patch!

Revision history for this message
wahlau (wahlau) wrote :

i can confirm that this problem is fixed using the kernel offered by Alex. However i can only install the kernel-image, and not the kernel headers. Using Lucid 64 bit on T410s. USB is still working after suspend and wake up twice.

Revision history for this message
ltmon (lukemonahan) wrote :

Lenovo have released BIOS: 1.17 / ECP: 1.10 (for W510 anyway, other version numbers for other models) with this entry in the release notes:

"(Fix) Fixed an issue where system might not be resumed on non-Windows ACPI OS."

Revision history for this message
Martin Spacek (mspacek) wrote :

I can confirm that the new 1.17 BIOS fixes this issue for the W510.

Revision history for this message
Jerone Young (jerone) wrote :

Hi all,
         Lenovo has now released bios updates to address this isssue for:
                 T410, T510, X201, & W510

         Lenovo has not released an update for the T410s just yet that would address this issue.

Revision history for this message
Jeremy Zimmer (jeremyz) wrote :

Verified that this is fixed on the T410 (intel graphics) and X201.

After applying the BIOS update to my W510, it now refuses to suspend entirely. The complaint seems to be about the usb3 device (snip from kern.log):

May 3 12:10:34 ubuntu-w510 kernel: [ 1772.781779] PM: Syncing filesystems ... done.
May 3 12:10:34 ubuntu-w510 kernel: [ 1773.061346] PM: Preparing system for mem sleep
May 3 12:10:34 ubuntu-w510 kernel: [ 1773.061351] Freezing user space processes ... (elapsed 0.00 seconds) done.
May 3 12:10:34 ubuntu-w510 kernel: [ 1773.061923] Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
May 3 12:10:34 ubuntu-w510 kernel: [ 1773.061971] PM: Entering mem sleep
May 3 12:10:34 ubuntu-w510 kernel: [ 1773.061984] Suspending console(s) (use no_console_suspend to debug)
May 3 12:10:34 ubuntu-w510 kernel: [ 1773.327870] PM: suspend of drv:psmouse dev:serio2 complete after 249.881 msecs
May 3 12:10:34 ubuntu-w510 kernel: [ 1773.447893] PM: suspend of drv:ieee80211 dev:phy0 complete after 120.083 msecs
May 3 12:10:34 ubuntu-w510 kernel: [ 1773.447954] pm_op(): usb_dev_suspend+0x0/0x20 returns -2
May 3 12:10:34 ubuntu-w510 kernel: [ 1773.447957] PM: Device usb3 failed to suspend: error -2
May 3 12:10:34 ubuntu-w510 kernel: [ 1773.447960] PM: Some devices failed to suspend
May 3 12:10:34 ubuntu-w510 kernel: [ 1773.507597] PM: resume of devices complete after 59.668 msecs
May 3 12:10:34 ubuntu-w510 kernel: [ 1773.609372] PM: resume devices took 0.160 seconds
May 3 12:10:34 ubuntu-w510 kernel: [ 1773.609378] PM: Finishing wakeup.

This is on a fresh install of Lucid, amd64, using the alternate installer. dmidecode output attached.

Also notable (but not necessarily related) from dmesg:

[ 14.609984] usb usb3: config 1 interface 0 altsetting 0 endpoint 0x81 has no SuperSpeed companion descriptor

Martin,

Does your W510 have USB 3.0? I didn't see that as an optional feature on lenovo's site.

I'll open a new bug if no one else knows of one that matches the symptoms I'm seeing.

Revision history for this message
Martin Spacek (mspacek) wrote :

@Jeremy,

I've unloaded the USB 3.0 module on my W510. See bug #522998.

Revision history for this message
madbiologist (me-again) wrote :

For users who either won't or can't upgrade their BIOS, a workaround for this problem has been included upstream in kernel 2.6.34-rc7, and also cc'd to the stable kernel branch (meaning 2.6.33 and possibly 2.6.32). from the changelog:

commit 07bedca29b0973f36a6b6db36936deed367164ed
Author: Alex Chiang
Date: Tue Apr 20 08:03:14 2010 -0600

    ACPI: DMI init_set_sci_en_on_resume for multiple Lenovo ThinkPads

    Multiple Lenovo ThinkPad models with Intel Core i5/i7 CPUs can
    successfully suspend/resume once, and then hang on the second s/r
    cycle.

    We got confirmation that this was due to a BIOS defect. The BIOS
    did not properly set SCI_EN coming out of S3. The BIOS guys
    hinted that The Other Leading OS ignores the fact that hardware
    owns the bit and sets it manually.

    In any case, an existing DMI table exists for machines where this
    defect is a known problem. Lenovo promise to fix their BIOS, but
    for folks who either won't or can't upgrade their BIOS, allow
    Linux to workaround the issue.

    https://bugzilla.kernel.org/show_bug.cgi?id=15407
    https://bugs.launchpad.net/ubuntu/+source/linux/+bug/532374

    Confirmed by numerous testers in the launchpad bug that using
    acpi_sleep=sci_force_enable fixes the issue. We add the machines
    to acpisleep_dmi_table[] to automatically enable this workaround.

    Cc: <email address hidden>
    Cc: Colin King
    Signed-off-by: Alex Chiang
    Signed-off-by: Len Brown

Revision history for this message
Alex Chiang (achiang) wrote :

All the patches needed to solve this issue have hit upstream's -stable tree for both the .32 and .33 release streams.

What this means is that at some point in the unspecified future, the Lucid kernel will be rebased onto the latest .32-stable release, and the fix will appear in Ubuntu.

I do not know when the kernel team will do the rebase, so at this point, there's not much more for me to do from my perspective. We just have to wait for the kernel team to rebase and then release.

Thanks.

Alex Chiang (achiang)
Changed in oem-priority:
assignee: nobody → Alex Chiang (achiang)
Changed in linux (Ubuntu):
assignee: nobody → Alex Chiang (achiang)
Changed in linux (Ubuntu Lucid):
assignee: nobody → Alex Chiang (achiang)
Revision history for this message
vojtec (vojtec) wrote :

Hello,
I have X200s and I have no success with the kernel 2.6.34-rc7, the problem with the second suspend still remains. Also the new bios haven't been released yet... Have anybody x200s too with the same problem?

Revision history for this message
AmenophisIII (amenophisiii) wrote :

bios release for t410s: http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-74943

(btw updating the bios without windows and cd/dvd:
wget new geteltorito (>=0.5) from http://www.uni-koblenz.de/~krienke/ftp/noarch/geteltorito/geteltorito
use that on the bootable .iso from lenovo to get the boot .img
than you can boot that .img from local ssd/hdd with grub like http://www.thinkwiki.org/wiki/BIOS_Upgrade#GRUB2)

Revision history for this message
Alex Chiang (achiang) wrote :

@vojtec, that is correct, I do not expect the kernel to succeed with your machine, since it's not listed in the DMI table.

With the upstream kernel, you can pass the command line parameter. This will not work with the current Lucid kernel, but the next Lucid release will support the command line param.

I will propose adding your machine to the Lucid kernel as a SAUCE patch as well.

Revision history for this message
e b (erblair) wrote :

Updating the bios does not fix the problem on this T410. "IRQ 9: nobody cared" messages are gone, but new messages are present on boot. USB does not work after resume from suspend and at least one USB device is not handled properly on boot. Pre-suspend dmesg is attached, will attach a post-resume dmesg in a bit.

[ 152.208901] unregister_netdevice: device wlan0/ffff880068e00000 never was registered
[ 152.208904] ------------[ cut here ]------------
[ 152.208915] WARNING: at /build/buildd/linux-2.6.32/net/core/dev.c:4650 rollback_registered+0xff/0x130()
[ 152.208919] Hardware name: 2516CTO

[ 152.209112] Pid: 44, comm: khubd Tainted: P W 2.6.32-22-generic #33-Ubuntu
[ 152.209114] Call Trace:
[ 152.209118] [<ffffffff8145dd5d>] netdev_run_todo+0x13d/0x180
[ 152.209124] [<ffffffff81469afe>] rtnl_unlock+0xe/0x10
[ 152.209128] [<ffffffff8145e763>] unregister_netdev+0x23/0x30
[ 152.209134] [<ffffffffa0d2b1d5>] rtl8187_usb_disconnect+0x2b/0x8d [r8187]
[ 152.209139] [<ffffffff813d92d4>] usb_unbind_interface+0x124/0x170
[ 152.209144] [<ffffffff81368c8f>] __device_release_driver+0x6f/0xe0
[ 152.209148] [<ffffffff81368dfd>] device_release_driver+0x2d/0x40
[ 152.209152] [<ffffffff81367e1a>] bus_remove_device+0x9a/0xc0
[ 152.209156] [<ffffffff81365f77>] device_del+0x127/0x1d0
[ 152.209160] [<ffffffff813d5a98>] usb_disable_device+0xa8/0x130
[ 152.209165] [<ffffffff813cf832>] usb_disconnect+0xd2/0x170
[ 152.209169] [<ffffffff813cfeaf>] hub_port_connect_change+0x8f/0x980
[ 152.209174] [<ffffffff813d11a2>] hub_events+0x3b2/0x5a0
[ 152.209178] [<ffffffff8153e768>] ? thread_return+0x48/0x420
[ 152.209182] [<ffffffff813d13e5>] hub_thread+0x55/0x190
[ 152.209187] [<ffffffff81085320>] ? autoremove_wake_function+0x0/0x40
[ 152.209191] [<ffffffff813d1390>] ? hub_thread+0x0/0x190
[ 152.209195] [<ffffffff81084fa6>] kthread+0x96/0xa0
[ 152.209199] [<ffffffff810141ea>] child_rip+0xa/0x20
[ 152.209203] [<ffffffff81084f10>] ? kthread+0x0/0xa0
[ 152.209206] [<ffffffff810141e0>] ? child_rip+0x0/0x20
[ 152.811996] rtl8187: WW:Card reset timeout!
[ 153.021861] rtl8187: wlan driver removed
[ 153.021864]

Revision history for this message
e b (erblair) wrote :

Attached is the post-resume dmesg output. More logs and info can be found at the duplicate bug report I accidentally filed: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/580783

Revision history for this message
e b (erblair) wrote :

Please disregard posts #130 and #131. Sorry.

Revision history for this message
vojtec (vojtec) wrote :

@Alex: thanks for adding my machine to the patch... I have tried to use current upstream kernel (both 2.6.34-020634rc7 and current daily build) with added grub parameter acpi_sleep=sci_force_enable, but both of them with no success, the problem with second wakeup still remains.... I will wait for next Lucid kernel release and report the state, thanks ...

Revision history for this message
Alex Chiang (achiang) wrote :

@vojtec,

Hm, that is disturbing that adding that kernel command line param didn't work, as it definitely should have.

Can you please attach the output of your dmesg?

Thanks.

Revision history for this message
vojtec (vojtec) wrote :

@alex,

here is my dmesg after 1st suspend, thanks!

TJ Merritt (tjmerritt)
Changed in oem-priority:
status: Fix Released → Fix Committed
Revision history for this message
Jerone Young (jerone) wrote :

@vojtec
         Update your bios and your issue will be resolved.

Changed in oem-priority:
status: Fix Committed → Fix Released
Revision history for this message
vojtec (vojtec) wrote :

@Jerome
                      I have the most recent BIOS from IBM for my X200s - it is from 27 March ( http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-70476 ) but the problem still remains.

Changed in oem-priority:
status: Fix Released → Fix Committed
Revision history for this message
wahlau (wahlau) wrote :

had anyone recently problem with suspend? my thinkpad t410s was working well with the custom kernel and bios update, but since a week plus the system will just blink indefinitely when i try to suspend. running latest kernel and bios.

Revision history for this message
Vadim Gutnik (gutnik) wrote :

On Wed, Jun 9, 2010 at 1:19 AM, wahlau <email address hidden> wrote:
> had anyone recently problem with suspend? my thinkpad t410s was working
> well with the custom kernel and bios update, but since a week plus the
> system will just blink indefinitely when i try to suspend. running
> latest kernel and bios.

Welcome to https://bugs.launchpad.net/bugs/550479.

Jerone Young (jerone)
Changed in oem-priority:
status: Fix Committed → Fix Released
Revision history for this message
Martin Habovštiak (martin-r24) wrote :

Hello, I have exactly same problem as Paladin: only one suspend/resume works and USB doesn't work (I'm sure no energy is there - "always powered" port too ^_^)
I use actualized Lucid
$ uname -r
2.6.32-22-generic
Also I have problem with hibernation - it seems hibernated but after boot It boots "normally" - no wakeup
I use proprietary nVidia driver - you can look in attachment...

Revision history for this message
Matt Price (matt-price) wrote :

i have a t410 and of course suffer from this bug like everyone else. i appear to have BIOS version 1.09:
$ sudo dmidecode -s bios-version
6IET49WW (1.09 )

i would like to update to the newest bios but i'm a little terrified to do so -- can anyone out there give or point me to a reliable and complete set of instructions as to what I ought to do to make this work? Thank you so much,

also: will i have to update to 2.6.34, as suggested in some postings, or will that workaround no longer be necessary after the bios update? Thanks,
matt

Revision history for this message
Reinhard Mayr (czerwinski1977) wrote :

Regarding the update, I just burnt the bootable CD available from the lenovo
site... Boot it, the rest is all pretty straight forward. Reading the readme
file could also be useful. -- Have no fear ;)

Cheers, Reinhard.

2010/6/20 Matt Price <email address hidden>

> i have a t410 and of course suffer from this bug like everyone else. i
> appear to have BIOS version 1.09:
> $ sudo dmidecode -s bios-version
> 6IET49WW (1.09 )
>
> i would like to update to the newest bios but i'm a little terrified to
> do so -- can anyone out there give or point me to a reliable and
> complete set of instructions as to what I ought to do to make this work?
> Thank you so much,
>
> also: will i have to update to 2.6.34, as suggested in some postings, or
> will that workaround no longer be necessary after the bios update? Thanks,
> matt
>
> --
> Lenovo Thinkpads with Core i5 and i7 suspend/resume (with kernel oops) once
> then fail horribly on next suspend
> https://bugs.launchpad.net/bugs/532374
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in The Linux Kernel: Unknown
> Status in OEM Priority Project: Fix Released
> Status in “linux” package in Ubuntu: Invalid
> Status in “linux” source package in Lucid: Invalid
>
> Bug description:
> THIS HAPPENS ONLY TO THINKPADS WITH i5 or i7 PROCESSORS: Thinkpad T410,
> T510 and X201 models are affected (intel integrated graphics, nvidia
> discrete graphics). The first suspend/resume completes successfully. The
> second suspend appears to work, but when waking, a few LEDs flicker, but the
> laptop stays suspended (moon LED on the lid stays lit, LED around power
> button continues to pulse). Pressing the power button again causes a reboot
> (no other buttons seem to do anything in this state).
>
> Per https://wiki.ubuntu.com/DebuggingKernelSuspend:
>
> $ grep -A4 Magic .tmp/dmesg.txt
> [ 1.148585] Magic number: 0:523:347
> [ 1.148587] hash matches
> /build/buildd/linux-2.6.32/drivers/base/power/main.c:471
> [ 1.148615] pci0000:00: hash matches
>
> That's the DRAM Controller.
>
> Same results from the "xterm" session, and also without X, so no
> gnome-power-manager interactions.
>
> This issue effects:
> Thinkpads X201, T410, T510, W510
> & possibly T410s
>
>
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/linux/+bug/532374/+subscribe
>

Revision history for this message
AmenophisIII (amenophisiii) wrote :

no need to burn a cd...

# get the .iso
# get geteltorito (1) and make it executable (chmod +x),
# get memdisk (2),
mkdir /boot/bios
cp /usr/lib/syslinux/memdisk /boot/bios/
# execute "./geteltorito -o /boot/bios/eltorito.img <bla>.iso" or similar
echo "menuentry "BIOS Update" {
 linux16 /bios/memdisk
 initrd16 /bios/eltorito.img
}" >> /etc/grub.d/40_custom
update-grub
reboot
#select "BIOS Update" from the grub menu
#enjoy :)

1: http://www.uni-koblenz.de/~krienke/ftp/noarch/geteltorito/geteltorito
2: ubuntu package syslinux
tested with one of the previous t410s bioses and hopefully correctly recalled by me... w/o any warranty etc.

Revision history for this message
Matt Price (matt-price) wrote : Re: [Bug 532374] Re: Lenovo Thinkpads with Core i5 and i7 suspend/resume (with kernel oops) once then fail horribly on next suspend

wimped out and burned the CD after all. my suspend problem appears to be
definitively fixed. still using tuxonice suspend-to-both out of fear
it'll crash, but no problems so far. yay and THANKS to everyone, this
is a big help.

Changed in linux:
status: Unknown → Fix Released
Changed in linux:
importance: Unknown → High
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.