Jump to content
thefighter

nForce Sata Workaround

93 posts in this topic

Recommended Posts

I have opened this new post, because the old one was cluttered and dead.

 

For those who have just joined you need the AppleVIAATA.kext ( http://forum.osx86project.org/index.php?ac...pe=post&id=1806 )and you need to add in your driver ID in the info.plist into the "IOPCIPrimary Match" Field. Like this:

 

			<key>Serial ATA</key>
		<false/>
	</dict>
	<key>VIA SATA Controller</key>
	<dict>
		<key>CFBundleIdentifier</key>
		<string>com.apple.driver.AppleVIAATA</string>
		<key>Hardware Name</key>
		<string>8237 SATA</string>
		<key>IOClass</key>
		<string>AppleVIAATARoot</string>
		<key>IOPCIPrimaryMatch</key>
		<string>0x31491106 [b]DEVICE ID's HERE[/b]</string>
		<key>IOProbeScore</key>
		<string>1000</string>
		<key>IOProviderClass</key>
		<string>IOPCIDevice</string>
		<key>Serial ATA</key>
		<true/>
	</dict>

 

The nForce4 ID's I believe are - 0x005410de 0x005510de

And the nForce3 ID's are - 0x00e310de

 

To check do this

 

Right Click my computer > Properties > Hardware Tab > Device Manager >> Expand device you want > Right Click, Properties > Details

 

PCI\VEN_10DE&DEV_0054 - 0x + DevID + VenID

 

Then you need to correct the permissions. I use BatChmod for ease, but use the following commands otherwise in Terminal.

 

chmod - R 755 *kext file here*
chown -R root:wheel *kext file here*

 

Then drag and drop into /System/Library/Extensions/ or put into the Plugins folder of IOATAFamily.kext (I think that is the correct method). After this go to Utilities and Disk Utility to correct the permissions (Just incase something went slightly wrong)

 

 

To create an mkext go to the Terminal and type the following. Then just correct the permissions to root:wheel again, and this can then be put onto the DVD using Transmac and create a working DVD :-) Although, I do not think that it installs them, the DVD just uses the kexts inside the mkext.

 

kextcache -m extensions.mkext *path to folder*

 

 

Onto the many errors. IOATAController device blocking bus being a main problem. There is no solution to this, unless somebody can think of something but I have a few ideas, because these files could create conflicts:

 

Delete AppleIntelPIIXATA.kext

Delete AppleStorageDriver.kext

Delete IOBlockStorageDriver.kext

Delete IOBlockStorageDevice.kext

Edit IOATABlockStorage.kext and add in Device ID's, see if it will accept them (I think this is the file that causes the error)

 

Also sometimes you need to repair the drive with Disk Util on your DVD, because it does some wierd things with "Invalid Node Structure" "Invalid Key Length" " Invalid Volume Header" "Volume Bit Map" etc etc.

 

 

