Suspend Failure xhci_hcd Device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm running F30 on a Thinkpad A485 with a Ryzen R5 2500U but having
trouble suspending the device. I know it's an issue with the USB 3 hub
(xhci device 0000:06:00.4) as seen from dmesg below. The device is
failing to suspend for some reason. After this message there are
warnings about irq_startup associated with this same device so that may
be the issue.

> [   86.338687] PM: suspend entry (deep)
> [   86.338688] PM: Syncing filesystems ... done.
> [   86.348213] Freezing user space processes ... (elapsed 0.002
> seconds) done.
> [   86.350854] OOM killer disabled.
> [   86.350855] Freezing remaining freezable tasks ... (elapsed 0.001
> seconds) done.
> [   86.352112] printk: Suspending console(s) (use no_console_suspend
> to debug)
> [   86.352615] wlp2s0: deauthenticating from MACADDRESS by local
> choice (Reason: 3=DEAUTH_LEAVING)
> [   86.352655] thinkpad_acpi: acpi_evalf(GTRW, dd, ...) failed:
> AE_NOT_FOUND
> [   86.352656] thinkpad_acpi: Cannot read adaptive keyboard mode.
> [   86.594743] xhci_hcd 0000:06:00.4: WARN: xHC CMD_RUN timeout
> [   86.609822] PM: suspend_common(): xhci_pci_suspend+0x0/0xd0 returns
> -110
> [   86.609826] PM: pci_pm_suspend(): hcd_pci_suspend+0x0/0x30 returns -110
> [   86.609832] PM: dpm_run_callback(): pci_pm_suspend+0x0/0x120
> returns -110
> [   86.609835] PM: Device 0000:06:00.4 failed to suspend async: error -110

I've tried disabling wakeup from the specified device in
/proc/acpi/wakeup. This has allowed me to enter suspend correctly once
but doesn't work consistently.
> GPP0      S3    *enabled   pci:0000:00:01.1
> GPP1      S3    *disabled  pci:0000:00:01.2
> GPP2      S3    *enabled   pci:0000:00:01.3
> GPP3      S3    *enabled   pci:0000:00:01.4
> GPP4      S3    *disabled
> L850      S3    *disabled
> GPP5      S3    *enabled   pci:0000:00:01.6
> GPP6      S3    *disabled
> GP17      S3    *enabled   pci:0000:00:08.1
> XHC0      S3    *disabled  pci:0000:06:00.3
> XHC1      S3    *disabled  pci:0000:06:00.4
> GP18      S3    *enabled   pci:0000:00:08.2
> LID      S3    *enabled   platform:PNP0C0D:00
> SLPB      S3    *enabled   platform:PNP0C0E:00

Searching on Google I've only found information from kernel lists about
needed usb3 slow suspend enabled but that appeared resolved on the
kernel side or adding SUSPEND_MODULE="xhci_hcd" to no avail.

Has anyone experienced this issue before or know where I should be
looking further? Perhaps suspend just isn't working correctly with this
Thinkpad model on the current kernel?

The full dmesg is attached if that is helpful.

Regards.

