sigmaris Posted September 15, 2009 Share Posted September 15, 2009 For people having panics caused by AppleIntelPIIXATA.kext on Snow Leopard (e.g. on Intel BadAxe or BadAxe2 mobo) this kext may provide a solution. AppleIntelPIIXATA loading on a system with the secondary PCI IDE channel disabled seems to trigger a bug in IOATAFamily causing a NULL pointer dereference. I have patched the source of IOATAFamily from Snow Leopard to avoid the bug and recompiled it. If you are having panics looking like this, try replacing your IOATAFamily.kext with the attached one, and let me know if it fixes the panic. I have gotten access to my PATA drives on a BadAxe 1 board using this kext. Note that this is not the IOATAFamily from 10.5.8 as described here, it is compiled from patched Snow Leopard source code. The source is available from Apple here and the small patch I used is also attached to this post. The AppleIntelPIIXATA.kext is also included in the PlugIns folder of the attached kext, but it is unmodified. Edit: replaced the suspect .tar.gz with a .zip file Edit 2/4/10: Apple have fixed the bug in 10.6.3, so this patch isn't needed/useful anymore for 10.6.3+ systems. IOATAFamily_panic_fix.patch.zip IOATAFamily.kext.zip 1 Link to comment https://www.insanelymac.com/forum/topic/186609-fix-for-ioatafamily-appleintelpiixata-panic-in-snow-leopard/ Share on other sites More sharing options...
Nihilator Posted September 15, 2009 Share Posted September 15, 2009 It does not work with Boot-132 or BootCD. 1 Link to comment https://www.insanelymac.com/forum/topic/186609-fix-for-ioatafamily-appleintelpiixata-panic-in-snow-leopard/#findComment-1266525 Share on other sites More sharing options...
Onixs Posted September 15, 2009 Share Posted September 15, 2009 It doesnt work on P5K ich9. Still waiting for Root device, even though i have applepiiatainjector Link to comment https://www.insanelymac.com/forum/topic/186609-fix-for-ioatafamily-appleintelpiixata-panic-in-snow-leopard/#findComment-1266540 Share on other sites More sharing options...
THe KiNG Posted September 15, 2009 Share Posted September 15, 2009 The AppleIntelPIIXATA.kext is also included in the PlugIns folder of the attached kext, but it is unmodified. @rals2007 Wait for -DuNe- fix if you want to use IDE mode on unsupported ichx. It doesnt work on P5K ich9. Still waiting for Root device, even though i have applepiiatainjector This is a fix for laptops(IMO) that has the secondary pci ide channel disabled. Thanks for sharing the fix Link to comment https://www.insanelymac.com/forum/topic/186609-fix-for-ioatafamily-appleintelpiixata-panic-in-snow-leopard/#findComment-1266694 Share on other sites More sharing options...
sigmaris Posted September 15, 2009 Author Share Posted September 15, 2009 It does not with Boot-132 or BootCD. Did you only test your patch by copying it over Snow Leopard's IOATAFamily.kext (inside Snow Leopard's dmg file)? I haven't tested it with the boot-132 / cdboot as I can't get the CD to boot on my system. It just resets as soon as it it loads off the CD after the BIOS screen. From what I know, it should theoretically work when loaded from boot-132 or /Extra/Extensions, though, as it will load first and override the vanilla IOATAFamily. Link to comment https://www.insanelymac.com/forum/topic/186609-fix-for-ioatafamily-appleintelpiixata-panic-in-snow-leopard/#findComment-1266791 Share on other sites More sharing options...
zellkern Posted September 15, 2009 Share Posted September 15, 2009 the tar gz archive you attached is corrupt, at least my winrar says Link to comment https://www.insanelymac.com/forum/topic/186609-fix-for-ioatafamily-appleintelpiixata-panic-in-snow-leopard/#findComment-1267131 Share on other sites More sharing options...
Chrysaor Posted September 15, 2009 Share Posted September 15, 2009 Thanks, works great in Snow 32/64. Link to comment https://www.insanelymac.com/forum/topic/186609-fix-for-ioatafamily-appleintelpiixata-panic-in-snow-leopard/#findComment-1267155 Share on other sites More sharing options...
kmboss Posted September 15, 2009 Share Posted September 15, 2009 Awesome, it works for me! (Bad Axe 2) Thank you!!! Link to comment https://www.insanelymac.com/forum/topic/186609-fix-for-ioatafamily-appleintelpiixata-panic-in-snow-leopard/#findComment-1267515 Share on other sites More sharing options...
slickslick Posted September 16, 2009 Share Posted September 16, 2009 Hey! U re god THX 4 THIS Link to comment https://www.insanelymac.com/forum/topic/186609-fix-for-ioatafamily-appleintelpiixata-panic-in-snow-leopard/#findComment-1267927 Share on other sites More sharing options...
el_charlie Posted September 16, 2009 Share Posted September 16, 2009 Ok, my impressions about the kext. It DOES work on 32/64 bits on my motherboard Foxconn G31MV-K with the ICH7 southbridge. However, on 64bits, my SATA hard drive is not recognized. The system boots fine (my Snow Leopard installation is on my 80GB IDE HD) but the 2 partitions of my SATA drive (Windows 7 and Data) doesn't show up. Now I will test the kext, leaving untouched the vanilla on S/L/E and try this on EFI/Extra/Extensions to see if it works. EDIT: It works fu***ng great! I mean, in my case it doesn't work on EFI/Extra/Extensions (the vanilla still loads and KPs). But it works great on 64 bits on /System/Library/Extensions. When I said it didn't recognize my SATA drive, I was wrong. NTFS-3G doesn't work on 64 bits. Therefore, my 2 partitions on the SATA drive didn't mount. But the SATA drive appears fine on System profiler. Thanks for this AMAZING kext. Thank you, thank you, thank you!!!! Cheers!! Link to comment https://www.insanelymac.com/forum/topic/186609-fix-for-ioatafamily-appleintelpiixata-panic-in-snow-leopard/#findComment-1267997 Share on other sites More sharing options...
Niatross Posted September 16, 2009 Share Posted September 16, 2009 For people having panics caused by AppleIntelPIIXATA.kext on Snow Leopard (e.g. on Intel BadAxe or BadAxe2 mobo) this kext may provide a solution. AppleIntelPIIXATA loading on a system with the secondary PCI IDE channel disabled seems to trigger a bug in IOATAFamily causing a NULL pointer dereference. I have patched the source of IOATAFamily from Snow Leopard to avoid the bug and recompiled it. If you are having panics looking like this, try replacing your IOATAFamily.kext with the attached one, and let me know if it fixes the panic. I have gotten access to my PATA drives on a BadAxe 1 board using this kext. Note that this is not the IOATAFamily from 10.5.8 as described here, it is compiled from patched Snow Leopard source code. The source is available from Apple here and the small patch I used is also attached to this post. The AppleIntelPIIXATA.kext is also included in the PlugIns folder of the attached kext, but it is unmodified. Edit: replaced the suspect .tar.gz with a .zip file I'm confused. Why did you include a patch zip file along with the IOATAFamily download? Anyway, give us some more detail on this fix. Does it support ICH7-R chipsets? I haven't tested it with the boot-132 / cdboot as I can't get the CD to boot on my system. It just resets as soon as it it loads off the CD after the BIOS screen. From what I know, it should theoretically work when loaded from boot-132 or /Extra/Extensions, though, as it will load first and override the vanilla IOATAFamily. Can anyone in the OSx86 community figure out how to fix the IOATAFamily kext (specifically AppleIntelPIIXATA.kext) for a Boot-132 or CDBoot install. This must be a difficult problem, because no one in the community has been able to step up and figure out the problem. Hopefully "Dune" can. Once you can boot your system from CD, try Boot-132 or BootCD and tell me if your patched IOATAFamily.kext works because on my system it kernel panics. My system has no secondary ATA controller. Link to comment https://www.insanelymac.com/forum/topic/186609-fix-for-ioatafamily-appleintelpiixata-panic-in-snow-leopard/#findComment-1267998 Share on other sites More sharing options...
VIP-death Posted September 16, 2009 Share Posted September 16, 2009 I have ICH-7-R and this patched kext works for me in x32 Snow.I put this pathed kext in Extra/Extentions and leaving untouchable the vanilla kext in /System/Library/Extentions and everything works great, no more kernel panic. Link to comment https://www.insanelymac.com/forum/topic/186609-fix-for-ioatafamily-appleintelpiixata-panic-in-snow-leopard/#findComment-1268071 Share on other sites More sharing options...
Niatross Posted September 16, 2009 Share Posted September 16, 2009 I have ICH-7-R and this patched kext works for me in x32 Snow.I put this pathed kext in Extra/Extentions and leaving untouchable the vanilla kext in /System/Library/Extentions and everything works great, no more kernel panic. The question is: Are you booting from the Boot-132 or BoodCD using an IDE (ATA) DVD drive when installing Snow Leopard? If your booting from a SATA DVD-ROM drive and using a Boot-132 or BoodCD, then you'll have no problems installing Snow Leopard. Also, you'll have no problems if your bootloader is on your SATA hard drive and your copying these kexts (mentioned in this thread) to the /Extra/Extensions folder. Link to comment https://www.insanelymac.com/forum/topic/186609-fix-for-ioatafamily-appleintelpiixata-panic-in-snow-leopard/#findComment-1268079 Share on other sites More sharing options...
timewise Posted September 16, 2009 Share Posted September 16, 2009 Nice patch! I am now booting my bad axe 2 in ide mode I was also able to remove AHCIPortInjector.kext, ATAPortInjector.kext and IOAHCIBlockStorageInjector.kext THX Link to comment https://www.insanelymac.com/forum/topic/186609-fix-for-ioatafamily-appleintelpiixata-panic-in-snow-leopard/#findComment-1268108 Share on other sites More sharing options...
Niatross Posted September 16, 2009 Share Posted September 16, 2009 Ok, my impressions about the kext. It DOES work on 32/64 bits on my motherboard Foxconn G31MV-K with the ICH7 southbridge. However, on 64bits, my SATA hard drive is not recognized. The system boots fine (my Snow Leopard installation is on my 80GB IDE HD) but the 2 partitions of my SATA drive (Windows 7 and Data) doesn't show up. Now I will test the kext, leaving untouched the vanilla on S/L/E and try this on EFI/Extra/Extensions to see if it works. EDIT: It works fu***ng great! I mean, in my case it doesn't work on EFI/Extra/Extensions (the vanilla still loads and KPs). But it works great on 64 bits on /System/Library/Extensions. When I said it didn't recognize my SATA drive, I was wrong. NTFS-3G doesn't work on 64 bits. Therefore, my 2 partitions on the SATA drive didn't mount. But the SATA drive appears fine on System profiler. Thanks for this AMAZING kext. Thank you, thank you, thank you!!!! Cheers!! What are you going to do when Software Updates overwrites the IOATAFamily.kext in S/L/E? It seems this fix is only useful when you install it to S/L/E, but will not work on the EFI partition or from a Boot-132 or BootCD. Not good. OSBundleRequired=Root doesn't even help. Link to comment https://www.insanelymac.com/forum/topic/186609-fix-for-ioatafamily-appleintelpiixata-panic-in-snow-leopard/#findComment-1268114 Share on other sites More sharing options...
timewise Posted September 16, 2009 Share Posted September 16, 2009 It is working for me in chameleon RC1 Extra/Extensions folder with PC EFI 10.1 boot file. Chameleon is installed to it's own 1 Gb partition. Link to comment https://www.insanelymac.com/forum/topic/186609-fix-for-ioatafamily-appleintelpiixata-panic-in-snow-leopard/#findComment-1268121 Share on other sites More sharing options...
sigmaris Posted September 16, 2009 Author Share Posted September 16, 2009 As far as chipset goes, this patch doesn't add support for any more ICH chipsets than what the standard AppleIntelPIIXATA supports, it just fixes the kernel panic in IOATAFamily that's triggered by AppleIntelPIIXATA. I believe -DuNe- is working on support for additional chipsets in AppleIntelPIIXATA under Snow Leo, see this thread Link to comment https://www.insanelymac.com/forum/topic/186609-fix-for-ioatafamily-appleintelpiixata-panic-in-snow-leopard/#findComment-1268439 Share on other sites More sharing options...
Brett Whinnen Posted September 16, 2009 Share Posted September 16, 2009 Brilliant! Great work! This has me one step closer to a perfect installation Link to comment https://www.insanelymac.com/forum/topic/186609-fix-for-ioatafamily-appleintelpiixata-panic-in-snow-leopard/#findComment-1268492 Share on other sites More sharing options...
Logicpro9_user Posted September 16, 2009 Share Posted September 16, 2009 So here is where i am at now! I followed the guide step by step, http://www.insanelymac.com/forum/index.php...p;#entry1268472 There is a problem though....... 1.Booted from my sata drive where the SL install image/DVD was restored to. I did delete the AppleIntelPIIXATA from IOATAFamily before I installed..... 2. Install of SL went 100% ok. 3. It asks me to restart after 100% install..... 3. rebooted then I get this panic when the new SL install drive boots. Can anyone shine any light on this? Would be great to sort it out! OH I forgot to say, I now no longer have a 10.5.8 install to work from!! Only the Boot drive! and a broken SL install..... My system details are in my Sig. Link to comment https://www.insanelymac.com/forum/topic/186609-fix-for-ioatafamily-appleintelpiixata-panic-in-snow-leopard/#findComment-1268503 Share on other sites More sharing options...
olav Posted September 17, 2009 Share Posted September 17, 2009 Thanx! Works nice here as well on bad axe 2, only the IDE fix left for the marvell controller in snow leo Link to comment https://www.insanelymac.com/forum/topic/186609-fix-for-ioatafamily-appleintelpiixata-panic-in-snow-leopard/#findComment-1269862 Share on other sites More sharing options...
allenwkk Posted September 18, 2009 Share Posted September 18, 2009 this solve my KP problem in Snow installation... but my system on boot somehow reset my BIOS HDD setting. Each time I have to enter the Bios to set all the drives. My configuration - Pentium 4 , 945 chipset (ICH7R), IDE optical drive, 3 SATA drives.....HD2900 graphic card. my Extra/Extensions are AHCIPortinjector.kext ATAPortInjector.Kext Disabler.Kext Dsmos.kext fakesmc.kext IOAHCIBlockStorageInjector.kext JmicronATAinjector.kext NullCPUPowerManagement.kext OpenHaltRestart.Kext SleepEnabler.kext My s/l/e folders, adding- IOATAFamily.kext AppleIntelPIIXATA,kext (as in this thread) System booting into Snow and working well with Network, Sound (after patching VoodooHDA.kext), and 2400 EFI string...Graphic can only be in 1048 and cannot be changed. Link to comment https://www.insanelymac.com/forum/topic/186609-fix-for-ioatafamily-appleintelpiixata-panic-in-snow-leopard/#findComment-1271001 Share on other sites More sharing options...
timewise Posted September 18, 2009 Share Posted September 18, 2009 this solve my KP problem in Snow installation... but my system on boot somehow reset my BIOS HDD setting. Each time I have to enter the Bios to set all the drives. My configuration - Pentium 4 , 945 chipset (ICH7R), IDE optical drive, 3 SATA drives.....HD2900 graphic card. my Extra/Extensions are AHCIPortinjector.kext ATAPortInjector.Kext Disabler.Kext Dsmos.kext fakesmc.kext IOAHCIBlockStorageInjector.kext JmicronATAinjector.kext NullCPUPowerManagement.kext OpenHaltRestart.Kext SleepEnabler.kext My s/l/e folders, adding- IOATAFamily.kext AppleIntelPIIXATA,kext (as in this thread) System booting into Snow and working well with Network, Sound (after patching VoodooHDA.kext), and 2400 EFI string...Graphic can only be in 1048 and cannot be changed. Check netkas site for cmos reset fix. Do you have your dsdt file already? Link to comment https://www.insanelymac.com/forum/topic/186609-fix-for-ioatafamily-appleintelpiixata-panic-in-snow-leopard/#findComment-1271048 Share on other sites More sharing options...
allenwkk Posted September 18, 2009 Share Posted September 18, 2009 thanks for the reply Yes, I have looked at the DSDT and the CMOS reset patch... Mine DSDT.aml is already same as the patched version. regards Link to comment https://www.insanelymac.com/forum/topic/186609-fix-for-ioatafamily-appleintelpiixata-panic-in-snow-leopard/#findComment-1271058 Share on other sites More sharing options...
timewise Posted September 18, 2009 Share Posted September 18, 2009 thanks for the reply Yes, I have looked at the DSDT and the CMOS reset patch... Mine DSDT.aml is already same as the patched version. regards Hmm. I added IOATA from this thread to my Extra/Extensions folder. fakesmc and dsmos do the same thing. Try removing dsmos. Same withe disabler and NullCPUPowerManagement.kext. Remove disabler. I was also able to remove AHCIPortinjector.kext, ATAPortInjector.Kext, and IOAHCIBlockStorageInjector.kext after adding patched IOATA (maybe JmicronATAinjector.kext too). I am not sure though as you are on the 945 chipset. Link to comment https://www.insanelymac.com/forum/topic/186609-fix-for-ioatafamily-appleintelpiixata-panic-in-snow-leopard/#findComment-1271069 Share on other sites More sharing options...
joe2105 Posted September 18, 2009 Share Posted September 18, 2009 Thanks !!! It´s working for me from /Extra/Extensions on an Acer Aspire 5634WLMI in 32 and 64 bit mode :-) Link to comment https://www.insanelymac.com/forum/topic/186609-fix-for-ioatafamily-appleintelpiixata-panic-in-snow-leopard/#findComment-1271229 Share on other sites More sharing options...
Recommended Posts