Jump to content
11 posts in this topic

Recommended Posts

my mainboard is ga-p31-ds3l, its a gigabyte, and it does not support AHCI, so i use the Combined or Enhanced mode

so bot the sata and pata disks are able to boot.

 

the sata controller is ICH7 .. it should be compatible out of the box. still..

my problem is that using any sata harddisks in my hackintosh produces recurring disk I/O errors in the console at random times, till it ends up damaging the disk directory which gives me the error: invalid node structure in the disk utility.., and if i try to do a surface scan on the disk it reports bad blocks due to the I/O errors..

 

still my IDE drive working without a problem. it seems that its only related to sata controller ?

 

anyway i tried hocking my sata drives with a sata to usb adaptor.. to my usb ports and boot from it... and surprisingly, those problems does not happen anymore, and also surface scans does not report any bad blocks.. so now I am sure that the disks are fine.. so the problem now relies in the sata controllers!

 

anybody has an insight ?

Link to comment
https://www.insanelymac.com/forum/topic/171152-ich7-sata-controller-issue/
Share on other sites

  • 2 weeks later...
What kernal are you using? + what install cd are you using?

Have you tried fixing permissions via osxtools and repairing the drive via disk utility?

 

I was using voodoo kernel, retail installation, EFI partition for extra kexts and etc.. (see my signature for my setup)

and the problem is too far away from being a permission issue..

anyway thanks for your input.

  • 2 months later...
bump

I have a Badaxe 2 with ICH7. I installed SL on a new SATA SSD disk a few days ago. A couple of days after installing I started to get disk errors reported on the SSD. 10.5.8 on a normal SATA HD (Maxtor) still worked fine. I copied the SL install from the SSD to a partition on the Maxtor and it worked fine - no errors. I then copied it back to the SSD and again, it works fine. The only thing I changed was initially to try to activate the Marvell ports on the mobo and install the Marvell kext. I abandoned that as well as fixing permissions and ownership on the SL partition.

 

I guess the only help I'm offering is what have you changed recently?

Try this:

http://www.insanelymac.com/forum/index.php?showtopic=88335

Insert Vendor/Device ID of ICH7 controller to IOATAFamily.kext>Plugins>AppleIntelPIIXATA.kext>Info.plist if necessary.

 

I think Intel ICH7 disk controllers should work out of the box without patching by vanilla AppleIntelPIIXATA.kext... also If i understand correctly, this modified kext only solves the problem of using more sata ports on the mainboard.

I think Intel ICH7 disk controllers should work out of the box without patching by vanilla AppleIntelPIIXATA.kext... also If i understand correctly, this modified kext only solves the problem of using more sata ports on the mainboard.
Not really... Same ICH7 controller may have a different Device/Vendor ID on a different MBs. Also the AppleIntelPIIXATA.kext is compilled from sources to work on OSX86, then the original one is meant to be used only with OS X and the controllers in Macs. So there may not be the right Device/Vendor ID present in the kext. In fact I've tried to insert the Device/Vendor ID to the original kext. Didn't worked. Then the new compiled version do work.

 

This kext solves problems with detecting/using the on-board controller. If there are two or more SATA controllers, then the other ones must have other drivers.

Not really... Same ICH7 controller may have a different Device/Vendor ID on a different MBs. Also the AppleIntelPIIXATA.kext is compilled from sources to work on OSX86, then the original one is meant to be used only with OS X and the controllers in Macs. So there may not be the right Device/Vendor ID present in the kext. In fact I've tried to insert the Device/Vendor ID to the original kext. Didn't worked. Then the new compiled version do work.

 

This kext solves problems with detecting/using the on-board controller. If there are two or more SATA controllers, then the other ones must have other drivers.

Thanks for you reply.

I've done some research on my system using IORegisteryExplorer, and although I don't have a sata hdd installed on my system I found out this bundle identifier:

IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IDE1@1F,2/AppleIntelPIIXATARoot

 

and its listing the following properties:

Controller name: ICH7 SATA

IOPCIPrimaryMatch: 0x27c08086

of course with a bunch of other properties as well.

So I opened the info.plist of the original vanilla AppleIntelPIIXATA.kext on my system and checked the Device IDs and found this:

<key>ICH7 Serial ATA</key>

<dict>

<key>CFBundleIdentifier</key>

<string>com.apple.driver.AppleIntelPIIXATA</string>

<key>Controller Name</key>

<string>ICH7 SATA</string>

<key>IOClass</key>

<string>AppleIntelPIIXATARoot</string>

<key>IOPCIPrimaryMatch</key>

<string>0x27c08086</string>

<key>IOProbeScore</key>

<integer>2000</integer>

<key>IOProviderClass</key>

<string>IOPCIDevice</string>

<key>Serial ATA</key>

<true/>

<key>Supported Transfer Modes</key>

<string>0x3f061d</string>

</dict>

So from that I conclude that my mainboard controller should be supported out of the box, is there anything else I don't know about ?

I hope you understand I don't wanna rush relying that this modified kext would solve the problem and then I find out else maybe too late. I hope you understand my concerns

 

thank you.

I do understand your concern. The right strategy.

 

The SATA controller not necessary may work in SATA mode. I have my OS X installed on a SATA disk. Before I have installed the new AppleIIPIXATA.kext the drive has worked as an ATA drive (not the SATA!). Resulting a much slower performance. After installing the kext, the disk is recognized as a SATA disk. With a better performance accordingly. So you may face the same problem.

 

If you would examine the AppleIIPIXATA.kext (the original one or modified), you shell find this string

<key>ICH7 ATA/100</key>
	 <dict>

This string represents the same controller, but this time working in ATA mode. This one has a different Device/Vendor ID. Though may contain yours.

 

My point is the you may have a SATA/ATA mode problem.

Ok, I've installed one sata hdd, and fired up IORegistryExplorer and checked the drive, and it was recognized as SATA through ICH7, not Serial ATA..

 

So I guess My controller then is detected and recognized OK, and the issue is still not as what you've claimed this far! :/

×
×
  • Create New...