xhci_hcd: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 2 comp_code 13

Bug #1667750 reported by l3iggs
262
This bug affects 54 people
Affects Status Importance Assigned to Milestone
HWE Next
Undecided
Unassigned
Linux
Confirmed
High
linux (Arch Linux)
New
Undecided
Unassigned
linux (Debian)
New
Undecided
Unassigned
linux (Fedora)
Confirmed
Undecided
linux (Ubuntu)
Medium
Kai-Heng Feng
Xenial
Undecided
Unassigned
Zesty
Undecided
Unassigned
Artful
Medium
Kai-Heng Feng

Bug Description

[SRU Justification]

[Impact]
Dell TB16 docking station has issue to use gigabit ethernet. The ethernet
will disconnect unless it's changed to 100Mb/s.

[Test Case]
Download some big files from the web.
User confirms the patch fixes the issue.

[Regression Potential]
This patch only effects ASMEDIA's ASM1042A.
The regression potential is low, also limited to the specific device.

---

My system contains a Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter which is on usb3 bus in my docking station (Dell TB16) which is attached to my laptop (Dell XPS9550) via Thunderbolt 3.

I get usb related kernel error messages when I initiate a high speed transfer (by issuing wget http://cdimage.ubuntu.com/daily-live/current/zesty-desktop-amd64.iso) and the download fails.

This does not happened when the Ethernet adapter is connected to a 100Mb/s switch, but only when connected to 1000Mb/s. It also does not happened with slow traffic (e.g. web page browsing). This is not a new bug with kernel 4.10, but has been going on since at least 4.7 and maybe (probably?) since forever. I'm aware of several others with this configuration (RTL8153 on usb3 behind thunderbolt 3) that have the same issue. This bug is also not specific to Ubuntu; I also get it on Arch Linux. I've also tested and seen this bug with several different models of thunderbolt 3 docks.

Here are the relevant kernel log messages:

Feb 24 16:42:38 ubuntu kernel: xhci_hcd 0000:0e:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 2 comp_code 13
Feb 24 16:42:38 ubuntu kernel: xhci_hcd 0000:0e:00.0: Looking for event-dma 00000004777d9010 trb-start 0000000475a14fe0 trb-end 0000000475a14fe0 seg-start 0000000475a14000 seg-end 0000000475a14ff0
Feb 24 16:42:38 ubuntu kernel: xhci_hcd 0000:0e:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 2 comp_code 13
Feb 24 16:42:38 ubuntu kernel: xhci_hcd 0000:0e:00.0: Looking for event-dma 00000004777d9020 trb-start 0000000475a14fe0 trb-end 0000000475a14fe0 seg-start 0000000475a14000 seg-end 0000000475a14ff0
Feb 24 16:42:38 ubuntu kernel: xhci_hcd 0000:0e:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 2 comp_code 13
Feb 24 16:42:38 ubuntu kernel: xhci_hcd 0000:0e:00.0: Looking for event-dma 00000004777d9030 trb-start 0000000475a14fe0 trb-end 0000000475a14fe0 seg-start 0000000475a14000 seg-end 0000000475a14ff0
Feb 24 16:42:38 ubuntu kernel: xhci_hcd 0000:0e:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 2 comp_code 13
Feb 24 16:42:38 ubuntu kernel: xhci_hcd 0000:0e:00.0: Looking for event-dma 00000004777d9040 trb-start 0000000475a14fe0 trb-end 0000000475a14fe0 seg-start 0000000475a14000 seg-end 0000000475a14ff0
Feb 24 16:42:38 ubuntu kernel: xhci_hcd 0000:0e:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 2 comp_code 13
Feb 24 16:42:38 ubuntu kernel: xhci_hcd 0000:0e:00.0: Looking for event-dma 00000004777d9050 trb-start 0000000475a14fe0 trb-end 0000000475a14fe0 seg-start 0000000475a14000 seg-end 0000000475a14ff0
Feb 24 16:42:38 ubuntu kernel: xhci_hcd 0000:0e:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 2 comp_code 13
Feb 24 16:42:38 ubuntu kernel: xhci_hcd 0000:0e:00.0: Looking for event-dma 00000004777d9060 trb-start 0000000475a14fe0 trb-end 0000000475a14fe0 seg-start 0000000475a14000 seg-end 0000000475a14ff0
Feb 24 16:42:39 ubuntu kernel: xhci_hcd 0000:0e:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 2 comp_code 13
Feb 24 16:42:39 ubuntu kernel: xhci_hcd 0000:0e:00.0: Looking for event-dma 00000004777d9070 trb-start 0000000475a14fe0 trb-end 0000000475a14fe0 seg-start 0000000475a14000 seg-end 0000000475a14ff0
Feb 24 16:42:39 ubuntu kernel: xhci_hcd 0000:0e:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 2 comp_code 13
Feb 24 16:42:39 ubuntu kernel: xhci_hcd 0000:0e:00.0: Looking for event-dma 00000004777d9080 trb-start 0000000475a14fe0 trb-end 0000000475a14fe0 seg-start 0000000475a14000 seg-end 0000000475a14ff0
Feb 24 16:43:06 ubuntu kernel: r8152 4-1.2:1.0 enx204747f8f471: Tx timeout
Feb 24 16:43:06 ubuntu kernel: r8152 4-1.2:1.0 enx204747f8f471: Tx status -2
Feb 24 16:43:06 ubuntu kernel: r8152 4-1.2:1.0 enx204747f8f471: Tx status -2
Feb 24 16:43:06 ubuntu kernel: r8152 4-1.2:1.0 enx204747f8f471: Tx status -2
Feb 24 16:43:06 ubuntu kernel: r8152 4-1.2:1.0 enx204747f8f471: Tx status -2
Feb 24 16:43:09 ubuntu kernel: usb 4-1.2: reset SuperSpeed USB device number 3 using xhci_hcd

I can't seem to make this bug appear with any other type of USB traffic. I've reported it to the realtek kernel dev team and they don't think their RTL8153 driver (in this case the r8152 module) is to blame, but instead that it's an xhci_hcd issue.

If you look through the dmesg log attached here, you'll see that at 45.967025 I plugged the thunderbolt 3 cable from my dock into my laptop.

ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: linux-image-4.10.0-8-generic 4.10.0-8.10
ProcVersionSignature: Ubuntu 4.10.0-8.10-generic 4.10.0-rc8
Uname: Linux 4.10.0-8-generic x86_64
ApportVersion: 2.20.4-0ubuntu2
Architecture: amd64
CasperVersion: 1.380
CurrentDesktop: Unity:Unity7
Date: Fri Feb 24 16:53:35 2017
LiveMediaBuild: Ubuntu 17.04 "Zesty Zapus" - Alpha amd64 (20170224)
MachineType: Dell Inc. XPS 15 9550
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/username.seed boot=casper quiet splash ---
RelatedPackageVersions:
 linux-restricted-modules-4.10.0-8-generic N/A
 linux-backports-modules-4.10.0-8-generic N/A
 linux-firmware 1.163
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/22/2016
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.2.19
dmi.board.name: 0N7TVV
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 9
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr1.2.19:bd12/22/2016:svnDellInc.:pnXPS159550:pvr:rvnDellInc.:rn0N7TVV:rvrA00:cvnDellInc.:ct9:cvr:
dmi.product.name: XPS 15 9550
dmi.sys.vendor: Dell Inc.

Revision history for this message
l3iggs (l3iggs) wrote :
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
l3iggs (l3iggs)
description: updated
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Did this issue start happening after an update/upgrade? Was there a prior kernel version where you were not having this particular problem?

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.10 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.10

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
l3iggs (l3iggs) wrote :

Hi Joseph. Are you a robot?

I believe I've answered your questions in my bug report (when I wrote that this bug has been going on since forever). Also, this bug report was made with linux-image-4.10.0-8-generic so it seems that your request to test with a newer kernel does not apply.

l3iggs (l3iggs)
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
l3iggs (l3iggs)
tags: added: kernel-bug-exists-upstream
Revision history for this message
l3iggs (l3iggs) wrote :
Revision history for this message
Jonathan Booth (svirpridon+ubuntu) wrote :

+1, same configuration, same behavior, 16.10.

Revision history for this message
Harald Nordgård-Hansen (hhansen) wrote :

A bit more info, as I've gotten hold of a separate usb network card with the same chip in it (Realtek 8153). Plugging it into the ASMedia ASM1042A USB controller found in the TB16 docking station gives the same result as reported here. But plugging it directly into the computer (Intel Sunrise Point-H USB controller) works without problems.

So the problem seems to be in the combination of the Realtek and ASMedia chips.

Revision history for this message
David Ibarra (dibarra) wrote :

Hey all, just +1'ing this- seeing this on ubuntu 16.10, and Fedora 25 (kernel 4.9). TB16 dock and Dell Precision 5510.

Revision history for this message
André Düwel (aduewel) wrote :

+1, Dell XPS15 9550 + Dell TB16 + Ubuntu 16.10.

Workaround:
Limiting the connection speed to 100MBit FDX via "ethtool eth..... speed 100 duplex full autoneg on" also circumvents the problem.

On Windows 10 its working without issues at full speed (Gigabit).

Revision history for this message
André Düwel (aduewel) wrote :

reloading the Realtek kernel module r8152 and restarting the network-manager also fixes the problem temporary:
sudo rmmod r8152.ko
sudo modprobe r8152.ko
sudo service network-manager restart

Revision history for this message
Kaz Wolfe (kazwolfe) wrote :

Seems related to Bug #1663975. Same problem, I'd think...

Also, just for the sake of completeness, yet another error log: http://pastebin.com/z8U9usDY

4.8.0-41-generic #44~16.04.1-Ubuntu, HWE because reasons. Kernel is tainted (NVIDIA, VirtualBox), but this issue seems to exist anyways.

Posted same comment over on the other bug report, sorry for any spam that may report.

Revision history for this message
Hordur Heidarsson (hordur-z) wrote :

+1, Dell Precision M5510 + Dell TB16 + Ubuntu 16.10 + 4.8.0-41-generic #44~16.04.1-Ubuntu SMP

@aduewel: thanks for the speed downgrade workaround!

Revision history for this message
Karlyn Fielding (karlyn) wrote :

I can confirm that I have the same issue being reported here. I have a Dell XPS13 Developer Edition (9360) with Ubuntu 16.04, TB16 Dock and an upgraded Ubuntu Mainline build kernel of 4.10.4.

Additionally, I tried downloading the source code from Realtek for their v2.08.0 r8152 driver. I compiled that driver and manually removed and re-inserted the new kernel module into my running system. With that driver running, I see the exact same behavior described here.

I'd be happy to volunteer for any testing on my hardware that might help debug the issue.

I can also confirm that changing the connection speed to 100Mb with ethtool provides a work around to the problem.

Also, I have some kernel output I have saved while experiencing the issue if there is interest in it.

Revision history for this message
l3iggs (l3iggs) wrote :

I'm starting to think this issue stems not from our Realtek RTL8153 Ethernet chip but rather from something upstream of it.

My best guess now is that there's something wrong with the handling of the "ASMedia Technology Inc. ASM1042A USB 3.0 Host Controller" that's in our docks. This is a usb3.0 <--> PCIe bridge which the RTL8153 hangs off of.

Revision history for this message
Robert Sandberg (srobban) wrote :

Can confirm same issue on Dell Precision 5520 + TB16 running pre-installed Ubuntu 16.04 LTS.

Same issue on KDE Neon with different kernels 4.8.x, 4.10.x

Are also experience other USB issues when connecting various devices on the TB-16 e.g. all other USB devices freezes.

Revision history for this message
l3iggs (l3iggs) wrote :

Also, I wonder if this could somehow be a thunderbolt 3 bandwidth allocation issue.
This is pure uneducated speculation though ;-)

Revision history for this message
l3iggs (l3iggs) wrote :

By the way, removing and reinserting the r8152 module as suggested above does not seem to prevent or work around this issue.

Revision history for this message
l3iggs (l3iggs) wrote :

Higher transfer rates seem to have some impact here:

wget http://cdimage.ubuntu.com/daily-live/current/zesty-desktop-amd64.iso
errors out in a few seconds

wget --limit-rate=10k http://cdimage.ubuntu.com/daily-live/current/zesty-desktop-amd64.iso
might run for a few 10s of seconds before erroring out

wget --limit-rate=1k http://cdimage.ubuntu.com/daily-live/current/zesty-desktop-amd64.iso
continues to work until I run out of patience (forever?). I've not waited the 18 days required for this to complete though :P

Revision history for this message
l3iggs (l3iggs) wrote :

I've attached a trace for the 4.11 kernel.

First
echo xhci-hcd >> /sys/kernel/debug/tracing/set_event

Then initiate network transport to create the bug.

/sys/kernel/debug/tracing/trace (as 4.11.trace.txt)
and
dmesg (as 4.11.dmesg.txt) are attached.

Revision history for this message
l3iggs (l3iggs) wrote :

4.11.dmesg.txt

Revision history for this message
Alex Shchagin (qalex) wrote :

+1 here Precision 5510 + TB16 + 16.10 4.8.0-41
However I think this is not a r8152 bug too. When I plug in Dell USB-C Ethernet adapter into TB16 it works fine at the full speed with the same r8152 module.

Revision history for this message
l3iggs (l3iggs) wrote :

Alex, What's model number of that Dell USB-C Ethernet adapter?

Revision history for this message
Alex Shchagin (qalex) wrote :

@l3iggs Nothing is written on it, but it seems to be 470-ABQJ. It came with my Precision.

I thing the culprit is a USB host controller 'ASM1042A USB 3.0 Host Controller' embedded into TB16. See here:
> lshw -short
...
/0/100/1d.6/0 bridge DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
/0/100/1d.6/0/0 bridge DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
/0/100/1d.6/0/0/0 generic DSL6340 Thunderbolt 3 NHI [Alpine Ridge 2C 2015]
/0/100/1d.6/0/1 bridge DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
/0/100/1d.6/0/1/0 bridge DSL6540 Thunderbolt 3 Bridge [Alpine Ridge 4C 2015]
/0/100/1d.6/0/1/0/1 bridge DSL6540 Thunderbolt 3 Bridge [Alpine Ridge 4C 2015]
/0/100/1d.6/0/1/0/4 bridge DSL6540 Thunderbolt 3 Bridge [Alpine Ridge 4C 2015]
/0/100/1d.6/0/1/0/4/0 bridge DSL6540 Thunderbolt 3 Bridge [Alpine Ridge 4C 2015]
/0/100/1d.6/0/1/0/4/0/1 bridge DSL6540 Thunderbolt 3 Bridge [Alpine Ridge 4C 2015]
/0/100/1d.6/0/1/0/4/0/1/0 bus ASM1042A USB 3.0 Host Controller
/0/100/1d.6/0/1/0/4/0/1/0/0 usb3 bus xHCI Host Controller
/0/100/1d.6/0/1/0/4/0/1/0/0/1 bus USB2137B
/0/100/1d.6/0/1/0/4/0/1/0/0/1/5 multimedia USB Audio
/0/100/1d.6/0/1/0/4/0/1/0/1 usb4 bus xHCI Host Controller
/0/100/1d.6/0/1/0/4/0/1/0/1/1 bus USB5537B
/0/100/1d.6/0/1/0/4/0/1/0/1/1/2 generic USB 10/100/1000 LAN <<-- EMBEDDED, NOT WORKING
/0/100/1d.6/0/1/0/4/0/4 bridge DSL6540 Thunderbolt 3 Bridge [Alpine Ridge 4C 2015]
/0/100/1d.6/0/1/0/4/0/4/0 bus DSL6540 USB 3.1 Controller [Alpine Ridge]
/0/100/1d.6/0/1/0/4/0/4/0/0 usb5 bus xHCI Host Controller
/0/100/1d.6/0/1/0/4/0/4/0/1 usb6 bus xHCI Host Controller
/0/100/1d.6/0/1/0/4/0/4/0/1/2 generic USB 10/100/1000 LAN <<-- EXTERNAL, WORKING
...

By the way, Dell listed some special driver for Windows at the TB16 page for this ASM controller.

Revision history for this message
Karlyn Fielding (karlyn) wrote :

I can confirm that the issue remains with the latest 4.10.7 mainline kernel build for Ubuntu.

Same specs as before:
Dell XPS13 DE (9360)
TB16 Dock
Ubuntu 16.04 ( installed as shipped from Dell )

Revision history for this message
imperia (imperia777) wrote :

I have the same problem with my USB 3.1 controller:
ASMedia Technology Inc. ASM1142 USB 3.1 Host Controller.

I passthru the controller to XEN VM. I then connect to it USB TV Tuner card.
I am using VDR software which is TV software that when not in use is scanning for new channels.

Sometimes after few hours, sometimes after few days it crashes with following error:
[131382.068144] xhci_hcd 0000:00:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 0 comp_code 3
[131382.068182] xhci_hcd 0000:00:00.0: Looking for event-dma 0000000210196600 trb-start 0000000210196740 trb-end 0000000210196760 seg-start 0000000210196000 seg-end 0000000210196ff0

Then same problem is not present with the onboard USB 3.0 controller.
If I passhtru it to the XEN VM it working without any problems.

So this must be some problem with USB 3.1 driver (not 3.0) or ASMedia firmware.

I can provide whatever information is necessary to fix this bug.
I can provide shell account to my VM also if somebody wants to debug it.

Revision history for this message
Li Dongyang (dongyang-li) wrote :

Could someone try:
ethtool --offload <eth interface> tx off
ethtool --offload <eth interface> rx off

And then see if it works?

Revision history for this message
Robert Sandberg (srobban) wrote :

I've tried:
ethtool --offload <eth interface> tx off
ethtool --offload <eth interface> rx off

But the issue remains.

The only workaround that works is to limit speed to 100, as suggested previously.

Revision history for this message
André Düwel (aduewel) wrote :

Since I upgraded to Ubuntu 17.04 (fresh install), I can confirm that this bug also affects the (now) current release and therefore kernel version 4.10.0-19-generic.

I also now implemented an other "workaround" and bought an 7€ USB3->1Gb Ethernet dongle, this works without issues.

Additional Information:
lsusb
Bus 004 Device 004: ID 0bda:8153 Realtek Semiconductor Corp.
Bus 004 Device 003: ID 0bda:8153 Realtek Semiconductor Corp.
Bus 004 Device 002: ID 0424:5537 Standard Microsystems Corp.
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 007: ID 03f0:094a Hewlett-Packard Optical Mouse [672662-001]
Bus 003 Device 006: ID 046d:c31c Logitech, Inc. Keyboard K120
Bus 003 Device 005: ID 2109:2811 VIA Labs, Inc. Hub
Bus 003 Device 004: ID 2109:2811 VIA Labs, Inc. Hub
Bus 003 Device 003: ID 0bda:4014 Realtek Semiconductor Corp.
Bus 003 Device 002: ID 0424:2137 Standard Microsystems Corp.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 04f3:21d5 Elan Microelectronics Corp.
Bus 001 Device 002: ID 0a5c:6410 Broadcom Corp.
Bus 001 Device 004: ID 0c45:6713 Microdia
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

lshw --short: (see attachment)

Revision history for this message
André Düwel (aduewel) wrote :

sorry, attached wrong file in last comment. here is the right one

Revision history for this message
André Düwel (aduewel) wrote :

I need to correct me: Having issues during high load on the USB3 Ethernet adapter, too.

Only workaround is limiting to 100MBit.

Revision history for this message
Bram Biesbrouck (b-m) wrote :

André,

I followed your advice and bought an inexpensive USB3 1gbit ethernet adapter and noticed the same drops and corruptions as the built-in ethernet port. However, when I plug it in the USB-C port of the dock (using a little USB3 to USB-C cable), everything seems to work correctly.

B.

Revision history for this message
Alex Shchagin (qalex) wrote :

Bram,

This is because USB3 and USB-C ports in TB16 are connected to different controllers. See my lshw output here - https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1667750/comments/23 - I've marked Ethernet cards with <<--. Working one is USB-C and it is under this one:
/0/100/1d.6/0/1/0/4/0/4 bridge DSL6540 Thunderbolt 3 Bridge [Alpine Ridge 4C 2015]
/0/100/1d.6/0/1/0/4/0/4/0 bus DSL6540 USB 3.1 Controller [Alpine Ridge]

Alex

Revision history for this message
André Düwel (aduewel) wrote :

Ohh okay, thanks for this advise I will order an adapter and try it out.

This seems to verify that the problem exists somewhere in the usb3 controller/driver (ASM1042A) in the TB16 and not in the Ethernet controller/driver itself.

Revision history for this message
Bram Biesbrouck (b-m) wrote :

Ah, cool, didn't know that, thanks!

Revision history for this message
zwigno (zwigno) wrote :

I have the same issue. I'm using a Dell Precision 5510 with the Dell TB16 Dock. I'm running Ubuntu 17.04 with kernel version 4.10.0-21-generic. What I first noticed is that some SSL-enabled websites failed to load with errors like, "SSL_ERROR_BAD_MAC_READ." Setting the speed of the r8152 fixes the issue.

Does anyone have a solution for setting the speed to 100Mb upon plugin of the Thunderbolt connector or when the interface comes up? Setting it at boot time isn't ideal because I don't often have the dock plugged in at first boot.

Revision history for this message
Zhenfang Wei (kopkop) wrote :

the same issue, xps9360 + ubuntu 16.04 with kernel 4.4.78 + tb16

Revision history for this message
Mario Limonciello (superm1) wrote :

This is an issue with the host controller. The vendor (ASMedia) has submitted a patch here that fixes the issue:
http://www.spinics.net/lists/linux-usb/msg157958.html

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

I can confirm the patch works on the TB15 at my hand, can you guys try patched 4.11 kernel [1] on TB16?

I applied the patch to 4.11 - the patch cannot be cleanly applied to Xenial/Yakkety/Zesty kernel.

I'll do the proper backport when the patch is being accepted by upstream maintainers.

[1] http://people.canonical.com/~khfeng/lp1667750/

Revision history for this message
André Düwel (aduewel) wrote :

Hi Kai-Heng,

I can confirm your Kernel is working on my XPS 15 9550 + TB16 running Zesty and it fixes the Ethernet issue.

But, the whole TB16 USB3 Controller including Keyboard, Ethernet and other USB devices are still not working when connected during system start. I need to disconnect and reconnect it after booting.

Thanks again! :)

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Sounds like another issue. Can you file another bug?

AceLan Kao (acelankao)
tags: added: originate-from-1696057 somerville
Changed in linux (Fedora):
importance: Undecided → Unknown
status: New → Unknown
Changed in linux (Ubuntu):
assignee: nobody → Kai-Heng Feng (kaihengfeng)
description: updated
Seth Forshee (sforshee)
Changed in linux (Ubuntu Artful):
status: Confirmed → Fix Committed
Changed in linux (Ubuntu Xenial):
status: New → In Progress
status: In Progress → Fix Committed
Changed in linux (Ubuntu Zesty):
status: New → Fix Committed
Bram Biesbrouck (b-m)
Changed in linux (Ubuntu Xenial):
status: Fix Committed → Fix Released
Changed in linux (Ubuntu Xenial):
status: Fix Released → Fix Committed
Changed in linux (Ubuntu Artful):
status: Fix Committed → Fix Released
tags: added: verification-needed-xenial
tags: added: verification-needed-zesty
Corey Schuhen (cschuhen)
tags: added: verification-done-zesty
removed: verification-needed-zesty
tags: added: verification-done-xenial
removed: verification-needed-xenial
Changed in linux (Ubuntu Xenial):
status: Fix Committed → Fix Released
Changed in linux (Ubuntu Zesty):
status: Fix Committed → Fix Released
status: Fix Committed → Fix Released
Changed in linux (Fedora):
importance: Unknown → Undecided
status: Unknown → Confirmed
Changed in hwe-next:
status: New → Fix Released
81 comments hidden view all 161 comments
Revision history for this message
In , Gerben (gerben-redhat-bugs) wrote :

This is happening even on my 9560 with 4.13.9 vanilla; when running a background rsync backup job, packages downloaded in a Debian docker build frequently do not match their checksum and need multiple runs to succeed.

Revision history for this message
In , Gerben (gerben-redhat-bugs) wrote :

And just to illustrate my point, on 4.14.0 vanilla:

while true; do
dd if=/nfsmount/debian-live-9.1.0-amd64-xfce+nonfree.iso bs=16M iflag=direct 2>/dev/null | sha1sum; done

With rx offload on (default):

489ed92b17aa9a4582899356d3123621b5d92189 -
742462292c76189f63fc3e7af1acc9dec56c0a8d -
f11ba5f624dbab5a52319801c28a7032cc9b5100 -
742462292c76189f63fc3e7af1acc9dec56c0a8d -
e925ff013c99a1b732a99aeaf5d3f1f02c8dfa40 -

With rx offload off:

742462292c76189f63fc3e7af1acc9dec56c0a8d -
742462292c76189f63fc3e7af1acc9dec56c0a8d -
742462292c76189f63fc3e7af1acc9dec56c0a8d -
742462292c76189f63fc3e7af1acc9dec56c0a8d -
742462292c76189f63fc3e7af1acc9dec56c0a8d -

Revision history for this message
In , Kai-Heng (kai-heng-redhat-bugs) wrote :
Revision history for this message
In , Gerben (gerben-redhat-bugs) wrote :

Applied to 4.14.14. Offload:

tcp-segmentation-offload: on
udp-fragmentation-offload: off
generic-segmentation-offload: on
generic-receive-offload: on
rx-vlan-offload: on
tx-vlan-offload: on

dd | sha1sum loop:

742462292c76189f63fc3e7af1acc9dec56c0a8d -
742462292c76189f63fc3e7af1acc9dec56c0a8d -
742462292c76189f63fc3e7af1acc9dec56c0a8d -
742462292c76189f63fc3e7af1acc9dec56c0a8d -
742462292c76189f63fc3e7af1acc9dec56c0a8d -
742462292c76189f63fc3e7af1acc9dec56c0a8d -

Ran for 10 minutes, so looks like that patch works (doing around 90mbit/s of traffic).

Revision history for this message
Luis Alvarado (luisalvarado) wrote :

