Failure to suspend on Lenovo X230

Bug #1284372 reported by Joel Stanley
2
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

My system tries to enter suspend, but bails back out with the following:

[77808.028591] WARNING: CPU: 2 PID: 20791 at /build/buildd/linux-3.13.0/drivers/gpu/drm/i915/intel_uncore.c:125 gen6_gt_check_fifodbg.isra.9+0x38/0x50 [i915]()
[77808.028592] MMIO read or write has been dropped ffffffff
     [ modules list ]
[77808.028622] CPU: 2 PID: 20791 Comm: kworker/u16:68 Tainted: G W 3.13.0-11-generic #31-Ubuntu
[77808.028623] Hardware name: LENOVO 23301B9/23301B9, BIOS G2ET95WW (2.55 ) 07/09/2013
[77808.028634] Workqueue: i915 gen6_force_wake_work [i915]
[77808.028636] 0000000000000009 ffff88008dca1d38 ffffffff817163b5 ffff88008dca1d80
[77808.028637] ffff88008dca1d70 ffffffff8106450d ffff88020d7ec020 ffff88020d7ec028
[77808.028639] 0000000000000246 0000000000000000 0000000000000200 ffff88008dca1dd0
[77808.028639] Call Trace:
[77808.028644] [<ffffffff817163b5>] dump_stack+0x45/0x56
[77808.028646] [<ffffffff8106450d>] warn_slowpath_common+0x7d/0xa0
[77808.028648] [<ffffffff8106457c>] warn_slowpath_fmt+0x4c/0x50
[77808.028659] [<ffffffffa0159d98>] gen6_gt_check_fifodbg.isra.9+0x38/0x50 [i915]
[77808.028668] [<ffffffffa0159e3b>] __gen6_gt_force_wake_mt_put+0x2b/0x30 [i915]
[77808.028677] [<ffffffffa0159b67>] gen6_force_wake_work+0x37/0x50 [i915]
[77808.028679] [<ffffffff81080702>] process_one_work+0x182/0x450
[77808.028681] [<ffffffff810814a1>] worker_thread+0x121/0x410
[77808.028682] [<ffffffff81081380>] ? rescuer_thread+0x3e0/0x3e0
[77808.028684] [<ffffffff810880f2>] kthread+0xd2/0xf0
[77808.028685] [<ffffffff81088020>] ? kthread_create_on_node+0x190/0x190
[77808.028687] [<ffffffff81726cfc>] ret_from_fork+0x7c/0xb0
[77808.028688] [<ffffffff81088020>] ? kthread_create_on_node+0x190/0x190
[77808.028689] ---[ end trace a01b8488029b5090 ]---

$ uname -a
Linux icarus 3.13.0-11-generic #31-Ubuntu SMP Wed Feb 19 19:57:21 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
Joel Stanley (shenki) wrote :
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 v3.13 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/v3.14-rc4-trusty/

Changed in linux (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1284372

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: trusty
Revision history for this message
Joel Stanley (shenki) wrote :
Revision history for this message
Joel Stanley (shenki) wrote :
Revision history for this message
Joel Stanley (shenki) wrote :
Revision history for this message
Joel Stanley (shenki) wrote :

Attached is the dmesg output for 3.13.0-12 and mainline 3.14-rc4.

In both cases the system suspends the first time after boot, but subsequent suspends fail.

The mainline kernel doesn't contain the i915 backtrace, so perhaps this is unrelated?

Joel Stanley (shenki)
tags: added: kernel-bug-exists-upstream
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Joel Stanley (shenki) wrote :

Taking a closer look:

[ 274.333064] pci_pm_suspend(): e1000_suspend+0x0/0x20 [e1000e] returns -2
[ 274.333067] dpm_run_callback(): pci_pm_suspend+0x0/0x150 returns -2
[ 274.333069] PM: Device 0000:00:19.0 failed to suspend async: error -2

If I rmmod e1000e before suspend the issue goes away. Interestingly, if I then re-insert e1000e suspend works.

This looks familiar:
 https://wiki.archlinux.org/index.php/Lenovo_ThinkPad_X230#Suspend_failing

Perhaps this is a dupe of https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1250476?

Revision history for this message
penalvch (penalvch) wrote :

Joel Stanley, please execute the following at a terminal while booted into a Ubuntu repository kernel (not a mainline one):
apport-collect 1284372

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
tags: added: needs-kernel-logs
Revision history for this message
Joel Stanley (shenki) wrote :

Hello Christopher,

As you can see in comment #6, the kenrel log for the Ubuntu kernel is attached.

What extra information do you require?

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
tags: removed: needs-kernel-logs
Revision history for this message
penalvch (penalvch) wrote :

Joel Stanley, please do not remove the tags I apply to this report. Please perform the requested actions as noted in https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1284372/comments/9 .

tags: added: needs-apport-collect
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

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