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-bugs martin-redhat-bugs pandasauce smb > superm1 ubuntu-kernel-bot > Launchpad-Bug-Reporter: Dave Chiluk (chiluk) > Launchpad-Bug-Modifier: Maxwell Ballenger (ballengerm) > Launchpad-Message-Rationale: Subscriber > Launchpad-Message-For: chiluk > -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to
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
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