You are not logged in.

#1 2018-07-14 07:58:12

Spielkind
Member
Registered: 2018-01-17
Posts: 6

Suspend fails with Kernel >= 4.17.X

Hi,

since Kernel 4.17.X I have the issue that every suspend (beside the first suspend after reboot, which works) fails:

Jul 14 09:36:23 paddy kernel: PM: suspend entry (deep)
Jul 14 09:36:23 paddy kernel: PM: Syncing filesystems ... done.
Jul 14 09:36:23 paddy ntpd[693]: Deleting interface #15 wlp3s0, 192.168.1.121#123, interface stats: received=3, sent=4, dropped=0, active_time=59 secs
Jul 14 09:36:23 paddy ntpd[693]: 85.93.7.12 local addr 192.168.1.121 -> <null>
Jul 14 09:36:23 paddy ntpd[693]: 78.47.163.171 local addr 192.168.1.121 -> <null>
Jul 14 09:36:23 paddy ntpd[693]: 37.120.184.82 local addr 192.168.1.121 -> <null>
Jul 14 09:36:23 paddy ntpd[693]: 176.9.40.142 local addr 192.168.1.121 -> <null>
Jul 14 09:36:23 paddy ntpd[693]: Deleting interface #17 wlp3s0, fe80::85f:ab43:4383:fbf5%3#123, interface stats: received=0, sent=0, dropped=0, active_time=59 secs
Jul 14 09:36:23 paddy ntpd[693]: Deleting interface #18 wlp3s0, 2003:e9:f3e7:1900:927e:e4fe:fe80:4fc6#123, interface stats: received=0, sent=0, dropped=0, active_time=57 secs
Jul 14 09:36:23 paddy /usr/lib/gdm-x-session[1204]: (**) Option "fd" "42"
Jul 14 09:36:23 paddy /usr/lib/gdm-x-session[1204]: (II) event2  - Power Button: device removed
Jul 14 09:36:23 paddy /usr/lib/gdm-x-session[1204]: (**) Option "fd" "69"
Jul 14 09:36:23 paddy /usr/lib/gdm-x-session[1204]: (II) event3  - Video Bus: device removed
Jul 14 09:36:23 paddy /usr/lib/gdm-x-session[1204]: (**) Option "fd" "33"
Jul 14 09:36:23 paddy /usr/lib/gdm-x-session[1204]: (II) event1  - Sleep Button: device removed
Jul 14 09:36:23 paddy /usr/lib/gdm-x-session[1204]: (**) Option "fd" "37"
Jul 14 09:36:23 paddy /usr/lib/gdm-x-session[1204]: (II) event7  - Integrated Camera: Integrated C: device removed
Jul 14 09:36:23 paddy /usr/lib/gdm-x-session[1204]: (**) Option "fd" "26"
Jul 14 09:36:23 paddy /usr/lib/gdm-x-session[1204]: (II) event4  - AT Translated Set 2 keyboard: device removed
Jul 14 09:36:23 paddy /usr/lib/gdm-x-session[1204]: (**) Option "fd" "27"
Jul 14 09:36:23 paddy /usr/lib/gdm-x-session[1204]: (II) event17 - TPPS/2 IBM TrackPoint: device removed
Jul 14 09:36:23 paddy /usr/lib/gdm-x-session[1204]: (**) Option "fd" "41"
Jul 14 09:36:23 paddy /usr/lib/gdm-x-session[1204]: (II) event5  - ThinkPad Extra Buttons: device removed
Jul 14 09:36:24 paddy /usr/lib/gdm-x-session[1204]: (II) systemd-logind: got pause for 13:81
Jul 14 09:36:24 paddy /usr/lib/gdm-x-session[1204]: (II) systemd-logind: got pause for 13:65
Jul 14 09:36:24 paddy /usr/lib/gdm-x-session[1204]: (II) systemd-logind: got pause for 13:77
Jul 14 09:36:24 paddy /usr/lib/gdm-x-session[1204]: (II) systemd-logind: got pause for 13:71
Jul 14 09:36:24 paddy /usr/lib/gdm-x-session[1204]: (II) systemd-logind: got pause for 226:0
Jul 14 09:36:24 paddy /usr/lib/gdm-x-session[1204]: (II) systemd-logind: got pause for 13:67
Jul 14 09:36:24 paddy /usr/lib/gdm-x-session[1204]: (II) systemd-logind: got pause for 13:68
Jul 14 09:36:24 paddy /usr/lib/gdm-x-session[1204]: (II) systemd-logind: got pause for 13:69
Jul 14 09:36:26 paddy kernel: Freezing user space processes ... (elapsed 0.002 seconds) done.
Jul 14 09:36:26 paddy kernel: OOM killer disabled.
Jul 14 09:36:26 paddy kernel: Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
Jul 14 09:36:26 paddy kernel: Suspending console(s) (use no_console_suspend to debug)
Jul 14 09:36:26 paddy kernel: sd 1:0:0:0: [sdb] Synchronizing SCSI cache
Jul 14 09:36:26 paddy kernel: sd 0:0:0:0: [sda] Synchronizing SCSI cache
Jul 14 09:36:26 paddy kernel: sd 1:0:0:0: [sdb] Stopping disk
Jul 14 09:36:26 paddy kernel: sd 0:0:0:0: [sda] Stopping disk
Jul 14 09:36:26 paddy kernel: e1000e: EEE TX LPI TIMER: 00000011
Jul 14 09:36:26 paddy kernel: ACPI: EC: interrupt blocked
Jul 14 09:36:26 paddy kernel: ACPI: Preparing to enter system sleep state S3
Jul 14 09:36:26 paddy kernel: ACPI: EC: event blocked
Jul 14 09:36:26 paddy kernel: ACPI: EC: EC stopped
Jul 14 09:36:26 paddy kernel: PM: Saving platform NVS memory
Jul 14 09:36:26 paddy kernel: Disabling non-boot CPUs ...
Jul 14 09:36:26 paddy kernel: smpboot: CPU 1 is now offline
Jul 14 09:36:26 paddy kernel: smpboot: CPU 2 is now offline
Jul 14 09:36:26 paddy kernel: smpboot: CPU 3 is now offline
Jul 14 09:36:26 paddy kernel: smpboot: CPU 4 is now offline
Jul 14 09:36:26 paddy kernel: smpboot: CPU 5 is now offline
Jul 14 09:36:26 paddy kernel: smpboot: CPU 6 is now offline
Jul 14 09:36:26 paddy kernel: smpboot: CPU 7 is now offline
Jul 14 09:36:26 paddy kernel: ACPI: Low-level resume complete
Jul 14 09:36:26 paddy kernel: ACPI: EC: EC started
Jul 14 09:36:26 paddy kernel: PM: Restoring platform NVS memory
Jul 14 09:36:26 paddy kernel: Enabling non-boot CPUs ...
Jul 14 09:36:26 paddy kernel: x86: Booting SMP configuration:
Jul 14 09:36:26 paddy kernel: smpboot: Booting Node 0 Processor 1 APIC 0x1
Jul 14 09:36:26 paddy kernel:  cache: parent cpu1 should not be sleeping
Jul 14 09:36:26 paddy kernel: CPU1 is up
Jul 14 09:36:26 paddy kernel: smpboot: Booting Node 0 Processor 2 APIC 0x2
Jul 14 09:36:26 paddy kernel:  cache: parent cpu2 should not be sleeping
Jul 14 09:36:26 paddy kernel: CPU2 is up
Jul 14 09:36:26 paddy kernel: smpboot: Booting Node 0 Processor 3 APIC 0x3
Jul 14 09:36:26 paddy kernel:  cache: parent cpu3 should not be sleeping
Jul 14 09:36:26 paddy kernel: CPU3 is up
Jul 14 09:36:26 paddy kernel: smpboot: Booting Node 0 Processor 4 APIC 0x4
Jul 14 09:36:26 paddy kernel:  cache: parent cpu4 should not be sleeping
Jul 14 09:36:26 paddy kernel: CPU4 is up
Jul 14 09:36:26 paddy kernel: smpboot: Booting Node 0 Processor 5 APIC 0x5
Jul 14 09:36:26 paddy kernel:  cache: parent cpu5 should not be sleeping
Jul 14 09:36:26 paddy kernel: CPU5 is up
Jul 14 09:36:26 paddy kernel: smpboot: Booting Node 0 Processor 6 APIC 0x6
Jul 14 09:36:26 paddy kernel:  cache: parent cpu6 should not be sleeping
Jul 14 09:36:26 paddy kernel: CPU6 is up
Jul 14 09:36:26 paddy kernel: smpboot: Booting Node 0 Processor 7 APIC 0x7
Jul 14 09:36:26 paddy kernel:  cache: parent cpu7 should not be sleeping
Jul 14 09:36:26 paddy kernel: CPU7 is up
Jul 14 09:36:26 paddy kernel: ACPI: Waking up from system sleep state S3
Jul 14 09:36:26 paddy kernel: ACPI: EC: interrupt unblocked
Jul 14 09:36:26 paddy kernel: sdhci-pci 0000:02:00.0: MMC controller base frequency changed to 50Mhz.
...skipping...
Jul 14 09:36:26 paddy systemd[1]: suspend.target: Unit not needed anymore. Stopping.
Jul 14 09:36:26 paddy systemd[1]: Stopped target Suspend.
Jul 14 09:36:26 paddy systemd-logind[604]: Operation 'sleep' finished.
Jul 14 09:36:26 paddy NetworkManager[600]: <info>  [1531553786.9231] manager: sleep: wake requested (sleeping: yes  enabled: yes)
Jul 14 09:36:26 paddy NetworkManager[600]: <info>  [1531553786.9232] device (enp0s25): state change: unavailable -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Jul 14 09:36:26 paddy kernel: PM: suspend exit
Jul 14 09:36:26 paddy gnome-shell[980]: _st_paint_shadow_with_opacity: assertion 'shadow_pipeline != NULL' failed
Jul 14 09:36:26 paddy /usr/lib/gdm-x-session[1204]: (II) systemd-logind: got resume for 13:81
Jul 14 09:36:26 paddy gnome-shell[980]: _st_paint_shadow_with_opacity: assertion 'shadow_pipeline != NULL' failed
Jul 14 09:36:27 paddy kernel: e1000e: enp0s25 NIC Link is Down
Jul 14 09:36:27 paddy kernel: IPv6: ADDRCONF(NETDEV_UP): enp0s25: link is not ready
Jul 14 09:36:27 paddy kernel: rfkill: input handler disabled
Jul 14 09:36:27 paddy kernel: usb 3-4: new high-speed USB device number 5 using xhci_hcd
Jul 14 09:36:27 paddy kernel: usb 3-4: New USB device found, idVendor=0bdb, idProduct=1927, bcdDevice= 1.00
Jul 14 09:36:27 paddy kernel: usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=5
Jul 14 09:36:27 paddy kernel: usb 3-4: Product: H5321 gw
Jul 14 09:36:27 paddy kernel: usb 3-4: Manufacturer: Lenovo
Jul 14 09:36:27 paddy kernel: usb 3-4: SerialNumber: 582F9640B43A2A90
Jul 14 09:36:27 paddy kernel: IPv6: ADDRCONF(NETDEV_UP): enp0s25: link is not ready
Jul 14 09:36:27 paddy kernel: usbhid 3-4:1.0: can't add hid device: -71
Jul 14 09:36:27 paddy kernel: usbhid: probe of 3-4:1.0 failed with error -71
Jul 14 09:36:27 paddy kernel: usb 3-4: USB disconnect, device number 5
Jul 14 09:36:27 paddy kernel: IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
Jul 14 09:36:27 paddy kernel: iwlwifi 0000:03:00.0: Radio type=0x0-0x3-0x1
Jul 14 09:36:27 paddy kernel: ata1.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded
Jul 14 09:36:27 paddy kernel: ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
Jul 14 09:36:27 paddy kernel: ata1.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded
Jul 14 09:36:27 paddy kernel: ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
Jul 14 09:36:27 paddy kernel: ata1.00: configured for UDMA/133
Jul 14 09:36:27 paddy /usr/lib/gdm-x-session[1204]: (II) systemd-logind: got resume for 13:65
Jul 14 09:36:27 paddy /usr/lib/gdm-x-session[1204]: (II) systemd-logind: got resume for 13:77
Jul 14 09:36:27 paddy /usr/lib/gdm-x-session[1204]: (II) systemd-logind: got resume for 13:71
Jul 14 09:36:27 paddy /usr/lib/gdm-x-session[1204]: (II) systemd-logind: got resume for 226:0
Jul 14 09:36:27 paddy /usr/lib/gdm-x-session[1204]: (II) NVIDIA(0): Setting mode "DFP-0:nvidia-auto-select"

