I seem to be seeing this again with the following kernel:
Linux xps15 5.0.0-17-generic #18-Ubuntu SMP Tue Jun 4 15:34:08 UTC 2019 x86_64 
x86_64 x86_64 GNU/Linux

The problem is not so much checksum errors, but mostly that transfers
are abruptly aborted. I also see this in my syslog:

Jun 21 14:41:44 xps15 kernel: [12338.169525] ------------[ cut here 
]------------
Jun 21 14:41:44 xps15 kernel: [12338.169595] NETDEV WATCHDOG: enxe4b97ae3eb62 
(r8152): transmit queue 0 timed out
Jun 21 14:41:44 xps15 kernel: [12338.169630] WARNING: CPU: 6 PID: 0 at 
net/sched/sch_generic.c:461 dev_watchdog+0x221/0x230
Jun 21 14:41:44 xps15 kernel: [12338.169631] Modules linked in: rfcomm pci_stub 
vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) ccm cmac bnep msr 
binfmt_misc arc4 snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic 
snd_usb_audio cdc_ether snd_usbmidi_lib usbnet r8152 mii intel_rapl 
x86_pkg_temp_thermal intel_powerclamp kvm_intel nls_iso8859_1 joydev 
snd_soc_skl snd_soc_hdac_hda snd_hda_ext_core snd_soc_skl_ipc snd_soc_sst_ipc 
snd_soc_sst_dsp crct10dif_pclmul snd_soc_acpi_intel_match snd_soc_acpi 
crc32_pclmul snd_soc_core snd_compress ac97_bus ghash_clmulni_intel 
snd_pcm_dmaengine i915 snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep 
uvcvideo videobuf2_vmalloc snd_pcm videobuf2_memops videobuf2_v4l2 
videobuf2_common kvmgt aesni_intel vfio_mdev mdev btusb snd_seq_midi 
dell_laptop btrtl videodev vfio_iommu_type1 btbcm snd_seq_midi_event aes_x86_64 
btintel crypto_simd ath10k_pci vfio cryptd glue_helper bluetooth ledtrig_audio 
snd_rawmidi nouveau cdc_acm media ath10k_core intel_cstate kvm ath 
intel_rapl_perf
Jun 21 14:41:44 xps15 kernel: [12338.169649]  snd_seq mac80211 snd_seq_device 
dell_wmi snd_timer ecdh_generic dell_smbios dcdbas input_leds irqbypass ttm 
serio_raw dell_wmi_descriptor intel_wmi_thunderbolt drm_kms_helper wmi_bmof snd 
rtsx_pci_ms mxm_wmi cfg80211 soundcore drm memstick i2c_algo_bit fb_sys_fops 
mei_me syscopyarea processor_thermal_device sysfillrect mei hid_multitouch 
intel_soc_dts_iosf sysimgblt ucsi_acpi idma64 typec_ucsi virt_dma 
intel_pch_thermal typec int3403_thermal int340x_thermal_zone dell_smo8800 
int3400_thermal intel_hid acpi_thermal_rel mac_hid acpi_pad sparse_keymap 
sch_fq_codel dell_smm_hwmon coretemp parport_pc ppdev lp parport ip_tables 
x_tables autofs4 usbhid hid_generic rtsx_pci_sdmmc nvme psmouse i2c_i801 
nvme_core rtsx_pci thunderbolt ahci intel_lpss_pci libahci intel_lpss i2c_hid 
hid pinctrl_cannonlake wmi video pinctrl_intel
Jun 21 14:41:44 xps15 kernel: [12338.169688] CPU: 6 PID: 0 Comm: swapper/6 
Tainted: G        W  OE     5.0.0-17-generic #18-Ubuntu
Jun 21 14:41:44 xps15 kernel: [12338.169689] Hardware name: Dell Inc. XPS 15 
9570/0HWTMH, BIOS 1.10.1 04/26/2019
Jun 21 14:41:44 xps15 kernel: [12338.169689] RIP: 0010:dev_watchdog+0x221/0x230
Jun 21 14:41:44 xps15 kernel: [12338.169690] Code: 00 49 63 4e e0 eb 92 4c 89 
ef c6 05 9a 92 f0 00 01 e8 13 38 fc ff 89 d9 4c 89 ee 48 c7 c7 98 5e fa ae 48 
89 c2 e8 71 f1 79 ff <0f> 0b eb c0 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 
00 55 48
Jun 21 14:41:44 xps15 kernel: [12338.169691] RSP: 0018:ffff8ef45c383e68 EFLAGS: 
00010286
Jun 21 14:41:44 xps15 kernel: [12338.169691] RAX: 0000000000000000 RBX: 
0000000000000000 RCX: 000000000000083f
Jun 21 14:41:44 xps15 kernel: [12338.169692] RDX: 0000000000000000 RSI: 
00000000000000f6 RDI: 000000000000083f
Jun 21 14:41:44 xps15 kernel: [12338.169692] RBP: ffff8ef45c383e98 R08: 
0000000000000001 R09: 0000000000000a4c
Jun 21 14:41:44 xps15 kernel: [12338.169692] R10: 0000000000000004 R11: 
0000000000000000 R12: 0000000000000001
Jun 21 14:41:44 xps15 kernel: [12338.169693] R13: ffff8ef439802000 R14: 
ffff8ef4398024c0 R15: ffff8ef405cd6480
Jun 21 14:41:44 xps15 kernel: [12338.169693] FS:  0000000000000000(0000) 
GS:ffff8ef45c380000(0000) knlGS:0000000000000000
Jun 21 14:41:44 xps15 kernel: [12338.169694] CS:  0010 DS: 0000 ES: 0000 CR0: 
0000000080050033
Jun 21 14:41:44 xps15 kernel: [12338.169694] CR2: 00007fefe3f378f0 CR3: 
0000000006c0e004 CR4: 00000000003606e0
Jun 21 14:41:44 xps15 kernel: [12338.169695] DR0: 0000000000000000 DR1: 
0000000000000000 DR2: 0000000000000000
Jun 21 14:41:44 xps15 kernel: [12338.169695] DR3: 0000000000000000 DR6: 
00000000fffe0ff0 DR7: 0000000000000400
Jun 21 14:41:44 xps15 kernel: [12338.169695] Call Trace:
Jun 21 14:41:44 xps15 kernel: [12338.169696]  <IRQ>
Jun 21 14:41:44 xps15 kernel: [12338.169698]  ? pfifo_fast_enqueue+0x120/0x120
Jun 21 14:41:44 xps15 kernel: [12338.169699]  call_timer_fn+0x30/0x130
Jun 21 14:41:44 xps15 kernel: [12338.169700]  run_timer_softirq+0x3e4/0x420
Jun 21 14:41:44 xps15 kernel: [12338.169701]  ? ktime_get+0x3c/0xa0
Jun 21 14:41:44 xps15 kernel: [12338.169703]  ? lapic_next_deadline+0x26/0x30
Jun 21 14:41:44 xps15 kernel: [12338.169704]  ? 
clockevents_program_event+0x93/0xf0
Jun 21 14:41:44 xps15 kernel: [12338.169706]  __do_softirq+0xdc/0x2f3
Jun 21 14:41:44 xps15 kernel: [12338.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]  </IRQ>
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:ffffb92cc3233e60 EFLAGS: 
00000246 ORIG_RAX: ffffffffffffff13
Jun 21 14:41:44 xps15 kernel: [12338.169714] RAX: ffff8ef45c3a2d80 RBX: 
ffffffffaf353c80 RCX: 00000b38b434f88e
Jun 21 14:41:44 xps15 kernel: [12338.169714] RDX: 00000b38b434f88e RSI: 
00000b38b434f861 RDI: 0000000000000000
Jun 21 14:41:44 xps15 kernel: [12338.169714] RBP: ffffb92cc3233ea0 R08: 
ffffffffffc2f71a R09: 0000000000022640
Jun 21 14:41:44 xps15 kernel: [12338.169715] R10: 00001cf3e3c5ccaa R11: 
ffff8ef45c3a1c04 R12: ffff8ef45c3ad700
Jun 21 14:41:44 xps15 kernel: [12338.169715] R13: 0000000000000008 R14: 
ffffffffaf353f98 R15: ffffffffaf353f80
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 Kernel
Packages, which is subscribed to linux in Ubuntu.
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 <TB16 eth device> 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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to