Jump to content

Driver for nForce4 LAN


  • Please log in to reply
764 replies to this topic

#61
planetbeing

planetbeing

    InsanelyMac Protégé

  • Members
  • PipPip
  • 95 posts
The error you were getting is because the driver does not come chowned to root:wheel and may not have the right permissions. Follow wkweksl's instructions.

Also, the way I make this (and every other kernel extension) load at startup is to run kextcache -k /System/Library/Extensions. This clears the extension cache, and tells OS X to recheck that folder for new extensions and load everything in there at startup.

#62
technolion

technolion

    InsanelyMac Protégé

  • Members
  • Pip
  • 47 posts
  • Location:Hamburg/Germany
Thanks so much, Planetbeing! You're tha man!
Finally I can now really work with Mac OS X!

#63
sandr

sandr

    InsanelyMac Protégé

  • Members
  • PipPip
  • 82 posts
  • Gender:Male
  • Location:Moscow, RUS
Thanks !!!!!!!!!!!!!!!!
Great work

My NForce 4 On board lan work property!!!

(MB MSI K8N Neo4)

#64
Viral

Viral

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts
just loaded mine and im posting via OSX86 on my A8N SLI Delux

#65
u1m2

u1m2

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 254 posts
great work man, you must have a very steep learning curve since there seems to be a lotta experienced programmers in these forums yet it was your determined effort that got us network/internet connection...
Congrats and Thanx again...

strike one for the good guys in green

#66
gfx

gfx

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 3 posts

The error you were getting is because the driver does not come chowned to root:wheel and may not have the right permissions. Follow wkweksl's instructions.

Also, the way I make this (and every other kernel extension) load at startup is to run kextcache -k /System/Library/Extensions. This clears the extension cache, and tells OS X to recheck that folder for new extensions and load everything in there at startup.


Thanks for the explanation, your driver works but it's slightly unstable compared to the rtl8139
card I used in the mean time. Usually when opening a site in safari or firefox deerpark with a lot of pictures
I get a black screen with the message in different languages that I have to reset the computer...
(looks like kernel crash)

#67
planetbeing

planetbeing

    InsanelyMac Protégé

  • Members
  • PipPip
  • 95 posts
I don't think I or anyone else have ever experienced a kernel panic when using the driver. Please boot up with the -v flag and try to duplicate the error so you can give me the message that actually appears.

@Thor: I'm not sure. It looks like the 10/100 PHY uses the nForce3 MAC which is all the driver should care about. I've never tested it on a nForce3, but technically, if it's not one of the more ancient flavors of nForce3, it should still work fine. Install the driver with wkweksl's instructions, except before doing anything, start a separate console window and type in "tail -f /var/log/system.log". This will give log output from the driver. I've added in every device ID the driver should handle into the kext, so if your motherboard has one of them, it should work fine out of the box. If your motherboard doesn't, then the log should say so.

#68
Veeoh

Veeoh

    Luvin' it!

  • Members
  • PipPipPipPip
  • 222 posts
