Jump to content

NForce SATA Controller


MeDevil
 Share

757 posts in this topic

Recommended Posts

Hello hello! Firstly I gotta say thanks for the efforts so far! I've almost got it working! Some info on my near success:

 

My system: HP Pavilion dv2610us AMD Turion TL-58 (MCP67 Chipset) sata-0x056010de pata-0x055010de

Method of installation: VMware(XP host) using direct hard drive access (diskpart'd a fat32 PRIMARY partiton to type AF in an ubuntu session, then formatted & installed in vmware osx installer)

Boot Loader: Grub using /etc/chain0 from install disc

OSX Version: 10.4.8 Jas (do not mount the iso in vmware, use daemon tools & tell vmware to use physical drive that daemon is emulating) (also tried the 10.5.1amd iso but it doesn't seem to work in vmware)

 

I modified my vmware settings file to add things like guestOS darwin & disable scsi & whatnot, if anyone wants the details I can pull them up.

 

The install goes well, in under a half hour with printer drivers & additional languages disabled even! After install I've downloaded the AppleNForceATA kext from the first post in this thread, unpacked, chowned, chmoded into /System/Library/Extentions. I had to edit Info.plist to include my devIDs in the PATA & SATA sections. I deleted the Extentions.kextcache & Extentions.mkext. Then ran kextload -t /System/Library/Extentions/AppleNForceATA.kext & it appeared valid & loaded successfully. Then kextcache -k /System/Library/Extentions.

 

This is the tricky part, I powered down the vmware session & rebooted the laptop, selected OSX from my grub menu & the chainloader works nicely (FYI it fails if osx is not a primary partition OR it's 'behind' an extended/logical partiton). As is boots I see it loads the MeDevil driver for both the PATA & SATA drives (you can tell by the IRQ, PATA will usually be 13/14 & SATA usually 23/24), mounts the local files & right when it's between the removing of /mach.sym & Configuring Kernel Extensions I get the error:

 

disk1s2 I/O Error

disk1s2 I/O Error

 

constantly, then it attempts to load the system but it appears it may have mounted the filesystem read-only as it can't write & clear files during startup & just flings I/O Error left & right. Needless to say OSX fails & I have to hard reset (it's not frozen, just trying to work with a drive its not seeing right). The install still works fine in VMware though.

 

Any suggestions? Wanna send me a cutting edge kext to test out?

 

Thanks again for the efforts!

Link to comment
Share on other sites

when you get to the darwin boot screen press f8 and type rd=*sexytime

 

Replace sexytime with the device tree information of your drive, you can find this in disk utility. Leave the * there!

 

worked fine without the asterik as well....im booted on my raptor

Link to comment
Share on other sites

Well, I've managed to get this driver working and have been using it almost since it was posted. From what I can gather here are my observations :-

 

1. On my MCP 51 machine, the first version of the driver detects the SATA HDD but not the DVD drive (PATA)

2. The latest version of the driver can't read either

3. Since this driver cant seem to read both the PATA and SATA drives at the same time - I have used VMWare, attached my HDD to another machine and used Linux to copy / restore the iso image to a second partition.

4. Into this partition I have added this driver, booted into and installed from to another partition

5. Adding this driver to a DVD iso won't help (currently - unless both your SATA and PATA drives are detected) since once the kernel initialises the SATA/PATA drivers, it needs to detect both to be able to read from the DVD and install onto the HDD

 

My advice would be to restore/copy the iso to a different partition (from Linux/VMWare/Tiger), inject this driver there and then boot into the install partition from where you should be able to install to your Leopard partition where you want to.

Hope this helps.

Link to comment
Share on other sites

Works great for my SATA harddrives. Are SATA DVD drives supported?

 

I'm not sure now. I just added this and now my SATA DVD doesn't work at all. Leopard sees it but if I put in a DVD or CD, I just get this in my console:

 

31/12/07 9:21:27 AM kernel SAM Multimedia: READ or WRITE failed, SENSE_KEY = 0x06, ASC = 0x29, ASCQ = 0x00

 

The older version I had before I could read anything but burning didn't work.

 

MeDevil, is there anything you need for troubleshooting this?

Link to comment
Share on other sites

does anyone have a copy of the original *new driver? the 2nd version won't detect the hd, but detects the dvd. The older version does the opposite. I've installed OSX onto my laptops hd using an external case, and I want to try the other version of the driver to see if I can detect the hd now.

Link to comment
Share on other sites

does anyone have a copy of the original *new driver? the 2nd version won't detect the hd, but detects the dvd. The older version does the opposite. I've installed OSX onto my laptops hd using an external case, and I want to try the other version of the driver to see if I can detect the hd now.

 

I have the one from Dec 23, hope it helps.

 

 

AppleNForceATA.kext.zip

Link to comment
Share on other sites

have not tested this driver under leo, but it should work without problems.

FYI - Failed to load under Leopard (12/31 version, 6150 MCP 430 motherboard, copied .kext from working 10.4.8 drive, chown -R root:wheel, deleted extensions cache, kernel panic upon boot).

 

Looks like I'll be sticking with Tiger until you get it debugged.

Link to comment
Share on other sites

FYI - Failed to load under Leopard (12/31 version, 6150 MCP 430 motherboard, copied .kext from working 10.4.8 drive, chown -R root:wheel, deleted extensions cache, kernel panic upon boot).

 

Looks like I'll be sticking with Tiger until you get it debugged.

 

(About version 2007/12/31)

 

Its working very good under Leopard, at least for my NF430.

 

Anyway, its hard to get the pc to boot from the sata, needs more tries then ever before.

If only OSX got booted, the driver works very well.

Link to comment
Share on other sites

Just tried the new version on a clean IDE install and seems to be working ok. :(

I also found that (after cloning to SATA using Acronis) I can disconnect the IDE hard drive and still use the IDE DVD if I use the other connector on the IDE cable and change the jumper to master. :)

Link to comment
Share on other sites

Okay, after some fiddling about and closely examining the debug output in the panic screen, I discovered that the NVDANV40Hal.kext extension was hanging the machine. The wierd thing is that it happens only after I install AppleNForceATA.kext, but it still hangs even after removing it. I have a GeForce 7950GT 256MB, so it should be supported. I'm going to mess around with the various NV* versions to see if I can get things working properly.

Link to comment
Share on other sites

I've been using the first version on Leopard and can confirm that it woks fine most of the time (90% for me) on my MCP51 hacktop.

 

Sometimes - when it stalls before detecting the root device (the remaining 10%) - pressing the power button on my machine causes immediate detection of the drive - something to do with the ACPI interrupt produced by the button press.

 

Otherwise this driver works great. No problems at all. Of course, it would be perfect if it could detect my PATA DVD drive too.

 

But then my machine seems to have problems with the PS2 keyb and mouse, sound , ethernet and video. The sound and the GUI stutters unless I keep moving the mouse or type (something to do with the PS2 controller interrupts definitely). Video is stuck at 1024x768 on a 1280x800 built in LCD (GeForceGo 6100 prob).

 

But after all this - no problems yet with the SATA driver after extensive testing. I think almost all my problems are associated with the ApplePS2Controller mainly.

Link to comment
Share on other sites

Ok all. I found out that my USB-HDD drive prevents OSX from booting with the new driver from medevil.

 

Can anyone confirm that?

 

The XBench result:

 

Results 34.38

System Info

Xbench Version 1.3

System Version 10.5.1 (9B18)

Physical RAM 2048 MB

Model Mac Pro

Drive Type ST9100824AS

Disk Test 34.38

Sequential 66.09

Uncached Write 59.44 36.49 MB/sec [4K blocks]

Uncached Write 56.96 32.23 MB/sec [256K blocks]

Uncached Read 87.10 25.49 MB/sec [4K blocks]

Uncached Read 68.21 34.28 MB/sec [256K blocks]

Random 23.23

Uncached Write 7.56 0.80 MB/sec [4K blocks]

Uncached Write 66.37 21.25 MB/sec [256K blocks]

Uncached Read 71.30 0.51 MB/sec [4K blocks]

Uncached Read 93.09 17.27 MB/sec [256K blocks]

Link to comment
Share on other sites

ok folks,

first of all thanks to everyone who has help refine this kext to get sata drives working on the nforce chipsets.

Here is my current problem, I cant seem to install Leopard onto my sata drive as is, I dont know what variable is wrong yet.

 

I have installed 10.4.10 on a seperate pata drive and it runs fine, but forever reason i can not mount my sata drive using the

disk utiity once the leopard 10.5.1 AMD DVD boots up, It does recognizes all my sata drives, but when I try to either erase,mount or format

the drive i want to install on it just hangs and stops working, I get errors when i try to "repair disk" and even when i pre-format the drive

as a HFS+ partition, it will not show up in the "where do you want to install Leopard" screen.

 

I have added my device id in the info.plst and injected the kext into the dvd and it does recognize the drives, i just cant do anything with them.

and yes, the drive and partition is set as a primary one.

 

Any suggestions? My install disk is the one simply called "Mac Osx Leopard 10.5.1 for AMD SSE2 SSE3 (32bits)"

I have a AMD 64 3200

biostar 6100 mobo

nforce430/410

 

Thanks for any help, i really apreciate it.

Link to comment
Share on other sites

I have Jas Release (10.4.8), I have the latest NForce Sata Controller patch. But I couldn't find a way of injecting the patch into the ISO. Anyone can help me on that matter?

 

Also I have EVGA 680i chipset motherboard and a bunch of SATA disks. Unfortunately I have no IDE disks. After applying this patch, will it be possible to install Tiger on my system?

 

Thanks in advance.

Link to comment
Share on other sites

This worked for me on my MCP 55....some interesting things have happened though

 

1: Had the computer feeze once, had to pull the power. Upon logging back in, my entire SATA storage drive was orphaned. Luckily I was able to repair the disk and get everything back.

 

2: I can't get into OSX every time. Sometimes when it tries to launch the console window my screen turns white, blue, or red and then just sits there. The hard drives keep going. I can get in once every 4 or 5 tries.

 

 

I don't know how related these things are, but this was on a fresh installaion of tubgirl 10.4.10, which I had sucessfully used in the past on the same machine without these problems.

Link to comment
Share on other sites

Here is a tutorial on how to patch DVD iso's with your .kext files,

Remember to have transMac be able to show all hidden files in order to properly navigate to the system/library folder:

 

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

 

Thanks Josh25

Using the tutorial, I added the AppleNForceATA.kext to the iATKOS r2 ISO.

 

The SATA HDD was recognised by setup. Installation went a lot quicker and was done in around 10 mins.

Unfortunately when trying to boot, it just hangs "Still waiting for root device"

I let it sit for about 10 minutes, but it was still waiting :(

Link to comment
Share on other sites

 Share

×
×
  • Create New...