System failed to suspend properly or resume

Bug #1621899 reported by Jamie Strandboge
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

I noticed this system failed to suspend properly and failed to resume. Closed the lid, the fans kept going. Opened the lid and lights were flashing indicating an error and had to hard reset. It had the following in the logs:

Sep 9 07:43:19 ginny gnome-session[6351]: Traceback (most recent call last):
Sep 9 07:43:19 ginny gnome-session[6351]: File "/usr/lib/python3/dist-packages/dbus/connection.py", line 230, in maybe_handle_message
Sep 9 07:43:19 ginny gnome-session[6351]: self._handler(*args, **kwargs)
Sep 9 07:43:19 ginny gnome-session[6351]: File "/usr/lib/python3/dist-packages/UpdateManager/Core/AlertWatcher.py", line 78, in _on_network_state_changed
Sep 9 07:43:19 ginny gnome-session[6351]: self._update_3g_state()
Sep 9 07:43:19 ginny gnome-session[6351]: File "/usr/lib/python3/dist-packages/UpdateManager/Core/AlertWatcher.py", line 83, in _update_3g_state
Sep 9 07:43:19 ginny gnome-session[6351]: on_3g = nm.is_active_connection_gsm_or_cdma()
Sep 9 07:43:19 ginny gnome-session[6351]: File "/usr/lib/python3/dist-packages/UpdateManager/Core/roam.py", line 172, in is_active_connection_gsm_or_cdma
Sep 9 07:43:19 ginny gnome-session[6351]: active, self.NM_DBUS_IFACE + ".Connection.Active", 'Default')
Sep 9 07:43:19 ginny gnome-session[6351]: File "/usr/lib/python3/dist-packages/UpdateManager/Core/roam.py", line 162, in get_dbus_property
Sep 9 07:43:19 ginny gnome-session[6351]: property = props.Get(interface, property)
Sep 9 07:43:19 ginny gnome-session[6351]: File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 70, in __call__
Sep 9 07:43:19 ginny gnome-session[6351]: return self._proxy_method(*args, **keywords)
Sep 9 07:43:19 ginny gnome-session[6351]: File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 145, in __call__
Sep 9 07:43:19 ginny gnome-session[6351]: **keywords)
Sep 9 07:43:19 ginny gnome-session[6351]: File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
Sep 9 07:43:19 ginny gnome-session[6351]: message, timeout)
Sep 9 07:43:19 ginny gnome-session[6351]: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.UnknownMethod: No such interface 'org.freedesktop.DBus.Properties' on object at path /org/freedesktop/NetworkManager/ActiveConnection/1
Sep 9 07:43:28 ginny systemd-sleep[18074]: Selected interface 'wlan0'
Sep 9 07:43:28 ginny systemd-sleep[18074]: 'SUSPEND' command timed out.
Sep 9 07:43:28 ginny systemd-sleep[18076]: /lib/systemd/system-sleep/wpasupplicant failed with error code 254.
Sep 9 07:43:28 ginny systemd-sleep[18074]: Suspending system...

This may be a dupe of https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1543788

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-4.4.0-36-generic 4.4.0-36.55
ProcVersionSignature: Ubuntu 4.4.0-36.55-generic 4.4.16
Uname: Linux 4.4.0-36-generic i686
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: i386
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/dsp', '/dev/snd/by-path', '/dev/snd/hwC0D1', '/dev/snd/pcmC0D0c', '/dev/snd/pcmC0D0p', '/dev/snd/controlC0', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
Date: Fri Sep 9 09:45:34 2016
HibernationDevice: RESUME=UUID=400a17a1-efbe-472a-843d-52020a511b39
InstallationDate: Installed on 2011-01-05 (2073 days ago)
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
MachineType: LENOVO 0877
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-36-generic root=UUID=ee0834ed-203e-41cc-9b74-b509a3dc8970 ro quiet splash
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-36-generic N/A
 linux-backports-modules-4.4.0-36-generic N/A
 linux-firmware 1.157.3
SourcePackage: linux
UpgradeStatus: Upgraded to xenial on 2016-04-07 (155 days ago)
dmi.bios.date: 11/19/2010
dmi.bios.vendor: LENOVO
dmi.bios.version: 31CN28WW(V1.09)
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: Base Board Product Name
dmi.board.vendor: LENOVO
dmi.board.version: Base Board Version
dmi.chassis.asset.tag: Chassis Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: Chassis Manufacturer
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnLENOVO:bvr31CN28WW(V1.09):bd11/19/2010:svnLENOVO:pn0877:pvrIdeaPadU460:rvnLENOVO:rnBaseBoardProductName:rvrBaseBoardVersion:cvnChassisManufacturer:ct10:cvrChassisVersion:
dmi.product.name: 0877
dmi.product.version: IdeaPad U460
dmi.sys.vendor: LENOVO
---
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: tish 3973 F.... pulseaudio
CurrentDesktop: Unity
DistroRelease: Ubuntu 16.04
EcryptfsInUse: Yes
HibernationDevice: RESUME=UUID=400a17a1-efbe-472a-843d-52020a511b39
InstallationDate: Installed on 2011-01-05 (2073 days ago)
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
MachineType: LENOVO 0877
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-36-generic root=UUID=ee0834ed-203e-41cc-9b74-b509a3dc8970 ro quiet splash
ProcVersionSignature: Ubuntu 4.4.0-36.55-generic 4.4.16
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-36-generic N/A
 linux-backports-modules-4.4.0-36-generic N/A
 linux-firmware 1.157.3
