[Lenovo ThinkPad Edge S430] Suspend fails

Bug #1351653 reported by khink
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

When suspending the machine (clicking cogwheel in upper right corner):
* the computer starts doing what it does before suspending
* the screen goes black (which is the way it used to be)
* some message about failure is displayed briefly, and i get the login screen.

The attached (i believe) syslog shows the error, it's:

Aug 2 19:17:05 zeno kernel: [58750.458713] PM: Entering mem sleep
Aug 2 19:17:05 zeno kernel: [58750.458759] Suspending console(s) (use no_console_suspend to debug)
Aug 2 19:17:05 zeno kernel: [58750.458936] sd 2:0:0:0: [sdb] Synchronizing SCSI cache
Aug 2 19:17:05 zeno kernel: [58750.458946] sd 0:0:0:0: [sda] Synchronizing SCSI cache
Aug 2 19:17:05 zeno kernel: [58750.458982] sd 2:0:0:0: [sdb] Stopping disk
Aug 2 19:17:05 zeno kernel: [58750.459063] sd 0:0:0:0: [sda] Stopping disk
Aug 2 19:17:05 zeno kernel: [58750.895746] nouveau [ DRM] suspending display...
Aug 2 19:17:05 zeno kernel: [58750.895768] nouveau [ DRM] unpinning framebuffer(s)...
Aug 2 19:17:05 zeno kernel: [58750.895776] nouveau [ DRM] evicting buffers...
Aug 2 19:17:05 zeno kernel: [58750.895777] nouveau [ DRM] waiting for kernel channels to go idle...
Aug 2 19:17:05 zeno kernel: [58750.895824] nouveau [ DRM] suspending client object trees...
Aug 2 19:17:05 zeno kernel: [58750.896278] nouveau [ DRM] suspending kernel object tree...
Aug 2 19:17:05 zeno kernel: [58752.898898] nouveau E[ PDISP][0000:01:00.0][0xc000857c][ffff88026d15d300] fini timeout, 0xc2061008
Aug 2 19:17:05 zeno kernel: [58752.898900] nouveau E[ PDISP][0000:01:00.0][0xc000857c][ffff88026d15d300] failed suspend, -16
Aug 2 19:17:05 zeno kernel: [58752.898901] nouveau E[ DRM] 0xd1500000:0xd15c7c00 suspend failed with -16
Aug 2 19:17:05 zeno kernel: [58752.898919] nouveau E[ DRM] 0xdddddddd:0xd1500000 suspend failed with -16
Aug 2 19:17:05 zeno kernel: [58752.899009] nouveau E[ DRM] 0xffffffff:0xdddddddd suspend failed with -16
Aug 2 19:17:05 zeno kernel: [58752.899648] nouveau E[ DRM] 0xffffffff:0xffffffff suspend failed with -16
Aug 2 19:17:05 zeno kernel: [58752.899748] nouveau [ DRM] resuming display...
Aug 2 19:17:05 zeno kernel: [58752.899767] nouveau E[ DRM] bo ffff88026c624000 pinned elsewhere: 0x00000002 vs 0x00000004
Aug 2 19:17:05 zeno kernel: [58752.899768] [drm:drm_helper_resume_force_mode] *ERROR* failed to set mode on crtc ffff88027256a000
Aug 2 19:17:05 zeno kernel: [58752.907842] pci_pm_suspend(): nouveau_pmops_suspend+0x0/0xb0 [nouveau] returns -16
Aug 2 19:17:05 zeno kernel: [58752.907845] dpm_run_callback(): pci_pm_suspend+0x0/0x150 returns -16
Aug 2 19:17:05 zeno kernel: [58752.907847] PM: Device 0000:01:00.0 failed to suspend async: error -16
Aug 2 19:17:05 zeno kernel: [58752.907996] PM: Some devices failed to suspend, or early wake event detected

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-3.13.0-32-generic 3.13.0-32.57
ProcVersionSignature: Ubuntu 3.13.0-32.57-generic 3.13.11.4
Uname: Linux 3.13.0-32-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: kees 2645 F.... pulseaudio
CurrentDesktop: Unity
Date: Sat Aug 2 19:45:12 2014
EcryptfsInUse: Yes
HibernationDevice: RESUME=UUID=16c6232f-9aca-4c99-80bc-86f1705fdf0b
InstallationDate: Installed on 2013-01-17 (562 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
MachineType: LENOVO 33643EG
ProcFB:
 0 inteldrmfb
 1 nouveaufb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.13.0-32-generic root=UUID=6278fb6c-cd42-4010-a8a3-16aa39c1682a ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.13.0-32-generic N/A
 linux-backports-modules-3.13.0-32-generic N/A
 linux-firmware 1.127.5
SourcePackage: linux
UpgradeStatus: Upgraded to trusty on 2014-04-18 (106 days ago)
dmi.bios.date: 06/13/2012
dmi.bios.vendor: LENOVO
dmi.bios.version: GAET34WW (1.11 )
dmi.board.asset.tag: Not Available
dmi.board.name: 33643EG
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:bvrGAET34WW(1.11):bd06/13/2012:svnLENOVO:pn33643EG:pvrThinkPadEdgeS430:rvnLENOVO:rn33643EG:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 33643EG
dmi.product.version: ThinkPad Edge S430
dmi.sys.vendor: LENOVO

Revision history for this message
khink (kees-fmf) wrote :
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
penalvch (penalvch) wrote : Re: Suspend fails

khink, thank you for reporting this and helping make Ubuntu better. Could you please test the latest upstream kernel available from the very top line at the top of the page (not the daily folder) following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested. For example:
kernel-fixed-upstream-3.16-rc7

This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description.

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

Once testing of the upstream kernel is complete, please mark this bug's Status as Confirmed. Please let us know your results. Thank you for your understanding.

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
khink (kees-fmf) wrote :

I tested with v3.16-utopic, it was the ne on top of the page at ...

Couldn't install linux-headers, got this:

$ sudo dpkg -i linux-*.deb
Selecting previously unselected package linux-headers-3.16.0-031600-generic.
(Reading database ... 373797 files and directories currently installed.)
Preparing to unpack linux-headers-3.16.0-031600-generic_3.16.0-031600.201408031935_amd64.deb ...
Unpacking linux-headers-3.16.0-031600-generic (3.16.0-031600.201408031935) ...
Selecting previously unselected package linux-image-3.16.0-031600-generic.
Preparing to unpack linux-image-3.16.0-031600-generic_3.16.0-031600.201408031935_amd64.deb ...
Done.
Unpacking linux-image-3.16.0-031600-generic (3.16.0-031600.201408031935) ...
dpkg: dependency problems prevent configuration of linux-headers-3.16.0-031600-generic:
 linux-headers-3.16.0-031600-generic depends on linux-headers-3.16.0-031600; however:
  Package linux-headers-3.16.0-031600 is not installed.

dpkg: error processing package linux-headers-3.16.0-031600-generic (--install):
 dependency problems - leaving unconfigured
Setting up linux-image-3.16.0-031600-generic (3.16.0-031600.201408031935) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.16.0-031600-generic /boot/vmlinuz-3.16.0-031600-generic
run-parts: executing /etc/kernel/postinst.d/dkms 3.16.0-031600-generic /boot/vmlinuz-3.16.0-031600-generic
Error! Could not locate dkms.conf file.
File: does not exist.
Error! Bad return status for module build on kernel: 3.16.0-031600-generic (x86_64)
Consult /var/lib/dkms/acpi-call/20130623/build/make.log for more information.
Error! Bad return status for module build on kernel: 3.16.0-031600-generic (x86_64)
Consult /var/lib/dkms/vboxhost/4.3.10/build/make.log for more information.
Error! Bad return status for module build on kernel: 3.16.0-031600-generic (x86_64)
Consult /var/lib/dkms/tp-smapi/0.41/build/make.log for more information.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.16.0-031600-generic /boot/vmlinuz-3.16.0-031600-generic
update-initramfs: Generating /boot/initrd.img-3.16.0-031600-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.16.0-031600-generic /boot/vmlinuz-3.16.0-031600-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.16.0-031600-generic /boot/vmlinuz-3.16.0-031600-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.16.0-031600-generic /boot/vmlinuz-3.16.0-031600-generic
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-3.16.0-031600-generic
Found initrd image: /boot/initrd.img-3.16.0-031600-generic
Found linux image: /boot/vmlinuz-3.13.0-32-generic
Found initrd image: /boot/initrd.img-3.13.0-32-generic
Found linux image: /boot/vmlinuz-3.13.0-30-generic
Found initrd image: /boot/initrd.img-3.13.0-30-generic
done
Errors were encountered while processing:
 linux-headers-3.16.0-031600-generic

Revision history for this message
khink (kees-fmf) wrote :

But the kernel itself is installed:
$ uname -a
Linux zeno 3.16.0-031600-generic #201408031935 SMP Sun Aug 3 23:36:11 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Suspend gives the same error, so i tagged it as kernel-bug-exists-upstream-3.16.0:

Aug 12 00:29:01 zeno kernel: [ 57.354813] nouveau [ DRM] suspending display...
Aug 12 00:29:01 zeno kernel: [ 57.354818] nouveau [ DRM] unpinning framebuffer(s)...
Aug 12 00:29:01 zeno kernel: [ 57.354843] nouveau [ DRM] evicting buffers...
Aug 12 00:29:01 zeno kernel: [ 57.367662] nouveau [ DRM] waiting for kernel channels to go idle...
Aug 12 00:29:01 zeno kernel: [ 57.367689] nouveau [ DRM] suspending client object trees...
Aug 12 00:29:01 zeno kernel: [ 57.367935] nouveau [ DRM] suspending kernel object tree...
Aug 12 00:29:01 zeno kernel: [ 59.370367] nouveau E[ PDISP][0000:01:00.0][0xc000857c][ffff880269c7a680] fini timeout, 0xc2061008
Aug 12 00:29:01 zeno kernel: [ 59.370369] nouveau E[ PDISP][0000:01:00.0][0xc000857c][ffff880269c7a680] failed suspend, -16
Aug 12 00:29:01 zeno kernel: [ 59.370370] nouveau E[ DRM] 0xd1500000:0xd15c7c00 suspend failed with -16
Aug 12 00:29:01 zeno kernel: [ 59.370401] nouveau E[ DRM] 0xdddddddd:0xd1500000 suspend failed with -16
Aug 12 00:29:01 zeno kernel: [ 59.370495] nouveau E[ DRM] 0xffffffff:0xdddddddd suspend failed with -16
Aug 12 00:29:01 zeno kernel: [ 59.370985] nouveau E[ DRM] 0xffffffff:0xffffffff suspend failed with -16
Aug 12 00:29:01 zeno kernel: [ 59.371019] nouveau [ DRM] resuming display...
Aug 12 00:29:01 zeno kernel: [ 59.406048] pci_pm_suspend(): nouveau_pmops_suspend+0x0/0xc0 [nouveau] returns -16
Aug 12 00:29:01 zeno kernel: [ 59.406051] dpm_run_callback(): pci_pm_suspend+0x0/0x140 returns -16
Aug 12 00:29:01 zeno kernel: [ 59.406053] PM: Device 0000:01:00.0 failed to suspend async: error -16
Aug 12 00:29:01 zeno kernel: [ 59.406097] PM: Some devices failed to suspend, or early wake event detected

tags: added: kernel-bug-exists-upstream-3.16.0
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
penalvch (penalvch)
tags: added: kernel-bug-exists-upstream-3.16
removed: kernel-bug-exists-upstream-3.16.0
tags: added: latest-bios-1.11
Revision history for this message
penalvch (penalvch) wrote :

khink, did this problem not occur in a release prior to Trusty?

As well, as a potential WORKAROUND, do the nvidia drivers allow you to suspend following https://help.ubuntu.com/community/BinaryDriverHowto/Nvidia ?

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
summary: - Suspend fails
+ [Lenovo ThinkPad Edge S430] Suspend fails
Revision history for this message
khink (kees-fmf) wrote :

I never noticed this in prior releases. I first started noticing this around april.

According to the Additional Drivers tab on Software & Updates, i am currently using NVidia 331.38. However the error still occurs, reported by Nouveau. I'll remove it (sudo apt-get --purge remove xserver-xorg-video-nouveau) and see what that does.

Revision history for this message
khink (kees-fmf) wrote :

That broke the login screen: Couldn't type or use the mouse. Repaired by reinstaling nouveau from recovery mode. Guessing something wrong with that proprietary driver that makes it fallback to nouveau, i'll try another.

Revision history for this message
khink (kees-fmf) wrote :

Still the same while using 331.38 from nvidia-331-updates (as opposed to from nvidia-331). Will try the legacy 304.117.

Revision history for this message
khink (kees-fmf) wrote :

No, i'm still getting the error message from nouveau.

Revision history for this message
penalvch (penalvch) wrote :

khink, the next step is to fully commit bisect the kernel in order to identify the offending commit. Could you please do this following https://wiki.ubuntu.com/Kernel/KernelBisection ?

tags: added: regression-release
tags: added: needs-bisect
Revision history for this message
khink (kees-fmf) wrote :

After uninstalling the nvidia drivers, my system was borked: Unity wouldn't start (complained about not being able to find a valid screen layout). After some messing with that, couldn't log in (screen freezes after supplying credentials). This has unfortunately taken some time to fix.

I'm currently on 3.13.0-34-generic, and suspend seems to work, miraculously. It didn't come back up, however.

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