Jump to content

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


  • Please log in to reply
403 replies to this topic

#321
Danxter

Danxter

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts
Hi guys,

First of all, thanks for the great utility AHCI Enabler, my SSD works great now!

I only have one problem : the bootcamp control panel that crash... It could be nice with the tab key if MobileMe crashed not too! Yes, the crash of the control panel seems to make the MobileMe panel crashing too...


Some could have a solution please?



Information :
-MacPro 2008 2-xeon, SSD GSkill Falcon 256, ATI HD5870
-Lion
-7 ultimate 64

#322
Deefa

Deefa

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts
I didn't realise Win 7 was not using AHCI... :)

I can't seem to download the patched MBR from RS, I tried usual way and also transferring to my RS account.

Is there another link to the 2011 MBP patched MBR?

Also: How does the efi/bios emulation stop the Intel HD 3000 from being allocated resources? If you suspend/resume win7 on a 2011 15/17" MBP, the Intel HD 3000 device is found, drivers installed but the device cannot be initialised as there are not sufficient resources. The device does not persist after reboot.

It would be nice to enable resource allocation for the Intel GPU to be able to use its quicksync features (I'm not bothered about switching b/w the AMD & Intel GPU).

#323
PeterHolbrook

PeterHolbrook

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts
Sorry if this is the wrong place to ask, but I've noticed Intel have upgraded the Rapid Storage Technology drivers to version 10.6.0.1022. Sadly, the non-F6 installer doesn't seem to work on my Mac Pro 1.1. Oddly enough, the instructions state that "F6 and RAID BIOS configurations need to be performed prior to installation of this driver for proper operation", which seems to mean that for this F6-not-required installer to work, you need to reinstall Windows (7 or whatever) from scratch using the F6 diskette/USB, etc.! What gives? Am I missing something?

#324
Elias4444

Elias4444

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts
I just barely went through this process as well with my MacPro 1,1 and am having the same issue at PeterHolbrook. The Intel drivers won't install, saying I don't meet the minimum requirements. Though, I have verified that I am in fact booting up into Windows 7 64-bit with AHCI enabled (I tested it with the two ODD SATA ports). I also tried both the .sh script and the GUI for editing the MBR (the GUI stated that the patch was already installed).

Not sure what to do at this point. Anyway to force install those crazy Intel drivers?

#325
playpiano

playpiano

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts
Mac Pro Early 2009.
OS X Lion Installed.
WINDOWS 7 installed on a dedicated second hard disk (WD 300GB 10000 RPM)
AHCI activated and all working well
BUT
very long shutdown time (1 to 2 minutes)
No shutdown time problem with AHCI not enabled
try everything but no solution found

help

#326
mrlinux

mrlinux

    InsanelyMac Protégé

  • Members
  • Pip
  • 2 posts
  • Gender:Male
NVIDIA MCP79 SATA access mode:

setpci -d 10de:0ab5 9c.b=06

tested on 17" MBP 5,2 (mid 2009), works with linux

before:
00:0b.0 IDE interface: nVidia Corporation MCP79 SATA Controller (rev b1)

after:
00:0b.0 SATA controller: nVidia Corporation MCP79 SATA Controller (rev b1)

After comparing PCI registers from OSX and linux, there were only ~20 noteworthy differences. binary search took 10 mins. We don't need Nvidia documentation to discover these registers.

If windoze requires some driver magic to make this work, that part is up to you.

edit: note that the "setpci" command is only available in grub2, so you can add this command to your grub configuration after installing grub-1.99 or newer.

#327
J Skew

J Skew

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts

NVIDIA MCP79 SATA access mode:

setpci -d 10de:0ab5 9c.b=06

tested on 17" MBP 5,2 (mid 2009), works with linux

before:
00:0b.0 IDE interface: nVidia Corporation MCP79 SATA Controller (rev b1)

after:
00:0b.0 SATA controller: nVidia Corporation MCP79 SATA Controller (rev b1)

After comparing PCI registers from OSX and linux, there were only ~20 noteworthy differences. binary search took 10 mins. We don't need Nvidia documentation to discover these registers.

If windoze requires some driver magic to make this work, that part is up to you.

edit: note that the "setpci" command is only available in grub2, so you can add this command to your grub configuration after installing grub-1.99 or newer.



I have lion on mbp 6,1 and bootcamped with w7. I have a version of setpci that seems to work on os x. What are the next steps to enable ahci on w7 partition ? Thanks in advance for sharing information.

#328
ludacrisvp

ludacrisvp

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 374 posts
  • Gender:Male
  • Location:USA

I have a version of setpci that seems to work on os x. What are the next steps to enable ahci on w7 partition?

This will not do anything for you. You will need to install the latest version of GRUB to your hard drive then add the setpci command to the boot options in grub for the windows os.

#329
Bulls729

Bulls729

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts
Hello all, new around these forums but hopefully someone may be able to help me. So I looked though the entirety of these 17 pages, and please do forgive me if I may have missed it but I cannot find any information if a fix for the 5,2 MBP series has been found. I am very much hoping to see if not only AHCI can be enabled but also possibly get the Expresscard slot working as well. From the looks of the first post the only thing I can remotely see being possible to do such would be to use GRUB and SETPCI commands, however since I am not familiar with doing that, can someone please point me in the right direction. I will be running Windows 7 x64 SP1

As far as the eSATA Expresscard, here is some info I found that may work. http://www.insanelym...howtopic=186558

Thank You

#330
addic7ed

addic7ed

    InsanelyMac Protégé

  • Members
  • Pip
  • 2 posts
any news with the Nvidia MCP79 chipset? I just installed my ssd today and after my clean install of Win7 on bootcamp i see that my drive is in IDE mode only. Never thought of that. I bought my ssd so i can run my windows faster, and i see i payed some cash for nothing :))

#331
addic7ed

addic7ed

    InsanelyMac Protégé

  • Members
  • Pip
  • 2 posts
Ok, after reading this topic i thought i try only to change the registry from 3 to 0 and force install standard 1.0 ahci controlloer. restarted the system, and everything worked allright. I benchmarked my ssd before and after and here are the pics. The ssd is a 320 intel of 120gb sata 2 and my chipset is nvidia MCP79. In the first picture is before changing the registry and force install and in the second and third is after. Is not what i was expecting, but it is an improvement, and is better then my 5400rpm hdd i had.


Posted Image

Posted Image

Posted Image

#332
ludacrisvp

ludacrisvp

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 374 posts
  • Gender:Male
  • Location:USA
Did you happen to do any testing on the speed of the old drive to compare to?
if you look a few posts up there are some instructions about how to make it work on your chipset you will need to download grub 2 and add the setpci command into the boot options for your windows drive to get proper ahci speeds. In my opinion the differences you posted are simply expected variances based on current usage of your machine during the time of the tests.
If it still has the IDE driver active then you will not see any improvement beyond random differences based on usage during test.
It should be rather simple to finish the setup into ahci mode.
Download grub 2 and install it to your hard drive .... Chances are there are instructions posted somewhere that detail grub 2 install on a Mac laptop. You may need to burn a live Linux DVD or cd to boot from and install grub while booted from that disc.

#333
jlpek17

jlpek17

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts
Hi,

There is another/best method in order to activate AHCI mode ... but it's not complete.

Boot windows in EFI mode and without any tweaks AHCI mode is activated.

UNFORTUNATELY the only system i was able to boot in EFI mode is Windows 8 and is very unstable. Moreover there is some problems: video card doesn't work well (i think acceleration doesn't work), the bootcamp app doesn't launch (as for the trick here).