yup - works for me great :( top work

#69
vaderd

vaderd

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 101 posts
@planetbeing

Thanks for your work on the LAN driver! Seems like you have some experience with (driver)-programming. Maybe you could take a look at a SATA driver for the nForce boards. The VIAATA.kext could be a good start as it partially works. Maybe by comparing it to the freebsd and linux sources one could work out the bugs. I tried myself, but gave up as I have no programming experience at all! Just a thought...

#70
Thor

Thor

    InsanelyMac Protégé

  • Members
  • PipPip
  • 80 posts

Hi and thank's planetbeing for this driver. I have some questions if somone have time.

On my Gigabyte mombo are 2 network cards, according to Gigabyte data it looks like that:
----------------------------------
Dual LAN solution with Gigabit LAN solution integrated

# Marvell 8001 Gigabit Ethernet controller
# ICS 1883 LAN PHY
-----------------------------------

Will this driver possibly work with on or the other.

If I try do I paste the driver intoo IONetworkFamily.kext ?
Thanks.


Ok after reading wkweksl post I got it to work. My NVidia lan woke up from sleep. The Marvell is still in coma.
Thank's wkweksl and last but not least, thanks planetbeing for this great driver.

:lol:

#71
planetbeing

planetbeing

    InsanelyMac Protégé

  • Members
  • PipPip
  • 95 posts

@planetbeing

Thanks for your work on the LAN driver! Seems like you have some experience with (driver)-programming. Maybe you could take a look at a SATA driver for the nForce boards. The VIAATA.kext could be a good start as it partially works. Maybe by comparing it to the freebsd and linux sources one could work out the bugs. I tried myself, but gave up as I have no programming experience at all! Just a thought...


This has been my only experience with driver programming, but now the OpenDarwin source code for AppleVIAATA is readable to me, at least. I still don't know what's precisely involved in coding a ATA driver, but the AppleVIAATA source code does look manageable. I dunno, though. If you want, you can start a new thread with bugs that the current AppleVIAATA driver has (what precisely are they?), and I could see if they are fixable.

#72
vaderd

vaderd

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 101 posts
Cool. Check out these threads: http://forum.osx86pr...showtopic=13219
http://forum.osx86pr...showtopic=11034

Good luck!

#73
myzar

myzar

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 718 posts

This has been my only experience with driver programming, but now the OpenDarwin source code for AppleVIAATA is readable to me, at least. I still don't know what's precisely involved in coding a ATA driver, but the AppleVIAATA source code does look manageable. I dunno, though. If you want, you can start a new thread with bugs that the current AppleVIAATA driver has (what precisely are they?), and I could see if they are fixable.


The main problem is prolly irq and nforce4 related when you attach more than 1 drive there's this error

IOATAController device blocking bus

I say it's nforce4 only related because i've 2 sata hds attached to my nforce3 board without problems

#74
planetbeing

planetbeing

    InsanelyMac Protégé

  • Members
  • PipPip
  • 95 posts
I see that error on my nForce4, but my two SATA hard drives work (though I have to mount the NTFS volumes manually). I'd like more details about the error, and how it's a showstopper, but I don't really want to wade through pages of forum posts. If someone can summarize, it'd be great. Also, have people tried using mount_ntfs and mounting the volumes manually? And looking at what Disk Utility says?

I looked in the source and it seems to be coming from IOATAController, which is a superclass of the main portion of the driver. The message is displayed when any type of error happens with the selectDevice function, so it could very well be a misleading error message. There are other debugging messages that can be displayed, but those are disabled. This means to diagnose the error, I'll have to recompile the driver with those debugging messages enabled. Perhaps I'll do that later, but I want to wait on some details about the error to make sure it's not a red herring.

#75
luxmen

luxmen

    InsanelyMac Protégé

  • Members
  • Pip
  • 26 posts
WORK GREAT.....

===> Thx <===

:blush:


Shuttle SN25P
NForce 4 Ultra
Geforce 7800 GTX
2 Giga
500 Go Sata
Sound Card Muse 5,1


Now All work THX THX THX :blush:

#76
letni

letni

    InsanelyMac Protégé

  • Members
  • PipPip
  • 54 posts
I have a Nforce 430 (GA-K8N51GMF-9 - socket 939 w/onboard 6100 video)motherboard with Nvidia gigabit lan. I have changed the Device ID in forcedeth.kext to match my onboard, 0x0269 and the driver loads but I have the problem where it can't send or recieve packets (gets 169.xx Address). I have included my system.log output. I do have the onboard lan hooked to a gigabit switch so it reports that properly...

Attached Files



#77
planetbeing

planetbeing

    InsanelyMac Protégé

  • Members
  • PipPip
  • 95 posts

I have a Nforce 430 (GA-K8N51GMF-9 - socket 939 w/onboard 6100 video)motherboard with Nvidia gigabit lan. I have changed the Device ID in forcedeth.kext to match my onboard, 0x0269 and the driver loads but I have the problem where it can't send or recieve packets (gets 169.xx Address). I have included my system.log output. I do have the onboard lan hooked to a gigabit switch so it reports that properly...


As far as I can make out from the Linux driver's source code, your particular device is really strange in that it... mandates? 64-bit DMA. So basically, even though all the command codes are pretty much the same, the format for the buffers that handle the packet data are completely different. It's not THAT much work to support it, so it might be in the future (like the error message says), I'm limited by the fact that if I try to add it, I'd be developing for hardware that thousands of miles away from me, so it'll be a very frustrating experience.

So you have a couple of options: Learning xcode and modify my drivers slightly so they work on your adapter, or you can wait for me to get to it, but unless a whole bunch of other people also requests it, don't hold your breath. :/

#78
letni

letni

    InsanelyMac Protégé

  • Members
  • PipPip
  • 54 posts
Thank you for your efforts, even if you don't get to implementing this specific PHY. My 3c905 card is working ok for the time being. I would eventually like to get rid of the card and use the onboard.. so I guess one day when I get the opportunity I'll see about modifying your code..

#79
Renard45

Renard45

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 277 posts
it's works fine for me very good job :D

#80
malti

malti

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 1 posts
I get an error that says something about the superclass. I have a gigabit lan that says its Nvidia 4 and its on a ASUS A8N5X ATX AMD Motherboard - Retail mobo





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy