You are not logged in.

#1 2020-04-20 06:37:02

jeanmarc
Member
Registered: 2019-12-18
Posts: 17

xhci_hcd ERROR Transfer

Hi,

I use several USB converters and arduino on a same device.

[root@i3 ~]# lsusb -t
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/9p, 480M
    |__ Port 2: Dev 2, If 0, Class=Vendor Specific Class, Driver=pl2303, 12M
    |__ Port 3: Dev 3, If 0, Class=Vendor Specific Class, Driver=ftdi_sio, 12M
    |__ Port 5: Dev 4, If 0, Class=Communications, Driver=cdc_acm, 12M
    |__ Port 5: Dev 4, If 1, Class=CDC Data, Driver=cdc_acm, 12M
    |__ Port 6: Dev 5, If 0, Class=Communications, Driver=cdc_acm, 12M
    |__ Port 6: Dev 5, If 1, Class=CDC Data, Driver=cdc_acm, 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/8p, 480M

After few hours, i got hang in communication with them and xhci_hcd errors :

Apr 20 05:16:34 i3 kernel: xhci_hcd 0000:00:14.0: Looking for event-dma 0000000036c92d30 trb-start 0000000036c92000 trb-end 0000000036c92cf0 seg-start 0000000036c92000 seg-end 0000000036c92ff0
Apr 20 05:16:34 i3 kernel: xhci_hcd 0000:00:14.0: Looking for event-dma 0000000036c92d30 trb-start 000000006eff1010 trb-end 0000000000000000 seg-start 000000006eff1000 seg-end 000000006eff1ff0
Apr 20 05:16:34 i3 kernel: xhci_hcd 0000:00:14.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 6 comp_code 13

The only way i found was to get it back was to replug the USB, but it's really painfull.

I'am not sure it is related but i don't use UEFI

[root@i3 ~]# bootctl status
Couldn't find EFI system partition. It is recommended to mount it to /boot or /efi.
Alternatively, use --esp-path= to specify path to mount point.
System:
    Not booted with EFI

Can you help me with this issue or lead me in the right direction ?

Thanks
Cheers


ps for the modo: I post this on a Manjaro desktop but it is related to a plain Arch computer
[root@i3 ~]# uname -a
Linux i3 5.6.4-arch1-1 #1 SMP PREEMPT Mon, 13 Apr 2020 12:21:19 +0000 x86_64 GNU/Linux

Offline

#2 2020-04-20 13:21:41

jeanmarc
Member
Registered: 2019-12-18
Posts: 17

Re: xhci_hcd ERROR Transfer

I've disabled xHCI Hand-Off in my BIOS. Let see how it behave now roll

Offline

#3 2020-04-21 09:31:47

jeanmarc
Member
Registered: 2019-12-18
Posts: 17

Re: xhci_hcd ERROR Transfer

Not much better
Apr 21 11:05:59 i3 kernel: xhci_hcd 0000:00:14.0: ep deq seg = 00000000e2efae92, deq ptr = 000000007d3d19f5
Apr 21 11:05:59 i3 kernel: xhci_hcd 0000:00:14.0: Mismatch between completed Set TR Deq Ptr command & xHCI internal state.

Offline

#4 2020-04-24 12:40:28

jeanmarc
Member
Registered: 2019-12-18
Posts: 17

Re: xhci_hcd ERROR Transfer

So far, i notice the problem appear only when i use more than one device using the cdc_acm driver.
I await to replace one arduino (leonardo) with a Uno R3 which should use ftdi_sio.

Offline

Board footer

Powered by FluxBB