Help - Search - Members - Calendar
Full Version: NForce SATA Controller
InsanelyMac Forum > OSx86 Project > Hardware and Drivers > SATA/IDE Controllers
Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14
MeDevil
Here you can find the newest ATA kext driver for nforce pata/sata chipsets.
This has been tested and is know to work on the ASRock 939NF6G-VSTA motherboard.
Drive(s) are UDMA enabled, and fully working without i/o errors.

I have not tested this driver under leo, but it should work without problems.
Sources are not attached, if someone needs them, please pm me.

Here, some xbench results:
CODE
       System Info        
                   Xbench Version        1.3
                   System Version        10.4.10 (8R2218)
                   Physical RAM        1024 MB
                   Model        ACPI
                   Drive Type        Maxtor 6V200E0
               Disk Test    66.80    
                   Sequential    129.43    
                       Uncached Write    135.91    83.45 MB/sec [4K blocks]
                       Uncached Write    128.72    72.83 MB/sec [256K blocks]
                       Uncached Read    117.43    34.37 MB/sec [4K blocks]
                       Uncached Read    137.70    69.21 MB/sec [256K blocks]
                   Random    45.02    
                       Uncached Write    16.62    1.76 MB/sec [4K blocks]
                       Uncached Write    111.64    35.74 MB/sec [256K blocks]
                       Uncached Read    85.66    0.61 MB/sec [4K blocks]
                       Uncached Read    124.17    23.04 MB/sec [256K blocks]


Please, report here ONLY if the drive is working or not (if you want to thank me, you'll find my paypal address in the firm biggrin.gif )

UPDATE 23-dec-2007:
I've fixed the driver because it was not handling atapi drive(s). The detection mechanism should be much fast now, however it will slow down a bit the boot process when trying to detect drive(s) on an empty channel. (i'll try to fix this in the next release).
This kext should also resolve the "still waiting for root device".
User with MCP55 chipset: please test this kext and report if it is working!

A little note: maybe native NCQ can be implemented on this driver. I'll look better at the sata_nv sources and try to implement it in the next (maybe last) version. Also, please note that this is just a challenge to me, and it's also probably that i'll never implement it in order to help other people with other drivers (eth, sound, etc).

UPDATE 31-dec-2007:
I've re-fixed the driver. Some users where still not detecting sata and/or pata drives, so this version should solve some problems. Below, a list of device+vendor id for supported pata/sata chipsets by this kext:

PATA: 0x01bc10de 0x006510de 0x008510de 0x00d510de 0x00e510de 0x003510de 0x005310de 0x026510de 0x036e10de 0x03ec10de

SATA: 0x008e10de 0x00e310de 0x00ee10de 0x003610de 0x003e10de 0x005410de 0x005510de 0x026610de 0x026710de 0x037e10de 0x037f10de 0x03e710de 0x03f610de 0x03f710de 0x045c10de 0x045d10de 0x045e10de 0x045f10de

Know AHCI SATA enabled chipset device+vendor id: 0x044c10de 0x044d10de 0x044e10de 0x044f10d 0x055010de 0x055110de 0x055210de 0x055310de 0x056010de 0x055410de 0x058410de
Know AHCI PATA chipsets device+vendor id: 0x056010de 0x056010de 0x056c10de 0x075910de

If your chipset is in the "Know AHCI SATA enabled chipsets" then you CANNOT USE THIS KEXT!
If your chipset is in the "Know AHCI PATA enabled chipsets" then you can try to use this kext for the pata handling, but this is not tested, so try at your own risk!

If you have a device/vendor id that isn't in this list, please send me a pm.


UPDATE 11-jan-2008:
Source released to the public.
NOTE: This project is far from being finished. I'm planning to separate the sata part from the pata, add ncq support, add raid support, maximize performances, ecc ecc.
However, i've little spare time, so don't start asking: "when we'll have xxx/yyy/zzz?" wink.gif

UPDATE 29-feb-2008:
Attached a kext (AppleNForceATA.kext.TEST.zip) that should fix the "sam multimedia error" on sata dvd drives.
Please, report if there are issues with pata drives (either hd or dvds).

