netkas.org

Netkas blog.

Intel ATA support for Snow Leopard

Default AppleIntelPIIXATA.kext makes kernel panic in snowleopard.

here is 32/64-bit kext to make ata work in snow leopard.

just install to /Extra and enjoy.

second ata controller (sata ports 5 and 6) doesnt work in this release.

link to kext

P.S. usefull for ICH6/7/8/9/10 with ahci disabled and for lappies – many of them have dvd drive attached to ide connector.

Comments

  1. August 11th, 2009 | 1:53 pm

    [...] 12:53 PM Intel ATA support for Snow Leopard Mini 9 Black | 2 GB RAM | 16 GB Stock Dell SSD | BT | 1.3MP Cam | OSX 10.5.7 | DellEFI 1.2a5 [...]

  2. Brady
    August 11th, 2009 | 5:15 pm

    Works a treat,

    Thank You

  3. TE3k
    August 11th, 2009 | 5:56 pm

    Really? I’m running the original PIIXATA in Snow x64, except I added some device IDs to it so it would work with my motherboard. What exactly is different about you kext? P5KC w/ ICH9 here.

  4. frantisheq
    August 11th, 2009 | 5:59 pm

    my dell xps410 with ich8r still won’t boot. i have tried adding dev id or ataportinjector but it’s always waiting for boot device.

  5. scifan68
    August 11th, 2009 | 7:18 pm

    Still kernel panics when i added the dev ids for the Dell XPS 410’s ata controller. :\

  6. netkas
    August 11th, 2009 | 7:49 pm

    TE3k for me, on ich10r, ata mode results in kernel panic with default kext, and not only for me

  7. Bryan
    August 11th, 2009 | 8:22 pm

    netkas, I appreciate the release! =) This is perfect because the only kext besides dsmos and disabler that my system needs to boot leopard is AppleIntelPIIXATA.kext. The only problem is, I can’t seem to get this to work. Whether it’s installed or not, I get the same result. It laods some of the initial stuff and says 64 bit mode enabled and stuff, but it just stalls and the hard drive never even spins, which is clearly showing that the hard drives aren’t detected. The ahrd drive I’m booting from is in port 2 while leopard is in sata port 1. The wierd thing is, I know the kext is doing something, because after I get still waiting for root device, I reboot. When I reboot, I realize my sata mode setting has been changed from Raid/Auto detect to Raid On which I believe is AHCI mode. It also enabled the internal floppy drive (which isnt even present). Because the setting was changed to “Raid On” my system doesnt even detect the 2 hard drives installed on my computer, so the only option I have is to change it back to Raid/Auto Detect. I’m sorry if this is confusing =P. I’m on a dell e520 with a p965/g965 chipset. Leopard build is 10a380.

  8. netkas
    August 11th, 2009 | 8:34 pm

    Bryan, you are very wrong in your statements, go google

  9. latowl
    August 11th, 2009 | 11:12 pm

    i have this problem but i only had it on later versions after 10a360 i think, the early builds which 64bit mode wouldnt run correctly i could run it… thnx this should help

  10. rxh
    August 12th, 2009 | 1:58 am

    netkas, are you using snow as your main system or still as a tests one?

  11. tj
    August 12th, 2009 | 2:20 am

    thanks for this, will test later on, much needed for my laptop optical drive in 64-bit mode
    on an ICH8

  12. th
    August 12th, 2009 | 9:33 am

    im on a ICH8 XPS M1530 (santa rosa)
    still kernel panics same as the vanilla kext
    do you need any debug info? running snow leo 10a421a and removed original AppleIntelPIIXATA.kext still same panic

  13. frantisheq
    August 12th, 2009 | 12:50 pm

    i’m getting panic only after i boot with -f. after restart only with -v there are no panics and it loads fine in 64bit mode but there is still the waiting for root device problem. it boots up randomly (1 of 20 boots maybe) to gray screen at full resolution with working mouse cursor

    ////bleh, it seems once again I made a thing which works only on ich10r :D

  14. twr
    August 12th, 2009 | 12:51 pm

    still facing usual KP too, now related to IOATA & IOPCI …

    I put the new kext into my /E/E folder, leaving untouched retail ones in /S/L/E : is there something else I should have done ?

    (ICH7 chipset & 10A421a rig)

  15. August 12th, 2009 | 5:54 pm

    Hmm All Ha Users with Snow Leo got KP with original kext?

  16. mark
    August 13th, 2009 | 9:30 am

    not all,i’ve got ich10r and original kexts no panic)

  17. twr
    August 13th, 2009 | 12:21 pm

    I’ve actually been told on IRC that SL doesn’t support PATA anymore, so that we need our own drivers ; and lots of hackintosh still use IDE, especially optical, drives !

    I’ve tryed to put the new PIIXATA kext into IOATAFamily : still KPping … :(

  18. Brady87
    August 13th, 2009 | 2:35 pm

    @ twr

    Not true, i have a PATA/IDE optical drive, Its works 100% with SL

  19. galbazaa
    August 13th, 2009 | 3:25 pm

    For me the vanilla one works fine in 32/64bit Mode.

    AppleIntelPIIXATA:

    Version: 2.5.0
    Last Modified: 19.07.09 9:44
    Get Info String: 2.5.0, Copyright Apple Inc. 2000-2008
    Kind: Intel
    Architectures: i386, x86_64
    64-Bit (Intel): Yes
    Location: /System/Library/Extensions/IOATAFamily.kext/Contents/PlugIns/AppleIntelPIIXATA.kext
    Kext Version: 2.5.0
    Load Address: 0×5aecb000
    Valid: Yes
    Authentic: Yes
    Dependencies: Satisfied

  20. August 13th, 2009 | 6:38 pm

    Works for me in Snow Leopard 421, with P6T7! Thanks Netkas.

  21. twr
    August 13th, 2009 | 7:37 pm

    then some (many ?) of us need support from kind ihackers ! :P

    I really don’t understand what f***s up : my ICH7 PATA controller VEN & ID are in the right section of netkas’ kext .plist …

  22. twr
    August 14th, 2009 | 6:13 pm

    sorry if I look “pressing” or anoying about that, but does anybody (and of course, this place’s lord) have an idea about solving the PATA issue some people (including me) have with or without modded .kext ?

    I actually would like to understand what’s wrong.

    on my rig, I get KP with -x32 or -x64 ; using 10.5 IOATA solves it for 32-bit mode …

  23. August 15th, 2009 | 2:03 pm

    Netkas

    Thanks for everything. I am on snow leopard (Intel 945P , Dell XPS 400/ICH-7R). ATA works beautifully with your kext. I used iOATAFamily from Leopard and now I am using your kext

    cheers

  24. dong
    August 15th, 2009 | 4:13 pm

    Not work for me on a T60 (Intel 945PM, ICH7-M/U). Panic at “WritePacket()” of IOATAFamily when calling register I/O. Here is the panic picture:http://dl.getdropbox.com/u/1727104/IOATA.jpg

    ////will look into panic later

  25. frantisheq
    August 16th, 2009 | 12:50 pm

    maybe this will sound stuid from me after all these years on hack but how can one tell that the “waiting for boot device” is caused by AppleIntelPIIXATA? because if i try AHCI mode with patched AppleAHCIPort.kext, vanila PIIXATA or the one for Leopard there is no difference on the screen so i thought that maybe the problem is caused by some other kext and system just won’t get to load ich8r driver

  26. twr
    August 16th, 2009 | 1:16 pm

    I agree !

    another question : since ICHx PATA & SATA controllers VEN & ID are in the vanilla PIIXATA plugin .plist, they should work out of the box, shouldn’t they ?

    I must confess I really don’t understand how all this stuff works (or not), and it makes me pretty dazed & confused …

  27. frantisheq
    August 16th, 2009 | 1:29 pm

    in vanila ata kext there is 28288086 dev id but on xps 410 it’s 2820 so i have too add it to info.plist

  28. twr
    August 17th, 2009 | 10:17 am

    on my ICH7/945GC, dev & id are 0×27df8086 (ATA/100) & 0×27c08086 (SATA), just as they are in vanilla & netkas’ PIIXATA info.plist …

  29. twr
    August 19th, 2009 | 12:19 pm

    might it be linked to my 4Gb ram size ?

  30. nevermind
    August 19th, 2009 | 7:54 pm

    Hey there,

    looks like the drivers is working for me in SL, I get:
    Got bot device = IOService:// etc etc
    BSD root: disk0s2, major 14, minor 2

    but then my systems hangs up and the hd spins down!

    I’ve an ATA HD, and my leo ioreg says it uses controller ICH2 ATA/100, 0×244A8086 0×244B8086, 0×3f061d, that should work with the driver right?

    Anyone an idea why it doesn’t?

    Cheers!

    N.M.

  31. August 19th, 2009 | 11:10 pm

    I’m having some problems…

    I got a kernel panic with the stock AppleIntelPIIXATA.kext file. So, I put the new one from this post into /Extra/Extensions, rebooted, and I got a kernel panic at the same spot.

    SO, I decided to get rid of the stock one from /S/L/E/IOATAFamily.kext/Contents/Plugins, and I got a kernel panic right after it starts to boot :( .

    Any ideas?

  32. August 20th, 2009 | 1:28 am

    Here’s a image of the kernel panic (just did a brand new install, put AppleIntelPIIXATA.kext into /Extra/Extensions):
    http://img39.imageshack.us/img39/9933/img0223d.jpg

  33. BeSweeet
    August 20th, 2009 | 4:04 pm

    What the hell happened to my post??

    I get a kernel panic with both kexts. Even with the original deleted, I get a KP even earlier on than usual.

    Please fix this!!!!!

  34. nevermind
    August 20th, 2009 | 6:07 pm

    please ignore the above, sorry | -)

    AppleACPIPCI kext, seems to have moved to AppleACPIPlatform binary

    still hangs though ;-)

  35. brightstar
    August 20th, 2009 | 7:58 pm

    firstly no matter what i cant seem to install the chameleon v2 snow leopard support pkg. i replaced the boot file with the one in the zip downloaded from here tho (is this correct?).

    secondly, i’ve tried various things but it simply wont boot into snow leopard. it gets to the darwin bootloader screen with the timeout (& boot flag options input bit) but just hangs after i select snow drive. -v gives me a little more info, it stops after loading mach_kernel on (some number) and nothing, never boots. is there a workaround or am i doing something wrong? thanks

  36. nevermind
    August 21st, 2009 | 1:20 pm

    @ BeSweeet

    what happens when you do not disable your second IDE? Disabling IDE in bios gave me a KP too..

  37. nevermind
    August 21st, 2009 | 5:28 pm

    anyone who got it working on ICH2 ATA, please post here how you did it, can’t get it to work

    Netkas: should it be possible with this kext?

  38. BeSweeet
    August 21st, 2009 | 9:07 pm

    @nevermind I don’t have any of those options in my BIOS.

    Anyway, this kext works fine. My DVD drive doesn’t show up anymore though :( . I don’t remember how I got this working.

  39. Leader86
    August 22nd, 2009 | 11:37 am

    Here’s the KP with or without patched AppleIntelPIIXATA on ICH7 where “Seconndary PCI IDE channel is disabled”.

    http://img20.imageshack.us/img20/9983/22082009147.jpg

    Any ideas?

  40. TWR
    August 22nd, 2009 | 5:27 pm

    the KP seems indeed related to the lack of a secondary PCI IDE channel on my side, for my mobo has only one PATA controller …

  41. ned bulous
    August 24th, 2009 | 3:51 pm

    I have the exact same KP related to the fact that my MB (Badaxe2) has no secondary PCI IDE PATA. Anyone know of a workaround yet?

  42. TWR
    August 24th, 2009 | 6:56 pm

    not yet …

    any idea about it, netkas ?

  43. Shizzeliner
    August 25th, 2009 | 11:08 am

    netkas, are you planning to release an update with second ata controller enabled?

  44. paperys
    August 25th, 2009 | 6:03 pm

    Much needed for SL,specially in x64 mode.

  45. TWR
    August 26th, 2009 | 12:21 pm

    waiting for the sources maybe …

  46. Derrick
    August 29th, 2009 | 12:05 am

    Same problem here on a IBM T60 1951 FDG, both stock or patched kext dont work. Definetly a problem.

  47. Robocop9000
    August 29th, 2009 | 5:50 am

    Netkas, this kext allowed my SL system to boot. You are amazing. Amazing! Thank you!

  48. Jerry
    August 30th, 2009 | 11:58 am

    I have exactly the same Error like Leader86

    on HP 6710b

  49. pentiumx
    September 6th, 2009 | 12:05 am

    Everyone, at least with a thinkpad laptop:
    I’ve tried netkas’ modified 10.6 ATA kext on my R60 (ICH7-M), different ways, and still got kernel panics.
    Just tried IOATAFamily.kext from 10.5.8 Leopard, and it seems to work, as in, no KPs and DVD drive is working. I’m running 32bit though.

  50. Jingu
    September 6th, 2009 | 4:56 pm

    POSSIBLE SOLUTION in 32-bit !!

    I’ve found a solution that works, at least on my ICH7-M laptop in 32-bit. It consists in putting the Leopard 10.5.8 IOATAFamily.kext from -DuNe- in Extra/Extensions/.

    I’m typing from SL right now with vanilla AppleIntelPIIXATA in S/L/E

    Details here:

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

  51. twr
    September 6th, 2009 | 6:56 pm

    it is where we started from actually …

  52. harley
    September 8th, 2009 | 3:20 am

    It didn’t work for me .. many thanks ..

    It required the IOATAFamily.kext.. so I think the IOATAFamily.kext is the key… but it could not be fited for all SATA Disk.

  53. Jingu
    September 8th, 2009 | 12:17 pm

    I think the problem has to do with the way SL 10A432 handles ATA controllers.

    The IOATAFamily is the exact same version as in SL beta 10A354, but back in SL 10A354 I could boot. I would still get “secondary PCI IDE channel is disabled”, but back then I could boot without kernel panic.

    So, I think now it’s the way SL 10A432 handles ATA controllers.

  54. xtraa
    September 12th, 2009 | 3:46 pm

    Jingu,

    have you tried to boot with the SL 354 IOATA?

    As long as Netkas’s kext isn’t working, that might be a good solution.

  55. Vampirexx
    September 13th, 2009 | 12:02 pm

    Please hope someone find soon a solution for this problem….

  56. VIP-stranger
    September 15th, 2009 | 1:55 pm

    You can find here solution.
    http://www.insanelymac.com/forum/index.php?showtopic=186609
    It works for me.

  57. lny
    September 18th, 2009 | 3:47 pm

    Hi, thanks for all your great work.

    This AppleIntelPIIXATA.kext just work in 32Bit mode in my System. If I load the 64 Bit Kernel, no device is present. Is there any workaround to fix this problem? My MB is a GA-EP45-DS3.

    Thanks for every help.

  58. Dr. Kenneth Noisewater
    September 30th, 2009 | 9:50 pm

    Sweet work.. A Q though: can Snow Leopard boot off of ICH10R configured as fakeRAID (for example 2×1.5TB as a RAID0 volume), or would a dedicated card (such as Areca 2xSATA hardraid) still be needed for this?

    It’s for a multiboot situation, and Linux/W7 can both boot off the same fakeRAID volume (after assigning a small grub part at the ‘top’ of it)..

    TIA!

  59. October 4th, 2009 | 4:32 am

    After upgrading to snow leopard and using this kext my computer won’t sleep anymore. It seems to me that everything but the harddrive is powering down but I could be wrong. Any ideas on why sleep would’ve worked for me in l but not sl? My hack is a core duo, gma 950 graphics, ich7 storage controller (ide interface on drive) and so on. Thanks!

  60. Clemens
    October 14th, 2009 | 1:00 pm

    Hi,
    iam able to boot the SnowLeopard installer on my MSI P965 Ich8 via USB Stick using Chameleon/EFI10.4 + modified dsdt using only following kext’s:
    dmsmos.kext
    NullCPUPowerManagement.kext
    OpenHaltRestart.kext
    PlatformUUID.kext
    Yet my “real” harddisks are not detected. Not even DVD drive. Nothing connected to SATA ist detected.
    How to solve this? Where to look?

  61. Eddie Turfboer
    October 23rd, 2009 | 12:14 pm

    On a Intell DP43TF: 32 bit working perfectly, 64 bit isn’t working properly. Not sure why yet.

  62. satesh
    October 29th, 2009 | 1:14 am

    Here is my lspci
    00:00.0 Host bridge: Intel Corporation 82X38/X48 Express DRAM Controller
    00:01.0 PCI bridge: Intel Corporation 82X38/X48 Express Host-Primary PCI Express Bridge
    00:06.0 PCI bridge: Intel Corporation 82X38/X48 Express Host-Secondary PCI Express Bridge
    00:19.0 Ethernet controller: Intel Corporation 82566DC-2 Gigabit Network Connection (rev 02)
    00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02)
    00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02)
    00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 02)
    00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02)
    00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 02)
    00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 02)
    00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 02)
    00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 02)
    00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 02)
    00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02)
    00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02)
    00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02)
    00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02)
    00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
    00:1f.0 ISA bridge: Intel Corporation 82801IR (ICH9R) LPC Interface Controller (rev 02)
    00:1f.2 IDE interface: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 4 port SATA IDE Controller (rev 02)
    00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 02)
    00:1f.5 IDE interface: Intel Corporation 82801I (ICH9 Family) 2 port SATA IDE Controller (rev 02)
    01:00.0 VGA compatible controller: nVidia Corporation Unknown device 0605 (rev a2)
    03:00.0 Multimedia video controller: Conexant Unknown device 8880 (rev 0f)
    07:0a.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)

    Every thing works fine except internal SATA HDD’s and DVD drive on Snow Leopard 10.6 updated to 10.6.1 with apple update in first boot.

    Same things are working fine with 10.5.8 without any issues. I tried AppleIntelPIIXATA.kext and AppleVIAATA.kext but NO LUCK..

    Can anyone help on this… please

  63. adelara
    October 29th, 2009 | 2:17 pm

    To start with, I have 10.5.8 working on T60 without a hitch: it boots from the main HD, it boots from a USB drive I copied to, and boots from an IDE (connected thru a USB adapter) also, so 10.5.8 is rock solid !

    But when I try SL, I’m in the same situation as these folks, Derrick, dong, pentiumx, Jingu, harley …
    I only gets KPs and more KPs, no matter what solution I’ve tried…

    Booting the laptop in Windoze and using the device manager to examine the hardware ids, i could confirm the machine is using Intel ICH7 chipset (PCI\VEN_8086&DEV_27C5&SUBSYSetc…)
    Of couse I went to check all AppleIntelPIIXATA Info.plist which I laid my hands on and I had a “Aha !” moment when I found that all of them lists the vendor/device as 0×27c48086.
    Unfortunately, changing it 27c5 didn’t make any difference.
    To my surprise, the 10.5.8 Leo is also configured to 27c4, so back to square one….

    The only AppleIntelPIIXATA which advanced (two instructions perhaps ?:) was the fix on insanely mac, topic id 186609 – it seems a very valid bugfix but the HD just stops spinning after it passes that point and you know the rest: if not KPs, then it’s the dreaded “Still waiting for root device”, therefore I have to agree that some may be right and the problem lays somewhere else.. nearby but somewhere else…

    So for me is probably time to step back and restart from scratch… this blog is one of the best i’ve seen ( http://aserebln.blogspot.com )

    Cheers and keep trying :D

    -Alex

  64. DuNe
    October 31st, 2009 | 3:46 pm

    I made a new universal version(32 & 64 bits) of AppleIntelPIIXATA for Snow Leopard, you can find it here:

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

  65. Daimyo
    December 20th, 2009 | 12:29 am

    thanks for netkas.
    but KP for me.

    i have C2D, badaxe2.
    i deleted the original one because it was KP even when using the DSDT fix. installed your version in EFI/Extra. but KP every time.

    SL vanilla has been a real pain for me. leopard vanilla was easy,
    any ideas?

  66. sir-mac
    December 29th, 2009 | 12:54 pm

    Netkas, Is this extension suppose to allow the ATA connectors with IDE CD/DVD drives to work while in AHCI mode? Or are you suppose to switch the bios to IDE?

    i have a badaxe2 and it KP using this extension.
    How do I get my IDE DVD drive to work again in SL?

  67. January 19th, 2010 | 12:44 pm

    [...] wesentlich einfacher. Alle anderen müssen entweder auf ein BIOS-Update warten oder sich mit anderen Mitteln [...]

  68. kocoman
    February 15th, 2010 | 10:43 am

    This does not have the ID for ICH6 or ICH4

  69. presario
    March 26th, 2010 | 8:15 am

    the link to the kext is broken can you please re-upload it
    thanks

  70. Dropsin
    April 3rd, 2010 | 9:57 pm

    Please fix link.

    Is this still required for SL 10.6.3?

Leave a reply