Help - Search - Members - Calendar
Full Version: nForce LAN driver
InsanelyMac Forum > OSx86 Project > Hardware and Drivers > LAN and Wireless
Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13
eno
nForceLAN is a recent development which used planetbeing's nForce4 0.3c driver as a framework to port the forcedeth 0.64 driver from linux 2.6.31 to OS X. nForceLAN should support all of the network adapters supported by the forcedeth 0.64 driver (listed below) and is a replacement for both forcedeth.kext and nForceEthernetController.kext. Please remove all installed versions of forcedeth.kext and nForceEthernetController.kext from your system if you are manually installing nForceLAN (not using the pkg). It is recommended, but not required, that all users upgrade to at least 10.5.5 (preferably 10.5.6) and AMD users should install the Voodoo XNU kernel.

Please post comments in this thread on how well this works (or doesn't work for that matter) for various configurations.

The source code for this driver is released under the GPL.

The original nForce4 driver is posted here: nForce4 LAN driver

Features:
- Support for nForce NICs from the nForce1 to the MCP79.
- Sleep/wake functionality.
- Supports message signalled interrupts (MSI), line interrupts (Legacy), and multiple MSI interrupts.
- Supports manual selection of the network medium and max transfer unit (MTU).
- Supports hardware VLAN tagging.

Supported PCI ids:
0x01c310de, 0x006610de, 0x00d610de, 0x008610de, 0x008c10de, 0x00e610de, 0x00df10de,
0x005610de, 0x005710de, 0x003710de, 0x003810de, 0x026810de, 0x026910de, 0x037210de,
0x037310de, 0x03e510de, 0x03e610de, 0x03ee10de, 0x03ef10de, 0x045010de, 0x045110de,
0x045210de, 0x045310de, 0x054c10de, 0x054d10de, 0x054e10de, 0x054f10de, 0x07dc10de,
0x07dd10de, 0x07de10de, 0x07df10de, 0x076010de, 0x076110de, 0x076210de, 0x076310de,
0x0ab010de, 0x0ab110de, 0x0ab210de, 0x0ab310de, 0x0d7d10de

Recent updates:
- [0.62.7n beta_osx]Added Message Signaled Interrupt (MSI) support (this should fix various problems including the incompatibility with the HPET on some machines). Added vlan tag support. Various bug fixes (including dropped internet on the MCP55).
- [0.62.8n]Fixed matching problems (I think). Code cleanup and release.
- [0.62.9n]Major bug fixes and dumped in-code only matching for now.
- [0.62.10n]Updated code to reflect some changes in 2.6.29 patch. No longer opening the legacy interrupt when MSI is enabled (tested with MCP79 and MCP55). Fixed a potential kernel panic.
- [0.62.11n]Added support for multiple interrupts when using optimization mode 0. Some bug fixes.
- [0.62.12n]Fixed connection drop problem. Fixed single interrupt code.
- [0.62.13n]Code/dependency cleanup. Moved link timer to separate event source (testing). Invalid MAC is replaced by a pseudo-random number instead of a random one (should fix any iTunes issues).
- [0.64.0]Maintenance update (updated to match 2.6.31 forcedeth driver). New device support (MCP89).

Feel free to donate to this project using this paypal link.

enjoy!
-Nate

Kernel extension:
0.64.0 (Snow Leopard: x86_64 i386) Click to view attachment
0.64.0 (Tiger/Leopard: i386) Click to view attachment
0.62.13n (test) Click to view attachment
0.62.13n (test) Click to view attachment

Source:
0.62.13n (test) Click to view attachment

Older versions:
0.62.12n Click to view attachment
0.62.12n Click to view attachment
0.62.12 (source) Click to view attachment
0.62.6n Click to view attachment
0.62.7n Click to view attachment
0.62.8n Click to view attachment
0.62.10n Click to view attachment
0.62.11n Click to view attachment

iphony
Finally!!! M61PME-S2 mobo.

http://forum.insanelymac.com/index.php?showtopic=125686

Thanks
eno
Opps, forgot the remove those options as they are deprecated. The new driver detects if the hardware has checksum support but those options incorrectly override the device settings. Your MCP61 for example does not support device checksums.

I will remove it in the next iteration.

Glad to hear it works with your MCP61.
rz950
This drivers should replace the other ones for almost everyone. It's extremely more stable, no more need for cpus=1. I was going to update the forcedeth to match a bit of the linux one but I kept forgetting to download xcode

Thanks for this driver and really the only thing I can say is, more support for devices might be the only issue, altho there might be a bit of a performance hit but I don't expect a optimized driver tongue.gif
viiddee
perfect work!
..no cpus=1, no bugs... it runs stable and fast on my mcp55 (m2n-e sli)...
Big Thanks!!!
ritalin
Working fine on my HP Pavilion a6557 MCP61. Thanks
Paw-Fox
+1 - Finally working! Internet finally working yay.

Gigabyte GA-M57SLI-S4 AMD smile.gif - Just need to fix the "InterfacerNamer timed out waiting crap and im pretty much done smile.gif

Thanks alot.
hunter onhika
Hmm this is a step in the right direction for me. It sees the MCP55's now put still can't detect a cable plug in
eno
QUOTE (hunter onhika @ Sep 14 2008, 07:02 PM) *
Hmm this is a step in the right direction for me. It sees the MCP55's now put still can't detect a cable plug in


If the lights don't come on on the adapter reboot the machine and make sure the old kext does not load.
eno
0.61.1alpha_osx: Added support for sleep/wake. Card will no longer loose connection on system snooze.
eno
0.61.2alpha_osx adds an optimization mode setting. With the optimization mode set to cpu (default) my MCP55 now works flawlessly.
Obcy
I'm quite "green" in OS systems. I've installed (successfully) osX86 but I really don't know how to use this driver - can you wrote short installation walktrough ? I'll be really happy (as well as some other "noobs" here ;-) )
eno
QUOTE (Obcy @ Sep 18 2008, 07:38 AM) *
I'm quite "green" in OS systems. I've installed (successfully) osX86 but I really don't know how to use this driver - can you wrote short installation walktrough ? I'll be really happy (as well as some other "noobs" here ;-) )


There is an option in osx86tools (google it) to install kexts.
JOS3
finally work for me too!!!!
mevman
Thank you eno! biggrin.gif
My Compaq Presario F755 onboard LAN now works.
Now to get my Atheros AR500P working.
Much appreciated.
scififan68
Great work eno! Your driver rocks! biggrin.gif My lan is working and it seems stable, well I hope it's stable smile.gif
dyjs1968
ToForce 550 SE can use?
identity
works perfectly with my m2npv-vm (nforce 430)....
Hugo Guerreiro
WWOOOTT!!!

You, my friend, are a life saver!!!!

All the forcedeth that i tried where frezzing the system when, for example, a download reached speeds above 300KB/s....
Your driver however works flawlessly and i can see a huge performance increase on web surfing (web pages open 10times faster!!!) and on networking with other computers on my network.
And now i can really use my DSL Cable speeds properly since now im making downloads at a top rate speed (depending on the download) of 15MB/s.....!!!!! WoooooooT!

I have Nvidia´s MCP68 on MSI K9NGM4-V2 motherboard.

Congratulations.

You´re the man!!!!!
JackHair
So far it's working great on my M2N32-sli deluxe wifi (nForce590sli). Installed the kext and it just worked after reboot (no unplugging powercord). Downloading xcode as I'm typing, at 1.4MB/s at 670+MB now and still no freezes, using both cores!
Many thanks eno! thumbsup_anim.gif

Edit:
Even network transfers on GB network are stable, going at about 45MB/s!! (old slow ata drive on server sad.gif)
This driver rox tongue.gif
iNoob
Working. Had to add 0x026910de to Info.plist file.
ASNNetworks
It works, but my system freezes after a while...I have the Asus P5N-D 750i nForce, with MCP51 Ethernet (0x026910de) . Is is beacuse of the LAN?

Any suggestions?
Envying
Fantastic Job, eno!!! Works perfectly on my Asus P5N-E SLi 88E1116

This post to be sticky!!!
ASNNetworks
It works, but I get a kernel panic after a while... surfed the web for 45 minutes, then I wanted to download a video, as soon as it started I got a kernel panic...When I rebooted, and opened any site, I got the kernel panic...So now I get a kernel panic just by using internet...

What should I do?
cielchan
actually those kext not really working for me,
my ethernet card was detected and i can configure it,
but the main problem is I can not connect to the internet,
if I assign the IP by DHCP, it will get 169.254.xxx.xxx and the subnet 255.255.0.0
that does not match with my router config, and still can not connect to the internet
but if I assign the IP manually, I can not connect to the internet
and the worst is I can not ping my own router.

