Jump to content
765 posts in this topic

Recommended Posts

Well guys I have read all the 3d but I couldn't find a solution. This is the log of the operation. My hardware is in the signature. Thanks to all. Hope u can help me.

 

kernel[0]: forcedeth: Initializing.

 

kernel[0]: forcedeth: Probing.

 

kernel[0]: forcedeth: Starting.

 

kernel[0]: forcedeth: PCI system 0x10DE:0x0057, subsystem 0x1043:0x812A opened.

 

kernel[0]: forcedeth: Mapped from 0xFE02A000 of length 4096.

 

kernel[0]: forcedeth: Allocated 3072 bytes of contiguous memory for DMA: rx at 0x3b68b000, tx at 0x3b68b400, wired at 0x12f46000.

 

kernel[0]: forcedeth: Found nForce4 LAN with MAC: 00:1B:FC:36:84:E3.

 

kernel[0]: forcedeth: Could not find a valid PHY.

 

kernel[0]: forcedeth: Stopping

 

 

Why the hell couldn't it find a valid PHY??? It's driving me crazy

@MeDevil: thanks for the heads up. I wish you did that 2 days ago :D Anyway, could you point me to what methods are responsible for the boot thing? I never had that problem, but since I am using this driver and had also produced my own "flavor" of it (to solve the backwards MAC problem), I'd like to know. Also, to avoid confusion, maybe we should only have one version of this driver (I don't mind removing mine from the thread)...

@MeDevil: thanks for the heads up. I wish you did that 2 days ago :wallbash: Anyway, could you point me to what methods are responsible for the boot thing? I never had that problem, but since I am using this driver and had also produced my own "flavor" of it (to solve the backwards MAC problem), I'd like to know. Also, to avoid confusion, maybe we should only have one version of this driver (I don't mind removing mine from the thread)...

 

The source code is attached in my previous post.

Following, a list of change i've made to the original source code (the one in the first page of the post):

 

		 int memSize = NV_PCI_REGSZ;
	   if (deviceID == 0x03EF)
		   memSize = NV_PCI_REGSZ_VER3;

	   memCount = device->getDeviceMemoryCount();

	   for( i = 0; i < <b>memCount</b>; i++ ) {
		   mem = device->getDeviceMemoryWithIndex(i);

		   if( mem->getLength() >= memSize ) {

(file: forcedeth.cpp, line: 998)

 

		   if (deviceID == 0x03EF)
	   {
		   /* mac address is already in correct order */
		   macAddr.bytes[0] = (origMac[0] >> 0) & 0xff;
		   macAddr.bytes[1] = (origMac[0] >> 8) & 0xff;
		   macAddr.bytes[2] = (origMac[0] >> 16) & 0xff;
		   macAddr.bytes[3] = (origMac[0] >> 24) & 0xff;
		   macAddr.bytes[4] = (origMac[1] >> 0) & 0xff;
		   macAddr.bytes[5] = (origMac[1] >> 8) & 0xff;
	   }
	   else
	   {
		   macAddr.bytes[0] = (origMac[1] >> 8) & 0xff;
		   macAddr.bytes[1] = (origMac[1] >> 0) & 0xff;
		   macAddr.bytes[2] = (origMac[0] >> 24) & 0xff;
		   macAddr.bytes[3] = (origMac[0] >> 16) & 0xff;
		   macAddr.bytes[4] = (origMac[0] >> 8) & 0xff;
		   macAddr.bytes[5] = (origMac[0] >> 0) & 0xff;
	   }

(file: forcedeth.cpp, line: 1046)

 

		   wolEnabled = false;

	   if (deviceID == 0x03EF) 
	   {
		   /* take phy and nic out of low power mode */
		   int powerstate = readRegister(NvRegPowerState2);
		   powerstate &= ~NVREG_POWERSTATE2_POWERUP_MASK;
		   writeRegister(NvRegPowerState2, (UInt32) powerstate);
	   }

	   txFlags = NV_TX2_VALID;

(file: forcedeth.cpp, line: 1086)

 

   #define NVREG_POWERSTATE_D3			 0x0003

   NvRegPowerState2 = 0x600,
  #define NVREG_POWERSTATE2_POWERUP_MASK		0x0F11
  #define NVREG_POWERSTATE2_POWERUP_REV_A3	0x0001

(file: forcedeth.h, line: 187)

 

Also, i should notice you that i never got any kextd to work... (but i think that this is related to the powerstate...).

I'll be very happy if you take these mods and merge them into a future release of the forcedeth driver.

I just had to get my nic working asap (beacuse i didn't had a secondary pci eth) so i can concentrate on other projects ;)

 

A final note: i used my device id to enable the nic, but other nforce nic uses the same powerstate method. A further look into the linux forcedeth driver can help you to understand what i mean :help:

 

Best regards, Domenico.

I hope someone can help me here, here's what happens when I try to use ANY version of the drivers found on this thread (I've spent 2 hours reading over everything here... :()

 

I have a single ethernet port built into my logic board, nforce4 chipset, forcedeth works awesome in linux of course, as well as in windows... I'm running tubgirl 10.4.10 on amd, with sse3.

 

Here's what I get:

 

sudo kextload -v forcedeth.kext:

kextload: kext /System/Library/Extensions/AppleThermal.kext is not valid
kextload: extension forcedeth.kext appears to be valid
kextload: loading extension forcedeth.kext
kextload: forcedeth.kext loaded successfully
kextload: loading personalities named:
kextload:     nForce 4 LAN
kextload: sending 1 personality to the kernel
kextload: matching started for forcedeth.kext

 

tail -f /var/log/system.log:

Oct 28 19:42:15 orions-computer kernel[0]: MMAC: family specific matching fails
 Oct 28 19:42:15 orions-computer kernel[0]: forcedeth: Initializing.
 Oct 28 19:42:15 orions-computer kernel[0]: forcedeth: Probing.
 Oct 28 19:42:15 orions-computer kernel[0]: forcedeth: Starting.
 Oct 28 19:42:15 orions-computer kernel[0]: forcedeth: PCI system 0x10DE:0x0057, subsystem 0x1043:0x812A opened.
 Oct 28 19:42:15 orions-computer kernel[0]: forcedeth: Mapped from 0xFE02A000 of length 4096.
Oct 28 19:42:15 orions-computer kernel[0]: forcedeth: Allocated 3072 bytes of contiguous memory for DMA: rx at 0x29be4000, tx at 0x29be4400, wired at 0x58a6000.
 Oct 28 19:42:15 orions-computer kernel[0]: forcedeth: Found nForce4 LAN with MAC: 00:17:31:50:38:55.
 Oct 28 19:42:15 orions-computer kernel[0]: forcedeth: Could not find a valid PHY.
 Oct 28 19:42:15 orions-computer kernel[0]: forcedeth: Stopping

 

system profiler:

Hardware Overview:

   Machine Name:    Mac
   Machine Model:    ACPI
   CPU Type:    AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
   Number Of CPUs:    2
   CPU Speed:    2.01 GHz
   L2 Cache (per CPU):    512 KB
  CPU Features:    FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH MMX FXSR SSE SSE2 HTT SSE3 CX16
   Memory:    1 GB
   Bus Speed:    200 MHz
   Boot ROM Version:    ASUS M2N4-SLI ACPI BIOS Revision 0704 (Phoenix Technologies, LTD)

 

I've never gotten the driver to locate a valid PHY.

 

Thanks for any advice, pointers in advance!!

HI all,

 

Trying to put the networkcard to work, but with no luck. I have a nForce 410/430 series id:0x296. I have tried all foredeth version and the best i got resembles this:

 

Nov 2 03:02:27 kernel[0]: forcedeth: Initializing.

Nov 2 03:02:27 kernel[0]: forcedeth: Probing.

Nov 2 03:02:27 kernel[0]: forcedeth: WARNING - your nVidia device 0x10DE:0x0269 is not known to work, but it could be supported in the future. Please contact the coder. Continuing anyway...

Nov 2 03:02:27 kernel[0]: forcedeth: Starting.

Nov 2 03:02:27 kernel[0]: forcedeth: PCI system 0x10DE:0x0269, subsystem 0x1734:0x10D3 opened.

Nov 2 03:02:27 kernel[0]: forcedeth: Mapped from 0xC0007000 of length 4096.

Nov 2 03:02:27 kernel[0]: forcedeth: Allocated 3072 bytes of contiguous memory for DMA: rx at 0x23b28000, tx at 0x23b28400, wired at 0xbf70000.

Nov 2 03:02:27 kernel[0]: forcedeth: Found nForce4 LAN with MAC: 00:14:0B:02:2A:C0.

Nov 2 03:02:27 kernel[0]: forcedeth: Found PHY 0x5040:0x0003 at address 1.

Nov 2 03:02:38 kernel[0]: forcedeth: PHY reset failed.

Nov 2 03:02:38 kernel[0]: forcedeth: Failed to initialize PHY.

Nov 2 03:02:38 kernel[0]: forcedeth: Stopping

 

I've searched all over this thread for the "PHY reset failed.", but again, with no luck. It seems I'm the only one with this error. :)

 

Any ideas, anyone?

 

Thanks

I can't make forcedeth work. I tried the one in the first post, colonel's forcedeth, but none of them worked.

 

Log:

 

Nov 2 07:45:17 victhor-fosters-computer kernel[0]: forcedeth: Initializing.

Nov 2 07:45:17 victhor-fosters-computer kernel[0]: forcedeth: Probing.

Nov 2 07:45:17 victhor-fosters-computer kernel[0]: forcedeth: WARNING - your nVidia device 0x10DE:0x0269 is not known to work, but it could be supported in the future. Please contact the coder. Continuing anyway...

Nov 2 07:45:17 victhor-fosters-computer kernel[0]: forcedeth: Starting.

Nov 2 07:45:17 victhor-fosters-computer kernel[0]: forcedeth: PCI system 0x10DE:0x0269, subsystem 0x1043:0x816A opened.

Nov 2 07:45:17 victhor-fosters-computer kernel[0]: forcedeth: Mapped from 0xFE02D000 of length 4096.

Nov 2 07:45:17 victhor-fosters-computer kernel[0]: forcedeth: Allocated 3072 bytes of contiguous memory for DMA: rx at 0x27c46000, tx at 0x27c46400, wired at 0x2b9e4000.

Nov 2 07:45:17 victhor-fosters-computer kernel[0]: forcedeth: Found nForce4 LAN with MAC: 00:1A:92:C1:BD:EB.

Nov 2 07:45:17 victhor-fosters-computer kernel[0]: forcedeth: Found PHY 0x5040:0x0003 at address 1.

Nov 2 07:45:17 victhor-fosters-computer kernel[0]: com_triton_forcedeth: Ethernet address 00:1a:92:c1:bd:eb

Nov 2 07:45:17 victhor-fosters-computer kernel[0]: forcedeth: Enabling... 1 2 3 4 5 6 7

Nov 2 07:45:17 victhor-fosters-computer kernel[0]: forcedeth: Starting transmit/receive engines

Nov 2 07:45:17 victhor-fosters-computer kernel[0]: forcedeth: Network link down.

 

MAC is displayed correctly, dev/ven ids are: 0269/10de.

 

I have a Asus M2NPV-VM board, Nforce 430(why i bought that mobo... :yoji: )

 

If there is a way of enabling QE/CI/GL on the built-in Geforce 6150 please PM me.

EDIT: forcedeth6100 also won't work. Looks like i will have to use this Realtek card for infinity...

Hi there! Same problem as yours with Device ID 0269 (Asus M2NPV-VM). :wacko:

My network card seem to work with the forcedeth-nockd.kext (it shows in the network section in the system preferences panel), but it phisically hangs, and then I must turn off the computer to have it back. ;)

No success with the normal forcedeth.kext.

Any suggestion to make it work other than buying a cheap realtek 81xx???

 

Thanks.

Madn3ss

 

My config: Uphuck 1.4a + AMD Update to 1.4.10

M2NPV-VM Mobo

AMD Athlon 64 X2 6000+ (for the moment it shows only one cpu)

Azalia audio working (only out)

Macvida 1.8.1 working (no QE/IC)

Internal LAN NOT working

I'm going to install tubegirl 1.4.10 very soon...

Guys,

 

I don't know what is going on with your onboard LAN, but there's a very simple thing to try given the following conditions:

 

- The driver loads AND you can see the ethernet interface in network properties.

- The MAC address shows correctly (compare with windows or linux).

 

If the two conditions above are met and still your network doesn't work, then turn off your computer and disconnect the power cable for 30 seconds.

 

I don't know why, but it does work for me. After a fresh install of MAC OS, I installed the forcedeth driver that I had been using for a while but the LAN didn't work. Then I tried this and it worked.

 

Hope it helps.

 

D.

@monsieur D: thanx very much for your modified driver (and of course credit me, something I think I don't deserve but thanx very much). I realize that the MAC changed but really doesn't look more about it so I didn´t realize it was reversed, I always reset the cable modem. So thanx again. :P

 

@testeroni: I've done some searching and found this: http://forum.applesana.com/47/5613/fallo-c...red-nforce.html

 

There's a driver for download there; If you download it, please post it here for me to learn how to fix this;

 

Thanks.

 

Oh, about the applesana forums, becausse spanish is my native language if anyone have any question or problem related to any thread that don't understand becausse of the language I am glad to help. ;)

having problems to make it work on leopard

 

my mobo is a A8N-E

 

i used the kexts from the first post

 

my logs :

 

kob$ sudo chown -R root:wheel forcedeth.kext

kob$ sudo chmod -R 755 forcedeth.kext

kob$ sudo kextload -v forcedeth.kext

extension forcedeth.kext has potential problems:

Warnings

{

"Kext has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style" = true

}

 

kextload: extension forcedeth.kext appears to be loadable

kextload: loading extension forcedeth.kext

kextload: forcedeth.kext loaded successfully

kextload: sending personalities to kernel:

kextload: from extension /System/Library/Extensions/IONetworkingFamily.kext:

kextload: IONetworkStack

kextload: Kernel Debugging Driver

kextload: from extension /System/Library/Extensions/IOPCIFamily.kext:

kextload: IOPCI2PCIBridge-Name

kextload: IOPCI2PCIBridge-i386

kextload: IOPCI2PCIBridge-PCI

kextload: from extension /Users/kob/Desktop/forcedeth/build/Release/forcedeth.kext:

kextload: nForce 4 LAN

kextload: sending 6 personalities to the kernel

kextload: matching started for forcedeth.kext

kob$

 

on the tail terminal window i saw this :

 

forcedeth: Initializing.

forcedeth: Probing.

forcedeth: Starting.

forcedeth: PCI system 0x10DE:0x0057, subsystem 0x1043:0x8141 opened.

forcedeth: Mapped from 0xD2000000 of length 4096.

forcedeth: Allocated 3072 bytes of contiguous memory for DMA: rx at 0x246fd000, tx at 0x246fd400, wired at 0x10a49000.

forcedeth: Found nForce4 LAN with MAC: 00:17:31:BC:01:DE.

forcedeth: Found PHY 0x5040:0x0003 at address 9.

com_triton_forcedeth: Ethernet address 00:17:31:bc:01:de

 

what the hell am i doing wrong? im going crazy :S

 

i just need this to get Leo Fully working...

 

thanks in advance

@Roike: It seems to be loading correctly. What do you get if you type 'ifconfig' in the terminal?

 

Did you configure your IP address (choose DHCP with manual address)?

 

Did you reset the LAN (turn off the computer and disconnect power cable for 30 seconds)?

 

Since I don't have Leopard here, I can't say much more right now. Please, post the output of 'ifconfig'.

 

D.

Osx10410_AMDVM_SSE3

 

Motherboard: Gigabyte n-Force405 GA-M61SME-S2

 

 

I`m so tired, :wacko: please help me. Always I have the same...

 

kextload: kext /System/Library/Extensions/AppleThermal.kext is not valid

kextload: extension forcedeth.kext appears to be valid

kextload: loading extension forcedeth.kext

kextload: forcedeth.kext loaded successfully

kextload: loading personalities named:

kextload: nForce 4 LAN

kextload: sending 1 personality to the kernel

kextload: matching started for forcedeth.kext

 

What the hell is wrong?

Osx10410_AMDVM_SSE3

 

Motherboard: Gigabyte n-Force405 GA-M61SME-S2

 

 

I`m so tired, :( please help me. Always I have the same...

 

kextload: kext /System/Library/Extensions/AppleThermal.kext is not valid

kextload: extension forcedeth.kext appears to be valid

kextload: loading extension forcedeth.kext

kextload: forcedeth.kext loaded successfully

kextload: loading personalities named:

kextload: nForce 4 LAN

kextload: sending 1 personality to the kernel

kextload: matching started for forcedeth.kext

 

What the hell is wrong?

 

1. What driver are you using? In this thread there are a few different versions.

2. The messages show that the driver is loading, but you have to send the relevant lines in the system log (see original post and the command 'tail -f /var/......'), you only sent the ouput of the terminal.

 

Then maybe we can help.

flibblesan: I'm in the same boat. P5N32-E SLI PLUS, so it's a 680i, but same sort of thing. I see both the interfaces and mac adresses in the Network properties, but nothing works.

 

I did notice that when kextloading, it did throw a message saying this specific deviceID (can't remember what mine is offhand), is known not to work, so prehaps there needs to be a bit of modification done for us with newer boards? It seems like it's *almost* working, so perhaps I'll take a look at it later....I'm by no means a programmer or anything, so don't expect much. :D

Just tried that PHY fix file from that Spanish forum, and the driver loads if I use the forcedeth.kext

 

It finds the correct MAC address, and finds the PHY but it thinks the cable is unplugged. I've tried unplugging it and plugging it back in, but it doesn't make a difference.

 

What is the forcedeth-nock file for?

hi there.

i don't know if you already treated the problem, but i can't figure out how to write in the search.

 

i'm using you method and it works, i've got some boot errors, but maybe i'll write them later.

2 things:

 

- network speed isn't that much (much more fast on vista)

- i've got a lot of messages on the console.

 

i've red another topic written by a guy with my exact barebone (asus). so i decided to follow him.

he stated that using your method hadn't work, so he was using the forcedeth-nockd.kext file, instead of the one you posted (well, this is also in your package). adding my (and his) vendor and device ID to the info.plist file, the lan card works.

the problem, according to that guy, is that in the console we get a lot of garbage messages, here's an example (system.log)

 

Nov 11 11:44:49 aristotele-pizzicatos-computer kernel[0]: forcedeth: packet 80000000 - 8000062e
Nov 11 11:44:49 aristotele-pizzicatos-computer kernel[0]: forcedeth: packet 80000000 - 8000062e
Nov 11 11:44:49 aristotele-pizzicatos-computer kernel[0]: forcedeth: packet 80000000 - 8000062e
Nov 11 11:44:49 aristotele-pizzicatos-computer kernel[0]: forcedeth: packet 80000000 - 8000062e
Nov 11 11:44:49 aristotele-pizzicatos-computer kernel[0]: forcedeth: packet 80000000 - 8000062e
Nov 11 11:44:49 aristotele-pizzicatos-computer kernel[0]: forcedeth: packet 80000000 - 8000062e
Nov 11 11:44:49 aristotele-pizzicatos-computer kernel[0]: forcedeth: packet 80000000 - 8000062e
Nov 11 11:44:49 aristotele-pizzicatos-computer kernel[0]: forcedeth: packet 80000000 - 8000062e
Nov 11 11:44:49 aristotele-pizzicatos-computer kernel[0]: forcedeth: packet 80000000 - 8000062e
Nov 11 11:44:49 aristotele-pizzicatos-computer kernel[0]: forcedeth: packet 80000000 - 8000062e
Nov 11 11:44:49 aristotele-pizzicatos-computer kernel[0]: forcedeth: packet 80000000 - 8000062e
Nov 11 11:44:49 aristotele-pizzicatos-computer kernel[0]: forcedeth: packet 80000000 - 8000062e
Nov 11 11:44:49 aristotele-pizzicatos-computer kernel[0]: forcedeth: packet 0 - 200205e2
Nov 11 11:44:49 aristotele-pizzicatos-computer kernel[0]: forcedeth: packet 80000000 - 8000062e
Nov 11 11:44:49 aristotele-pizzicatos-computer kernel[0]: forcedeth: packet 0 - 200205e2
Nov 11 11:44:49 aristotele-pizzicatos-computer kernel[0]: forcedeth: packet 80000000 - 8000062e

 

this is nothig to worry about, but my system.log file would assume godzilla dimension !

then, i think this has something to do with the network speed.

 

any ideas ?

hi there.

i don't know if you already treated the problem, but i can't figure out how to write in the search.

 

i'm using you method and it works, i've got some boot errors, but maybe i'll write them later.

2 things:

 

- network speed isn't that much (much more fast on vista)

- i've got a lot of messages on the console.

 

i've red another topic written by a guy with my exact barebone (asus). so i decided to follow him.

he stated that using your method hadn't work, so he was using the forcedeth-nockd.kext file, instead of the one you posted (well, this is also in your package). adding my (and his) vendor and device ID to the info.plist file, the lan card works.

the problem, according to that guy, is that in the console we get a lot of garbage messages, here's an example (system.log)

 

Nov 11 11:44:49 aristotele-pizzicatos-computer kernel[0]: forcedeth: packet 80000000 - 8000062e
Nov 11 11:44:49 aristotele-pizzicatos-computer kernel[0]: forcedeth: packet 80000000 - 8000062e
Nov 11 11:44:49 aristotele-pizzicatos-computer kernel[0]: forcedeth: packet 80000000 - 8000062e
Nov 11 11:44:49 aristotele-pizzicatos-computer kernel[0]: forcedeth: packet 80000000 - 8000062e
Nov 11 11:44:49 aristotele-pizzicatos-computer kernel[0]: forcedeth: packet 80000000 - 8000062e
Nov 11 11:44:49 aristotele-pizzicatos-computer kernel[0]: forcedeth: packet 80000000 - 8000062e
Nov 11 11:44:49 aristotele-pizzicatos-computer kernel[0]: forcedeth: packet 80000000 - 8000062e
Nov 11 11:44:49 aristotele-pizzicatos-computer kernel[0]: forcedeth: packet 80000000 - 8000062e
Nov 11 11:44:49 aristotele-pizzicatos-computer kernel[0]: forcedeth: packet 80000000 - 8000062e
Nov 11 11:44:49 aristotele-pizzicatos-computer kernel[0]: forcedeth: packet 80000000 - 8000062e
Nov 11 11:44:49 aristotele-pizzicatos-computer kernel[0]: forcedeth: packet 80000000 - 8000062e
Nov 11 11:44:49 aristotele-pizzicatos-computer kernel[0]: forcedeth: packet 80000000 - 8000062e
Nov 11 11:44:49 aristotele-pizzicatos-computer kernel[0]: forcedeth: packet 0 - 200205e2
Nov 11 11:44:49 aristotele-pizzicatos-computer kernel[0]: forcedeth: packet 80000000 - 8000062e
Nov 11 11:44:49 aristotele-pizzicatos-computer kernel[0]: forcedeth: packet 0 - 200205e2
Nov 11 11:44:49 aristotele-pizzicatos-computer kernel[0]: forcedeth: packet 80000000 - 8000062e

 

this is nothig to worry about, but my system.log file would assume godzilla dimension !

then, i think this has something to do with the network speed.

 

any ideas ?

 

Right click on the kext that works, select "show package content" then into the folder Contents, open the file "Info.plist" with the texteditor. find the line "<key>Debug</key>", below there should be the tag "<true/>", rename that to "<false/>".

Then reload the kext (by kextload or by rebooting) and you're done.

×
×
  • Create New...