[   86.338687] PM: suspend entry (deep)
[   86.338688] PM: Syncing filesystems ... done.
[   86.348213] Freezing user space processes ... (elapsed 0.002 seconds) done.
[   86.350854] OOM killer disabled.
[   86.350855] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[   86.352112] printk: Suspending console(s) (use no_console_suspend to debug)
[   86.352615] wlp2s0: deauthenticating from MACADDRESS by local choice (Reason: 3=DEAUTH_LEAVING)
[   86.352655] thinkpad_acpi: acpi_evalf(GTRW, dd, ...) failed: AE_NOT_FOUND
[   86.352656] thinkpad_acpi: Cannot read adaptive keyboard mode.
[   86.594743] xhci_hcd 0000:06:00.4: WARN: xHC CMD_RUN timeout
[   86.609822] PM: suspend_common(): xhci_pci_suspend+0x0/0xd0 returns -110
[   86.609826] PM: pci_pm_suspend(): hcd_pci_suspend+0x0/0x30 returns -110
[   86.609832] PM: dpm_run_callback(): pci_pm_suspend+0x0/0x120 returns -110
[   86.609835] PM: Device 0000:06:00.4 failed to suspend async: error -110
[   86.667757] WARNING: CPU: 6 PID: 65 at kernel/irq/chip.c:210 irq_startup+0xe2/0xf0
[   86.667758] Modules linked in: fuse rfcomm ccm xt_CHECKSUM ipt_MASQUERADE tun bridge stp llc nf_conntrack_netbios_ns nf_conntrack_broadcast xt_CT ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 ipt_REJECT nf_reject_ipv4 xt_conntrack ebtable_nat ip6table_nat ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_nat iptable_mangle iptable_raw iptable_security nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c ip_set nfnetlink ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter ip_tables cmac bnep sunrpc vfat fat arc4 r8822be(C) uvcvideo edac_mce_amd videobuf2_vmalloc kvm_amd videobuf2_memops videobuf2_v4l2 btusb videobuf2_common btrtl joydev videodev ccp btbcm btintel snd_hda_codec_realtek kvm snd_hda_codec_generic snd_hda_codec_hdmi media mac80211 wmi_bmof bluetooth snd_hda_intel snd_hda_codec irqbypass snd_hda_core ecdh_generic snd_hwdep snd_seq snd_seq_device snd_pcm cfg80211 thinkpad_acpi sp5100_tco i2c_piix4 k10temp ledtrig_audio ipmi_devintf snd_timer ipmi_msghandler
[   86.667812]  snd rtsx_pci_ms soundcore memstick rfkill ucsi_acpi typec_ucsi typec pcc_cpufreq i2c_scmi acpi_cpufreq dm_crypt amdgpu rtsx_pci_sdmmc mmc_core i2c_algo_bit chash gpu_sched amd_iommu_v2 ttm drm_kms_helper crct10dif_pclmul crc32_pclmul crc32c_intel drm ghash_clmulni_intel serio_raw nvme nvme_core r8169 rtsx_pci wmi video
[   86.667835] CPU: 6 PID: 65 Comm: kworker/u32:1 Tainted: G         C        5.1.18-300.fc30.x86_64 #1
[   86.667837] Hardware name: LENOVO 20MU000TUS/20MU000TUS, BIOS R0WET56W (1.24 ) 06/28/2019
[   86.667841] Workqueue: events_unbound async_run_entry_fn
[   86.667845] RIP: 0010:irq_startup+0xe2/0xf0
[   86.667848] Code: f6 4c 89 e7 e8 cf 2f 00 00 85 c0 75 21 4c 89 e7 31 d2 4c 89 ee e8 5e d1 ff ff 48 89 ef e8 b6 fe ff ff 41 89 c4 e9 55 ff ff ff <0f> 0b eb b6 0f 0b eb b2 66 0f 1f 44 00 00 0f 1f 44 00 00 55 48 89
[   86.667850] RSP: 0018:ffffbaa181c33c30 EFLAGS: 00010002
[   86.667852] RAX: 0000000000000010 RBX: 0000000000000001 RCX: 0000000000000040
[   86.667854] RDX: 0000000000000000 RSI: ffffffff93374d60 RDI: ffff9e157db783c8
[   86.667855] RBP: ffff9e1575626600 R08: 0000000000000000 R09: ffff9e15750b89b0
[   86.667856] R10: 0000000000000000 R11: ffffffff932590a8 R12: 0000000000000001
[   86.667857] R13: ffff9e157db783c8 R14: 0000000000000000 R15: ffff9e157d99b000
[   86.667859] FS:  0000000000000000(0000) GS:ffff9e157fd80000(0000) knlGS:0000000000000000
[   86.667861] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   86.667862] CR2: 000055b0552f3b28 CR3: 00000003dbf26000 CR4: 00000000003406e0
[   86.667863] Call Trace:
[   86.667871]  enable_irq+0x48/0x90
[   86.667880]  nvme_poll_irqdisable+0x14a/0x3b0 [nvme]
[   86.667884]  ? wake_up_q+0x60/0x60
[   86.667889]  __nvme_disable_io_queues+0x19e/0x1e0 [nvme]
[   86.667894]  ? nvme_del_queue_end+0x20/0x20 [nvme]
[   86.667902]  nvme_dev_disable+0x15c/0x210 [nvme]
[   86.667906]  nvme_suspend+0x16/0x20 [nvme]
[   86.667909]  pci_pm_suspend+0x71/0x120
[   86.667912]  ? pci_pm_freeze+0xd0/0xd0
[   86.667916]  dpm_run_callback+0x4f/0x140
[   86.667919]  __device_suspend+0x11e/0x4b0
[   86.667923]  async_suspend+0x1b/0x90
[   86.667925]  async_run_entry_fn+0x39/0x160
[   86.667929]  process_one_work+0x19d/0x380
[   86.667932]  worker_thread+0x50/0x3b0
[   86.667935]  kthread+0xfb/0x130
[   86.667937]  ? process_one_work+0x380/0x380
[   86.667939]  ? kthread_park+0x90/0x90
[   86.667944]  ret_from_fork+0x22/0x40
[   86.667948] ---[ end trace 1687ddc95c5d34a5 ]---
[   86.777203] PM: Some devices failed to suspend, or early wake event detected
[   86.777309] r8822be: rtlwifi: wireless switch is on
[   86.779890] hub 4-0:1.0: hub_ext_port_status failed (err = -108)
[   86.779890] usb usb4-port1: cannot disable (err = -108)
[   86.779890] hub 4-0:1.0: hub_ext_port_status failed (err = -108)
[   86.779890] usb usb4-port2: cannot disable (err = -108)
[   86.781928] ACPI: button: The lid device is not compliant to SW_LID.
[   86.790005] [drm] PCIE GART of 1024M enabled (table at 0x000000F400000000).
[   86.790036] [drm] PSP is resuming...
[   86.810077] [drm] reserve 0x400000 from 0xf400b00000 for PSP TMR SIZE
[   86.812984] [drm] psp command failed and response status is (-65529)
[   86.992786] nvme nvme0: 16/0/0 default/read/poll queues
[   87.101278] ata1: SATA link down (SStatus 0 SControl 300)
[   87.252499] amdgpu: [powerplay] dpm has been enabled
[   87.366582] [drm] VCN decode and encode initialized successfully(under SPG Mode).
[   87.366605] amdgpu 0000:06:00.0: ring gfx uses VM inv eng 0 on hub 0
[   87.366607] amdgpu 0000:06:00.0: ring comp_1.0.0 uses VM inv eng 1 on hub 0
[   87.366609] amdgpu 0000:06:00.0: ring comp_1.1.0 uses VM inv eng 4 on hub 0
[   87.366611] amdgpu 0000:06:00.0: ring comp_1.2.0 uses VM inv eng 5 on hub 0
[   87.366612] amdgpu 0000:06:00.0: ring comp_1.3.0 uses VM inv eng 6 on hub 0
[   87.366614] amdgpu 0000:06:00.0: ring comp_1.0.1 uses VM inv eng 7 on hub 0
[   87.366615] amdgpu 0000:06:00.0: ring comp_1.1.1 uses VM inv eng 8 on hub 0
[   87.366617] amdgpu 0000:06:00.0: ring comp_1.2.1 uses VM inv eng 9 on hub 0
[   87.366619] amdgpu 0000:06:00.0: ring comp_1.3.1 uses VM inv eng 10 on hub 0
[   87.366620] amdgpu 0000:06:00.0: ring kiq_2.1.0 uses VM inv eng 11 on hub 0
[   87.366622] amdgpu 0000:06:00.0: ring sdma0 uses VM inv eng 0 on hub 1
[   87.366624] amdgpu 0000:06:00.0: ring vcn_dec uses VM inv eng 1 on hub 1
[   87.366625] amdgpu 0000:06:00.0: ring vcn_enc0 uses VM inv eng 4 on hub 1
[   87.366627] amdgpu 0000:06:00.0: ring vcn_enc1 uses VM inv eng 5 on hub 1
[   87.366629] amdgpu 0000:06:00.0: ring vcn_jpeg uses VM inv eng 6 on hub 1
[   87.377254] thinkpad_acpi: acpi_evalf(STRW, vd, ...) failed: AE_NOT_FOUND
[   87.377255] thinkpad_acpi: Cannot set adaptive keyboard mode.
[   87.415619] PM: resume devices took 0.638 seconds
[   87.415643] acpi LNXPOWER:03: Turning OFF
[   87.415664] acpi LNXPOWER:00: Turning OFF
[   87.415674] OOM killer enabled.
[   87.415675] Restarting tasks ... done.
[   87.689107] psmouse serio1: synaptics: queried max coordinates: x [..5676], y [..4690]
[   87.731196] psmouse serio1: synaptics: queried min coordinates: x [1266..], y [1162..]
[   87.795743] PM: suspend exit
[   87.795880] PM: suspend entry (s2idle)
[   87.795881] PM: Syncing filesystems ... done.
[   90.894742] wlp2s0: authenticate with MACADDRESS
[   90.895287] wlp2s0: send auth to MACADDRESS (try 1/3)
[   90.896682] wlp2s0: authenticated
[   90.897975] wlp2s0: associate with MACADDRESS (try 1/3)
[   90.899133] wlp2s0: RX AssocResp from MACADDRESS (capab=0x1011 status=0 aid=2)
[   90.899422] wlp2s0: associated
[   91.704513] Freezing user space processes ... (elapsed 0.002 seconds) done.
[   91.707073] OOM killer disabled.
[   91.707074] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[   91.708087] printk: Suspending console(s) (use no_console_suspend to debug)
[   91.708666] thinkpad_acpi: acpi_evalf(GTRW, dd, ...) failed: AE_NOT_FOUND
[   91.708667] thinkpad_acpi: Cannot read adaptive keyboard mode.
[   91.708677] wlp2s0: deauthenticating from MACADDRESS by local choice (Reason: 3=DEAUTH_LEAVING)
[   92.129431] PM: suspend devices took 0.421 seconds
[   92.135638] ACPI: EC: interrupt blocked
[   92.170730] ACPI: EC: interrupt unblocked
[   92.212026] r8822be: rtlwifi: wireless switch is on
[   92.213836] [drm] PCIE GART of 1024M enabled (table at 0x000000F400000000).
[   92.213874] [drm] PSP is resuming...
[   92.233913] [drm] reserve 0x400000 from 0xf400b00000 for PSP TMR SIZE
[   92.236014] [drm] psp command failed and response status is (-65529)
[   92.427038] nvme nvme0: 16/0/0 default/read/poll queues
[   92.531602] ata1: SATA link down (SStatus 0 SControl 300)
[   92.990313] psmouse serio1: synaptics: queried max coordinates: x [..5676], y [..4690]
[   93.024582] psmouse serio1: synaptics: queried min coordinates: x [1266..], y [1162..]
[   93.453851] amdgpu: [powerplay] dpm has been enabled
[   93.585501] [drm] VCN decode and encode initialized successfully(under SPG Mode).
[   93.585532] amdgpu 0000:06:00.0: ring gfx uses VM inv eng 0 on hub 0
[   93.585534] amdgpu 0000:06:00.0: ring comp_1.0.0 uses VM inv eng 1 on hub 0
[   93.585536] amdgpu 0000:06:00.0: ring comp_1.1.0 uses VM inv eng 4 on hub 0
[   93.585538] amdgpu 0000:06:00.0: ring comp_1.2.0 uses VM inv eng 5 on hub 0
[   93.585539] amdgpu 0000:06:00.0: ring comp_1.3.0 uses VM inv eng 6 on hub 0
[   93.585540] amdgpu 0000:06:00.0: ring comp_1.0.1 uses VM inv eng 7 on hub 0
[   93.585542] amdgpu 0000:06:00.0: ring comp_1.1.1 uses VM inv eng 8 on hub 0
[   93.585543] amdgpu 0000:06:00.0: ring comp_1.2.1 uses VM inv eng 9 on hub 0
[   93.585545] amdgpu 0000:06:00.0: ring comp_1.3.1 uses VM inv eng 10 on hub 0
[   93.585546] amdgpu 0000:06:00.0: ring kiq_2.1.0 uses VM inv eng 11 on hub 0
[   93.585548] amdgpu 0000:06:00.0: ring sdma0 uses VM inv eng 0 on hub 1
[   93.585549] amdgpu 0000:06:00.0: ring vcn_dec uses VM inv eng 1 on hub 1
[   93.585551] amdgpu 0000:06:00.0: ring vcn_enc0 uses VM inv eng 4 on hub 1
[   93.585552] amdgpu 0000:06:00.0: ring vcn_enc1 uses VM inv eng 5 on hub 1
[   93.585553] amdgpu 0000:06:00.0: ring vcn_jpeg uses VM inv eng 6 on hub 1
[   93.596684] thinkpad_acpi: acpi_evalf(STRW, vd, ...) failed: AE_NOT_FOUND
[   93.596686] thinkpad_acpi: Cannot set adaptive keyboard mode.
[   93.604504] PM: resume devices took 1.393 seconds
[   93.604507] OOM killer enabled.
[   93.604508] Restarting tasks ... 
[   93.604614] usb 4-1: USB disconnect, device number 2
[   93.604617] usb 4-1.1: USB disconnect, device number 4
[   93.607497] done.
[   93.835618] PM: suspend exit
[   94.192109] Generic Realtek PHY r8169-400:00: attached PHY driver [Generic Realtek PHY] (mii_bus:phy_addr=r8169-400:00, irq=IGNORE)
[   94.326595] r8169 0000:04:00.0 enp4s0f0: Link is Down
[   94.329292] Generic Realtek PHY r8169-500:00: attached PHY driver [Generic Realtek PHY] (mii_bus:phy_addr=r8169-500:00, irq=IGNORE)
[   94.354277] psmouse serio2: trackpoint: IBM TrackPoint firmware: 0x0e, buttons: 3/3
[   94.435166] r8169 0000:05:00.0 enp5s0: Link is Down
[   94.622846] input: TPPS/2 IBM TrackPoint as /devices/platform/i8042/serio1/serio2/input/input16
[  101.038040] xhci_hcd 0000:06:00.4: Timeout while waiting for configure endpoint command
[  101.730792] wlp2s0: authenticate with MACADDRESS
[  101.731398] wlp2s0: send auth to MACADDRESS (try 1/3)
[  101.732670] wlp2s0: authenticated
[  101.733984] wlp2s0: associate with MACADDRESS (try 1/3)
[  101.735403] wlp2s0: RX AssocResp from MACADDRESS (capab=0x1011 status=0 aid=2)
[  101.735671] wlp2s0: associated
[  101.770463] IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes ready
[  113.326453] xhci_hcd 0000:06:00.4: Timeout while waiting for configure endpoint command
[  125.614022] xhci_hcd 0000:06:00.4: Error while assigning device slot ID
[  125.614027] xhci_hcd 0000:06:00.4: Max number of devices this xHCI host supports is 64.
[  125.614031] usb usb4-port1: couldn't allocate usb_device
[  125.614084] usb 4-2: USB disconnect, device number 3
[  125.614087] usb 4-2.2: USB disconnect, device number 5
[  137.902053] xhci_hcd 0000:06:00.4: Timeout while waiting for configure endpoint command
[  137.902577] usb 4-2.4: USB disconnect, device number 6
[  150.190323] xhci_hcd 0000:06:00.4: Timeout while waiting for configure endpoint command
[  162.478351] xhci_hcd 0000:06:00.4: Timeout while waiting for configure endpoint command
[  174.766419] xhci_hcd 0000:06:00.4: Error while assigning device slot ID
[  174.766432] xhci_hcd 0000:06:00.4: Max number of devices this xHCI host supports is 64.
[  174.766437] usb usb4-port2: couldn't allocate usb_device

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux