Jump to content

NForce SATA Controller


MeDevil
 Share

757 posts in this topic

Recommended Posts

PATA: 0x01bc10de 0x006510de 0x008510de 0x00d510de 0x00e510de 0x003510de 0x005310de 0x026510de 0x036e10de 0x03ec10de

 

SATA: 0x008e10de 0x00e310de 0x00ee10de 0x003610de 0x003e10de 0x005410de 0x005510de 0x026610de 0x026710de 0x037e10de 0x037f10de 0x03e710de 0x03f610de 0x03f710de 0x045c10de 0x045d10de 0x045e10de 0x045f10de

 

Know AHCI SATA enabled chipset device+vendor id: 0x044c10de 0x044d10de 0x044e10de 0x044f10d 0x055010de 0x055110de 0x055210de 0x055310de 0x056010de 0x055410de 0x058410de

Know AHCI PATA chipsets device+vendor id: 0x056010de 0x056010de 0x056c10de 0x075910de

 

If your chipset is in the "Know AHCI SATA enabled chipsets" then you CANNOT USE THIS KEXT!

If your chipset is in the "Know AHCI PATA enabled chipsets" then you can try to use this kext for the pata handling, but this is not tested, so try at your own risk!

 

Hi MeDevil, im a bit confused here, my SATA, an MCP67 is on the KNOW AHCI...(0550), anda my pata on the know PATA

 

so...what kext should i use to get MCP67, i can boot from leo v4.1 which uses VIAATa, bat i can not partition or format!!! :unsure:

 

any ideas?

BTW, on linux mcp76 is managed with AHCI module...

Link to comment
Share on other sites

:wacko: yarrrrrrrr......

any sight of land ahead Medevil ? summer's over and i've got ants in mi pants :whistle:

EDIT: Thanks for all the development, hopefully others can pick up on the good work you've already done and run with it. It would be great if you can get the burning issue to be resolved, looking forward to your fix if you get the time to hash it out . .. cheers

Link to comment
Share on other sites

Here you can find the newest ATA kext driver for nforce pata/sata chipsets.

This has been tested and is know to work on the ASRock 939NF6G-VSTA motherboard.

Drive(s) are UDMA enabled, and fully working without i/o errors.

 

Hey Domenico! I still have an issue with the nforceata.kext, maybe you cann tell me what to do ...

 

I have an MCP55, the vendor id is on the list of the kext. When the system is booting I see the devices which were found, but afterwords there still search for devices, then it says: "nForceATA found 0 devices". This statement apears two times before the system is on.

When I try to copy files, many times the system becomes unstable. When I try to download files from the internet, after a while the system becomes unstable too.

 

I think, is like the "driver" still probing all the time for new devices to find, and a conflict of traps or something like that happens ... Is just a thought ... is this issue happening to someone else??

 

Being thankfull for any help you could provide ....

 

Max.

Link to comment
Share on other sites

I'll write a short post here to respond to all the incoming messages i've received in my mailbox.

1) Yes, i will probabily update the driver for all the non-working chipsets and for the DVD burning error.

2) No, i don't know when this will happen, since i don't have much time to dedicate to this (read the end of the post about #1 and #2 answer).

3) No, i don't have time to write an "idiot-proof guide" to how the kext must be installed nor the time to write a self-install package.

4) As a developer, i can virtually write a driver for every hardware out there, or even fix any kernel problem, but don't expect me to do so. As you know, i don't have time nor resources for this.

5) I wrote the nforce fix as a challenge with myself, to be able to install and use leo on my machine. Curiosity (as well a good internet connection) is all you need to get started into driver developement, so stop asking and explore this world by your hands :(

6) Device/Vendor ID can be found in windows in the details tab of the hardware. They are shown as a string like this: "PCI\VEN_1111&DEV_2222", where 1111 is the vendor id and 2222 is the device id. Please, consult the online list of pci ids to understand if those are sata related.

 

Now, regarding the AHCI compatible chipsets:

There is a small chance that this driver could work with your ahci enabled chipset. I don't have any ahci enabled mobo, so i can't test this personally, but you can do it for me. First download the source code, then in the AppleNForceATARoot.cpp, add the following line:

is_ahci = false;

after the following declaration:

	bool is_ahci = (hwDeviceID == PCI_NFORCE_MCP65_S1 ||
				hwDeviceID == PCI_NFORCE_MCP65_S2 ||
				hwDeviceID == PCI_NFORCE_MCP65_S3 ||
				hwDeviceID == PCI_NFORCE_MCP65_S3);

 

If it works, then report it back on this thread, so other can use this solution.

 

The last bad news: consider the developement of this driver dead. I really don't have time to manage this and don't want to make promises that wouldn't be respected. Maybe in the next immediate future i'll have some spare time and/or resources to work on this, but don't count on it. If someone want to hack with the current sources, i'll be glad to provide him/her all the info i have or, if needed, modify the first post to include any info/fix.

 

That's all folks.

Link to comment
Share on other sites

Hi,

 

i got a little problem here.

 

I use a patched leo4all 10.5.4 and now it detects the root device ^^

 

But i get messages like this:

 

phy connection failed

and root filesystem is readonly

cannot mount /dev/diskxxx

 

Whats the reason for this ?

 

Thanks :(

Link to comment
Share on other sites

Hi,

 

i got a little problem here.

 

I use a patched leo4all 10.5.4 and now it detects the root device ^^

 

But i get messages like this:

 

phy connection failed

and root filesystem is readonly

cannot mount /dev/diskxxx

 

Whats the reason for this ?

 

Thanks :)

 

:wacko:

 

AppleNForceATA: NVIDIA nForce MCP 61 Serial ATA by MeDevil (CMD 0x9e0, CTR 0xbe0, IRQ 21, BM 0xc400)

 

AppleNForceATA: NVIDIA nForce MCP 61 Serial ATA by MeDevil (CMD 0x9f0, CTR 0xbf0, IRQ 20, BM 0xd800)

 

AppleNForceATA: NVIDIA nForce MCP 61 Serial ATA by MeDevil (CMD 0x970, CTR 0xb70, IRQ 20, BM 0xd808)

 

AppleNForceATA: warning phy connection failed. status=0x00000000

AppleNForceATA: found 0 units.

ERROR: Firewire unable to determine security-mode; defaulting to full-secure.

AppleNForceATA: found 0 units.

Still waiting for root device.

Still waiting for root device.

Still waiting for root device.

Still waiting for root device.

Still waiting for root device.

goes on for as long as you want.

Link to comment
Share on other sites

Hi, I`m a beginner, so please understand me.I`ve downloaded the dvd and a folder named "add_kext_to_dvd".How can i put the image content and that folder on a dvd?Usually I solve it with nero(burn image to disk), but I don`t know how to integrate also that folder..

LE:Come on, nobody?How can I burn the dvd with the image and with this kext file.Please help me.

Link to comment
Share on other sites

Hi, I`m a beginner, so please understand me.I`ve downloaded the dvd and a folder named "add_kext_to_dvd".How can i put the image content and that folder on a dvd?Usually I solve it with nero(burn image to disk), but I don`t know how to integrate also that folder..

LE:Come on, nobody?How can I burn the dvd with the image and with this kext file.Please help me.

 

if its kaly its already integrated. mainly all new distros have it in.

 

:D

 

AppleNForceATA: NVIDIA nForce MCP 61 Serial ATA by MeDevil (CMD 0x9e0, CTR 0xbe0, IRQ 21, BM 0xc400)

 

AppleNForceATA: NVIDIA nForce MCP 61 Serial ATA by MeDevil (CMD 0x9f0, CTR 0xbf0, IRQ 20, BM 0xd800)

 

AppleNForceATA: NVIDIA nForce MCP 61 Serial ATA by MeDevil (CMD 0x970, CTR 0xb70, IRQ 20, BM 0xd808)

 

AppleNForceATA: warning phy connection failed. status=0x00000000

AppleNForceATA: found 0 units.

ERROR: Firewire unable to determine security-mode; defaulting to full-secure.

AppleNForceATA: found 0 units.

Still waiting for root device.

