Bug 7450 - e1000: eth0: e1000_clean_tx_irq: Detected Tx Unit Hang
Summary: e1000: eth0: e1000_clean_tx_irq: Detected Tx Unit Hang
Status: CLOSED PATCH_ALREADY_AVAILABLE
Alias: None
Product: Networking
Classification: Unclassified
Component: Other (show other bugs)
Hardware: i386 Linux
: P2 normal
Assignee: Jesse Brandeburg
URL:
Keywords:
Depends on:
Blocks: 48551
  Show dependency tree
 
Reported: 2006-11-02 06:27 UTC by Pawel Staszewski
Modified: 2012-10-07 08:11 UTC (History)
3 users (show)

See Also:
Kernel Version: 2.6.19-rc3
Tree: Mainline
Regression: ---


Attachments
Eeprom fix script for 82573 series (943 bytes, text/plain)
2006-11-02 11:42 UTC, Auke Kok
Details

Description Pawel Staszewski 2006-11-02 06:27:00 UTC
Most recent kernel where this bug did not occur: not known
Distribution: Gentoo Linux x86_64
Hardware Environment: 
lspci
00:00.0 Host bridge: Intel Corporation E7230/3000/3010 Memory Controller Hub
(rev c0)
00:01.0 PCI bridge: Intel Corporation E7230/3000/3010 PCI Express Root Port (rev c0)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1
(rev 01)
00:1c.4 PCI bridge: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI Express
Port 5 (rev 01)
00:1c.5 PCI bridge: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI Express
Port 6 (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface
Bridge (rev 01)
00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) Serial ATA
Storage Controller AHCI (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
01:00.0 PCI bridge: Intel Corporation 6700PXH PCI Express-to-PCI Bridge A (rev 09)
01:00.1 PIC: Intel Corporation 6700/6702PXH I/OxAPIC Interrupt Controller A (rev 09)
01:00.2 PCI bridge: Intel Corporation 6700PXH PCI Express-to-PCI Bridge B (rev 09)
01:00.3 PIC: Intel Corporation 6700PXH I/OxAPIC Interrupt Controller B (rev 09)
0d:00.0 Ethernet controller: Intel Corporation 82573E Gigabit Ethernet
Controller (Copper) (rev 03)
0e:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller
0f:04.0 VGA compatible controller: ATI Technologies Inc ES1000 (rev 02)

Software Environment: Iptables/Iproute2

Problem Description:
e1000: eth0: e1000_clean_tx_irq: Detected Tx Unit Hang
  Tx Queue             <0>
  TDH                  <31>
  TDT                  <31>
  next_to_use          <31>
  next_to_clean        <af>
buffer_info[next_to_clean]
  time_stamp           <1014b175c>
  next_to_watch        <af>
  jiffies              <1014b1875>
  next_to_watch.status <1>
e1000: eth1: e1000_clean_tx_irq: Detected Tx Unit Hang
  Tx Queue             <0>
  TDH                  <36>
  TDT                  <36>
  next_to_use          <36>
  next_to_clean        <b8>
buffer_info[next_to_clean]
  time_stamp           <1014b1922>
  next_to_watch        <b9>
  jiffies              <1014b1a7c>
  next_to_watch.status <1>
e1000: eth0: e1000_clean_tx_irq: Detected Tx Unit Hang
  Tx Queue             <0>
  TDH                  <fa>
  TDT                  <fa>
  next_to_use          <fa>
  next_to_clean        <7f>
buffer_info[next_to_clean]
  time_stamp           <1014b194b>
  next_to_watch        <80>
  jiffies              <1014b1ae0>
  next_to_watch.status <1>
printk: 423 messages suppressed.
dst cache overflow
e1000: eth1: e1000_clean_tx_irq: Detected Tx Unit Hang
  Tx Queue             <0>
  TDH                  <cf>
  TDT                  <cf>
  next_to_use          <cf>
  next_to_clean        <56>
buffer_info[next_to_clean]
  time_stamp           <1014b1bb7>
  next_to_watch        <57>
  jiffies              <1014b1cc9>
  next_to_watch.status <1>
e1000: eth0: e1000_clean_tx_irq: Detected Tx Unit Hang
  Tx Queue             <0>
  TDH                  <8c>
  TDT                  <8c>
  next_to_use          <8c>
  next_to_clean        <fe>
buffer_info[next_to_clean]
  time_stamp           <1014b1bef>
  next_to_watch        <fe>
  jiffies              <1014b1d86>
  next_to_watch.status <1>
e1000: eth0: e1000_clean_tx_irq: Detected Tx Unit Hang
  Tx Queue             <0>
  TDH                  <ee>
  TDT                  <ee>
  next_to_use          <ee>
  next_to_clean        <59>
buffer_info[next_to_clean]
  time_stamp           <1014b1ddd>
  next_to_watch        <59>
  jiffies              <1014b1fb6>
  next_to_watch.status <1>

0d:00.0 Ethernet controller: Intel Corporation 82573E Gigabit Ethernet
Controller (Copper) (rev 03)
        Subsystem: Super Micro Computer Inc Unknown device 108c
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR+ FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
        Latency: 0, Cache Line Size 10
        Interrupt: pin A routed to IRQ 16
        Region 0: Memory at e0200000 (32-bit, non-prefetchable) [size=128K]
        Region 2: I/O ports at 4000 [size=32]
        Capabilities: [c8] Power Management version 2
                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA
PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=1 PME-
        Capabilities: [d0] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
                Address: 0000000000000000  Data: 0000
        Capabilities: [e0] Express Endpoint IRQ 0
                Device: Supported: MaxPayload 256 bytes, PhantFunc 0, ExtTag-
                Device: Latency L0s <512ns, L1 <64us
                Device: AtnBtn- AtnInd- PwrInd-
                Device: Errors: Correctable- Non-Fatal- Fatal- Unsupported-
                Device: RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
                Device: MaxPayload 128 bytes, MaxReadReq 512 bytes
                Link: Supported Speed 2.5Gb/s, Width x1, ASPM unknown, Port 0
                Link: Latency L0s <128ns, L1 <64us
                Link: ASPM Disabled RCB 64 bytes CommClk- ExtSynch-
                Link: Speed 2.5Gb/s, Width x1

0e:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller
        Subsystem: Super Micro Computer Inc Unknown device 109a
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR+ FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
        Latency: 0, Cache Line Size 10
        Interrupt: pin A routed to IRQ 17
        Region 0: Memory at e0300000 (32-bit, non-prefetchable) [size=128K]
        Region 2: I/O ports at 5000 [size=32]
        Capabilities: [c8] Power Management version 2
                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA
PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=1 PME-
        Capabilities: [d0] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
                Address: 0000000000000000  Data: 0000
        Capabilities: [e0] Express Endpoint IRQ 0
                Device: Supported: MaxPayload 256 bytes, PhantFunc 0, ExtTag-
                Device: Latency L0s <512ns, L1 <64us
                Device: AtnBtn- AtnInd- PwrInd-
                Device: Errors: Correctable- Non-Fatal- Fatal- Unsupported-
                Device: RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
                Device: MaxPayload 128 bytes, MaxReadReq 512 bytes
                Link: Supported Speed 2.5Gb/s, Width x1, ASPM unknown, Port 0
                Link: Latency L0s <128ns, L1 <64us
                Link: ASPM Disabled RCB 64 bytes CommClk- ExtSynch-
                Link: Speed 2.5Gb/s, Width x1


ethtool -e eth0
Offset          Values
------          ------
0x0000          00 30 48 89 d1 b2 30 0d 46 f7 f4 00 ff ff ff ff
0x0010          ff ff ff ff 6b 02 8c 10 d9 15 8c 10 86 80 de 83
0x0020          08 00 00 20 14 7e 48 00 00 10 d8 00 00 00 00 27
0x0030          c9 6c 50 31 22 07 0b 04 84 09 00 00 00 c0 06 07
0x0040          08 10 00 00 04 0f ff 7f 01 4d ff ff ff ff ff ff
0x0050          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0060          00 01 00 40 1c 12 ff ff ff ff ff ff ff ff ff ff
0x0070          ff ff ff ff ff ff ff ff ff ff ff ff ff ff 5e 7c
0x0080          0a 00 00 0a 00 07 e9 03 33 c2 02 6f 02 98 00 00
0x0090          00 00 00 00 00 00 00 00 00 23 20 00 05 00 00 00
0x00a0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x00b0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x00c0          80 00 00 00 00 00 ff ff ff ff ff ff ff ff ff ff
0x00d0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x00e0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x00f0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0100          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0110          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0120          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0130          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0140          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0150          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0160          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0170          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0180          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0190          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x01a0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x01b0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x01c0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x01d0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x01e0          00 00 00 00 20 00 00 20 c9 00 00 00 00 00 00 fd
0x01f0          00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0200          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0210          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0220          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0230          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0240          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0250          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0260          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0270          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0280          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0290          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x02a0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x02b0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x02c0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x02d0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x02e0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x02f0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0300          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0310          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0320          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0330          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0340          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0350          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0360          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0370          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0380          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0390          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x03a0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x03b0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x03c0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x03d0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x03e0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x03f0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
Comment 1 Pawel Staszewski 2006-11-02 06:28:10 UTC
Driver is compiled in the kernel.
Comment 2 Pawel Staszewski 2006-11-02 06:30:50 UTC
on the same host i have info like this in dmesg after the information about
e1000 driver tx hang

warning: many lost ticks.
Your time source seems to be instable or some driver is hogging interupts
rip __do_softirq+0x4a/0xc4
Comment 3 Andrew Morton 2006-11-02 11:06:34 UTC

Begin forwarded message:

Date: Thu, 2 Nov 2006 06:41:04 -0800
From: bugme-daemon@bugzilla.kernel.org
To: bugme-new@lists.osdl.org
Subject: [Bugme-new] [Bug 7450] New: e1000: eth0: e1000_clean_tx_irq: Detected Tx Unit Hang


http://bugzilla.kernel.org/show_bug.cgi?id=7450

           Summary: e1000: eth0: e1000_clean_tx_irq: Detected Tx Unit Hang
    Kernel Version: 2.6.19-rc3
            Status: NEW
          Severity: normal
             Owner: acme@conectiva.com.br
         Submitter: pstaszewski@artcom.pl


Most recent kernel where this bug did not occur: not known
Distribution: Gentoo Linux x86_64
Hardware Environment: 
lspci
00:00.0 Host bridge: Intel Corporation E7230/3000/3010 Memory Controller Hub
(rev c0)
00:01.0 PCI bridge: Intel Corporation E7230/3000/3010 PCI Express Root Port (rev c0)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1
(rev 01)
00:1c.4 PCI bridge: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI Express
Port 5 (rev 01)
00:1c.5 PCI bridge: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI Express
Port 6 (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface
Bridge (rev 01)
00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) Serial ATA
Storage Controller AHCI (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
01:00.0 PCI bridge: Intel Corporation 6700PXH PCI Express-to-PCI Bridge A (rev 09)
01:00.1 PIC: Intel Corporation 6700/6702PXH I/OxAPIC Interrupt Controller A (rev 09)
01:00.2 PCI bridge: Intel Corporation 6700PXH PCI Express-to-PCI Bridge B (rev 09)
01:00.3 PIC: Intel Corporation 6700PXH I/OxAPIC Interrupt Controller B (rev 09)
0d:00.0 Ethernet controller: Intel Corporation 82573E Gigabit Ethernet
Controller (Copper) (rev 03)
0e:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller
0f:04.0 VGA compatible controller: ATI Technologies Inc ES1000 (rev 02)

Software Environment: Iptables/Iproute2

Problem Description:
e1000: eth0: e1000_clean_tx_irq: Detected Tx Unit Hang
  Tx Queue             <0>
  TDH                  <31>
  TDT                  <31>
  next_to_use          <31>
  next_to_clean        <af>
buffer_info[next_to_clean]
  time_stamp           <1014b175c>
  next_to_watch        <af>
  jiffies              <1014b1875>
  next_to_watch.status <1>
e1000: eth1: e1000_clean_tx_irq: Detected Tx Unit Hang
  Tx Queue             <0>
  TDH                  <36>
  TDT                  <36>
  next_to_use          <36>
  next_to_clean        <b8>
buffer_info[next_to_clean]
  time_stamp           <1014b1922>
  next_to_watch        <b9>
  jiffies              <1014b1a7c>
  next_to_watch.status <1>
e1000: eth0: e1000_clean_tx_irq: Detected Tx Unit Hang
  Tx Queue             <0>
  TDH                  <fa>
  TDT                  <fa>
  next_to_use          <fa>
  next_to_clean        <7f>
buffer_info[next_to_clean]
  time_stamp           <1014b194b>
  next_to_watch        <80>
  jiffies              <1014b1ae0>
  next_to_watch.status <1>
printk: 423 messages suppressed.
dst cache overflow
e1000: eth1: e1000_clean_tx_irq: Detected Tx Unit Hang
  Tx Queue             <0>
  TDH                  <cf>
  TDT                  <cf>
  next_to_use          <cf>
  next_to_clean        <56>
buffer_info[next_to_clean]
  time_stamp           <1014b1bb7>
  next_to_watch        <57>
  jiffies              <1014b1cc9>
  next_to_watch.status <1>
e1000: eth0: e1000_clean_tx_irq: Detected Tx Unit Hang
  Tx Queue             <0>
  TDH                  <8c>
  TDT                  <8c>
  next_to_use          <8c>
  next_to_clean        <fe>
buffer_info[next_to_clean]
  time_stamp           <1014b1bef>
  next_to_watch        <fe>
  jiffies              <1014b1d86>
  next_to_watch.status <1>
e1000: eth0: e1000_clean_tx_irq: Detected Tx Unit Hang
  Tx Queue             <0>
  TDH                  <ee>
  TDT                  <ee>
  next_to_use          <ee>
  next_to_clean        <59>
buffer_info[next_to_clean]
  time_stamp           <1014b1ddd>
  next_to_watch        <59>
  jiffies              <1014b1fb6>
  next_to_watch.status <1>

0d:00.0 Ethernet controller: Intel Corporation 82573E Gigabit Ethernet
Controller (Copper) (rev 03)
        Subsystem: Super Micro Computer Inc Unknown device 108c
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR+ FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
        Latency: 0, Cache Line Size 10
        Interrupt: pin A routed to IRQ 16
        Region 0: Memory at e0200000 (32-bit, non-prefetchable) [size=128K]
        Region 2: I/O ports at 4000 [size=32]
        Capabilities: [c8] Power Management version 2
                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA
PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=1 PME-
        Capabilities: [d0] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
                Address: 0000000000000000  Data: 0000
        Capabilities: [e0] Express Endpoint IRQ 0
                Device: Supported: MaxPayload 256 bytes, PhantFunc 0, ExtTag-
                Device: Latency L0s <512ns, L1 <64us
                Device: AtnBtn- AtnInd- PwrInd-
                Device: Errors: Correctable- Non-Fatal- Fatal- Unsupported-
                Device: RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
                Device: MaxPayload 128 bytes, MaxReadReq 512 bytes
                Link: Supported Speed 2.5Gb/s, Width x1, ASPM unknown, Port 0
                Link: Latency L0s <128ns, L1 <64us
                Link: ASPM Disabled RCB 64 bytes CommClk- ExtSynch-
                Link: Speed 2.5Gb/s, Width x1

0e:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller
        Subsystem: Super Micro Computer Inc Unknown device 109a
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR+ FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
        Latency: 0, Cache Line Size 10
        Interrupt: pin A routed to IRQ 17
        Region 0: Memory at e0300000 (32-bit, non-prefetchable) [size=128K]
        Region 2: I/O ports at 5000 [size=32]
        Capabilities: [c8] Power Management version 2
                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA
PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=1 PME-
        Capabilities: [d0] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
                Address: 0000000000000000  Data: 0000
        Capabilities: [e0] Express Endpoint IRQ 0
                Device: Supported: MaxPayload 256 bytes, PhantFunc 0, ExtTag-
                Device: Latency L0s <512ns, L1 <64us
                Device: AtnBtn- AtnInd- PwrInd-
                Device: Errors: Correctable- Non-Fatal- Fatal- Unsupported-
                Device: RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
                Device: MaxPayload 128 bytes, MaxReadReq 512 bytes
                Link: Supported Speed 2.5Gb/s, Width x1, ASPM unknown, Port 0
                Link: Latency L0s <128ns, L1 <64us
                Link: ASPM Disabled RCB 64 bytes CommClk- ExtSynch-
                Link: Speed 2.5Gb/s, Width x1


ethtool -e eth0
Offset          Values
------          ------
0x0000          00 30 48 89 d1 b2 30 0d 46 f7 f4 00 ff ff ff ff
0x0010          ff ff ff ff 6b 02 8c 10 d9 15 8c 10 86 80 de 83
0x0020          08 00 00 20 14 7e 48 00 00 10 d8 00 00 00 00 27
0x0030          c9 6c 50 31 22 07 0b 04 84 09 00 00 00 c0 06 07
0x0040          08 10 00 00 04 0f ff 7f 01 4d ff ff ff ff ff ff
0x0050          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0060          00 01 00 40 1c 12 ff ff ff ff ff ff ff ff ff ff
0x0070          ff ff ff ff ff ff ff ff ff ff ff ff ff ff 5e 7c
0x0080          0a 00 00 0a 00 07 e9 03 33 c2 02 6f 02 98 00 00
0x0090          00 00 00 00 00 00 00 00 00 23 20 00 05 00 00 00
0x00a0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x00b0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x00c0          80 00 00 00 00 00 ff ff ff ff ff ff ff ff ff ff
0x00d0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x00e0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x00f0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0100          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0110          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0120          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0130          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0140          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0150          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0160          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0170          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0180          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0190          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x01a0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x01b0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x01c0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x01d0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x01e0          00 00 00 00 20 00 00 20 c9 00 00 00 00 00 00 fd
0x01f0          00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0200          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0210          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0220          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0230          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0240          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0250          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0260          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0270          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0280          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0290          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x02a0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x02b0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x02c0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x02d0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x02e0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x02f0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0300          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0310          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0320          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0330          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0340          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0350          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0360          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0370          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0380          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0390          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x03a0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x03b0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x03c0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x03d0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x03e0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x03f0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

Comment 4 Jesse Brandeburg 2006-11-02 11:10:23 UTC
you need the fixeep.sh script to help fix your eeprom, this is a common and 
well known issue with the supermicro hardware.
will find the script and attach it for you
Comment 5 Auke Kok 2006-11-02 11:42:43 UTC
Created attachment 9400 [details]
Eeprom fix script for 82573 series

Run this script for every 82573 NIC: `sh fixeep eth0`
Comment 6 Auke Kok 2006-11-02 13:35:15 UTC
Andrew Morton wrote:
> 
> Begin forwarded message:
> 
> Date: Thu, 2 Nov 2006 06:41:04 -0800
> From: bugme-daemon@bugzilla.kernel.org
> To: bugme-new@lists.osdl.org
> Subject: [Bugme-new] [Bug 7450] New: e1000: eth0: e1000_clean_tx_irq: Detected Tx Unit Hang
> 
> 
> http://bugzilla.kernel.org/show_bug.cgi?id=7450
> 
>            Summary: e1000: eth0: e1000_clean_tx_irq: Detected Tx Unit Hang
>     Kernel Version: 2.6.19-rc3
>             Status: NEW
>           Severity: normal
>              Owner: acme@conectiva.com.br
>          Submitter: pstaszewski@artcom.pl
> 
> 
> Most recent kernel where this bug did not occur: not known
> Distribution: Gentoo Linux x86_64
> Hardware Environment: 
> lspci
> 00:00.0 Host bridge: Intel Corporation E7230/3000/3010 Memory Controller Hub
> (rev c0)
> 00:01.0 PCI bridge: Intel Corporation E7230/3000/3010 PCI Express Root Port (rev c0)
> 00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1
> (rev 01)
> 00:1c.4 PCI bridge: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI Express
> Port 5 (rev 01)
> 00:1c.5 PCI bridge: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI Express
> Port 6 (rev 01)
> 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
> 00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface
> Bridge (rev 01)
> 00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) Serial ATA
> Storage Controller AHCI (rev 01)
> 00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
> 01:00.0 PCI bridge: Intel Corporation 6700PXH PCI Express-to-PCI Bridge A (rev 09)
> 01:00.1 PIC: Intel Corporation 6700/6702PXH I/OxAPIC Interrupt Controller A (rev 09)
> 01:00.2 PCI bridge: Intel Corporation 6700PXH PCI Express-to-PCI Bridge B (rev 09)
> 01:00.3 PIC: Intel Corporation 6700PXH I/OxAPIC Interrupt Controller B (rev 09)
> 0d:00.0 Ethernet controller: Intel Corporation 82573E Gigabit Ethernet
> Controller (Copper) (rev 03)
> 0e:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller
> 0f:04.0 VGA compatible controller: ATI Technologies Inc ES1000 (rev 02)
> 
> Software Environment: Iptables/Iproute2
> 
> Problem Description:
> e1000: eth0: e1000_clean_tx_irq: Detected Tx Unit Hang
>   Tx Queue             <0>
>   TDH                  <31>
>   TDT                  <31>

the hang is caused by a bad eeprom bit. A script that fixes it for 82573-series with 
eeproms that need this bit fixed is attached to the bugreport. It detects the proper 
chipset and patches if required (uses ethtool).

hth,

Auke

Comment 7 Anonymous Emailer 2006-11-02 23:13:16 UTC
Reply-To: davem@davemloft.net

From: Auke Kok <auke-jan.h.kok@intel.com>
Date: Thu, 02 Nov 2006 13:48:48 -0800

> the hang is caused by a bad eeprom bit. A script that fixes it for
> 82573-series with eeproms that need this bit fixed is attached to
> the bugreport. It detects the proper chipset and patches if required
> (uses ethtool).

Those third party card makers, they always mess up the eeprom
making things hard to support. :-)

