Help - Search - Members - Calendar
Full Version: Driver for nForce4 LAN
InsanelyMac Forum > OSx86 Project > Hardware and Drivers > LAN and Wireless
Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
beed
works nice!
audit
Hey,

I loaded the module and everything loads fine. However i get nothing in the logs besides for the sudo messages.

SSo i don't really have any logs to post?

Any ideas?
monsieur D
QUOTE(audit @ Nov 15 2007, 02:42 PM) *
Hey,

I loaded the module and everything loads fine. However i get nothing in the logs besides for the sudo messages.

SSo i don't really have any logs to post?

Any ideas?



Audit: Please be more specific, it is very difficult to say something about your problem without knowing the following:

- Your DEVICE ID (and more details about your motherboard);
- Which module you loaded (in this thread there are a few for download);
- Do you get a MAC address? What about PHY?
- Did you set your DHCP to "DHCP with manual address"?
- Did you disable IPv6?
- Did you turn off the computer and disconnect the power cable for 30 seconds before trying again?

After checking the points above, please post the info and we may be able to help.

Cheers,
D.
audit
Thanks, I have the same problem that is faced by, fibblescan and Mr. Bond

- Your DEVICE ID (and more details about your motherboard);
--> I have a XFX 650i Ultra Motherbaord.

- Which module you loaded (in this thread there are a few for download);
--> I used the download attachment in the first post of this thread, I believe that is the latest, please link me if I am wrong.

- Do you get a MAC address? What about PHY?
--> No, it does not even show a Ethernet adapter detected so there is no chance for a mac address to be shown or naything else.

- Did you set your DHCP to "DHCP with manual address"?
--> Again, no ethernet adapter detected so no where to select anything.

- Did you disable IPv6?
--> Same as above.

- Did you turn off the computer and disconnect the power cable for 30 seconds before trying again?
--> Yes, no luck.


To clarify let me explain what is happening in my case.

I load the driver with the exact commands and instructions shown in the post. The driver loads without any error, however the log window ONLY shows the sudo commands being executed and nothing what so ever about the ethernet card or the driver.

Thats it, I don't get a ethernet driver detected, anything. The system seems to not change at all what so ever.
monsieur D
QUOTE(audit @ Nov 16 2007, 01:52 PM) *
Thanks, I have the same problem that is faced by, fibblescan and Mr. Bond

- Your DEVICE ID (and more details about your motherboard);
--> I have a XFX 650i Ultra Motherbaord.

- Which module you loaded (in this thread there are a few for download);
--> I used the download attachment in the first post of this thread, I believe that is the latest, please link me if I am wrong.

- Do you get a MAC address? What about PHY?
--> No, it does not even show a Ethernet adapter detected so there is no chance for a mac address to be shown or naything else.

- Did you set your DHCP to "DHCP with manual address"?
--> Again, no ethernet adapter detected so no where to select anything.

- Did you disable IPv6?
--> Same as above.

- Did you turn off the computer and disconnect the power cable for 30 seconds before trying again?
--> Yes, no luck.


To clarify let me explain what is happening in my case.

I load the driver with the exact commands and instructions shown in the post. The driver loads without any error, however the log window ONLY shows the sudo commands being executed and nothing what so ever about the ethernet card or the driver.

Thats it, I don't get a ethernet driver detected, anything. The system seems to not change at all what so ever.


Ok. So your chipset is nForce 650i ultra.

Using the package you downloaded and assuming you extracted the contents to your Desktop, do the following:

CODE

cd ~/Desktop/forcedeth/build/Release
sudo chown -R root:wheel forcedeth-nockd.kext
sudo chmod -R 755 forcedeth-nockd.kext
sudo kextload -v forcedeth-nockd.kext

Please report what happens.
alx5962
QUOTE(MeDevil @ Oct 28 2007, 12:02 PM) *
Hi, for those who, like me, got an mcp61 eth (0x03EF/0x10DE) and can't get it to work, i've patched the original forcedeth source code to correctly grep mac address from the card. Also, i've changed some code in order to get the eth working without cold/soft boot, re-boot in linux, windows etc. I'm sure this WORK on an ASRock 939NF6G-VSTA motherboard.
In the attachment there is the source code and in the Build/Debug/ you should find the forcedeth-nockd.kext ready for use (well, you should change ownership and permission, but that is common routine tongue.gif )

Note: code is a real mess censored2.gif . Clean-up & update to the latest version is needed.

Regards, Domenico.


Hi thank you for the hard work !
So only forcedeth-nockd.kext is working in the /Build/Debug/ for the mcp61 ? There's tons of files and i'm not really sure if this is the correct one....
Also, could you add 0x03EF10DE in the IOPCIPrimaryMatch tag in the next release please ?

Thanks

Alex
-aKy-
weird problem: im using forcedeth.kext from post #1, leo boots, card is recognized and i can browse websites, so everything seems to work. but when i've got more traffic the system freezes - 'you have to restart your computer'. Anyone had similar problems or a fix for that? specs in my sig.
 Mysticus C*
hey there guys, thanx for efforts on the driver... just couple of questions...

i have asus p5n32-e sli mobo nforce 680i chipset...
dual nvidia gigabit lans.... 037310de and forcedeth finds them both but says they dont known to work, and in network settings, i can see the mac addresses but cant work, saying cable is not connected ... means it s not working i beleive... is there any work 0373? or anyway to make it work?

thanx in advance for any help...
MeDevil
QUOTE(alx5962 @ Nov 17 2007, 02:03 PM) *
Hi thank you for the hard work !
So only forcedeth-nockd.kext is working in the /Build/Debug/ for the mcp61 ? There's tons of files and i'm not really sure if this is the correct one....

Yes, just pick the forcedeth-nockd.kext file.

QUOTE(alx5962 @ Nov 17 2007, 02:03 PM) *
Also, could you add 0x03EF10DE in the IOPCIPrimaryMatch tag in the next release please ?

Thanks

Alex

