Jump to content
12 posts in this topic

Recommended Posts

Thought my D975XBX2 homies running Snow might like to enable their Marvell SATA ports (5 thru 9).

 

1. Go to S/L/E and find AppleAHCIPort.kext, right-click to Show Package Contents.

 

2. Copy info.plist from Contents folder to your desktop.

 

3. Open info.plist in TextEdit and find:

 

<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&0xffffff00</string>

<key>IOProbeScore</key>

<integer>800</integer>

<key>IOProviderClass</key>

<string>IOPCIDevice</string>

<key>Vendor Name</key>

<string>Unknown</string>

 

4. Edit the following lines --

 

change: <key>IOPCIClassMatch</key>

<string>0x01060100&0xffffff00</string>

 

to: <key>IOPCIClassMatch</key>

<string>0x01060000&0xffff0000</string>

 

and change <key>Vendor Name</key>

<string>Unknown</string>

 

to: <key>Vendor Name</key>

<string>Intel</string>

 

The vendor name doesn't actually seem to matter, it's just a name to show up in System Profiler and has no effect on SATA performance for either SATA ports 1-4 or 5-9. I just dislike seeing the word "Unknown" in System Profiler..

 

5. Replace AppleAHCIPort.kext in S/L/E with this edited version from your desktop, and run Kext Utility to install/bless/mkext the S/L/E and Extra/E folders, and then since Kext Utility massively borks permissions on the kexts it's supposed to be correcting, go ahead and run Disk Utility and repair permissions for your boot drive.

 

6. Reboot. Now you should see your Marvell SATA ports, though in System Profiler they'll be listed under SATA as "Intel" just like ports 1-4. If you left the line unedited, they'll all be labeled "Unknown". Like I said, it doesn't matter in terms of actual disk speed.

 

7. Maybe this should be step 1., but it goes without saying that you need to enable Secondary SATA Ports in system BIOS if you want all of this to work.

 

I can't vouch for whether RAID works under Snow after you enable the Marvell ports, I just use them as non-RAID drives for Time Machine, daily boot drive clone, etc.

 

Okay boys, that's one more piece of the puzzle. Now someone please figure out STAC audio without @%#$ voodoo kext and we'll have this hog fully tied.

Hmm, that's odd. Works for me. Must have a different cocktail of kexts/mkexts/DSDT.

 

Seriously, if the new iMac can Geekbench above 7000, I'm through with this @%#$ Hackintoshing. Snow Leopard is just too much of a pain in the ass to run on this board and many others. Only some of the Gigabytes seems to run Snow well -- I have a cheap $50 ES2L running Snow like a {censored}, better than the BadAxe2. Everything works. It just doesn't go above 4GB of RAM, which is the deal breaker for me. Otherwise I'd be running my main rig on the Gigaybyte instead of the Intel.

 

Does not work. System often freeze, Port disappear after couple of minutes...
Thought my D975XBX2 homies running Snow might like to enable their Marvell SATA ports (5 thru 9).

 

1. Go to S/L/E and find AppleAHCIPort.kext, right-click to Show Package Contents.

 

2. Copy info.plist from Contents folder to your desktop.

 

3. Open info.plist in TextEdit and find:

 

<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&0xffffff00</string>

<key>IOProbeScore</key>

<integer>800</integer>

<key>IOProviderClass</key>

<string>IOPCIDevice</string>

<key>Vendor Name</key>

<string>Unknown</string>

 

4. Edit the following lines --

 

change: <key>IOPCIClassMatch</key>

<string>0x01060100&0xffffff00</string>

 

to: <key>IOPCIClassMatch</key>

<string>0x01060000&0xffff0000</string>

 

and change <key>Vendor Name</key>

<string>Unknown</string>

 

to: <key>Vendor Name</key>

<string>Intel</string>

 

The vendor name doesn't actually seem to matter, it's just a name to show up in System Profiler and has no effect on SATA performance for either SATA ports 1-4 or 5-9. I just dislike seeing the word "Unknown" in System Profiler..

 

5. Replace AppleAHCIPort.kext in S/L/E with this edited version from your desktop, and run Kext Utility to install/bless/mkext the S/L/E and Extra/E folders, and then since Kext Utility massively borks permissions on the kexts it's supposed to be correcting, go ahead and run Disk Utility and repair permissions for your boot drive.

 

6. Reboot. Now you should see your Marvell SATA ports, though in System Profiler they'll be listed under SATA as "Intel" just like ports 1-4. If you left the line unedited, they'll all be labeled "Unknown". Like I said, it doesn't matter in terms of actual disk speed.

 

7. Maybe this should be step 1., but it goes without saying that you need to enable Secondary SATA Ports in system BIOS if you want all of this to work.

 

I can't vouch for whether RAID works under Snow after you enable the Marvell ports, I just use them as non-RAID drives for Time Machine, daily boot drive clone, etc.

 

Okay boys, that's one more piece of the puzzle. Now someone please figure out STAC audio without @%#$ voodoo kext and we'll have this hog fully tied.

 

