Computer sometimes wakes up immediately after suspend

Bug #1167417 reported by Gorka Navarrete
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-power-manager (Ubuntu)
New
Undecided
Unassigned

Bug Description

My laptop generally suspends without problems but sometimes wakes up immediately after suspend.

When it fails, you can see the screen going dark as if it were suspending and an instant after the computer wakes up (screen unlocked).

This is with a Lenovo Y500 in a recently upgraded 13.04 (from 12.10, where this problem also occurred).

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: gnome-power-manager 3.6.0-1ubuntu1
ProcVersionSignature: Ubuntu 3.8.0-17.27-generic 3.8.6
Uname: Linux 3.8.0-17-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.9.2-0ubuntu5
Architecture: amd64
Date: Wed Apr 10 11:28:41 2013
InstallationDate: Installed on 2013-02-13 (56 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
MarkForUpload: True
SourcePackage: gnome-power-manager
UpgradeStatus: Upgraded to raring on 2013-04-09 (0 days ago)

Revision history for this message
Gorka Navarrete (emrys) wrote :
Revision history for this message
Gorka Navarrete (emrys) wrote :
Download full text (7.6 KiB)

I am attaching inline the log section for a failed suspend try.

In brief, when I try to suspend, the computer goes down and then immediately up.

A device (eth2?) seems to be failing to suspend.

Not sure if this is related to some problems this model (Lenovo Y500) has with the wired connection not working.

Any help would be greatly appreciated.

********* SMALL LOG ***********

Apr 25 09:55:15 GLenovo kernel: [ 4418.449871] alx 0000:02:00.0: PHY SPD/DPLX unresolved :ffff
Apr 25 09:55:15 GLenovo kernel: [ 4418.449873] alx 0000:02:00.0 eth2: shutown err(ffffffea)
Apr 25 09:55:15 GLenovo kernel: [ 4418.449874] alx 0000:02:00.0: shutdown fail in suspend -5
Apr 25 09:55:15 GLenovo kernel: [ 4418.449887] pci_pm_suspend(): alx_suspend+0x0/0x90 [alx] returns -5
Apr 25 09:55:15 GLenovo kernel: [ 4418.449890] dpm_run_callback(): pci_pm_suspend+0x0/0x140 returns -5
Apr 25 09:55:15 GLenovo kernel: [ 4418.449892] PM: Device 0000:02:00.0 failed to suspend async: error -5
Apr 25 09:55:15 GLenovo kernel: [ 4418.976403] PM: Some devices failed to suspend

***********************************

********** LONG LOG ************

GLenovo NetworkManager[1255]: <info> sleep requested (sleeping: no enabled: yes)
Apr 25 09:55:11 GLenovo NetworkManager[1255]: <info> sleeping or disabling...
Apr 25 09:55:11 GLenovo NetworkManager[1255]: <info> (eth2): device state change: unavailable -> unmanaged (reason 'sleeping') [20 10 37]
Apr 25 09:55:11 GLenovo NetworkManager[1255]: <info> (wlan2): device state change: activated -> unmanaged (reason 'sleeping') [100 10 37]
Apr 25 09:55:11 GLenovo NetworkManager[1255]: <info> (wlan2): deactivating device (reason 'sleeping') [37]
Apr 25 09:55:11 GLenovo NetworkManager[1255]: <info> (wlan2): canceled DHCP transaction, DHCP client pid 4492
Apr 25 09:55:11 GLenovo avahi-daemon[1199]: Withdrawing address record for fe80::6236:ddff:fe54:6f5f on wlan2.
Apr 25 09:55:11 GLenovo kernel: [ 4415.830505] wlan2: deauthenticating from 90:27:e4:5e:94:e5 by local choice (reason=3)
Apr 25 09:55:11 GLenovo avahi-daemon[1199]: Leaving mDNS multicast group on interface wlan2.IPv6 with address fe80::6236:ddff:fe54:6f5f.
Apr 25 09:55:11 GLenovo avahi-daemon[1199]: Interface wlan2.IPv6 no longer relevant for mDNS.
Apr 25 09:55:11 GLenovo wpa_supplicant[1453]: wlan2: CTRL-EVENT-DISCONNECTED bssid=00:00:00:00:00:00 reason=3
Apr 25 09:55:11 GLenovo avahi-daemon[1199]: Withdrawing address record for 10.0.1.168 on wlan2.
Apr 25 09:55:11 GLenovo avahi-daemon[1199]: Leaving mDNS multicast group on interface wlan2.IPv4 with address 10.0.1.168.
Apr 25 09:55:11 GLenovo avahi-daemon[1199]: Interface wlan2.IPv4 no longer relevant for mDNS.
Apr 25 09:55:11 GLenovo NetworkManager[1255]: <warn> DNS: plugin dnsmasq update failed
Apr 25 09:55:11 GLenovo NetworkManager[1255]: <info> Removing DNS information from /sbin/resolvconf
Apr 25 09:55:11 GLenovo dnsmasq[4503]: setting upstream servers from DBus
Apr 25 09:55:11 GLenovo kernel: [ 4415.916884] cfg80211: Calling CRDA to update world regulatory domain
Apr 25 09:55:11 GLenovo kernel: [ 4415.919460] cfg80211: World regulatory domain updated:
Apr 25 09:55:11 GLenovo kernel: [ 4415.919462] cfg80211: (start_freq...

Read more...

Revision history for this message
Gorka Navarrete (emrys) wrote :

Installing the drivers for the Ethernet controller: Qualcomm Atheros AR8161 Gigabit Ethernet solved the issue.

You can check the answer here: http://askubuntu.com/questions/249483/how-do-i-install-drivers-for-the-atheros-ar8161-ethernet-controller-update/285393#285393

OR do the following:

Download and extract https://www.kernel.org/pub/linux/kernel/projects/backports/2013/03/04/compat-drivers-2013-03-04-u.tar.bz2
cd compat-drivers-2013-03-04-u/
./scripts/driver-select alx
make
sudo make install
sudo modprobe alx #Loads the module (or restart)

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.