Jump to content

Slight Hard Drive Problem


jtle
 Share

50 posts in this topic

Recommended Posts

My problem is kind of weird, the OS X and Darwin installers only see 120GB of my 200GB SATA drive. At first the installers could not see the drives at all until I changed a setting in my BIOS. In the BIOS there is a section called "Onboard PATA/SATA Config" and it was set to "Enhanced" so I changed it to "Combined Mode" and then my drive was seen. Here are my computer specs:

 

Intel Pentium D @ 3.0Ghz

i945P/G chipset

ICH7 Southbridge

200GB Drive on an Intel 82801GB SATA Storage Controller - 27C0

 

This should be the pertinent information. Thanks.

Link to comment
Share on other sites

Jtle,

 

Great info, thanks! Do you get onboard graphics (GMA 950) recognised?

 

Useful info on the drives though, thanks. Most people can't get them to work on your board at all unless on a PATA connector, so not sure how I can help any. Maybe need to edit the plist?

Link to comment
Share on other sites

Nope, I think this is the board without the integrated graphics, namely the i945P. But I can change the resolution on my PCI-E Geforce 6600 by setting "Graphics Mode"="1280x1024x32". About my problem, I just checked out System Profiler on the install with the changes to my BIOS and it sees the drive as an ATA drive it does not appear under the SATA subsection that could be the reason why the drive's full capacity is not seen. Any more help is appreciated!

Link to comment
Share on other sites

I downloaded the source and looking through the AppleIntelPIIXATARoot.cpp, I noticed some interesting things, especally for combined/non-combined modes and such. I dont see any mention of PCIID's but rather Channel Modes instead. Here is the source: http://darwinsource.opendarwin.org/10.4/Ap...PIIXATARoot.cpp

 

Combined mode does work for me as mentioned but the full capacity is not seen. Maybe If I add the channel from the combined mode section to the non-combined mode section my drive might work. I wonder if "Enhanced" in the BIOS means non-combined.

Link to comment
Share on other sites

I think we can get ICH7 to work properly... 

 

http://www.netbsd.org/cgi-bin/query-pr-sin...pl?number=30795

 

This seems to imply just a bit of editing to some of the darwin files would get things going.  If I can convince my fiance that I need a board soon maybe I can test. hehe

 

This is what is being done with the nForce drivers.. and it seems to work for some, but not everyone.

 

I had no luck with the nForce side with my nForce 4 board, but others have had success with the nForce 3. Perhaps this method may work with ICH7.

Link to comment
Share on other sites

I've Got an Asus p5LD2 mainboard with 945P chipset.

 

When I added the device in the AppleIntelPIIXATA kext, I was able to see/mount my SATA drives in OSX.

 

Also the transfer rates increased but not too much. (now getting 6MB/sec)

 

What I did is added 0x27df8086 (Intel 945P PATA controller) to the ICH6 part in de Info.plist and added 0x27c08086 (Intel 945P SATA controller) to the SATA part.

 

Pretty straight forward bot not the 20MB/sec transfer speeds that i achieved on a 915P chipset.

Link to comment
Share on other sites

I ordered the MSI 945G Neo-F so I'll have similar issues. I have the Darwin 8.2 code for some of the ATA stuff (no explicit ICH7 tho), and I'm going to add the devices to that and compile that and see how things go.

 

Won't be able to report back till late next week as I won't have the parts until 8 Sept.

Link to comment
Share on other sites

Jtle: No haven't stared on that one yet.

 