Tags: xenial
Uname: Linux 4.4.0-36-generic i686
UpgradeStatus: Upgraded to xenial on 2016-04-07 (155 days ago)
UserGroups: adm admin bumblebee cdrom dialout libvirtd lpadmin plugdev sambashare
_MarkForUpload: True
dmi.bios.date: 11/19/2010
dmi.bios.vendor: LENOVO
dmi.bios.version: 31CN28WW(V1.09)
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: Base Board Product Name
dmi.board.vendor: LENOVO
dmi.board.version: Base Board Version
dmi.chassis.asset.tag: Chassis Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: Chassis Manufacturer
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnLENOVO:bvr31CN28WW(V1.09):bd11/19/2010:svnLENOVO:pn0877:pvrIdeaPadU460:rvnLENOVO:rnBaseBoardProductName:rvrBaseBoardVersion:cvnChassisManufacturer:ct10:cvrChassisVersion:
dmi.product.name: 0877
dmi.product.version: IdeaPad U460
dmi.sys.vendor: LENOVO

Revision history for this message
Jamie Strandboge (jdstrand) wrote :
summary: - System failed to resume from suspend
+ System failed to suspend properly or resume
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
Jamie Strandboge (jdstrand) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Jamie Strandboge (jdstrand) wrote : CRDA.txt

apport information

Revision history for this message
Jamie Strandboge (jdstrand) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Jamie Strandboge (jdstrand) wrote : IwConfig.txt

apport information

Revision history for this message
Jamie Strandboge (jdstrand) wrote : JournalErrors.txt

apport information

Revision history for this message
Jamie Strandboge (jdstrand) wrote : Lspci.txt

apport information

Revision history for this message
Jamie Strandboge (jdstrand) wrote : Lsusb.txt

apport information

Revision history for this message
Jamie Strandboge (jdstrand) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Jamie Strandboge (jdstrand) wrote : ProcEnviron.txt

apport information

Revision history for this message
Jamie Strandboge (jdstrand) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Jamie Strandboge (jdstrand) wrote : ProcModules.txt

apport information

Revision history for this message
Jamie Strandboge (jdstrand) wrote : PulseList.txt

apport information

Revision history for this message
Jamie Strandboge (jdstrand) wrote : RfKill.txt

apport information

Revision history for this message
Jamie Strandboge (jdstrand) wrote : UdevDb.txt

apport information

Revision history for this message
Jamie Strandboge (jdstrand) wrote : WifiSyslog.txt

apport information

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

I found that the system sometimes suspends and resumes, seemingly ok, but then there is a kernel trace when I try to reboot that halts the reboot and need to hard reset on reboot. The trace is not logged.

With the kernel from xenial-updates (4.4.0.36) I found a reliable reproducer:

1. boot
2. login fully
3. close lid and wait a few seconds
4. open lid (system usually comes up)
5. login
6. reboot and get a trace

The trace was different each time though.... I now am running 4.4.0.38.40 from xenial-proposed and the above reproducer did not work and the system suspended and resumed ok, but there were still these errors from the journal log:

Sep 09 10:09:29 hostname kernel: hdaudio hdaudioC1D3: parent 0000:01:00.1 should not be sleeping
Sep 09 10:09:29 hostname kernel: snd_hda_codec_hdmi hdaudioC1D3: HDMI: failed to get afg sub nodes
Sep 09 10:09:29 hostname kernel: snd_hda_codec_hdmi: probe of hdaudioC1D3 failed with error -22
Sep 09 10:09:29 hostname kernel: snd_hda_codec_hdmi hdaudioC1D3: HDMI: failed to get afg sub nodes
Sep 09 10:09:29 hostname kernel: snd_hda_codec_hdmi: probe of hdaudioC1D3 failed with error -22
Sep 09 10:09:29 hostname kernel: snd_hda_codec_hdmi hdaudioC1D3: HDMI: failed to get afg sub nodes
Sep 09 10:09:29 hostname kernel: snd_hda_codec_hdmi: probe of hdaudioC1D3 failed with error -22
Sep 09 10:09:29 hostname kernel: snd_hda_codec_generic: probe of hdaudioC1D3 failed with error -5
Sep 09 10:09:29 hostname kernel: hdaudio hdaudioC1D3: Unable to bind the codec

Also, oddly, after resume from suspend network-indicator doesn't show the system as connected to wifi, but it is. It will show it on reboot.

I'm not sure if the snd_hda_codec or network-indicator issues are related or not.

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

Have you had any additional suspend/resume issues since installing xenial -proposed?

Changed in linux (Ubuntu):
importance: Undecided → Medium
tags: added: kernel-da-key
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.