Problem still exists with kernel 5.3.0-59-generic. Same machine I
reported on previously. Multiple kernel releases since then. Only change
with more recent kernels is that the connection recovers on its own
after a few minutes (as opposed to requiring a reboot). Still, the only
workaround that has any effect is to manually set the connection to
100mbps and half duplex. Pretty useless for a media server.

Example dmesg output when the problem occurs:

[219326.666826] tg3 0000:03:00.0 eno1: transmit timed out, resetting
[219329.265075] tg3 0000:03:00.0 eno1: 0x00000000: 0x168714e4, 0x50100546, 
0x02000010, 0x00000000
[219329.265116] tg3 0000:03:00.0 eno1: 0x00000010: 0xe082000c, 0x00000000, 
0xe081000c, 0x00000000
[219329.265125] tg3 0000:03:00.0 eno1: 0x00000020: 0xe080000c, 0x00000000, 
0x00000000, 0x225e103c

[many, many, hex dump lines repeated here]

[219329.267191] tg3 0000:03:00.0 eno1: 0x00007030: 0x000e0000, 0x000038d8, 
0x00230030, 0x80000000
[219329.267198] tg3 0000:03:00.0 eno1: 0x00007500: 0x00000000, 0x00000000, 
0x00000081, 0x00000000
[219329.267203] tg3 0000:03:00.0 eno1: 0x00007510: 0x00000000, 0x7fffffbf, 
0x00000000, 0x00000000
[219329.267214] tg3 0000:03:00.0 eno1: 0: Host status block 
[00000001:000000a6:(0000:0481:0000):(0000:00bd)]
[219329.267222] tg3 0000:03:00.0 eno1: 0: NAPI info 
[000000a6:000000a6:(006a:00bd:01ff):0000:(067e:0000:0000:0000)]
[219329.267229] tg3 0000:03:00.0 eno1: 1: Host status block 
[00000001:0000003c:(0000:0000:0000):(090c:0000)]
[219329.267236] tg3 0000:03:00.0 eno1: 1: NAPI info 
[0000003c:0000003c:(0000:0000:01ff):090c:(010c:010c:0000:0000)]
[219329.267244] tg3 0000:03:00.0 eno1: 2: Host status block 
[00000001:000000b5:(05d9:0000:0000):(0000:0000)]
[219329.267256] tg3 0000:03:00.0 eno1: 2: NAPI info 
[000000b5:000000b5:(0000:0000:01ff):05d9:(05d9:05d9:0000:0000)]
[219329.267267] tg3 0000:03:00.0 eno1: 3: Host status block 
[00000001:00000093:(0000:0000:0000):(0000:0000)]
[219329.267273] tg3 0000:03:00.0 eno1: 3: NAPI info 
[00000093:00000093:(0000:0000:01ff):045b:(045b:045b:0000:0000)]
[219329.267279] tg3 0000:03:00.0 eno1: 4: Host status block 
[00000001:00000002:(0000:0000:0a76):(0000:0000)]
[219329.267286] tg3 0000:03:00.0 eno1: 4: NAPI info 
[00000002:00000002:(0000:0000:01ff):0a76:(0276:0276:0000:0000)]
[219329.370520] tg3 0000:03:00.0: tg3_stop_block timed out, ofs=1400 
enable_bit=2
[219329.473173] tg3 0000:03:00.0: tg3_stop_block timed out, ofs=c00 enable_bit=2
[219329.575744] tg3 0000:03:00.0: tg3_stop_block timed out, ofs=4800 
enable_bit=2
[219329.578634] tg3 0000:03:00.0 eno1: Link is down

INXI output:

System:    Host: Bobs-HTPC Kernel: 5.3.0-59-generic x86_64 bits: 64 Desktop: 
MATE 1.20.1
           Distro: Ubuntu 18.04.4 LTS
Machine:   Device: desktop System: Hewlett-Packard product: HP EliteDesk 705 G1 
DM serial: N/A
           Mobo: Hewlett-Packard model: 225E serial: N/A
           BIOS: Hewlett-Packard v: L06 v02.31 date: 08/31/2018
CPU:       Quad core AMD A8-7600 Radeon R7 10 Compute Cores 4C+6G (-MCP-) 
cache: 8192 KB
           clock speeds: max: 3100 MHz 1: 1499 MHz 2: 1524 MHz 3: 1438 MHz 4: 
1402 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Kaveri [Radeon R7 Graphics]
           Display Server: x11 (X.Org 1.20.5 ) driver: amdgpu Resolution: 
1280x720@60.00hz
           OpenGL: renderer: AMD KAVERI (DRM 3.33.0, 5.3.0-59-generic, LLVM 
9.0.0)
           version: 4.5 Mesa 19.2.8
Audio:     Card-1 Advanced Micro Devices [AMD] FCH Azalia Controller driver: 
snd_hda_intel
           Card-2 Advanced Micro Devices [AMD/ATI] Kaveri HDMI/DP Audio 
Controller
           driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture v: k5.3.0-59-generic
Network:   Card-1: Intel Wireless 7260 driver: iwlwifi
           IF: wlp2s0 state: down mac: cc:3d:82:a7:bf:ed
           Card-2: Broadcom and subsidiaries NetXtreme BCM5762 Gigabit Ethernet 
PCIe driver: tg3
           IF: eno1 state: up speed: 1000 Mbps duplex: full mac: 
ec:b1:d7:4c:2d:8e
Drives:    HDD Total Size: 9513.7GB (46.2% used)
           ID-1: USB /dev/sda model: 5 size: 9001.6GB
           ID-2: /dev/sdb model: HP_SSD_S700_Pro size: 512.1GB
Partition: ID-1: / size: 469G used: 113G (26%) fs: ext4 dev: /dev/sdb1
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 38.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 269 Uptime: 2 days Memory: 2201.5/13980.4MB
           Client: Shell (bash) inxi: 2.3.56

-- 
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/1447664

Title:
  14e4:1687 broadcom tg3 network driver disconnects under high load

Status in linux package in Ubuntu:
  Fix Released

Bug description:
  The tg3 broadcom network driver that binds with chipset 5762 goes offline and 
unable to recover (even with tg3 watchdog timeout) when network transmit is 
under high load.  Call trace:
  https://launchpadlibrarian.net/204185480/dmesg

  When this happens, only a reboot would be able to fix it.  Sometimes,
  however, bringing the interface offline and online (via ifconfig)
  would recover networking.  I've also tested with the latest tg3 driver
  (dec 2014 version) and networking is still problematic.  I have also
  disabled TSO, GSO etc... with ethtool and the bug still surfaces.
  This bug may be related to the integrated Firmware.

  Here is the procedure to replicate the issue because it is hard to
  replicate it under moderate network load.

  1. Bootup a machine with a broadcom 5762 NIC (ie. HP DeskElite 705) using a 
Ubuntu/Kubunu Live CD 14.04-15.04.
  2. from another machine: start 5 sessions, repetitively copy (scp with public 
key authentication) a 70 meg file back and forth to the tg3 machine in each 
session. (not sure if this is necessary)
  3. create a 1GB file on the tg3 machine, with something like dd 
if=/dev/urandom of=/my/test/file bs=1024 count=$((1024*1000))
  4. from another machine: repetitively scp copy that 1GB file from the tg3 
machine. This can be done with something like:

  while [ 0 ]; do
     scp -i /my/scp/private.key u...@ip.of.tg3:/my/test/file /tmp
  done;

  Networking will mostly goes offline in about 10-30 minutes.

  WORKAROUND: Add udev rule to make the changes permanent in 
/etc/udev/rules.d/80-tg3-fix.rules :
  ACTION=="add", SUBSYSTEM=="net", ATTRS{vendor}=="0x14e4", 
ATTRS{device}=="0x1687", RUN+="/sbin/ethtool -K %k highdma off"

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: linux-image-3.19.0-15-generic 3.19.0-15.15
  ProcVersionSignature: Ubuntu 3.19.0-15.15-generic 3.19.3
  Uname: Linux 3.19.0-15-generic x86_64
  ApportVersion: 2.17.2-0ubuntu1
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  kubuntu    3748 F.... pulseaudio
   /dev/snd/controlC0:  kubuntu    3748 F.... pulseaudio
  CasperVersion: 1.360
  Date: Thu Apr 23 11:16:24 2015
  IwConfig:
   eth0      no wireless extensions.

   lo        no wireless extensions.
  LiveMediaBuild: Kubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
  MachineType: Hewlett-Packard HP EliteDesk 705 G1 MT
  ProcEnviron:
   LANGUAGE=
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 radeondrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/casper/vmlinuz.efi 
file=/cdrom/preseed/hostname.seed boot=casper maybe-ubiquity quiet splash ---
  PulseList:
   Error: command ['pacmd', 'list'] failed with exit code 1: Home directory not 
accessible: Permission denied
   No PulseAudio daemon running, or not running as session daemon.
  RelatedPackageVersions:
   linux-restricted-modules-3.19.0-15-generic N/A
   linux-backports-modules-3.19.0-15-generic  N/A
   linux-firmware                             1.143
  RfKill:

  SourcePackage: linux
  UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 10/22/2014
  dmi.bios.vendor: Hewlett-Packard
  dmi.bios.version: L06 v02.15
  dmi.board.asset.tag: 2UA5041TG4
  dmi.board.name: 2215
  dmi.board.vendor: Hewlett-Packard
  dmi.chassis.asset.tag: 2UA5041TG4
  dmi.chassis.type: 6
  dmi.chassis.vendor: Hewlett-Packard
  dmi.modalias: 
dmi:bvnHewlett-Packard:bvrL06v02.15:bd10/22/2014:svnHewlett-Packard:pnHPEliteDesk705G1MT:pvr:rvnHewlett-Packard:rn2215:rvr:cvnHewlett-Packard:ct6:cvr:
  dmi.product.name: HP EliteDesk 705 G1 MT
  dmi.sys.vendor: Hewlett-Packard

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1447664/+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