Skip to contentSkip to conversation

Asus K8N-VM Motherboard Ethernet Problem

DISCUSSION Marc Perkel 9 participants 16 messages May 28, 2006 – Jul 8, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Is there a problem with the forcedeth driver not being compatible with the Asus K8N-VM motherboard? I installed Fedora Core 5 and the Ethernet doesn't want to work. I installed the latest FC5 kernel which is some flavor og 2.6.16 and it still doesn't work. The FC4 CD and rescue disk don't work either. Windows XP however does work so I know that hardware is good.

lspci says the hardware is an nVidia MCP51 ethernet controller. What am I missing?

Thanks in advance.

#1 lore raw
Quoted 6 lines · Marc Perkel

Is there a problem with the forcedeth driver not being compatible with the Asus K8N-VM motherboard? I installed Fedora Core 5 and the Ethernet doesn't want to work. I installed the latest FC5 kernel which is some flavor og 2.6.16 and it still doesn't work. The FC4 CD and rescue disk don't work either. Windows XP however does work so I know that hardware is good.

lspci says the hardware is an nVidia MCP51 ethernet controller. What am I missing?

Thanks in advance.

Also - why is it that I can load a 3 year old version of Windows XP on this motherboad and it just work but I load a modern Linux Kernel and it can't find the Ethernet card?

#2 lore raw
Quoted 1 line · Marc Perkel

Marc Perkel wrote:

[forcedeth not working correctly]

Quoted 3 lines

Also - why is it that I can load a 3 year old version of Windows XP on this motherboad and it just work but I load a modern Linux Kernel and it can't find the Ethernet card?

That is either because Windows XP is totally superior to Linux, or because the vendor (NVidia in this case) wrote a Windows driver, but they didn't write something for Linux _and_ didn't publish any specs for this ethernet controller. So it took some time to reverse engineer the Windows driver...

MfG, JBG

Signature · 4 lines
Jan-Benedict Glaw       [email protected]    . +49-172-7608481             _ O _
"Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg  _ _ O
 für einen Freien Staat voll Freier Bürger"  | im Internet! |   im Irak!   O O O
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
#3 lore raw
Quoted 7 lines · Jan-Benedict Glaw
Quoted 1 line · Marc Perkel

Marc Perkel wrote:

[forcedeth not working correctly]

Quoted 3 lines

Also - why is it that I can load a 3 year old version of Windows XP on this motherboad and it just work but I load a modern Linux Kernel and it can't find the Ethernet card?

Quoted 8 lines

That is either because Windows XP is totally superior to Linux, or because the vendor (NVidia in this case) wrote a Windows driver, but they didn't write something for Linux _and_ didn't publish any specs for this ethernet controller. So it took some time to reverse engineer the Windows driver...

MfG, JBG

I can concur that the forcedeth is unreliable on nvidia based motherboards. I have a ethernet device that works with forcedeth. 0000:00:0a.0 Bridge: nVidia Corporation CK804 Ethernet Controller (rev a3) 0000:00:0a.0 0680: 10de:0057 (rev a3)

        Subsystem: 147b:1c12
        Flags: 66MHz, fast devsel, IRQ 11
        Memory at fe02f000 (32-bit, non-prefetchable) [size=4K]
        I/O ports at fc00 [size=8]
        Capabilities: [44] Power Management version 2

It works in that it can actually send and receive packets.
The problems are:
1) one cannot rmmod the forcedeth module. Even after ifdown etc.
2) the machine hangs randomly.
Before someone asks, the MB has no serial port, so no stack trace available.
3) The netconsole fails to function with it.

I have installed a standard PCI based intel ethernet card, and only use that. Without the forcedeth loaded, no hangs since.

So, although I can confirm that there are certainly problems with the forcedeth driver, without a serial port, I am at a loss at how I might help diagnose the problem and fix it.

The only help this email is, is to confirm that if someone is raising problems with the forcedeth driver, it is most likely to be a truthful report and if they also have a serial port, they might even be able to give some good diagnosis output.

James

#4 lore raw

On Monday 29 May 2006 18:48, James Courtier-Dutton wrote:
[snip irrelevant Other OS discussion]

Quoted 11 lines

I can concur that the forcedeth is unreliable on nvidia based motherboards. I have a ethernet device that works with forcedeth. 0000:00:0a.0 Bridge: nVidia Corporation CK804 Ethernet Controller (rev a3) 0000:00:0a.0 0680: 10de:0057 (rev a3)

        Subsystem: 147b:1c12
        Flags: 66MHz, fast devsel, IRQ 11
        Memory at fe02f000 (32-bit, non-prefetchable) [size=4K]
        I/O ports at fc00 [size=8]
        Capabilities: [44] Power Management version 2
