[Bug 1729674]
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. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674]
(In reply to Alex Grönholm from comment #47) > 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. It was a long night and TB16 looked like WD19 to me :) That said, I experience exactly the same issues with Dell Precision 5540 + WD19 as in comment42 and comment44. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674]
ep_index 4 comp_code 13 [ 110.546948] xhci_hcd :08:00.0: Looking for event-dma 000861c060e0 trb-start 00086900cfb0 trb-end 00086900cfb0 seg-start 00086900c000 seg-end 00086900cff0 [ 110.547252] xhci_hcd :08:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 4 comp_code 13 [ 110.547256] xhci_hcd :08:00.0: Looking for event-dma 000861c060f0 trb-start 00086900cfb0 trb-end 00086900cfb0 seg-start 00086900c000 seg-end 00086900cff0 [ 110.547358] xhci_hcd :08:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 4 comp_code 13 [ 110.547360] xhci_hcd :08:00.0: Looking for event-dma 000861c06100 trb-start 00086900cfb0 trb-end 00086900cfb0 seg-start 00086900c000 seg-end 00086900cff0 [ 110.550637] xhci_hcd :08:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 4 comp_code 13 [ 110.550643] xhci_hcd :08:00.0: Looking for event-dma 000861c06110 trb-start 00086900cfb0 trb-end 00086900cfb0 seg-start 00086900c000 seg-end 00086900cff0 I've tried 5 different USB/Thunderbolt Ethernet adapters. Same issue on all of them. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674]
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. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674]
Install via: sudo fwupdmgr install ~/Downloads/WD19FirmwareUpdateLinux_01.00.14.cab -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674]
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 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674]
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: -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674]
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 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674]
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 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674]
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. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674]
cc -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674]
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, 1M |__ 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). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674]
@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. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674]
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: 0100 /: 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 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674]
https://lkml.org/lkml/2018/8/20/42 There is a patch in upstream. Turn off the checksum offloading. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
@oddbjornk @cristofaro Launchpad is not a forum. Each bug is meant to solve one problem. One of you need to create a new bug for the new problem. You are welcome to reference or link this issue in that new bug though so whoever triages it has a reference. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
12 18:29:21 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux TB16 and Dell XPS 9370 updated to last version available. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
** Tags added: cscc -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
169707] irq_exit+0xc0/0xd0 Jun 21 14:41:44 xps15 kernel: [12338.169708] smp_apic_timer_interrupt+0x79/0x140 Jun 21 14:41:44 xps15 kernel: [12338.169709] apic_timer_interrupt+0xf/0x20 Jun 21 14:41:44 xps15 kernel: [12338.169709] Jun 21 14:41:44 xps15 kernel: [12338.169711] RIP: 0010:cpuidle_enter_state+0xbd/0x450 Jun 21 14:41:44 xps15 kernel: [12338.169712] Code: ff e8 87 36 87 ff 80 7d c7 00 74 17 9c 58 0f 1f 44 00 00 f6 c4 02 0f 85 63 03 00 00 31 ff e8 ba 65 8d ff fb 66 0f 1f 44 00 00 <45> 85 ed 0f 88 8d 02 00 00 49 63 cd 48 8b 75 d0 48 2b 75 c8 48 8d Jun 21 14:41:44 xps15 kernel: [12338.169712] RSP: 0018:b92cc3233e60 EFLAGS: 0246 ORIG_RAX: ff13 Jun 21 14:41:44 xps15 kernel: [12338.169714] RAX: 8ef45c3a2d80 RBX: af353c80 RCX: 0b38b434f88e Jun 21 14:41:44 xps15 kernel: [12338.169714] RDX: 0b38b434f88e RSI: 0b38b434f861 RDI: Jun 21 14:41:44 xps15 kernel: [12338.169714] RBP: b92cc3233ea0 R08: ffc2f71a R09: 00022640 Jun 21 14:41:44 xps15 kernel: [12338.169715] R10: 1cf3e3c5ccaa R11: 8ef45c3a1c04 R12: 8ef45c3ad700 Jun 21 14:41:44 xps15 kernel: [12338.169715] R13: 0008 R14: af353f98 R15: af353f80 Jun 21 14:41:44 xps15 kernel: [12338.169718] cpuidle_enter+0x17/0x20 Jun 21 14:41:44 xps15 kernel: [12338.169719] call_cpuidle+0x23/0x40 Jun 21 14:41:44 xps15 kernel: [12338.169720] do_idle+0x23a/0x280 Jun 21 14:41:44 xps15 kernel: [12338.169721] cpu_startup_entry+0x1d/0x20 Jun 21 14:41:44 xps15 kernel: [12338.169722] start_secondary+0x1ab/0x200 Jun 21 14:41:44 xps15 kernel: [12338.169724] secondary_startup_64+0xa4/0xb0 Jun 21 14:41:44 xps15 kernel: [12338.169725] ---[ end trace fa609c9e3626d53e ]--- Jun 21 14:41:44 xps15 kernel: [12338.169728] r8152 6-1.2:1.0 enxe4b97ae3eb62: Tx timeout Jun 21 14:41:44 xps15 kernel: [12338.175371] r8152 6-1.2:1.0 enxe4b97ae3eb62: Tx status -2 Jun 21 14:41:44 xps15 kernel: [12338.175983] r8152 6-1.2:1.0 enxe4b97ae3eb62: Tx status -2 Jun 21 14:41:44 xps15 kernel: [12338.176244] r8152 6-1.2:1.0 enxe4b97ae3eb62: Tx status -2 Jun 21 14:41:44 xps15 kernel: [12338.176538] r8152 6-1.2:1.0 enxe4b97ae3eb62: Tx status -2 Jun 21 14:41:47 xps15 kernel: [12340.951956] usb 6-1.2: reset SuperSpeed Gen 1 USB device number 3 using xhci_hcd The TB16 has been updated to the latest firmware using a Windows laptop. The workaround from earlier posts still help: ethtool -s enxe4b97ae3eb62 speed 100 duplex full autoneg on ethtool --offload enxe4b97ae3eb62 tx off -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
Thanks. It looks like I got this kernel version from the "linux-signed- oem" package: https://launchpad.net/ubuntu/bionic/+source/linux-signed- oem. I am not sure why my system is set up for that kernel package. There is a new version in bionic-proposed, "linux-signed-oem 4.15.0-1035.40", which I tried and that seems to have fixed the problem. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
You will want to contact Dell support on that one as it appears you are running a non- Ubuntu kernel version (it's probably Dell provided). You might simply need to upgrade. On Thu, Mar 28, 2019, 3:40 PM Maxwell Ballenger wrote: > Thanks for the work you all have done tracking this down. I am > experiencing an issue with identical symptoms. I understand the problem > should be fixed with 4.15+, so I may be experiencing a different bug. If > anyone could help me determine that conclusively or point me in a > direction that might help me fix this one, I'd really appreciate it! > > Below I have reproduced the issue in the same way as above, with the > same workaround. > > Dell Precision 5530 > TB16 Dock > Ubuntu 18.04 > Kernel: 4.15.0-1034-oem > > $ sudo ethtool --offload enx3c2c30b2d39a rx on > $ for i in 1 2 3 4 5 6 7 8 9; 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 > 5cfcb270becce9962c0dc305dac943b9 2.iso > 4672ce371fb3c1170a9e71bc4b2810b9 3.iso > ba8ec5ef56501dbab731dcd0e627a334 4.iso > 7d5d892efa5899a99129d90167508434 5.iso > c0402e3a6a1179d77c3132e15af2b81f 6.iso > 4672ce371fb3c1170a9e71bc4b2810b9 7.iso > 4672ce371fb3c1170a9e71bc4b2810b9 8.iso > 4672ce371fb3c1170a9e71bc4b2810b9 9.iso > $ sudo ethtool --offload enx3c2c30b2d39a rx off > $ for i in 1 2 3 4 5 6 7 8 9; 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 > 4672ce371fb3c1170a9e71bc4b2810b9 7.iso > 4672ce371fb3c1170a9e71bc4b2810b9 8.iso > 4672ce371fb3c1170a9e71bc4b2810b9 9.iso > $ uname -r > 4.15.0-1034-oem > $ > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1729674 > > Title: > TB16 dock ethernet corrupts data with hw checksum silently failing > > Status in Dell Sputnik: > Triaged > Status in linux package in Ubuntu: > Fix Released > Status in linux source package in Xenial: > Fix Released > Status in linux source package in Artful: > Fix Released > Status in linux source package in Bionic: > Fix Released > Status in linux package in Fedora: > Confirmed > > Bug description: > It looks like TCP rx and tx checksum offloading is broken on the TB16 > dock's ethernet adapter. For example downloading a large file such as the > Ubuntu ISO, and then running an md5sum on it yields the incorrect md5sum. > This is because > rx-checksumming: on > tx-checksumming: on > and both set to on by default. > > Running sudo ethtool -K tx off rx off, allows the > download to complete correctly. This is very bad since this can cause > very bad untrustworthy behavior. > > This was conducted using an Dell Precision 5520 on Ubuntu 16.04+linux- > generic-hwe-16.04-edge. > > Thank you > > To manage notifications about this bug go to: > https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions > > Launchpad-Notification-Type: bug > Launchpad-Bug: product=dell-sputnik; status=Triaged; importance=High; > assignee=None; > Launchpad-Bug: distribution=ubuntu; sourcepackage=linux; component=main; > milestone=ubuntu-18.04; status=Fix Released; importance=High; assignee= > kai.heng.f...@canonical.com; > Launchpad-Bug: distribution=ubuntu; distroseries=xenial; > sourcepackage=linux; component=main; status=Fix Released; > importance=Undecided; assignee=None; > Launchpad-Bug: distribution=ubuntu; distroseries=artful; > sourcepackage=linux; component=main; status=Fix Released; importance=High; > assignee=None; > Launchpad-Bug: distribution=ubuntu; distroseries=bionic; > sourcepackage=linux; component=main; milestone=ubuntu-18.04; status=Fix > Released; importance=High; assignee=kai.heng.f...@canonical.com; > Launchpad-Bug: distribution=fedora; sourcepackage=linux; component=None; > status=Confirmed; importance=Undecided; assignee=None; > Launchpad-Bug-Tags: indeed verification-done-artful > verification-done-xenial > Launchpad-Bug-Information-Type: Public > Launchpad-Bug-Private: no > Launchpad-Bug-Security-Vulnerability: no > Launchpad-Bug-Commenters: ballengerm benjamin-redhat-bugs chiluk > christian-redhat-bugs gerben-redhat-bugs janitor jarod-redhat-bugs > jeremy-redhat-bugs jiri-redhat-bugs kai-heng-redhat-bugs kaihengfeng katamo > luciano marianne-z mario-redhat
[Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
Thanks for the work you all have done tracking this down. I am experiencing an issue with identical symptoms. I understand the problem should be fixed with 4.15+, so I may be experiencing a different bug. If anyone could help me determine that conclusively or point me in a direction that might help me fix this one, I'd really appreciate it! Below I have reproduced the issue in the same way as above, with the same workaround. Dell Precision 5530 TB16 Dock Ubuntu 18.04 Kernel: 4.15.0-1034-oem $ sudo ethtool --offload enx3c2c30b2d39a rx on $ for i in 1 2 3 4 5 6 7 8 9; 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 5cfcb270becce9962c0dc305dac943b9 2.iso 4672ce371fb3c1170a9e71bc4b2810b9 3.iso ba8ec5ef56501dbab731dcd0e627a334 4.iso 7d5d892efa5899a99129d90167508434 5.iso c0402e3a6a1179d77c3132e15af2b81f 6.iso 4672ce371fb3c1170a9e71bc4b2810b9 7.iso 4672ce371fb3c1170a9e71bc4b2810b9 8.iso 4672ce371fb3c1170a9e71bc4b2810b9 9.iso $ sudo ethtool --offload enx3c2c30b2d39a rx off $ for i in 1 2 3 4 5 6 7 8 9; 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 4672ce371fb3c1170a9e71bc4b2810b9 7.iso 4672ce371fb3c1170a9e71bc4b2810b9 8.iso 4672ce371fb3c1170a9e71bc4b2810b9 9.iso $ uname -r 4.15.0-1034-oem $ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
@katamo 4.14.xx is not a supported Ubuntu kernel. I'm not sure where you pulled that kernel from, but it is not supportable. At this point all Supported Ubuntu kernels and mainline 4.15+ have this fix. @EVERYONE ELSE If you think you are hitting this issue and are running the latest supported kernels, you are likely hitting a different issue, and should be opening a new bug. Please stop resurrecting this bug. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
@Kat, Can you please confirm the particular Ubuntu kernel that you are still encountering the need to run this command? As I understood this patch (that effectively does what that command does) is backported into all the latest Ubuntu kernels, so if it's still happening that is important information. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
Confirmed the following command resolved issue disconnect in transferring 25GB+ files over TB16 ethernet device via both SCP & SFTP `$ ethtool --offload enp14s0u1u2 rx off` Models Tested: - 7720 - 5520 Kernels Tested: - 4.14.xx Observed Symptom Error Encountered when using scp or sftp: - sh_dispatch_run_fatal: Connection to 10.10.10.36 port 22: message authentication code incorrect - lost connection Unable to test >4.14 at this time -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674]
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! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674]
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 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674]
FYI this commit ended up landing related to this. I would recommend to backport it. https://github.com/torvalds/linux/commit/0b1655143df00ac5349f27b765b2ed13a3ac40ca -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674]
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. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
This bug was fixed in the package linux - 4.4.0-119.143 --- linux (4.4.0-119.143) xenial; urgency=medium * linux: 4.4.0-119.143 -proposed tracker (LP: #1760327) * Dell XPS 13 9360 bluetooth scan can not detect any device (LP: #1759821) - Revert "Bluetooth: btusb: fix QCA Rome suspend/resume" linux (4.4.0-118.142) xenial; urgency=medium * linux: 4.4.0-118.142 -proposed tracker (LP: #1759607) * Kernel panic with AWS 4.4.0-1053 / 4.4.0-1015 (Trusty) (LP: #1758869) - x86/microcode/AMD: Do not load when running on a hypervisor * CVE-2018-8043 - net: phy: mdio-bcm-unimac: fix potential NULL dereference in unimac_mdio_probe() linux (4.4.0-117.141) xenial; urgency=medium * linux: 4.4.0-117.141 -proposed tracker (LP: #1755208) * Xenial update to 4.4.114 stable release (LP: #1754592) - x86/asm/32: Make sync_core() handle missing CPUID on all 32-bit kernels - usbip: prevent vhci_hcd driver from leaking a socket pointer address - usbip: Fix implicit fallthrough warning - usbip: Fix potential format overflow in userspace tools - x86/microcode/intel: Fix BDW late-loading revision check - x86/retpoline: Fill RSB on context switch for affected CPUs - sched/deadline: Use the revised wakeup rule for suspending constrained dl tasks - can: af_can: can_rcv(): replace WARN_ONCE by pr_warn_once - can: af_can: canfd_rcv(): replace WARN_ONCE by pr_warn_once - PM / sleep: declare __tracedata symbols as char[] rather than char - time: Avoid undefined behaviour in ktime_add_safe() - timers: Plug locking race vs. timer migration - Prevent timer value 0 for MWAITX - drivers: base: cacheinfo: fix x86 with CONFIG_OF enabled - drivers: base: cacheinfo: fix boot error message when acpi is enabled - PCI: layerscape: Add "fsl,ls2085a-pcie" compatible ID - PCI: layerscape: Fix MSG TLP drop setting - mmc: sdhci-of-esdhc: add/remove some quirks according to vendor version - fs/select: add vmalloc fallback for select(2) - hwpoison, memcg: forcibly uncharge LRU pages - cma: fix calculation of aligned offset - mm, page_alloc: fix potential false positive in __zone_watermark_ok - ipc: msg, make msgrcv work with LONG_MIN - x86/ioapic: Fix incorrect pointers in ioapic_setup_resources() - ACPI / processor: Avoid reserving IO regions too early - ACPI / scan: Prefer devices without _HID/_CID for _ADR matching - ACPICA: Namespace: fix operand cache leak - netfilter: x_tables: speed up jump target validation - netfilter: arp_tables: fix invoking 32bit "iptable -P INPUT ACCEPT" failed in 64bit kernel - netfilter: nf_dup_ipv6: set again FLOWI_FLAG_KNOWN_NH at flowi6_flags - netfilter: nf_ct_expect: remove the redundant slash when policy name is empty - netfilter: nfnetlink_queue: reject verdict request from different portid - netfilter: restart search if moved to other chain - netfilter: nf_conntrack_sip: extend request line validation - netfilter: use fwmark_reflect in nf_send_reset - ext2: Don't clear SGID when inheriting ACLs - reiserfs: fix race in prealloc discard - reiserfs: don't preallocate blocks for extended attributes - reiserfs: Don't clear SGID when inheriting ACLs - fs/fcntl: f_setown, avoid undefined behaviour - scsi: libiscsi: fix shifting of DID_REQUEUE host byte - Input: trackpoint - force 3 buttons if 0 button is reported - usb: usbip: Fix possible deadlocks reported by lockdep - usbip: fix stub_rx: get_pipe() to validate endpoint number - usbip: fix stub_rx: harden CMD_SUBMIT path to handle malicious input - usbip: prevent leaking socket pointer address in messages - um: link vmlinux with -no-pie - vsyscall: Fix permissions for emulate mode with KAISER/PTI - eventpoll.h: add missing epoll event masks - x86/microcode/intel: Extend BDW late-loading further with LLC size check - hrtimer: Reset hrtimer cpu base proper on CPU hotplug - dccp: don't restart ccid2_hc_tx_rto_expire() if sk in closed state - ipv6: Fix getsockopt() for sockets with default IPV6_AUTOFLOWLABEL - ipv6: fix udpv6 sendmsg crash caused by too small MTU - ipv6: ip6_make_skb() needs to clear cork.base.dst - lan78xx: Fix failure in USB Full Speed - net: igmp: fix source address check for IGMPv3 reports - tcp: __tcp_hdrlen() helper - net: qdisc_pkt_len_init() should be more robust - pppoe: take ->needed_headroom of lower device into account on xmit - r8169: fix memory corruption on retrieval of hardware statistics. - sctp: do not allow the v4 socket to bind a v4mapped v6 address - sctp: return error if the asoc has been peeled off in sctp_wait_for_sndbuf - vmxnet3: repair memory leak - net: Allow neigh contructor functions ability to modify the primary_key - ipv4: Make neigh lookup keys for loopback/point-to-point devices be INADDR_ANY
[Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
//cve.mitre.org/cgi-bin/cvename.cgi?name=2017-17450 ** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2017-17741 ** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2017-17805 ** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2017-17806 ** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2017-17807 ** CVE added: https://cve.mitre.org/cgi- bin/cvename.cgi?name=2018-126 ** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2018-5332 ** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2018-5333 ** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2018-5344 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
I've already backported it: http://kernel.ubuntu.com/git/ubuntu/ubuntu-xenial.git/commit/?h=master- next&id=2cecb2e49bee95d4b9d89f732e999a6908db6abf -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
Ran same tests against 4.13.0-38 on artful. Just curious, this only seems to be applied to hwe and hwe-edge kernels for xenial. Is that a change in policy? Even though I haven't attempted it, it appears as if this should be pretty straightforward apply on the 4.4 kernel stream. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
** Tags removed: verification-needed-artful ** Tags added: verification-done-artful -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
At 6 iterations of ubuntu-17.04-server-amd64.img (4.2 gigs) I no longer see the corruptions on both 4.13.0-38 and 4.15.0-13 from xenial- proposed. Thanks! ** Tags removed: verification-needed-xenial ** Tags added: verification-done-xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed- xenial' to 'verification-done-xenial'. If the problem still exists, change the tag 'verification-needed-xenial' to 'verification-failed- xenial'. If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you! ** Tags added: verification-needed-xenial ** Tags added: verification-needed-artful -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed- artful' to 'verification-done-artful'. If the problem still exists, change the tag 'verification-needed-artful' to 'verification-failed- artful'. If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
** Changed in: linux (Ubuntu Artful) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
** Also affects: linux (Ubuntu Xenial) Importance: Undecided Status: New ** Changed in: linux (Ubuntu Xenial) Status: New => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
Weird, somehow it doesn't get pulled in for Xenail/Artful, I'll poke around to make the them in next kernel release. @Luciano Please file a separate bug via `ubuntu-bug linux`, thanks! It's specific to ASMedia xHC on the Dell TB16. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
ed all at the same time. > > > > > This is what vendors concluded for now. The very same NIC on WD15 doesn’t > > have the issue. > > And just so it's extra clear to everyone on this list - WD15 has different > bcdDevice > iSerialNumber, and doesn't connect to ASMedia host controller. >From reading this, I understand that this may not be specific to the DELL dock. Can somebody confirm this? Should I try and adjust the patch so that it works for my USB controller (the patch, as mentioned above, checks for the USB Ids of the DELL dock - I don't think it will work for my laptop). Or should I perhaps try using ethtool as above, to try and disable the checksum offloading and see if that makes a difference? I apologise in advance if this is unrelated. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
This also affects 16.04 (Xenial) but that isn't reflected in the ticket. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
Looks like this has been released with 4.15.0-9.10 which is available in bionic. ** Also affects: linux (Ubuntu Bionic) Importance: High Assignee: Kai-Heng Feng (kaihengfeng) Status: In Progress ** Changed in: linux (Ubuntu Bionic) Status: In Progress => Fix Released ** Changed in: linux (Ubuntu Bionic) Milestone: None => ubuntu-18.04 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
@kmously I see that you marked this fix as Fix Committed in Artful, but I do not see it in the master-next branch of artful. I'm moving this back to In progress in artful as this does not appear to have been pushed to master-next for artful yet. Feel free to push it back to Fix Committed when you accept or merge the patch into master-next. ** Changed in: linux (Ubuntu Artful) Status: Fix Committed => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
** Changed in: linux (Ubuntu) Importance: Undecided => High ** Changed in: linux (Ubuntu Artful) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
@pandasauce ... Fix committed means it's in the git archive, but has completed testing nor been integrated into the archives yet. Also please refrain from repeating things we already know in the thread or otherwise +1'ing or me-tooing. It just wastes developers time that could be spent actually fixing the issue. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
Hasn't completed testing or been integrated into the archives. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
Update to my October post in LP#1667750 which turned out to be a separate issue (1Gbps mode dropouts) on the same adapter. 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 in LP#1667750. Keep in mind, the device still needs to be in 100Mbps mode or you will experience dropouts in addition to any packet corruption issues that you may run into. $ 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 I left it to run over lunch at 25 loops to be sure and it's working fine. This weekend I may be able to test this on a 2017 XPS 9560 (non- DE) too. Thanks for the workaround and looking forward to the patch making it to Ubuntu repos. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674]
localhost kernel: [18412.137210] 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:c900031dfed8 EFLAGS: 0202 ORIG_RAX: ff11 Feb 21 15:43:42 localhost kernel: [18412.137222] RAX: 88087e44 RBX: 0006 RCX: 001f Feb 21 15:43:42 localhost kernel: [18412.137225] RDX: 20c49ba5e353f7cf RSI: 82063a3a RDI: 820657d3 Feb 21 15:43:42 localhost kernel: [18412.137228] RBP: 88087e469500 R08: 16e5 R09: 050e Feb 21 15:43:42 localhost kernel: [18412.137231] R10: c900031dfeb8 R11: 0c7f R12: 10bee8e19d31 Feb 21 15:43:42 localhost kernel: [18412.137233] R13: 10bee8be5300 R14: 0006 R15: 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 Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
** Changed in: linux (Ubuntu Artful) Status: New => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
** Also affects: linux (Ubuntu Artful) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674]
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). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
This is not a hardware failure. When a proper fix is developed I'd expect it to come in the form of a patch to XHCI driver to adjust internally how ASMedia host controller operates. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
That patch note makes it sound like there will be a hardware/firmware fix that will hopefully resolve this. If so it is very unlikely that upstream will accept your patch, as the proper fix will really be to upgrade your firmware. A more preferable patch will be to log a big bad warning if you have TB16 with the bad firmware revision. The kernel people don't tend to like to BUG hardware issues that are resolvable through firmware updates. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674]
Please try this patch: https://lkml.org/lkml/2018/1/16/102 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
Patch sent: https://lkml.org/lkml/2018/1/16/102 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
Sometimes I forget to set a version number. Sorry about that. Currently I am still gathering some information from Dell/Realtek. I'll send a new patch to upstream soon. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
I should also mention that this should probably be pushed to linux- stable as well as mainline as this is a silent data corruption bug. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
Those changes test as good. @Kai-Heng Feng. In the future you should consider setting LOCALVERSION or using a PPA and setting a +lp1729674 to version string in the changelog. With what you did it's hard to distinguish between your test package and an official package. See https://wiki.ubuntu.com/Kernel/Dev/KernelBugFixing#Publish_a_Package_for_Testing for more info. Thanks for the work. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
This kernel disables RX aggregation instead, please check if it works on your side. http://people.canonical.com/~khfeng/lp1729674-2/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
I'm sorry I've been unable to test this from my end. Have you been able to make any progress on this? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
Dave, can you share the output of `sudo lsusb -v`? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
> On 20 Nov 2017, at 11:47 PM, Dave Chiluk <1729...@bugs.launchpad.net> wrote: > > I reviewed your patch, and it appears as if it only turns off receive > checksumming. The internets are saying that transmit needs to be turned off > as well. Have you checked to see if transmit is affected as well? TX is not affected under my simple NFS testing. > > I will try to do some transmit tests. I'll also "test" your kernel when I > get a chance, but by the looks of the patch there shouldn't be too much to > test as it simply turns off RX checksuming which is already a known good > solution. Yea, just want to make sure USB/PCI ids are the same for both TB15 and TB16. The TB15 at my hand is not even the mass production one. > > On Mon, Nov 20, 2017 at 2:06 AM, Kai-Heng Feng > wrote: > >> Dave, >> >> Please try this kernel, >> http://people.canonical.com/~khfeng/lp1729674/ >> >> The temporary workaround is what we can get before chip vendors solve >> the issue. >> >> -- >> You received this bug notification because you are subscribed to the bug >> report. >> https://bugs.launchpad.net/bugs/1729674 >> >> Title: >> TB16 dock ethernet corrupts data with hw checksum silently failing >> >> Status in Dell Sputnik: >> Triaged >> Status in linux package in Ubuntu: >> In Progress >> Status in linux package in Fedora: >> Confirmed >> >> Bug description: >> It looks like TCP rx and tx checksum offloading is broken on the TB16 >> dock's ethernet adapter. For example downloading a large file such as the >> Ubuntu ISO, and then running an md5sum on it yields the incorrect md5sum. >> This is because >> rx-checksumming: on >> tx-checksumming: on >> and both set to on by default. >> >> Running sudo ethtool -K tx off rx off, allows the >> download to complete correctly. This is very bad since this can cause >> very bad untrustworthy behavior. >> >> This was conducted using an Dell Precision 5520 on Ubuntu 16.04+linux- >> generic-hwe-16.04-edge. >> >> Thank you >> >> To manage notifications about this bug go to: >> https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions >> > > -- > You received this bug notification because you are a bug assignee. > https://bugs.launchpad.net/bugs/1729674 > > Title: > TB16 dock ethernet corrupts data with hw checksum silently failing > > Status in Dell Sputnik: > Triaged > Status in linux package in Ubuntu: > In Progress > Status in linux package in Fedora: > Confirmed > > Bug description: > It looks like TCP rx and tx checksum offloading is broken on the TB16 > dock's ethernet adapter. For example downloading a large file such as the > Ubuntu ISO, and then running an md5sum on it yields the incorrect md5sum. > This is because > rx-checksumming: on > tx-checksumming: on > and both set to on by default. > > Running sudo ethtool -K tx off rx off, allows the > download to complete correctly. This is very bad since this can cause > very bad untrustworthy behavior. > > This was conducted using an Dell Precision 5520 on Ubuntu 16.04+linux- > generic-hwe-16.04-edge. > > Thank you > > To manage notifications about this bug go to: > https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
I reviewed your patch, and it appears as if it only turns off receive checksumming. The internets are saying that transmit needs to be turned off as well. Have you checked to see if transmit is affected as well? I will try to do some transmit tests. I'll also "test" your kernel when I get a chance, but by the looks of the patch there shouldn't be too much to test as it simply turns off RX checksuming which is already a known good solution. On Mon, Nov 20, 2017 at 2:06 AM, Kai-Heng Feng wrote: > Dave, > > Please try this kernel, > http://people.canonical.com/~khfeng/lp1729674/ > > The temporary workaround is what we can get before chip vendors solve > the issue. > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1729674 > > Title: > TB16 dock ethernet corrupts data with hw checksum silently failing > > Status in Dell Sputnik: > Triaged > Status in linux package in Ubuntu: > In Progress > Status in linux package in Fedora: > Confirmed > > Bug description: > It looks like TCP rx and tx checksum offloading is broken on the TB16 > dock's ethernet adapter. For example downloading a large file such as the > Ubuntu ISO, and then running an md5sum on it yields the incorrect md5sum. > This is because > rx-checksumming: on > tx-checksumming: on > and both set to on by default. > > Running sudo ethtool -K tx off rx off, allows the > download to complete correctly. This is very bad since this can cause > very bad untrustworthy behavior. > > This was conducted using an Dell Precision 5520 on Ubuntu 16.04+linux- > generic-hwe-16.04-edge. > > Thank you > > To manage notifications about this bug go to: > https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions > -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
Dave, Please try this kernel, http://people.canonical.com/~khfeng/lp1729674/ The temporary workaround is what we can get before chip vendors solve the issue. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
udevadm info -e as requested. ** Attachment added: "udevadminfo" https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+attachment/5010640/+files/udevadminfo -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
Mario, Dave, Do you use TB16? I only have TB15 at hand. Can you attach the output of `udevadm info -e` here if you use TB16? Thanks. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
f_nat nf_conntrack libcrc32c iptable_mangle iptable_raw iptable_security ebtable_filter ebtables ip6table_filter ip6_tables cmac arc4 bnep sunrpc vfat fat hid_multitouch intel_rapl snd_soc_skl x86_pkg_temp_thermal snd_soc_skl_ipc intel_powerclamp snd_soc_sst_ipc ath10k_pci snd_soc_sst_dsp ath10k_core snd_hda_ext_core Jun 12 18:39:08 ag13.local kernel: coretemp snd_soc_sst_match kvm_intel snd_hda_codec_hdmi snd_soc_core kvm mei_wdt mac80211 snd_hda_codec_realtek snd_hda_codec_generic iTCO_wdt snd_compress iTCO_vendor_support i2c_designware_platform i2c_designware_core snd_pcm_dmaengine dell_wmi irqbypass ac97_bus crct10dif_pclmul crc32_pclmul snd_hda_intel dell_laptop dell_smbios dcdbas ghash_clmulni_intel snd_hda_codec intel_cstate uvcvideo intel_uncore videobuf2_vmalloc videobuf2_memops snd_hda_core videobuf2_v4l2 snd_hwdep intel_rapl_perf snd_seq videobuf2_core snd_seq_device ath snd_pcm videodev cfg80211 joydev hci_uart btusb snd_timer btrtl snd rtsx_pci_ms media soundcore memstick i2c_i801 idma64 btbcm mei_me mei btqca btintel intel_pch_thermal shpchp processor_thermal_device intel_lpss_pci intel_soc_dts_iosf bluetooth wmi intel_vbtn Jun 12 18:39:08 ag13.local kernel: soc_button_array acpi_als kfifo_buf int3403_thermal ecdh_generic intel_hid intel_lpss_acpi rfkill pinctrl_sunrisepoint intel_lpss sparse_keymap pinctrl_intel industrialio int340x_thermal_zone int3400_thermal acpi_thermal_rel tpm_tis tpm_tis_core acpi_pad tpm btrfs xor i915 rtsx_pci_sdmmc mmc_core raid6_pq i2c_algo_bit drm_kms_helper drm crc32c_intel rtsx_pci serio_raw i2c_hid video Jun 12 18:39:08 ag13.local kernel: CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.12.0-0.rc3.git0.2.fc27.x86_64 #1 Jun 12 18:39:08 ag13.local kernel: Hardware name: Dell Inc. XPS 13 9360/05HM5Y, BIOS 1.3.2 01/18/2017 Jun 12 18:39:08 ag13.local kernel: task: abe104c0 task.stack: abe0 Jun 12 18:39:08 ag13.local kernel: RIP: 0010:net_rx_action+0x2d0/0x3c0 Jun 12 18:39:08 ag13.local kernel: RSP: 0018:8faabe403eb8 EFLAGS: 00010297 Jun 12 18:39:08 ag13.local kernel: RAX: 0041 RBX: RCX: 8faaa4a81e50 Jun 12 18:39:08 ag13.local kernel: RDX: 8fa86f802000 RSI: fe01 RDI: c0b476b0 Jun 12 18:39:08 ag13.local kernel: RBP: 8faabe403f28 R08: 0002 R09: Jun 12 18:39:08 ag13.local kernel: R10: 0010 R11: ab44a0b0 R12: 8faaa4a87ba0 Jun 12 18:39:08 ag13.local kernel: R13: 0040 R14: R15: 0003 Jun 12 18:39:08 ag13.local kernel: FS: () GS:8faabe40() knlGS: Jun 12 18:39:08 ag13.local kernel: CS: 0010 DS: ES: CR0: 80050033 Jun 12 18:39:08 ag13.local kernel: CR2: 7fd0eee69000 CR3: 00013fe09000 CR4: 003406f0 Jun 12 18:39:08 ag13.local kernel: Call Trace: Jun 12 18:39:08 ag13.local kernel: Jun 12 18:39:08 ag13.local kernel: __do_softirq+0xea/0x2bf Jun 12 18:39:08 ag13.local kernel: irq_exit+0xfb/0x100 Jun 12 18:39:08 ag13.local kernel: do_IRQ+0x80/0xd0 Jun 12 18:39:08 ag13.local kernel: common_interrupt+0x93/0x93 Jun 12 18:39:08 ag13.local kernel: RIP: 0010:cpuidle_enter_state+0x12b/0x2d0 Jun 12 18:39:08 ag13.local kernel: RSP: 0018:abe03dc8 EFLAGS: 0246 ORIG_RAX: ff3b Jun 12 18:39:08 ag13.local kernel: RAX: 8faabe41a0c0 RBX: 179af34e9083 RCX: 001f Jun 12 18:39:08 ag13.local kernel: RDX: 179af34e9083 RSI: 8faabe4178d8 RDI: Jun 12 18:39:08 ag13.local kernel: RBP: abe03e08 R08: cccd R09: 0018 Jun 12 18:39:08 ag13.local kernel: R10: abe03d98 R11: 070b R12: 8faabe423800 Jun 12 18:39:08 ag13.local kernel: R13: R14: 0006 R15: abf81838 Jun 12 18:39:08 ag13.local kernel: Jun 12 18:39:08 ag13.local kernel: ? cpuidle_enter_state+0x11b/0x2d0 Jun 12 18:39:08 ag13.local kernel: cpuidle_enter+0x17/0x20 Jun 12 18:39:08 ag13.local kernel: call_cpuidle+0x23/0x40 Jun 12 18:39:08 ag13.local kernel: do_idle+0x18a/0x1e0 Jun 12 18:39:08 ag13.local kernel: cpu_startup_entry+0x71/0x80 Jun 12 18:39:08 ag13.local kernel: rest_init+0x77/0x80 Jun 12 18:39:08 ag13.local kernel: start_kernel+0x450/0x471 Jun 12 18:39:08 ag13.local kernel: ? early_idt_handler_array+0x120/0x120 Jun 12 18:39:08 ag13.local kernel: x86_64_start_reservations+0x29/0x2b Jun 12 18:39:08 ag13.local kernel: x86_64_start_kernel+0x143/0x166 Jun 12 18:39:08 ag13.local kernel: secondary_startup_64+0x9f/0x9f Jun 12 18:39:08 ag13.local kernel: Code: 8b 7e 08 49 83 c6 18 44 89 e9 44 89 fa 4c 89 e6 41 ff d2 4d 8b 16 4d 85 d2 75 e4 4c 8b 75 90 44 89 f8 41 39 c5 0f 8d 95 fe ff ff <0f> ff 41 39 c5 0f 8f 93 fe ff ff 49 8b 44 24 10 a8 04 0f 85 88 Jun 12 18:39:08 ag13.local kernel: ---[ end trace 3fda2d590db48512 ]--- Reply at: https://bugs.launchpad.net/dell- sputnik/+bug/1729674
[Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
** Bug watch added: Red Hat Bugzilla #1460789 https://bugzilla.redhat.com/show_bug.cgi?id=1460789 ** Also affects: linux (Fedora) via https://bugzilla.redhat.com/show_bug.cgi?id=1460789 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
I also just went through the process of reproducing this while watching the kern.log. Absolutely 0 messages came out. If you find some verbose debugging you want me to turn on let me know. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
I am not using ipv6. On Tue, Nov 14, 2017 at 9:10 AM, Mario Limonciello wrote: > @Dave: > > I was glancing at r8152 driver and notice that it has some special > handling for ipv6. Is this issue reproducing only in ipv6 for you? > https://github.com/torvalds/linux/commit/6128d1bb30748d0ff56a63898d14f3 > 12126e404c > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1729674 > > Title: > TB16 dock ethernet corrupts data with hw checksum silently failing > > Status in Dell Sputnik: > Triaged > Status in linux package in Ubuntu: > In Progress > > Bug description: > It looks like TCP rx and tx checksum offloading is broken on the TB16 > dock's ethernet adapter. For example downloading a large file such as the > Ubuntu ISO, and then running an md5sum on it yields the incorrect md5sum. > This is because > rx-checksumming: on > tx-checksumming: on > and both set to on by default. > > Running sudo ethtool -K tx off rx off, allows the > download to complete correctly. This is very bad since this can cause > very bad untrustworthy behavior. > > This was conducted using an Dell Precision 5520 on Ubuntu 16.04+linux- > generic-hwe-16.04-edge. > > Thank you > > To manage notifications about this bug go to: > https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions > -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
@Dave: I was glancing at r8152 driver and notice that it has some special handling for ipv6. Is this issue reproducing only in ipv6 for you? https://github.com/torvalds/linux/commit/6128d1bb30748d0ff56a63898d14f312126e404c -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
This issue only happens under 1Gbps speed with checksum offloading. Turn off checksum offloading or change the speed to 100Mbps can workaround the issue. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
Tried two other r8152 devices, - r8152 <-> USB-C <-> Host system. No checksum issue. - r8152 <-> Genesys Logic Hub <-> USB-C <-> Host system. No checksum issue. So it's more likely to be a ASMedia issue. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
I can reproduce the issue on a TB15 (which should be the same?). ** Changed in: linux (Ubuntu) Status: Incomplete => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674] Missing required logs.
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window: apport-collect 1729674 and then change the status of the bug to 'Confirmed'. If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'. This change has been made by an automated script, maintained by the Ubuntu Kernel Team. ** Changed in: linux (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing
** Also affects: linux (Ubuntu) Importance: Undecided Status: New ** Changed in: linux (Ubuntu) Assignee: (unassigned) => Kai-Heng Feng (kaihengfeng) ** Changed in: dell-sputnik Assignee: Kai-Heng Feng (kaihengfeng) => (unassigned) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729674 Title: TB16 dock ethernet corrupts data with hw checksum silently failing To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs