Help - Search - Members - Calendar
Full Version: Marvell Yukon 8001 - the driver
InsanelyMac Forum > OSx86 Project > Hardware and Drivers > LAN and Wireless
Pages: 1, 2, 3, 4, 5, 6, 7, 8
m.musashi
Here's the driver I've put together to support the Marvell Yukon 88E8001.

Rules:
- please try not to trash this thread posting stupid or irrelevant comments
- don't post asking how to install the driver or edit the .plist to add your vendorid/devid (search the forum)
- don't pm me unless you want to send me a debug log
- I'll update this first message when needed with new versions of the driver, comments, etc.

To install:
open terminal
sudo -s (password)
cp -R (drag and drop the file and remove the / at the end) /System/Library/Extensions/
reboot


If it crashes, please send me the debug log:
open terminal
sudo dmesg
cut&paste the messages starting with skgeosx:


Latest Version: 0.2e BETA - PLEASE TEST WITH TIGER and LEOPARD AND LET ME KNOW
Versions:
- 0.2e(u) // 23Nov07 // Universal Binary
- 0.2e // 17Nov07 // Intel ONLY, Leopard build, power management (sleep ok), minor bug fixes, release build
- 0.2d // 01May06 // fixed a huge bug in tx engine that caused random unreported crashes
- 0.2b // 24April06 // implemented multicast and promiscuous mode plus some bug fixes (275 downloads)
- 0.1 // first release (465 downloads)

FAQ:
- OSX versions: 10.4.4 minimum
- supported cards: Marvell Gigabit Ethernet (88E8001), 3Com 3C940/3C940B, D-Link DGE-530T
- possible cards: Belkin F5D5005, Linksys EG1032 (please let me know if any of these work)
- yukon2 cards (88E8021,22,35,...) are not supported; they are covered by appleyukon.kext from OSX10.4.5 onwards - no they will never be supported by this driver as the original skge was written specifically for yukon1 cards; I will not write a yukon2 driver because I don't have a yukon2 card to test on
- 3COM 3C940 / ASUS P4P800 Deluxe: edit info.plist and replace 0x432011AB with 0x170010B7 before following installation instructions
- D-Link DGE-530T: edit info.plist with 0x4C001186
- Syskonnect SK 9521 V2.0: edit info.plist with 0x43201148

My thanks to:
-Stephen Hemminger, the author of the original Linux skge driver
-planetbeing and tuxx for releasing their OSX source codes
-the betatesters: autoy, myzar, Flamaszter
-cyclonefr for the quick install instructions

-------------------------------------------------------------------
Source Code (only for developers)
23Aug06: After almost 4 months, 4000 downloads and no real bug report I believe the driver can be considered quite stable. There are still things to implement (e.g. see TODO in the source code for some of them) but I don't have the time nor the urgency to do it. Therefore here's the source code. Please feel free to debug / add whatever you may see fit. I believe however that it would be good for all users to keep all future versions in this page. If you email them to me I'll attach them here (with your name in evidence don't worry) for everyone to download, assuming you have explained the mods and the driver still works police.gif. I will not support nor endorse any driver based on my source that is not present in this page. Have fun
-------------------------------------------------------------------
g0ldr4k3
does it works for 88e8036 marvell yukon card?
infinitevalence
I LUB YOU MAN!!!!

Worked like a charm got my laptop up and on the net instantly after a reboot. Very nice work.

~infinitevalence
oldschool
You made my day... biggrin.gif

Thank you VERY much. Works perfect here on 10.4.5.

Rgds.
autoy
Wow, that was a fast fix. Thank you musashi for taking care of the bugs! You deserve all worship and respect! smile.gif
romaincs
Realy pleasant work ! Thanks to you M. Musashi ! Working Great !
G-Force
Works great on my notebook with 8001 card. wink.gif Great work.
se7en
Great work.. works fine on my 8001 ( Asus P4P800E-Deluxe )

Thanks m.musashi wink.gif
cyclonefr
no prob man smile.gif btw this is the same version right? just a new topic? anyway im using RT2500USB at the moment
sito
Works on my Asus A8N-SLi Premium (bios 1009). GREAT WORK!!!!! Thank you.
m.musashi
guys
updated driver
v0.2b // 24April06 // implemented multicast and promiscuous mode plus some bug fixes

I've tested both promiscuous (tcpdump) and multicast (TV over IP streaming) and works just fine.
Fixed various stuff, including a couple of potentially big bugs. By the way, now ifconfig up/down works as it should.

I've left the first release as well in case this turns out to be buggy.

bye

PS: 270 downloads and no bug reports??? come on, bring them in!
autoy
I've made my report to your mail based on some bugs I found in the first final release, hope you read them but maybe they are already fixed in 0.2, so I'll try the new one out. Thanx a lot, awsome work smile.gif
cyclonefr
oh btw some1 checked my little install guide? , cause i think i forget to say : (maybe useless) before typying reboot
rm -R /System/Library/Extensions.kextcache
rm -R /System/Library/Extensions.mkext
and then reboot
stmkjp
hi, many thanks for your yukon driver, Musashi.
BTW, I have a problem using the driver.
when booted, everything works fine, yukon gained DHCP address very well and had no problem for a while.
but after a few minutes(or more than 10 minutes maybe?), suddenly it lost network connection and never
came back. i tried to renew dhcp address via control panel's network preference, but no joy...

tried dmesg | grep skgeosx but no particular error messages. it just gave me positive messages (like Enabled!, link speed now 100Mbps, full duplex) and ended with "setMulticastMode on".

also i looked at console log and i found something. i don't know these are the problem, but wanna give you the messages fyi.

- WirelessAirPortDeviceNamecpy(): no AirPort driver found
- FrontRow[310]: AppleScript Communication Error= -1712 (i know this message's from frontrow, but who knows if this is relevant?)
- dyid returns 2 when trying to load /Library/Contexttual Menu Items/StuffitCM.plugin/Contents/MacOS/StuffItCM (after this, 2 more stuffit plugin related error appeared)


ok, that's it.
what else should i look at?

EDITED:
more error message appeared on console log.

I got
"WirelessAttach: getInterfaceWithName failed"
for several times.
m.musashi
stmkjp: the error messages you have listed are not related to the yukon driver

are you using the driver with a 88e8001 chip? i.e. have you changed the vendid/devid in the .plist?
if you haven't then I wonder what's happening, as there's no error message from the driver

can you pm me the whole skgeosx: log? it should also include a message showing the Board name (e.g. Marvell-lite)

cheers

ps: I assume you are using ver 0.2b, have you tried with version 0.1 (the driver attached without ver number)
stmkjp
musashi,
i'm using 88e8001 chip, and vend/dev id already in the .plist.(4320/11AB right?)
my adapter's exact model is "Marvel Yukon 88E8001/8003/8010 PCI Gigabit Ethernet Controller"
which identified from windows(i'm using triple boot in my notebook, Asus W3N).

I installed 0.2b, but do you mean that 0.1 could be better for me? if so, i'll try with 0.1.
oh, another weird thing happened. i tested your driver in my office several hours ago, and now i'm home
and tested again. but I just can never connect to my access point. really weird..coz i have no problem in connecting.
difference between above 2 access point are
1) office one is fully opened with no restriction, but AP in my home validates my mac address.
2) 2 AP have different SSID.
isn't there any way to identify SSID of the AP I'm currently connecting? i wonder that i can't connect to my home AP because the driver is looking for same SSID as my office AP.
can i choose the SSID name which i want connect to?

thanks.

QUOTE(m.musashi @ Apr 26 2006, 09:54 PM) *
stmkjp: the error messages you have listed are not related to the yukon driver

are you using the driver with a 88e8001 chip? i.e. have you changed the vendid/devid in the .plist?
if you haven't then I wonder what's happening, as there's no error message from the driver

can you pm me the whole skgeosx: log? it should also include a message showing the Board name (e.g. Marvell-lite)

cheers

ps: I assume you are using ver 0.2b, have you tried with version 0.1 (the driver attached without ver number)
mico
Thanks, it's worked for me.
using on Asus A8V motherboard with integrated ethernet.
possible, linux driver has same bug, with stalling tx on fast UDP.
(working in linux too)
m.musashi
QUOTE(stmkjp @ Apr 26 2006, 04:46 PM) *
and tested again. but I just can never connect to my access point. really weird..coz i have no problem in connecting.
difference between above 2 access point are
1) office one is fully opened with no restriction, but AP in my home validates my mac address.
2) 2 AP have different SSID.
isn't there any way to identify SSID of the AP I'm currently connecting? i wonder that i can't connect to my home AP because the driver is looking for same SSID as my office AP.
can i choose the SSID name which i want connect to?

thanks.


AP?? this is not a wireless driver
if you're asking something outside the driver, then we are OT

regarding the ethernet driver, you should send me the complete skgeosx log or I cannot help
cheers
stmkjp
QUOTE(m.musashi @ Apr 27 2006, 06:09 AM) *
AP?? this is not a wireless driver
if you're asking something outside the driver, then we are OT

regarding the ethernet driver, you should send me the complete skgeosx log or I cannot help
cheers


OMG...i was out of mind a while. yes, yukon is wired adapter...I confused it with my wifi adapter.

btw, what do you mean skgeosx log? is it dmesg output ? or is there another file named skgeosx.log?
I'll send you my log in a few hour.( sorry i can't use osx right now, coz i have to work on windows... biggrin.gif )
tonyl
Thanks a lot, works great in my P4P800-SE.
stiffy
QUOTE(tonyl @ Apr 27 2006, 11:16 AM) *
Thanks a lot, works great in my P4P800-SE.


Thanks a lot, works great in my P4P800!
link93300
bonjour,

Moi je n'y arrive pas du tout help meeee pliz
cyclonefr
putain ta pas vu ? le guide d'install c débile tu copie le fichier ds
System/Bibliotheque/Extensions
ensuite répare les permissions et vire ds Bibliotheque les 2 fichiers extensions.mkext et .cache
link93300
edit
m.musashi
could you please move to Private Messages (PM)? thanks
schrepfler
Works with the 3COM 3C940 found on the ASUS P4P800 Deluxe. The Id of the device should be 0x170010B7 if anyone cares. Great job musashi, I can't say I've noticed anything strange but I don't really push the network stack on the MacOS.
PS. What is your assesment of the skge driver (the linux version)? Is it buggy or missing features that the hardware can do? If you do changes to it will you submit patches for the linux version?
Thanks and keep up the great work!
PS. Why not go with source code and project repository?
m.musashi
QUOTE(schrepfler @ Apr 28 2006, 05:44 PM) *
Works with the 3COM 3C940 found on the ASUS P4P800 Deluxe. The Id of the device should be 0x170010B7 if anyone cares.


great thanks

dunno if linux skge has bugs; I just used the bits of code that interface with the hardware - everything else (descriptor and ring management, queues, interrupt handling, etc. are different and some are OSX specific)
for example, the UDP stalling bug I believe is actually an issue with the OSX stack
to be able to add new features I'd need the marvell yukon chip manual, but I don't have it (and even if I had it I'm not sure I'd have the time to try and test it)

as for the source, it will follow, but first I want to clean up a couple of more things
rlepage
A8V from Asus

THANKS!
cyclonefr
musashi r u working on other drivers?
schrepfler
Wouldn't it be usefull if we could create a list of device id's for the various versions of the chip so that they can all be supported without changeing the Plist. One driver that supports several devices like the ATIX1000 driver?
My deviceid is stated above, musashi could start adding them to the main comments and slowly adding them to the driver itself.
So if you guys have a id different that the shipped one or the ones mentions on the thread post your own (if musashi aproves).
m.musashi
guys, all of a sudden I'm having problems with v0.2b downloading large files from the net - basically it stops after few seconds, the network connection doesn't work anymore (although it still appears as linked and no error message) and I have to restart the driver
now, this started happening after I played around with some other drivers and I wonder if I screwed up something with my system or the driver is actually bugged (note that v1 works fine and downloads huge files at full speed without freezing)
any1 encountered the same error?