Still waiting for root device.

Still waiting for root device.

Still waiting for root device.

Still waiting for root device.

goes on for as long as you want.

 

 

try -x -v this mainly means "kext not loaded corectly" or in bad place. u could try take it to "ioatafamily.kext/contens/plugins/{here}" anyhow as i see it loads just SATA ports not ATA. so if u try to boot from ATA DVD DRIVE to install... bad luck u see. any how look into AppleNorceATA.kext/contens/info.plist if your ATA is listed. its well known problem descibed in this thread in first post and also somewere at begining. and also someone sayz that press a power button for a short time repetively helps to stop "still waiting"

Link to comment
Share on other sites

I have an nforce 560 mobo, with both my dvd drive and hard drive on sata interface.When I go to the bios, and put the connection from ide to ahci, the setup detects my dvd and hdd drive, instals the mac os, but when I restart it goes once again with the install.If I remove the disk from the dvd it says:disk boot failure.If I return to ide, the same.Do I really need a Ide hdd?

Link to comment
Share on other sites

I have an nforce 560 mobo, with both my dvd drive and hard drive on sata interface.When I go to the bios, and put the connection from ide to ahci, the setup detects my dvd and hdd drive, instals the mac os, but when I restart it goes once again with the install.If I remove the disk from the dvd it says:disk boot failure.If I return to ide, the same.Do I really need a Ide hdd?

 

 

this should also men that you did not install a "boot loader" as is Chameleon or Darwin bootloader. have to click on some of distros in customize offer. hope it helps.

Link to comment
Share on other sites

  • 2 weeks later...

Is there any way to support SATA-300 ? My low harddisk speed is the worst problem on my system. Booting from IDE is faster than from SATA, and as I had an older Maxtor ATA-133 IDE HD I had amazing results. BTW: I have 10.5.3 on an Opteron 185 now - I'm usually in insanleymac.com ;-)

 

Firewire 800 also was a bit faster than SATA, with the same harddisk.

Link to comment
Share on other sites

Here you can find the newest ATA kext driver for nforce pata/sata chipsets.

This has been tested and is know to work on the ASRock 939NF6G-VSTA motherboard.

Drive(s) are UDMA enabled, and fully working without i/o errors.

 

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

Sources are not attached, if someone needs them, please pm me.

 

Here, some xbench results:

	   System Info		
			   Xbench Version		1.3
			   System Version		10.4.10 (8R2218)
			   Physical RAM		1024 MB
			   Model		ACPI
			   Drive Type		Maxtor 6V200E0
		   Disk Test	66.80	
			   Sequential	129.43	
				   Uncached Write	135.91	83.45 MB/sec [4K blocks]
				   Uncached Write	128.72	72.83 MB/sec [256K blocks]
				   Uncached Read	117.43	34.37 MB/sec [4K blocks]
				   Uncached Read	137.70	69.21 MB/sec [256K blocks]
			   Random	45.02	
				   Uncached Write	16.62	1.76 MB/sec [4K blocks]
				   Uncached Write	111.64	35.74 MB/sec [256K blocks]
				   Uncached Read	85.66	0.61 MB/sec [4K blocks]
				   Uncached Read	124.17	23.04 MB/sec [256K blocks]

 

Please, report here ONLY if the drive is working or not (if you want to thank me, you'll find my paypal address in the firm :) )

 

UPDATE 23-dec-2007:

I've fixed the driver because it was not handling atapi drive(s). The detection mechanism should be much fast now, however it will slow down a bit the boot process when trying to detect drive(s) on an empty channel. (i'll try to fix this in the next release).

This kext should also resolve the "still waiting for root device".

User with MCP55 chipset: please test this kext and report if it is working!

 

A little note: maybe native NCQ can be implemented on this driver. I'll look better at the sata_nv sources and try to implement it in the next (maybe last) version. Also, please note that this is just a challenge to me, and it's also probably that i'll never implement it in order to help other people with other drivers (eth, sound, etc).

 

UPDATE 31-dec-2007:

