Jump to content
8 posts in this topic

Recommended Posts

Hello i have a Dell Precision 690 my osx install is the LSI SAS controller. Everything there works fine. However unless I use the -f boot flag my sata drives do not show up. Using the system info app they show as a "631xESB/632xESB SATA AHCI Controller. With a Class ID of 0106, Ven ID 8086, Dev ID 269e. How do i get them to show up upon normal boot no -f flag.

thank you

Link to comment
Share on other sites

Hey Artur-pt i found this information here

OPTION 1:

This error manifests itself on OS X 10.8 Mountain Lion only if you boot

your Hackintosh with UseKernelCache=Yes, as booting with “-f” results in a

normal boot sequence.

The reason is believed to be due to a timing change Apple has introduced in

the IOAHCIBlockStorage.kext, results in a bug on Hackintosh builds: the

system enumerates the disk partitions too fast and the boot partition gets

skipped. The fix involves patching the IOAHCIBlockStorage.kext and adding a

slight delay that allows enough time for disk enumeration.

The shell script patcher is available from the author’s Dropbox, but if you

prefer to do everything by hand yourself, here is the list of the commands:

cd

/System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/IOAHCIBlockStorage.kext/Contents/MacOS

sudo mv IOAHCIBlockStorage IOAHCIBlockStorage.orig

sudo cp IOAHCIBlockStorage.orig IOAHCIBlockStorage

sudo /usr/bin/perl -pi -e ‘s|\xeb\x4c\x00\x00\xea\x03|

\xeb\x4c\x00\x00\xe8\x01|g’ IOAHCIBlockStorage

sudo /usr/bin/perl -pi -e ‘s|\x74\x0e\x48\x8d\x3d\xa5\x90\x00\x00|

\xbf\xc8\x00\x00\x00\x90\x90\x90\x90|g’ IOAHCIBlockStorage

sudo touch /System/Library/Extensions

 

Reboot and see if this fixes the problem for your Hackintosh.

 

OPTION 2:

The following commands place a backup of the unmodified binary before

patching it.

cd

/System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/IOAHCIBlockStorage.kext/Contents/MacOS

sudo mv IOAHCIBlockStorage IOAHCIBlockStorage.orig

sudo cp IOAHCIBlockStorage.orig IOAHCIBlockStorage

sudo /usr/bin/perl -pi -e ‘s|\xbb\x4b\x00\x00\xeb\x03|

\xbb\x4b\x00\x00\xe8\x01|g’ IOAHCIBlockStorage

sudo /usr/bin/perl -pi -e ‘s|\x74\x0e\x48\x8d\x3d\xb2\x91\x00\x00|

\xbf\xc8\x00\x00\x00\x90\x90\x90\x90|g’ IOAHCIBlockStorage

sudo touch /System/Library/Extensions

 

Update: This patch DOES NOT work for 10.8.2′s IOAHCIBlockStorage.kext

 

 

 

But apparently it does not work on 10.8.2 I have also found several threads mentioning trim support would those kext work or is there one in particular i should use should work??

Link to comment
Share on other sites

Hey Maniac10 I do not think that is my problem. I use my SAS drive as main boot device sata connections were for dvd and storage drive. However thanks to artur-pt he did point me in a direction to fix the issue just need to do a wee bit of patching to the IOAHCIBlockstorage.kext the patch follows. Just hope this will carry over to 10.8.3

 

 

cd /System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/IOAHCIBlockStorage.kext/Contents/MacOS
sudo mv IOAHCIBlockStorage IOAHCIBlockStorage.orig
sudo cp IOAHCIBlockStorage.orig IOAHCIBlockStorage
sudo /usr/bin/perl -pi -e 's|\x8b\x4a\x00\x00\xeb\x03|\x8b\x4a\x00\x00\xe8\x01|g' IOAHCIBlockStorage
sudo /usr/bin/perl -pi -e 's|\x74\x0e\x48\x8d\x3d\x72\x92\x00\x00|\xbf\xc8\x00\x00\x00\x90\x90\x90\x90|g' IOAHCIBlockStorage
sudo touch /System/Library/Extensions

 

Almost all my issues are fixed now just hope to sort out the video a bit better.

Link to comment
Share on other sites

Ok back at needing a wee bit of help again... Updated to 10.8.3 and sata disappeared again found a bit of code

cd /System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/IOAHCIBlockStorage.kext/Contents/MacOS
sudo mv IOAHCIBlockStorage IOAHCIBlockStorage.orig
sudo cp IOAHCIBlockStorage.orig IOAHCIBlockStorage
sudo /usr/bin/perl -pi -e 's|\xcb\x57\x00\x00\xee\x03|\xcb\x57\x00\x00\xea\x01|g' IOAHCIBlockStorage
sudo /usr/bin/perl -pi -e 's|\x74\x0e\x48\x8d\x3d\x72\x94\x00\x00|\xbf\xc8\x00\x00\x00\x90\x90\x90\x90|g' IOAHCIBlockStorage
sudo touch /System/Library/Extensions

Supposed to be fix for 10.8.3 but drives are still missing any ideas

Link to comment
Share on other sites

 Share

×
×
  • Create New...