Jump to content

[HOWTO] Boot Macs with Intel Chipset in AHCI Win7 Vista XP Linux


  • Please log in to reply
414 replies to this topic

#401
Gav Mack

Gav Mack

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts

Found a working 2011 patchcode here:

 

http://www.ocztechno...11-now-possible

 

Worked on my 17 inch late 2011 perfectly.  Also for the inexperienced pretty good instructions I'd say.

 

It's on the forum now where it belongs :D

 

 

Attached Files



#402
Gav Mack

Gav Mack

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts
As a footnote to my MBP 2011 AHCI mod, I did a bit of testing with the RST driver.

Using the newest bootcamp 5.1 software Intel RST drivers 11.2 and below the windows bootcamp control panel is still broken with the usual startup disk error, however if your chipset supports 11.7 and above hey presto the windows control panel works.

I know that means the panel is still broken for Mac Pro 3,1 users as 10.1.0.1008 is the newest driver supported, though can't confirm which is the newest on the 4/5,1 towers, until I get my 5,1 my clients for all are on the 1008 driver which doesn't suffer from the 3tb formatting bug and don't think would appreciate me asking to test on cheesegraters doing constant work.

The RST driver sets are here:

http://www.win-raid.....QL-v-WHQL.html

Update via Device manager, update driver, choose the path of the extracted driver. If supported it will update. The driver only is fine, the driver plus RST app requires .net, is slow to start and a waste of resources on startup. You'll need a 2nd restart after it loads the new driver for your boot drive.

#403
davidcape

davidcape

    InsanelyMac Protégé

  • Members
  • PipPip
  • 50 posts

Hi, i'm Italian, sorry for my english.

I have a 27" iMac 10,1 late 2009. I have installed a samsung 840 evo 250 GB instead superdrive.

I have 1TB mac original 7200 rpm hard drive and the sad instead superdrive. I have 2 partitions in SSD one with mavericks and the other with windows 8.1. 

Can i enable AHCI mode? What is the correct procedure? Exist a program? Thanks 


Edited by fantomas1, 08 June 2014 - 02:00 PM.


#404
rokurou

rokurou

    InsanelyMac Protégé

  • Members
  • Pip
  • 2 posts

Hi,

 

i added a Samsung 840 EVO 250GB SSD to my Mac Mini mid 2011 and Windows 8.1 Pro.

Got it working with the original patchedcode.bin and the following steps:

 

Process I used:
1. Checked the registry that
    HKLM/System/Current Control Set/Services/storahci -> Start = 0
    HKLM/System/Current Control Set/Services/iaStorV -> Start = 0

    Also in both keys /StartOverride -> 0 = 0

3. Reboot into the OS X setup disk, open the Terminal utility
4. unmount all volumes on my SSD

    "diskutil umount /dev/disk0"

5. Backed up old MBR

    "dd if=/dev/disk0 of=backup.bin bs=512 count=1"
5. Overwrite the MBR with

    "dd if=patchedcode.bin of=/dev/disk0 bs=440 count=1"

 

Also i did not have to install any SATA drivers.

Just wanted to share this because the first post mentioned that it would not work with the aluminium minis.

 

EDIT: Using the Intel RST driver nearly doubled the IOPS.

EDIT: Sleep doesn't work, second drive (HDD for me) works.



#405
Frank W.

Frank W.

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts

To all of you in that forum:

 

I like to say thank you!!

 

I have a Mac Pro 3.1 (early 2008) with a Samsung SSD 840 EVO in two boot partitions: one for OS Mountain Lion, one for Windows 7 Pro.

Your AHCI enabler worked perfectly and Win 7 bootcamp is running better and faster than before!

 

THX!

Frank



#406
djluis48

djluis48

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts

Hello! I need a little help here. I have a Macbook Pro 5,1 mid 2009, with the nVidia MCP79 chipset and i would like to enable the AHCI support on it, but im not really sure the steps i should follow in order to get it enabled. Can some help me making a step by step instructions on how to do it? I would really appreciate it.

 

I have read a lot of stuff and most of this thread, but im kind of confused. Saw the info on the first post about making it work on MCP79 chipset, but im not really sure what to do with it.



#407
cjm

cjm

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts

I modified the AHCI code in the script by johnsock and ludacrisvp to modify the reportedly necessary register for the nVidia MCP79 (9C=60h). I tested it on a Mac 10,1 and it sets the register as expected. This was verified under Win7 with pcitools.

 

However, I could not seem to get the AHCI working as the performance was unchanged. I tried the "standard AHCI 1.0 compatible controller" driver included in windows, as well as the nVidia nForce WHQL driver and even a Dell laptop driver just in case (each with the reg set/unset). The windows driver is stable, but the nForce drivers nope out to BSOD on boot.

 

If anyone knows of other registers or drivers that should be used please let me know.

 

I can't find how to attach the script so here is the necessary AHCI_CODE for now:

old AHCI_CODE=66B890FA0080BAF80C66EFB060BAFC0CEEC3              
              66B8********BAF80C66EFB0**BAFC0CEEC3
                  9C580080            06
new AHCI_CODE=66B89C580080BAF80C66EFB006BAFC0CEEC3

Note, this AHCI code only works for the following configuration, which is on iMac 10,1:

PCI CONFIG_ADDRESS: 
bus number = 0
dvc number = 0B
fnc number = 0
reg number = 9C

PCI CONFIG_DATA = 06h

Edited by cjm, 06 February 2015 - 05:01 PM.


#408
ludacrisvp

ludacrisvp

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 379 posts
  • Gender:Male
  • Location:USA

As the forum seems to have suffered from some massive data loss I'm re-uploading the AHCI Enabler application.


If that code works I've added it to this version of AHCI Enabler.

I've also added definitions for various MCP79 chipsets so hopefully it will be able to patch those systems. As I don't have one of these computers this is a complete guess and may not work at all.

 

Please test it out and let me know.

Attached Files



#409
Curly

Curly

    InsanelyMac Protégé

  • Donators
  • 1 posts

IM getting errors trying to use this on yosemite any fixes ?



#410
aau

aau

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts

Unfortunately the Beta MCP79 AHCI Enabler did not work for me. I have a Macbook Pro5,1 running OS X Mavericks. The Enabler detected my chipset as MCP79 but said it was an unsupported chipset.



#411
Inquinim

Inquinim

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts

Hi, I have a Mac Pro3,1 running 10.10.3. I have a 250GB Samsung EVO 850 which has a split partition for OS X / Windows 7 Ultimate 64-bit.

 

I have followed the instructions found here (which seem to be mostly identical to the instructions on the first page of this thread.)

 

The Microsoft AHCI drivers were installed. However I could not proceed and install the Intel RST drivers -- the latest, and oldest version give me an error saying my platform (or computer requirements, in the case of the later) is not supported. I found the newest Intel Matrix Storage Manager driver and installed that correctly.

 