I've re-fixed the driver. Some users where still not detecting sata and/or pata drives, so this version should solve some problems. Below, a list of device+vendor id for supported pata/sata chipsets by this kext:

 

PATA: 0x01bc10de 0x006510de 0x008510de 0x00d510de 0x00e510de 0x003510de 0x005310de 0x026510de 0x036e10de 0x03ec10de

 

SATA: 0x008e10de 0x00e310de 0x00ee10de 0x003610de 0x003e10de 0x005410de 0x005510de 0x026610de 0x026710de 0x037e10de 0x037f10de 0x03e710de 0x03f610de 0x03f710de 0x045c10de 0x045d10de 0x045e10de 0x045f10de

 

Know AHCI SATA enabled chipset device+vendor id: 0x044c10de 0x044d10de 0x044e10de 0x044f10d 0x055010de 0x055110de 0x055210de 0x055310de 0x056010de 0x055410de 0x058410de

Know AHCI PATA chipsets device+vendor id: 0x056010de 0x056010de 0x056c10de 0x075910de

 

If your chipset is in the "Know AHCI SATA enabled chipsets" then you CANNOT USE THIS KEXT!

If your chipset is in the "Know AHCI PATA enabled chipsets" then you can try to use this kext for the pata handling, but this is not tested, so try at your own risk!

 

If you have a device/vendor id that isn't in this list, please send me a pm.

UPDATE 11-jan-2008:

Source released to the public.

NOTE: This project is far from being finished. I'm planning to separate the sata part from the pata, add ncq support, add raid support, maximize performances, ecc ecc.

However, i've little spare time, so don't start asking: "when we'll have xxx/yyy/zzz?" :)

 

UPDATE 29-feb-2008:

Attached a kext (AppleNForceATA.kext.TEST.zip) that should fix the "sam multimedia error" on sata dvd drives.

Please, report if there are issues with pata drives (either hd or dvds).

 

Regards, Domenico.

 

Hi! I grabbed your sources and fixed some issues with >2GB of RAM. Recently, some guy whose nick i don't remember right now said he needed your AppleNForceATA.kext.TEST to have a working DVD drive, but he also has troubles with >2GB of ram. Is there any way i could have those TEST sources so i can fix that to?

 

Thanks!

 

PD: I know you stopped working in these drivers, but anyway: http://code.google.com/p/darwin-ata/

Link to comment
Share on other sites

Ok......

 

I cannot get a straight answer anywhere.....

 

Is there a fix that is currently working for nforce 430 (DVD burning problem)?????

 

Currently I cannot burn.... Communications error.... (TOAST and DISK IMAGE)

 

I used leo4allv3 to load os86x.... so the drivers MEDEVIL had at the time were loaded....

 

Is there a new kext or something to fix this issue?

 

 

THANKS FOR THE HELP IN ADVANCE....

Link to comment
Share on other sites

Ok......

 

I cannot get a straight answer anywhere.....

 

Is there a fix that is currently working for nforce 430 (DVD burning problem)?????

 

Currently I cannot burn.... Communications error.... (TOAST and DISK IMAGE)

 

I used leo4allv3 to load os86x.... so the drivers MEDEVIL had at the time were loaded....

 

Is there a new kext or something to fix this issue?

THANKS FOR THE HELP IN ADVANCE....

 

Nope. there is no fix for this issue, and there probably will never be one...

Sorry, a solution would be a USB DVD Burner...

Link to comment
Share on other sites

I can tell you straight up, I have the dvd burning problem as well, switching to AHCI mode has fixed this problem. Some people said that in heavy write situations that this might be unstable, but I just backed up over 500 gigs over 3 drives consolidated on to one in one night, and I haven't seen any problems. If your mobo support AHCI this might be a solution.

Link to comment
Share on other sites

I can tell you straight up, I have the dvd burning problem as well, switching to AHCI mode has fixed this problem. Some people said that in heavy write situations that this might be unstable, but I just backed up over 500 gigs over 3 drives consolidated on to one in one night, and I haven't seen any problems. If your mobo support AHCI this might be a solution.

 

Wait, you got dvd burning working?

Link to comment
Share on other sites

 Share

×
×
  • Create New...