Help - Search - Members - Calendar
Full Version: AHCI ICH9 10.5.3?
InsanelyMac Forum > OSx86 Project > Hardware and Drivers > SATA/IDE Controllers
iSkylla
What kexts should we use in 10.5.3 for AHCI support? Cyclonefr says his kexts are useless in 10.5.3. Any ideas?
wmarsh
QUOTE(iSkylla @ May 28 2008, 11:06 PM) *
What kexts should we use in 10.5.3 for AHCI support? Cyclonefr says his kexts are useless in 10.5.3. Any ideas?

For ICH8R I had to use the 10.5.2 AppleAHCIPort.kext as patched to include device ids.
Patching the 10.5.3 one did not work.
knewsom
no trouble here.
sg
the apple supplied kexts in 10.5.3 work perfectly with ICH9-R.
iSkylla
QUOTE(sg @ May 29 2008, 04:31 PM) *
the apple supplied kexts in 10.5.3 work perfectly with ICH9-R.


Would you mind gathering those up and uploading them here or mediafire? I would appreciate that. Thanks.
Cathul
QUOTE(iSkylla @ May 29 2008, 05:06 AM) *
What kexts should we use in 10.5.3 for AHCI support? Cyclonefr says his kexts are useless in 10.5.3. Any ideas?

Why don't you use the one provided in the 10.5.3 update?
They recognize all my SATA ports on my ICH9 chipset except for the name and orange icons.
cyclonefr
Yes they are useless: they are actually the same version as the ones supplied in 10.5.3 which provide more than 2 SATA ports support !
iSkylla
I get a KP when I wake up from sleep which points to IOAHCIFamily and BlockStorage (a plugin I believe). Cyclone, could you send me the kexts you use?
Hagar
Funny, on my (ICH9) board they work *better* than the 10.5.2 ones.. the internal drive is now recognised as such.
iSkylla
QUOTE(Hagar @ May 31 2008, 12:25 AM) *
Funny, on my (ICH9) board they work *better* than the 10.5.2 ones.. the internal drive is now recognised as such.


Then would you please post them? I keep asking and no one has done it, please post the kexts that work and tell me if you're using AHCI or not.
Headrush69
QUOTE(iSkylla @ May 31 2008, 09:22 AM) *
Then would you please post them? I keep asking and no one has done it, please post the kexts that work and tell me if you're using AHCI or not.

I originally had unmodified AHCI kexts I was using with 10.5.2 on my ICH9R chipset and all worked great.
Updated correctly to 10.5.3 and AHCI mode would no longer work. (waiting for root problem)

Switched to SATA/IDE mode and was able to boot. Replaced AppleAHCIPort, IOATAFamily, and IOAHCIFamily with 10.5.2 versions and rebooted.
Bam. Kernel panic in both AHCI and SATA/IDE mode now.

Booted off Installation DVD and inspected AppleAHCIPort Info.list and noted that the ICH9RAHCI entry in IOKitPersonalities was no longer there. (several others also missing)

Had a friend email the three kexts from 10.5.3 mentioned above again, and installed. Checked Info.list again and see ICH9RAHCI entry is in that copy.
Rebooted and both AHCI and SATA/IDE mode are working again, with unmodified 10.5.3 versions.


iSkylla
Do you mind posting those 3 kexts? Also, could you post your IOUSBFamily kext?
iSkylla
Thanks for the kexts Headrush. They allow me to boot with either AHCI enabled or disabled. Unfortunately I still get a KP on wake with AHCI enabled, but with it disabled, sleep works just fine.
Common Sense
Headrush69: Could I have the 3 kext files that you sent to iSkylla? Thanks alot!
ddrdark
QUOTE(Common Sense @ May 31 2008, 09:02 PM) *
Headrush69: Could I have the 3 kext files that you sent to iSkylla? Thanks alot!

here you have tongue.gif
Headrush69
QUOTE(ddrdark @ May 31 2008, 08:30 PM) *
here you have tongue.gif

That's the version we already have that is missing the IOKitPersonalities entries in AppleAHCIPort.kext


