Jump to content
5 posts in this topic

Recommended Posts

I've compiled the 10.4.11 version in leopard, linking to the more recent IONetworkingFamily.. The kext compiles fine, (i enabled all the debugging output). But after approx 200K packets, the driver stops functioning in terms of receiving.. (the receive packets error in network utility shows all packets as being error). The output of the debug from the code shows this:

 

Jan 29 15:58:26 costop kernel[0]: RX 1518 bytes at index 57

Jan 29 15:58:26 costop kernel[0]: RX 1518 bytes at index 58

Jan 29 15:58:26 costop kernel[0]: TX index 273

Jan 29 15:58:26 costop kernel[0]: initRxFilter: rxconfig was 0x0

Jan 29 15:58:26: --- last message repeated 4 times ---

Jan 29 15:58:26 costop kernel[0]: TX index 3

Jan 29 15:58:26 costop kernel[0]: initRxFilter: rxconfig was 0x0

Jan 29 15:58:28: --- last message repeated 4 times ---

Jan 29 15:58:28 costop kernel[0]: TX index 3

Jan 29 15:58:28 costop kernel[0]: initRxFilter: rxconfig was 0x0

 

.. The driver gets stuck in a reinitialization loop, and fails to setup the rx stuff. I'm going to start spending more time on this to try to figure out what is really happening. I have a feeling it's probably something to do with a memory leak (failure to clear a buffer, etc).

 

If anyone else has any experience with network drivers and has seen behavior like this before, please chip in!!

 

I'll keep ya'll posted

Link to comment
https://www.insanelymac.com/forum/topic/84657-applebcm440xethernet-help-fixing/
Share on other sites

Yep i've recompiled on leopard using xcode 3 as well..

It appaers it's coming down to a "packet syncro" is missing, my friend said.. I'm trying to find more info about that..

 

d 14e44401 BCM4401 100Base-T 0

d 14e44402 BCM4402 Integrated 10/100BaseT 0

 

So it might be something with that. I"ve got an integrated chipset, whereas maybe you have a sepearte one?

This is the chipset on my laptop:

 

03:00.0 Ethernet controller [0200]: Broadcom Corporation BCM4401-B0 100Base-TX [14e4:170c] (rev 02)

 

Which has the errors..

 

this chipset (using my debug driver) works:

Ethernet controller [0200]: Broadcom Corporation BCM4401 100Base-T [14e4:4401] (rev 01)

 

So now to find out what the main differences on those chips are.

  • 1 year later...
×
×
  • Create New...