guys, do you have solution for this??
karterilla
Eno thanks for the great job. Just a note of my installation hoping it helps to further develop the driver.
I'm on an Asus Striker II NSE (790i) with 2 0373 LAN ports and installed 0.61.2alpha.

At boot (I'm using 10.5.5. with either 9.4b1 or 9.5a8 voodoo kernel) both port are coorectly addressed and I can see both MAC adress (ie the driver is reiterated for both ports) but then only is shown in network System Preferences and only one is working.

Hope it helps in your development.
ASNNetworks
QUOTE (cielchan @ Sep 22 2008, 07:21 AM) *
actually those kext not really working for me,
my ethernet card was detected and i can configure it,
but the main problem is I can not connect to the internet,
if I assign the IP by DHCP, it will get 169.254.xxx.xxx and the subnet 255.255.0.0
that does not match with my router config, and still can not connect to the internet
but if I assign the IP manually, I can not connect to the internet
and the worst is I can not ping my own router.

guys, do you have solution for this??


Turn off you PC, remove the power cable for about 30 seconds, a little more to be sure, better yet remove the LAN cable aswell. and plug them back, power on your pc, boot into mac, and it SHOULD work smile.gif

However it gives me a kernel panic after a while...I have the P5N-D 750i nForce MoBo with the MCP51 (430i nForce Ethernet Controller)

Any suggestions?
eno
QUOTE (ASNNetworks @ Sep 22 2008, 07:44 AM) *
Turn off you PC, remove the power cable for about 30 seconds, a little more to be sure, better yet remove the LAN cable aswell. and plug them back, power on your pc, boot into mac, and it SHOULD work smile.gif

However it gives me a kernel panic after a while...I have the P5N-D 750i nForce MoBo with the MCP51 (430i nForce Ethernet Controller)

Any suggestions?


It would be great if I could see some sort of trace of the crash. Alternatively, if the driver actually spit out some messages to /var/log/system.log those will help me determine the source as well.

If you can get the computer to crash at boot again if you boot up in verbose mode (-v) you can see the last few messages.

QUOTE (cielchan @ Sep 22 2008, 05:21 AM) *
actually those kext not really working for me,
my ethernet card was detected and i can configure it,
but the main problem is I can not connect to the internet,
if I assign the IP by DHCP, it will get 169.254.xxx.xxx and the subnet 255.255.0.0
that does not match with my router config, and still can not connect to the internet
but if I assign the IP manually, I can not connect to the internet
and the worst is I can not ping my own router.

guys, do you have solution for this??


What kind of card do you have? Are the link lights on the card on? What messages do you see in your /var/log/system.log that begin with com_triton_forcedeth? If you have used the machine with linux does the card work properly?
eno
QUOTE (iNoob @ Sep 21 2008, 12:52 PM) *
Working. Had to add 0x026910de to Info.plist file.


Opps, missed that one when I updated the Info.plist. It will be in there for in next iteration.
88E1116
Thanks!!!
Darko_kun
Thanks I just need a driver for my 7950gt ad my macpro will be complete
cielchan
QUOTE (ASNNetworks @ Sep 22 2008, 04:44 PM) *
Turn off you PC, remove the power cable for about 30 seconds, a little more to be sure, better yet remove the LAN cable aswell. and plug them back, power on your pc, boot into mac, and it SHOULD work smile.gif

However it gives me a kernel panic after a while...I have the P5N-D 750i nForce MoBo with the MCP51 (430i nForce Ethernet Controller)

Any suggestions?


you totally rock!!!
i'm replying this using leopard...

but,how it work??
arifhn
works perfectly on Abit Kn9Ultra (nforce MCP 55)
thx for d great job!
sinsetrance
Hi,

I've allready downloaded the last "0.61.3alpha_osx" that's working! However only when cpus=1 otherwise it's freezing.
I've tried to add 0x026910de to Info.plist file but it doesn't changed anything.
Is anyone else has a solution ?


My config :
Asus P5n32 680i
2Go RAM
Leopard on IDE 10.5.4 (iATKOS v4)
Nvidia 8800 GT 512Mo
ASNNetworks
QUOTE (cielchan @ Sep 24 2008, 04:37 AM) *
you totally rock!!!
i'm replying this using leopard...

but,how it work??


I have no idea how and why it is like this, but it was the same issue with a different lan driver wink.gif

glad is works smile.gif
Majestus
Hey guys!! I installed the 0.61.2alpha_osx using OSX86 tools and it worked BEAUTIFULLY...UNTIL............I restarted, for some reason it stopped working, I went into system preferences and saw the the ethernet option was now saying "No Cable Connected" which was not true since it connected when I installed originally and when I run system diagnostics, Ethernet is now blurred out and I can only use Airport. Any idea what happened?? I had this working before but I don't get it to connect now for the life of me, I reinstalled Kalyway from square 1 and updated to 10.5.4 with no problems, all systems are a go with full sleep support and no cpus=1 anymore.

Any thoughts what could've happened??
toloot
Thanks man, this is working. I also needed to add 0x026910de to Info.plist file. I have not seen any crashes, i just downloaded ~700MB no crash. I will report back and let you know if I run into problems. BTW, does turning on the DEBUG flag in the Info.plist writes messages to the log? Perhaps, I should turn it on.
lord_muad_dib
uhhh what i missed... i'll try it ASAP
aakash12
THanx a lot, eno.

Due to your hardwork, I finally have internet working on my Leopard install.
Thanx, once again.

Btw, on my mobo (Asus Crosshair), 61.2 works. 61.3 did NOT work.
Darko_kun
QUOTE (Darko_kun @ Sep 24 2008, 01:43 AM) *
Thanks I just need a driver for my 7950gt ad my macpro will be complete


Well after I while I figured out that this driver is what locks up my keyboard and mouse after about 20min. Any idea why this is happening and how I could fix this?
eno
QUOTE (Darko_kun @ Sep 26 2008, 04:36 AM) *
Well after I while I figured out that this driver is what locks up my keyboard and mouse after about 20min. Any idea why this is happening and how I could fix this?


Using the on-board lan with some motherboards seems to cause an instability. I am investigating the problem but I have a feeling that a more advanced version of XNU needs to be developed before the problem will be fixed.

If you have an athlon x2 I would suggest turning off cool&quiet and getting the latest Voodoo xnu kernel. Seems to work better that way.
cabb
ok im going nuts i have an asus pn5-e and i installed this kext now i go to pref... and down to network and dont even see the ethernet at all any help
cabb
UPDATE

GREAT work man finally got it. After i beat the sh*t out of my keyboard it works great.

Only thing is it keeps locking up mouse and keyboard when im updating os.


Any help on how to fix i also tryed -v -f cpus=1 and it locks up
\

thanks
sinsetrance
Hi,
I have a p5n32 too and my kerboard and my mouse blocked when I start normally but with cpus=1 it's work.

Any suggestion to fix this cpus=1 because it's work but it's slow ?
mrgeez
Works like a charm on MSI K9N Neo F v1 onboard network, Kalyway 10.5.2, X2 3400+ without any other modification.
Downloaded 740 MB, while transferred 350MB through SMB network, absolutely no kernel panic, or other instability.
eMatoS
everytime I load the nforcelan kext the kernel_task hogs my pc, it uses +50% of the cpu constantly. I've tried without cpu optimization, it seems better but kernel_task still uses 10% of the cpu.

So, I'm back to classic forcedeth for now, but I'm willing to test anything you can tell me.
taubut
I know this is a very noob question, but I have the same problem where I need to add the 0x026910de...my problem is I'm not very sure on where to add it on the list. I see all the other numbers listed in the info.plist file but do i put it after a specific set of them?

Im sorry for the noob question, and thanks in advance for any help that is to follow.


edit
nevermind, i'm just going to try the newest ideneb v1.3 10.5.5 which seems to have the driver i need on the iso already.
pauℓzurrr.
Seems to be working great here biggrin.gif

nVidia Corporation MCP61 Ethernet [10de:03ef] (rev a2)


~p-J
ssmonarch
Work great! Thank you.

Leopard 10.5.4, nForce 4Ultra, Marvell 88E1116
KWS
First - thank you for your work, but
with 0.61.3 i got 10mps speed, with 0.61.1 and 0.61.2 100mps.
But my lan is still at 1000mps, so maybe theres a way to got it with my system??

Leo 10.5.5, xnu-kernel 9.5, Athlon x2 4200, nforce4, Abit KN8 lsi
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.