ddrdark
QUOTE(Headrush69 @ Jun 1 2008, 12:35 AM) *
That's the version we already have that is missing the IOKitPersonalities entries in AppleAHCIPort.kext

they are the original kexts of the combo update 10.5.3. I can boot with this files, and I have an ICH9R! biggrin.gif
iSkylla
Does your sleep work with AHCI enabled?
ddrdark
QUOTE(iSkylla @ Jun 1 2008, 12:45 AM) *
Does your sleep work with AHCI enabled?

Yes biggrin.gif
knewsom
Sleep on S1 works on mine, with both the kexts from 10.5.2 and .5.3, but I went back to the .5.2 AppleAHCIPort.kext from the new one because restart had ceased to reboot the computer.

Now, the .5.2 kext just shows unknown controller in my System Profiler, but they all WORK just fine. weird.

Should I downgrade the other kexts too? So that I'm working with all the same version? Or try updating them again to see if reboot magically works now?
iSkylla
QUOTE(ddrdark @ Jun 1 2008, 10:40 PM) *
Yes biggrin.gif


Do you mind posting your kexts too?
ddrdark
QUOTE(iSkylla @ Jun 2 2008, 03:50 PM) *
Do you mind posting your kexts too?

Please can you tell me what kext do you need in order to upload it?
iSkylla
QUOTE(ddrdark @ Jun 2 2008, 12:49 PM) *
Please can you tell me what kext do you need in order to upload it?


The AHCI Kexts.

AppleAHCIPort
IOAHCIFamily
IOATAFamily
IOUSBFamily
ddrdark
QUOTE(iSkylla @ Jun 2 2008, 04:52 PM) *
The AHCI Kexts.

AppleAHCIPort
IOAHCIFamily
IOATAFamily
IOUSBFamily

Here you have tongue.gif. Hope this helps!
knewsom
huh. I'm not seeing any strings for ICH9R chipsets in any of these... Has anyone ever seen a kext with it included? Or have we with this chipset always been using it as Generic?
iSkylla
You can always add those strings with the device IDs. It doesn't matter to the computer whether it's unknown or ICH9 or ICH9R. It's simply aesthetics.

I just installed a retail OSX on another partition and with a nifty kext that disables CPUPowerManagement I updated to 10.5.3 using software update. Yay. I am trying the kexts that were just posted for AHCI to see if sleep still KPs with AHCI enabled on my board, ICH9.
iSkylla
Just an update.

With those new kexts, I just added ICH9 for aesthetics in the System Profiler and installed them on my new 10.5.3 system. It was a Retail 10.5 DVD from Apple with three kexts added, dsmos, SMBIOS Enabler, and CPU Power disabler. Updated to 10.5.3 through system profiler, replaced the default ACHI kexts with the new/modded ones and sleep worked great. Nice. Hopefully it will stay that way tongue.gif
iSkylla
Oh crap, now it's happening again, KP upon wake. I thought I knew what was causing it, Paragon NTFS for Mac v6.5 but I uninstalled that and the panic still happened. Back to searching.
knewsom
How exactly did you find your device ID, and what exact code did you use for modifying your kext?
GingerPrince
iSkilla - I don't see any difference between the 10.5.3 kexts and the ones that DDRDark has posted. Why do they work for you but the 10.5.3 ones don't?