Mine was just a temoprary fix to get my eth working, i'm not planning to work on the forcedeth driver, sorry tongue.gif
(I don't know if i am correct, but i think that monsieur D should be working on this driver...)

QUOTE(-aKy- @ Nov 20 2007, 01:00 AM) *
weird problem: im using forcedeth.kext from post #1, leo boots, card is recognized and i can browse websites, so everything seems to work. but when i've got more traffic the system freezes - 'you have to restart your computer'. Anyone had similar problems or a fix for that? specs in my sig.


Yes, i've noticed this issue too. However, this happens only in leopard. Imho, the driver should be:
1) updated with the latest linux forcedeth changes.
2) rewrited by using the nve freebsd code as a base (note: this isn't "porting" the driver, but write a new one!)

Both ways can be done, and although the second seems a little "crazy" i think that should be the best way to have a perfectly working driver...
I'll try the second way in my spare time, but my primary focus remains on fixing the nforce sata chipset driver, so don't count on it...

Regards, Domenico.
tomnic
QUOTE(monsieur D @ Nov 2 2007, 12:20 AM) *
@tomnic: Please, let us know what hardware you're using and what version of Leopard.

Thanks.

D.


ASRock 939NF6G-VSTA, nForce 430 (MCP61), Leopard Gold + personalized brazilmac patch (working on an italian iso...).
Objection
QUOTE(Mysticus @ Nov 20 2007, 01:16 AM) *
hey there guys, thanx for efforts on the driver... just couple of questions...

i have asus p5n32-e sli mobo nforce 680i chipset...
dual nvidia gigabit lans.... 037310de and forcedeth finds them both but says they dont known to work, and in network settings, i can see the mac addresses but cant work, saying cable is not connected ... means it s not working i beleive... is there any work 0373? or anyway to make it work?

thanx in advance for any help...


Same thing happens here: EVGA 680i SLi
MikeInNs
QUOTE(Mysticus @ Nov 20 2007, 05:16 AM) *
hey there guys, thanx for efforts on the driver... just couple of questions...

i have asus p5n32-e sli mobo nforce 680i chipset...
dual nvidia gigabit lans.... 037310de and forcedeth finds them both but says they dont known to work, and in network settings, i can see the mac addresses but cant work, saying cable is not connected ... means it s not working i beleive... is there any work 0373? or anyway to make it work?

thanx in advance for any help...


Currently I am working on getting the nForce 680 chipset to work (Marvell 88E1116, 0373).
Using the linux source code provided by nVidia and the some of the Forcedeth source code I ended up with a working driver for this platform. I still need to tie up some lose ends but I will post the driver shortly. (prob. this weekend...)
Remember though that it's still very buggy!

Cheers! smile.gif
Objection
QUOTE(MikeInNs @ Nov 23 2007, 07:31 AM) *
Currently I am working on getting the nForce 680 chipset to work (Marvell 88E1116, 0373).
Using the linux source code provided by nVidia and the some of the Forcedeth source code I ended up with a working driver for this platform. I still need to tie up some lose ends but I will post the driver shortly. (prob. this weekend...)
Remember though that it's still very buggy!

Cheers! smile.gif


Oh god thank you. I've had awful luck with third party NICs and USB adapters and junk. It would be awesome if I could get (even a buggy) work around. I'm more than happy to beta test for you smile.gif

Currently I'm getting internet through firewire sharing from my MacBook =P
MikeInNs
Ok, driver for Marvell 88E1116 posted here: http://forum.insanelymac.com/index.php?sho...mp;#entry518000

Good luck, hope it works for you!

(this is not the forcedeth driver, so if the forcedeth works for you, stick with it. Although the framework of the forcedeth driver is used but it is specifically designed for the 88E1116 chipset using the nVidia documentation and source code)

Mike.
petrakito
Hello,

I have nForce 430 (Device ID 0269) on Asus M2NPV-VM and it doesn't work. sad.gif I tried most of the drivers from the forum. The forcedeth.kext (and all variations of it) loads successfully, detects the MAC address, but says "Network link down" and the light on the LAN port turns off. The last kext I tried was forcedeth_nock_fixed.zip.

Here's my config: "tubgirl 10.4.10 for AMD with SSE3" running on

MB: M2NPV-VM (with built-in LAN and GPU)
CPU: Athlon 64 X2 3800+ (working, dual-core detected)
GPU: GeForce 6150
LAN: nForce 430 Gigabit MAC with external Marvell PHY (NOT WORKING!!!)

Has anybody succeeded to make this onboard LAN of this motherboard work? I would greatly appreciate any help! smile.gif
Thank you!
petrakito
QUOTE(petrakito @ Nov 26 2007, 01:33 AM) *
Hello,

I have nForce 430 (Device ID 0269) on Asus M2NPV-VM and it doesn't work. sad.gif I tried most of the drivers from the forum. The forcedeth.kext (and all variations of it) loads successfully, detects the MAC address, but says "Network link down" and the light on the LAN port turns off. The last kext I tried was forcedeth_nock_fixed.zip.

Here's my config: "tubgirl 10.4.10 for AMD with SSE3" running on

MB: M2NPV-VM (with built-in LAN and GPU)
CPU: Athlon 64 X2 3800+ (working, dual-core detected)
GPU: GeForce 6150
LAN: nForce 430 Gigabit MAC with external Marvell PHY (NOT WORKING!!!)

Has anybody succeeded to make this onboard LAN of this motherboard work? I would greatly appreciate any help! smile.gif
Thank you!


Success report!!! thumbsup_anim.gif
I got my nForce 430 WORKING!!! (Device ID 0269 on Asus M2NPV-VM)
Thanks to MikeInNs and his driver (called nForceEthernetController.kext), now it's working perfectly with the onboard LAN.
For all of you who have the same motherboard M2NPV-VM, try using the driver from MikeInNs's forum here:

http://forum.insanelymac.com/index.php?sho...mp;#entry518000

In my case, I only had to change the Device ID to mine (0x026910DE) in the file Info.plist, and after turning the PC off for a minute without power supply when I rebooted - the LAN was ON and working!
I am so happy!! After a week of trying so many drivers and settings, finally the onboard LAN works!
I believe MikeInNs will update the source code of the driver with my device ID soon, so that you can use it directly without modification.

Thank you, MikeInNs! thumbsup_anim.gif

And good luck to the others with the same motherboard M2NPV-VM,
Petrakito.
Objection
Reporting similar success here, though I already did in MikeInN's thread as well.
matasbbb
He my compiuter freezes after browsing in internet ? how i can solve problem?

SSE2 amd +3000 x64
nforce 4 (NEO3)
uphuck 10.4.9 v1.4a

?
fragreaver
Same problem here. System specs are in the sig biggrin.gif
d0th3do
does this work for nforce 3? i have tried using the the forcedeth driver install in terminal and it did not work. i have an nvidia nforce3 10/100 ethernet chipset when i did install it the entire computer froze and i could only move my mouse. any help would be very nice.
smc90
Wait...does this driver give OS X support for SLI? That would be sweet! thumbsup_anim.gif
quitte
This driver works for 630a/7050 chipsets,too. please add the 0562 pci id. Thanks for porting it.
smc90: forcedeth is an ethernet driver.
Shiftedx
Hey guys I just got Leopard working except for my internet and audio so I'm looking to get it running I know I have nforce lan my chipset is 410/430 here is my log from my failed attempt at installing the newest version of this kext.
CODE
Dec 3 23:45:48 Macintosh kernel[0]: CODE SIGNING: cs_invalid_page: p=365[update_dyld_shar] clearing CS_VALID

Dec 3 23:46:12 Macintosh login[366]: USER_PROCESS: 366 ttys000

Dec 3 23:46:21 Macintosh kernel[0]: CODE SIGNING: cs_invalid_page: p=377[lssave] clearing CS_VALID

Dec 3 23:46:47 Macintosh com.apple.launchd[1] (com.apple.dyld): Throttling respawn: Will start in 60 seconds

Dec 3 23:46:48 Macintosh kernel[0]: CODE SIGNING: cs_invalid_page: p=379[update_dyld_shar] clearing CS_VALID

Dec 3 23:47:47 Macintosh com.apple.launchd[1] (com.apple.dyld): Throttling respawn: Will start in 60 seconds

Dec 3 23:47:48 Macintosh kernel[0]: CODE SIGNING: cs_invalid_page: p=380[update_dyld_shar] clearing CS_VALID

Dec 3 23:48:01 Macintosh kernel[0]: CODE SIGNING: cs_invalid_page: p=383[lssave] clearing CS_VALID

Dec 3 23:48:47 Macintosh com.apple.launchd[1] (com.apple.dyld): Throttling respawn: Will start in 60 seconds

Dec 3 23:48:48 Macintosh kernel[0]: CODE SIGNING: cs_invalid_page: p=384[update_dyld_shar] clearing CS_VALID

Dec 3 23:49:47 Macintosh com.apple.launchd[1] (com.apple.dyld): Throttling respawn: Will start in 60 seconds

Dec 3 23:49:48 Macintosh kernel[0]: CODE SIGNING: cs_invalid_page: p=386[update_dyld_shar] clearing CS_VALID

Dec 3 23:50:04 Macintosh login[388]: USER_PROCESS: 388 ttys001

Dec 3 23:50:32 Macintosh sudo[398]: kylemcdowell : TTY=ttys001 ; PWD=/Users/kylemcdowell/Desktop/forcedeth/build/Release ; USER=root ; COMMAND=/usr/sbin/chown -R root:wheel forcedeth.kext

Dec 3 23:50:33 Macintosh kernel[0]: CODE SIGNING: cs_invalid_page: p=399[mdworker] clearing CS_VALID

Dec 3 23:50:42 Macintosh sudo[400]: kylemcdowell : TTY=ttys001 ; PWD=/Users/kylemcdowell/Desktop/forcedeth/build/Release ; USER=root ; COMMAND=/bin/chmod -R 755 forcedeth.kext

Dec 3 23:50:47 Macintosh com.apple.launchd[1] (com.apple.dyld): Throttling respawn: Will start in 60 seconds

Dec 3 23:50:48 Macintosh kernel[0]: CODE SIGNING: cs_invalid_page: p=401[update_dyld_shar] clearing CS_VALID

Dec 3 23:50:52 Macintosh sudo[402]: kylemcdowell : TTY=ttys001 ; PWD=/Users/kylemcdowell/Desktop/forcedeth/build/Release ; USER=root ; COMMAND=/sbin/kextload -v forcedeth.kext

Dec 3 23:51:47 Macintosh com.apple.launchd[1] (com.apple.dyld): Throttling respawn: Will start in 60 seconds

Dec 3 23:51:48 Macintosh kernel[0]: CODE SIGNING: cs_invalid_page: p=403[update_dyld_shar] clearing CS_VALID

Dec 3 23:52:47 Macintosh com.apple.launchd[1] (com.apple.dyld): Throttling respawn: Will start in 60 seconds

Dec 3 23:52:48 Macintosh kernel[0]: CODE SIGNING: cs_invalid_page: p=407[update_dyld_shar] clearing CS_VALID

Dec 3 23:53:18 Macintosh com.apple.launchd[133] (com.apple.NetworkDiagnostics[409]): Check-in of Mach service failed. Already active: com.apple.NetworkDiagnostic.agent

Dec 3 23:53:47 Macintosh com.apple.launchd[1] (com.apple.dyld): Throttling respawn: Will start in 60 seconds

Dec 3 23:53:48 Macintosh kernel[0]: CODE SIGNING: cs_invalid_page: p=410[update_dyld_shar] clearing CS_VALID

Dec 3 23:54:02 Macintosh Terminal[345]: *** -[NSCFString characterAtIndex:]: Range or index out of bounds

Dec 3 23:54:18: --- last message repeated 6 times ---

Dec 3 23:54:18 Macintosh login[388]: DEAD_PROCESS: 388 ttys001



If anyone could tell me how to edit this driver with my own device codes or however it is I would really appreciate it I'm dying to run Leopard.
Colonel
QUOTE(-aKy- @ Nov 19 2007, 07:46 PM) *
weird problem: im using forcedeth.kext from post #1, leo boots, card is recognized and i can browse websites, so everything seems to work. but when i've got more traffic the system freezes - 'you have to restart your computer'. Anyone had similar problems or a fix for that? specs in my sig.

QUOTE(matasbbb @ Nov 29 2007, 03:55 AM) *
He my compiuter freezes after browsing in internet ? how i can solve problem?

SSE2 amd +3000 x64
nforce 4 (NEO3)
uphuck 10.4.9 v1.4a

?

Same problem here. If anyone comes up with a solution, please share. unsure.gif
Arun M
Thank you for Planetbeing, Puppydawg and Aein. Really you people have done a tremendous job to get rid of 169 IP problem.

* I saw the post mentioning to power OFF for 30 secs. But didn't get a clue to power OFF what. So powered OFF the router for 30 secs by mistake tongue.gif

* Then came to the understading and powered down my PC. Unplugged the power cable of my PC. Waited for 30 secs. Then plugged it back in.

It worked. Hurray.... biggrin.gif

I uploaded the ZIP file to which I used to force my LAN.

Steps that I followed.

* Copied the forcedeth-nockd from the zip file. Dragged it to /System?Library/Extension
* It asked me for authentication, so gave the password which I had set for my username
* Opened a terminal and then did this command - cd /volumes/Leopard/System/Library/Extensions
* Then this command - sudo -s
* Then entered the PWD
* Then did this command - " chmod -R 755 * && chown -R root:wheel *
* Then navigated to /volumes/Leopard/System/Library/Extensions using finder and deleted Extensions.mkext
* Then powered down my Hackintosh
* Plugged out the power cable of my PC, waited for 30 secs to avoid 169 allocation by DHCP
* Plugged the powercable back to the PC
* Entered the boot string as -f -v -legacy
* After doing this I had to force the IP address for my PC in "network" under "system preferences"
* Then clicked on Assist Me on the same window. Then clicked on Diagnostics and found that the internet is up
* Then opened Safari and I am having a go and pasting these notes for any assistance if it could


My mobo is K8NGM2-L
1280 MB DDR 333 MHZ
250 GB IDE - Secondary with Leo and Tiger on it
80 GB IDE with Windows XP on it
AMD 64 Athlon 3000+ (Venice)
Colonel
Arun M, is your devID 0269?

Anyone else having OS X panic whenever you're using high amounts of bandwidth while using the forcedeth driver?
hudson
I have Epox 8KDA (nForce3 250), sempron 3100 (SSE2) and uphuck_10.4.9_v1.4a installed.

And i have some troubles with network access (i have simple ethernet connection with manual configuration). When i try to configure my ethernet connection, OS hangs (i can move cursor but this is all whan i can). forcedeth does not fix this trouble.

Plaese look at my logs:

QUOTE
Dec 9 22:10:08 vs-computer sudo: hudson : TTY=ttyp2 ; PWD=/Users/hudson/Desktop/forcedeth/build/Release ; USER=root ; COMMAND=/sbin/kextload -v forcedeth.kext
Dec 9 22:10:12 vs-computer /System/Library/CoreServices/mcxd.app/Contents/MacOS/mcxd: MCXD.initializeDirectoryServices: Unable to get the ethernet address
Dec 9 22:10:20 vs-computer kernel[0]: MMAC: family specific matching fails
Dec 9 22:10:20 vs-computer kernel[0]: forcedeth: Initializing.
Dec 9 22:10:20 vs-computer kernel[0]: forcedeth: Probing.
Dec 9 22:10:20 vs-computer kernel[0]: forcedeth: Starting.
Dec 9 22:10:20 vs-computer kernel[0]: forcedeth: PCI system 0x10DE:0x00DF, subsystem 0x1695:0x100C opened.
Dec 9 22:10:20 vs-computer kernel[0]: forcedeth: Mapped from 0xEA001000 of length 4096.
Dec 9 22:10:20 vs-computer kernel[0]: forcedeth: Allocated 3072 bytes of contiguous memory for DMA: rx at 0x23d6e000, tx at 0x23d6e400, wired at 0xc011000.
Dec 9 22:10:20 vs-computer kernel[0]: forcedeth: Found nForce4 LAN with MAC: 00:04:61:78:D5:18.
Dec 9 22:10:20 vs-computer kernel[0]: forcedeth: Found PHY 0x0000:0x0020 at address 1.
Dec 9 22:10:20 vs-computer kernel[0]: com_triton_forcedeth: Ethernet address 00:04:61:78:d5:18

===============

vs-computer:~/Desktop/forcedeth/build/Release root# ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
inet 127.0.0.1 netmask 0xff000000
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
en2: flags=8822<BROADCAST,SMART,SIMPLEX,MULTICAST> mtu 1500
ether 00:04:61:78:d5:18
media: autoselect (<unknown type>)
supported media: autoselect 10baseT/UTP <half-duplex> 10baseT/UTP <full-duplex> 100baseTX <full-duplex> 100baseTX <half-duplex>
ROFISH
I found a temporary solution to Leopard's Kernel Panicing!

I have a DFI LanParty nForce4-Ultra. forcedeth always wants to kernel panic whenever I'm under high bandwidth. If you kextunload and kextload forcedeth right after boot in terminal, it will be a lot stabler. For me, it's the only way to connect to my laptop. It's not 100% guaranteed, but I've managed to go a lot further.
riot
+1 for freezing with high internet traffic. very annoying!
riot
+1 for freezing with high internet traffic. very annoying!
ZgSTar
Hello Guys, if share the pain is something you fency, I am also expriencing crashes with high bendwidth usage.
I have an Asus a8n-sli and forcedeth drivers...

Did anyone solve it?


Thanks a lot,
ZgSTar
riot
well i didnt think it would work, but i did what ROFISH said and right after boot did a kextunload, then kextload for forcedeth and it hasnt frozen yet... im going to put together a simple script to run on launch
WillTurner
is this driver made for tiger or leopard? i tried it for leopard and i got a message saying the device was blocked or something..
Hackintosh2
+1 SAME Problem, OS X simply freezes while downloading files or doing anything high bandwith with the connection.

We seriously need a fix for this issue!
Hackintosh2
Anyone knows a Fix for this annoying Error?

Please help us if you can!
Hackintosh2
Nobody knows a solution? This is annoying, especially if everything else of the system is running perfectly nice..
demonfox13x
try running on one core, this might be a multithreading problem

cpus=1 on boot
planetbeing
QUOTE(demonfox13x @ Dec 16 2007, 07:15 PM) *
try running on one core, this might be a multithreading problem

cpus=1 on boot


That's probably it. When I wrote the code, I had a very naive understanding of mutexs and the spinlocks I used were really not appropriate. A rewrite is necessary, but I have not had the time nor the inclination for the last couple of years. I'm considering rewriting it in the spring, when I have to connect through ethernet again (right now, I'm on wireless), but I may not get to it. Sorry for the folks who depend on the whims of driver writers. :/

EDIT: Actually, just read my code again: CPUS=1 probably would not help. I basically didn't lock where I should, and rapid firing of interrupts (for example when there's high network activity) causes the code to munge itself. From the commented out locks, I obviously had tried to put in spinlocks before, but that kind of lock would've failed comically.

The upshot is, I think I can fix this pretty quickly, and if someone would care to link me to the most current version of the code people have been using, I can fix it.
demonfox13x
ive been using MikeInNs driver i think its based on the forcedeth driver and it has the same freezing problems where all the USB devices stop working. Here is the thread:

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


so far i havent gotten any freezes when i use cpus=1, but when booting with all cores enabled i freeze when downloading larger files.
planetbeing
QUOTE(demonfox13x @ Dec 19 2007, 04:22 PM) *
ive been using MikeInNs driver i think its based on the forcedeth driver and it has the same freezing problems where all the USB devices stop working. Here is the thread:

http://forum.insanelymac.com/index.php?showtopic=73317
so far i havent gotten any freezes when i use cpus=1, but when booting with all cores enabled i freeze when downloading larger files.


That one's for the Marvell controller which is not appropriate for many of the other onboard nForce NICs. Did anyone modify this driver for nForce boards?
kaid
Hey guys!
I have the same problem as "Audit" (see Page 21): I did everything according to the steps in Posting 1, and forcedeth seems to load fine, but all I get is the chown/chmod/kextload commands in the system log, nothing else.
I also don't get the log that is posted on Page 1 (though that might be outdated with current versions now) upon kextloading forcedeth, all i get is this:

forcedeth.kext appears to be valid
loading extension forcedeth.kext
forcedeth.kext loaded successfully
loading personalities named:
nForce 4 LAN
sending 1 personality to the kernel
matching started for forcedeth.kext

No Ethernet shows up in the Network panel and ifconfig doesn't change a bit, no enX interfaces!.. 8(

I noticed that forcedeth.kext does show up in the Extensions in the System Profiler, but forcedeth-nockd.kext does not...

I have an Asus A8N-E with an nForce 4 Ultra chipset, an Athlon64 3500+ (Venice) with a beautiful fanless Geforce 7600GT, running a freshly installed, totally unmodified Jas 10.4.8... plz he;lp! ;-D

P.S: Just in case someone can help me out (or give me a pointer) on the other issues I have:
1) "About this Mac" crashes pretty much everytime I try to show it. I've heard paulicat made an AppleSMBios.kext that's supposed to fix this, but the download link from http://paulicat.freeflux.net/blog/archive/2006/11/ is dead.
2) Lineout and linein seem to work, but is there any way to get the 8-channel output running? I do know OS X supports PCM-Multichannel-output, it works without drivers with all USB-5.1 devices..
3) Not THAT important, but did anyone try to get SP/DIF to work? 8)
4) Sleep and reboot do not work. This seems to require some heavy trial-and-error on kernels, anyone with an A8N-E that could give me some pointers? 8)
kaid
Okay, please shoot me! 8)
I was given the MoBo by a guy who ran osx86 on it before, but he hadn't installed forcedeth (it wasn't available or stable enough back then!), so he disabled LAN in the BIOS! ;-)
I've enabled it now and it all works like a charm just according to the instructions on page 1, thank you so much for forcedeth! Hooray, GBit-EN works! 8)
However, the other problems mentioned persist..
Colonel
QUOTE(planetbeing @ Dec 20 2007, 04:15 AM) *
That one's for the Marvell controller which is not appropriate for many of the other onboard nForce NICs. Did anyone modify this driver for nForce boards?

