InfiniteMac OSx86  


Reply
 
Thread tools Display modes
  #1  
Old 03-10-2011, 07:20 PM
iPixel iPixel is offline
Cheetah
 
Join Date: Mar 2011
Posts: 4
AHCI/SATA Hard Disk not recognized!

Hello everyone,

I'm hopelessly making this thread in case someone could help me detect/fix this annoying issue...
Thanks a lot in advance for taking some of your time to read my post... ANY reply is greatly appreciated!!


Problem

My AHCI-enabled SATA Hitachi hard disk is not recognized. When I try to boot from my installation, this results in a "Still waiting for root device" error.

However, the hard disk DOES get recognized most of the time when i boot with safe mode!


My ideas and attempts

I've noticed a (maybe) interesting difference between the case where my HDD gets detected and the case where it's not detected:
Whenever it is detected, I can see (in the System information) the extension "IOAHCIBlockStorage" is loaded.
Whenever it is not detected, that kext is NOT present in the list of loaded kexts.

I added my SATA controller's device id (0x43911002) to AppleAHCIPort.kext. Now it doesn't show up as "Unknown AHCI controller" anymore, but it didn't fix the issue.

I tried every combination of AHCIPortInjector.kext and IOAHCIBlockStorageInjector.kext, supplied with Chameleon. Tried putting them both in /Extra/Extensions and /System/Library/Extensions. They seem to do absolutely nothing. They also don't show up in the list of loaded kexts.

I've tried every fix I could find related to "Still waiting for root device". No success.

I've found, after 3 days of intensive googling, ONE single similar case: http://www.insanelymac.com/forum/ind...owtopic=187856
I created a modified DSDT as described by the posted in that thread, but to no avail.

If it can help, this is what an ioreg -b -f result looks like (limited to SATA, didn't include details):
Code:
SATA@11
+-o AppleAHCI
  +-o PRID@0
  +-o PRT1@1
    +-o IOAHCIDevice@0
      +-o IOSerialATAPI
        +-o IOSCSIPeripheralDeviceNub
          +-o IOSCSIPeripheralDeviceType5
            +-o IODVDServices
              +-o IODVDBlockStorageDriver
              +-o SCSITaskUserClientIniter
When my HDD does get detected, a path to my HDD is shown under PRID@0. Here you can see that node is empty...

I found PRID in my DSDT, and tried applying a fix known as "Native AHCI SATA" (came with DSDTSE), but again, without result. I may not have done it correctly though... I don't understand all the device names and methods (like PRID, what's that?)...


Laptop specifications

HP G62-series Notebook

AMD Athlon II P320 Dual-Core Processor
Northbridge AMD 785GX rev. 00
Southbridge AMD SB800 rev. 40
SATA Controller details:
- Location: bus 0 (0x00), device 17 (0x11), function 0 (0x00)
- Vendor: 0x1002
- Model: 0x4391
Bootloader: Chameleon RC4 with/without (tried both) PC_EFI 10.6 boot file
Modified (added id 0x43911002) AppleAHCIPort.kext, added disabler.kext, fakesmc.kext, Apple's PS2 kexts
Other kexts are the original unmodified ones
(For a detailed hardware report of my notebook, see http://px-online.0sites.org/iPixel.html)


HDD Structure

MBR disk

disk0s1: An NTFS system partition made by HP
disk0s2: Windows 7, NTFS
disk0s3: Snow leopard partition
disk0s4: Extended partition (container for the partitions listed below)
disk0s5: Logical partition, ext4, Ubuntu partition
disk0s6: Logical partition, swap, used by Ubuntu
disk0s7: Logical partition: ntfs, a recovery partition made by HP

I don't think the fact that my HDD contains an extended partition is the cause of this trouble, but correct me if I'm wrong (then I'll say bye bye to ubuntu). Note that OSX is running on a primary partition, so there should be no issues...

I'm so close to a working hackbook pro, but I'm running out of ideas... The OSX86 community is really my last hope!!

Last edited by iPixel; 03-10-2011 at 07:41 PM.
Reply With Quote
  #2  
Old 03-13-2011, 03:18 PM
Imkantus Imkantus is offline
 
Join Date: Jul 2009
Location: Germany
Posts: 779
How about using IDE mode with AppleATIATA.kext as device driver - my experience is that this works better on AMD/ATI chipsets then AHCI...

AMD Phenom II X4 955 - ASRock AM3A770DE - 8GB DDR3-1333 - Radeon HD 5570 1GB passiv - BCM4318 802.11b/g - Snow Leopard Retail
+++
AMD Phenom X3 8450 - ASRock AM2NF6G-VSTA (BIOS L2.39) - 4GB DDR2-800 - Radeon HD 4650 512MB - Snow Leopard Retail (retired) / OpenBSD
Reply With Quote
  #3  
Old 03-22-2011, 09:47 PM
iPixel iPixel is offline
Cheetah
 
Join Date: Mar 2011
Posts: 4
Thanks for your answer and please excuse my late reaction...
I'll try your suggestion... if I can... through a DSDT patch, because my BIOS is locked. No way to modify any advanced feature (it's an HP notebook...).
Reply With Quote
  #4  
Old 04-08-2011, 01:43 AM
scififan68 scififan68 is offline
 
Join Date: Oct 2008
Location: Midwest USA
Posts: 229
If you can only use AHCI, than download this kext(attached), which I added the device id you posted. Install to /Extra/Extensions then rebuild kext caches, reboot and no more waiting for root device! Tested this on my AMD board with AHCI enabled.



💡 Deploy cloud instances seamlessly on DigitalOcean. Free credits ($100) for InfMac readers.

Attached Files
File Type: zip AHCIPortInjector.kext.zip (2.8 KB, 107 views)

GA-Z68XP-UD3: Lion 10.7.3, Windows 7 Professional 64bit SP1 and FreeBSD 9-RELEASE, Core i5 2500K @ 3.3GHz, 16GB 1333 Mhz DDR3 ram(Soon), 1GB GDDR5 Nvidia Geforce GTX 560 Ti, 2X 1TB Samsung F3 SATA HDDs, 1X WDC Blue 500GB HDD; Dell Mini 10v: Obsidian Black, 2GB DDR2 533MHz Ram, 1.6GHz Intel Atom N270, 120GB HDD, 6-Cell, Mac OS X Snow Leopard 10.6.8 Build 10K549
Reply With Quote
Reply