Help - Search - Members - Calendar
Full Version: ATI IXP ATA Driver repost
InsanelyMac Forum > OSx86 Project > Hardware and Drivers > SATA/IDE Controllers
Pages: 1, 2
scousi
By popular demand here is the kext for the SB400 ATA controller of the ATI x200. This is for ATA device id 0x43761002

I have been receiving some PMs about it so here it is.

This uses Darwin open source code so it is OK with the moderators.

Add this to your /System/Library/Extensions directory

Make sure you rename (or delete) the AppleGenericPCATA.kext to AppleGenericPCATA.kext_disabled

command = "mv /System/Library/Extensions/AppleGenericPCATA.kext /System/Library/Extensions/AppleGenericPCATA.kext_disabled

EDIT: Somtimes, the AppleGenericPCATA.kext extension has been found in the System/Library/Extensions/IOATAFamily.kext/Contents/PlugIns directory.

Remove or rename it from there too.

If you run into a problem, you can use the trial version of MacDrive to access your installation partition from XP.

If you are not comfortable with all these strange unix commands, you can enable the root user that allows you to perform all these manipulations with the GIU.

Here's how:

http://docs.info.apple.com/article.html?artnum=106290

2007-04-11 (Fix typo in command)
davi6228
Thanks again scousi!
rincy2000
Hi Scousi!

That was fast ;-) thx a lot!

Rince
rincy2000
Hi again!

Changed the kext and osx86 boots up really fast -- UDMA 5 works, but now there is another problem: The login window crashes. Anyone experienced that prob? Maybe a timing issue? Under Windows XP UDMA 5 works flawlessly....

Rince
EdFlyer
Freaking works like a charm......that's awesome. Have you thought about the ATI audio, 4370 1002. I wonder if it loads the same way as the AppleOnboardAudio. I hope to look into it soon, but I can't guarantee I'll have time. Trimester system here at college leaves no time at the end of the quarter.
fireshark
the only x86 audio kexts afaik are ac97, applehda, and appleazalia
Fuzzlet
Does this support SATA or just IDE?
scousi
QUOTE(Fuzzlet @ Feb 23 2006, 10:45 PM) *
Does this support SATA or just IDE?


I would think it would only be P-ATA. I don't even know if SB400 has S-ATA.
cyberwolf
I have both SATA and PATA on mine and I can confirm that only PATA works. However, it's still a brilliant fix!
EdFlyer
I know that ATI IXP audio isnt supported, that's why I was wondering if this was similar to the AC97 implementations for other drivers, but so far it doesn't appear that it is. the IXP audio chip has more features that the other codes. I figure scousi may have some idea how to get it working.....if i get it working on my own i'll post what i did, but don't expect anything from me for a few weeks. i have finals coming up (trimesters) and other code projects due, so I can't devote full time to this.
lanbo
Scousi, will this kind of patch work for SIS chipsets?

I see you added this line of code: { 0x43761002, 0x00, 3, "ATI IXP" } to AppleServerWorksATA.
Do you think it may work adding a similar line for SIS chipsets?

BTW, where did you get 0x43761002 from? Using reggie? What should I look for: PCI devices -> IDE controller/Host PCI or what? How did you exaclty get this number?

Thxs!
scousi
QUOTE(lanbo @ Feb 26 2006, 06:06 AM) *
Scousi, will this kind of patch work for SIS chipsets?

I see you added this line of code: { 0x43761002, 0x00, 3, "ATI IXP" } to AppleServerWorksATA.
Do you think it may work adding a similar line for SIS chipsets?

BTW, where did you get 0x43761002 from? Using reggie? What should I look for: PCI devices -> IDE controller/Host PCI or what? How did you exaclty get this number?

Thxs!


Yes Reggie would work in your case if you want to get the IDs.

You can also use this on the XP side.

