Jump to content

ATI IXP ATA Driver repost


  • Please log in to reply
65 replies to this topic

#1
scousi

scousi

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 308 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.app...l?artnum=106290

2007-04-11 (Fix typo in command)

Attached Files



#2
davi6228

davi6228

    InsanelyMac Protégé

  • Members
  • Pip
  • 6 posts
Thanks again scousi!

#3
rincy2000

rincy2000

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 2 posts
Hi Scousi!

That was fast ;-) thx a lot!

Rince

#4
rincy2000

rincy2000

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 2 posts
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

#5
EdFlyer

EdFlyer

    Computer Lackey

  • Members
  • PipPipPip
  • 159 posts
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.

#6
fireshark

fireshark

    Your Mom

  • Members
  • PipPipPipPipPipPip
  • 489 posts
the only x86 audio kexts afaik are ac97, applehda, and appleazalia

#7
Fuzzlet

Fuzzlet

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 126 posts
Does this support SATA or just IDE?

#8
scousi

scousi

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 308 posts

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.

#9
cyberwolf

cyberwolf

    InsanelyMac Protégé

  • Members
  • Pip
  • 26 posts
I have both SATA and PATA on mine and I can confirm that only PATA works. However, it's still a brilliant fix!

#10
EdFlyer

EdFlyer

    Computer Lackey

  • Members
  • PipPipPip
  • 159 posts
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.

#11
lanbo

lanbo

    InsanelyMac Protégé

  • Members
  • Pip
  • 19 posts
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!

#12
scousi

scousi

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 308 posts

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.wa...-members.co.uk/

#13
lanbo

lanbo

    InsanelyMac Protégé

  • Members
  • Pip
  • 19 posts
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!

#14
scousi

scousi

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 308 posts

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.

#15
lanbo

lanbo

    InsanelyMac Protégé

  • Members
  • Pip
  • 19 posts

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

#16
lanbo

lanbo

    InsanelyMac Protégé

  • Members
  • Pip
  • 19 posts
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?

#17
scousi

scousi

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 308 posts

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.

#18
lanbo

lanbo

    InsanelyMac Protégé

  • Members
  • Pip
  • 19 posts

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.

#19
DrJägermeister

DrJägermeister

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,028 posts
  • Location:Somewhere in France
  • Interests:Sex, drugs and rock & roll

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-se.../insert_en.html

#20
lanbo

lanbo

    InsanelyMac Protégé

  • Members
  • Pip
  • 19 posts
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.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2017 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy