2017-02-24 17:29:05 |
l3iggs |
bug |
|
|
added bug |
2017-02-24 17:30:13 |
Brad Figg |
linux (Ubuntu): status |
New |
Confirmed |
|
2017-02-24 17:34:32 |
l3iggs |
bug |
|
|
added subscriber Christopher M. Penalver |
2017-02-24 17:47:21 |
l3iggs |
description |
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.
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. |
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. |
|
2017-02-24 18:00:38 |
Joseph Salisbury |
linux (Ubuntu): importance |
Undecided |
Medium |
|
2017-02-24 18:01:02 |
Joseph Salisbury |
linux (Ubuntu): status |
Confirmed |
Incomplete |
|
2017-02-24 18:57:40 |
l3iggs |
bug task added |
|
linux (Arch Linux) |
|
2017-02-24 20:18:13 |
Joel Vasallo |
bug task added |
|
linux (Fedora) |
|
2017-02-25 00:40:47 |
l3iggs |
linux (Ubuntu): status |
Incomplete |
Confirmed |
|
2017-02-25 13:47:52 |
l3iggs |
tags |
amd64 apport-bug zesty |
amd64 apport-bug kernel-bug-exists-upstream zesty |
|
2017-02-25 18:10:35 |
l3iggs |
bug watch added |
|
https://bugzilla.redhat.com/show_bug.cgi?id=1299252 |
|
2017-02-25 18:10:35 |
l3iggs |
bug watch added |
|
https://bugzilla.redhat.com/show_bug.cgi?id=1246953 |
|
2017-03-17 03:58:24 |
penalvch |
removed subscriber Christopher M. Penalver |
|
|
|
2017-03-21 09:46:29 |
Hordur Heidarsson |
bug |
|
|
added subscriber Hordur Heidarsson |
2017-03-21 17:49:22 |
Lev Popov |
bug |
|
|
added subscriber Lev Popov |
2017-03-26 14:09:11 |
Hugo |
bug |
|
|
added subscriber Hugo |
2017-03-27 17:33:57 |
l3iggs |
attachment added |
|
4.11.trace.txt https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1667750/+attachment/4847786/+files/4.11.trace.txt |
|
2017-03-27 17:34:29 |
l3iggs |
attachment added |
|
4.11.dmesg.txt https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1667750/+attachment/4847787/+files/4.11.dmesg.txt |
|
2017-03-29 21:32:02 |
Alex Shchagin |
bug |
|
|
added subscriber Alex Shchagin |
2017-03-31 19:30:43 |
Ryan M |
bug |
|
|
added subscriber Ryan M |
2017-04-03 08:56:56 |
Bram Biesbrouck |
bug |
|
|
added subscriber Bram Biesbrouck |
2017-04-04 21:47:28 |
imperia |
bug task added |
|
linux (Debian) |
|
2017-04-07 12:24:31 |
Arjen |
bug |
|
|
added subscriber Arjen |
2017-04-19 08:39:30 |
André Düwel |
attachment added |
|
lsusb.txt https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1667750/+attachment/4864651/+files/lsusb.txt |
|
2017-04-19 08:41:41 |
André Düwel |
bug |
|
|
added subscriber André Düwel |
2017-04-19 08:43:24 |
André Düwel |
attachment added |
|
lshw-short.txt https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1667750/+attachment/4864652/+files/lshw-short.txt |
|
2017-04-28 04:50:10 |
Corey Schuhen |
bug |
|
|
added subscriber Corey Schuhen |
2017-05-01 04:29:47 |
Jesse Sung |
bug |
|
|
added subscriber Jesse Sung |
2017-05-02 12:27:50 |
Jan Sundman |
bug |
|
|
added subscriber Jan Sundman |
2017-05-25 19:42:08 |
Caleb Cassel |
bug |
|
|
added subscriber Caleb Cassel |
2017-05-31 16:20:49 |
Zhenfang Wei |
bug |
|
|
added subscriber Zhenfang Wei |
2017-05-31 18:04:47 |
Patrick Doyle |
bug |
|
|
added subscriber Patrick Doyle |
2017-06-09 15:50:32 |
Mario Limonciello |
bug |
|
|
added subscriber Mario Limonciello |
2017-06-22 06:41:35 |
AceLan Kao |
bug |
|
|
added subscriber Canonical Hardware Enablement Team |
2017-06-22 06:41:39 |
AceLan Kao |
tags |
amd64 apport-bug kernel-bug-exists-upstream zesty |
amd64 apport-bug kernel-bug-exists-upstream originate-from-1696057 somerville zesty |
|
2017-06-22 13:47:27 |
Patrick Doyle |
attachment added |
|
/etc/NetworkManager/dispatcher.d/pre-up.d script to limit the ethernet rate to 100Mbps https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1667750/+attachment/4900952/+files/tb16_speed_limit |
|
2017-06-22 16:51:56 |
Kathryn Morgan |
bug |
|
|
added subscriber Benjamin Morgan |
2017-07-10 23:21:41 |
Gary Peck |
bug |
|
|
added subscriber Gary Peck |
2017-07-17 20:46:12 |
Mario Limonciello |
bug watch added |
|
https://bugzilla.redhat.com/show_bug.cgi?id=1460789 |
|
2017-07-17 20:46:12 |
Mario Limonciello |
linux (Fedora): importance |
Undecided |
Unknown |
|
2017-07-17 20:46:12 |
Mario Limonciello |
linux (Fedora): status |
New |
Unknown |
|
2017-07-17 20:46:12 |
Mario Limonciello |
linux (Fedora): remote watch |
|
Red Hat Bugzilla #1460789 |
|
2017-07-17 20:48:40 |
Mario Limonciello |
bug watch removed |
https://bugzilla.redhat.com/show_bug.cgi?id=1299252 |
|
|
2017-07-17 20:48:58 |
Mario Limonciello |
bug watch removed |
https://bugzilla.redhat.com/show_bug.cgi?id=1246953 |
|
|
2017-07-18 06:47:55 |
Kai-Heng Feng |
linux (Ubuntu): assignee |
|
Kai-Heng Feng (kaihengfeng) |
|
2017-07-19 07:46:34 |
Kai-Heng Feng |
description |
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. |
[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. |
|
2017-07-19 07:46:43 |
Kai-Heng Feng |
nominated for series |
|
Ubuntu Artful |
|
2017-07-19 07:46:43 |
Kai-Heng Feng |
nominated for series |
|
Ubuntu Zesty |
|
2017-07-19 07:46:43 |
Kai-Heng Feng |
nominated for series |
|
Ubuntu Xenial |
|
2017-07-21 08:12:12 |
Stefan Bader |
bug task added |
|
linux (Ubuntu Zesty) |
|
2017-07-21 08:12:21 |
Stefan Bader |
bug task added |
|
linux (Ubuntu Xenial) |
|
2017-07-24 14:20:59 |
Seth Forshee |
bug task added |
|
linux (Ubuntu Artful) |
|
2017-07-24 14:21:08 |
Seth Forshee |
linux (Ubuntu Artful): status |
Confirmed |
Fix Committed |
|
2017-08-07 11:51:13 |
Kleber Sacilotto de Souza |
linux (Ubuntu Xenial): status |
New |
In Progress |
|
2017-08-07 11:51:18 |
Kleber Sacilotto de Souza |
linux (Ubuntu Xenial): status |
In Progress |
Fix Committed |
|
2017-08-07 11:51:21 |
Kleber Sacilotto de Souza |
linux (Ubuntu Zesty): status |
New |
Fix Committed |
|
2017-08-07 13:34:30 |
Bram Biesbrouck |
linux (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|
2017-08-09 04:48:20 |
Kai-Heng Feng |
linux (Ubuntu Xenial): status |
Fix Released |
Fix Committed |
|
2017-08-10 05:56:17 |
Launchpad Janitor |
linux (Ubuntu Artful): status |
Fix Committed |
Fix Released |
|
2017-08-10 05:56:17 |
Launchpad Janitor |
cve linked |
|
2017-1000364 |
|
2017-08-10 05:56:17 |
Launchpad Janitor |
cve linked |
|
2017-10810 |
|
2017-08-10 05:56:17 |
Launchpad Janitor |
cve linked |
|
2017-7533 |
|
2017-08-16 16:33:13 |
Kleber Sacilotto de Souza |
tags |
amd64 apport-bug kernel-bug-exists-upstream originate-from-1696057 somerville zesty |
amd64 apport-bug kernel-bug-exists-upstream originate-from-1696057 somerville verification-needed-xenial zesty |
|
2017-08-16 16:33:57 |
Kleber Sacilotto de Souza |
tags |
amd64 apport-bug kernel-bug-exists-upstream originate-from-1696057 somerville verification-needed-xenial zesty |
amd64 apport-bug kernel-bug-exists-upstream originate-from-1696057 somerville verification-needed-xenial verification-needed-zesty zesty |
|
2017-08-17 21:41:49 |
Corey Schuhen |
tags |
amd64 apport-bug kernel-bug-exists-upstream originate-from-1696057 somerville verification-needed-xenial verification-needed-zesty zesty |
amd64 apport-bug kernel-bug-exists-upstream originate-from-1696057 somerville verification-done-zesty verification-needed-xenial zesty |
|
2017-08-21 14:01:36 |
Mario Limonciello |
tags |
amd64 apport-bug kernel-bug-exists-upstream originate-from-1696057 somerville verification-done-zesty verification-needed-xenial zesty |
amd64 apport-bug kernel-bug-exists-upstream originate-from-1696057 somerville verification-done-xenial verification-done-zesty zesty |
|
2017-08-23 09:21:06 |
Andreas Fritiofson |
bug |
|
|
added subscriber Andreas Fritiofson |
2017-08-28 10:14:02 |
Launchpad Janitor |
linux (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|
2017-08-28 10:14:02 |
Launchpad Janitor |
cve linked |
|
2015-7837 |
|
2017-08-28 10:14:02 |
Launchpad Janitor |
cve linked |
|
2017-1000111 |
|
2017-08-28 10:14:02 |
Launchpad Janitor |
cve linked |
|
2017-1000112 |
|
2017-08-28 10:14:02 |
Launchpad Janitor |
cve linked |
|
2017-7495 |
|
2017-08-28 10:14:27 |
Launchpad Janitor |
linux (Ubuntu Zesty): status |
Fix Committed |
Fix Released |
|
2017-08-28 10:14:27 |
Launchpad Janitor |
cve linked |
|
2017-7487 |
|
2017-08-28 10:14:57 |
Launchpad Janitor |
linux (Ubuntu Zesty): status |
Fix Committed |
Fix Released |
|
2017-08-29 14:18:13 |
Johann Hartwig Hauschild |
bug |
|
|
added subscriber Johann Hartwig Hauschild |
2017-09-11 22:14:22 |
DC288 |
bug |
|
|
added subscriber DC288 |
2017-10-28 00:18:47 |
Bug Watch Updater |
linux (Fedora): status |
Unknown |
Confirmed |
|
2017-10-28 00:18:47 |
Bug Watch Updater |
linux (Fedora): importance |
Unknown |
Undecided |
|
2017-11-11 09:30:02 |
Anthony Wong |
hwe-next: status |
New |
Fix Released |
|
2017-12-14 15:48:50 |
Jason Ware |
bug |
|
|
added subscriber Jason Ware |
2019-07-24 21:01:36 |
Brad Figg |
tags |
amd64 apport-bug kernel-bug-exists-upstream originate-from-1696057 somerville verification-done-xenial verification-done-zesty zesty |
amd64 apport-bug cscc kernel-bug-exists-upstream originate-from-1696057 somerville verification-done-xenial verification-done-zesty zesty |
|
2020-04-10 02:05:19 |
Felix Contant |
bug |
|
|
added subscriber Felix Contant |
2020-07-05 19:27:22 |
Alejandro Mery |
attachment added |
|
sudo lshw -short https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1667750/+attachment/5389980/+files/lshw_short.txt |
|
2020-07-16 16:38:28 |
Alon Diamant |
bug |
|
|
added subscriber Alon Diamant |
2020-10-12 02:38:09 |
Andrew H |
bug |
|
|
added subscriber Andrew H |
2021-03-22 02:33:48 |
Kevin Hester |
bug watch added |
|
https://bugzilla.kernel.org/show_bug.cgi?id=202541 |
|
2021-03-22 02:33:48 |
Kevin Hester |
bug task added |
|
linux |
|
2021-03-22 03:04:56 |
Bug Watch Updater |
linux: status |
Unknown |
Confirmed |
|
2021-03-22 03:04:56 |
Bug Watch Updater |
linux: importance |
Unknown |
High |
|
2021-09-09 07:04:01 |
Bug Watch Updater |
bug watch added |
|
https://github.com/ZerBea/hcxdumptool/issues/42 |
|
2021-09-09 07:04:01 |
Bug Watch Updater |
bug watch added |
|
https://bugzilla.kernel.org/show_bug.cgi?id=202241 |
|
2021-09-09 07:04:01 |
Bug Watch Updater |
bug watch added |
|
https://github.com/ZerBea/hcxdumptool/issues/57 |
|
2021-09-09 07:04:01 |
Bug Watch Updater |
bug watch added |
|
https://github.com/aircrack-ng/rtl8812au/issues/376 |
|
2021-09-09 07:04:01 |
Bug Watch Updater |
bug watch added |
|
https://github.com/dresden-elektronik/deconz-rest-plugin/issues/1640 |
|
2021-09-09 07:04:01 |
Bug Watch Updater |
bug watch added |
|
https://bugzilla.kernel.org/show_bug.cgi?id=202243 |
|
2021-09-09 07:04:01 |
Bug Watch Updater |
bug watch added |
|
https://bugzilla.kernel.org/show_bug.cgi?id=61621 |
|
2021-09-09 07:04:01 |
Bug Watch Updater |
bug watch added |
|
https://bugzilla.kernel.org/show_bug.cgi?id=198701 |
|
2021-09-09 07:04:01 |
Bug Watch Updater |
bug watch added |
|
https://github.com/ZerBea/hcxdumptool/issues/80 |
|
2021-09-09 07:04:01 |
Bug Watch Updater |
bug watch added |
|
https://github.com/mossmann/hackrf/issues/783 |
|
2021-09-09 13:03:38 |
Nate Wiebe |
removed subscriber Nate Wiebe |
|
|
|
2021-09-22 18:40:23 |
Hordur Heidarsson |
removed subscriber Hordur Heidarsson |
|
|
|
2023-07-26 21:32:09 |
Caleb Cassel |
removed subscriber Caleb Cassel |
|
|
|
2024-07-04 09:04:17 |
qihongmin |
bug |
|
|
added subscriber qihongmin |