Regards, Domenico.
gtaranti
Thanks... First to post I think...!!
Envying
Thanks first from office, will test in from home tonight and revise this with result!

Merry Christmas, MD!
gtaranti
It's working OK in my rig, without the "bus blocking" error, but xbench results are worse than before...
I had 50-60 mb .. huh.gif





debauchery1st
QUOTE(MeDevil @ Dec 20 2007, 12:00 PM) *
Here you can find the newest ATA kext driver for nforce pata/sata chipsets.
This has been tested and is know to work on the ASRock 939NF6G-VSTA motherboard.
Drive(s) are UDMA enabled, and fully working without i/o errors.

I have not tested this driver under leo, but it should work without problems.
Sources are not attached, if someone needs them, please pm me.

Here, some xbench results:
CODE
       System Info        
              Xbench Version        1.3
              System Version        10.4.10 (8R2218)
              Physical RAM        1024 MB
              Model        ACPI
              Drive Type        Maxtor 6V200E0
          Disk Test    66.80    
              Sequential    129.43    
                  Uncached Write    135.91    83.45 MB/sec [4K blocks]
                  Uncached Write    128.72    72.83 MB/sec [256K blocks]
                  Uncached Read    117.43    34.37 MB/sec [4K blocks]
                  Uncached Read    137.70    69.21 MB/sec [256K blocks]
              Random    45.02    
                  Uncached Write    16.62    1.76 MB/sec [4K blocks]
                  Uncached Write    111.64    35.74 MB/sec [256K blocks]
                  Uncached Read    85.66    0.61 MB/sec [4K blocks]
                  Uncached Read    124.17    23.04 MB/sec [256K blocks]