http://siv.mysite.wanadoo-members.co.uk/
lanbo
Scousi, it's strange but the only AppleOnboardPCATA.kext I can find in my system is in:
/System/Library/Extensions/IOATAFamily.kext/Contents/PlugIns/AppleOnboardPCATA.kext
I have modiffied this one for the SiS chipset, but I think that the one the system is loadin is "AppleGenericPCATA.kext"
which is in: /System/Library/Extensions/IOATAFamily.kext/Contents/PlugIns/AppleGenericPCATA.kext

The profiler under the "Extensions" menu is telling that the driver being load is:


AppleGenericPCATA:

Version: 1.3
Last Modified: 11/25/05 7:33 AM
Get Info String: 1.3, Copyright Apple Computer, Inc. 2000-2004
Location: /System/Library/Extensions/IOATAFamily.kext/Contents/PlugIns/AppleGenericPCATA.kext
kext Version: 1.3
Load Address: 0x29147000
Valid: Yes
Authentic: Yes
Dependencies: Incomplete
Dependency Errors:
com.apple.iokit.IOATAFamily: No valid version of this dependency can be found
com.apple.iokit.IOPCIFamily: No valid version of this dependency can be found
com.apple.kernel.iokit: No valid version of this dependency can be found
com.apple.kernel.libkern: No valid version of this dependency can be found
Integrity: Kext has no receipt

Do you have any clue on what's going on?

Thxs again!
scousi
QUOTE(lanbo @ Feb 26 2006, 12:50 PM) *
Scousi, it's strange but the only AppleOnboardPCATA.kext I can find in my system is in:
/System/Library/Extensions/IOATAFamily.kext/Contents/PlugIns/AppleOnboardPCATA.kext
I have modiffied this one for the SiS chipset, but I think that the one the system is loadin is "AppleGenericPCATA.kext"
which is in: /System/Library/Extensions/IOATAFamily.kext/Contents/PlugIns/AppleGenericPCATA.kext

The profiler under the "Extensions" menu is telling that the driver being load is:
AppleGenericPCATA:

Version: 1.3
Last Modified: 11/25/05 7:33 AM
Get Info String: 1.3, Copyright Apple Computer, Inc. 2000-2004
Location: /System/Library/Extensions/IOATAFamily.kext/Contents/PlugIns/AppleGenericPCATA.kext
kext Version: 1.3
Load Address: 0x29147000
Valid: Yes
Authentic: Yes
Dependencies: Incomplete
Dependency Errors:
com.apple.iokit.IOATAFamily: No valid version of this dependency can be found
com.apple.iokit.IOPCIFamily: No valid version of this dependency can be found
com.apple.kernel.iokit: No valid version of this dependency can be found
com.apple.kernel.libkern: No valid version of this dependency can be found
Integrity: Kext has no receipt

Do you have any clue on what's going on?

Thxs again!


rename it with a new extension (ie AppleGenericPCATA.kext_remove), delete your caches in /System/Library/Extensions.kextcache and
/System/Library/Extensions.mkext and reboot. Make sure you have the correct ID in the Info.plist of the AppleOnboardPCATA.kext. I guess you also recompiled the new kext with the device ID in the ServerWorks source code.

This could however brick your installation.
lanbo
QUOTE(scousi @ Feb 26 2006, 07:28 PM) *
rename it with a new extension (ie AppleGenericPCATA.kext_remove), delete your caches in /System/Library/Extensions.kextcache and
/System/Library/Extensions.mkext and reboot. Make sure you have the correct ID in the Info.plist of the AppleOnboardPCATA.kext. I guess you also recompiled the new kext with the device ID in the ServerWorks source code.

This could however brick your installation.


Yes I have recompiled and changed Info.plst and I already had removed everything you said except /System/Library/Extensions.mkext. I'm removing this one and rebooting now...

Yes, I know it's risky ;-)
lanbo
Well... This is me again ............. form windows :-) Yup! I've broken my Mac Installation.
I can confirm that the trick of modifying the serverworks driver for the sis chipset doesn't work :-)

