You are not logged in.

#1 2013-11-04 21:14:18

rabipelais
Member
Registered: 2013-10-28
Posts: 5

How do I debug waking up from suspend?

Hello people,

recently, when I wake up my desktop from suspend, it hangs on a black screen with "decompressing Linux. Booting kernel" and a blinking cursor, but I can't type anything. The numlock key does toggle the little light on my keyboard. I have to power off my computer to be able to use it again.

This problem occurs 100% of the time, both with systemctl suspend and sudo pm-suspend, grub and burg, stock kernel and linux-pf kernel, and using either cinnamon or xmonad.

How can I debug this issue, or which logs can I read to narrow down the problem?

Thanks in advance.

Offline

#2 2013-11-04 21:21:47

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: How do I debug waking up from suspend?

With systemd, logs have been centralized. Look into using the journal (via journalctl) and you can see everythign all in one place.  Just beware that a regular user does not have access to the system journal unless they are a member of the systemd-journal group.  So either add yourself to that group, or run as root.

Offline

#3 2013-11-05 00:44:52

rabipelais
Member
Registered: 2013-10-28
Posts: 5

Re: How do I debug waking up from suspend?

Hi, thanks for the answer. I could run journalctl, but what am I exactly looking for? Here is my output of journalctl -r, after booting, suspending, waking up, failing, and then rebooting:

Nov 05 02:39:17 localhost systemd[373]: Startup finished in 85ms.
Nov 05 02:39:17 localhost systemd[373]: Reached target Default.
Nov 05 02:39:17 localhost systemd[373]: Starting Default.
Nov 05 02:39:17 localhost systemd[373]: Stopped target Sound Card.
Nov 05 02:39:17 localhost systemd[373]: Mounted /sys/fs/fuse/connections.
Nov 05 02:39:17 localhost systemd[373]: Mounted /sys/kernel/config.
Nov 05 02:39:17 localhost systemd[373]: Failed to open private bus connection: Failed to connect to socket /run/user/1000/dbus/user_bus_socket: No such file or directory
-- Reboot --
Nov 05 02:37:13 localhost.localdomain systemd[376]: Time has been changed
Nov 05 02:34:20 localhost systemd[376]: Startup finished in 118ms.
Nov 05 02:34:20 localhost systemd[376]: Reached target Default.
Nov 05 02:34:20 localhost systemd[376]: Starting Default.
Nov 05 02:34:20 localhost systemd[376]: Stopped target Sound Card.
Nov 05 02:34:20 localhost systemd[376]: Mounted /sys/fs/fuse/connections.
Nov 05 02:34:20 localhost systemd[376]: Mounted /sys/kernel/config.

Offline

#4 2013-11-05 00:47:50

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: How do I debug waking up from suspend?

You didn't read past the first two sentences of my post, did you?

Offline

#5 2013-11-05 01:05:46

rabipelais
Member
Registered: 2013-10-28
Posts: 5

Re: How do I debug waking up from suspend?

Oh, sorry, I didn't realize that was not all of the journal output, so I thought I was in the group. I ran it as root, and a lot more came out, but I still don't see what went wrong. Sorry, I am kind of new at this sad
I think this is the relevant part, from when I suspended it, until I rebooted (in reverse order): pastebin

Offline

#6 2013-11-05 02:34:35

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: How do I debug waking up from suspend?

What happens if you  hit Ctrl-Alt-F2  ??  It may take you to a different console from which you can log in.  OTOH, It may not.  But, if my hunch is correct, you are having problems with your graphical environment.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#7 2013-11-05 03:18:15

rabipelais
Member
Registered: 2013-10-28
Posts: 5

Re: How do I debug waking up from suspend?

You mean at the black screen? No, I already tried that, and nothing happens, alt+ctrl+F1 through F7. Ican ttoggle the num lock light on the keyboard, though.

Offline

Board footer

Powered by FluxBB