cyclonefr: nope, don't have other unsupported hardware to work on
autoy
I'm perfectly downloading big files no problem with 0.2b musashi. I fact I haven't had a single crash or freeze with this version, already tested for a couple of days non-stop.
macprodan
Same for me here,
when connection is under heavy use network freezes and then no longer works, until a reboot. !
autoy
QUOTE(itmandan @ Apr 30 2006, 08:34 PM) *
Same for me here,
when connection is under heavy use network freezes and then no longer works, until a reboot. !


Are you using 0.2b? I got freezes with the previous kext but not with this one.
macprodan
yeah 0.2b
autoy
QUOTE(itmandan @ Apr 30 2006, 10:48 PM) *
yeah 0.2b


Try to reproduce the network loss stressing the net traffic. After you get this error, open up a terminal and write: sudo dmesg

Paste the output of the networking errors here so musashi can take note.

Thanx
najt
I woke up today and my network was not working... it's working again after ifconfig down & ifconfig up. This is the only thing I found in the logs

May 1 00:40:52 orion kernel[0]: skgeosx ERR: kIOReturnOutputStall, txActiveCount = 124, txHead = 84, txTail = 88
najt
I just found out that my brother was copying a lot of large files over the LAN from my computer when this happened.
m.musashi
guys,
I'm working on fixing this bug(s)
I'm currently testing a new build, but it's a bit difficult to replicate the error at will
m.musashi
ok, one more bug fixed and this one was HUGE.
amazing it actually worked at all!!
now you can download ver 0.2d
if you guys can stress test it and report any issue, that would be great

I'm actually quite surprised that so few of you reported issues (out of hundreds of downloads). Go figure.
oldschool
QUOTE(m.musashi @ May 1 2006, 09:55 PM) *
I'm actually quite surprised that so few of you reported issues (out of hundreds of downloads). Go figure.


Hi!

I had to install a new system. Your first release runs well.
I tried the first 0.2 and got probs. I´ll try 0.2d and be back...

Thanks for your work!
autoy
QUOTE(oldschool @ May 1 2006, 11:01 PM) *
I had to install a new system. Your first release runs well.
I tried the first 0.2 and got probs. I´ll try 0.2d and be back...


It was the other way round for me... The first release was the worst and 0.2 was better. So far 0.2b was the best (not a single crash for almost a week) and now I expect 0.2d performing even better.
najt
The new driver seems to work fine, but my logs are getting filled with this after copying files over the network:

May 2 12:03:53 orion kernel[0]: geosx ERR: ouputPacket() stall 126:123:125
May 2 12:03:53 orion kernel[0]: skgeosx ERR: ouputPacket() stall 126:126:0
May 2 12:03:53 orion kernel[0]: skgeosx ERR: ouputPacket() stall 125:0:3
May 2 12:03:53 orion kernel[0]: skgeosx ERR: ouputPacket() stall 126:2:4
May 2 12:03:53 orion kernel[0]: skgeosx ERR: ouputPacket() stall 126:5:7
May 2 12:03:53 orion kernel[0]: skgeosx ERR: ouputPacket() stall 126:7:9
May 2 12:03:53 orion kernel[0]: skgeosx ERR: ouputPacket() stall 126:10:12
May 2 12:03:53 orion kernel[0]: skgeosx ERR: ouputPacket() stall 127:15:16
May 2 12:03:53 orion kernel[0]: skgeosx ERR: ouputPacket() stall 127:20:21
May 2 12:03:53 orion kernel[0]: skgeosx ERR: ouputPacket() stall 125:20:23
May 2 12:03:53 orion kernel[0]: skgeosx ERR: ouputPacket() stall 127:25:26
May 2 12:03:53 orion kernel[0]: skgeosx ERR: ouputPacket() stall 125:25:28
May 2 12:03:53 orion kernel[0]: skgeosx ERR: ouputPacket() stall 125:27:30
May 2 12:03:53 orion kernel[0]: skgeosx ERR: ouputPacket() stall 125:30:33
May 2 12:03:53 orion kernel[0]: skgeosx ERR: ouputPacket() stall 125:32:35
May 2 12:03:53 orion kernel[0]: skgeosx ERR: ouputPacket() stall 126:35:37
May 2 12:03:53 orion kernel[0]: skgeosx ERR: ouputPacket() stall 126:40:42
May 2 12:03:53 orion kernel[0]: skgeosx ERR: ouputPacket() stall 126:42:44
May 2 12:03:53 orion kernel[0]: skgeosx ERR: ouputPacket() stall 125:44:47
May 2 12:03:53 orion kernel[0]: skgeosx ERR: ouputPacket() stall 126:47:49
May 2 12:03:53 orion kernel[0]: skgeosx ERR: ouputPacket() stall 126:49:51
May 2 12:03:53 orion kernel[0]: skgeosx ERR: ouputPacket() stall 126:52:54
May 2 12:03:53 orion kernel[0]: skgeosx ERR: ouputPacket() stall 126:54:56
May 2 12:03:53 orion kernel[0]: skgeosx ERR: ouputPacket() stall 126:57:59
May 2 12:03:53 orion kernel[0]: skgeosx ERR: ouputPacket() stall 126:59:61
May 2 12:03:53 orion kernel[0]: skgeosx ERR: ouputPacket() stall 127:62:63
May 2 12:03:53 orion kernel[0]: skgeosx ERR: ouputPacket() stall 126:64:66
May 2 12:03:53 orion kernel[0]: skgeosx ERR: ouputPacket() stall 127:67:68
May 2 12:03:53 orion kernel[0]: skgeosx ERR: ouputPacket() stall 125:67:70
May 2 12:03:53 orion kernel[0]: skgeosx ERR: ouputPacket() stall 125:67:70
May 2 12:03:53 orion kernel[0]: skgeosx ERR: ouputPacket() stall 126:112:114
May 2 12:03:53 orion kernel[0]: skgeosx ERR: ouputPacket() stall 127:117:118
May 2 12:03:53 orion kernel[0]: skgeosx ERR: ouputPacket() stall 125:117:120
May 2 12:03:53 orion kernel[0]: skgeosx ERR: ouputPacket() stall 126:121:123
May 2 12:03:53 orion kernel[0]: skgeosx ERR: ouputPacket() stall 125:124:127
May 2 12:03:53 orion kernel[0]: skgeosx ERR: ouputPacket() stall 125:126:1
May 2 12:03:53 orion kernel[0]: skgeosx ERR: ouputPacket() stall 126:3:5
May 2 12:03:53 orion kernel[0]: skgeosx ERR: ouputPacket() stall 125:5:8
May 2 12:03:53 orion kernel[0]: skgeosx ERR: ouputPacket() stall 127:10:11
May 2 12:03:53 orion kernel[0]: skgeosx ERR: ouputPacket() stall 125:10:13
May 2 12:03:53 orion kernel[0]: skgeosx ERR: ouputPacket() stall 125:12:15
May 2 12:03:53 orion kernel[0]: skgeosx ERR: ouputPacket() stall 125:15:18
May 2 12:03:53 orion kernel[0]: skgeosx ERR: ouputPacket() stall 125:17:20
May 2 12:03:53 orion kernel[0]: skgeosx ERR: ouputPacket() stall 126:22:24
May 2 12:03:53 orion kernel[0]: skgeosx ERR: ouputPacket() stall 125:24:27
May 2 12:03:53 orion kernel[0]: skgeosx ERR: ouputPacket() stall 127:29:30
May 2 12:03:53 orion kernel[0]: skgeosx ERR: ouputPacket() stall 125:29:32
May 2 12:03:53 orion kernel[0]: skgeosx ERR: ouputPacket() stall 126:33:35
May 2 12:03:57 orion kernel[0]: skgeosx ERR: ouputPacket() stall 125:13:16
May 2 12:03:57 orion kernel[0]: skgeosx ERR: ouputPacket() stall 125:58:61
May 2 12:03:57 orion kernel[0]: skgeosx ERR: ouputPacket() stall 127:63:64
May 2 12:03:57 orion kernel[0]: skgeosx ERR: ouputPacket() stall 125:63:66
May 2 12:03:57 orion kernel[0]: skgeosx ERR: ouputPacket() stall 125:65:68
May 2 12:03:57 orion kernel[0]: skgeosx ERR: ouputPacket() stall 127:70:71
May 2 12:03:57 orion kernel[0]: skgeosx ERR: ouputPacket() stall 125:70:73
May 2 12:03:57 orion kernel[0]: skgeosx ERR: ouputPacket() stall 125:72:75
May 2 12:03:57 orion kernel[0]: skgeosx ERR: ouputPacket() stall 127:77:78
May 2 12:03:57 orion kernel[0]: skgeosx ERR: ouputPacket() stall 125:77:80
May 2 12:03:57 orion kernel[0]: skgeosx ERR: ouputPacket() stall 125:79:82
May 2 12:03:57 orion kernel[0]: skgeosx ERR: ouputPacket() stall 127:84:85
May 2 12:03:57 orion kernel[0]: skgeosx ERR: ouputPacket() stall 125:84:87
May 2 12:03:57 orion kernel[0]: skgeosx ERR: ouputPacket() stall 125:86:89
May 2 12:03:57 orion kernel[0]: skgeosx ERR: ouputPacket() stall 125:89:92
May 2 12:03:57 orion kernel[0]: skgeosx ERR: ouputPacket() stall 125:91:94
May 2 12:03:57 orion kernel[0]: skgeosx ERR: ouputPacket() stall 127:96:97
May 2 12:03:57 orion kernel[0]: skgeosx ERR: ouputPacket() stall 125:96:99
May 2 12:03:57 orion kernel[0]: skgeosx ERR: ouputPacket() stall 125:98:101
May 2 12:03:57 orion kernel[0]: skgeosx ERR: ouputPacket() stall 127:103:104
May 2 12:03:57 orion kernel[0]: skgeosx ERR: ouputPacket() stall 125:103:106
May 2 12:03:57 orion kernel[0]: skgeosx ERR: ouputPacket() stall 125:105:108
May 2 12:03:57 orion kernel[0]: skgeosx ERR: ouputPacket() stall 127:110:111
May 2 12:03:57 orion kernel[0]: skgeosx ERR: ouputPacket() stall 125:110:113
m.musashi
najt: it's quite normal, don't worry
previous versions did the same
once I reach a reasonably stable build, I'll put in here a release kext which will not show debug messages such as these
for the moment I'd rather have more messages than less in case there's a crash
acababune
working 0.2d perfect on my p4p800e-deluxe
mess
Hi m.musashi,

sorry for my stupid question but I´m a newbie and don´t know how to install the driver corrcetly because I don´t understand this:

cp -R (drag and drop the file and remove the / at the end) /System/Library/Extensions/

I have to type in cp -R in the terminal, ok. But what means the rest, especially 'remove the / at the end'???
Can You please tell me what I have to do in single steps...

Thanks, and sorry again, but I´m not an experienced programmer :-(
m.musashi
mess:
say you have downloaded in desktop of a user called mess
in that case you should type:
cp -R /Users/mess/Desktop/skge.kext /System/Library/Extensions/

no / at the end of skge.kext
-----------------------------------

guys, this build seems quite stable
36 hours of almost continuous net usage (tcp and udp) and still running
finger crossed
autoy
I usually drag the files i want to copy to the terminal after the cp or mv command to avoid writing those long paths. Yes, I am that lazy biggrin.gif and it's a nice feature.
asapreta
I´ve installed the KEXT in my /System/Library/Extensions but no new network card detected. I got an P5WD2 Premium Board.

Anything else to do?
m.musashi
asapreta: assuming your board has the 8001 yukon chip, assuming you've checked the devid/vendid and possibly modified the .plist .... then send me the log (see first message on this thread)
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.