Subscribe to our RSS news feed
AAPL 199.94 (-1.25)

4 Pages V   1 2 3 > »   
Reply to this topic Start new topic
ATI IXP ATA Driver repost, ATI x200 chipset
*****
  • Group: Members
  • Posts: 262
  • Joined: 12-November 05
  • Member No.: 15,289
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)
Attached File(s)
Attached File  AppleOnboardPCATA.kext.zip ( 33.2K ) Number of downloads: 4064
 
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 6
  • Joined: 29-January 06
  • Member No.: 21,950
Thanks again scousi!
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 2
  • Joined: 15-August 05
  • Member No.: 6,300
Hi Scousi!

That was fast ;-) thx a lot!

Rince
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 2
  • Joined: 15-August 05
  • Member No.: 6,300
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
PM Profile Card
Go to the top of the page
+ Quote Post
***
  • Group: Members
  • Posts: 159
  • Joined: 7-January 06
  • Member No.: 19,286
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.
PM Profile Card
Go to the top of the page
+ Quote Post
******
  • Group: Members
  • Posts: 486
  • Joined: 2-December 05
  • Member No.: 17,116
the only x86 audio kexts afaik are ac97, applehda, and appleazalia
PM Profile Card
Go to the top of the page
+ Quote Post
***
  • Group: Members
  • Posts: 126
  • Joined: 11-August 05
  • Member No.: 4,002
Does this support SATA or just IDE?
PM Profile Card
Go to the top of the page
+ Quote Post
*****
  • Group: Members
  • Posts: 262
  • Joined: 12-November 05
  • Member No.: 15,289
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.
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 26
  • Joined: 25-January 06
  • Member No.: 21,420
I have both SATA and PATA on mine and I can confirm that only PATA works. However, it's still a brilliant fix!
PM Profile Card
Go to the top of the page
+ Quote Post
***
  • Group: Members
  • Posts: 159
  • Joined: 7-January 06
  • Member No.: 19,286
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.
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 19
  • Joined: 12-August 05
  • Member No.: 4,503
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!
PM Profile Card
Go to the top of the page
+ Quote Post
*****
  • Group: Members
  • Posts: 262
  • Joined: 12-November 05
  • Member No.: 15,289
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/
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 19
  • Joined: 12-August 05
  • Member No.: 4,503
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!
PM Profile Card
Go to the top of the page
+ Quote Post
*****
  • Group: Members
  • Posts: 262
  • Joined: 12-November 05
  • Member No.: 15,289
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.
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 19
  • Joined: 12-August 05
  • Member No.: 4,503
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 ;-)
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 19
  • Joined: 12-August 05
  • Member No.: 4,503
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?
PM Profile Card
Go to the top of the page
+ Quote Post
*****
  • Group: Members
  • Posts: 262
  • Joined: 12-November 05
  • Member No.: 15,289
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.
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 19
  • Joined: 12-August 05
  • Member No.: 4,503
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.
PM Profile Card
Go to the top of the page
+ Quote Post
********
  • Group: Members
  • Posts: 1,028
  • Joined: 27-September 05
  • From: Somewhere in France
  • Member No.: 12,030
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
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 19
  • Joined: 12-August 05
  • Member No.: 4,503
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.
PM Profile Card
Go to the top of the page
+ Quote Post
4 Pages V   1 2 3 > » 
Reply to this topic Start new topic

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

RSS Lo-Fi Version Time is now: 21st November 2009 - 01:15 PM