You are not logged in.

#1 2013-10-09 19:51:52

null
Member
Registered: 2009-05-06
Posts: 398

Random wakeup from suspend

Hi,

I'm using systemd to suspend my desktop pc. Since I updated on the 5th this month (i.a. systemd and new kernel) my pc wakes up from suspend at random (but if it does usually a short time after suspension).

journalctl:

Oct 09 20:42:14 arch systemd[1]: Starting Sleep.
Oct 09 20:42:14 arch systemd[1]: Reached target Sleep.
Oct 09 20:42:14 arch systemd[1]: Starting Suspend...
Oct 09 20:42:14 arch systemd-sleep[5924]: Suspending system...
Oct 09 20:42:14 arch kernel: PM: Syncing filesystems ... done.
Oct 09 20:42:14 arch kernel: PM: Preparing system for mem sleep
Oct 09 20:42:24 arch kernel: Freezing user space processes ... (elapsed 0.001 seconds) done.
Oct 09 20:42:24 arch kernel: Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
Oct 09 20:42:24 arch rtkit-daemon[336]: The canary thread is apparently starving. Taking action.
Oct 09 20:42:24 arch rtkit-daemon[336]: Demoting known real-time threads.
Oct 09 20:42:24 arch rtkit-daemon[336]: Successfully demoted thread 335 of process 335 (/usr/bin/pulseaudio).
Oct 09 20:42:24 arch rtkit-daemon[336]: Demoted 1 threads.
Oct 09 20:42:24 arch kernel: PM: Entering mem sleep
Oct 09 20:42:24 arch systemd[231]: Time has been changed
Oct 09 20:42:24 arch kernel: Suspending console(s) (use no_console_suspend to debug)
Oct 09 20:42:24 arch kernel: sd 0:0:0:0: [sda] Synchronizing SCSI cache
Oct 09 20:42:24 arch kernel: i8042 kbd 00:08: System wakeup enabled by ACPI
Oct 09 20:42:24 arch kernel: serial 00:07: disabled
Oct 09 20:42:24 arch kernel: serial 00:07: System wakeup disabled by ACPI
Oct 09 20:42:24 arch kernel: sd 0:0:0:0: [sda] Stopping disk
Oct 09 20:42:24 arch kernel: PM: suspend of devices complete after 228.694 msecs
Oct 09 20:42:24 arch kernel: PM: late suspend of devices complete after 0.200 msecs
Oct 09 20:42:24 arch kernel: pcieport 0000:00:06.0: System wakeup enabled by ACPI
Oct 09 20:42:24 arch kernel: ohci-pci 0000:00:14.5: System wakeup enabled by ACPI
Oct 09 20:42:24 arch systemd[1]: Time has been changed
Oct 09 20:42:24 arch systemd-sleep[5924]: System resumed.
Oct 09 20:42:24 arch kernel: ehci-pci 0000:00:13.2: System wakeup enabled by ACPI
Oct 09 20:42:24 arch kernel: ohci-pci 0000:00:13.1: System wakeup enabled by ACPI
Oct 09 20:42:24 arch kernel: ohci-pci 0000:00:13.0: System wakeup enabled by ACPI
Oct 09 20:42:24 arch systemd[1]: Started Suspend.
Oct 09 20:42:24 arch systemd[1]: Requested transaction contradicts existing jobs: File exists
Oct 09 20:42:24 arch systemd[1]: Service sleep.target is not needed anymore. Stopping.
Oct 09 20:42:24 arch systemd[1]: Stopping Sleep.
Oct 09 20:42:24 arch systemd[1]: Stopped target Sleep.
Oct 09 20:42:24 arch systemd[1]: Reached target Suspend.
Oct 09 20:42:24 arch kernel: ehci-pci 0000:00:12.2: System wakeup enabled by ACPI
Oct 09 20:42:24 arch kernel: ohci-pci 0000:00:12.1: System wakeup enabled by ACPI
Oct 09 20:42:24 arch kernel: ohci-pci 0000:00:12.0: System wakeup enabled by ACPI
Oct 09 20:42:24 arch kernel: PM: noirq suspend of devices complete after 37.901 msecs
Oct 09 20:42:24 arch kernel: ACPI: Preparing to enter system sleep state S3
Oct 09 20:42:24 arch kernel: PM: Saving platform NVS memory
Oct 09 20:42:24 arch kernel: Disabling non-boot CPUs ...
Oct 09 20:42:24 arch kernel: smpboot: CPU 1 is now offline
Oct 09 20:42:24 arch kernel: smpboot: CPU 2 is now offline
Oct 09 20:42:24 arch kernel: smpboot: CPU 3 is now offline
Oct 09 20:42:24 arch kernel: ACPI: Low-level resume complete
Oct 09 20:42:24 arch kernel: PM: Restoring platform NVS memory
Oct 09 20:42:24 arch kernel: PCI-DMA: Resuming GART IOMMU
Oct 09 20:42:24 arch kernel: PCI-DMA: Restoring GART aperture settings
Oct 09 20:42:24 arch kernel: LVT offset 0 assigned for vector 0xf9
Oct 09 20:42:24 arch kernel: microcode: CPU0: new patch_level=0x010000c8
Oct 09 20:42:24 arch kernel: Enabling non-boot CPUs ...
Oct 09 20:42:24 arch kernel: smpboot: Booting Node 0 Processor 1 APIC 0x1
Oct 09 20:42:24 arch kernel: [Firmware Bug]: cpu 1, try to use APIC500 (LVT offset 0) for vector 0x400, but the register is already in use for vector 0xf9 on another cpu
Oct 09 20:42:24 arch kernel: perf: IBS APIC setup failed on cpu #1
Oct 09 20:42:24 arch kernel: microcode: CPU1: new patch_level=0x010000c8
Oct 09 20:42:24 arch kernel: CPU1 is up
Oct 09 20:42:24 arch kernel: smpboot: Booting Node 0 Processor 2 APIC 0x2
Oct 09 20:42:24 arch kernel: [Firmware Bug]: cpu 2, try to use APIC500 (LVT offset 0) for vector 0x400, but the register is already in use for vector 0xf9 on another cpu
Oct 09 20:42:24 arch kernel: perf: IBS APIC setup failed on cpu #2
Oct 09 20:42:24 arch kernel: microcode: CPU2: new patch_level=0x010000c8
Oct 09 20:42:24 arch kernel: CPU2 is up
Oct 09 20:42:24 arch kernel: smpboot: Booting Node 0 Processor 3 APIC 0x3
Oct 09 20:42:24 arch kernel: [Firmware Bug]: cpu 3, try to use APIC500 (LVT offset 0) for vector 0x400, but the register is already in use for vector 0xf9 on another cpu
Oct 09 20:42:24 arch kernel: perf: IBS APIC setup failed on cpu #3
Oct 09 20:42:24 arch kernel: microcode: CPU3: new patch_level=0x010000c8
Oct 09 20:42:24 arch kernel: CPU3 is up
Oct 09 20:42:24 arch kernel: ACPI: Waking up from system sleep state S3
Oct 09 20:42:24 arch kernel: ahci 0000:00:11.0: set SATA to AHCI mode
Oct 09 20:42:24 arch kernel: ohci-pci 0000:00:12.0: System wakeup disabled by ACPI
Oct 09 20:42:24 arch kernel: ohci-pci 0000:00:12.1: System wakeup disabled by ACPI
Oct 09 20:42:24 arch kernel: ehci-pci 0000:00:12.2: System wakeup disabled by ACPI
Oct 09 20:42:24 arch kernel: ohci-pci 0000:00:13.0: System wakeup disabled by ACPI
Oct 09 20:42:24 arch kernel: ohci-pci 0000:00:13.1: System wakeup disabled by ACPI
Oct 09 20:42:24 arch kernel: ehci-pci 0000:00:13.2: System wakeup disabled by ACPI
Oct 09 20:42:24 arch kernel: ohci-pci 0000:00:14.5: System wakeup disabled by ACPI
Oct 09 20:42:24 arch kernel: PM: noirq resume of devices complete after 93.326 msecs
Oct 09 20:42:24 arch kernel: PM: early resume of devices complete after 0.121 msecs
Oct 09 20:42:24 arch kernel: snd_hda_intel 0000:04:00.1: irq 46 for MSI/MSI-X
Oct 09 20:42:24 arch kernel: serial 00:07: activated
Oct 09 20:42:24 arch kernel: i8042 kbd 00:08: System wakeup disabled by ACPI
Oct 09 20:42:24 arch kernel: pcieport 0000:00:06.0: System wakeup disabled by ACPI
Oct 09 20:42:24 arch kernel: [drm] enabling PCIE gen 2 link speeds, disable with radeon.pcie_gen2=0
Oct 09 20:42:24 arch kernel: [drm] PCIE GART of 512M enabled (table at 0x0000000000273000).
Oct 09 20:42:24 arch kernel: radeon 0000:04:00.0: WB enabled
Oct 09 20:42:24 arch kernel: radeon 0000:04:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0xffff880418983c00
Oct 09 20:42:24 arch kernel: radeon 0000:04:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0xffff880418983c0c
Oct 09 20:42:24 arch kernel: radeon 0000:04:00.0: fence driver on ring 5 use gpu addr 0x0000000000072118 and cpu addr 0xffffc90011fb2118
Oct 09 20:42:24 arch kernel: [drm] ring test on 0 succeeded in 3 usecs
Oct 09 20:42:24 arch kernel: [drm] ring test on 3 succeeded in 1 usecs
Oct 09 20:42:24 arch kernel: [drm] ring test on 5 succeeded in 2 usecs
Oct 09 20:42:24 arch kernel: [drm] UVD initialized successfully.
Oct 09 20:42:24 arch kernel: [drm] ib test on ring 0 succeeded in 0 usecs
Oct 09 20:42:24 arch kernel: [drm] ib test on ring 3 succeeded in 1 usecs
Oct 09 20:42:24 arch kernel: ata3: SATA link down (SStatus 0 SControl 300)
Oct 09 20:42:24 arch kernel: ata4: SATA link down (SStatus 0 SControl 300)
Oct 09 20:42:24 arch kernel: ata6: SATA link down (SStatus 0 SControl 300)
Oct 09 20:42:24 arch kernel: ata5: SATA link down (SStatus 0 SControl 300)
Oct 09 20:42:24 arch kernel: [drm] ib test on ring 5 succeeded
Oct 09 20:42:24 arch kernel: usb 4-1: reset low-speed USB device number 2 using ohci-pci
Oct 09 20:42:24 arch kernel: r8169 0000:03:00.0 eth0: link down
Oct 09 20:42:24 arch kernel: firewire_core 0000:02:00.0: rediscovered device fw0
Oct 09 20:42:24 arch kernel: r8169 0000:03:00.0 eth0: link up
Oct 09 20:42:24 arch kernel: ata1.00: ACPI cmd ef/03:0c:00:00:00:a0 (SET FEATURES) filtered out
Oct 09 20:42:24 arch kernel: ata1.00: ACPI cmd ef/03:46:00:00:00:a0 (SET FEATURES) filtered out
Oct 09 20:42:24 arch kernel: ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
Oct 09 20:42:24 arch kernel: ata1.00: configured for UDMA/100
Oct 09 20:42:24 arch kernel: sd 0:0:0:0: [sda] Starting disk
Oct 09 20:42:24 arch kernel: PM: resume of devices complete after 3452.643 msecs
Oct 09 20:42:24 arch kernel: PM: Finishing wakeup.
Oct 09 20:42:24 arch kernel: Restarting tasks ... done. 

