Dear Linux folks,
On the Dell XPS 13 9360 with Ubuntu 20.04 LTS and Linux
5.4.0-39-generic, testing suspend/resume with `sudo ./sleepgraph.py
-config config/suspend.cfg -multi 50 15` the failure below happened *once*.
> [ 535.034086] xhci_hcd 0000:39:00.0: calling pci_pm_resume+0x0/0xa0 @ 2584, parent: 0000:02:02.0
> [ 535.034172] rtsx_pci 0000:3b:00.0: pci_pm_resume+0x0/0xa0 returned 0 after 988 usecs
> [ 535.036252] mei_me 0000:00:16.0: pci_pm_resume+0x0/0xa0 returned 0 after 3253 usecs
> [ 535.053868] xhci_hcd 0000:39:00.0: Refused to change power state, currently in D3
> [ 535.053890] xhci_hcd 0000:39:00.0: Controller not ready at resume -19
> [ 535.053891] xhci_hcd 0000:39:00.0: PCI post-resume error -19!
> [ 535.053892] xhci_hcd 0000:39:00.0: HC died; cleaning up
> [ 535.053907] PM: dpm_run_callback(): pci_pm_resume+0x0/0xa0 returns -19
> [ 535.053910] xhci_hcd 0000:39:00.0: pci_pm_resume+0x0/0xa0 returned -19 after 19366 usecs
> [ 535.053917] PM: Device 0000:39:00.0 failed to resume async: error -19
[…]
> [ 535.992968] PM: Finishing wakeup.
> [ 535.992972] OOM killer enabled.
> [ 535.992973] Restarting tasks ...
> [ 535.992991] xhci_hcd 0000:39:00.0: remove, state 4
> [ 535.993000] usb usb4: USB disconnect, device number 1
> [ 535.993494] xhci_hcd 0000:39:00.0: USB bus 4 deregistered
> [ 535.993509] xhci_hcd 0000:39:00.0: remove, state 4
> [ 535.993515] usb usb3: USB disconnect, device number 1
> [ 535.998941] done.
> [ 536.002354] xhci_hcd 0000:39:00.0: Host halt failed, -19
> [ 536.002357] xhci_hcd 0000:39:00.0: Host not accessible, reset failed.
> [ 536.002443] xhci_hcd 0000:39:00.0: USB bus 3 deregistered
> [ 536.158698] PM: suspend exit
Is that a Linux driver, or device/firmware problem?
Kind regards,
Paul
On Mon, Jun 29, 2020 at 10:30:59PM +0200, Paul Menzel wrote:
> Dear Linux folks,
>
>
> On the Dell XPS 13 9360 with Ubuntu 20.04 LTS and Linux 5.4.0-39-generic,
That is an old kernel (and a distro one), can you please try 5.7.6 from
kernel.org?
thanks,
greg k-h
Dear Greg,
Am 30.06.20 um 10:42 schrieb Greg KH:
> On Mon, Jun 29, 2020 at 10:30:59PM +0200, Paul Menzel wrote:
>> On the Dell XPS 13 9360 with Ubuntu 20.04 LTS and Linux 5.4.0-39-generic,
>
> That is an old kernel (and a distro one), can you please try 5.7.6 from
> kernel.org?
Trying Linux 5.8-rc4 from the Ubuntu Linux Kernel Mainline PPA [1],
Linux logged the messages below for device 0000:39:00.0 on each of the
50 resumes.
[ 96.057592] xhci_hcd 0000:39:00.0: Timeout while waiting for
setup device command
[ 101.433589] xhci_hcd 0000:39:00.0: Timeout while waiting for
setup device command
In seven of the 50 cases, the timeout messages below was also logged.
[ 51.431713] xhci_hcd 0000:00:14.0: port 2 resume PLC timeout
Please find the log messages attached.
Kind regards,
Paul
[1]: https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.8-rc4/