Jump to content

ATI IXP ATA Driver repost


scousi
 Share

66 posts in this topic

Recommended Posts

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)

AppleOnboardPCATA.kext.zip

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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/

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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 ;-)

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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 :)

 

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"

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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! :)

Link to comment
Share on other sites

 Share

×
×
  • Create New...