I wanted to get the nForce SATA thing going again, and so I tried summarising the entire thread. Thanks guys :(

Share this post


Link to post
Share on other sites
Advertisement

Good summary, I'm writing this from OSX booting off my nForce SATA drive so I can say it really works :) There's a wiki article at http://wiki.osx86project.org/wiki/index.ph...ATA_hard_drives that covers quite a rare situation I had (only a SATA drive and native install via VMWare wouldn't work) but I think various parts of it can be helpful anyway - parts 1 and 3 for getting nForce SATA working, parts 2, 4 and 5 if anyone needs to transfer an existing installation (e.g. on a VMWare virtual partition) to a disk partition...

 

Tom

Share this post


Link to post
Share on other sites

for some reason darwin boot menu only appears if i have my SATA array plugged in Chain0 on C: drive for dual boting now i want only OSX and to use my sata drives i have appleviaata and it loads and detects drives every boot.

 

why do i get a boot disk failure if they are unpluged.? my 160 Gb drive that has OSX on is partitioned like this OSX / OSXbckup / DaTA

Share this post


Link to post
Share on other sites

All that I've written, is pretty much all of my knowledge. I myself cannot get macintosh to boot at all, always getting errors.

 

I must've tried at least 400boots, doing different things trying to get it working. And I've only managed to get it to boot once, and that was a fluke. (I had corrected the permissions with my DVD that I put AppleVIAATA.kext on)

 

I'm hoping this thread will 'blosom', and a fully working SATA support will be out soon.

 

EDIT: Links about the IOATAController device blocking bus and Still waiting for root device:

 

http://www.360insider.net/forums/showthread.php?t=157

http://www.macminute.com/cgi-bin/wwwthread...l&Number=197106

http://wiki.osx86project.org/wiki/index.ph...e.22_message.3F

 

And if you can somtimes get to a Blue screen, but nothing loads:

 

http://wiki.osx86project.org/wiki/index.ph...nothing_load.3F

http://wiki.osx86project.org/wiki/index.ph...when_booting.3F

Share this post


Link to post
Share on other sites

I'm confused. I have an A8N-SLI mobo (nforce chipset) and an nVidia PCI Express graphics card. The SATA workaround works if I delete the Extension cache files and reboot, but the AppleOnboardPCATA.kext that I installed for the PATA drive gives an error message. xbench then shows only 6MB/sec speed for the PATA drive but something like 30-40MB/sec for the SATA drive.

 

When I reboot again, an error is generated for the AppleVIAATA.kext, but the AppleOnboardPCATA.kext looks like it loads. xbench shows 20-30MB/sec for the PATA and the SATA is not detected.

 

As for the graphics, everything looks OK with xbench, except for OpenGL which runs at 4-5 frames/sec.

 

What gives?

Share this post


Link to post
Share on other sites

hi

i finally got sata on my nforce 4 mobo ...

but the problem is that i get less score on xbench than an ide drive...

 

any suggestions?

Share this post


Link to post
Share on other sites

Am interested to try this out for my nForce 4 setup (my SATA is my data drive), but am worried that this may corrupt my precious data inside.

 

Have there been any cases of corrupted data before using this kext?

Thanks.

Share this post


Link to post
Share on other sites

I used myzars install disk to install osx on my nforce 4 mobo (DFI). I needed to patch it two times but it's good now and boots extremely fast.

Share this post


Link to post
Share on other sites
Am interested to try this out for my nForce 4 setup (my SATA is my data drive), but am worried that this may corrupt my precious data inside.

 

Have there been any cases of corrupted data before using this kext?

Thanks.

 

Don't try on nForce4!!!

Your data on SATA HD will be corupted, like me.

Share this post


Link to post
Share on other sites

Hello, thanks for posting a new topic, the old one really was cluttered and dmca adjusted :censored2:. anyway, i just bought an nforce 3 mobo to replace my sis board thinking that this one would be better supported (asus k8N? ai mobo) well now i get native sound but unfortunately it killed the qe/ci acceleration with my ati 9600xt :) so i dont know if theres a fix for that. But, also to stay on topic here, I'm wondering if someone could post the udma and sata fixes in one post. Or maybe just add on how to fix the udma. BTW, the ids for nforce3 boards are 00e310de and 00e510de for the first and second ide channels respectively. I'm gonna start working on this as soon as i get a few things fixed around the house.. then osx will get my full attention. I'm gonna see what i can do for the ati problem first then ill play around with udma/sata. Hopefully i can contribute something :/

Share this post


Link to post
Share on other sites
Don't try on nForce4!!!

Your data on SATA HD will be corupted, like me.

 

Gee, thanks for the warning. Guess it's better to be safe than sorry. :happymac:

Share this post


Link to post
Share on other sites