Quoted 6 lines

It works in that it can actually send and receive packets. The problems are:
1) one cannot rmmod the forcedeth module. Even after ifdown etc.
2) the machine hangs randomly.
Before someone asks, the MB has no serial port, so no stack trace available. 3) The netconsole fails to function with it.

File a bug report. What kernel version did you last test?

I have that exact ethernet controller (CK804) and cannot reproduce any of the problems you have listed on 2.6.17-rc5.

Signature · 5 lines
Cheers,
Alistair.

Third year Computer Science undergraduate.
1F2 55 South Clerk Street, Edinburgh, UK.
#5 lore raw
In reply to James Courtier-Dutton

Hi James,

Quoted 17 lines · James Courtier-Dutton

I can concur that the forcedeth is unreliable on nvidia based motherboards. I have a ethernet device that works with forcedeth. 0000:00:0a.0 Bridge: nVidia Corporation CK804 Ethernet Controller (rev a3) 0000:00:0a.0 0680: 10de:0057 (rev a3)

        Subsystem: 147b:1c12
        Flags: 66MHz, fast devsel, IRQ 11
        Memory at fe02f000 (32-bit, non-prefetchable) [size=4K]
        I/O ports at fc00 [size=8]
        Capabilities: [44] Power Management version 2

It works in that it can actually send and receive packets.
The problems are:
1) one cannot rmmod the forcedeth module. Even after ifdown etc.
2) the machine hangs randomly.
Before someone asks, the MB has no serial port, so no stack trace available.
3) The netconsole fails to function with it.

Quoted 6 lines

I have installed a standard PCI based intel ethernet card, and only use that. Without the forcedeth loaded, no hangs since.

So, although I can confirm that there are certainly problems with the forcedeth driver, without a serial port, I am at a loss at how I might help diagnose the problem and fix it.

This sounds like http://bugzilla.kernel.org/show_bug.cgi?id=6480

Maybe we can help to resolve this. I already stored a lot of info in the bugzilla entry.

Could you please describe your setup further? I'm interested on the devices behind your nvidia NIC, since we only have it at one customers mail server behind a SonicWall, so we cannot really try a lot.

For all other customers it works. I'm a bit lost on the cause. I've seen 4% collisions, which might reduce performance, but should not stop the transmitter forever.

PS: CC'ed some more relevant addresses to increase awareness.

Regards

Ingo Oeser

#6 lore raw
In reply to James Courtier-Dutton
Quoted 17 lines · James Courtier-Dutton

I can concur that the forcedeth is unreliable on nvidia based motherboards. I have a ethernet device that works with forcedeth. 0000:00:0a.0 Bridge: nVidia Corporation CK804 Ethernet Controller (rev a3) 0000:00:0a.0 0680: 10de:0057 (rev a3)

        Subsystem: 147b:1c12
        Flags: 66MHz, fast devsel, IRQ 11
        Memory at fe02f000 (32-bit, non-prefetchable) [size=4K]
        I/O ports at fc00 [size=8]
        Capabilities: [44] Power Management version 2

It works in that it can actually send and receive packets.
The problems are:
1) one cannot rmmod the forcedeth module. Even after ifdown etc.
2) the machine hangs randomly.
Before someone asks, the MB has no serial port, so no stack trace available.
3) The netconsole fails to function with it.

Quoted 6 lines

I have installed a standard PCI based intel ethernet card, and only use that. Without the forcedeth loaded, no hangs since.

So, although I can confirm that there are certainly problems with the forcedeth driver, without a serial port, I am at a loss at how I might help diagnose the problem and fix it.

Watchdog timer? Compile with the appropriate timer(s) and set it with wdog or similar. Of course it may not be "hung enough" but it's worth a try, I would think.

Quoted 5 lines

The only help this email is, is to confirm that if someone is raising problems with the forcedeth driver, it is most likely to be a truthful report and if they also have a serial port, they might even be able to give some good diagnosis output.

Signature · 5 lines
Bill Davidsen <[email protected]>
  Obscure bug of 2004: BASH BUFFER OVERFLOW - if bash is being run by a
normal user and is setuid root, with the "vi" line edit mode selected,
and the character set is "big5," an off-by-one errors occurs during
wildcard (glob) expansion.
#7 lore raw
In reply to James Courtier-Dutton
Quoted 40 lines · James Courtier-Dutton
Quoted 6 lines · Jan-Benedict Glaw
Quoted 1 line · Marc Perkel