I'm getting 280MBps read/write and 50k/45k random Read/Write in Samsung's Magician software with MSM. (vs 35/30k with Microsoft's AHCI, vs 9/15k with IDE.)

 

Is there any way for me to update to the RST drivers? (I tried "automatically find drivers" in Intel's Driver Update Utility with no success, as well as installing RST after MSM.) Or should I just be content with the MSM drivers?



#412
DisizDream

DisizDream

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts

Unfortunately the Beta MCP79 AHCI Enabler did not work for me. I have a Macbook Pro5,1 running OS X Mavericks. The Enabler detected my chipset as MCP79 but said it was an unsupported chipset.

 

There is a small bug in "Beta MCP79 AHCI Enabler", here is how to fix it to avoid the "unsupported chipset" error :

 

Edit the file "ahci.plist" that can be found in the folder "AHCI Enabler.app/Contents/Resources".

There you can see the Key "SupportedChipsets", remove every "0" before "abXX" for the MCP79 Chipsets.

 

This should look like this after modification :

 

pci10de,ab9		String		MCP79
pci10de,ab4		String		MCP79
pci10de,ab8		String		MCP79
pci10de,ab5		String		MCP79
pci10de,abc		String		MCP79
pci10de,abd		String		MCP79

Now the application will recognize the chipset and allows you to do the modification.

 

EDIT :

 

I can confirm that this tool can be used to successfully activate AHCI on Windows 7 with an MCP79 chipset.

FYI, I have an iMac 9,1 (MCP79 and SATA2) with Mavericks and Windows 7 64bits installed on a Samsung SSD 850 EVO 250gb

 

As you can see "06" has been successfully set on the 9C address when Windows is launched :

00:0b.0 SATA controller: NVIDIA Corporation MCP79 SATA Controller (rev b1)
00: de 10 b5 0a 07 00 b0 00 b1 85 06 01 00 00 00 00
10: d9 21 00 00 ed 21 00 00 d1 21 00 00 e9 21 00 00
20: c1 21 00 00 00 40 58 d3 00 00 00 00 de 10 79 cb
30: 00 00 00 00 44 00 00 00 00 00 00 00 15 01 03 01
40: de 10 79 cb 01 8c 02 00 00 00 00 00 00 00 00 00
50: 0f 68 78 60 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 85 00 c0 8c 00 0f 01 0f 06 42 00 00 ff 8f
70: 2c 78 c4 40 01 10 00 00 02 10 01 08 34 00 20 19
80: 0f 00 c0 00 7c fc ff df 00 00 19 00 12 b0 10 00
90: 5f 02 00 00 00 00 00 00 05 ff 22 e6 06 01 00 00
a0: 6e 5a 00 62 00 00 00 00 00 00 00 00 63 31 00 02
b0: 05 00 86 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 0a 00 00 00 08 00 40 00 0a 00 00 00
e0: 00 08 28 ee 00 00 3f 00 fc 00 00 00 08 00 02 a8
f0: 00 00 00 00 00 00 00 00 00 c0 9e 50 00 00 00 00

And while I can't install any Nvidia drivers and have to use the Windows AHCI default driver, I do have exactly the same benchmark results under Windows and Mac OSX now !!!

 

Thanks a lot ludacrisvp for this wonderful tool !

 

Talking about drivers I noticed that all Nvidia MCP79 AHCI drivers for Windows are looking for this device id : 10de:0ab9 but my device id under Windows is 10de:0ab5 and there are no existing drivers for this device.

Even more strange, under OS X, when I run lspci, the SATA controller does have the good id : 10de:0ab9, but it changes to 10de:0ab5 when booting under Windows... I don't know if this is normal or not, I'm not an expert at those things.



#413
geegee

geegee

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts
  • Gender:Male

I got AHCI working successfully on my iMac 2011 with Windows 7 x64 and Windows 8.1 x64 in Bootcamp (without efi) as described here.

My system is also suffering from the problem that it can not resume from SLEEP properly when ahci is turned on.

This has been painted out here before and some manuals even ask you to turn sleep-mode off as a workaround. Of course that's not my preferred solution.

As some of you have explained and it can be read here the root cause is that after a wakeup from sleep a standard-sata-controller and not the required ahci-sata-controller are provided by the mac.

Under Linux there seems to be a fix for this issue but there must be a way to solve this for windows too.

Did anyone have success using another patch, a loader like refind or a patched sata-driver?
I still hope that we can get SLEEP & AHCI working well together.



#414
youpilai

youpilai

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts

I have to say thank you all for this !

 

I've spent all the afternoon trying to get my SSD working correctly and finally, i get it !

 

Thanks to ludacrisvp and his  AHCI Enabler - Beta MCP79.dmg (just followed the instructions in the PDF file that comes with it)

Thanks to DisizDream and his fix to avoid the "unsupported chipset" error

 

For the records : 

I have a 13'' MacBook Pro 5.5 (late 2009 i think) with NVidia MCP79 chipset and just change the stock HDD for a Samsung SSD 850 EVO 500GB

The SSD was detected as a 3Gb drive under OSX 10.6.8 and as a IDE drive under win 7 pro x64

 

Samsung Magician benchmarks:

before -> seq read: 188 | seq write: 195 | rand read:   8126 | rand write: 15037

after   -> seq read: 284 | seq write: 208 | rand read: 47453 | rand write: 40729

 

I'm using the Standard SATA AHCI1.0 controller for now, as i don't know if i can get a better one.

But still, i now have my SSD working at the best my MBP can use it (so i think)

 

thanks again !



#415
ludacrisvp

ludacrisvp

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 379 posts
  • Gender:Male
  • Location:USA
I've attached an updated version for use with MCP79 removing the '0' from the plist so that it properly matches to the chipset.

Attached Files







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2015 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy