Не выходит из suspend to ram с первой попытки
При выходе из сна (по нажатию клавиатуры) комп выходит на долю секунды из сна (иногда успевает засветиться экран, иногда не успевает) и сразу же снова самопроизвольно переходит в сон. Со второй побудки уже просыпается окончательно. Никаких ошибок в dmesg не вижу. Как победить?
[35622.738123] PM: suspend entry (deep)
[35622.741327] Filesystems sync: 0.003 seconds
[35622.741418] Loading firmware: rtl_nic/rtl8168f-1.fw
[35622.741437] Loading firmware: rtlwifi/rtl8188eufw.bin
[35622.741457] Loading firmware: regulatory.db
[35622.741547] Loading firmware: regulatory.db.p7s
[35622.758846] Freezing user space processes
[35622.760233] Freezing user space processes completed (elapsed 0.001 seconds)
[35622.760236] OOM killer disabled.
[35622.760237] Freezing remaining freezable tasks
[35622.761332] Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
[35622.761354] printk: Suspending console(s) (use no_console_suspend to debug)
[35622.762535] serial 00:06: disabled
[35622.762658] r8169 0000:03:00.0 eth0: Link is Down
[35622.792043] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[35622.792064] sd 3:0:0:0: [sdc] Synchronizing SCSI cache
[35622.792065] sd 2:0:0:0: [sdb] Synchronizing SCSI cache
[35622.792088] sd 4:0:0:0: [sdd] Synchronizing SCSI cache
[35622.792269] ata4.00: Entering standby power mode
[35622.792278] ata5.00: Entering standby power mode
[35622.792324] ata3.00: Entering standby power mode
[35622.792798] ata1.00: Entering standby power mode
[35623.351186] PM: suspend devices took 0.590 seconds
[35623.377191] ACPI: PM: Preparing to enter system sleep state S3
[35623.377621] ACPI: PM: Saving platform NVS memory
[35623.377649] Disabling non-boot CPUs ...
[35623.379389] smpboot: CPU 1 is now offline
[35623.381267] smpboot: CPU 2 is now offline
[35623.382981] smpboot: CPU 3 is now offline
[35623.384734] smpboot: CPU 4 is now offline
[35623.386532] smpboot: CPU 5 is now offline
[35623.388973] smpboot: CPU 6 is now offline
[35623.390676] smpboot: CPU 7 is now offline
[35623.391624] ACPI: PM: Low-level resume complete
[35623.391642] ACPI: PM: Restoring platform NVS memory
[35623.391971] Enabling non-boot CPUs ...
[35623.392004] smpboot: Booting Node 0 Processor 1 APIC 0x2
[35623.394794] CPU1 is up
[35623.394817] smpboot: Booting Node 0 Processor 2 APIC 0x4
[35623.397774] CPU2 is up
[35623.397801] smpboot: Booting Node 0 Processor 3 APIC 0x6
[35623.400567] CPU3 is up
[35623.400590] smpboot: Booting Node 0 Processor 4 APIC 0x1
[35623.403322] CPU4 is up
[35623.403347] smpboot: Booting Node 0 Processor 5 APIC 0x3
[35623.405983] CPU5 is up
[35623.406003] smpboot: Booting Node 0 Processor 6 APIC 0x5
[35623.408707] CPU6 is up
[35623.408735] smpboot: Booting Node 0 Processor 7 APIC 0x7
[35623.411405] CPU7 is up
[35623.414068] ACPI: PM: Waking up from system sleep state S3
[35623.415974] serial 00:06: activated
[35623.648939] r8169 0000:03:00.0 eth0: Link is Down
[35623.759208] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[35623.759216] ata1.00: Entering active power mode
[35623.760049] ata1.00: supports DRM functions and may not be fully accessible
[35623.761004] sd 0:0:0:0: [sda] Starting disk
[35623.761132] ata1.00: supports DRM functions and may not be fully accessible
[35623.762010] ata1.00: configured for UDMA/133
[35623.816313] PM: resume devices took 0.404 seconds
[35623.816570] OOM killer enabled.
[35623.816571] Restarting tasks ...
[35623.816606] pci_bus 0000:05: Allocating resources
[35623.816612] pci 0000:04:00.0: PCI bridge to [bus 05]
[35623.816617] pci 0000:04:00.0: bridge window [io 0x2000-0x2fff]
[35623.816626] pci 0000:04:00.0: bridge window [mem 0xdf300000-0xdf4fffff]
[35623.816631] pci 0000:04:00.0: bridge window [mem 0xdf500000-0xdf6fffff 64bit pref]
[35623.817464] done.
[35623.817471] random: crng reseeded on system resumption
[35623.817981] PM: suspend exit
[35623.825035] PM: suspend entry (deep)
[35625.225484] r8169 0000:03:00.0 eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[35627.046122] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[35627.046134] ata3.00: Entering active power mode
[35627.046147] ata5: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[35627.046157] ata5.00: Entering active power mode
[35627.133405] sd 4:0:0:0: [sdd] Starting disk
[35627.134218] ata5.00: configured for UDMA/133
[35627.209836] sd 2:0:0:0: [sdb] Starting disk
[35627.210764] ata3.00: configured for UDMA/133
[35627.210941] Filesystems sync: 3.385 seconds
[35627.211339] Freezing user space processes
[35627.212845] Freezing user space processes completed (elapsed 0.001 seconds)
[35627.212851] OOM killer disabled.
[35627.212852] Freezing remaining freezable tasks
[35627.213982] Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
[35627.214014] printk: Suspending console(s) (use no_console_suspend to debug)
[35627.215378] serial 00:06: disabled
[35627.215444] r8169 0000:03:00.0 eth0: Link is Down
[35627.229494] sd 2:0:0:0: [sdb] Synchronizing SCSI cache
[35627.229529] sd 3:0:0:0: [sdc] Synchronizing SCSI cache
[35627.229551] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[35627.229707] ata3.00: Entering standby power mode
[35627.230259] ata1.00: Entering standby power mode
[35627.242811] sd 4:0:0:0: [sdd] Synchronizing SCSI cache
[35627.457923] ata5.00: Entering standby power mode
[35627.609459] ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[35627.609468] ata4.00: Entering active power mode
[35627.633140] ata4.00: configured for UDMA/133
[35627.633436] ata4.00: Entering standby power mode
[35628.200890] PM: suspend devices took 0.987 seconds
[35628.226703] ACPI: PM: Preparing to enter system sleep state S3
[35628.227240] ACPI: PM: Saving platform NVS memory
[35628.227283] Disabling non-boot CPUs ...
[35628.228875] smpboot: CPU 1 is now offline
[35628.231256] smpboot: CPU 2 is now offline
[35628.233299] smpboot: CPU 3 is now offline
[35628.235606] smpboot: CPU 4 is now offline
[35628.237631] smpboot: CPU 5 is now offline
[35628.239590] smpboot: CPU 6 is now offline
[35628.241110] smpboot: CPU 7 is now offline
[35628.241815] ACPI: PM: Low-level resume complete
[35628.241833] ACPI: PM: Restoring platform NVS memory
[35628.242163] Enabling non-boot CPUs ...
[35628.242194] smpboot: Booting Node 0 Processor 1 APIC 0x2
[35628.244991] CPU1 is up
[35628.245014] smpboot: Booting Node 0 Processor 2 APIC 0x4
[35628.247912] CPU2 is up
[35628.247933] smpboot: Booting Node 0 Processor 3 APIC 0x6
[35628.250712] CPU3 is up
[35628.250733] smpboot: Booting Node 0 Processor 4 APIC 0x1
[35628.253492] CPU4 is up
[35628.253510] smpboot: Booting Node 0 Processor 5 APIC 0x3
[35628.256168] CPU5 is up
[35628.256186] smpboot: Booting Node 0 Processor 6 APIC 0x5
[35628.258894] CPU6 is up
[35628.258914] smpboot: Booting Node 0 Processor 7 APIC 0x7
[35628.261569] CPU7 is up
[35628.264272] ACPI: PM: Waking up from system sleep state S3
[35628.266143] serial 00:06: activated
[35628.486403] r8169 0000:03:00.0 eth0: Link is Down
[35628.606790] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[35628.606809] ata1.00: Entering active power mode
[35628.607671] ata1.00: supports DRM functions and may not be fully accessible
[35628.608805] sd 0:0:0:0: [sda] Starting disk
[35628.608926] ata1.00: supports DRM functions and may not be fully accessible
[35628.609686] ata1.00: configured for UDMA/133
[35628.653793] PM: resume devices took 0.390 seconds
[35628.653962] OOM killer enabled.
[35628.653963] Restarting tasks ...
[35628.653966] pci_bus 0000:05: Allocating resources
[35628.653971] pci 0000:04:00.0: PCI bridge to [bus 05]
[35628.653975] pci 0000:04:00.0: bridge window [io 0x2000-0x2fff]
[35628.653982] pci 0000:04:00.0: bridge window [mem 0xdf300000-0xdf4fffff]
[35628.653989] pci 0000:04:00.0: bridge window [mem 0xdf500000-0xdf6fffff 64bit pref]
[35628.655617] done.
[35628.655628] random: crng reseeded on system resumption
[35628.655758] PM: suspend exit
[35630.062859] r8169 0000:03:00.0 eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[35631.836937] ata5: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[35631.836946] ata5.00: Entering active power mode
[35631.893588] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[35631.893594] ata3.00: Entering active power mode
[35631.911129] sd 4:0:0:0: [sdd] Starting disk
[35631.911942] ata5.00: configured for UDMA/133
[35632.053635] sd 2:0:0:0: [sdb] Starting disk
[35632.054700] ata3.00: configured for UDMA/133
[35632.120241] ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[35632.120251] ata4.00: Entering active power mode
[35632.149313] sd 3:0:0:0: [sdc] Starting disk
[35632.150170] ata4.00: configured for UDMA/133
Первая строкк в листинге соответствует, как ни странно, моменту первого пробуждения.
Как заставить его просыпаться с первого раза? Засыпание осуществляется через sudo s2ram, если это важно. Ядро 6.6.62, та же самая беда на других ядрах, как самосборных так и коммьюнити-ядрах.