3

I have some troubles with putting my PC in suspend mode.

1. I can't put it to sleep completely

It suspends current session and goes to the log-in screen, it makes all the screens black, but it doesn't actually power down PC nor displays.

2. No network after wake up

After waking up from suspend the network connection is gone, and I can't re-enable it, so I have to reboot my machine. When I do ifconfig I can see that all interfaces are gone. Only lo is present.

3. Wake up delay

When it wakes up, it shows me a desktop background without any windows or icons. No keyboard or mouse interactions seems to work. After some time (couple of minutes), everything appears back and seems to work fine apart from issues stated above. I think it is somehow related to running VirtualBox virtual machines (via Vagrant). When I have no virtual machines running - I'm not experiencing this issue. Also, if I have a running machine I can't shutdown my PC completely. It just hangs in there trying to shutdown until I press a power button on it's chasis.


UPDATE #1:

I've generated log-files requested by @Xubu-Tur.

Here's the list of performed actions:

  • Logs cleared
  • System shutdown
  • System boot
  • Log in
  • Suspend
  • Wakeup
  • Log in
  • (no network, no delay)
  • System reboot
  • System boot
  • Log in
  • Vagrant up (virtual machine booted)
  • Suspend
  • Wakeup
  • (no network, no delay)
  • Logs saved

Here's the actual logs: https://gist.github.com/slavafomin/247b77c5886f2009e56b

I have not encountered third issue this time. Don't know why though.

Please advise.


UPDATE #2:

I've updated my Linux Kernel to the latest version:

$ uname -r
3.13.0-24-generic

Thank you for suggestion! But I still have the same issues (#1 & #2).


I'm using latest Xubuntu 14.04 on ASUS P8P67 EVO REV 3.0 desktop computer.

By the way, when running Windows 8.1 on the same machine (dualboot) I'm not experiencing any of this issues.

I will be glad to update my question with some diagnostic info on request. Thank you!

1 Answers1

2

At the moment I can't find any relevant errors comparing the dmesg after sudo pm-suspend and dmesg after gui suspend. The gui suspend log suddenly breaks before:

PM: Syncing filesystems ... done.
PM: Preparing system for mem sleep
Freezing user space processes ... (elapsed 0.001 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
PM: Entering mem sleep

Perhaps its a permission problem but i don't know enough about the difference between pm-suspend and gui suspend.



Here are a workaround for the problem:

Create a laucher on the desktop with sudo pm-suspend as command:

enter image description here

If you want to run this with password, tick "Run in terminal", else to get it run without entering a password follow this:

Open a terminal and run sudo visudo then go to the end of the file and append this:

username hostname = (root) NOPASSWD: /usr/sbin/pm-suspend

( More info How do I run specific sudo commands without a password? )

enter image description here

Replace username with your username and hostname with your host (run hostname in a terminal to get it)

Press CTRL+X to exit and save the file. Then the desktop laucher for suspend should be run without need for a password.



Other suggestion:

Start from a new Xubuntu 14.04 DVD or USB run "Try Ubuntu" and then try to suspend with gui. If there is is no problem, probably it should be the best to reinstall Xubuntu.

A workaround for your apportcheckresume problem could be http://ubuntuforums.org/showthread.php?t=2053494&p=12219467#post12219467 (but this only deactivate the messages)

TuKsn
  • 4,440