Jump to content

ICH7-R SATA?


xibrix
 Share

11 posts in this topic

Recommended Posts

So we recntly got OS X to install on a Dell Precision 380 with a drive connected to the PATA controller on the motherboard thanks to JaS' 10.4.7 ISO. We really want to get the SATA controller working, but I can't for the life of me figure out why it isn't. I added a new key and dict section to the AppleIntelPIIXATA.kext/Info.plist with 808627c3 (which I'm fairly certain is the correct device ID for the controller). I checked and rechecked it and have rebuilt the mkext cache many times to no avail. I talked to JaS on IRC and he said to maybe try the one from my MacBook Pro, so I tried that and added a new section with the device ID to the same Info.plist, rebuilt the mkext cache and it still doesn't come up. I checked ioreg -l and it shows that the AppleIntelPIIXATA.kext is attached to the PATA controller which is 27df, but not the SATA controller (27c3).

 

Does anyone have any idea why this is happening? I checked dmesg and /var/log/system.log for any types of error messages about it but don't see anything about the driver failing to load for something. Is there somewhere else I can check for errors? Is there some way to force the driver to attach to the controller?

 

Any help is appreciated.

Link to comment
Share on other sites

Seeing that no Macs use any hardware RAID, let alone the ICH7R, why would you think that Apple's drivers support it?

 

I mean, Apple has clearly taken the software approach to RAID with OS X and in light of Mac Pro's lack of hardware RAID, it appears they are sticking with it too.

Link to comment
Share on other sites

Hmm... well what about just getting any type of SATA support working? The machine has 4 drives, 1 is the main drive connected via SATA, the others are in a RAID array connected via SATA. Even if it doesn't support RAID, it should at least support the SATA controller, shouldn't it?

Link to comment
Share on other sites

Hmm... well what about just getting any type of SATA support working? The machine has 4 drives, 1 is the main drive connected via SATA, the others are in a RAID array connected via SATA. Even if it doesn't support RAID, it should at least support the SATA controller, shouldn't it?

 

 

Does your unit support AHCI? you might be able to get SATA through there. Are there any BIOS settings available? e.g., RAID, NONRAID, AHCI for the SATA controller?

 

 

Best

Link to comment
Share on other sites

There may be a setting for NONRAID or something, but will that change the device ID or will the driver just magically load? I really want there to be some error message to tell me that the driver isn't loading because it doesn't support the controller. It makes me angry when there's no way to tell if it's even attempting to load.

 

How would I see if it supports AHCI?

Link to comment
Share on other sites

How would I see if it supports AHCI?

 

You would check you bios under SATA to see if it would allow you to switch between IDE, AHCI, RAID.

If you have windows installed and you switch it from any of these setting your windows installation will most lilkly not boot.

 

AppleIntelPIIXATA.kext from what I know will support IDE, AHCI, but not RAID.

But you did put in the DevID VenID backwards 808627c3, it should be 27c38086.

 

What I think will work for you is to forget about the AppleIntelPIIXATA.kext and Use AppleAHCIPort.kext.

Edit the Info.plist

 

under this section

<key>ICH7AHCI</key>

 

change to your DevID and VenID so that it looks like this.

 

<key>IOPCIPrimaryMatch</key>

<string>0x27c38086</string>

 

If anything will work this will.

Link to comment
Share on other sites

I do remember following the same format as was in the rest of the file, so I probably did do 27c38086, just fudged it in the post ;)

 

I will try your suggestion first thing tomorrow morning and reply back here when I see what happens. Thanks very much for the help.

Link to comment
Share on other sites

OMG That totally worked! We didn't have to make any changes in the BIOS, it just recognized the drive. Now all I need to do is get the one drive to boot and use Mac OS' builtin software RAID stuff and we should be good to go. Thank you so much!

Link to comment
Share on other sites

So we got the SATA controller to be recognized which is all well and good, but I can't for the life of me figure out how to get it to boot. In "diskutil list" the PATA attached drive and the SATA primary drive look identical, aside from the sizes. I tried fdisk -u on the PATA drive (rdisk0) and the partition (rdisk0s1) with no dice. I also tried, for the hell of it, fixmbr from a Windows XP disc, but again, no such luck. Am I missing some step somewhere?

 

EDIT: I should have mentioned. When I say it won't boot, I mean the BIOS doesn't even recognize it as bootable. I don't get the bootloader or anything.

Link to comment
Share on other sites

OK, this should be the last post for this topic :) In a desperation move I decided to dd from the 160GB PATA connected drive with about 7GB of information on it to the 80GB SATA connected drive. My thinking was that with only 7GB of data being used on the source disk, and not knowing how HFS+ stores files, that even if parts of files are strewn about across the disk like FAT or NTFS, they wouldn't be that far out on it. I dd'd about 40GB and ^C'd it, powered off, detached the PATA drive and hit the power button. It booted and the Darwin bootloader came up and then the Apple loading screen came up and then it went into the GUI! Everything works awesome now, we are using software RAID and are one step closer to everything being in order :) Thanks again for your guys' help.

Link to comment
Share on other sites

  • 6 months later...
 Share

×
×
  • Create New...