I still get the waiting for root device error on ICH9R. (p5k-e). Which is very odd considering those kexts work for DDRDark.
knewsom
Oddly enough, my ICH9R chipset was working with a straight vanilla install of .5.3, but was showing up as "Generic" in system profiler. To fix that, I added the following to the info.plist in the AppleAHCIPort.kext file. (First copy it out of your extensions folder, then right-click on it and select "show package contents" in there, open info.plist in BBEDIT, and insert the following:

CODE
        <key>ICH9RAHCI</key>
        <dict>
            <key>CFBundleIdentifier</key>
            <string>com.apple.driver.AppleAHCIPort</string>
            <key>Chipset Name</key>
            <string>ICH9-R AHCI</string>
            <key>IOClass</key>
            <string>AppleAHCI</string>
            <key>IOPCIPrimaryMatch</key>
            <string>0x29228086</string>
            <key>IOProbeScore</key>
            <integer>2000</integer>
            <key>IOProviderClass</key>
            <string>IOPCIDevice</string>
            <key>Vendor Name</key>
            <string>Intel</string>
        </dict>
        <key>ICH9RRAID</key>
        <dict>
            <key>CFBundleIdentifier</key>
            <string>com.apple.driver.AppleAHCIPort</string>
            <key>Chipset Name</key>
            <string>ICH9-R RAID</string>
            <key>IOClass</key>
            <string>AppleAHCI</string>
            <key>IOPCIPrimaryMatch</key>
            <string>0x29258086</string>
            <key>IOProbeScore</key>
            <integer>2000</integer>
            <key>IOProviderClass</key>
            <string>IOPCIDevice</string>
            <key>Vendor Name</key>
            <string>Intel</string>
        </dict>


inbetween the following:
CODE
        <key>ICH8MAHCI</key>
        <dict>
            <key>CFBundleIdentifier</key>
            <string>com.apple.driver.AppleAHCIPort</string>
            <key>Chipset Name</key>
            <string>ICH8-M AHCI</string>
            <key>IOClass</key>
            <string>AppleICH8AHCI</string>
            <key>IOPCIPrimaryMatch</key>
            <string>0x28298086</string>
            <key>IOProbeScore</key>
            <integer>2000</integer>
            <key>IOProviderClass</key>
            <string>IOPCIDevice</string>
            <key>Vendor Name</key>
            <string>Intel</string>
        </dict>


and
CODE
    </dict>
    <key>OSBundleLibraries</key>
    <dict>
        <key>com.apple.iokit.IOAHCIFamily</key>
        <string>1.0.0</string>
        <key>com.apple.iokit.IOPCIFamily</key>
        <string>1.0.0</string>
        <key>com.apple.kpi.bsd</key>
        <string>8.0.0</string>
        <key>com.apple.kpi.iokit</key>
        <string>8.0.0</string>
        <key>com.apple.kpi.libkern</key>
        <string>8.0.0</string>
        <key>com.apple.kpi.mach</key>
        <string>8.0.0</string>
    </dict>
    <key>OSBundleRequired</key>
    <string>Local-Root</string>
</dict>
</plist>


so it should read (in entirety)
CODE
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>CFBundleDevelopmentRegion</key>
    <string>English</string>
    <key>CFBundleExecutable</key>
    <string>AppleAHCIPort</string>
    <key>CFBundleGetInfoString</key>
    <string>Version 1.5.1, Copyright 2005-2008, Apple Inc.</string>
    <key>CFBundleIdentifier</key>
    <string>com.apple.driver.AppleAHCIPort</string>
    <key>CFBundleInfoDictionaryVersion</key>
    <string>6.0</string>
    <key>CFBundleName</key>
    <string>AppleAHCI</string>
    <key>CFBundlePackageType</key>
    <string>KEXT</string>
    <key>CFBundleShortVersionString</key>
    <string>1.5.1</string>
    <key>CFBundleSignature</key>
    <string>????</string>
    <key>CFBundleVersion</key>
    <string>1.5.1</string>
    <key>IOKitPersonalities</key>
    <dict>
        <key>GenericAHCI</key>
        <dict>
            <key>CFBundeIdentifier</key>
            <string>com.apple.driver.AppleAHCIPort</string>
            <key>Chipset Name</key>
            <string>AHCI Standard Controller</string>
            <key>IOClass</key>
            <string>AppleAHCI</string>
            <key>IOPCIClassMatch</key>
            <string>0x01060100&amp;0xffffff00</string>
            <key>IOProbeScore</key>
            <integer>800</integer>
            <key>IOProviderClass</key>
            <string>IOPCIDevice</string>
            <key>Vendor Name</key>
            <string>Unknown </string>
        </dict>
        <key>ICH6 ESB2 AHCI</key>
        <dict>
            <key>CFBundleIdentifier</key>
            <string>com.apple.driver.AppleAHCIPort</string>
            <key>Chipset Name</key>
            <string>ESB2 AHCI</string>
            <key>IOClass</key>
            <string>AppleAHCI</string>
            <key>IOPCIPrimaryMatch</key>
            <string>0x26818086</string>
            <key>IOProbeScore</key>
            <integer>2000</integer>
            <key>IOProviderClass</key>
            <string>IOPCIDevice</string>
            <key>Vendor Name</key>
            <string>Intel</string>
        </dict>
        <key>ICH7MAHCI</key>
        <dict>
            <key>CFBundleIdentifier</key>
            <string>com.apple.driver.AppleAHCIPort</string>
            <key>Chipset Name</key>
            <string>ICH7-M AHCI</string>
            <key>IOClass</key>
            <string>AppleAHCI</string>
            <key>IOPCIPrimaryMatch</key>
            <string>0x27c58086</string>
            <key>IOProbeScore</key>
            <integer>2000</integer>
            <key>IOProviderClass</key>
            <string>IOPCIDevice</string>
            <key>Vendor Name</key>
            <string>Intel</string>
        </dict>
        <key>ICH8MAHCI</key>
        <dict>
            <key>CFBundleIdentifier</key>
            <string>com.apple.driver.AppleAHCIPort</string>
            <key>Chipset Name</key>
            <string>ICH8-M AHCI</string>
            <key>IOClass</key>
            <string>AppleICH8AHCI</string>
            <key>IOPCIPrimaryMatch</key>
            <string>0x28298086</string>
            <key>IOProbeScore</key>
            <integer>2000</integer>
            <key>IOProviderClass</key>
            <string>IOPCIDevice</string>
            <key>Vendor Name</key>
            <string>Intel</string>
        </dict>
        <key>ICH9RAHCI</key>
        <dict>
            <key>CFBundleIdentifier</key>
            <string>com.apple.driver.AppleAHCIPort</string>
            <key>Chipset Name</key>
            <string>ICH9-R AHCI</string>
            <key>IOClass</key>
            <string>AppleAHCI</string>
            <key>IOPCIPrimaryMatch</key>
            <string>0x29228086</string>
            <key>IOProbeScore</key>
            <integer>2000</integer>
            <key>IOProviderClass</key>
            <string>IOPCIDevice</string>
            <key>Vendor Name</key>
            <string>Intel</string>
        </dict>
        <key>ICH9RRAID</key>
        <dict>
            <key>CFBundleIdentifier</key>
            <string>com.apple.driver.AppleAHCIPort</string>
            <key>Chipset Name</key>
            <string>ICH9-R RAID</string>
            <key>IOClass</key>
            <string>AppleAHCI</string>
            <key>IOPCIPrimaryMatch</key>
            <string>0x29258086</string>
            <key>IOProbeScore</key>
            <integer>2000</integer>
            <key>IOProviderClass</key>
            <string>IOPCIDevice</string>
            <key>Vendor Name</key>
            <string>Intel</string>
        </dict>
    </dict>
    <key>OSBundleLibraries</key>
    <dict>
        <key>com.apple.iokit.IOAHCIFamily</key>
        <string>1.0.0</string>
        <key>com.apple.iokit.IOPCIFamily</key>
        <string>1.0.0</string>
        <key>com.apple.kpi.bsd</key>
        <string>8.0.0</string>
        <key>com.apple.kpi.iokit</key>
        <string>8.0.0</string>
        <key>com.apple.kpi.libkern</key>
        <string>8.0.0</string>
        <key>com.apple.kpi.mach</key>
        <string>8.0.0</string>
    </dict>
    <key>OSBundleRequired</key>
    <string>Local-Root</string>
</dict>
</plist>


now save a backup of your original, unaltered 10.5.3 kext, and then replace the one in your extensions folder with the new one, repair permissions, delete the extensions.mkext cache file, and reboot with fingers crossed. Now ICH9R should show up in your System Profiler, like, being recognized for real this time.
GingerPrince
Hmm. No. I've tried all that already and I still get waiting for root device. Since I updated to 10.5.3, it's never worked. What you're doing is just adding a PCI Dev ID in that provides a specific string lookup for the device profiler, it doesn't alter the way the kext works in any way.

I could go back the 10.5.2 kexts and I'm sure it would work. I want to know why the 10.5.3 doesn't work for me though!

cheers,
Matt
Superhai
I have ICH9R and have OSX installed twice. The update made one of them stop booting, so I think it is due that the 10.5.3 it wont boot from the last SATA ports for some odd reason. It find all drives whn OSX is coming up.
iSkylla
I've tried probably every AHCI kext there is out there. Maybe it's just a thing with AHCI and sleep with my board.
GingerPrince
I've tried those kexts posted by ddrdark and my machine is back up and running now, thanks!

I think the only thing I did differently was to replace the IOATAFamily.kext as well and it all fired into life. For 10.5.2, I was using the cyclonefr kexts from this thread which meant that I effectively had AppleAHCI + IOAHCIFamily from 10.5.3 and an IOATAFamily from cyclonefr. I wonder if it was the mix of those files causing the 'waiting for root device'.

One final question - why do people replace the IOUSBFamily kext? My USB has always worked fine. What's the advantage of this version?

cheers,
Matt
firstcolle
HI!
i have a ICH9R in AHCI mode.

With the 10.5.2 i see in system profiler "Intel ICH9R AHCI" and all sata work fine.
With the 10.5.3 i see in system profiler "Generic AHCI controller" and all sata work fine.

What i can do to fix this problem??

can i reinstal the old kext?? wich??
tuck1989
iSkylla,
I know this is a little off thread, but where did you get the appleintelcpu disabler? also, how did you get around the problem where the "1" script in the install on startup points to "do not install mac os x" and not "dsmos.kext"? Would love to be able to use software update, and I do have a retail copy of osx...
tuck1989
I also have a booting system using ddrdark's kexts. What's different from the stock ones being installed on our funky systems????

Edit: Wow, now sleep works too. Didn't have that even on 10.5.2

Edit2: hmm. Seems that menu sleep works fine, but allowing the system to sleep on its own via energy saver settings didn't work.

Edit3: just got a kernel panic on shutdown? only seems to occur after going in and out of sleep modes.
EnCoDeD
Here are my Kext files that work with or with out AHCI in the bios and are listed correct in the profiler....
wmarsh
QUOTE(EnCoDeD @ Jun 7 2008, 01:18 PM) *
Here are my Kext files that work with or with out AHCI in the bios and are listed correct in the profiler....

I can confirm EnCoDeD's fix works for 10.5.3 on ICH8R, and updates AppleAHCIPort.kext to v1.5.1
EnCoDeD
Glad they work for you ....... I think I might make my own update or dvd with some new drivers and stuff to get my stuff (see signature) and others working......
wmarsh
QUOTE(EnCoDeD @ Jun 9 2008, 05:49 PM) *
Glad they work for you ....... I think I might make my own update or dvd with some new drivers and stuff to get my stuff (see signature) and others working......

I could compare the files -- but its probably more time efficient to ask.

I had tried patching info.plist in AppleAHCIPort to add my device ID, which I see you also did.
That by itself did not work for me.

What else did you patch?
webchroma
Hi,

thanks a lot, had Problems with ICH9 not recognized after kaly comboupdate to 10.5.3 (on a P35-DS3) and at least solved with the kext from EnCoDeD, thanks biggrin.gif

With ICH not recognized properly I had problems with Reboot, Shutdown and timemachine. now is all fine.

just going now to fix nvinject problem (after update to 10.5.3 i have no QE, even if Nvinject is the same....) and then audio.

bye piero

My System:
Kalyway 10.5.2 + Comboupdate 10.5.3
Online update 10.5.4
Gigabyte P35-DS3 rev 2.0
Intel 2 DUO E6600 @ 2400
4GB OCZ GOLD 800MHZ
ASUS EN 7300GT SILENT
2x WDC WD2500YS 250GB

Murph24
QUOTE(EnCoDeD @ Jun 7 2008, 05:18 PM) *
Here are my Kext files that work with or with out AHCI in the bios and are listed correct in the profiler....


Worked for me! I can know boot up with SATA in RAID mode.

Thanks!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.