Hopefully I'll be able to access the mac drive from windows with some program and restore the files removed.

I have backups of the other drivers. Too bad I didn't make a backup of /System/Library/Extensions.mkext and /System/Library/Extensions.kextcache. Perhaps those will be created on the fly or I can get them form my installation dvd.

But, I had to try!

Scousi, do you have any idea if the same thing could work by modifying another driver?
scousi
QUOTE(lanbo @ Feb 26 2006, 01:54 PM) *
Well... This is me again ............. form windows :-) Yup! I've broken my Mac Installation.
I can confirm that the trick of modifying the serverworks driver for the sis chipset doesn't work :-)

Hopefully I'll be able to access the mac drive from windows with some program and restore the files removed.

I have backups of the other drivers. Too bad I didn't make a backup of /System/Library/Extensions.mkext and /System/Library/Extensions.kextcache. Perhaps those will be created on the fly or I can get them form my installation dvd.

But, I had to try!

Scousi, do you have any idea if the same thing could work by modifying another driver?


Try the free trial version of MacDrive to access you MAC partition from XP.
lanbo
QUOTE(scousi @ Feb 27 2006, 02:20 AM) *
Try the free trial version of MacDrive to access you MAC partition from XP.


Macdrive doesn't detect any mac partition... I guess I should see a new "disk" in my computer, right?
There's nothign there.
DrJägermeister
QUOTE(lanbo @ Feb 27 2006, 10:26 AM) *
Macdrive doesn't detect any mac partition... I guess I should see a new "disk" in my computer, right?
There's nothign there.

You can access a HFS+ partition in r/w modus with a linux live-CD, if you doesn't have any here is a small one (50MB):
http://www.inside-security.de/insert_en.html
lanbo
Thanks DrJägermeister. I solved the problem with macdrive after uninstalling daemon tools and removing sptd.sys (anyone with this problem should check the macdrive forums)

Now, if only I knew where to start to modify/create a driver for the sis chipset... Any ideas?

Changing the serverworks driver didn't do the trick. Any expert on chipsets on the Linux front? Perhaps there are some similarities which can be exploted.

I have compiled again with level 3 and it doesn't work either.
And I have also modified the nforce drive with no luck.

What is strange is that other people with sis chipsets, but different versions, have DMA enabled. I have no clue where in the code the DMA capabilities are detected.
rlepage
does this have to be installed in 10.4.4? I already have a booting system out of the box. DVD-installed.
limbohz
after placing the AppleOnboardPCATA.kext inside /System/Library/Extensions/, i could not find the AppleGenericPCATA.kext to rename. so i rebooted and osx86 booted natively. then after another reboot, it reverted back to "Waiting on root device" error.

however, i did find it inside AppleGenericPCATA.kext inside /System/Library/Extensions/IODATAFamily.kext/Contents/Plugins/

i'm going to rename it and see if it hoses the system tongue.gif

edit: doh! just reread page 1 which pertains to me missing a step - deleting the cache.

edit2: do i have to keep deleting the caches in /System/Library/Extensions.kextcache and
/System/Library/Extensions.mkext each time i boot? my system keeps reverting to the old state "still waiting for root device"
dimbulb
Turned out to be unrelated. n/m

I'm having a problem related to this here:

http://forum.osx86project.org/index.php?showtopic=8088&st=80
maq
QUOTE(rlepage @ Mar 4 2006, 03:55 PM) *
does this have to be installed in 10.4.4? I already have a booting system out of the box. DVD-installed.


If you have this chipset, yeah, you probably do. I could boot fine after working around the USB/PS2 conflict, but my Xbench scores were disgusting. Luckily, the 10.4.3 kext works in 10.4.4 and .5
Hackintosh007
I wanna ask that will this driver works with IXP 250?
My laptop has a ATI mobility 9100 IGP chipset, and I beleive its southbridge is IXP 250.
I've already found out the ven id and dev id of its IDE controller, which is 1002, 4349.