Comment 8 Pawel Staszewski 2006-11-03 03:10:30 UTC
ok thanks it's working now.
Comment 9 Jesse Brandeburg 2006-11-03 09:34:34 UTC
please reopen or file a new bug if you have issues, thanks for reporting!
Comment 10 Yavor 2006-11-08 05:16:34 UTC
Hi!
I have the same problem with this chipset (82573E), 
the script fixed the eeprom and now it is saying that it is ok:
./fixeep eth0
eth0: is a "82573E Gigabit Ethernet Controller"
This fixup is applicable to your hardware
Your eeprom is up to date, no changes were made

But the problem still persist :

e1000: eth0: e1000_clean_tx_irq: Detected Tx Unit Hang
  Tx Queue             <0>
  TDH                  <b1>
  TDT                  <9d>
  next_to_use          <9d>
  next_to_clean        <b1>
buffer_info[next_to_clean]
  time_stamp           <82ba961>
  next_to_watch        <b1>
  jiffies              <82ba9f2>
  next_to_watch.status <0>
e1000: eth0: e1000_clean_tx_irq: Detected Tx Unit Hang
  Tx Queue             <0>
  TDH                  <b1>
  TDT                  <9d>
  next_to_use          <9d>
  next_to_clean        <b1>
buffer_info[next_to_clean]
  time_stamp           <82ba961>
  next_to_watch        <b1>
  jiffies              <82baaba>
  next_to_watch.status <0>
NETDEV WATCHDOG: eth0: transmit timed out


The machine is SuperMicro server with 2 Gigabit Ethernet cards with the
same chipset:
0d:00.0 Ethernet controller: Intel Corporation 82573E Gigabit Ethernet 
Controller (Copper) (rev 03)
0e:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet 
Controller

There is no problem with the second card (82573L). This mesagges are only for 
the first card.



Comment 11 Jesse Brandeburg 2006-11-29 14:19:37 UTC
Please send the ethtool -e output for your failing nic, and you may want to
enter a new bug instead of hijacking this "fixed" one.
Comment 12 Yavor 2006-11-30 04:02:01 UTC
Here is the ethtool -e output:

ethtool -e eth0
Offset          Values
------          ------
0x0000          00 30 48 89 f9 10 30 0d 46 f7 f4 00 ff ff ff ff
0x0010          ff ff ff ff 6b 02 8c 10 d9 15 8c 10 86 80 df 83
0x0020          08 00 00 20 14 7e 48 00 00 10 d8 00 00 00 00 27
0x0030          c9 6c 50 31 22 07 0b 04 84 09 00 00 00 c0 06 07
0x0040          08 10 00 00 04 0f ff 7f 01 4d ff ff ff ff ff ff
0x0050          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0060          c0 00 00 40 1c 12 ff ff ff ff ff ff ff ff ff ff
0x0070          ff ff ff ff ff ff ff ff ff ff ff ff ff ff 75 1e
0x0080          0a 00 00 0a 00 07 e9 03 33 c2 02 6f 02 98 00 00
0x0090          00 00 00 00 00 00 00 00 00 23 20 00 05 00 00 00
0x00a0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x00b0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x00c0          80 00 00 00 00 00 ff ff ff ff ff ff ff ff ff ff
0x00d0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x00e0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x00f0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0100          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0110          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0120          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0130          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0140          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0150          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0160          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0170          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0180          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0190          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x01a0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x01b0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x01c0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x01d0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x01e0          00 00 00 00 20 00 00 20 c9 00 00 00 00 00 00 fd
0x01f0          00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0200          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0210          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0220          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0230          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0240          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0250          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0260          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0270          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0280          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0290          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x02a0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x02b0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x02c0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x02d0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x02e0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x02f0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0300          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0310          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0320          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0330          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0340          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0350          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0360          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0370          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0380          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0390          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x03a0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x03b0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x03c0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x03d0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x03e0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x03f0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff


If writing in this "fixed" bug is a problem, I can open a new one.
Comment 13 Yavor 2006-12-04 00:54:48 UTC
Hi; After rebooting the server there is no drops. Sorry for the inconvenience.
Comment 14 Jesse Brandeburg 2006-12-18 14:56:15 UTC
user seems to have solved the problem with fixeep *and* a reboot.  closing.
Comment 15 Menny Hamburger 2007-01-02 02:48:02 UTC
I have two machines connected via crosover cables.
I am using Quad port 82573EB cards.
I am using version 7.3.15 of the driver and bonding.
Every 2,3 reboots a simple flood ping fails with ~2-8% packet loss.
I fixed the fixeep script to include this card, but trying to run it over my 
NIC's shows that the eeprom is already updated.
Comment 16 Menny Hamburger 2007-01-02 02:56:33 UTC
A clarification:
The problem happened on a machine with RHEL3U7 kernel.
Comment 17 Menny Hamburger 2007-01-02 03:26:58 UTC
The card is actually 82571GB and not as specified before.
Sorry.

M.
Comment 18 Menny Hamburger 2007-01-02 04:18:27 UTC
From doing additional dubug I am not so sure this is the same bug - please re-
close it and I will open a new bug when I understand what is going on
Comment 19 Jesse Brandeburg 2007-01-02 08:25:03 UTC
you should definitely not update your 82571 eeprom, it would most assurredly 
be wrong.  Closing again as requested.
Comment 20 Auke Kok 2007-01-18 11:01:33 UTC
full fix (including fix script) for this 82573 & documentation for reference is
here:

http://e1000.sourceforge.net/wiki/index.php/Issues#82573.28V.2FL.2FE.29_TX_Unit_Hang_messages

Note You need to log in before you can comment on or make changes to this bug.