I just tried it, and hurrah, I can now access all my data (I've got a 200gb data storage on sata)

 

EDIT - Spoke to soon. Corruption and instability.

Share this post


Link to post
Share on other sites

this need to do it in the instalation process or in the vmware instaled image?

 

there is no patch por the instalation dvd for this?

Share this post


Link to post
Share on other sites

search a often mentioned place for ppf2 and then ppf3 (this one corrects permission on the kext and should enable you to boot everytime without safemode, so i been told. gonna try for myself shortly) add these patches to a 10.4.4/5 dvd and you should be good to go.

Share this post


Link to post
Share on other sites

From a brief glance it looks like progress is being made, when I get back from my holiday I will also contribute as much as possible. But for now I do not have the time, so I will see you all in 1 week.

Share this post


Link to post
Share on other sites

I just had a go at a fresh install on a Samsung SP1213C 120Gb SATA Drive. with a 10.4.4 / 5 DVD patched with ppf2 then ppf3 cant even get to the installer keep freez`n durin erase or partitioning of the disk.

Share this post


Link to post
Share on other sites

ok, i've been working with this for a while, and here are my findings. will post more sometime tonight.

 

System specs first though.

 

Gigabyte GA-8N-SLI Pro

Nforce 4 chipset.

 

200 GB SATA Maxtor HD (Windows XP, NTFS)

40 GB IDE Western Digital HD (OSX, Native Install, Primary Master)

52x Sony CD-RW (Secondary Master)

16x Sony DVD-RW (Secondary Slave)

 

 

It feels like I've been beating my head against the wall with this, what I have been trying is to use the 40 GB IDE drive for OS and Apps, and the 200 for data since the SATA is not recognizable during DVD boot.

 

Any time I would try to access the drive, it would lock the system up, but a few days ago I tried turning off my Secondary IDE channel, and when I booted into OSX it worked perfectly. I transfered a couple disc images and 20 GB of music without a problem. Tonight, as soon as I find my XP disc, I am going to try installing XP on the 30 GB, then install OSX through VMware on the SATA drive, and put the disc drives on the primary channel afterwards. Dunno how all this is going to work out, but I'll know more in a bit.

Share this post


Link to post
Share on other sites

Wow.

 

Just to let you know, this managed to get my boot device detected after me trying everything... I guess I did something wrong.

 

However, until i typed -f -v at start up, it didn't work. So if you're getting the same error after doing this, try -f -v when you choose your advanced options.

 

New problems have come up, but at least my boot device is getting detected!

 

(ASUS A8N-E, WD SATA HDD, nForce 4)

Share this post


Link to post
Share on other sites

As some people have noticed, this solution gets the SATA drive recongnized, but the driver is very buggy and your garanteed corrupted data. After about 2 or 3 boots my drive became so corrupted it does not even boot anymore.

Share this post


Link to post
Share on other sites

My SATA drive is detected, but other problems are making it next to impossible to run native.

 

I think the driver did cause my OSX install to get a sibling error or something along those lines.

 

But what I wanted to say is the volume/partition is only affected, not the whole drive. My data on the rest of the drive is fine.

 

I'm pretty sure it won't cause problems on the rest of your drive, so give it a go.

Share this post


Link to post
Share on other sites

I get the error "IOATAController device blocking bus", but it doesn't stop me from using the hard drive. Can someone explain to me in detail why this error is a problem? Give me the symptoms, maybe a log, the works.

 

The pay-off is I might write a fix.

Share this post


Link to post
Share on other sites

Which logs would help you? "dmesg" output doesn't give too much information besides the "IOATAController device blocking bus" error message. Are there more detailed log files? Can we run the AppleVIAATA.kext in debug mode?

Share this post


Link to post
Share on other sites

Anything you have, but I mean. My basic question is quite simply: Why is this error message causing problems? Because it's not causing any for me.

 

As far as I know, there's no way to run AppleVIAATA.kext in debug mode without recompiling the thing, which is one of the things I plan to do. The dmesg output would be helpful, just the stuff around the "IOATAController device blocking bus": context is important, including things like whether the message repeats indefinitely, etc.

 

No one has told me straight out exactly what is going on.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×