Bug 12942 (MCP61_Ethernet)

Summary: MCP61 network card goes down after 10-15 minutes.
Product: Drivers Reporter: Andrey Karlov (eiskalt.erwischt)
Component: NetworkAssignee: drivers_network (drivers_network)
Status: RESOLVED CODE_FIX    
Severity: normal CC: alan, eiskalt.erwischt, eric, johan.ymerson, peter
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.29 Subsystem:
Regression: No Bisected commit-id:
Attachments: config-2.6.29
dmesg.log

Description Andrey Karlov 2009-03-25 21:46:57 UTC
Created attachment 20681 [details]
config-2.6.29

Latest working kernel version: 2.6.28.5
Earliest failing kernel version: 2.6.29
Distribution: Debian
Hardware Environment:Asus M2NX-Plus, nVidia MCP61 Ethernet
Software Environment: Standard distribution core software.
Problem Description: 
After booting into 2.6.29 kernel my network card goes down without any reasons. ifconfig eth0 not works. I have other nc and it work great(RTL-8139).

lspci:
00:00.0 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a1)
00:01.0 ISA bridge: nVidia Corporation MCP61 LPC Bridge (rev a2)
00:01.1 SMBus: nVidia Corporation MCP61 SMBus (rev a2)
00:01.2 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a2)
00:02.0 USB Controller: nVidia Corporation MCP61 USB Controller (rev a2)
00:02.1 USB Controller: nVidia Corporation MCP61 USB Controller (rev a2)
00:04.0 PCI bridge: nVidia Corporation MCP61 PCI bridge (rev a1)
00:05.0 Audio device: nVidia Corporation MCP61 High Definition Audio (rev a2)
00:06.0 IDE interface: nVidia Corporation MCP61 IDE (rev a2)
00:07.0 Bridge: nVidia Corporation MCP61 Ethernet (rev a2)
00:08.0 IDE interface: nVidia Corporation MCP61 SATA Controller (rev a2)
00:08.1 IDE interface: nVidia Corporation MCP61 SATA Controller (rev a2)
00:09.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2)
00:0b.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2)
00:0c.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2)
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:07.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
02:00.0 VGA compatible controller: nVidia Corporation GeForce 8500 GT (rev a1)

ifconfig eth0:
eth0      Link encap:Ethernet  HWaddr 00:1d:60:d9:90:60  
          UP BROADCAST RUNNING MULTICAST  MTU:576  Metric:1
          RX packets:16133 errors:0 dropped:0 overruns:0 frame:0
          TX packets:24765 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:3348064 (3.1 MiB)  TX bytes:10176063 (9.7 MiB)
          Interrupt:27

lsmod | grep -v Module | sort :
8139cp                 20576  0 
8139too                25796  0 
amd74xx                 6824  0 
ata_generic             5876  0 
button                  7360  0 
cdrom                  34120  1 ide_cd_mod
ehci_hcd               34988  0 
evdev                  10816  3 
ext3                  124800  1 
fan                     4064  0 
forcedeth              55760  0 
i2c_core               25392  2 nvidia,i2c_nforce2
i2c_nforce2             7104  0 
ide_cd_mod             30688  0 
ide_core              110212  3 ide_cd_mod,amd74xx,ide_pci_generic
ide_pci_generic         4628  0 
ipv6                  288048  22 
jbd                    51304  1 ext3
k8temp                  4992  0 
libata                175916  2 sata_nv,ata_generic
loop                   15596  0 
mbcache                 9236  1 ext3
mii                     5728  2 8139too,8139cp
nvidia               8109224  26 
ohci_hcd               23420  0 
processor              38140  1 thermal
psmouse                41916  0 
reiserfs              214112  1 
sata_nv                25048  3 
scsi_mod              165368  2 sd_mod,libata
sd_mod                 27144  5 
serio_raw               5892  0 
snd                    63672  13 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_pcm,snd_seq,snd_timer,snd_seq_device
snd_hda_codec          64640  2 snd_hda_codec_realtek,snd_hda_intel
snd_hda_codec_realtek   245316  1 
snd_hda_intel          27064  4 
snd_page_alloc          9808  2 snd_hda_intel,snd_pcm
snd_pcm                74984  3 snd_hda_intel,snd_hda_codec
snd_seq                51904  0 
snd_seq_device          7556  1 snd_seq
snd_timer              22688  3 snd_pcm,snd_seq
soundcore               8032  1 snd
thermal                19024  0 
thermal_sys            13184  3 thermal,processor,fan
Comment 1 Andrey Karlov 2009-03-25 21:47:36 UTC
Created attachment 20682 [details]
dmesg.log
Comment 2 Johan Ymerson 2009-03-28 11:00:16 UTC
I have the same problem, but with an MCP51 chip:
lspci -vv
...
00:14.0 Bridge: nVidia Corporation MCP51 Ethernet Controller (rev a3)
        Subsystem: Hewlett-Packard Company Presario V6133CL
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0 (250ns min, 5000ns max)
        Interrupt: pin A routed to IRQ 20
        Region 0: Memory at b0008000 (32-bit, non-prefetchable) [size=4K]
        Region 1: I/O ports at 30e0 [size=8]
        Capabilities: [44] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
                Status: D0 PME-Enable+ DSel=0 DScale=0 PME-
        Kernel driver in use: forcedeth
        Kernel modules: forcedeth
...

The card worked flawlessly in 2.6.28.5, but dies within minutes from boot with 2.6.29.
No errors counted, no errors in dmesg, nothing.

My system:
Compaq V6057EA
Gentoo ~amd64
4G RAM
Vanilla kernel 2.6.29 x86_64
Comment 3 Peter Kerwien 2009-03-28 12:14:50 UTC
Same problem, network just stops working after a few seconds of FTP traffic. Using nForce4 Ultra:

00:0a.0 Bridge: nVidia Corporation CK804 Ethernet Controller (rev a3)
	Subsystem: ABIT Computer Corp. Device 1c0c
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0 (250ns min, 5000ns max)
	Interrupt: pin A routed to IRQ 21
	Region 0: Memory at fe02f000 (32-bit, non-prefetchable) [size=4K]
	Region 1: I/O ports at fc00 [size=8]
	Capabilities: <access denied>
	Kernel driver in use: forcedeth
	Kernel modules: forcedeth

Can not see this problem in kernel 2.6.29-rc8, so my guess is that the problem happened between 2.6.29-rc8 och 2.6.29 final.
Comment 4 Johan Ymerson 2009-03-28 21:34:49 UTC
The latest git sources does seem to work, anyone else that can confirm this?
Comment 5 Peter Kerwien 2009-03-28 22:56:56 UTC
Yes, I can confirm that my network works in kernel 2.6.29-git3.
Comment 6 Eric Sandall 2009-03-30 20:33:02 UTC
Also occurs with 00:04.0 Ethernet controller: nVidia Corporation nForce2 Ethernet Controller (rev a1), works with 2.6.28.8. I have not tried 2.6.29-git3.
Comment 7 Peter Kerwien 2009-04-03 05:38:32 UTC
Tested with kernel 2.6.29.1 and my network seems to be stable again :-)
Comment 8 Andrey Karlov 2009-04-04 13:49:44 UTC
Ok. With new 2.6.29.1 kernel network is stable. Thanks.
Comment 9 Eric Sandall 2009-04-05 19:50:21 UTC
(In reply to comment #6)
> Also occurs with 00:04.0 Ethernet controller: nVidia Corporation nForce2
> Ethernet Controller (rev a1), works with 2.6.28.8. I have not tried
> 2.6.29-git3.

Updating to 2.6.29.1 seems to fix this also.