Estou usando o Gnome 3.22.3
$ gnome-shell --version
GNOME Shell 3.22.3
Às vezes, encontro o problema de não conseguir acordar da suspensão. Tudo que eu obtenho é uma tela preta com o mouse. Nada pode trazer de volta a tela de login e acabei por ter de pressionar o botão Power por alguns segundos antes de desligar e se o tempo é preciso, eu posso acordar o sistema ea tela de login aparece. Mas na maioria das vezes eu falhei e o sistema foi desligado (indevidamente). Tentei reproduzir a situação e depois fui ao dmesg e encontrei o seguinte:
[ 120.135635] PM: Syncing filesystems ... done.
[ 120.319898] PM: Preparing system for sleep (mem)
[ 120.320047] (NULL device *): firmware: direct-loading firmware rtlwifi/rtl8192cfw.bin
[ 120.320056] Freezing user space processes ...
[ 140.327451] Freezing of tasks failed after 20.006 seconds (1 tasks refusing to freeze, wq_busy=0):
[ 140.327551] single D 0 1722 1058 0x00000104
[ 140.327559] Call Trace:
[ 140.327574] ? __schedule+0x3c8/0x860
[ 140.327580] ? schedule+0x32/0x80
[ 140.327587] ? io_schedule+0x12/0x40
[ 140.327595] ? generic_file_read_iter+0x3ca/0x970
[ 140.327602] ? page_cache_tree_insert+0xf0/0xf0
[ 140.327611] ? new_sync_read+0xe3/0x130
[ 140.327618] ? vfs_read+0x91/0x130
[ 140.327624] ? SyS_read+0x52/0xc0
[ 140.327632] ? do_syscall_64+0x7c/0xf0
[ 140.327640] ? entry_SYSCALL64_slow_path+0x25/0x25
[ 140.327668] OOM killer enabled.
[ 140.327670] Restarting tasks ... done.
[ 140.352997] video LNXVIDEO:00: Restoring backlight state
[ 140.353718] video LNXVIDEO:01: Restoring backlight state
[ 140.354496] PM: Syncing filesystems ... done.
[ 140.502578] PM: Preparing system for sleep (freeze)
[ 140.502718] Freezing user space processes ... (elapsed 0.149 seconds) done.
[ 140.652680] OOM killer disabled.
[ 140.652681] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[ 140.653866] PM: Suspending system (freeze)
[ 140.653868] Suspending console(s) (use no_console_suspend to debug)
[ 140.865006] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 140.865151] sd 0:0:0:0: [sda] Stopping disk
[ 141.123985] e1000e: EEE TX LPI TIMER: 00000011
[ 141.393832] thinkpad_acpi: EC reports that Thermal Table has changed
[ 141.394222] nouveau 0000:01:00.0: DRM: resuming object tree...
[ 141.563740] nouveau 0000:01:00.0: DRM: resuming fence...
[ 141.563749] nouveau 0000:01:00.0: DRM: resuming display...
[ 141.563777] nouveau 0000:01:00.0: DRM: resuming console...
[ 141.563796] nouveau 0000:01:00.0: DRM: suspending console...
[ 141.563798] nouveau 0000:01:00.0: DRM: suspending display...
[ 141.627471] nouveau 0000:01:00.0: DRM: evicting buffers...
[ 141.627473] nouveau 0000:01:00.0: DRM: waiting for kernel channels to go idle...
[ 141.627504] nouveau 0000:01:00.0: DRM: suspending fence...
[ 141.627997] nouveau 0000:01:00.0: DRM: suspending object tree...
[ 142.579759] PM: suspend of devices complete after 1925.714 msecs
[ 142.599638] PM: late suspend of devices complete after 19.871 msecs
[ 142.651460] PM: noirq suspend of devices complete after 51.800 msecs
[ 142.651462] PM: suspend-to-idle
[ 143.964640] Suspended for 2.566 seconds
[ 179.827113] Suspended for 35.999 seconds
[ 179.851059] sdhci-pci 0000:0d:00.0: MMC controller base frequency changed to 50Mhz.
[ 179.879075] PM: noirq resume of devices complete after 51.777 msecs
[ 179.879148] PM: resume from suspend-to-idle
[ 179.879747] PM: early resume of devices complete after 0.588 msecs
[ 179.880010] nouveau 0000:01:00.0: DRM: resuming object tree...
[ 179.880068] rtlwifi: rtlwifi: wireless switch is on
[ 179.880237] ACPI: button: The lid device is not compliant to SW_LID.
[ 179.890194] sd 0:0:0:0: [sda] Starting disk
[ 179.926925] tpm tpm0: A TPM error (6) occurred attempting to read a pcr value
[ 179.926926] tpm tpm0: TPM is disabled/deactivated (0x6)
[ 179.944247] nouveau 0000:01:00.0: DRM: resuming fence...
[ 179.944259] nouveau 0000:01:00.0: DRM: resuming display...
[ 179.944317] nouveau 0000:01:00.0: DRM: resuming console...
[ 180.237680] ata4: SATA link down (SStatus 0 SControl 300)
[ 180.237719] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 180.237760] ata5: SATA link down (SStatus 0 SControl 300)
[ 180.237810] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[ 180.239082] ata1.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded
[ 180.239087] ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
[ 180.239091] ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
[ 180.240808] ata2.00: ACPI cmd e3/00:1f:00:00:00:a0 (IDLE) succeeded
[ 180.241447] ata2.00: ACPI cmd e3/00:02:00:00:00:a0 (IDLE) succeeded
[ 180.241451] ata2.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
[ 180.242161] ata1.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded
[ 180.242165] ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
[ 180.242169] ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
[ 180.243432] ata1.00: configured for UDMA/133
[ 180.247037] ata2.00: ACPI cmd e3/00:1f:00:00:00:a0 (IDLE) succeeded
[ 180.247668] ata2.00: ACPI cmd e3/00:02:00:00:00:a0 (IDLE) succeeded
[ 180.247673] ata2.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
[ 180.249438] ata2.00: configured for UDMA/100
[ 180.446937] firewire_core 0000:0d:00.3: rediscovered device fw0
[ 180.756489] psmouse serio1: synaptics: queried max coordinates: x [..5888], y [..4820]
[ 180.947973] PM: resume of devices complete after 1068.203 msecs
[ 180.948417] PM: Finishing wakeup.
Eu notei em [140.327451] que uma tarefa está se recusando a dormir por 20 segundos. Não sei exatamente o que é essa tarefa "única" e o PID 1722 não está mais disponível no momento em que posso ver o log.
Acho que (não tenho certeza) a hora em que pressiono o botão liga / desliga é quando a reclamação do sistema sobre "O dispositivo de tampa não é compatível com o SW_LID".
Isso é muito chato às vezes, pois posso ter trabalho não salvo enquanto ele fica suspenso e eu vou perder todo o trabalho se não conseguir acordar o sistema. Meu palpite é que algum processo se recusa a dormir e, durante esse tempo de espera, quando tento acordar o sistema, ele não consegue responder.