If this helps, this is happening in Ubuntu 17.10 with the 4.13 and 4.15 Kernels. I am using a Logitech G930

This was the output with dmesg

[ 15.303655] logitech-hidpp-device 0003:046D:4069.000A: HID++ 4.5 device connected.
[ 49.671534] usb 3-2: USB disconnect, device number 2
[ 49.672965] xhci_hcd 0000:07:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 1 comp_code 1
[ 49.672975] xhci_hcd 0000:07:00.0: Looking for event-dma 000000101f51eec0 trb-start 000000101f51eed0 trb-end 000000101f51eed0 seg-start 000000101f51e000 seg-end 000000101f51eff0
[ 49.673966] xhci_hcd 0000:07:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 1 comp_code 1
[ 49.673980] xhci_hcd 0000:07:00.0: Looking for event-dma 000000101f51eed0 trb-start 000000101f51eee0 trb-end 000000101f51eee0 seg-start 000000101f51e000 seg-end 000000101f51eff0
[ 49.674932] xhci_hcd 0000:07:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 1 comp_code 1
[ 49.674943] xhci_hcd 0000:07:00.0: Looking for event-dma 000000101f51eee0 trb-start 000000101f51eef0 trb-end 000000101f51eef0 seg-start 000000101f51e000 seg-end 000000101f51eff0
[ 49.675952] xhci_hcd 0000:07:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 1 comp_code 1
[ 49.675962] xhci_hcd 0000:07:00.0: Looking for event-dma 000000101f51eef0 trb-start 000000101f51ef00 trb-end 000000101f51ef00 seg-start 000000101f51e000 seg-end 000000101f51eff0
[ 49.676939] xhci_hcd 0000:07:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 1 comp_code 1
[ 49.676947] xhci_hcd 0000:07:00.0: Looking for event-dma 000000101f51ef00 trb-start 000000101f51ef10 trb-end 000000101f51ef10 seg-start 000000101f51e000 seg-end 000000101f51eff0
[ 52.527220] usb 1-3: new full-speed USB device number 7 using xhci_hcd
[ 53.240955] usb 1-3: New USB device found, idVendor=046d, idProduct=0a1f
[ 53.240960] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 53.240963] usb 1-3: Product: Logitech G930 Headset
[ 53.240965] usb 1-3: Manufacturer: Logitech
[ 53.259535] input: Logitech Logitech G930 Headset as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.3/0003:046D:0A1F.000C/input/input24
[ 53.316838] hid-generic 0003:046D:0A1F.000C: input,hiddev0,hidraw0: USB HID v1.01 Device [Logitech Logitech G930 Headset] on usb-0000:00:14.0-3/input3

Revision history for this message
Georgi Boiko (pandasauce) wrote :

Update to my October post:

Dell Precision 5520 and BIOS 1.7 using TB16. This is on Ubuntu 16.04.3, kernel 4.13.0

The issue is still present. I tried limiting the bandwidth using `ethtool -s eth0 speed 100 duplex full autoneg on` and also as described in this blog post: http://mark.koli.ch/slowdown-throttle-bandwidth-linux-network-interface and it *seems* to be making the issue less apparent, but still present.

$ for i in 1 2 3 4; do curl -s http://old-releases.ubuntu.com/releases/17.04/ubuntu-17.04-server-amd64.img -o $i.iso; md5sum $i.iso; done
2641b55ed2e203861fb6f642bb05b8f7 1.iso
63f41e8b8e4e5ad1909637dbd2efd849 2.iso
^C%

$ sudo ethtool -s eth0 speed 100 duplex full autoneg on

$ for i in 1 2 3 4; do curl -s http://old-releases.ubuntu.com/releases/17.04/ubuntu-17.04-server-amd64.img -o $i.iso; md5sum $i.iso; done
4672ce371fb3c1170a9e71bc4b2810b9 1.iso
4672ce371fb3c1170a9e71bc4b2810b9 2.iso
4672ce371fb3c1170a9e71bc4b2810b9 3.iso
4672ce371fb3c1170a9e71bc4b2810b9 4.iso

$ for i in 1 2 3 4; do curl -s http://old-releases.ubuntu.com/releases/17.04/ubuntu-17.04-server-amd64.img -o $i.iso; md5sum $i.iso; done
ed13e9c6c45f027f686000eccce42254 1.iso
4672ce371fb3c1170a9e71bc4b2810b9 2.iso
^C%

Next, I tried disabling offloading as described above. I haven't reset the device to 1 Gbps before doing so. It seems to be working fine so far. I will leave it running for an hour over lunch today to be completely sure.

$ sudo ethtool --offload eth0 tx off
Actual changes:
tx-checksumming: off
    tx-checksum-ipv4: off
    tx-checksum-ipv6: off
tcp-segmentation-offload: off
    tx-tcp-segmentation: off [requested on]
    tx-tcp6-segmentation: off [requested on]

$ sudo ethtool --offload eth0 rx off

$ for i in 1 2 3 4 5 6; do curl -s http://old-releases.ubuntu.com/releases/17.04/ubuntu-17.04-server-amd64.img -o $i.iso; md5sum $i.iso; done
4672ce371fb3c1170a9e71bc4b2810b9 1.iso
4672ce371fb3c1170a9e71bc4b2810b9 2.iso
4672ce371fb3c1170a9e71bc4b2810b9 3.iso
4672ce371fb3c1170a9e71bc4b2810b9 4.iso
4672ce371fb3c1170a9e71bc4b2810b9 5.iso
4672ce371fb3c1170a9e71bc4b2810b9 6.iso

In about a week I will be able to test this on a 2017 XPS 9560 (non-DE) too.

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

It's another bug. Please refer to LP: #1729674.

Revision history for this message
Guilherme G. Piccoli (gpiccoli) wrote :

