Issue: as the title says, my laptop (generated in 2011, old) suspends at least twice before logging into the desktop environment. One happens before the log-in interface appears, I need to press the power button to wake it up and it continues, the other one happens when I press the Enter button after typing password (about 2~3 seconds later after press the Enter button), I still need to press power button to wake it up and press the Enter button again, then I enter the desktop environment and everything goes fine.
Suspend twice means that I type password and press Enter button immediately when the log-in interface appears. If I do not type password and leave it alone, OS would suspend many a time after I wake it up.
Actually, this issue happens in almost all linux distributions (kernel version = 3.x & 4.x), it confuses me for a long time.
Would be very appreciated for your help!
Here’s the boot error log from /var/log/warn
2018-12-04T14:17:57.778068+08:00 linux-znnm systemd[1]: nss-lookup.target: Dependency Before=nss-lookup.target dropped
2018-12-04T14:17:57.778306+08:00 linux-znnm systemd-udevd[486]: Invalid rule /etc/udev/rules.d/ft-rockey.rules:1: unknown key 'BUS'
2018-12-04T14:17:57.778403+08:00 linux-znnm systemd-udevd[525]: Process '/usr/sbin/tlp auto' failed with exit code 4.
2018-12-04T14:17:57.778593+08:00 linux-znnm systemd-udevd[550]: Process '/usr/sbin/alsactl restore 0' failed with exit code 99.
2018-12-04T14:17:57.778655+08:00 linux-znnm kernel: 0.020243] ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
2018-12-04T14:17:57.778656+08:00 linux-znnm kernel: 0.020248] ENERGY_PERF_BIAS: View and update with x86_energy_perf_policy(8)
2018-12-04T14:17:57.778826+08:00 linux-znnm kernel: 0.071248] #3 #4 #5 #6 #7
2018-12-04T14:17:57.778860+08:00 linux-znnm kernel: 0.104427] mtrr: your CPUs had inconsistent variable MTRR settings
2018-12-04T14:17:57.778886+08:00 linux-znnm kernel: 0.108004] ACPI Error: No handler for Region [ECXP] (ffff880187d4c870) [EmbeddedControl] (20170303/evregion-166)
2018-12-04T14:17:57.778887+08:00 linux-znnm kernel: 0.108004] ACPI Error: Region EmbeddedControl (ID=3) has no handler (20170303/exfldio-299)
2018-12-04T14:17:57.778888+08:00 linux-znnm kernel: 0.108004] ACPI Error: Method parse/execution failed \_SB.PCI0.PEG0.PEGP._STA] (Node ffff880187d644d8), AE_NOT_EXIST (20170303/psparse-543)
2018-12-04T14:17:57.778888+08:00 linux-znnm kernel: 0.108004] ACPI Error: Method execution failed \_SB.PCI0.PEG0.PEGP._STA] (Node ffff880187d644d8), AE_NOT_EXIST (20170303/uteval-103)
2018-12-04T14:17:57.779122+08:00 linux-znnm systemd[1]: nss-lookup.target: Dependency Before=nss-lookup.target dropped
2018-12-04T14:17:57.778790+08:00 linux-znnm kernel: 0.067453] mce: [Hardware Error]: CPU 0: Machine Check: 0 Bank 5: ae20000000041136
2018-12-04T14:17:57.778792+08:00 linux-znnm kernel: 0.067460] mce: [Hardware Error]: TSC 0 ADDR a0000000 MISC 3040000086
2018-12-04T14:17:57.778793+08:00 linux-znnm kernel: 0.067468] mce: [Hardware Error]: PROCESSOR 0:206a7 TIME 1543933048 SOCKET 0 APIC 0 microcode 2e
2018-12-04T14:17:57.778795+08:00 linux-znnm kernel: 0.067480] mce: [Hardware Error]: CPU 0: Machine Check: 0 Bank 6: ae20000000041136
2018-12-04T14:17:57.778795+08:00 linux-znnm kernel: 0.067487] mce: [Hardware Error]: TSC 0 ADDR a0000040 MISC 3040000086
2018-12-04T14:17:57.778798+08:00 linux-znnm kernel: 0.067494] mce: [Hardware Error]: PROCESSOR 0:206a7 TIME 1543933048 SOCKET 0 APIC 0 microcode 2e
2018-12-04T14:17:57.778800+08:00 linux-znnm kernel: 0.067502] mce: [Hardware Error]: CPU 0: Machine Check: 0 Bank 7: ae20000000041136
2018-12-04T14:17:57.778800+08:00 linux-znnm kernel: 0.067509] mce: [Hardware Error]: TSC 0 ADDR a0000080 MISC 3040000086
2018-12-04T14:17:57.778801+08:00 linux-znnm kernel: 0.067515] mce: [Hardware Error]: PROCESSOR 0:206a7 TIME 1543933048 SOCKET 0 APIC 0 microcode 2e
2018-12-04T14:17:57.779303+08:00 linux-znnm systemd[1]: nss-lookup.target: Dependency Before=nss-lookup.target dropped
2018-12-04T14:17:57.779381+08:00 linux-znnm kernel: 0.213004] pnp 00:05: disabling [mem 0x00000000-0x00000fff] because it overlaps 0000:01:00.0 BAR 6 [mem 0x00000000-0x0001ffff pref]
2018-12-04T14:17:57.779435+08:00 linux-znnm systemd[1]: nss-lookup.target: Dependency Before=nss-lookup.target dropped
2018-12-04T14:17:57.779583+08:00 linux-znnm systemd[1]: nss-lookup.target: Dependency Before=nss-lookup.target dropped
2018-12-04T14:17:57.778032+08:00 linux-znnm rsyslogd: environment variable TZ is not set, auto correcting this to TZ=/etc/localtime [v8.33.1 try http://www.rsyslog.com/e/2442 ]
2018-12-04T14:17:57.779835+08:00 linux-znnm kernel: 5.303972] ATPX version 1, functions 0x00000033
2018-12-04T14:17:57.779840+08:00 linux-znnm kernel: 5.307051] CRAT table not found
2018-12-04T14:17:57.780148+08:00 linux-znnm kernel: 7.774286] ACPI Warning: \_SB.PCI0.PEG0.VGA.LCD._BQC: Return type mismatch - found Reference, expected Integer (20170303/nspredef-290)
2018-12-04T14:17:57.780150+08:00 linux-znnm kernel: 7.777609] [Firmware Bug]: Duplicate ACPI video bus devices for the same VGA controller, please try module parameter "video.allow_duplicates=1"if the current driver doesn't work.
2018-12-04T14:17:57.780152+08:00 linux-znnm kernel: 7.778223] ACPI Warning: \_SB.PCI0.GFX0.DD02._BQC: Return type mismatch - found Reference, expected Integer (20170303/nspredef-290)
2018-12-04T14:17:57.780161+08:00 linux-znnm kernel: 8.995309] systemd: 11 output lines suppressed due to ratelimiting
2018-12-04T14:17:57.780178+08:00 linux-znnm kernel: 17.612060] ACPI: Deprecated procfs I/F for AC is loaded, please retry with CONFIG_ACPI_PROCFS_POWER cleared
2018-12-04T14:17:57.780192+08:00 linux-znnm kernel: 18.061719] ACPI: Deprecated procfs I/F for battery is loaded, please retry with CONFIG_ACPI_PROCFS_POWER cleared
2018-12-04T14:17:57.780199+08:00 linux-znnm kernel: 18.603821] ACPI Warning: SystemIO range 0x0000000000000428-0x000000000000042F conflicts with OpRegion 0x0000000000000400-0x000000000000047F (\PMIO) (20170303/utaddress-247)
2018-12-04T14:17:57.780200+08:00 linux-znnm kernel: 18.603830] ACPI Warning: SystemIO range 0x0000000000000540-0x000000000000054F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20170303/utaddress-247)
2018-12-04T14:17:57.780201+08:00 linux-znnm kernel: 18.603834] ACPI Warning: SystemIO range 0x0000000000000540-0x000000000000054F conflicts with OpRegion 0x0000000000000500-0x000000000000055F (\_SB.PCI0.PEG0.PEGP.GPIO) (20170303/utaddress-247)
2018-12-04T14:17:57.780205+08:00 linux-znnm kernel: 18.603838] ACPI Warning: SystemIO range 0x0000000000000530-0x000000000000053F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20170303/utaddress-247)
2018-12-04T14:17:57.780206+08:00 linux-znnm kernel: 18.603841] ACPI Warning: SystemIO range 0x0000000000000530-0x000000000000053F conflicts with OpRegion 0x0000000000000500-0x000000000000055F (\_SB.PCI0.PEG0.PEGP.GPIO) (20170303/utaddress-247)
2018-12-04T14:17:57.780207+08:00 linux-znnm kernel: 18.603844] ACPI Warning: SystemIO range 0x0000000000000500-0x000000000000052F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20170303/utaddress-247)
2018-12-04T14:17:57.780208+08:00 linux-znnm kernel: 18.603848] ACPI Warning: SystemIO range 0x0000000000000500-0x000000000000052F conflicts with OpRegion 0x0000000000000500-0x000000000000055F (\_SB.PCI0.PEG0.PEGP.GPIO) (20170303/utaddress-247)
2018-12-04T14:17:57.780212+08:00 linux-znnm kernel: 18.603851] lpc_ich: Resource conflict(s) found affecting gpio_ich
2018-12-04T14:17:57.780254+08:00 linux-znnm kernel: 19.062931] r8169 0000:04:00.0: can't disable ASPM; OS doesn't have ASPM control
2018-12-04T14:17:57.780260+08:00 linux-znnm kernel: 21.791818] kauditd_printk_skb: 5 callbacks suppressed
2018-12-04T14:17:57.780289+08:00 linux-znnm kernel: 22.855761] atkbd serio0: Unknown key pressed (translated set 2, code 0xb4 on isa0060/serio0).
2018-12-04T14:17:57.780290+08:00 linux-znnm kernel: 22.855763] atkbd serio0: Use 'setkeycodes e034 <keycode>' to make it known.
2018-12-04T14:17:57.780292+08:00 linux-znnm kernel: 22.865879] atkbd serio0: Unknown key released (translated set 2, code 0xb4 on isa0060/serio0).
2018-12-04T14:17:57.780293+08:00 linux-znnm kernel: 22.865885] atkbd serio0: Use 'setkeycodes e034 <keycode>' to make it known.
2018-12-04T14:17:58.914615+08:00 linux-znnm ModemManager[1139]: <warn> [sleep-monitor] inhibit failed: GDBus.Error:org.freedesktop.login1.OperationInProgress: The operation inhibition has been requested for is already running
2018-12-04T14:18:12.380358+08:00 linux-znnm kernel: 33.490819] done.
2018-12-04T14:18:12.380538+08:00 linux-znnm kernel: 33.765310] Suspending console(s) (use no_console_suspend to debug)
2018-12-04T14:18:12.380614+08:00 linux-znnm kernel: 35.692545] cache: parent cpu1 should not be sleeping
2018-12-04T14:18:12.380621+08:00 linux-znnm kernel: 35.697670] cache: parent cpu2 should not be sleeping
2018-12-04T14:18:12.380626+08:00 linux-znnm kernel: 35.702751] cache: parent cpu3 should not be sleeping
2018-12-04T14:18:12.380631+08:00 linux-znnm kernel: 35.707894] cache: parent cpu4 should not be sleeping
2018-12-04T14:18:12.380637+08:00 linux-znnm kernel: 35.711129] cache: parent cpu5 should not be sleeping
2018-12-04T14:18:12.380642+08:00 linux-znnm kernel: 35.714330] cache: parent cpu6 should not be sleeping
2018-12-04T14:18:12.380647+08:00 linux-znnm kernel: 35.717579] cache: parent cpu7 should not be sleeping
2018-12-04T14:18:12.380662+08:00 linux-znnm kernel: 36.259234] usb usb1: root hub lost power or was reset
2018-12-04T14:18:12.380664+08:00 linux-znnm kernel: 36.259236] usb usb2: root hub lost power or was reset
2018-12-04T14:18:12.380667+08:00 linux-znnm kernel: 36.260715] ACPI : button: The lid device is not compliant to SW_LID.
2018-12-04T14:18:12.380763+08:00 linux-znnm kernel: 39.883099] done.
2018-12-04T14:18:12.936755+08:00 linux-znnm systemd[1]: Dependency failed for Suspend.
2018-12-04T14:18:22.858561+08:00 linux-znnm sddm-greeter[1612]: QObject: Cannot create children for a parent that is in a different thread.#012(Parent is QGuiApplication(0x7ffe75208620), parent's thread is QThread(0x555bee5f6f80), current thread is QThread(0x555bee912550)
2018-12-04T14:18:23.070753+08:00 linux-znnm sddm-greeter[1612]: message repeated 2 times: QObject: Cannot create children for a parent that is in a different thread.#012(Parent is QGuiApplication(0x7ffe75208620), parent's thread is QThread(0x555bee5f6f80), current thread is QThread(0x555bee912550)]
2018-12-04T14:18:23.070970+08:00 linux-znnm sddm-greeter[1612]: QObject::installEventFilter(): Cannot filter events for objects in a different thread.
2018-12-04T14:18:23.088999+08:00 linux-znnm sddm-greeter[1612]: QObject: Cannot create children for a parent that is in a different thread.#012(Parent is QGuiApplication(0x7ffe75208620), parent's thread is QThread(0x555bee5f6f80), current thread is QThread(0x555bee912550)
2018-12-04T14:18:24.717589+08:00 linux-znnm sddm-greeter[1612]: QObject: Cannot create children for a parent that is in a different thread.#012(Parent is QGuiApplication(0x7ffe75208620), parent's thread is QThread(0x555bee5f6f80), current thread is QThread(0x555bee912550)
2018-12-04T14:18:24.717989+08:00 linux-znnm sddm-greeter[1612]: QObject::installEventFilter(): Cannot filter events for objects in a different thread.
2018-12-04T14:18:25.495143+08:00 linux-znnm udisksd[1618]: Can't load configuration file /etc/udisks2/udisks2.conf
2018-12-04T14:18:27.818827+08:00 linux-znnm sddm-greeter[1612]: QDBusConnection: name 'org.freedesktop.UDisks2' had owner '' but we thought it was ':1.17'
2018-12-04T14:18:31.965778+08:00 linux-znnm sddm-greeter[1612]: qrc:///QtQuick/VirtualKeyboard/content/components/SelectionControl.qml:80: TypeError: Cannot read property 'cursorRectIntersectsClipRect' of null
2018-12-04T14:18:31.966010+08:00 linux-znnm sddm-greeter[1612]: qrc:///QtQuick/VirtualKeyboard/content/components/SelectionControl.qml:48: TypeError: Cannot read property 'anchorRectIntersectsClipRect' of null
2018-12-04T14:18:44.367631+08:00 linux-znnm kernel: 61.319976] Suspending console(s) (use no_console_suspend to debug)
2018-12-04T14:18:44.367753+08:00 linux-znnm kernel: 63.248167] cache: parent cpu1 should not be sleeping
2018-12-04T14:18:44.367759+08:00 linux-znnm kernel: 63.253287] cache: parent cpu2 should not be sleeping
2018-12-04T14:18:44.367763+08:00 linux-znnm kernel: 63.258412] cache: parent cpu3 should not be sleeping
2018-12-04T14:18:44.367768+08:00 linux-znnm kernel: 63.263706] cache: parent cpu4 should not be sleeping
2018-12-04T14:18:44.367773+08:00 linux-znnm kernel: 63.266969] cache: parent cpu5 should not be sleeping
2018-12-04T14:18:44.367778+08:00 linux-znnm kernel: 63.270219] cache: parent cpu6 should not be sleeping
2018-12-04T14:18:44.367782+08:00 linux-znnm kernel: 63.273562] cache: parent cpu7 should not be sleeping
2018-12-04T14:18:44.367796+08:00 linux-znnm kernel: 63.816005] usb usb1: root hub lost power or was reset
2018-12-04T14:18:44.367798+08:00 linux-znnm kernel: 63.816009] usb usb2: root hub lost power or was reset
2018-12-04T14:18:44.378919+08:00 linux-znnm chronyd[1175]: Forward time jump detected!
2018-12-04T14:18:45.012853+08:00 linux-znnm systemd[1]: Dependency failed for Suspend.
2018-12-04T14:18:45.434780+08:00 linux-znnm klauncher[1755]: Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
2018-12-04T14:18:46.199730+08:00 linux-znnm kdeinit5[1758]: kf5.kded: No X-KDE-DBus-ServiceName found in "/usr/lib64/qt5/plugins/kf5/kded/networkwatcher.so"