You are not logged in.

#1 2017-10-10 00:17:20

exup
Member
Registered: 2017-07-13
Posts: 32

[SOLVED] USB3 hub fails after 5 mins : xhci_hcd host controller

Hi all,

I have a generic desktop PC running 4.13.4-1 Arch, everything was running fine, no recent upgrades or changes made to the PC and today my USB keyboard just stopped working after 5 mins. Reboot and everything is ok then suddenly stops. I then plug in another USB device say USB stick into the same backplane of USB slots in the PC and its not detected.

Looking at the journal logs I see these lines

Oct 10 10:23:15 testarch001 kernel: DMAR: DRHD: handling fault status reg 2
Oct 10 10:23:15 testarch001 kernel: DMAR: [DMA Read] Request device [03:00.0] fault addr fff9f000 [fault reason 06] PTE Read access is not set
Oct 10 10:23:15 testarch001 kernel: xhci_hcd 0000:03:00.0: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
Oct 10 10:23:19 testarch001 kernel: xhci_hcd 0000:03:00.0: xHCI host controller not responding, assume dead
Oct 10 10:23:19 testarch001 kernel: xhci_hcd 0000:03:00.0: HC died; cleaning up

This is repeatable.
The back plane of the PC has an number of USB ports it would seem BUS 03 is working OK as shown by the r8712u usb wifi.

/:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
    |__ Port 3: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
    |__ Port 4: Dev 2, If 0, Class=Vendor Specific Class, Driver=r8712u, 480M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M
        |__ Port 6: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 6: Dev 4, If 1, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 6: Dev 4, If 2, Class=Human Interface Device, Driver=usbhid, 12M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M

Can anyone suggest troubleshooting steps to follow, I dont think its hardward as a reboot has the device working until journal complains.

Last edited by exup (2017-10-10 02:33:29)

Offline

#2 2017-10-10 00:19:09

loqs
Member
Registered: 2014-03-06
Posts: 18,123

Re: [SOLVED] USB3 hub fails after 5 mins : xhci_hcd host controller

Welcome to the arch linux forums exup.  https://bbs.archlinux.org/viewtopic.php?id=230362
Edit:
Also please you code tags for commands plus their output.

Last edited by loqs (2017-10-10 00:21:18)

Offline

#3 2017-10-10 00:38:08

exup
Member
Registered: 2017-07-13
Posts: 32

Re: [SOLVED] USB3 hub fails after 5 mins : xhci_hcd host controller

Hi,

Thanks for the reminder about coding tags.

Well I did read that post but it was a bit over my head, I am not sure how to add the "intel_iommu=off" to my kernel parameters. I did look at the gurb.cfg file but made no clear sense to me.
Could you advise how to edit them?

Cheers.

Offline

#4 2017-10-10 00:47:28

loqs
Member
Registered: 2014-03-06
Posts: 18,123

Re: [SOLVED] USB3 hub fails after 5 mins : xhci_hcd host controller

Offline

#5 2017-10-10 02:30:00

exup
Member
Registered: 2017-07-13
Posts: 32

Re: [SOLVED] USB3 hub fails after 5 mins : xhci_hcd host controller

Awesome all working correctly now!

many thanks, learnt something new in the process.

Offline

Board footer

Powered by FluxBB