There are no sepcific driver aviliable currently so the optical is not deteced by 10.4.5 and the harddisk is slow! thumbsdown_anim.gif
insanex
I am also using a DV5000 series laptop, the ML-32 version, with the Xpress 200m chipset. I used the guide from http://www.osx86.theplaceforitall.com/howto/ and the Deadmoo image referred to in the guide. The image works fine, mounts in OSX on a G4 laptop. What I've done thus far is add the AppleOnboardPCATA.kext to the /System/Library/Extensions folder, both as AppleOnboardPCATA.kext and AppleGenericPCATA.kext. I also have tried replacing the AppleOnboardPCATA.kext within the IODATAFamily.kext kext. I have not tried putting the AppleOnboardPCATA.kext in the IODATAFamily.kext kext as AppleGenericPCATA.kext. Perhaps this is my problem? Or do I need to put the Generic driver in both the IODATAFamily.kext and the /Extensions folder? I'm getting an error with the ATI driver in the IODATAFamily.kext/Contents/PlugIns as AppleOnboard that says something to the effect of "driver not compatible with superclass" and "driver has no kernel dependency"... I've read and read all over the boards, but I'm at a loss as to what I need to do.

Thanks in advance guys.
maq
from what I remember, the deadmoo image is 10.4.1. If you downloaded that modified kext from this forum, it is probably 10.4.3. This would explain the error you're having. 10.4.1 is pretty old, you'd be better off trying 10.4.3 or later.
Zappadoc
this patch works also on ATI IXP 400 ATA Controler (many thanks).

- open /System/Library/Extensions/IOATAFamily.kext/Content/Plugins
- rename AppleGenericPCATA.kext and AppleOnBoardPCATA.kext with .kext_disable
- copy AppleOnBoardPCATA.kext in plugins folder
- check the permission of this file (i.e. chown ...)
- remove Extensions.kextcache
- rebuild the kextcache
- optionaly remove the .mkext (i did it but don't know how to rebuild it wink.gif)

reboot

That's it!
Z
something strange in this patch... if you edit the plist you can see that:
<string>0x02121166 0x02131166 0x02171166 43761002</string>


43761002 in place of 0x43761002!!!! anyway it works smile.gif

the Dual channel ATA are unsupported so you need to put an IDE disk on primary or secondary IDE...
Zappadoc
Hi Scousi, just to let you know that the IDE Disk is really boosted by the patch but now the Internal DVD-RW IDE Drive doesn't recognize any CD or DVD inserted sad.gif

kernel[0]: SAM Multimedia: READ or WRITE failed, ASC = 0x08, ASCQ = 0x03
kernel[0]: disk1s3: I/O error.

any idea?
Thanks.
Z
Zappadoc
Found this on google... I already tried all my install DVD and the official iMac-Intel 10.4.4 DVD Installer without succcess.

<< " SAM Multimedia: READ or WRITE failed, ASC = 0x11, ASCQ = 0x05"
would seem to be:
11/05 WRO B L-EC UNCORRECTABLE ERROR

This would seem to indicate that an error was detected on the DVD but that it couldn't be corrected for. (I'm guessing that "EC" stands for "error correction") I.e. it seems maybe there is merely some problem with that DVD.
Do you have problems only with that DVD or with all DVDs? >>
scousi
QUOTE(Zappadoc @ Mar 23 2006, 10:26 AM) *
Found this on google... I already tried all my install DVD and the official iMac-Intel 10.4.4 DVD Installer without succcess.

<< " SAM Multimedia: READ or WRITE failed, ASC = 0x11, ASCQ = 0x05"
would seem to be:
11/05 WRO B L-EC UNCORRECTABLE ERROR

