Thanks to Galaxy who provided full dumps from his MacBookPro, ApexDE who founded the fix for J-Micron AHCI(and made me curious how he did it) and to Kabyl that always point me to the right docs, I was able to fix that IOATAFamily panic and that ugly "AppleIntelPIIXPATA: Secondary PCI IDE channel is disabled" warning on boot with a DSDT fix.
Find your Intel PATA controller in DSDT, should be on 0x001F0001, and add this code:
CODE
OperationRegion (IDET, PCI_Config, 0x40, 0x04) // IDE Timing Register
Field (IDET, WordAcc, NoLock, Preserve)
{
Offset (0x00),
M1, 8,
Offset (0x01),
M2, 8,
Offset (0x02),
M3, 8,
Offset (0x03),
M4, 8
}
Method (_DSM, 4, NotSerialized)
{
Store (0x07, M1)
Store (0xE3, M2)
Store (Zero, M3)
Store (0xC0, M4)
Return (Zero)
}
Field (IDET, WordAcc, NoLock, Preserve)
{
Offset (0x00),
M1, 8,
Offset (0x01),
M2, 8,
Offset (0x02),
M3, 8,
Offset (0x03),
M4, 8
}
Method (_DSM, 4, NotSerialized)
{
Store (0x07, M1)
Store (0xE3, M2)
Store (Zero, M3)
Store (0xC0, M4)
Return (Zero)
}
Enjoy using original kext and a clean verbose boot
L.E. This fix is only for Intel PATA controller!





Nov 2 2009, 01:44 PM

