Shaveblog Posted September 23, 2009 Share Posted September 23, 2009 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. Link to comment https://www.insanelymac.com/forum/topic/188482-badaxe2-marvell-sata-working-in-snow-leopard/ Share on other sites More sharing options...
Genex Posted September 30, 2009 Share Posted September 30, 2009 Does not work. System often freeze, Port disappear after couple of minutes... Link to comment https://www.insanelymac.com/forum/topic/188482-badaxe2-marvell-sata-working-in-snow-leopard/#findComment-1285134 Share on other sites More sharing options...
Shaveblog Posted October 1, 2009 Author Share Posted October 1, 2009 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... Link to comment https://www.insanelymac.com/forum/topic/188482-badaxe2-marvell-sata-working-in-snow-leopard/#findComment-1286038 Share on other sites More sharing options...
Jonathan Ramirez Posted October 1, 2009 Share Posted October 1, 2009 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? Link to comment https://www.insanelymac.com/forum/topic/188482-badaxe2-marvell-sata-working-in-snow-leopard/#findComment-1286150 Share on other sites More sharing options...
avian Posted October 7, 2009 Share Posted October 7, 2009 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? Link to comment https://www.insanelymac.com/forum/topic/188482-badaxe2-marvell-sata-working-in-snow-leopard/#findComment-1292322 Share on other sites More sharing options...
avian Posted November 8, 2009 Share Posted November 8, 2009 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! Link to comment https://www.insanelymac.com/forum/topic/188482-badaxe2-marvell-sata-working-in-snow-leopard/#findComment-1324008 Share on other sites More sharing options...
apple apple Posted January 22, 2010 Share Posted January 22, 2010 My BadAxe 1 runs works well with SL. If I ever get more HD's I'll give the Marvel ports a shot. Thanks. Link to comment https://www.insanelymac.com/forum/topic/188482-badaxe2-marvell-sata-working-in-snow-leopard/#findComment-1392803 Share on other sites More sharing options...
olav Posted January 25, 2010 Share Posted January 25, 2010 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. Link to comment https://www.insanelymac.com/forum/topic/188482-badaxe2-marvell-sata-working-in-snow-leopard/#findComment-1395138 Share on other sites More sharing options...
TomTom1 Posted January 29, 2010 Share Posted January 29, 2010 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!! Link to comment https://www.insanelymac.com/forum/topic/188482-badaxe2-marvell-sata-working-in-snow-leopard/#findComment-1399114 Share on other sites More sharing options...
Daniel_carrizo Posted September 19, 2010 Share Posted September 19, 2010 No work in my D975XBX2, if connect disks in he marvell ports after 5 minutes my finder is freeze. Any suggestion. Thanks Link to comment https://www.insanelymac.com/forum/topic/188482-badaxe2-marvell-sata-working-in-snow-leopard/#findComment-1551017 Share on other sites More sharing options...
jaminmc Posted September 28, 2010 Share Posted September 28, 2010 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 Link to comment https://www.insanelymac.com/forum/topic/188482-badaxe2-marvell-sata-working-in-snow-leopard/#findComment-1556194 Share on other sites More sharing options...
pihva Posted January 5, 2011 Share Posted January 5, 2011 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. Link to comment https://www.insanelymac.com/forum/topic/188482-badaxe2-marvell-sata-working-in-snow-leopard/#findComment-1615169 Share on other sites More sharing options...
Recommended Posts