You are not logged in.

#1 2012-06-23 21:39:03

Los Frijoles
Member
Registered: 2012-06-23
Posts: 40

Suspend + Resume crashes

I moved from Ubuntu to Arch today on my main computer in an effort to curb a problem I have been having:

On Ubuntu, every once in a while when I would suspend + resume, the computer would freeze upon resume. Now, with Arch it has yet to suspend and not crash on resume. This leads me to believe it is a hardware problem relating to the newer kernel (it didn't happen on Ubuntu 11.10 which had an older kernel).

Here is my lspci:
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1c.2 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 3 (rev b5)
00:1c.4 PCI bridge: Intel Corporation 82801 PCI Bridge (rev b5)
00:1c.5 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 (rev b5)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation Z68 Express Chipset Family LPC Controller (rev 05)
00:1f.2 IDE interface: Intel Corporation 6 Series/C200 Series Chipset Family 4 port SATA IDE Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
00:1f.5 IDE interface: Intel Corporation 6 Series/C200 Series Chipset Family 2 port SATA IDE Controller (rev 05)
02:00.0 USB controller: Etron Technology, Inc. EJ168 USB 3.0 Host Controller (rev 01)
03:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge (rev 01)
04:00.0 Network controller: Ralink corp. RT2800 802.11n PCI
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)

Here is my pm-suspend.log: http://pastebin.com/W1Hv0xm8
And the everything log from starting to suspend to right before I had to reboot (it got to the gnome desktop, but only displayed the clock and the desktop background, nothing else. Also, the keyboard was unresponsive (numlock didn't flash light, ctrl-alt-f1 didn't drop me to a tty): http://pastebin.com/WXjDPQW9

My processor is a Core i5-2500K and my Mobo is an ASRock Z68 Pro3-M.

I really like Arch compared to Ubuntu if only for the download speeds from the repositories (and overall faster boot/shutdown times) and I really would like to not have to switch back. Can anyone help?

Offline

#2 2012-06-23 23:47:46

clappboard
Member
Registered: 2011-11-26
Posts: 39

Re: Suspend + Resume crashes

I had the same issue months ago, but it fixed itself with a system update.  Check this thread, which appears to have the same issue.  Are you suspending from GNOME?  If you are, please shutdown, then power on again without starting an X-server, and suspend from a TTY by running

# pm-suspend

then report back.
My problem was different based on whether I was suspending from a desktop environment...

Last edited by clappboard (2012-06-23 23:48:16)


I also go by 'clappy.'

Offline

#3 2012-06-24 05:32:10

Los Frijoles
Member
Registered: 2012-06-23
Posts: 40

Re: Suspend + Resume crashes

Turning off all the desktop environments, rebooting, suspending, and then resuming worked properly. Do you know what the issue was exactly before the update fixed it? Or is there a workaround I could do?

The other topic detailed a similar issue (and it looks like the same processor family...maybe it's a Sandy Bridge thing?).

EDIT: It occured to me, having resumed several times onto the "locked" screen, that the computer might not actually be locked up but rather just isn't accepting input from my keyboard and mouse? The mouse is bluetooth so I'll forgive it, but the keyboard is wired.

EDIT 2: It actually is freezing: After booting into gdm and such and then dropping back into a tty to do pm-suspend and then resuming, the cursor stopped blinking right after the resume process (seemed to have) stopped. I used a live usb to copy the logs so they wouldn't get overwritten, but I can't find any error messages around the time of resume.

Last edited by Los Frijoles (2012-06-24 06:34:37)

Offline

#4 2012-06-24 13:42:06

clappboard
Member
Registered: 2011-11-26
Posts: 39

Re: Suspend + Resume crashes

I think it might be your display manager.  Could you please try cold booting it again, but this time use

startx

or

xinit

from a TTY console to start your desktop environment?  After that I want you to try suspending then resuming.  If it works fine, please run the command

dmesg | grep PM

and post back here with the output.  Then (still only if it works) reboot to the GDM login screen and, without logging into GNOME, switch to a TTY console and try suspending and resuming there via pm.

Sorry, I know that's a lot to do...  If there's anything you need me to explain again just let me know smile


I also go by 'clappy.'

Offline

#5 2012-06-24 15:03:56

Los Frijoles
Member
Registered: 2012-06-23
Posts: 40

Re: Suspend + Resume crashes

It didn't resume after using startx either.

I assume its some problem with X? Whenever going into runlevel 5 it seems like a point of no return for making suspend work. Since it failed even when gdm wasn't started I guess that means the problem is at a lower level than gnome.

Another odd thing: I noticed very once in a while that when resuming it almost seems like my motherboard is hanging because none of the USB devices get power. This doesn't happen every time, but only once in a while. Also, the DVI output on the motherboard also sometimes doesn't give me output. I'm going to attempt once more to update my bios (I can't ever seem to get it to see the BIOS update file on my flash drive per these instructions.

EDIT: It successfully resumed after the BIOS upgrade! I went from v. 1.50 to 2.20 (there were many revisions between, but I hadn't kept myself up to date).

Last edited by Los Frijoles (2012-06-24 15:32:10)

Offline

#6 2012-07-25 01:55:55

remingtontonpon
Member
Registered: 2011-09-16
Posts: 24

Re: Suspend + Resume crashes

Upgrading BIOS solved the same problem for me too big_smile
Thanks!


I am sorry if my English is hard to understand. Please ask if you would like me to explain something again.

Offline

#7 2017-04-29 15:32:45

adelq
Member
Registered: 2016-09-09
Posts: 4

Re: Suspend + Resume crashes

I hate reviving old threads, but just want to confirm I had this exact same issue: Asrock Z68 motherboard, dealt with no resume on suspend for years, and finally come across this thread, and updating the BIOS works!

Offline

#8 2017-04-29 15:43:14

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

Re: Suspend + Resume crashes

I am glad the BIOS upgrade worked for you.  As you note, this is an old thread, so I shall use this opportunity to wrap it up.

Closing.


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

Board footer

Powered by FluxBB