This would seem to indicate that an error was detected on the DVD but that it couldn't be corrected for. (I'm guessing that "EC" stands for "error correction") I.e. it seems maybe there is merely some problem with that DVD.
Do you have problems only with that DVD or with all DVDs? >>


I'm using a DVD writer no problem with this driver. I wasn't aware that the DUAL channel didn't work. I have a laptop so I can't really swap things around to try.
Zappadoc
just ask if you need an ioreg?

also I want to know if I can add my SATA device 0x43791002 (accordiling to the device ID repository here : http://pci-ids.ucw.cz/iii/?i=1002 ) into AppleOnBoardPCATA driver ?
Z
scousi
QUOTE(Zappadoc @ Mar 23 2006, 12:15 PM) *
just ask if you need an ioreg?

also I want to know if I can add my SATA device 0x43791002 (accordiling to the device ID repository here : http://pci-ids.ucw.cz/iii/?i=1002 ) into AppleOnBoardPCATA driver ?
Z


I seriously doubt that you can. I haven't tried to fix SATA because I don't have SATA on my particular system - Toshiba Laptop.
Zappadoc
sorry your driver work on dua channel IDE (0x43761002) but not with 0x43791002 SATA controler...
thanks again!
Zappadoc
One thing more Scousi, in your driver the device ID has been written without the 0x, if you check the archive you will see 43761002 and not 0x43761002???
does i need to change it or not?
Thanks.
ps. the source can be compile here: darwinsource.opendarwin.org/10.4.5.x86/ ? or where? thanks
ronnyd
hi all

first of all, thank's for making this ATI IXP PATA driver

i've got intel d101ggc motherboard using ATI X200 chipset.

after strugling for awhile, i now have 10.4.5 system running on PATA primary master hdd.

my question is is anyone using this driver able to get CDROM recognized on PATA Secondary Slave ?


PS: sorry for my english, it's not my native language.


thanks in advance for any advice
ronnyd
quietglow
I'd like some info on this too. I'm running a mobo with SB400 ATA and this driver really made this thing usable, but my DVD drive on IDE2 (or the other ATA channel) shows up, but I get I/O errors anytime I try to transfer from a disc. I have two HDs on the first channel in master/slave setup and that works just fine.
Coobox Mac
WOW FINALY

I've a MSI RS480M2-IL with RS480 & SB400 Chipset

with this driver I can work in UDMA mode ? sorcerer.gif


Now I can work only slowly and slowly :-( for Installing 11H thumbsdown_anim.gif

help guys
Cheburashka
I get I/O Errors on boot referencing the root partition when I try this patch. SB400 chipset.
Cheburashka
Has no-one else gotten I/O errors on boot with this patch?
5024
QUOTE(insanex @ Mar 10 2006, 03:07 PM) *
I am also using a DV5000 series laptop, the ML-32 version, with the Xpress 200m chipset. I used the guide from http://www.osx86.theplaceforitall.com/howto/ and the Deadmoo image referred to in the guide. The image works fine, mounts in OSX on a G4 laptop. What I've done thus far is add the AppleOnboardPCATA.kext to the /System/Library/Extensions folder, both as AppleOnboardPCATA.kext and AppleGenericPCATA.kext. I also have tried replacing the AppleOnboardPCATA.kext within the IODATAFamily.kext kext. I have not tried putting the AppleOnboardPCATA.kext in the IODATAFamily.kext kext as AppleGenericPCATA.kext. Perhaps this is my problem? Or do I need to put the Generic driver in both the IODATAFamily.kext and the /Extensions folder? I'm getting an error with the ATI driver in the IODATAFamily.kext/Contents/PlugIns as AppleOnboard that says something to the effect of "driver not compatible with superclass" and "driver has no kernel dependency"... I've read and read all over the boards, but I'm at a loss as to what I need to do.

Thanks in advance guys.



I HAVE exactly the same problem on 10.4.5 with the marklar-tiger.iso

is this kext universal, or made for 10.4.3? > 10.4.4? ??

if i would like to compile it myself -> where can i get the source from (darwin??)

please provide some more info smile.gif -> i got stuck now with a vmware install on a physical partition
which is not able to boot natively

EDIT: to edit and compile the source yourself -> you can find it here ..

zappa made a more complete driver i think -> http://forum.osx86project.org/index.php?showtopic=13413
would be cool if you could share the source zappa!
Coobox Mac
On my system the patch WORKS but

sometime at boot the system hangs with

"uuid" bla bla bla
gregknac
Thanks a lot for the update kext! works like a charm, no more waiting for root device with my D101GGC mobo, however it killed my Realtek ethernet which I wouldnt think should happen.
If it were not for that it would be perfect! System loads MUCH faster now, maybe i can break a 70 in xbench now ;-)
mhc2002
hi,

when i do so , delete the AppleGenericPCATA.kext and copy the AppleOnboardPCATA.kext into Folder and delete kextcache....then the OSX boot 1x and the next boot come "Still waiting on root device". Why?




greats mhc
nepali_gurkha
hey,

could some one please clarify to me the exact command to to rename becaues it tells me that the directory dosn't exist.

"mv /System/Library/Extensions/AppleGenericPCATA.kext mv /System/Library/Extensions/AppleGenericPCATA.kext_disabled

the place i have "AppleGenericPCATA.kext" is in System/Library/Extensions/IOATAFamily.kext/Contents/PlugIns
so im not sure how to rename it and then copy the new kext into Pluins folder

Thanks
-Tabha
oktay
I installed this kext and my osx running now.But it`s too slow.How can I correct it?And my laptop keyboard and touchpad not working sad.gif
mactogo
Personally, I've noticed that the Turion 64 processor runs slow on OSX despite this fix. Try using OSX version 10.4.4, I found it to be relatively better compared to a 10.4.5 or .6 install but still not as responsive as on my Inspiron 5100
jtwo
QUOTE(mhc2002 @ May 10 2006, 08:47 AM) *
hi,

when i do so , delete the AppleGenericPCATA.kext and copy the AppleOnboardPCATA.kext into Folder and delete kextcache....then the OSX boot 1x and the next boot come "Still waiting on root device". Why?
greats mhc


I got the same problem....
How to solve this? wink2.gif
bachok83
QUOTE(nepali_gurkha @ Jun 3 2006, 04:38 AM) *
hey,

could some one please clarify to me the exact command to to rename becaues it tells me that the directory dosn't exist.

"mv /System/Library/Extensions/AppleGenericPCATA.kext mv /System/Library/Extensions/AppleGenericPCATA.kext_disabled

the place i have "AppleGenericPCATA.kext" is in System/Library/Extensions/IOATAFamily.kext/Contents/PlugIns
so im not sure how to rename it and then copy the new kext into Pluins folder

Thanks
-Tabha



that command has typo in it. at this moment, i assume that u know how to log in to root user. Ahh, what the heck, i will write it here anyway, it's simple and short.

first, if u havent set ur root password you can do so by typing
"sudo passwd root"

then it will ask you for ur current password.. follow the instructions..

then, after setting the root password, u can login to root by typing
"su" << su means super user

then type the root password u just set just now (or previously set password)

the command prompt should show root at the end (saying u are in root mode)

then type this command "mv /System/Library/Extensions/IOATAFamily.kext/Contents/PlugIns/AppleGenericPCATA.kext /System/Library/Extensions/IOATAFamily.kext/Contents/PlugIns/AppleGenericPCATA.kext_disabled"

there was two "mv" in the typo command, it should be only 1, at the beginning of the command
shedt
QUOTE(scousi @ Feb 23 2006, 10:36 AM) *
By popular demand here is the kext for the SB400 ATA controller of the ATI x200. This is for ATA devide id 0x43761002



in xp is it possible to check the id of the controller? i'm trying to find it in the hardware section of the system panel....
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.