Marc Perkel wrote:

[forcedeth not working correctly]

Quoted 3 lines

Also - why is it that I can load a 3 year old version of Windows XP on this motherboad and it just work but I load a modern Linux Kernel and it can't find the Ethernet card?

Quoted 8 lines

That is either because Windows XP is totally superior to Linux, or because the vendor (NVidia in this case) wrote a Windows driver, but they didn't write something for Linux _and_ didn't publish any specs for this ethernet controller. So it took some time to reverse engineer the Windows driver...

MfG, JBG

I can concur that the forcedeth is unreliable on nvidia based motherboards. I have a ethernet device that works with forcedeth. 0000:00:0a.0 Bridge: nVidia Corporation CK804 Ethernet Controller (rev a3) 0000:00:0a.0 0680: 10de:0057 (rev a3)

        Subsystem: 147b:1c12
        Flags: 66MHz, fast devsel, IRQ 11
        Memory at fe02f000 (32-bit, non-prefetchable) [size=4K]
        I/O ports at fc00 [size=8]
        Capabilities: [44] Power Management version 2

It works in that it can actually send and receive packets.
The problems are:
1) one cannot rmmod the forcedeth module. Even after ifdown etc.
2) the machine hangs randomly.
Before someone asks, the MB has no serial port, so no stack trace available.
3) The netconsole fails to function with it.

I have installed a standard PCI based intel ethernet card, and only use that. Without the forcedeth loaded, no hangs since.

So, although I can confirm that there are certainly problems with the forcedeth driver, without a serial port, I am at a loss at how I might help diagnose the problem and fix it.

Quoted 7 lines

The only help this email is, is to confirm that if someone is raising problems with the forcedeth driver, it is most likely to be a truthful report and if they also have a serial port, they might even be able to give some good diagnosis output.

James

For those interested, I am using the forcedeth driver again in 2.6.16-ck9 kernel, and it has not caused any machine hangs so far (2 days).

#8 lore raw
In reply to Marc Perkel
Quoted 9 lines · Marc Perkel

Is there a problem with the forcedeth driver not being compatible with the Asus K8N-VM motherboard? I installed Fedora Core 5 and the Ethernet doesn't want to work. I installed the latest FC5 kernel which is some flavor og 2.6.16 and it still doesn't work. The FC4 CD and rescue disk don't work either. Windows XP however does work so I know that hardware is good.

lspci says the hardware is an nVidia MCP51 ethernet controller. What am I missing?

A decent bug report. Please go to http://bugzilla.kernel.org/ and publish your lspci, /proc/interrupts and dmesg and if you're sure it's forcedeth, put the maintainer on CC.

Signature · 5 lines
Cheers,
Alistair.

Third year Computer Science undergraduate.
1F2 55 South Clerk Street, Edinburgh, UK.
#9 lore raw
Quoted 8 lines · Alistair John Strachan
Quoted 7 lines · Marc Perkel

Is there a problem with the forcedeth driver not being compatible with the Asus K8N-VM motherboard? I installed Fedora Core 5 and the Ethernet doesn't want to work. I installed the latest FC5 kernel which is some flavor og 2.6.16 and it still doesn't work. The FC4 CD and rescue disk don't work either. Windows XP however does work so I know that hardware is good.

Quoted 6 lines
Quoted 2 lines

lspci says the hardware is an nVidia MCP51 ethernet controller. What am I missing?

A decent bug report. Please go to http://bugzilla.kernel.org/ and publish your lspci, /proc/interrupts and dmesg and if you're sure it's forcedeth, put the maintainer on CC.

Five minutes of research and I found this:

http://www.asus.com.tw/products4.aspx?modelmenu=2&model=952&l1=3&l2=14&l3=245

It indicates that the board, although using an nForce 410 chipset, does NOT use NVIDIA ethernet, but (quote) "Relatek RTL8201CL external PHY"; you're probably trying the wrong driver and this is the source of the problem.

This info could be wrong, but I thought it might help.

Signature · 5 lines
Cheers,
Alistair.

Third year Computer Science undergraduate.
1F2 55 South Clerk Street, Edinburgh, UK.
#10 lore raw
Quoted 9 lines · Alistair John Strachan

Five minutes of research and I found this:

http://www.asus.com.tw/products4.aspx?modelmenu=2&model=952&l1=3&l2=14&l3=245

It indicates that the board, although using an nForce 410 chipset, does NOT use NVIDIA ethernet, but (quote) "Relatek RTL8201CL external PHY"; you're probably trying the wrong driver and this is the source of the problem.