As an informative note: it was observed that adapter "ASMedia Technology Inc. ASM1142 USB 3.1 Host Controller [1b21:1242]" has a similar bug, but seems the quirk (from kernel commit 9da5a1092b13), even if applied to right PCI_ID, doesn't fix the issue.
I guess this was the case from the user imperia above (comment #61).

There's another LP for issues with the adapter "ASM1142 USB 3.1 Host Controller [1b21:1242]": https://bugs.launchpad.net/ubuntu/artful/+source/linux/+bug/1749961

Thanks,

Guilherme

11 comments hidden view all 161 comments
Revision history for this message
In , gerben (gerben-redhat-bugs-1) wrote :
Download full text (7.3 KiB)

On 4.15.4 I see a lot of:

Feb 21 15:43:31 localhost kernel: [18401.483078] pcieport 0000:00:1d.6: AER: Corrected error received: id=00ee
Feb 21 15:43:31 localhost kernel: [18401.483095] pcieport 0000:00:1d.6: PCIe Bus Error: severity=Corrected, type=Data Link Layer, id=00ee(Transmitter ID)
Feb 21 15:43:31 localhost kernel: [18401.483097] pcieport 0000:00:1d.6: device [8086:a11e] error status/mask=00001000/00002000
Feb 21 15:43:31 localhost kernel: [18401.483099] pcieport 0000:00:1d.6: [12] Replay Timer Timeout

Which may or may not be related. However, randomly, r8152 stops working entirely. Most recent dmesg:

Feb 21 15:43:42 localhost kernel: [18412.136941] ------------[ cut here ]------------
Feb 21 15:43:42 localhost kernel: [18412.136947] NETDEV WATCHDOG: enxa44cc8d0edff (r8152): transmit queue 0 timed out
Feb 21 15:43:42 localhost kernel: [18412.136969] WARNING: CPU: 1 PID: 0 at net/sched/sch_generic.c:323 dev_watchdog+0x215/0x220
Feb 21 15:43:42 localhost kernel: [18412.136972] Modules linked in: sg uas usb_storage rfcomm nf_conntrack_netlink nfnetlink xfrm_user xfrm_algo xt_addrtype br_netfilter ctr ccm xt_C
HECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ip6t_REJECT nf_reject_ipv6 ipt_REJECT nf_reject_ipv4 xt_tcpudp bridge stp llc ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter devlink cmac bnep binfmt_misc snd_usb_audio cdc_ether usbnet snd_usbmidi_lib r8152 snd_rawmidi snd_seq_device mii btusb btrtl uvcvideo btbcm btintel videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 bluetooth videodev videobuf2_core ecdh_generic joydev mousedev hid_multitouch snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic arc4 i2c_designware_platform
Feb 21 15:43:42 localhost kernel: [18412.137037] i2c_designware_core iwlmvm input_leds i2c_hid mac80211 dell_smm_hwmon x86_pkg_temp_thermal crc32_pclmul iwlwifi crc32c_intel i915 snd_hda_intel ghash_clmulni_intel pcbc snd_hda_codec aesni_intel snd_hwdep aes_x86_64 snd_hda_core crypto_simd sha256_mb snd_pcm_oss glue_helper mcryptd snd_mixer_oss cryptd sha256_ssse3 snd_pcm snd_timer sha256_generic dell_smbios_wmi snd soundcore cfg80211 pcspkr int3400_thermal rtsx_pci acpi_thermal_rel intel_hid xhci_pci int3403_thermal processor_thermal_device mei_me xhci_hcd int340x_thermal_zone shpchp intel_lpss_pci mei intel_soc_dts_iosf intel_pch_thermal intel_lpss loop vhost_net tun vhost tap coretemp i2c_i801 kvm_intel kvm irqbypass uinput evdev nfsd ip_tables x_tables
Feb 21 15:43:42 localhost kernel: [18412.137101] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G U 4.15.4 #5
Feb 21 15:43:42 localhost kernel: [18412.137104] Hardware name: Dell Inc. XPS 15 9560/05FFDN, BIOS 1.7.0 12/15/2017
Feb 21 15:43:42 localhost kernel: [18412.137108] RIP: 0010:dev_watchdog+0x215/0x220
Feb 21 15:43:42 localhost kernel: [18412.137112] RSP: 0018:ffff88087e443ea0 EFLAGS: 00010286
Feb 21 15:43:42 localhost kernel: [18412.137116] RAX: 0000000000000044 RBX: 0000000000000000 RCX: 0000000000000103
Feb 21 15:43:42 localhost kernel: [18412.137119] RDX: 0000000080000103 RSI: ffffffff82063a3a RDI: 000...

Read more...

10 comments hidden view all 161 comments
Revision history for this message
Georgi Boiko (pandasauce) wrote :

@kaihengfeng

Thanks, I will repost it there. Can confirm the adapter dropping out with the same errors on 5520/TB16 at 1Gbps with latest 16.04 LTS though.

11 comments hidden view all 161 comments
Revision history for this message
In , jarod (jarod-redhat-bugs-1) wrote :

Looks like this is more of a firmware issue with these docks and/or a driver issue with the 8152, so I'm throwing this back onto the queue where it was.

Revision history for this message
In , marianne (marianne-redhat-bugs) wrote :

I think I have the same issue with my laptop and dock (Dell TB16).
Laptop is new and installed in Fedora 28. All firmware are up-to-date.

Ethernet works fine unless I want to transfert a large amount of data. Session (sftp, rsync or scp) cut abruptly after a few seconds. Nothing relevant appears in system logs.

If I offload the RC checksums (as suggested above) using : ethtool --offload enp11s0u1u2 rx off
Everything works fine.

Tell me if you need more logs or informations

Revision history for this message
In , mario_limonciello (mariolimonciello-redhat-bugs) wrote :

FYI this commit ended up landing related to this. I would recommend to backport it.

https://github.com/torvalds/linux/commit/0b1655143df00ac5349f27b765b2ed13a3ac40ca

Revision history for this message
In , jcline (jcline-redhat-bugs) wrote :

Hi Mario, thanks for the pointer. Fedora stable releases are currently on 4.16.15 so that fix should be in place. I've got a TB16 at home so I can also try to reproduce this on Fedora 28 this evening.

marianne, adding the dmesg logs would be helpful. Thanks!

Revision history for this message
In , ondrej.kolin (ondrej.kolin-redhat-bugs) wrote :

Our bug report from Launchpad:

Hi.

Large amount of data gets corrupted when using the TB16 ethernet port. (rsync synchronization, etc... )

Linux E7490 4.15.0-29-generic #31-Ubuntu SMP Tue Jul 17 15:39:52 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

On my Fedora is this still an issue even with announced bugfix (link copied from this discussion #78.
Linux username-localdomain 4.17.9-200.fc28.x86_64 #1 SMP Mon Jul 23 21:41:29 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

It's fixed by turning the checksum offload off (tested on the Fedora .
sudo ethtool --offload enp11s0u1u2 rx off

https://bugs.launchpad.net/dell-sputnik/+bug/1729674

related in bugzilla:

14 comments hidden view all 161 comments
Revision history for this message
lepirlouit (lepirlouit) wrote :

I have no issue with my ethernet adapter, but I see the same logs :

for i in 1 2 3 4 5 6; do curl -s http://old-releases.ubuntu.com/releases/17.04/ubuntu-17.04-server-amd64.img -o $i.iso; md5sum $i.iso; done
4672ce371fb3c1170a9e71bc4b2810b9 1.iso
4672ce371fb3c1170a9e71bc4b2810b9 2.iso
4672ce371fb3c1170a9e71bc4b2810b9 3.iso
4672ce371fb3c1170a9e71bc4b2810b9 4.iso
4672ce371fb3c1170a9e71bc4b2810b9 5.iso
^C

dmesg
[ 1659.619538] xhci_hcd 0000:00:14.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 1 comp_code 1
[ 1659.619545] xhci_hcd 0000:00:14.0: Looking for event-dma 000000032a3eeb80 trb-start 000000032a3eeb90 trb-end 000000032a3eeb90 seg-start 000000032a3ee000 seg-end 000000032a3eeff0
[ 1669.859587] xhci_hcd 0000:00:14.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 1 comp_code 1
[ 1669.859601] xhci_hcd 0000:00:14.0: Looking for event-dma 000000032a3eedf0 trb-start 000000032a3eee00 trb-end 000000032a3eee00 seg-start 000000032a3ee000 seg-end 000000032a3eeff0
[ 1803.744811] xhci_hcd 0000:00:14.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 1 comp_code 1
[ 1803.744827] xhci_hcd 0000:00:14.0: Looking for event-dma 000000032a3ee0c0 trb-start 000000032a3ee0d0 trb-end 000000032a3ee0d0 seg-start 000000032a3ee000 seg-end 000000032a3eeff0

lsusb
Bus 002 Device 002: ID 8087:8000 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 0424:5434 Standard Microsystems Corp. Hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 05c8:0374 Cheng Uei Precision Industry Co., Ltd (Foxlink)
Bus 003 Device 002: ID 138a:003f Validity Sensors, Inc. VFS495 Fingerprint Reader
Bus 003 Device 004: ID 8087:07dc Intel Corp.
Bus 003 Device 009: ID 04e8:6860 Samsung Electronics Co., Ltd Galaxy (MTP)
Bus 003 Device 010: ID 046d:c328 Logitech, Inc.
Bus 003 Device 008: ID 046d:c062 Logitech, Inc. M-UAS144 [LS1 Laser Mouse]
Bus 003 Device 007: ID 046d:0a01 Logitech, Inc. USB Headset
Bus 003 Device 006: ID 0424:5434 Standard Microsystems Corp. Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Revision history for this message
lepirlouit (lepirlouit) wrote :

ubuntu 18.04
kernel : 4.15.0-29-generic

14 comments hidden view all 161 comments
Revision history for this message
In , ondrej.kolin (ondrej.kolin-redhat-bugs) wrote :

https://lkml.org/lkml/2018/8/20/42 There is a patch in upstream. Turn off the checksum offloading.

Revision history for this message
In , tomastrnka (tomastrnka-redhat-bugs) wrote :

The issue is not unique to the integrated NIC in the dock (so the current workaround in r8152 is not sufficient). I have a r8152-based TP-LINK UE300 USB3-to-GigE dongle connected to my TB16 dock and I'm getting the same packet corruption when I don't turn off rx checksum offloading.

usb 4-1.1.1: new SuperSpeed Gen 1 USB device number 5 using xhci_hcd
usb 4-1.1.1: New USB device found, idVendor=2357, idProduct=0601, bcdDevice=30.00
usb 4-1.1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=6
usb 4-1.1.1: Product: USB 10/100/1000 LAN
usb 4-1.1.1: Manufacturer: TP-LINK
usb 4-1.1.1: SerialNumber: 000001000000

/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 5000M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/7p, 5000M
        |__ Port 1: Dev 3, If 0, Class=Hub, Driver=hub/4p, 5000M
            |__ Port 1: Dev 5, If 0, Class=Vendor Specific Class, Driver=r8152, 5000M
            |__ Port 4: Dev 6, If 0, Class=Hub, Driver=hub/2p, 5000M
        |__ Port 2: Dev 4, If 0, Class=Vendor Specific Class, Driver=r8152, 5000M

The dongle is plugged into the internal USB hub in my Dell U2715H screen, which is in turn plugged into the TB16 (latest firmware 1.0.0), connected to my XPS 15 9560 (latest BIOS 1.11.0, Linux 4.18.7-200.fc28.x86_64 at the moment).

I've also seen someone mentioning that (some) USB3 ports on the TB16 are in fact Alpine Ridge pass-through. That does not seem to be the case here, all three ports on my TB16 go through the ASMedia host controller:

0e:00.0 USB controller: ASMedia Technology Inc. ASM1042A USB 3.0 Host Controller

The r8152 workaround triggers just fine for the integrated NIC in the dock:

usb 4-1.2: reset SuperSpeed Gen 1 USB device number 4 using xhci_hcd
usb 4-1.2: Dell TB16 Dock, disable RX aggregation

Revision history for this message
In , mario_limonciello (mariolimonciello-redhat-bugs) wrote :

@Tomas,

It sounds like the topology needs to be looked at then for applying this quirk.

Can you connect the dongle to the USB-C port with C-A adapter? That is the AR pass through port.

Revision history for this message
In , tomastrnka (tomastrnka-redhat-bugs) wrote :

Indeed, I found the mention of the pass-through only applying to the USB-C like a minute after I wrote my previous comment. Sorry for the noise.

I don't have a C-A adapter at hand, but I've tried using the Dell DA200 adapter instead (not exactly the same thing as it's an extra hub, but hopefully it helps anyway). So the topology is:

Dongle -> DA200 (hub) -> USB-C port on the TB16 -> AR host controller

/: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 10000M
    |__ Port 2: Dev 2, If 0, Class=Hub, Driver=hub/4p, 5000M
        |__ Port 1: Dev 5, If 0, Class=Vendor Specific Class, Driver=r8152, 5000M
        |__ Port 4: Dev 3, If 0, Class=Vendor Specific Class, Driver=r8152, 5000M

0f:00.0 USB controller: Intel Corporation DSL6540 USB 3.1 Controller [Alpine Ridge]

This setup works fine without any corruption with all offloads on (default).

Revision history for this message
In , kai.heng.feng (kai.heng.feng-redhat-bugs) wrote :

IIRC, I tested this scenario, and I didn't observe the issue on external r8152 dongle over the ASMedia xHC host.

The v1 patch I sent was using topology to check, but maintainers didn't like it.

I'll see if I can come up a "better" version of it so maintainers will accept it.

17 comments hidden view all 161 comments
Revision history for this message
patrick brown (mpatalberta) wrote :

Hello I am running in to a similar error using the 18.10 cuttlefish with the usb 3.1 driver.
What kernel has this code change
[ 719.522273] xhci_hcd 0000:02:00.0: Looking for event-dma 0000000463f2bdf0 trb-start 00000004650cbfb0 trb-end 00000004650cbfe0 seg-start 00000004650cb000 seg-end 00000004650cbff0
[ 719.522452] xhci_hcd 0000:02:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 2 comp_code 1
[ 719.522454] xhci_hcd 0000:02:00.0: Looking for event-dma 0000000463f2be30 trb-start 00000004650cbfb0 trb-end 00000004650cbfe0 seg-start 00000004650cb000 seg-end 00000004650cbff0
[ 719.522602] xhci_hcd 0000:02:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 2 comp_code 1
[ 719.522604] xhci_hcd 0000:02:00.0: Looking for event-dma 0000000463f2be70 trb-start 00000004650cbfb0 trb-end 00000004650cbfe0 seg-start 00000004650cb000 seg-end 00000004650cbff0
[ 719.522768] xhci_hcd 0000:02:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 2 comp_code 1
[ 719.522770] xhci_hcd 0000:02:00.0: Looking for event-dma 0000000463f2beb0 trb-start 00000004650cbfb0 trb-end 00000004650cbfe0 seg-start 00000004650cb000 seg-end 00000004650cbff0
[ 719.522938] xhci_hcd 0000:02:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 2 comp_code 1
[ 719.522940] xhci_hcd 0000:02:00.0: Looking for event-dma 0000000463f2bef0 trb-start 00000004650cbfb0 trb-end 00000004650cbfe0 seg-start 00000004650cb000 seg-end 00000004650cbff0
[ 719.523102] xhci_hcd 0000:02:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 2 comp_code 1
[ 719.523104] xhci_hcd 0000:02:00.0: Looking for event-dma 0000000463f2bf30 trb-start 00000004650cbfb0 trb-end 00000004650cbfe0 seg-start 00000004650cb000 seg-end 00000004650cbff0
tnl@tnl-NUC8i7HNK:~$ uname -a
Linux tnl-NUC8i7HNK 4.18.0-10-generic #11-Ubuntu SMP Thu Oct 11 15:13:55 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

18 comments hidden view all 161 comments
Revision history for this message
In , torel (torel-redhat-bugs) wrote :

cc

Revision history for this message
In , torel (torel-redhat-bugs) wrote :

Ref. bug # 1600126

I updated r8152 to v2.11 per https://aur.archlinux.org/packages/r8152-dkms/ makes things more stable.

# cd /usr/src/r8152-2.11.0
# patch -p1 <./linux-4.20.0-add-guard-fix.patch

# more /usr/src/r8152-2.11.0/dkms.conf
PACKAGE_NAME="r8152"
PACKAGE_VERSION="2.11.0"
BUILT_MODULE_NAME[0]="r8152"
DEST_MODULE_LOCATION[0]="/kernel/drivers/net/usb"
AUTOINSTALL="yes"

# ll /var/lib/dkms/r8152/2.11.0/source
lrwxrwxrwx. 1 root root 21 Mar 1 15:22 /var/lib/dkms/r8152/2.11.0/source -> /usr/src/r8152-2.11.0

# dracut -f

At least my kbd is still working after 30 minutes. A record on kernels above 4.18.18-300.fc29.

Brad Figg (brad-figg)
tags: added: cscc
18 comments hidden view all 161 comments
Revision history for this message
Felix Moreno (felix-justdust) wrote :

same problem witn 19.04 and usb 3.1 pci and some 10 usb icy box 10 drives.

Revision history for this message
Felix Moreno (felix-justdust) wrote :

Bus 002 Device 004: ID 174c:55aa ASMedia Technology Inc. Name: ASM1051E SATA 6Gb

Revision history for this message
crlshn (carlos-collart) wrote :
Download full text (7.2 KiB)

ccollart@pop-os:~$ uname -a
Linux pop-os 5.3.0-7625-generic #27~1576774560~19.10~f432cd8-Ubuntu SMP Thu Dec 19 20:35:37 UTC x86_64 x86_64 x86_64 GNU/Linux

ccollart@pop-os:~$ dmesg
[ 2857.871464] CIFS VFS: cifs_mount failed w/return code = -13
[ 2902.938295] xhci_hcd 0000:0c:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 4 comp_code 13
[ 2902.938305] xhci_hcd 0000:0c:00.0: Looking for event-dma 00000003c412daf0 trb-start 00000003c412dad0 trb-end 00000003c412dad0 seg-start 00000003c412d000 seg-end 00000003c412dff0
[ 2902.938375] xhci_hcd 0000:0c:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 4 comp_code 13
[ 2902.938379] xhci_hcd 0000:0c:00.0: Looking for event-dma 00000003c412db00 trb-start 00000003c412dad0 trb-end 00000003c412dad0 seg-start 00000003c412d000 seg-end 00000003c412dff0
[ 2902.938460] xhci_hcd 0000:0c:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 4 comp_code 13
[ 2902.938465] xhci_hcd 0000:0c:00.0: Looking for event-dma 00000003c412db10 trb-start 00000003c412dad0 trb-end 00000003c412dad0 seg-start 00000003c412d000 seg-end 00000003c412dff0
[ 2902.938547] xhci_hcd 0000:0c:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 4 comp_code 13
[ 2902.938550] xhci_hcd 0000:0c:00.0: Looking for event-dma 00000003c412db20 trb-start 00000003c412dad0 trb-end 00000003c412dad0 seg-start 00000003c412d000 seg-end 00000003c412dff0
[ 2902.938633] xhci_hcd 0000:0c:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 4 comp_code 13
[ 2902.938636] xhci_hcd 0000:0c:00.0: Looking for event-dma 00000003c412db30 trb-start 00000003c412dad0 trb-end 00000003c412dad0 seg-start 00000003c412d000 seg-end 00000003c412dff0
[ 2902.938719] xhci_hcd 0000:0c:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 4 comp_code 13
[ 2902.938723] xhci_hcd 0000:0c:00.0: Looking for event-dma 00000003c412db40 trb-start 00000003c412dad0 trb-end 00000003c412dad0 seg-start 00000003c412d000 seg-end 00000003c412dff0
[ 2902.938805] xhci_hcd 0000:0c:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 4 comp_code 13
[ 2902.938809] xhci_hcd 0000:0c:00.0: Looking for event-dma 00000003c412db50 trb-start 00000003c412dad0 trb-end 00000003c412dad0 seg-start 00000003c412d000 seg-end 00000003c412dff0
[ 2902.938891] xhci_hcd 0000:0c:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 4 comp_code 13
[ 2902.938895] xhci_hcd 0000:0c:00.0: Looking for event-dma 00000003c412db60 trb-start 00000003c412dad0 trb-end 00000003c412dad0 seg-start 00000003c412d000 seg-end 00000003c412dff0
[ 2902.938977] xhci_hcd 0000:0c:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 4 comp_code 13
[ 2902.938981] xhci_hcd 0000:0c:00.0: Looking for event-dma 00000003c412db70 trb-start 00000003c412dad0 trb-end 00000003c412dad0 seg-start 00000003c412d000 seg-end 00000003c412dff0
[ 2902.939063] xhci_hcd 0000:0c:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 4 comp_code 13
[ 2902.939067] xhci_hcd 0000:0c:00.0: Looking for event-dma 00000003c412db80 trb-start 00000003c412dad0 trb-end 00000003c412dad0 seg-start 00000...

Read more...

17 comments hidden view all 161 comments
Revision history for this message
In , timur.kristof (timur.kristof-redhat-bugs) wrote :

The same issue still happens to me on kernel 5.5.6-201.fc31.x86_64
Hardware is a Dell XPS 13 9370 with a Lenovo Thunderbolt 3 dock. My dmesg is full of these messages:

[12696.189484] r8152 6-1:1.0 enp10s0u1: Tx timeout
[12702.333456] r8152 6-1:1.0 enp10s0u1: Tx timeout
[12707.965422] r8152 6-1:1.0 enp10s0u1: Tx timeout
[12713.085385] r8152 6-1:1.0 enp10s0u1: Tx timeout
[12718.205360] r8152 6-1:1.0 enp10s0u1: Tx timeout
[12724.349321] r8152 6-1:1.0 enp10s0u1: Tx timeout
[12729.981295] r8152 6-1:1.0 enp10s0u1: Tx timeout
[12735.101256] r8152 6-1:1.0 enp10s0u1: Tx timeout
[12740.221235] r8152 6-1:1.0 enp10s0u1: Tx timeout
[12746.365199] r8152 6-1:1.0 enp10s0u1: Tx timeout
[12751.997171] r8152 6-1:1.0 enp10s0u1: Tx timeout
[12757.117155] r8152 6-1:1.0 enp10s0u1: Tx timeout

16 comments hidden view all 161 comments
Revision history for this message
CK Cameron (ckcameron) wrote :

Bugstill exists in 20.04

[14624.728999] xhci_hcd 0000:08:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 2 comp_code 1
[14624.729000] xhci_hcd 0000:08:00.0: Looking for event-dma 00000000ff8d8050 trb-start 00000000ff8d7fe0 trb-end 00000000ff8d7fe0 seg-start 00000000ff8d7000 seg-end 00000000ff8d7ff0

17 comments hidden view all 161 comments
Revision history for this message
In , d.bz-redhat (d.bz-redhat-redhat-bugs) wrote :

This seems to help for me (Dell XPS13 2-in-1 7390 , kernel 5.6.15-300.fc32.x86_64) when switching (exact chain of events undetermined) between Dell DA300 (r8152 : Tx status -71) and Dell WD19TB ThunderBolt docking adapters :

https://askubuntu.com/questions/1081128/usb-3-0-ethernet-adapter-not-working-ubuntu-18-04

# echo 0bda:8153:k > /sys/module/usbcore/parameters/quirks

16 comments hidden view all 161 comments
Revision history for this message
Jeremy Akers (irwinr12) wrote :
Download full text (6.1 KiB)

I'm also seeing this in 20.04:

[ 110.467608] xhci_hcd 0000:08:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 4 comp_code 13
[ 110.467613] xhci_hcd 0000:08:00.0: Looking for event-dma 000000086900cfd0 trb-start 000000086900cfb0 trb-end 000000086900cfb0 seg-start 000000086900c000 seg-end 000000086900cff0
[ 110.478406] xhci_hcd 0000:08:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 4 comp_code 13
[ 110.478412] xhci_hcd 0000:08:00.0: Looking for event-dma 000000086900cfe0 trb-start 000000086900cfb0 trb-end 000000086900cfb0 seg-start 000000086900c000 seg-end 000000086900cff0
[ 110.479937] xhci_hcd 0000:08:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 4 comp_code 13
[ 110.479942] xhci_hcd 0000:08:00.0: Looking for event-dma 0000000861c06000 trb-start 000000086900cfb0 trb-end 000000086900cfb0 seg-start 000000086900c000 seg-end 000000086900cff0
[ 110.482654] xhci_hcd 0000:08:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 4 comp_code 13
[ 110.482660] xhci_hcd 0000:08:00.0: Looking for event-dma 0000000861c06010 trb-start 000000086900cfb0 trb-end 000000086900cfb0 seg-start 000000086900c000 seg-end 000000086900cff0
[ 110.499173] xhci_hcd 0000:08:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 4 comp_code 13
[ 110.499178] xhci_hcd 0000:08:00.0: Looking for event-dma 0000000861c06020 trb-start 000000086900cfb0 trb-end 000000086900cfb0 seg-start 000000086900c000 seg-end 000000086900cff0
[ 110.505613] xhci_hcd 0000:08:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 4 comp_code 13
[ 110.505618] xhci_hcd 0000:08:00.0: Looking for event-dma 0000000861c06030 trb-start 000000086900cfb0 trb-end 000000086900cfb0 seg-start 000000086900c000 seg-end 000000086900cff0
[ 110.505676] xhci_hcd 0000:08:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 4 comp_code 13
[ 110.505678] xhci_hcd 0000:08:00.0: Looking for event-dma 0000000861c06040 trb-start 000000086900cfb0 trb-end 000000086900cfb0 seg-start 000000086900c000 seg-end 000000086900cff0
[ 110.505764] xhci_hcd 0000:08:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 4 comp_code 13
[ 110.505766] xhci_hcd 0000:08:00.0: Looking for event-dma 0000000861c06050 trb-start 000000086900cfb0 trb-end 000000086900cfb0 seg-start 000000086900c000 seg-end 000000086900cff0
[ 110.507398] xhci_hcd 0000:08:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 4 comp_code 13
[ 110.507405] xhci_hcd 0000:08:00.0: Looking for event-dma 0000000861c06060 trb-start 000000086900cfb0 trb-end 000000086900cfb0 seg-start 000000086900c000 seg-end 000000086900cff0
[ 110.509353] xhci_hcd 0000:08:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 4 comp_code 13
[ 110.509359] xhci_hcd 0000:08:00.0: Looking for event-dma 0000000861c06070 trb-start 000000086900cfb0 trb-end 000000086900cfb0 seg-start 000000086900c000 seg-end 000000086900cff0
[ 110.510017] xhci_hcd 0000:08:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 4 comp_code 13
[ 110.510021] xhci_hcd 0000:08:00.0: Looking for event-dma ...

Read more...

17 comments hidden view all 161 comments
Revision history for this message
In , jeremy.akers (jeremy.akers-redhat-bugs) wrote :
Download full text (6.0 KiB)

Seeing a similar issue on a Dell XPS 9300 (2020) with Linux 5.4:

[ 110.467608] xhci_hcd 0000:08:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 4 comp_code 13
[ 110.467613] xhci_hcd 0000:08:00.0: Looking for event-dma 000000086900cfd0 trb-start 000000086900cfb0 trb-end 000000086900cfb0 seg-start 000000086900c000 seg-end 000000086900cff0
[ 110.478406] xhci_hcd 0000:08:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 4 comp_code 13
[ 110.478412] xhci_hcd 0000:08:00.0: Looking for event-dma 000000086900cfe0 trb-start 000000086900cfb0 trb-end 000000086900cfb0 seg-start 000000086900c000 seg-end 000000086900cff0
[ 110.479937] xhci_hcd 0000:08:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 4 comp_code 13
[ 110.479942] xhci_hcd 0000:08:00.0: Looking for event-dma 0000000861c06000 trb-start 000000086900cfb0 trb-end 000000086900cfb0 seg-start 000000086900c000 seg-end 000000086900cff0
[ 110.482654] xhci_hcd 0000:08:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 4 comp_code 13
[ 110.482660] xhci_hcd 0000:08:00.0: Looking for event-dma 0000000861c06010 trb-start 000000086900cfb0 trb-end 000000086900cfb0 seg-start 000000086900c000 seg-end 000000086900cff0
[ 110.499173] xhci_hcd 0000:08:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 4 comp_code 13
[ 110.499178] xhci_hcd 0000:08:00.0: Looking for event-dma 0000000861c06020 trb-start 000000086900cfb0 trb-end 000000086900cfb0 seg-start 000000086900c000 seg-end 000000086900cff0
[ 110.505613] xhci_hcd 0000:08:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 4 comp_code 13
[ 110.505618] xhci_hcd 0000:08:00.0: Looking for event-dma 0000000861c06030 trb-start 000000086900cfb0 trb-end 000000086900cfb0 seg-start 000000086900c000 seg-end 000000086900cff0
[ 110.505676] xhci_hcd 0000:08:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 4 comp_code 13
[ 110.505678] xhci_hcd 0000:08:00.0: Looking for event-dma 0000000861c06040 trb-start 000000086900cfb0 trb-end 000000086900cfb0 seg-start 000000086900c000 seg-end 000000086900cff0
[ 110.505764] xhci_hcd 0000:08:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 4 comp_code 13
[ 110.505766] xhci_hcd 0000:08:00.0: Looking for event-dma 0000000861c06050 trb-start 000000086900cfb0 trb-end 000000086900cfb0 seg-start 000000086900c000 seg-end 000000086900cff0
[ 110.507398] xhci_hcd 0000:08:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 4 comp_code 13
[ 110.507405] xhci_hcd 0000:08:00.0: Looking for event-dma 0000000861c06060 trb-start 000000086900cfb0 trb-end 000000086900cfb0 seg-start 000000086900c000 seg-end 000000086900cff0
[ 110.509353] xhci_hcd 0000:08:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 4 comp_code 13
[ 110.509359] xhci_hcd 0000:08:00.0: Looking for event-dma 0000000861c06070 trb-start 000000086900cfb0 trb-end 000000086900cfb0 seg-start 000000086900c000 seg-end 000000086900cff0
[ 110.510017] xhci_hcd 0000:08:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 4 comp_code 13
[ 110.510021] xhci_hcd 00...

Read more...

16 comments hidden view all 161 comments
Revision history for this message
Alejandro Mery (amery) wrote :

I've got this problem with a shiny new TB3 docking/eGPU (razer core x chroma) on 20.04. it has 3 ASM1142 controllers.

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

The issue was raised to ASMedia and they confirm this can only be fixed by firmware upgrade. Please push the hardware/motherboard vendor to roll out firmware update for your device.

16 comments hidden view all 161 comments
Revision history for this message
In , arcadiy (arcadiy-redhat-bugs) wrote :

There is Dell TB19 firmware available that is installable via fwupdmgr on Linux: https://www.dell.com/support/home/en-bm/drivers/driversdetails?driverid=cwcf9&oscode=rhl80&productcode=dell-wd19tb-dock

Revision history for this message
In , arcadiy (arcadiy-redhat-bugs) wrote :

Install via: sudo fwupdmgr install ~/Downloads/WD19FirmwareUpdateLinux_01.00.14.cab

Revision history for this message
In , alex.gronholm (alex.gronholm-redhat-bugs) wrote :

Thanks for the info (I own a WD19TB dock too) but that hardly helps with the TB16 problem. The WD19 series docks have working USB controllers, unlike TB16.

Revision history for this message
John Dop (vbx) wrote :

@arcadiy

fyi, this still happens on a xps 9300 with ubuntu 20.04/Linux 5.4.0-47-generic and wd19tb fw up to date :
sudo fwupdmgr install ~/Downloads/WD19FirmwareUpdateLinux_01.00.14.cab
Decompressing… [***************************************]
All updatable firmware is already installed

│ ├─Package level of Dell dock:
│ │ Device ID: xxx
│ │ Summary: A representation of dock update status
│ │ Current version: 01.00.14.01
│ │ Vendor: Dell Inc. (USB:0x413C)
│ │ Install Duration: 5 seconds
│ │ GUID: xxx
│ │ Device Flags: • Updatable
│ │ • Supported on remote server
│ │ • Device can recover flash failures
│ │ • Device is usable for the duration of the update

excerpt from kernel log:

[ 3896.481019] xhci_hcd 0000:00:14.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 13 comp_code 1
[ 3896.481025] xhci_hcd 0000:00:14.0: Looking for event-dma 00000000ffe012d0 trb-start 00000000ffe012e0 trb-end 00000000ffe012e0 seg-start 00000000ffe01000 seg-end 00000000ffe01ff0
[ 3896.481028] xhci_hcd 0000:00:14.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 15 comp_code 1
[ 3896.481029] xhci_hcd 0000:00:14.0: Looking for event-dma 00000000fffc9500 trb-start 00000000fffc9510 trb-end 00000000fffc9510 seg-start 00000000fffc9000 seg-end 00000000fffc9ff0
[ 3896.481990] xhci_hcd 0000:00:14.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 13 comp_code 1
[ 3896.481992] xhci_hcd 0000:00:14.0: Looking for event-dma 00000000ffe012e0 trb-start 00000000ffe012f0 trb-end 00000000ffe012f0 seg-start 00000000ffe01000 seg-end 00000000ffe01ff0
[ 3896.481994] xhci_hcd 0000:00:14.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 15 comp_code 1
[ 3896.481995] xhci_hcd 0000:00:14.0: Looking for event-dma 00000000fffc9510 trb-start 00000000fffc9520 trb-end 00000000fffc9520 seg-start 00000000fffc9000 seg-end 00000000fffc9ff0
[ 3896.482020] usb 3-4.3.4: cannot submit urb (err = -19)
[ 3896.483067] xhci_hcd 0000:00:14.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 13 comp_code 1
[ 3896.483070] xhci_hcd 0000:00:14.0: Looking for event-dma 00000000ffe012f0 trb-start 00000000ffe01300 trb-end 00000000ffe01300 seg-start 00000000ffe01000 seg-end 00000000ffe01ff0

Changed in linux:
importance: Unknown → High
status: Unknown → Confirmed
Revision history for this message
Søren Rasmussen (sorenrasmussen) wrote :
Download full text (3.2 KiB)

The same happens for me on a Dell XPS15 9560, Ubuntu 20.04/Linux 5.11.10-051110-generic.
The affected devices are connected to a USB3 hub on my monitor (not via a dock)

[ +0.001348] xhci_hcd 0000:00:14.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 1 comp_code 1
[ +0.000017] xhci_hcd 0000:00:14.0: Looking for event-dma 00000001dec92360 trb-start 00000001dec92370 trb-end 00000001dec92370 seg-start 00000001dec92000 seg-end 00000001dec92ff0
[ +0.002982] xhci_hcd 0000:00:14.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 1 comp_code 1
[ +0.000016] xhci_hcd 0000:00:14.0: Looking for event-dma 00000001dec92370 trb-start 00000001dec92380 trb-end 00000001dec92380 seg-start 00000001dec92000 seg-end 00000001dec92ff0
[ +0.000016] xhci_hcd 0000:00:14.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 1 comp_code 1
[ +0.000009] xhci_hcd 0000:00:14.0: Looking for event-dma 00000001dec92380 trb-start 00000001dec92390 trb-end 00000001dec92390 seg-start 00000001dec92000 seg-end 00000001dec92ff0
[ +0.000012] xhci_hcd 0000:00:14.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 1 comp_code 1
[ +0.000007] xhci_hcd 0000:00:14.0: Looking for event-dma 00000001dec92390 trb-start 00000001dec923a0 trb-end 00000001dec923a0 seg-start 00000001dec92000 seg-end 00000001dec92ff0
[ +0.001943] xhci_hcd 0000:00:14.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 1 comp_code 1
[ +0.000013] xhci_hcd 0000:00:14.0: Looking for event-dma 00000001dec923a0 trb-start 00000001dec923b0 trb-end 00000001dec923b0 seg-start 00000001dec92000 seg-end 00000001dec92ff0
[ +0.000014] xhci_hcd 0000:00:14.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 1 comp_code 1
[ +0.000008] xhci_hcd 0000:00:14.0: Looking for event-dma 00000001dec923b0 trb-start 00000001dec923c0 trb-end 00000001dec923c0 seg-start 00000001dec92000 seg-end 00000001dec92ff0
[ +0.002992] xhci_hcd 0000:00:14.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 1 comp_code 1
[ +0.000010] xhci_hcd 0000:00:14.0: Looking for event-dma 00000001dec923c0 trb-start 00000001dec923d0 trb-end 00000001dec923d0 seg-start 00000001dec92000 seg-end 00000001dec92ff0
[ +0.000008] xhci_hcd 0000:00:14.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 1 comp_code 1
[ +0.000005] xhci_hcd 0000:00:14.0: Looking for event-dma 00000001dec923d0 trb-start 00000001dec923e0 trb-end 00000001dec923e0 seg-start 00000001dec92000 seg-end 00000001dec92ff0
[ +0.000005] xhci_hcd 0000:00:14.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 1 comp_code 1
[ +0.000004] xhci_hcd 0000:00:14.0: Looking for event-dma 00000001dec923e0 trb-start 00000001dec923f0 trb-end 00000001dec923f0 seg-start 00000001dec92000 seg-end 00000001dec92ff0
[ +0.001967] xhci_hcd 0000:00:14.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 1 comp_code 1
[ +0.000010] xhci_hcd 0000:00:14.0: Looking for event-dma 00000001dec923f0 trb-start 00000001dec92400 trb-end 00000001dec92400 seg-start 00000001dec92000 seg-end 00000001dec92ff0
[ +0.000009] xhci_hcd 0000:00:14.0: WARN Event TRB for slot 44 ep 1 w...

Read more...

Displaying first 40 and last 40 comments. View all 161 comments or add a comment.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.