Please, report here ONLY if the drive is working or not (if you want to thank me, you'll find my paypal address in the firm biggrin.gif )

Regards, Domenico.



Did you end up separating the drivers, or does this encompass the nforce sata mcp51?
elfdood
I have just added the kext to the Tubgirl AMD iso, and I am burning it now... I will let you know in if this picks up the drive ok smile.gif
elfdood
**edit** I got an waiting for root device error, I deleted the original nforce ata from the entension.mkext and rebuilt it with this one..

I will try again and see maybe the original is needed to see the ATA DVDrom.....will report back smile.gif


**Edit2** The files share the same name, no idea if renaming them will solve the issue...


Maybe Medevil can give me some advice.....does the new kext work ok with the ATA side of theMCP51 chipset? I have a HP DV6119us Laptop...thanks in advance
MeDevil
QUOTE(debauchery1st @ Dec 20 2007, 06:44 PM) *
Did you end up separating the drivers, or does this encompass the nforce sata mcp51?


Nope, found the problem and fixed the previous nforce kext.

QUOTE(gtaranti @ Dec 20 2007, 06:25 PM) *
It's working OK in my rig, without the "bus blocking" error, but xbench results are worse than before...
I had 50-60 mb .. huh.gif



What do you mean for "worse than before"? What driver you were using "before"?

QUOTE(elfdood @ Dec 20 2007, 07:49 PM) *
**edit** I got an waiting for root device error, I deleted the original nforce ata from the entension.mkext and rebuilt it with
this one..

I will try again and see maybe the original is needed to see the ATA DVDrom.....will report back smile.gif


**Edit2** The files share the same name, no idea if renaming them will solve the issue...


Maybe Medevil can give me some advice.....does the new kext work ok with the ATA side of theMCP51 chipset? I have a HP DV6119us Laptop...thanks in advance


You should delete previous AppleNForce*.kext left in:
/System/Library/Extensions/
/System/Library/Extensions/IOATAFamily.kext/Contents/PlugIns/

The kext in this topic can be placed in /System/Library/Extensions
If using leopard and still having troubles, then move the kext into the IOATAFamily.kext/Contents/PlugIns/ directory.

Regards, MeDevil
zandera
for MCP51 work perfectly.. just replache and chown/chmod
also delete Extension.kext + extension.mkext in system/library

verified on HP Compaq Presario 6133 AMD machine
Turion 50
nForce Go 430
its a base motherboard for HP 2 yers old AMD notebooks
dont know if it works for newer

OSX 10.4.9
OSX 10.5.1 - place in IOATAFamily.kext/Contents/PlugIns/

And thank you MeDevil, also to your parents, producer, all crew...
I think, you seen Oscar Awards...........

anyhow this may helps you with sound - there should be some decompiler somewere.
gtaranti
What do you mean for "worse than before"? What driver you were using "before"?

I was using AppleNForceATA.kext ofcourse!!! biggrin.gif


zandera
QUOTE(gtaranti @ Dec 20 2007, 10:40 PM) *
What do you mean for "worse than before"? What driver you were using "before"?

I was using AppleNForceATA.kext ofcourse!!! biggrin.gif


Azzalia (Azalia) may help you with sound i saw it in im/hardware/
-aKy-
I managed to install OSX on a HP Notebook with Nforce 410/430 (MCP51), used Tubgirl 10.4.10, OSX boots fine but is hell slow, and often there appears the error (even while booting):

SAM Multimedia: READ or WRITE failed, ASC = 0x02, ASCQ = 0x00

Every other AppleNforceATA.kext has been deleted, only using your new one.
Whats wrong?
lord_muad_dib
medevil strikes back!
you're the man bro!
yayyyyyyy
MeDevil
QUOTE(-aKy- @ Dec 20 2007, 11:43 PM) *
I managed to install OSX on a HP Notebook with Nforce 410/430 (MCP51), used Tubgirl 10.4.10, OSX boots fine but is hell slow, and often there appears the error (even while booting):

SAM Multimedia: READ or WRITE failed, ASC = 0x02, ASCQ = 0x00

Every other AppleNforceATA.kext has been deleted, only using your new one.
Whats wrong?


Sorry, but i don't think this error is related to the kext driver...
there should be somthing else that is causing your notebook to be slower... (you can try searching the forums/google for that error...)

Regards, Domenico.
elfdood
QUOTE(MeDevil @ Dec 20 2007, 03:22 PM) *
The kext in this topic can be placed in /System/Library/Extensions
If using leopard and still having troubles, then move the kext into the IOATAFamily.kext/Contents/PlugIns/ directory.

Regards, MeDevil


I cannot get the system to boot to the graphical installer, how are the peeps with successful installs integrating this kext to the install DVD?
arthur5005
MeDevil, you are the man!!! smile.gif. thank you, thank you, thank you!!
Colonel
O M F G. biggrin.gif biggrin.gif biggrin.gif

I will try this when I get home from work later. Look awesome! Finally working nForce430 SATA biggrin.gif
debauchery1st
tried injecting into ToH-leopard dvd, and tubgirl Tiger. both hang at waiting for root device. Leopard probably wouldn't have worked anyway because my system is AMD, but the tiger dvd should have at least made it to the GUI install screen. (I've gotten to the GUI without the new kext, but couldn't see my drive.) The tiger dvd gives a SAM error trying to read the dvd. Maybe I'm not properly injecting the kext or something like that.

any suggestions?

hp dv6119us notebook pc

macgirl
It hangs on my NForce 4 Ultra sad.gif
It detects the 4 SATA drives and recognizes the boot device, thes hangs for a few seconds and the first message of the fisrt IDE port appears then hangs there forever, I place back the previous version.


EDIT:
Sorry to not mention, this happens on Leopard, I have no Tiger to test it for the moment.
mcboobalot
Getting the "Still Waiting for root device" on 10.4.10....I'm on an MCP55

I did delete the previous AppleNForceATA.kext from the IOTATAFamily.kext...didn't have it in root extensions folder.

Putting the new kext in IOATAFamily.kext/Contents/PlugIns didn't change anything.
blood_brother
How can I inject this driver at my leopard-amd iso?
I don't have os x installed, there's a way to load this kexts at leopards installation?
I'm using Leopard-AMD-10.5.1.iso to install, I formated my partition in Linux using newfs_hfs patched to work on Linux, but when I'm in installation I'm having I/O error.

My specs.
00:0e.0 IDE interface: nVidia Corporation MCP51 Serial ATA Controller (rev f1)

Thanks for help.
komeet
QUOTE
for MCP51 work perfectly.. just replache and chown/chmod
also delete Extension.kext + extension.mkext in system/library


How did you do that? I tried a bunch of iso apps but none of those really worked. The only one which shows me the directories and files was Magic Iso but it couldn't write the changed iso. So I guess I can't change an osx86 ISO on Windows, can I?

What about Linux? Can I change the the tube iso on Linux/Knoppix?

Cheers,
Barto360
Thanks Medevil for writing this. I tried it with the ToH Leopard disk, but I still got the waiting on root device error. However, I expected that the device id of my MCP55 chipset would be in, which was not. I'm gonna try now with the device id, and I think it should work. For any other person with the MCP55 chipset, first put the dev id (Mine is 0x026610de) in the info.plist. (So mcboobalot, I think you should try it too tongue.gif )

Again, thanks for this driver, and I will let you know the results.
mcboobalot
Ah yes, forgot about the dev id. Thanks, I'll give it a shot!
MobZor
Works great so far! Thanks a million, now my system has 4 hard drives instead of one!
funnypanks
is it possible to install onto satas with these kexts? i have a mcp61 that i want to install on. would i be able to format the sata to hfs+?
LaptopZZ
I have an MCP55 and this also isn't working for me.

I am using 1.0.3 version of your(McDevil's) NForce SATA placed in IOATA/Contents/Plugins.

My PATA is working with this, but SATA won't initialize still. Fails with I/O error still.

http://pixabug.com/ioreg-12-21-07 is my ioreg -l -w0

I added 0x037f10de for my SATA and 0x36e10de for my PATA

Regards,
~Matt
Colonel
QUOTE(mcboobalot @ Dec 21 2007, 12:49 PM) *
Getting the "Still Waiting for root device" on 10.4.10....I'm on an MCP55

I did delete the previous AppleNForceATA.kext from the IOTATAFamily.kext...didn't have it in root extensions folder.

Putting the new kext in IOATAFamily.kext/Contents/PlugIns didn't change anything.

Me too. Same with Leopard as well.

Leopard seems to only work if the IDE drive is set to master. 10.4.10 doesn't seem to work with it at all though...
microsoft whiz
As Soon As I Get Home In A Few Days I'm Gonna Try It !


Thanks MeDevil
MeDevil
Ok, let's try to resolve those nasty issues. Before we begin, I want you to know that this kext driver WAS NOT TESTED UNDER LEOPARD (by me), so you'll get NO SUPPORT until i test it personally (which should occurr in the next few days).

Now, for the unlucky people that were having troubles, follow those steps:
1. delete all the apple nforce kext from the extension directory (/System/Library/Extensions/).
2. delete all the apple nforce kext from the IOATAFamily.kext Plugins directory (/System/Library/Extensions/IOATAFamily.kext/Contents/PlugIns/)
3. download the zipped file in a new, clean directory and double click it to extract the kext.
4. place the extracted kext:
4a. if you are creating/modify a dvd: place it into extensions.mkext (also delete previous kext)
4b. if you are booting from hd: place it into /System/Library/Extensions, chmod and chown the kext, then remove extensions.mkext and extensions.kextcache from parent directory (/System/Library/)
5. shutdown the pc
6. disconnect all pata hard disk (cdrom can remain connected)
7. boot up the pc and take a look at the console output.

If after this procedure the system is still reporting problems, please send me an email in the following format:
CODE
HW ID: 0xXXXXXXXX (this is the dev/ven id example: 0x03f610de)
Method: YYY  ("HD" if you are booting from hd or "DVD" if you are using a bootable dvd)

Also attach a copy of the system.log and the output of "ioreg -l -w0" (post them as an attachment!)


if system.log isn't available, please try to post a picture of the boot progress or (try to) describe it exactly.
if output of ioreg isn't available, specify "ioreg: not available" in the email.

email subject MUST BE "NFORCE ATA ERROR". All other emails will get trashed (or flagged as spam).
You can find my email address in the signature.

Be prepared to be a kext tester. This mean: you'll try a (just compiled) debug version of the kext on your machine sent directly from me. (if irc access is available, it will really speed the resolution of the problem!)

Regards, Domenico.
hacked2123
Hey MeDevil, you rock everything this x86 world ever wanted smile.gif Now lets port Mac to the PS3 j/k not worth the effort...yet ;-) I will be testing this momentarily and donating after I pay off my CC for this month. (BTW, if you are honestly looking for some new challenge to conquer my buddies and I could use some good help. I'm sure you could help us decipher the PS3's HDD FS.)
c_c
Thanks a ton MeDevil. Your driver has got my Compaq F730US laptop with nforce MCP 51 working off the SATA drive, ;-)

A few observations :
The driver takes some time to detect the drive. I get a message 'Waiting for boot Volume with UUID....."
"Waiting on <dict ID="0"><key>IOProviderClass</key><string ID="1">IOResources</string><key>IOResourceMatch</key><string ID="2">boot-uuid-media</string></dict>"

Then I keep waiting for as many as 10 secs.....
On the other hand pressing the power on button and releasing it causes the "ApplNForceATA: NVIDIA nForce MCP51 Serial ATA by MeDevil (...)" to appear almost immediately.
Is that normal?

biggrin.gif But the disk is detected the boot process completes and I get the Leopard Desktop,

Now to get my keyboard and mouse working before I move any further.!!!!


Thanks again. Great Work. You're a life saver.
sue0110
Hi all,
I am on MCP 55 as well,
Tried placing the new AppleNForceATA.kext in both /extensions as well as IOATAFamily.kext/contents/plugins/ getting the waiting for root device on both occasions sad.gif
Even My PATA Speed are terribly slow.. if i get that working tat will be great!!



Barto360
I got everything working allright, with the kexts on the install dvd. But when it boots it says something about a read/write error from the SAM Multimedia, and in between the "Still waiting on root device" error. I'm also an a MCP55. This was with Leopard, so I'm going to try now with tiger (10.4.8), and see if it works.
I'll let you know....
gtaranti
I have every SATA device working now, except my IDE DVD..

My DVD does not work now..
falkyre
Would this kext potentially help with my DVD burner SATA drive not being able to burn?
Azurael
Haha... The temptation to dig out my 650i, buy another 8800GTS 512 and enjoy playing Crysis a lot more now NVidia chipsets have a working OS X SATA driver...

But. Nah. I hate NVidia chipsets. I think it would only piss me off again. Plus, I'd have to back off some way on my overclock.
harry.haller
i will patch the id in the plist but which number must i list? dev + ven?
c_c
@MeDevil

I have a compaq F730US laptop with nforce MCP51 chipset. I was able to get a preistalled copy of Leopard (by attaching the laptop hdd to a intel PC and patching it for AMD) working with this kext.

Well, after getting my keyboard and touchpad working somewhat (mostly not) I have the following problems:-

1. The ide DVD drive is not accessible
2. After about 20 reboots or so - I seem to have developed some problems with loginwindow, securityd, mdnsresponder and mdworker crashing with EXC_CRASH (except securityd which crashes with EXC_BAD_ACCESS).
3. The initial 20 bootups or so were fine but sometimes the OS ran really slow, sometimes it was remarkably faster. The keyboard and touchpad worked only once - but that is another issue.
4. I did a lot of fsck'ing in single user mode and the partition was repaired almost every time.

I'm likely to be totally out of line here - but is there any possibility of data corruption? I haven't changed much except the ApplePS2Controller kexts and these crashes seem out of place at that.

I'll re-install if I can't find a reason - but am willing to test the driver further ;-)