This info could be wrong, but I thought it might help.

The linux driver is for the MAC, which is in the chipset. The PHY is external, and it doens't particularly matter which one it is in general. The driver almost never has to care. I know I don't have to tell the pcnet32 driver that I am using a broadcom 5221 PHY with it. It works just fine because the MAC is an AMD 972 which is one fo the chips the pcnet32 driver operates.

Len Sorensen

#11 lore raw
Quoted 11 lines · Lennart Sorensen
Quoted 10 lines · Alistair John Strachan

Five minutes of research and I found this:

http://www.asus.com.tw/products4.aspx?modelmenu=2&model=952&l1=3&l2=14&l3
=245

It indicates that the board, although using an nForce 410 chipset, does NOT use NVIDIA ethernet, but (quote) "Relatek RTL8201CL external PHY"; you're probably trying the wrong driver and this is the source of the problem.

Quoted 8 lines
Quoted 1 line

This info could be wrong, but I thought it might help.

The linux driver is for the MAC, which is in the chipset. The PHY is external, and it doens't particularly matter which one it is in general. The driver almost never has to care. I know I don't have to tell the pcnet32 driver that I am using a broadcom 5221 PHY with it. It works just fine because the MAC is an AMD 972 which is one fo the chips the pcnet32 driver operates.

Since this document reveals no information about such a MAC device, it is still unknown whether forcedeth is truly to blame. From the silence of the original poster I'm inclined to assume he's fixed the problem..

I was suspicious because in contra to the original post, it is NOT the case that Windows XP (even SP2) will automatically detect and support NVIDIA ethernet; a third party driver must be installed before the device is usable. Realtek chips, however, tend to work out of the box..

Signature · 5 lines
Cheers,
Alistair.

Third year Computer Science undergraduate.
1F2 55 South Clerk Street, Edinburgh, UK.
#12 lore raw
Quoted 3 lines · Alistair John Strachan

Since this document reveals no information about such a MAC device, it is still unknown whether forcedeth is truly to blame. From the silence of the original poster I'm inclined to assume he's fixed the problem..

Well the web page for the mainboard does say Integrated 10/100 Mb MAC, which would be part of the nvidia chipset. Being 100Mbit certainly means it should work with forcedeth. At least if the kernel is new enough to recognize the chipset.

Quoted 4 lines

I was suspicious because in contra to the original post, it is NOT the case that Windows XP (even SP2) will automatically detect and support NVIDIA ethernet; a third party driver must be installed before the device is usable. Realtek chips, however, tend to work out of the box..

Well I don't know if XP added support for nvidia's network feature in any of the service packs. I do know it works with forcedeth on all the nvidia boards I haved used, although I have only used their 100Mbit versions. There seemed to be a problem with 2.6.8 on some boards where the nvidia MAC would not be detected, but manually loading forcedeth worked anyhow. Later kernels seemed to have no such problem.

Len Sorensen

#13 lore raw
In reply to Marc Perkel
Quoted 9 lines · Marc Perkel

Is there a problem with the forcedeth driver not being compatible with the Asus K8N-VM motherboard? I installed Fedora Core 5 and the Ethernet doesn't want to work. I installed the latest FC5 kernel which is some flavor og 2.6.16 and it still doesn't work. The FC4 CD and rescue disk don't work either. Windows XP however does work so I know that hardware is good.

lspci says the hardware is an nVidia MCP51 ethernet controller. What am I missing?

I had similar issues on A8N-VM. The device would stop working after some packets initially got through and would not recover.

As I recall 'noapic' made it work reliably. nvidia has a linux binary driver for the chipset which you can try (you probably already use the binary video driver?).

Signature · 2 lines
Eyal Lebedinsky ([email protected]) <http://samba.org/eyal/>
	attach .zip as .dat
#14 lore raw
In reply to Marc Perkel
Quoted 1 line

Is there a problem with the forcedeth driver not being compatible with the Asus K8N-VM motherboard? I installed Fedora Core 5 and the Ethernet doesn't

I have the ASUS K8N-VM CSM here(different variant), and it works "fine" with the forcedeth driver. Throughput is fairly slow though, I average only about 25 meg/second with scp, on an Athlon64 3700+ talking to a dual opteron 265.

Also, jumbo frames are apparently not supported.

I may add on a pci-e network card at some point.

Mike

#15 lore raw

Kindly ignore my previous posting, I have the A8N-VM CSM. Though it's still an MCP51 on the board, it is a gigabit controller.