You are not logged in.

#1 2018-07-06 19:35:30

chris_muc
Member
Registered: 2017-11-16
Posts: 3

issue with suspend

Kernel: 4.17.3-1-ARCH
Laptop: T480 with SSD (nvme, no optical drives, no usb devices attached)

Very often (but not always) I cannot suspend.
dmesg shows:

ruby-2.4.1 [chris@t480cia ~]$ dmesg |tail -n 20
[50269.899853] PM: suspend exit
[50269.899897] PM: suspend entry (s2idle)
[50269.899898] PM: Syncing filesystems ... done.
[50269.904495] Freezing user space processes ... (elapsed 0.002 seconds) done.
[50269.906799] OOM killer disabled.
[50269.906799] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[50269.908538] Suspending console(s) (use no_console_suspend to debug)
[50269.908763] xhci_hcd 0000:0b:00.0: WARN: xHC CMD_RUN timeout
[50269.908768] suspend_common(): xhci_pci_suspend+0x0/0xc0 [xhci_pci] returns -110
[50269.908776] pci_pm_suspend(): hcd_pci_suspend+0x0/0x30 [usbcore] returns -110
[50269.908779] dpm_run_callback(): pci_pm_suspend+0x0/0x120 returns -110
[50269.908780] PM: Device 0000:0b:00.0 failed to suspend async: error -110
[50270.062511] PM: Some devices failed to suspend, or early wake event detected
[50270.062599] pciehp 0000:08:04.0:pcie204: pcie_do_write_cmd: no response from device
[50270.079183] xhci_hcd 0000:09:00.0: Refused to change power state, currently in D3
[50271.502836] pciehp 0000:08:04.0:pcie204: link training error: status 0xffff
[50271.502842] pciehp 0000:08:04.0:pcie204: Failed to check link status
[50271.510451] OOM killer enabled.
[50271.510453] Restarting tasks ... done.
[50271.576948] PM: suspend exit

Anyone could give me hint what to check for the reason?

thanks,
Chris

PS. Here dmesg log from successful suspend (after fresh reboot):

[   58.344009] wlp3s0: authenticate with 5c:49:79:2a:c7:95
[   58.359297] wlp3s0: send auth to 5c:49:79:2a:c7:95 (try 1/3)
[   58.367501] wlp3s0: authenticated
[   58.371497] wlp3s0: associate with 5c:49:79:2a:c7:95 (try 1/3)
[   58.386286] wlp3s0: RX AssocResp from 5c:49:79:2a:c7:95 (capab=0x411 status=0 aid=2)
[   58.390588] wlp3s0: associated
[   58.414082] wlp3s0: Limiting TX power to 20 (23 - 3) dBm as advertised by 5c:49:79:2a:c7:95
[  102.795545] PM: suspend entry (deep)
[  102.795549] PM: Syncing filesystems ... done.
[  102.804216] Freezing user space processes ... (elapsed 0.001 seconds) done.
[  102.806170] OOM killer disabled.
[  102.806171] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[  102.807621] Suspending console(s) (use no_console_suspend to debug)
[  102.959026] wlp3s0: deauthenticating from 5c:49:79:2a:c7:95 by local choice (Reason: 3=DEAUTH_LEAVING)
[  103.106489] e1000e: EEE TX LPI TIMER: 00000011
[  104.313500] thunderbolt 0000:06:00.0: stopping RX ring 0
[  104.313510] thunderbolt 0000:06:00.0: disabling interrupt at register 0x38200 bit 12 (0x1001 -> 0x1)
[  104.313520] thunderbolt 0000:06:00.0: stopping TX ring 0
[  104.313561] ACPI: EC: interrupt blocked
[  104.313823] thunderbolt 0000:06:00.0: disabling interrupt at register 0x38200 bit 0 (0x1 -> 0x0)
[  104.313830] thunderbolt 0000:06:00.0: control channel stopped
[  104.560190] ACPI: Preparing to enter system sleep state S3
[  104.565803] ACPI: EC: event blocked
[  104.565803] ACPI: EC: EC stopped
[  104.565803] PM: Saving platform NVS memory
[  104.565808] Disabling non-boot CPUs ...
[  104.604481] smpboot: CPU 1 is now offline
[  104.644735] smpboot: CPU 2 is now offline
[  104.698140] smpboot: CPU 3 is now offline
[  104.764734] smpboot: CPU 4 is now offline
[  104.808036] smpboot: CPU 5 is now offline
[  104.871284] smpboot: CPU 6 is now offline
[  104.914613] smpboot: CPU 7 is now offline
[  104.918787] ACPI: Low-level resume complete
[  104.918867] ACPI: EC: EC started
[  104.918867] PM: Restoring platform NVS memory
[  104.919644] Enabling non-boot CPUs ...
[  104.919674] x86: Booting SMP configuration:
[  104.919675] smpboot: Booting Node 0 Processor 1 APIC 0x2
[  104.920052]  cache: parent cpu1 should not be sleeping
[  104.920176] CPU1 is up
[  104.920194] smpboot: Booting Node 0 Processor 2 APIC 0x4
[  104.920576]  cache: parent cpu2 should not be sleeping
[  104.920707] CPU2 is up
[  104.920723] smpboot: Booting Node 0 Processor 3 APIC 0x6
[  104.921102]  cache: parent cpu3 should not be sleeping
[  104.921243] CPU3 is up
[  104.921259] smpboot: Booting Node 0 Processor 4 APIC 0x1
[  104.921684]  cache: parent cpu4 should not be sleeping
[  104.921833] CPU4 is up
[  104.921853] smpboot: Booting Node 0 Processor 5 APIC 0x3
[  104.922228]  cache: parent cpu5 should not be sleeping
[  104.922386] CPU5 is up
[  104.922403] smpboot: Booting Node 0 Processor 6 APIC 0x5
[  104.922787]  cache: parent cpu6 should not be sleeping
[  104.922954] CPU6 is up
[  104.922971] smpboot: Booting Node 0 Processor 7 APIC 0x7
[  104.923362]  cache: parent cpu7 should not be sleeping
[  104.923688] CPU7 is up
[  104.936969] ACPI: Waking up from system sleep state S3
[  105.018503] thinkpad_acpi: unknown possible thermal alarm or keyboard event received
[  105.018505] thinkpad_acpi: unhandled HKEY event 0x6032
[  105.018506] thinkpad_acpi: please report the conditions when this event happened to ibm-acpi-devel@lists.sourceforge.net
[  105.020814] ACPI: EC: interrupt unblocked
[  105.078335] thunderbolt 0000:06:00.0: control channel starting...
[  105.078337] thunderbolt 0000:06:00.0: starting TX ring 0
[  105.078344] thunderbolt 0000:06:00.0: enabling interrupt at register 0x38200 bit 0 (0x0 -> 0x1)
[  105.078346] thunderbolt 0000:06:00.0: starting RX ring 0
[  105.078353] thunderbolt 0000:06:00.0: enabling interrupt at register 0x38200 bit 12 (0x1 -> 0x1001)
[  105.264948] ACPI: EC: event unblocked
[  105.275507] usb 2-3: Disable of device-initiated U1 failed.
[  105.279100] usb 2-3: Disable of device-initiated U2 failed.
[  105.470329] usb 2-3: reset SuperSpeed USB device number 2 using xhci_hcd
[  105.485347] nvme nvme0: Shutdown timeout set to 8 seconds
[  105.613669] usb 1-9: reset full-speed USB device number 4 using xhci_hcd
[  105.876952] usb 1-10: reset full-speed USB device number 5 using xhci_hcd
[  106.140267] usb 1-8: reset high-speed USB device number 3 using xhci_hcd
[  106.257736] psmouse serio1: synaptics: queried max coordinates: x [..5676], y [..4690]
[  106.290305] psmouse serio1: synaptics: queried min coordinates: x [1266..], y [1162..]
[  106.402929] acpi LNXPOWER:01: Turning OFF
[  106.403446] OOM killer enabled.
[  106.403448] Restarting tasks ... 
[  106.404662] pci_bus 0000:05: Allocating resources
[  106.405316] pci_bus 0000:05: Allocating resources
[  106.411637] done.
[  106.482200] PM: suspend exit

Last edited by chris_muc (2018-07-06 19:43:39)

Offline

#2 2018-07-06 19:42:00

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: issue with suspend

Please use [code⁣] [/code⁣] tags around command outputs when posting.
CoC - Pasting pictures and code


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2018-07-06 20:51:12

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,843

Offline

Board footer

Powered by FluxBB