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: 00000000ffffffff Feb 21 15:43:42 localhost kernel: [18412.137122] RBP: ffff8808581a645c R08: ffffffff815daba0 R09: 0000000000001cb5 Feb 21 15:43:42 localhost kernel: [18412.137125] R10: 0000000000000282 R11: ffffffff827c2f8d R12: ffff8808581a6478 Feb 21 15:43:42 localhost kernel: [18412.137127] R13: ffff8808581a6000 R14: 0000000000000001 R15: ffff8808562df880 Feb 21 15:43:42 localhost kernel: [18412.137131] FS: 0000000000000000(0000) GS:ffff88087e440000(0000) knlGS:0000000000000000 Feb 21 15:43:42 localhost kernel: [18412.137134] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Feb 21 15:43:42 localhost kernel: [18412.137137] CR2: 0000005a52651000 CR3: 000000000220a006 CR4: 00000000003606e0 Feb 21 15:43:42 localhost kernel: [18412.137139] Call Trace: Feb 21 15:43:42 localhost kernel: [18412.137143] <IRQ> Feb 21 15:43:42 localhost kernel: [18412.137148] ? dev_graft_qdisc+0x70/0x70 Feb 21 15:43:42 localhost kernel: [18412.137152] ? dev_graft_qdisc+0x70/0x70 Feb 21 15:43:42 localhost kernel: [18412.137158] call_timer_fn+0x11/0x70 Feb 21 15:43:42 localhost kernel: [18412.137163] expire_timers+0x8e/0xa0 Feb 21 15:43:42 localhost kernel: [18412.137169] run_timer_softirq+0x9f/0x140 Feb 21 15:43:42 localhost kernel: [18412.137174] ? timerqueue_add+0x52/0x80 Feb 21 15:43:42 localhost kernel: [18412.137180] ? recalibrate_cpu_khz+0x10/0x10 Feb 21 15:43:42 localhost kernel: [18412.137185] ? ktime_get+0x39/0x90 Feb 21 15:43:42 localhost kernel: [18412.137191] __do_softirq+0xd6/0x1e0 Feb 21 15:43:42 localhost kernel: [18412.137197] irq_exit+0x91/0xa0 Feb 21 15:43:42 localhost kernel: [18412.137203] smp_apic_timer_interrupt+0x60/0x90 Feb 21 15:43:42 localhost kernel: [18412.137207] apic_timer_interrupt+0x95/0xa0 Feb 21 15:43:42 localhost kernel: [18412.137210] </IRQ> Feb 21 15:43:42 localhost kernel: [18412.137215] RIP: 0010:cpuidle_enter_state+0x129/0x200 Feb 21 15:43:42 localhost kernel: [18412.137218] RSP: 0018:ffffc900031dfed8 EFLAGS: 00000202 ORIG_RAX: ffffffffffffff11 Feb 21 15:43:42 localhost kernel: [18412.137222] RAX: ffff88087e440000 RBX: 0000000000000006 RCX: 000000000000001f Feb 21 15:43:42 localhost kernel: [18412.137225] RDX: 20c49ba5e353f7cf RSI: ffffffff82063a3a RDI: ffffffff820657d3 Feb 21 15:43:42 localhost kernel: [18412.137228] RBP: ffff88087e469500 R08: 00000000000016e5 R09: 000000000000050e Feb 21 15:43:42 localhost kernel: [18412.137231] R10: ffffc900031dfeb8 R11: 0000000000000c7f R12: 000010bee8e19d31 Feb 21 15:43:42 localhost kernel: [18412.137233] R13: 000010bee8be5300 R14: 0000000000000006 R15: 0000000000000000 Feb 21 15:43:42 localhost kernel: [18412.137239] ? cpuidle_enter_state+0x11e/0x200 Feb 21 15:43:42 localhost kernel: [18412.137246] do_idle+0x176/0x1b0 Feb 21 15:43:42 localhost kernel: [18412.137251] cpu_startup_entry+0x14/0x20 Feb 21 15:43:42 localhost kernel: [18412.137256] start_secondary+0x142/0x170 Feb 21 15:43:42 localhost kernel: [18412.137260] secondary_startup_64+0xa5/0xb0 Feb 21 15:43:42 localhost kernel: [18412.137264] Code: 00 49 63 4c 24 e8 eb 8c 4c 89 ef c6 05 b3 06 ab 00 01 e8 3f e7 fd ff 89 d9 4c 89 ee 48 c7 c7 b8 f4 0f 82 48 89 c2 e8 3b 4c 86 ff <0f> ff eb be 0f 1f 80 00 00 00 00 48 c7 47 08 00 00 00 00 48 c7 Feb 21 15:43:42 localhost kernel: [18412.137323] ---[ end trace a9a46c2c7b1cae38 ]--- Which is then followed by: Feb 21 15:43:42 localhost kernel: [18412.137329] r8152 4-1.2:1.0 enxa44cc8d0edff: Tx timeout Feb 21 15:43:46 localhost kernel: [18417.000936] r8152 4-1.2:1.0 enxa44cc8d0edff: Tx timeout Feb 21 15:43:49 localhost kernel: [18419.814431] r8152 4-1.2:1.0 enxa44cc8d0edff: Tx status -2 Feb 21 15:43:49 localhost kernel: [18419.824232] r8152 4-1.2:1.0 enxa44cc8d0edff: Tx status -2 Feb 21 15:43:49 localhost kernel: [18419.834254] r8152 4-1.2:1.0 enxa44cc8d0edff: Tx status -2 Feb 21 15:43:49 localhost kernel: [18419.844304] r8152 4-1.2:1.0 enxa44cc8d0edff: Tx status -2 Feb 21 15:43:52 localhost kernel: [18422.120902] r8152 4-1.2:1.0 enxa44cc8d0edff: Tx timeout Feb 21 15:43:56 localhost kernel: [18426.984828] r8152 4-1.2:1.0 enxa44cc8d0edff: Tx timeout Feb 21 15:44:02 localhost kernel: [18432.104805] r8152 4-1.2:1.0 enxa44cc8d0edff: Tx timeout Only a reboot fixes it. I am considering using the TB16 as a doorstop; it's more stable that way. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1667750 Title: xhci_hcd: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 2 comp_code 13 Status in HWE Next: Fix Released Status in linux package in Ubuntu: Fix Released Status in linux source package in Xenial: Fix Released Status in linux source package in Zesty: Fix Released Status in linux source package in Artful: Fix Released Status in linux package in Arch Linux: New Status in linux package in Debian: New Status in linux package in Fedora: Confirmed 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. To manage notifications about this bug go to: https://bugs.launchpad.net/hwe-next/+bug/1667750/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp