Thinkpad T450s unable to resume after suspended for a long time

Bug #1449357 reported by Pinghao Qi
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

My laptop shows a black screen when resumes from suspend. I'm unable to log in with ctrl-alt-f1 then ctrl-alt-f7. I'm able to control the keyboard backlight, the LED on the power button still looks like the way the laptop is in suspend. I'm only able to log in by pressing the power button and power off.

This issue only happens when I close the lid and leave the computer for a long time. If I close the lid and open it in around 1 minute, it resumes just fine. I have to press the suspend button in the drop down menu to suspend the laptop first, and then close the lid. In that case, the laptop resumes without error. I've set in the power settings to let the laptop do nothing when lid is closed, and that didn't change the problem.

I've tried using the newest i915 driver from o1.org and the same problem persists. This same problem is observed in clean installs of 14.04LTS, 14.10 and 15.04. I updated to 15.04 from 14.10 using the built-in updater.

WORKAROUND: In BIOS, disable Intel Rapid Start Technology.

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: linux-image-3.19.0-15-generic 3.19.0-15.15
ProcVersionSignature: Ubuntu 3.19.0-15.15-generic 3.19.3
Uname: Linux 3.19.0-15-generic x86_64
ApportVersion: 2.17.2-0ubuntu1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: pinghao 3446 F.... pulseaudio
 /dev/snd/controlC0: pinghao 3446 F.... pulseaudio
CurrentDesktop: Unity
Date: Mon Apr 27 23:44:32 2015
HibernationDevice: RESUME=UUID=72731580-3c1d-4d92-8d3d-c07fd1031447
InstallationDate: Installed on 2015-04-16 (11 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
MachineType: LENOVO 20BX001LUS
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.19.0-15-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.19.0-15-generic N/A
 linux-backports-modules-3.19.0-15-generic N/A
 linux-firmware 1.143
SourcePackage: linux
UpgradeStatus: Upgraded to vivid on 2015-04-24 (3 days ago)
dmi.bios.date: 03/10/2015
dmi.bios.vendor: LENOVO
dmi.bios.version: JBET47WW (1.12 )
dmi.board.asset.tag: Not Available
dmi.board.name: 20BX001LUS
dmi.board.vendor: LENOVO
dmi.board.version: SDK0E50510 WIN
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.modalias: dmi:bvnLENOVO:bvrJBET47WW(1.12):bd03/10/2015:svnLENOVO:pn20BX001LUS:pvrThinkPadT450s:rvnLENOVO:rn20BX001LUS:rvrSDK0E50510WIN:cvnLENOVO:ct10:cvrNone:
dmi.product.name: 20BX001LUS
dmi.product.version: ThinkPad T450s
dmi.sys.vendor: LENOVO

Revision history for this message
Pinghao Qi (feifeiqph) wrote :
description: updated
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

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

pm-suspend.log shows this error line. Everything else is success.

Running hook /usr/lib/pm-utils/sleep.d/60_wpa_supplicant suspend suspend:
Failed to connect to non-global ctrl_ifname: (null) error: No such file or directory
/usr/lib/pm-utils/sleep.d/60_wpa_supplicant suspend suspend: success.

It seems this bug has been reported in many places since a long time ago.

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.0 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.1-rc1-vivid/

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
Pinghao Qi (feifeiqph) wrote :

After some preliminary testing with kernel 4.0, it seems that the bug is fixed. I'll do more testing tomorrow. However, I've been getting the following error message at startup when using kernel 4.0.

Error parsing PCC subspaces from PCCT.
Starting version 219
thinkpad_acpi: unsupported brightness interfaces, please contact <email address hidden>

It doesn't affect anything of the system so far.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
tags: added: kernel-fixed-upstream
Revision history for this message
Pinghao Qi (feifeiqph) wrote :

After more testing, I left the laptop in suspend overnight with kernel 4.0, and it fails to resume in the morning. So the same bug still exists in kernel 4.0.

tags: added: kernel-bug-exists-upstream
removed: kernel-fixed-upstream
Revision history for this message
Pinghao Qi (feifeiqph) wrote :

After more researching and testing, I've determined that the bug is caused by the Intel Rapid Start technology in BIOS. It had a timer of 3 hours after laptop sleeps. I disabled that in BIOS and resume from suspend started working just fine. I don't know if this is a Ubuntu bug or a BIOS bug.

Revision history for this message
penalvch (penalvch) wrote :

Pinghao Qi, just to clarify, were you testing kernel 4.1-rc1 or 4.0.x?

tags: added: latest-bios-1.12
description: updated
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Pinghao Qi (feifeiqph) wrote :

I was testing with the newest 4.0 stable kernel.

Revision history for this message
penalvch (penalvch) wrote :

Pinghao Qi, just to advise, 4.0 is not the latest mainline kernel. Hence, could you please advise to the results requested in https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1449357/comments/4 ?

Revision history for this message
Pinghao Qi (feifeiqph) wrote :

So I tested with 4.1rc and it also doesn't work with intel rapid start. I set the rapid start timer to immediate in BIOS and as soon as I close the lid and open it back up, I was unable to resume to where I was.

penalvch (penalvch)
tags: added: kernel-bug-exists-upstream-4.1-rc1
tags: added: trusty utopic
Revision history for this message
penalvch (penalvch) wrote :

Pinghao Qi, could you please provide the missing information following https://wiki.ubuntu.com/DebuggingKernelSuspend ?

Revision history for this message
penalvch (penalvch) wrote :

Pinghao Qi, the issue you are reporting is an upstream one. Could you please report this problem to the appropriate mailing list (platform-driver-x86 CC Matthew Garrett ) by following the instructions verbatim at https://wiki.ubuntu.com/Bugs/Upstream/kernel ?

Please provide a direct URL to your e-mail to the mailing list once you have made it so that it may be tracked via http://vger.kernel.org/vger-lists.html . It can take a day for the new e-mail to show up in the respective archive.

Thank you for your understanding.

Changed in linux (Ubuntu):
status: Incomplete → Triaged
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.