lspci:

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD/ATI] RD790 Host Bridge
00:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RX780/RD790 PCI to PCI bridge (external gfx0 port A)
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: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
02:00.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6315 Series Firewire Controller
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller (rev 01)
04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Barts PRO [Radeon HD 6850]
04:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Barts HDMI Audio [Radeon HD 6800 Series] 

/proc/acpi/wakeup:

Device	S-state	  Status   Sysfs node
PCE2	  S4	*disabled  pci:0000:00:02.0
PCE3	  S4	*disabled
PCE4	  S4	*disabled
PCE5	  S4	*disabled
PCE6	  S4	*disabled  pci:0000:00:06.0
PCE7	  S4	*disabled  pci:0000:00:07.0
PCE9	  S4	*disabled
PCEA	  S4	*disabled
PCEB	  S4	*disabled
PCEC	  S4	*disabled
SBAZ	  S4	*disabled  pci:0000:00:14.2
UAR1	  S4	*disabled  pnp:00:07
PS2K	  S4	*enabled   pnp:00:08
P0PC	  S4	*disabled  pci:0000:00:14.4
UHC1	  S4	*enabled   pci:0000:00:12.0
UHC2	  S4	*enabled   pci:0000:00:12.1
UHC3	  S4	*enabled   pci:0000:00:12.2
USB4	  S4	*enabled   pci:0000:00:13.0
UHC5	  S4	*enabled   pci:0000:00:13.1
UHC6	  S4	*enabled   pci:0000:00:13.2
UHC7	  S4	*enabled   pci:0000:00:14.5
PWRB	  S4	*enabled 

Everything is up to date. Any ideas?

Offline

#2 2013-10-13 17:23:39

null
Member
Registered: 2009-05-06
Posts: 398

Re: Random wakeup from suspend

The problem is only with the kernel from repos (and the one with the ck-patchset), the lts kernel works fine.

Offline

#3 2013-10-25 15:55:49

johanPO
Member
Registered: 2013-09-24
Posts: 4

Re: Random wakeup from suspend

I have a similar effect. My laptop wakes up after a few hours...

Offline

#4 2013-11-16 17:18:50

null
Member
Registered: 2009-05-06
Posts: 398

Re: Random wakeup from suspend

And the problem is still there with 3.12

Anyone?




€dit:
pm-utils still seems to be workig. I'll stick with them for now but I'd still like a fix.
pm-utils don't work either. I just got lucky the first few times.

Last edited by null (2013-11-25 11:03:56)

Offline

#5 2014-03-12 20:59:52

jtheoof
Member
Registered: 2014-01-30
Posts: 23

Re: Random wakeup from suspend

I'm having similar issues on this thread, you might want to check out the details.

Offline

Board footer

Powered by FluxBB