Jump to content

ATI ATA Chipset Imporved


Zappadoc
 Share

62 posts in this topic

Recommended Posts

Ok, here you will find the new improved ATI IPX/ATA driver.

I started from Open Darwin AppleOnBoardATA source pkg like Scousi (thanks again for this great idea my friend) but I've made a new class for ATI chipsets (AppleATIIXPATA) rather than patch the ServerWorksATA class with support 0x4349 and 0x4376 device id and also add the support of UDMA from 66 to 133 (mode 4, 5 and 6).

 

Ez Installation :):

- uncompress the archive on the root of your harddisk

- launch Terminal with sudo -s + password

- cp /AppleOnboardATA.kext /System/Library/Extensions/

- check the permission:

chown -R root:wheel /System/Library/Extensions/AppleOnBoardATA.kext

chmod -R 755 /System/Library/Extensions/AppleOnBoardATA.kext

- remove AppleGenericATA and AppleOnBoardATA from IOATAFamily.kext/Contents/Plugins/

- Remove kextcache

rm Extension.kextcache from /System/Library

- rebuild kextcache

kextcache -k /System/Library/Extensions/

- reboot

 

on standard or verbose mode you must see on the screen or on system.log someting like :

AppleATIIXPATA: ATI SB450 (CMD 0x1f0, CTR 0x3f4, IRQ 14, BM 0xf800)

or

AppleATIIXPATA: ATI ATA (CMD 0x1f0, CTR 0x3f4, IRQ 14, BM 0xf800)

 

Enjoy!

Z

ps: could you tell me the device ID of SB100/SB150/SB200/SB250 chipset and confirm the SB450, thanks!

 

download the kext here:

http://forum.osx86project.org/index.php?showtopic=13413

Link to comment
Share on other sites

Ok, here you will find the new improved ATI IPX/ATA driver.

I started from Open Darwin AppleOnBoardATA source pkg like Scousi (thanks again for this great idea my friend) but I've made a new class for ATI chipsets (AppleATIIXPATA) rather than patch the ServerWorksATA class with support 0x4349 and 0x4376 device id and also add the support of UDMA from 66 to 133 (mode 4, 5 and 6).

 

Ez Installation :thumbsdown_anim::

- uncompress the archive on the root of your harddisk

- launch Terminal with sudo -s + password

- cp /AppleOnboardATA.kext /System/Library/Extensions/

- check the permission:

chown -R root:wheel /System/Library/Extensions/AppleOnBoardATA.kext

chmod -R 755 /System/Library/Extensions/AppleOnBoardATA.kext

- remove AppleGenericATA and AppleOnBoardATA from IOATAFamily.kext/Contents/Plugins/

- Remove kextcache

rm Extension.kextcache from /System/Library

- rebuild kextcache

kextcache -k /System/Library/Extensions/

- reboot

 

on standard or verbose mode you must see on the screen or on system.log someting like :

AppleATIIXPATA: ATI SB450 (CMD 0x1f0, CTR 0x3f4, IRQ 14, BM 0xf800)

or

AppleATIIXPATA: ATI ATA (CMD 0x1f0, CTR 0x3f4, IRQ 14, BM 0xf800)

 

Enjoy!

Z

ps: could you tell me the device ID of SB100/SB150/SB200/SB250 chipset and confirm the SB450, thanks!

 

Awesome! Thanks.

 

I've seen recently that the SB ATI ATA is based on the Silicon Image 3112.

 

I haven't touched the driver since then. If we ever get the sound driver to work, we shoud do a professional installer that would do both.

 

A few of us are working on the sound - but the solution isn't as easy as the ATA was. (Must admit that some luck was invloved there)!

Link to comment
Share on other sites

I have Acer Aspire 3022 with SB400

I did not get speed improve....

 

Serewareworks:

Results 27.20

System Info

Xbench Version 1.2

System Version 10.4.5 (8G1454)

Physical RAM 512 MB

Model ADP2,1

Drive Type IC25N060ATMR04-0

Disk Test 27.20

Sequential 38.42

Uncached Write 34.93 21.44 MB/sec [4K blocks]

Uncached Write 34.65 19.61 MB/sec [256K blocks]

Uncached Read 55.53 16.25 MB/sec [4K blocks]

Uncached Read 34.95 17.56 MB/sec [256K blocks]

Random 21.06

Uncached Write 7.72 0.82 MB/sec [4K blocks]

Uncached Write 42.26 13.53 MB/sec [256K blocks]

Uncached Read 50.73 0.36 MB/sec [4K blocks]

Uncached Read 58.38 10.83 MB/sec [256K blocks]

 

New driver:

Results 27.17

System Info

Xbench Version 1.2

System Version 10.4.5 (8G1454)

Physical RAM 512 MB

Model ADP2,1

Drive Type IC25N060ATMR04-0

Disk Test 27.17

Sequential 36.67

Uncached Write 33.12 20.34 MB/sec [4K blocks]

Uncached Write 32.82 18.57 MB/sec [256K blocks]

Uncached Read 52.99 15.51 MB/sec [4K blocks]

Uncached Read 33.84 17.01 MB/sec [256K blocks]

Random 21.57

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

Uncached Write 40.59 13.00 MB/sec [256K blocks]

Uncached Read 53.18 0.38 MB/sec [4K blocks]

Uncached Read 57.35 10.64 MB/sec [256K blocks]

Link to comment
Share on other sites

I have Acer Aspire 3022 with SB400

I did not get speed improve....

 

Serewareworks:

Results 27.20

System Info

Xbench Version 1.2

System Version 10.4.5 (8G1454)

Physical RAM 512 MB

Model ADP2,1

Drive Type IC25N060ATMR04-0

Disk Test 27.20

Sequential 38.42

Uncached Write 34.93 21.44 MB/sec [4K blocks]

Uncached Write 34.65 19.61 MB/sec [256K blocks]

Uncached Read 55.53 16.25 MB/sec [4K blocks]

Uncached Read 34.95 17.56 MB/sec [256K blocks]

Random 21.06

Uncached Write 7.72 0.82 MB/sec [4K blocks]

Uncached Write 42.26 13.53 MB/sec [256K blocks]

Uncached Read 50.73 0.36 MB/sec [4K blocks]

Uncached Read 58.38 10.83 MB/sec [256K blocks]

 

New driver:

Results 27.17

System Info

Xbench Version 1.2

System Version 10.4.5 (8G1454)

Physical RAM 512 MB

Model ADP2,1

Drive Type IC25N060ATMR04-0

Disk Test 27.17

Sequential 36.67

Uncached Write 33.12 20.34 MB/sec [4K blocks]

Uncached Write 32.82 18.57 MB/sec [256K blocks]

Uncached Read 52.99 15.51 MB/sec [4K blocks]

Uncached Read 33.84 17.01 MB/sec [256K blocks]

Random 21.57

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

Uncached Write 40.59 13.00 MB/sec [256K blocks]

Uncached Read 53.18 0.38 MB/sec [4K blocks]

Uncached Read 57.35 10.64 MB/sec [256K blocks]

 

 

You won't see much of an improvement on a laptop as the drive itself is the bottlneck rather than the contoller.

Link to comment
Share on other sites

Hi can you release the source or add the following ids:

 

0x00d510de 0x006510de 0x01bc10de 0x00e510de 0x005310de 0x026510de

 

in the nforce source code so we can have a single kexts that works on nforce/ati.

 

Nforce ids are hardcoded in the source code

Link to comment
Share on other sites

This driver is GREAT! :censored2:

I can confirm this driver works on my laptop with ATI Mobility 9100 IGP! (SB 200...as I remember)

Before loading this driver, OS X 10.4.5 is not able to identify my optical drive,

but now it does!

 

And the startup time is much faster! :angel:

 

Here is the xbench result after using driver (Toshiba 2.5" 5400RPM hard disk w/ 16MB Cache)

 

Results 31.03

System Info

Xbench Version 1.2

System Version 10.4.5 (8G1454)

Physical RAM 1024 MB

Model ADP2,1

Drive Type TOSHIBA MK8026GAX

Disk Test 31.03

Sequential 57.99

Uncached Write 55.92 34.33 MB/sec [4K blocks]

Uncached Write 42.71 24.16 MB/sec [256K blocks]

Uncached Read 89.31 26.14 MB/sec [4K blocks]

Uncached Read 60.65 30.48 MB/sec [256K blocks]

Random 21.18

Uncached Write 7.23 0.77 MB/sec [4K blocks]

Uncached Write 45.79 14.66 MB/sec [256K blocks]

Uncached Read 60.66 0.43 MB/sec [4K blocks]

Uncached Read 81.23 15.07 MB/sec [256K blocks]

 

Before loading this driver I got around 10 marks in the disk test, acoording to my memory.

Thanks for your great work! ;)

Link to comment
Share on other sites

Ok, guys I'm ready to compile the new ATI/NVIDIA P-ATA driver but need some info on NVIDIA Controlers, does that controler support UDMA 6:

 

1- NVIDIA MCP51 IDE -> 0x26510de

2- NVIDIA CK8S PATA -> 0x005310de

3- NVIDIA CK8S IDE -> 0x00e510de

 

??

Thanks

Link to comment
Share on other sites

Ok, guys I'm ready to compile the new ATI/NVIDIA P-ATA driver but need some info on NVIDIA Controlers, does that controler support UDMA 6:

 

1- NVIDIA MCP51 IDE -> 0x26510de

2- NVIDIA CK8S PATA -> 0x005310de

3- NVIDIA CK8S IDE -> 0x00e510de

 

??

Thanks

 

yes they do

Link to comment
Share on other sites

Nvidia ATA ids:

 

1) 0x00d510de (REV A2,A4,A5,A6) -> CK8Desc="NVIDIA nForce3 Parallel ATA Controller"

2) 0x00d510de (REV F2,F4,F5,F6) -> CK8DescSB="NVIDIA nForce3 Parallel-Serial ATA Bridged Controller"

3) 0x00e310de -> CK8SSS="NVIDIA nForce3 250 Serial ATA Controller"

4) 0x00ee10de -> CK8SSS="NVIDIA nForce3 250 Serial ATA Controller"

5) 0x00e510de -> CK8SSP="NVIDIA nForce3 250 Parallel ATA Controller"

6) 0x003610de -> MCP04SSS="NVIDIA nForce4 Intel Edition Serial ATA Controller"

7) 0x003e10de -> MCP04SSS="NVIDIA nForce4 Intel Edition Serial ATA Controller"

8) 0x003510de -> MCP04SSP="NVIDIA nForce4 Intel Edition Parallel ATA Controller"

9) 0x005410de -> CK804SSS="NVIDIA nForce4 Serial ATA Controller"

10) 0x005510de -> CK804SSS="NVIDIA nForce4 Serial ATA Controller"

11) 0x005310de -> CK804SSP="NVIDIA nForce4 Parallel ATA Controller"

Link to comment
Share on other sites

  • 3 weeks later...

fireshark:Here is the xbench result after using driver (Toshiba 2.5" 5400RPM hard disk w/ 16MB Cache) (using what controller????)

 

hackingtosh: 'I get speeds like that too and I have a 7200rpm drive (laptop, not nonetheless...)' using sb200 Results 31.03

 

 

On my sb400 controller with a 7200rpm hitachi

 

i have about the same score (32.60) as the quoted guys above.., how can this be, is there a way to check the current dma mode etc? > like hdparam under *nix?

Link to comment
Share on other sites

Zappadoc I LOVE YOU

 

IT WORKS WOOOWWWWW

 

My IDE HDD read at 58m/s AMAZING

 

The system boot in 20sec cca STUNNING

 

This is my Xbench:

 

Results 79.36

System Info

Xbench Version 1.2

System Version 10.4.5 (8G1454)

Physical RAM 1024 MB

Model ADP2,1

Drive Type Maxtor 6Y080L0

CPU Test 69.40

GCD Loop 116.12 6.12 Mops/sec

Floating Point Basic 83.11 1.97 Gflop/sec

vecLib FFT 41.92 1.38 Gflop/sec

Floating Point Library 76.10 13.25 Mops/sec

Thread Test 134.96

Computation 100.80 2.04 Mops/sec, 4 threads

Lock Contention 204.13 8.78 Mlocks/sec, 4 threads

Memory Test 100.53

System 96.45

Allocate 94.72 347.83 Kalloc/sec

Fill 107.59 5231.42 MB/sec

Copy 88.87 1835.64 MB/sec

Stream 104.96

Copy 101.89 2104.42 MB/sec

Scale 102.04 2108.19 MB/sec

Add 108.28 2306.70 MB/sec

Triad 108.00 2310.49 MB/sec

Disk Test 53.66

Sequential 94.25

Uncached Write 80.69 49.54 MB/sec [4K blocks]

Uncached Write 99.27 56.17 MB/sec [256K blocks]

Uncached Read 90.29 26.42 MB/sec [4K blocks]

Uncached Read 112.41 56.50 MB/sec [256K blocks]

Random 37.51

Uncached Write 13.21 1.40 MB/sec [4K blocks]

Uncached Write 89.15 28.54 MB/sec [256K blocks]

Uncached Read 83.60 0.59 MB/sec [4K blocks]

Uncached Read 128.89 23.92 MB/sec [256K blocks]

 

 

 

Zappa one thing, now I can see only one strange problem the OS is terrible FAST but sometime the cursor or the keybord or the DOCK freez for 1sec .....

 

Do you know what is ?

 

OH GOD ZAPPA

 

I've reboot 3 times and some time the boot hang at:

 

From path:"uuid" ,

Waiting for boot volume with UUID 392F7CED-ADA3-396A-396A-A415-89CC760F8B8F

Waiting on ....ec.....

 

 

or with this message:

 

Extension "com.apple.driver.AppleOnboardPCATA" has no kernel dependency

Link to comment
Share on other sites

  • 2 weeks later...

Hi guys,

New here so don't shoot me for asking the wrong things.

So far I've installed about three times every time ending up with a dead disk.

I've been fidling around with the settings for this SB400 and looking to change somethings before I add it to OSX.

 

Was looking at the Info.plist and wondering what value to change to reflect my system.

This is the original plist:

 

<key>ATI IXP PCI</key>

<dict>

<key>CFBundleIdentifier</key>

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

<key>Hardware Vendor</key>

<string>ATI</string>

<key>IOClass</key>

<string>AppleOnboardPCATARoot</string>

<key>IOPCIPrimaryMatch</key>

<string>0x43761002 0x43491002</string>

<key>IOProbeScore</key>

<string>10000</string>

<key>IOProviderClass</key>

<string>IOPCIDevice</string>

</dict>

 

Now the question on what to change where? Would I substitute 0x43761002 0x43491002 with 0x43761002?

 

HW= HP NX6125 AMD Turion 64 ML32.

 

Bus-Numb-Fun IRQ Vendor-Dev-Sub_OEM-Rev Class Vendor and Device Description

[ 0 - 00 - 0 ] 1002-5950-308B103C-01 Host Bridge ATI RS480 Host Bridge

[ 0 - 01 - 0 ] 1002-5A3F-00000000-00 PCI Bridge (0-1) ATI

[ 0 - 04 - 0 ] 255 1002-5A36-00000000-00 PCI Bridge (0-16) ATI

[ 0 - 05 - 0 ] 255 1002-5A37-00000000-00 PCI Bridge (0-32) ATI

[ 0 - 19 - 0 ] 19 1002-4374-308B103C-00 OHCI USB Controller ATI IXP SB400 OHCI USB Controller

[ 0 - 19 - 1 ] 19 1002-4375-308B103C-00 OHCI USB Controller ATI IXP SB400 OHCI USB Controller

[ 0 - 19 - 2 ] 19 1002-4373-308B103C-00 EHCI USB Controller ATI IXP SB400 EHCI USB 2.0 Controller

[ 0 - 20 - 0 ] 1002-4372-308B103C-11 SMBus Controller ATI IXP SB400 SMBus

[ 0 - 20 - 1 ] 10 1002-4376-308B103C-00 EIDE Controller ATI IXP SB400 IDE Controller

[ 0 - 20 - 3 ] 1002-4377-308B103C-00 ISA Bridge ATI IXP SB400 PCI-ISA Bridge

[ 0 - 20 - 4 ] 1002-4371-00000000-00 PCI Subtractive (0-2:3) ATI IXP SB400 PCI-PCI Bridge

[ 0 - 20 - 5 ] 17 1002-4370-308B103C-02 Audio Controller ATI IXP SB400 AC'97 Audio Controller

[ 0 - 20 - 6 ] 17 1002-4378-308B103C-02 Hayes Compatible ATI IXP SB400 AC'97 Modem Controller

[ 0 - 24 - 0 ] 1022-1100-00000000-00 Host Bridge AMD Athlon 64 / Opteron HyperTransport Technology Configuration

[ 0 - 24 - 1 ] 1022-1101-00000000-00 Host Bridge AMD Athlon 64 / Opteron Address Map

[ 0 - 24 - 2 ] 1022-1102-00000000-00 Host Bridge AMD Athlon 64 / Opteron DRAM Controller

[ 0 - 24 - 3 ] 1022-1103-00000000-00 Host Bridge AMD Athlon 64 / Opteron Miscellaneous Control

[ 1 - 05 - 0 ] 17 1002-5955-308B103C-00 VGA Controller ATI Mobility Radeon XPRESS 200

[ 2 - 01 - 0 ] 23 14E4-169C-308B103C-03 Ethernet Controller Broadcom BCM5788 NetXtreme Gigabit Ethernet

[ 2 - 02 - 0 ] 22 14E4-4318-1356103C-02 Comms Controller Broadcom BCM4309 802.11a/b/g

[ 2 - 04 - 0 ] 20 104C-8031-0000FE00-00 Cardbus Bridge (2-3) Texas PCIxx21/x515 Cardbus Controller

[ 2 - 04 - 2 ] 21 104C-8032-308B103C-00 OHCI FireWire Texas OHCI Compliant IEEE-1394 FireWire Controller

[ 2 - 04 - 3 ] 21 104C-8033-308B103C-00 Disk Controller Texas PCIxx11/21 Integrated FlashMedia Controller

[ 2 - 04 - 4 ] 21 104C-8034-308B103C-00 Generic

SDHost Texas SDA Standard Compliant SD Host Controller

 

Thx for any help or info you can supply.

 

Cheers,

Charleybrown

Link to comment
Share on other sites

 Share

×
×
  • Create New...