Do you boot perfectly snow in BADAXE?

Thanks for the info, but unfortunetly I also get Kernel Panics when using your method. I think the best thing at the moment is to wait for a 64bit compile of (insert name of person we cant mention due to banning)'s marvell kext which hopefully will be out soon.

 

In the meantime my badaxe2 seems to be running snow leopard stunningly good (ever since build 10a380 infact), only thing nagging me are the marvell ports not being operational as I wouldnt mind adding a few more hdd's. What sort of problems are you having?

  • 1 month later...
Thanks for the info, but unfortunetly I also get Kernel Panics when using your method. I think the best thing at the moment is to wait for a 64bit compile of (insert name of person we cant mention due to banning)'s marvell kext which hopefully will be out soon.

 

In the meantime my badaxe2 seems to be running snow leopard stunningly good (ever since build 10a380 infact), only thing nagging me are the marvell ports not being operational as I wouldnt mind adding a few more hdd's. What sort of problems are you having?

 

Sorry about replying to an old post, but I tried this again and its working fine now, and has been for about 2 weeks.

 

Only other changes ive made is to also add the Intel ICH7 to the same plist within AppleAHCIPort.kext (within the ICH7MAHCI section) by editing the original ven/dev id to 0x27c08086.

 

    <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>0x27c08086</string>
                       <key>IOProbeScore</key>
                       <integer>2000</integer>
                       <key>IOProviderClass</key>
                       <string>IOPCIDevice</string>
                       <key>Vendor Name</key>
                       <string>Intel</string>
               </dict>

 

At that point AppleIntelPIIXATA was still being used for the ICH7, so I renamed IOATAFamily.kext.backup/Contents/PlugIns/AppleIntelPIIXATA.kext to AppleIntelPIIXATA.kext.backup.

 

Now AppleAHCIPort seems to do both fine, without crashes and without issues. Sure I got orange removable drive icons for all the drives, but considering the intel ports do hot swap fine I kinda like it. Havent tried hot swapping the marvells.

 

Thanks for your original post Shaveblog!

  • 2 months later...
Sorry about replying to an old post, but I tried this again and its working fine now, and has been for about 2 weeks.

 

Only other changes ive made is to also add the Intel ICH7 to the same plist within AppleAHCIPort.kext (within the ICH7MAHCI section) by editing the original ven/dev id to 0x27c08086.

 

Thanks for your original post Shaveblog!

 

Have you tried several disks on the marvell controller? I thought I had a working driver in 10.5 but it failed when I attached more disks. Now I'm using a sil3132 card instead, but would be great if marvell was possible in snow leo.

:):D:huh::huh:

4. Edit the following lines --

 

change: <key>IOPCIClassMatch</key>

<string>0x01060100&0xffffff00</string>

 

to: <key>IOPCIClassMatch</key>

<string>0x01060000&0xffff0000</string>

 

and change <key>Vendor Name</key>

<string>Unknown</string>

 

to: <key>Vendor Name</key>

<string>Intel</string>

 

and

 

... also add the Intel ICH7 to the same plist within AppleAHCIPort.kext (within the ICH7MAHCI section) by editing the original ven/dev id to 0x27c08086.

 

      <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>0x27c08086</string>
                         <key>IOProbeScore</key>
                         <integer>2000</integer>
                         <key>IOProviderClass</key>
                         <string>IOPCIDevice</string>
                         <key>Vendor Name</key>
                         <string>Intel</string>
               </dict>

...

tryied it! No luck!!

  • 7 months later...
  • 2 weeks later...

Ok, NO MORE KEXT EDITING!!!!!! I edited the AHCIPortInjector.kext do that that it is working on my 2 drives connected to my Marvell controller.

 

Badaxe2_AHCIPortInjector.zip

 

 

It also injects the ICH7-R when it is even set to IDE mode in your BIOS. -- Wont have to switch back and forth if you dual boot windows....

 

I have only tested this using it in /Extra/10.6 on my EFI partition. I don't know if it would work in the /System/Library/Extensions folder. With this, you can keep your system drive Vanilla.

 

I tried to make this as simple as possible, and even included my script I use to set the permissions and make the Extensions.mkext file.

 

Put the kext file into your /Extra/10.6/Extensions folder (You may not have a 10.6 folder if you don't have a dual boot. I do, so this works on that. )

Put the Extensions.command in your /Extra/10.6 folder.

 

then in finder, double click it to run it. It should leave a Extensions.mkext in that folder, where it belongs :)

post-11463-1285711537_thumb.png

  • 3 months later...
Ok, NO MORE KEXT EDITING!!!!!! I edited the AHCIPortInjector.kext do that that it is working on my 2 drives connected to my Marvell controller.

 

Using this kext I see SATA drive connected to Marvell port (and see all Marvell ports in Sys. Profiler).

 

But once I start using this drive, in one minute or so, drive disappears. And then Systeme Profiler doesn't show any SATA ports, Marvell or Intel.

×
×
  • Create New...