Thanks, though, for everything - there's light at the end of this tunnel yet!
elfdood
QUOTE(debauchery1st @ Dec 21 2007, 10:49 AM) *
tried injecting into ToH-leopard dvd, and tubgirl Tiger. both hang at waiting for root device. Leopard probably wouldn't have worked anyway because my system is AMD, but the tiger dvd should have at least made it to the GUI install screen. (I've gotten to the GUI without the new kext, but couldn't see my drive.) The tiger dvd gives a SAM error trying to read the dvd. Maybe I'm not properly injecting the kext or something like that.

any suggestions?

hp dv6119us notebook pc


I too had this issue on the same notebook, it seems the KEXT does not like the controller for the DVD-Rom, I installed OSX onto an external HDD which worked (No Video acceleration, No Keyboard or Mouse (Had to use USB KB/Mouse), No wireless, even though it is detected as a Airport Card, No ethernet) So once I had a desktop I was able to access the DVD, as soon as I copied over the new kext, fixed permissions and rebooted, I have a full working SATA drive (Great work Medevil) I lost the ability to access the DVD-Rom which is why I think we are getting the waiting for root device error. (I also got the SAM error, (I was thinking this might be the Card reader maybe??)

So At this point as I was not smart enough to get everything working, so I am hoping when/if we get the kext 100% compatible with this laptop we can work on the other things....but with all the issues, I think the HP DV6119Us is a dead duck when it comes to Macos osx sad.gif
XaD
Same is the problem with my laptop hp tx1000 i cannot access dvd rom drive.....
hope we get a soln soon..
it worked before with the appleviaata.kext ...posted in the huge forum of the darwin nforce sata/ata cotroller thread by ghakazian..
Duffsta
Hi can someone tell me how to install this 2 my osx86 dvd? i have no idea do i use nero?? what file do i replace on the dvd? do i just replace this file then reburn anything else involved?
Also my motherboard on my laptop is a Nforce 560 will this chipset work with this driver i really wanna get osx up and runing on this laptop smile.gif will it work on pata and sata? thanks let me know mate
keep up the good work will make a donation smile.gif
bisat
i think that all of us are waiting for a ppf patch or something else for inject this kext in our iso...like the last kalyway iso, uphuck or similar...
that thing is a good xmas gift for us...
you are the best for us unlucky people with nforce sh*t...
Colonel
QUOTE(Azurael @ Dec 22 2007, 02:17 PM) *
But. Nah. I hate NVidia chipsets.

You and me both...
elfdood
QUOTE(Colonel @ Dec 23 2007, 08:17 AM) *
You and me both...


me three, even trying to put linux on the DV6119 requires extra boot commands...but it does windows pretty well smile.gif
Rocco
Every one that is geting that error "still wating for root device," i know noticed that "IOATACONTROLLER Device blocking bus" comes up right before the root device error. from past experience, if u have more than one nvidia device in ur system &amp;0xffff0000 needs to be specified in the info.plist or more than one device may be trying to use that driver. i currently do not have osx running, so i cannot correct the issue.


MeDevil --
If u could Add &amp;0xffff0000 After the device id's i think it might fix some of the probs
Lord of the Games
Can I inject this in to the iatkos iso? I have allready replaced the kernel with the nforce 1.5 one, but I can't find an extensions folder of any kext folder.
Barto360
I tried now with Tubgirl 10.4.8 iso, but no luck with that either. I'm still getting the SAM multimedia error and the "still waiting on root device" error sad.gif

Anyone got any ideas?

Edit: Trying the new Kext now with 10.4.8.....
macgirl
QUOTE(Azurael @ Dec 22 2007, 02:17 PM) *
But. Nah. I hate NVidia chipsets.

QUOTE(Colonel @ Dec 23 2007, 07:17 AM) *
You and me both...

QUOTE(elfdood @ Dec 23 2007, 08:16 AM) *
me three, even trying to put linux on the DV6119 requires extra boot commands...but it does windows pretty well smile.gif


You poor people, hate Nvidia chipsets is not the way, choose a better Nvidia chipset is (even an old one).
Rocco
Im still geting wating for root device with the latest kext but it now finds my sata drives
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.