After downgrade to 4.16.13 everything works as expected.

Hardware: Lenovo ThinkPad W530 with  NVIDIA K2000
NVIDIA Driver: nvidia-340xx

Not sure how to debug this issue or how to provide better logs.

Offline

#2 2018-07-14 08:06:06

loqs
Member
Registered: 2014-03-06
Posts: 5,228

Re: Suspend fails with Kernel >= 4.17.X

Offline

#3 2018-07-14 08:12:26

Spielkind
Member
Registered: 2018-01-17
Posts: 6

Re: Suspend fails with Kernel >= 4.17.X

Probably, thx for pointing this out.

BTW, I use Gnome.
May related:
https://www.spinics.net/linux/fedora/fe … 84609.html
https://bugzilla.redhat.com/show_bug.cgi?id=1597481

Last edited by Spielkind (2018-07-14 08:16:20)

Offline

#4 2018-07-17 12:17:51

rodstu
Member
Registered: 2017-06-06
Posts: 5

Re: Suspend fails with Kernel >= 4.17.X

I have the same exact problem in another hardware

Spielkind wrote:

that every suspend (beside the first suspend after reboot, which works) fails:

Hardware:  Asus Rog G750JH with Nvidia GTX 780M
Using:  4.17.2-1-ARCH, i3 version 4.15 (2018-03-10)

