Computer suspends and then immediately wakes up

Problem:
Sometimes, when I suspend my desktop computer it immediately wakes up.

I’m relatively new to Linux and been using Fedora for about a year since version 36. Ever since, this phenomenon occurs at random times, but I’ve finally fed up with it.

Environment and specs:

  • Fedora 38, Gnome, Wayland (dual boot with Windows 10)
  • Kernel: 6.4.14-200.fc38.x86_64
  • Motherboard: Gigabyte Z77-D3H
  • CPU: Intel i5 2500K
  • GPU: Asus GeForce 1060 (NVIDIA)

Problem Description:
I suspend from the Power menu and the computer indeed goes into suspend (the PSU clicks off and the fans stop). 3 seconds later, the PSU clicks on and the login screen appears. It happens half the time I suspend, and I don’t recognize a pattern between the apps I’ve been using prior to its (in)ability to suspend.

As mentioned here, I disabled the no_console_suspend option to get debug logs. Here is the relevant output of running dmesg between failed suspends:

[114736.711611] rfkill: input handler enabled
[114738.177105] PM: suspend entry (deep)
[114739.630294] Filesystems sync: 1.453 seconds
[114739.729924] Freezing user space processes
[114739.732367] Freezing user space processes completed (elapsed 0.002 seconds)
[114739.732373] OOM killer disabled.
[114739.732373] Freezing remaining freezable tasks
[114739.733343] Freezing remaining freezable tasks completed (elapsed 0.000 seconds)
[114739.734054] serial 00:05: disabled
[114739.741243] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[114739.741331] sd 3:0:0:0: [sdc] Synchronizing SCSI cache
[114739.741399] sd 1:0:0:0: [sdb] Synchronizing SCSI cache
[114739.741399] sd 0:0:0:0: [sda] Stopping disk
[114739.741531] sd 1:0:0:0: [sdb] Stopping disk
[114739.743465] sd 3:0:0:0: [sdc] Stopping disk
[114740.178937] PM: suspend devices took 0.445 seconds
[114740.215613] ACPI: PM: Preparing to enter system sleep state S3
[114740.215844] ACPI: PM: Saving platform NVS memory
[114740.215880] Disabling non-boot CPUs ...
[114740.217264] smpboot: CPU 1 is now offline
[114740.219010] smpboot: CPU 2 is now offline
[114740.220797] smpboot: CPU 3 is now offline
[114740.222677] ACPI: PM: Low-level resume complete
[114740.222696] ACPI: PM: Restoring platform NVS memory
[114740.222997] Enabling non-boot CPUs ...
[114740.223036] x86: Booting SMP configuration:
[114740.223037] smpboot: Booting Node 0 Processor 1 APIC 0x2
[114740.226410] CPU1 is up
[114740.226450] smpboot: Booting Node 0 Processor 2 APIC 0x4
[114740.229487] CPU2 is up
[114740.229515] smpboot: Booting Node 0 Processor 3 APIC 0x6
[114740.232581] CPU3 is up
[114740.235064] ACPI: PM: Waking up from system sleep state S3
[114740.236826] usb usb5: root hub lost power or was reset
[114740.236829] usb usb6: root hub lost power or was reset
[114740.237161] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.SAT0.CHN0.DRV0._GTF.DSSP], AE_NOT_FOUND (20230331/psargs-330)
[114740.237170] ACPI Error: Aborting method \_SB.PCI0.SAT0.CHN0.DRV0._GTF due to previous error (AE_NOT_FOUND) (20230331/psparse-529)
[114740.237381] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.SAT0.CHN1.DRV0._GTF.DSSP], AE_NOT_FOUND (20230331/psargs-330)
[114740.237386] ACPI Error: Aborting method \_SB.PCI0.SAT0.CHN1.DRV0._GTF due to previous error (AE_NOT_FOUND) (20230331/psparse-529)
[114740.237601] serial 00:05: activated
[114740.237731] sd 0:0:0:0: [sda] Starting disk
[114740.237747] sd 1:0:0:0: [sdb] Starting disk
[114740.237766] sd 3:0:0:0: [sdc] Starting disk
[114740.407171] ata4.00: supports DRM functions and may not be fully accessible
[114740.413753] ata4.00: supports DRM functions and may not be fully accessible
[114740.423020] ata4.00: Enabling discard_zeroes_data
[114740.503972] usb 5-1: reset high-speed USB device number 2 using xhci_hcd
[114740.745219] usb 6-1: reset SuperSpeed USB device number 2 using xhci_hcd
[114741.577895] ata2.01: failed to resume link (SControl 0)
[114741.577963] ata1.01: failed to resume link (SControl 0)
[114741.729944] ata2.00: SATA link up 6.0 Gbps (SStatus 133 SControl 330)
[114741.729957] ata2.01: SATA link down (SStatus 0 SControl 0)
[114741.732375] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.SAT0.CHN1.DRV0._GTF.DSSP], AE_NOT_FOUND (20230331/psargs-330)
[114741.732380] ACPI Error: Aborting method \_SB.PCI0.SAT0.CHN1.DRV0._GTF due to previous error (AE_NOT_FOUND) (20230331/psparse-529)
[114741.732480] ata2.00: supports DRM functions and may not be fully accessible
[114741.739506] ata2.00: supports DRM functions and may not be fully accessible
[114741.743055] ata2.00: configured for UDMA/133
[114741.748975] ata2.00: Enabling discard_zeroes_data
[114746.253890] ata1.00: SATA link up 6.0 Gbps (SStatus 133 SControl 330)
[114746.253902] ata1.01: SATA link down (SStatus 0 SControl 0)
[114746.256304] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.SAT0.CHN0.DRV0._GTF.DSSP], AE_NOT_FOUND (20230331/psargs-330)
[114746.256311] ACPI Error: Aborting method \_SB.PCI0.SAT0.CHN0.DRV0._GTF due to previous error (AE_NOT_FOUND) (20230331/psparse-529)
[114746.277737] ata1.00: configured for UDMA/133
[114746.286761] PM: resume devices took 6.050 seconds
[114746.286946] OOM killer enabled.
[114746.286947] Restarting tasks ... 
[114746.286975] pci_bus 0000:04: Allocating resources
[114746.286982] pci 0000:03:00.0: PCI bridge to [bus 04]
[114746.286987] pci 0000:03:00.0:   bridge window [io  0x1000-0x1fff]
[114746.286996] pci 0000:03:00.0:   bridge window [mem 0xf2100000-0xf22fffff]
[114746.287002] pci 0000:03:00.0:   bridge window [mem 0xf2400000-0xf25fffff 64bit pref]
[114746.287012] pcieport 0000:00:1c.5: PCI bridge to [bus 03-04]
[114746.287015] pcieport 0000:00:1c.5:   bridge window [io  0x1000-0x1fff]
[114746.287019] pcieport 0000:00:1c.5:   bridge window [mem 0xf2100000-0xf23fffff]
[114746.287022] pcieport 0000:00:1c.5:   bridge window [mem 0xf2400000-0xf26fffff 64bit pref]
[114746.290218] done.
[114746.290225] random: crng reseeded on system resumption
[114746.310514] pcieport 0000:00:1c.6: PCI bridge to [bus 05]
[114746.310520] pcieport 0000:00:1c.6:   bridge window [io  0xd000-0xdfff]
[114746.310526] pcieport 0000:00:1c.6:   bridge window [mem 0xf7200000-0xf72fffff]
[114746.312017] pcieport 0000:00:1c.7: PCI bridge to [bus 06]
[114746.312023] pcieport 0000:00:1c.7:   bridge window [mem 0xf7100000-0xf71fffff]
[114746.419868] PM: suspend exit
[114750.751025] rfkill: input handler disabled
[114750.797332] atl1c 0000:05:00.0: atl1c: enp5s0 NIC Link is Up<1000 Mbps Full Duplex>
[114750.798989] IPv6: ADDRCONF(NETDEV_CHANGE): enp5s0: link becomes ready

I found the following posts on this forum, but not 100% sure they resolve my problem.

Can somebody please help?

You might have first to solve this ACPI Bios Error and after you can try with the boot option like,

The proper fix is simply to boot your kernel with libata.noacpi=1 and resume works again, YAY \o/

more details see:

1 Like