BUT one user (d3vi1) here (http://forums.macrum...ad.php?t=696523) is working on app which do the trick.

Maybe some users here could help and share

Thanks a lot for your attention and keep up the good work
Win7 x64 booting natively via EFI (no bios emulation)

#334
Florian U.

Florian U.

    InsanelyMac Protégé

  • Members
  • Pip
  • 8 posts

Is there another link to the 2011 MBP patched MBR?


It's still the same rapidshare file, however, with the appropriate "share" link...

https://www.rapidsha...patchedcode.bin

worked for me on iMac 2011 27" and windows 7 64bit

#335
punkmofo

punkmofo

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts
First of all, thanks to all involved for this guide (and please forgive my ignorance, I'm still learning here).
I just bought an OWC SSD for my 2008 Mac Pro 3,1, with the intention of installing Win7 in the empty optical bay. Ideally I'd like to have OSX and Win7 on 2 separate SSDs in the optical bay and use the 4 HDD bays for storage.

I have a few questions:

1. I've edited the registry and I'm about to update the driver. Under 'IDE ATA/ATAPI controllers' I see 2 entries for 'Standard Dual Channel PCI IDE controller'. Should I be updating both of these before running the MBR script?
Curently installed: 1TB HDD (Old Win7 drive), 240 GB SSD (new Windows 7), 350GB HDD (OS X Lion 10.7.2), DVD-RW

2. I'm having some trouble figuring out the correct Intel driver I should be installing. I've tried several links but all lead me to either a list of drivers or a page that no longer exists.

3. Lastly, to be clear, am I correct in thinking this will allow me to install the SSDs in the empty Optical Bay under my DVD drive or should I be putting one of the HDDs there?

Thanks very much in advance, any help is much appreciated.

#336
cosgrove

cosgrove

    InsanelyMac Protégé

  • Members
  • Pip
  • 17 posts

NVIDIA MCP79 SATA access mode:

setpci -d 10de:0ab5 9c.b=06

tested on 17" MBP 5,2 (mid 2009), works with linux

before:
00:0b.0 IDE interface: nVidia Corporation MCP79 SATA Controller (rev b1)

after:
00:0b.0 SATA controller: nVidia Corporation MCP79 SATA Controller (rev b1)

After comparing PCI registers from OSX and linux, there were only ~20 noteworthy differences. binary search took 10 mins. We don't need Nvidia documentation to discover these registers.


Could this same "brute force" method be used to figure out the register changes needed for MCP89 AHCI windows 7 support?

I'm on a mid-2010 mac mini with a crucial m4 128GB drive.

#337
avkdm

avkdm

    InsanelyMac Protégé

  • Members
  • Pip
  • 6 posts
Hi,
I just enabled AHCI in Windows 7 on my Mac Pro 3.1 with a non EFI Graphics card and now the bootcamp panel is gone (I missed that one in this thread).
Long and short of it I need to boot back into OSX . I will probably have to install an EFI card to do this in the short term.I am hoping to try and do it from command line in Windows but not sure if that will work.



Had initial blinking cursor problems on startup after installing Intel Matrix Storage Manager V8.9. MBR may have been stuffed up by Parallels or PRAM reset, not sure which. Anyhow after much stuffing around trying to fix this I had to swap my Windows 7 install HDD to Bay 1 on my Mac Pro to be able to boot windows again.


Anyhow Intel Storage manager reports drives as Generation 2, however I am only getting around 3 mbps in Passmark benchmarks on my drives.


I thought I should be getting closer to 300mbps. I was actually getting better benchmarks before enabling AHCI.


Does this tweak only apply to SSD or SATA2 drives as well


My bad - I need to test an SSD Drive........................


Edited by avkdm, 22 March 2012 - 11:02 AM.


#338
mrlinux

mrlinux

    InsanelyMac Protégé

  • Members
  • Pip
  • 2 posts
  • Gender:Male

Hello all, new around these forums but hopefully someone may be able to help me. So I looked though the entirety of these 17 pages, and please do forgive me if I may have missed it but I cannot find any information if a fix for the 5,2 MBP series has been found. I am very much hoping to see if not only AHCI can be enabled but also possibly get the Expresscard slot working as well. From the looks of the first post the only thing I can remotely see being possible to do such would be to use GRUB and SETPCI commands, however since I am not familiar with doing that, can someone please point me in the right direction. I will be running Windows 7 x64 SP1

As far as the eSATA Expresscard, here is some info I found that may work. http://www.insanelym...howtopic=186558

Thank You


I patched my DSDT to enable the expresscard slot in linux. If there's a way to use a patched dsdt in windows, the one I posted here: https://bugzilla.ker...ug.cgi?id=18722 will do the trick (you still have to compile it). Otherwise, you'll have to figure out how to make the same changes from the dsdt via setpci (look for the second "BUG" in the patched dsdt file).

sidenote: my mbp 5,2 expresscard port worked just fine in windows XP the (1) time I tried it.

Could this same "brute force" method be used to figure out the register changes needed for MCP89 AHCI windows 7 support?

I'm on a mid-2010 mac mini with a crucial m4 128GB drive.


Assuming the configuration is similar, I don't see why not... It's brute force but if you use the binary search method it goes pretty quick.

Hello,

in one of your posts, you stated that the NVIDIA MCP79 SATA access mode can be changed with the correct PCI values, which can be found out comparing the registers in OSX and Linux:

"After comparing PCI registers from OSX and linux, there were only ~20 noteworthy differences. binary search took 10 mins. We don't need Nvidia documentation to discover these registers."

I need to change my MCP89 SATA controller to AHCI mode..
How did you find out the PCI values on OSX exactly? Which tools did you use on OSX and which tools did you use on Linux?

Regards,
Max


It's been a while but I believe I used lspci on both linux and OSX. I think getting lspci to work on OSX was a bit of a pain.

First, find the vendor:product number of the controller via lspci. Mine (mbp 5,2) was "10de:0ab5" for example, but modify the commands to use your own.

lspci -d 10de:0ab5 -xxx > config.dump

Run the above to dump the pci configuration, on linux and OSX. Compare the two dump files, find the differences (try wdiff). Add the correct setpci commands in grub to fix all the differences, but comment out the second half of them. When you reboot, test to see if the controller is in the right mode via lspci. If it is, then the specific register you need is in the first half. If it isn't in the might mode, the register you're looking for must be in the second half. You can continue the process until you find the exact register(s) required for the mode you want.

#339
meistermeister

meistermeister

    InsanelyMac Protégé

  • Members
  • Pip
  • 14 posts
Thanks for pointing out how to find the correct PCI register settings.

I tried it on my macbook with MCP89 SATA controller. I extracted the register values with

lspci -nn | grep SATA
lspci -xxxx -d 10de:0d88 > out.txt

on OS X (I googled for an OSX version of lspci, it is contained in MyHack 3.1) and used

setpci -d 10de:0d85 ADDR.b=VAL

to set the values on linux.

I did not succeed, however. It seems, that it is not possible to change the MCP89 SATA controller to AHCI mode without using EFI (?), as mentioned in another forum (forget where, sry).
I attached my value list to this post.

Attached Files



#340
sysdef

sysdef

    InsanelyMac Protégé

  • Members
  • Pip
  • 2 posts
  • Gender:Male
Hello,

I have a Macbook Pro 8,2 15" with Mac OS X 10.7 I use boot camp to install Windows 8 Consumer Preview.

I have recently install a Intel 520 SSD of 180go and move my original hard drive in superdrive bay and everything works fine.
Windows is install on the SSD, MacOs is on Secondary hard drive.

But in reading your forum I realize the AHCI is not actived under windows, I have follow your instruction with the Euclid1's patched mbr because I have a mackbookpro Early 2011 but when I reboot my laptop after to have patched my mbr Windows put a error message who say "inacessible boot device"

Could you help me on this?

Regards,

sysdef

PS: just to be clear please fin bellow my complete configuration

Macbook Pro 8,2 15" Early 2011
2Ghz Intel i7
8 Go 1067 Mhz DDR3
INTEL SSDSC2CW 180A
secondary harddrive of 500 Go in superbay drive
Mac OS X 10.7 (11A511)
Windows 8 Consumer Preview build 8250 with boot camp





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users

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