Bug 14048

Summary: e1000_clean_tx_irq: Detected Tx Unit Hang, more then 4 GB Memory
Product: Networking Reporter: matthias.kreis
Component: OtherAssignee: Jesse Brandeburg (jesse.brandeburg)
Status: CLOSED CODE_FIX    
Severity: normal CC: bjorn, devzero, jesse.brandeburg, kenyon, ps_mail
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.31-rc5-amd64 Subsystem:
Regression: No Bisected commit-id:

Description matthias.kreis 2009-08-24 07:31:10 UTC
Hello 

Mayby the following references helps:
http://www.mail-archive.com/e1000-devel@lists.sourceforge.net/msg01152.html


I still geht the following errors if I plug in a network cabel (You get the error only with more then 4GB memory):

[  224.836006] ADDRCONF(NETDEV_CHANGE): eth2: link becomes ready
[  226.805038] e1000: eth2: e1000_clean_tx_irq: Detected Tx Unit Hang
[  226.805043]   Tx Queue             <0>
[  226.805046]   TDH                  <4>
[  226.805048]   TDT                  <4>
[  226.805050]   next_to_use          <4>
[  226.805052]   next_to_clean        <0>
[  226.805054] buffer_info[next_to_clean]
[  226.805056]   time_stamp           <ffffb69b>
[  226.805058]   next_to_watch        <0>
[  226.805060]   jiffies              <ffffb885>
[  226.805062]   next_to_watch.status <0>
[  228.804222] e1000: eth2: e1000_clean_tx_irq: Detected Tx Unit Hang
[  228.804227]   Tx Queue             <0>
[  228.804230]   TDH                  <4>
[  228.804232]   TDT                  <4>
[  228.804234]   next_to_use          <4>
[  228.804236]   next_to_clean        <0>
[  228.804238] buffer_info[next_to_clean]
[  228.804240]   time_stamp           <ffffb69b>
[  228.804242]   next_to_watch        <0>
[  228.804244]   jiffies              <ffffba79>
[  228.804247]   next_to_watch.status <0>
[  229.080126] e1000: eth2 NIC Link is Down


lspci:

00:00.0 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
00:00.1 RAM memory: nVidia Corporation C51 Memory Controller 0 (rev a2)
00:00.2 RAM memory: nVidia Corporation C51 Memory Controller 1 (rev a2)
00:00.3 RAM memory: nVidia Corporation C51 Memory Controller 5 (rev a2)
00:00.4 RAM memory: nVidia Corporation C51 Memory Controller 4 (rev a2)
00:00.5 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
00:00.6 RAM memory: nVidia Corporation C51 Memory Controller 3 (rev a2)
00:00.7 RAM memory: nVidia Corporation C51 Memory Controller 2 (rev a2)
00:03.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
00:05.0 VGA compatible controller: nVidia Corporation C51PV [GeForce
6150] (rev a2)
00:09.0 RAM memory: nVidia Corporation MCP51 Host Bridge (rev a2)
00:0a.0 ISA bridge: nVidia Corporation MCP51 LPC Bridge (rev a3)
00:0a.1 SMBus: nVidia Corporation MCP51 SMBus (rev a3)
00:0a.2 RAM memory: nVidia Corporation MCP51 Memory Controller 0 (rev a3)
00:0b.0 USB Controller: nVidia Corporation MCP51 USB Controller (rev a3)
00:0b.1 USB Controller: nVidia Corporation MCP51 USB Controller (rev a3)
00:0d.0 IDE interface: nVidia Corporation MCP51 IDE (rev a1)
00:0e.0 IDE interface: nVidia Corporation MCP51 Serial ATA Controller
(rev a1)
00:0f.0 IDE interface: nVidia Corporation MCP51 Serial ATA Controller
(rev a1)
00:10.0 PCI bridge: nVidia Corporation MCP51 PCI Bridge (rev a2)
00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio
(rev a2)
00:14.0 Bridge: nVidia Corporation MCP51 Ethernet Controller (rev a3)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
Miscellaneous Control
01:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network
Connection
02:05.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A
IEEE-1394a-2000 Controller (PHY/Link)
02:08.0 Ethernet controller: Intel Corporation 82541PI Gigabit Ethernet
Controller (rev 05)

Memory Info:
 cat /proc/meminfo
MemTotal:        6097292 kB
MemFree:         5932588 kB
Buffers:            7036 kB
Cached:            60248 kB
SwapCached:            0 kB
Active:            60028 kB
Inactive:          47764 kB
Active(anon):      40980 kB
Inactive(anon):        0 kB
Active(file):      19048 kB
Inactive(file):    47764 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:       5855684 kB
SwapFree:        5855684 kB
Dirty:                 0 kB
Writeback:             0 kB
AnonPages:         40508 kB
Mapped:            18928 kB
Slab:              19824 kB
SReclaimable:       6780 kB
SUnreclaim:        13044 kB
PageTables:         3252 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:     8904328 kB
Committed_AS:      93232 kB
VmallocTotal:   34359738367 kB
VmallocUsed:      289584 kB
VmallocChunk:   34359446583 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
DirectMap4k:        9152 kB
DirectMap2M:     6248448 kB

Hardware is M2NPV-VM with 6 GB Memory.

Regards Matthias Kreis

PS: The system can be made available for debugging if needed.
Comment 1 Patrick 2010-07-27 17:25:38 UTC
Hi,

I've also the same problem since about one year and just opened a bug here. Now
with some other search patterns I've found this, so mine is a clone *sorry*

I've found a patch which fixed the problem for me: see bugreport #16471

https://bugzilla.kernel.org/show_bug.cgi?id=16471

regards
Patrick
Comment 2 Jesse Brandeburg 2010-10-06 18:44:56 UTC
patch to disable 64 bit dma on systems with PCI (only) adapters, and more than 4GB ram, committed to net-next, should already be in linux-next, and will be in 2.6.37-rc merge window.

http://git.kernel.org/?p=linux/kernel/git/davem/net-next-2.6.git;a=commitdiff;h=e508be174ad36b0cf9b324cd04978c2b13c21502