Jul 17 00:35:22 arch-asus kernel: PM: suspend entry (deep)
Jul 17 00:35:22 arch-asus systemd-sleep[4274]: Suspending system...
Jul 17 00:35:22 arch-asus systemd[1]: Starting Suspend...
Jul 17 00:35:22 arch-asus systemd[1]: Reached target Sleep.
Jul 17 00:35:22 arch-asus polkitd[937]: Unregistered Authentication Agent for unix-process:4267:24806836 (system bus name :1.13323, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Jul 17 00:35:22 arch-asus polkitd[937]: Registered Authentication Agent for unix-process:4267:24806836 (system bus name :1.13323 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Jul 17 00:35:02 arch-asus root[4075]: [57B blob data]
Jul 17 00:06:32 arch-asus root[28455]: ACPI group/action undefined: video/displayoff / DOFF
Jul 17 00:06:32 arch-asus root[28453]: [57B blob data]
Jul 17 00:05:57 arch-asus kglobalaccel5[1633]: org.kde.kwindowsystem.keyserver.x11: Your keyboard setup doesn't provide a key to use for meta. See 'xmodmap -pm' or 'xkbcomp $DISPLAY'
Jul 17 00:05:47 arch-asus kglobalaccel5[1633]: org.kde.kwindowsystem.keyserver.x11: Your keyboard setup doesn't provide a key to use for meta. See 'xmodmap -pm' or 'xkbcomp $DISPLAY'
Jul 17 00:05:45 arch-asus root[28236]: [57B blob data]
Jul 17 00:00:21 arch-asus systemd[1]: Started Update man-db cache.
Jul 17 00:00:21 arch-asus mandb[26717]: 0 old database entries were purged.
Jul 17 00:00:21 arch-asus mandb[26717]: 0 stray cats were added.
Jul 17 00:00:21 arch-asus mandb[26717]: 0 manual pages were added.
Jul 17 00:00:21 arch-asus mandb[26717]: 0 man subdirectories contained newer manual pages.
Jul 17 00:00:21 arch-asus mandb[26717]: Processing manual pages under /usr/local/man...

Offline

Board footer

Powered by FluxBB