Only thing I did is getting the device ID. (For the realtek it's 0x088210ec)

 

I also tried the harddisk speedup which includes the AppleIntelPIIATA.kext and IOATAFamily.kext.

Still not getting better results (stuck at 6mb/sec)

 

Jtle: wich code are you recomipling? and does it take a lot of altering?

Link to comment
Share on other sites

Ok I think it's working for me now :unsure:

 

here the results:

 

Results 33.54

System Info

Xbench Version 1.2

System Version 10.4.1 (8B1025)

Physical RAM 2048 MB

Model ADP2,1

Drive Type Maxtor 53073H6

Disk Test 33.54

Sequential 55.90

Uncached Write 45.87 28.17 MB/sec [4K blocks]

Uncached Write 48.75 27.58 MB/sec [256K blocks]

Uncached Read 93.87 27.47 MB/sec [4K blocks]

Uncached Read 53.79 27.03 MB/sec [256K blocks]

Random 23.96

Uncached Write 8.01 0.85 MB/sec [4K blocks]

Uncached Write 55.67 17.82 MB/sec [256K blocks]

Uncached Read 78.75 0.56 MB/sec [4K blocks]

Uncached Read 87.26 16.19 MB/sec [256K blocks]

 

 

So what I did:

 

1st - I followed the harddisk speed up guide which can be found here: http://forum.osx86project.org/index.php?sh...hard+disk+speed

 

(I also deleted /System/Library/Extensions.kextcache and /System/Library/Extensions.mkext)

 

2nd - in /System/Library/Extensions/AppleIntelPIIXATA.kext/Contents/Info.plist i added my ATA id at the ICH6 ATA part (mine is 0x27df8086)

 

3rd - In the same file, in the SATA ICH6 part I added the ICH7 SATA id (0x27c08086)

 

and it works!

Link to comment
Share on other sites

I haven't compiled anything yet. I'll now try your way of adding the ID's (I think I have the same as you do). I have the same ID for the sound and I have tried to put it in several kexts but doesn't seem to work for me.

 

Edit: Yep, adding those ID's works. I'll have to add that kext to the install DVD if I want to install to that drive.

Link to comment
Share on other sites

Cyrana: Yeah, I can use both. My OSX is installed on a PATA drive so haven't tried the SATA for installing.

Accessing files on a SATA drive works without any problems though

 

Next: Getting the realtek 882 HD audio to work :unsure:

Link to comment
Share on other sites

Well, I looked up all the appropriate device IDs and have an install edited and ready to go when my parts come in a couple of days. I saw a lot of BSD and linux patches for things such as 945P PATA and SATA device IDs, ALC882 ones, and also 945G graphics device ID. So, I just did a grep -R for the 915 IDs and added the 945 ones in their place.

 

Oh, and btw, for the ALC882, someone had the device ID inverted (as OS X would want it anyway). It should be 0x10ec0882.

 

I'll let you all know how it goes and if it works I'll just package a bunch of kexts up.

 

Oh, here are some useful links:

http://cvsweb.netbsd.org/bsdweb.cgi/src/sy...x-cvsweb-markup

http://pci-ids.ucw.cz/iii/?i=8086

http://people.redhat.com/linville/kernels/...zx-update.patch

Edited by cyrana
Link to comment
Share on other sites

Well, I looked up all the appropriate device IDs and have an install edited and ready to go when my parts come in a couple of days.  I saw a lot of BSD and linux patches for things such as 945P PATA and SATA device IDs, ALC882 ones, and also 945G graphics device ID.  So, I just did a grep -R for the 915 IDs and added the 945 ones in their place.

 

Oh, and btw, for the ALC882, someone had the device ID inverted (as OS X would want it anyway).  It should be 0x10ec0882.

 

I'll let you all know how it goes and if it works I'll just package a bunch of kexts up.

 

Oh, here are some useful links:

http://cvsweb.netbsd.org/bsdweb.cgi/src/sy...x-cvsweb-markup

http://pci-ids.ucw.cz/iii/?i=8086

http://people.redhat.com/linville/kernels/...zx-update.patch

 

Thanks cyrana, very intresting links and I also get confused about the order of the ID. I'm not even quite sure which kext to modify at the moment.

Link to comment
Share on other sites

There is a kext which has azalia in the name. I think that is the one for sound. At least it has the alc880 ID in it.

 

If you look up the 915 IDs and do 'grep -R ID#' inside the extensions directory you can get an idea where things are hidden anyway. -_-

Link to comment
Share on other sites

 Share

×
×
  • Create New...