[arch-general] Resume from suspend in RAM fails
Hello, Resume from suspend in RAM fails even though I have followed the Arch Wiki recommendations, with latest 3.12.7 kernel (and before). The 'resume' hook has been added for mkinitcpio and the machine goes to suspend from the command line (pm-suspend) with no GUI enabled. All keyboard and mouse lights are off and the screen is just black with no backlight. I can't even login through SSH and can't get any PM debug info. It happens on one particular machine only and I'm quite stuck with it. Any suggestions to solve this ? I can provide other relevent information if required. Thanks.
I can't give you any concrete advice yet, but what's the difference between the problematic system and the others (architecture, GUI/Desktop Environment, login manager etc)? On Thu, Jan 16, 2014 at 12:43 AM, <nmset@netcourrier.com> wrote:
Hello,
Resume from suspend in RAM fails even though I have followed the Arch Wiki recommendations, with latest 3.12.7 kernel (and before). The 'resume' hook has been added for mkinitcpio and the machine goes to suspend from the command line (pm-suspend) with no GUI enabled.
All keyboard and mouse lights are off and the screen is just black with no backlight. I can't even login through SSH and can't get any PM debug info.
It happens on one particular machine only and I'm quite stuck with it.
Any suggestions to solve this ? I can provide other relevent information if required.
Thanks.
Wait, on second thought... pm-utils? The wiki [1] suggests s2ram should work out of the box, and I think it has for me the last few times I've wanted to set it up. By default it's handled by systemd these days. Try executing $ systemctl start suspend.target And see if that gives you any better luck. [1]: https://wiki.archlinux.org/index.php/Suspend_and_Hibernate#Suspend_to_RAM On Thu, Jan 16, 2014 at 12:58 AM, Emil Lundberg <lundberg.emil@gmail.com> wrote:
I can't give you any concrete advice yet, but what's the difference between the problematic system and the others (architecture, GUI/Desktop Environment, login manager etc)?
On Thu, Jan 16, 2014 at 12:43 AM, <nmset@netcourrier.com> wrote:
Hello,
Resume from suspend in RAM fails even though I have followed the Arch Wiki recommendations, with latest 3.12.7 kernel (and before). The 'resume' hook has been added for mkinitcpio and the machine goes to suspend from the command line (pm-suspend) with no GUI enabled.
All keyboard and mouse lights are off and the screen is just black with no backlight. I can't even login through SSH and can't get any PM debug info.
It happens on one particular machine only and I'm quite stuck with it.
Any suggestions to solve this ? I can provide other relevent information if required.
Thanks.
Le jeudi 16 janvier 2014 01:03:27 Emil Lundberg a écrit :
$ systemctl start suspend.target
And see if that gives you any better luck.
Unfortunately, no better luck.
On Wed, Jan 15 2014, nmset@netcourrier.com wrote:
In any case, without any GUI up, it still does not resume properly.
I must say that on the problematic machine, suspend-resume works well with kernel 3.8.7, a custom build (not really knowledgeably), with which I'm stuck since long.
00:12.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller
Hi, Perhaps this patch solves the problem: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=c1... -- Peter
Le jeudi 16 janvier 2014 00:58:31 Emil Lundberg a écrit :
what's the difference between the problematic system and the others (architecture, GUI/Desktop Environment, login manager etc)?
Both use KDE, kdm as login manager fglrx from AMD website. On the failing machine, I tried fglrx from the AUR with same results. The radeon driver fails to load because of lack of UMS support in the kernel. In any case, without any GUI up, it still does not resume properly. Detailed hardware differences are below, sorry if too verbose. I must say that on the problematic machine, suspend-resume works well with kernel 3.8.7, a custom build (not really knowledgeably), with which I'm stuck since long. I have not yet tested linux-lts as the wiki suggests, will do so ASAP. Thanks for considering. ******************************************************************************** Machine 1 : resume succeeds $ uname -a Linux machine1 3.11.6-1-ARCH #1 SMP PREEMPT Fri Oct 18 23:22:36 CEST 2013 x86_64 GNU/Linux $ lspci 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] RS780 Host Bridge 00:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780 PCI to PCI bridge (ext gfx port 0) 00:0a.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 5) 00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode] 00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller 00:12.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller 00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller 00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller 00:13.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller 00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller 00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller (rev 3a) 00:14.1 IDE interface: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 IDE Controller 00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA) 00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller 00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge 00:14.5 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI2 Controller 00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration 00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] K8 [Athlon64/Opteron] Address Map 00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] K8 [Athlon64/Opteron] DRAM Controller 00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] K8 [Athlon64/Opteron] Miscellaneous Control 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Redwood XT [Radeon HD 5670/5690/5730] 01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Redwood HDMI Audio [Radeon HD 5000 Series] 02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 02) 03:0e.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link) ******************************************************************************** Machine 2 : resume fails ******************************************************************************** $ uname -a Linux machine2 #6 SMP PREEMPT Tue Apr 16 15:54:45 CEST 2013 x86_64 GNU/Linux $ lspci 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD/ATI] RD780 Host Bridge 00:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RX780/RD790 PCI to PCI bridge (external gfx0 port A) 00:05.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RX780/RD790 PCI to PCI bridge (PCI express gpp port B) 00:06.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RD790 PCI to PCI bridge (PCI express gpp port C) 00:07.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RX780/RD790 PCI to PCI bridge (PCI express gpp port D) 00:09.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RD790 PCI to PCI bridge (PCI express gpp port E) 00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode] 00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller 00:12.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller 00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller 00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller 00:13.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller 00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller 00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller (rev 3c) 00:14.1 IDE interface: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 IDE Controller 00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA) 00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller 00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge 00:14.5 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI2 Controller 00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor HyperTransport Configuration 00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Address Map 00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor DRAM Controller 00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Miscellaneous Control 00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Link Control 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Barts XT [Radeon HD 6870] 01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Barts HDMI Audio [Radeon HD 6800 Series] 02:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 03) 03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 03) 04:00.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6315 Series Firewire Controller 05:00.0 IDE interface: Marvell Technology Group Ltd. 88SE6121 SATA II / PATA Controller (rev b2) 06:06.0 Network controller: Ralink corp. RT2500 Wireless 802.11bg (rev 01) ********************************************************************************
On Wed, Jan 15, 2014 at 7:43 AM, <nmset@netcourrier.com> wrote:
Hello,
Resume from suspend in RAM fails even though I have followed the Arch Wiki recommendations, with latest 3.12.7 kernel (and before). The 'resume' hook has been added for mkinitcpio and the machine goes to suspend from the command line (pm-suspend) with no GUI enabled.
All keyboard and mouse lights are off and the screen is just black with no backlight. I can't even login through SSH and can't get any PM debug info.
It happens on one particular machine only and I'm quite stuck with it.
Any suggestions to solve this ? I can provide other relevent information if required.
I'm pretty sure the "resume" hook is only for resuming from suspend-to-disk. I had this same problem on a Thinkpad X220 and it turned out to be an excessively full EFI: https://wiki.archlinux.org/index.php/Lenovo_ThinkPad_X220 maybe something similar for you?
participants (4)
-
Emil Lundberg
-
nmset@netcourrier.com
-
Peter Münster
-
Sean Lynch