I made a special version for cards with the 0269 dev ID, but other than that, I'm not sure if there have been any other modifications to the driver...

EDIT: I wrote up a quick shell script that will unload and reload forcedeth or forcedeth-nockd.kext to help with the driver and Leopard's stability. The first one is for forcedeth-nockd and the second one is for regular forcedeth.

planetbeing
I think I have a quick fix for this issue. I did some more research and the problem is a bit different than I had originally thought. It turned out that I did serialize interrupts with IOWorkLoop, but I did not serialize the transmission of the packets. The rest of the commands ought to be thread-safe as well, since they should be automatically serialized via a IOCommandGate on the provider's IOWorkLoop.

The fix ought to be as simple as using an IOGatedOutputQueue instead of an IOBasicOutputQueue for the output packet queue. This should be the only change that is needed.

Also, I don't see the need to disable interrupts in doNicPoll since everything is explicitly serialized, so that ought to be removed as well.

I will compile a version later this afternoon, but I'll need testers to pound the crap out of the driver, since I currently use a wireless connection, not the ethernet nic.
Colonel
QUOTE(planetbeing @ Dec 20 2007, 06:07 PM) *
I will compile a version later this afternoon, but I'll need testers to pound the crap out of the driver, since I currently use a wireless connection, not the ethernet nic.

I use ethernet. rolleyes.gif
planetbeing
Here's the new version. Hopefully it does the trick. I'd appreciate testers.
Colonel
QUOTE(planetbeing @ Dec 20 2007, 07:11 PM) *
Here's the new version. Hopefully it does the trick. I'd appreciate testers.

Forcedeth.kext makes OS X panic and forcedeth-nockd.kext does nothing. sad.gif
planetbeing
QUOTE(Colonel @ Dec 20 2007, 08:01 PM) *
Forcedeth.kext makes OS X panic and forcedeth-nockd.kext does nothing. sad.gif


I compiled on Leopard, so that may be the problem. When does the kernel panic happen? What does "nothing" mean?
Colonel
QUOTE(planetbeing @ Dec 20 2007, 08:10 PM) *
I compiled on Leopard, so that may be the problem. When does the kernel panic happen? What does "nothing" mean?

Compiling on Leopard would cause the problem?

I added my devID to forcedeth-nockd, but System Preferences doesnt see a network connection.
Forcedeth makes OS X panic.



It seems like OS X is automatically unloading the kext a few seconds after I load it..
planetbeing
sudo dmesg
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.