Comment 73 for bug 1447664

Revision history for this message
Bob Lawrence (pilotbob42) wrote :

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