Jump to content

SOLVED - SATA/AHCI woes with Intel S5000XVN (Xeon) MB - Anybody?


  • Please log in to reply
24 replies to this topic

#1
orByte

orByte

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 182 posts
Edit (8/11/09):Please go here for a discussion of all S5000XVN issues under Snow Leopard.

Edit (6/11/09): Thanks to 29.Diego's post suggestion, this issue is now SOLVED!!! It was indeed a question of interrupt conflicts, and freeing up the PIC IRQ at 2 did the trick! Thanks to 29.Diego for pointing me in the right direction, and theKING et al. at projectosx who figured this out. Details HERE. :whistle:


Hi Everyone,

I have got this odd problem, and am wondering if anybody has any ideas of what might be causing it.

Problem: BOTH AHCI & IDE SATA settings do not work - no internal SATA drives are recognised. Drive only recognised under IDE (!)

System: Intel S5000XVN Board with 5000X chipset (ESB 2) - MacPro2,1 clone. Chameleon 2 RC3 + EFI 10.3. OSX 10.6 Retail with Vanilla kernel. Bootloader kexts (Extra/Extensions):

AppleACPIPS2Nub.kext
PlatformUUID.kext
AppleIntelPIIXATA.kext
VoodooPS2Controller.kext
NullCPUPowerManagement.kext	fakesmc.kext
OpenHaltRestart.kext
(*AHCIPortInjector.kext)
(*IOAHCIBlockStorageInjector.kext)
  (*) - tried with/without


Symptoms: Basically, AppleAHCIPort.kext and IOAHCIFamily.kext load BUT IOAHCIBlockStorage.kext does not load. Use of injectors does not matter. Using Leo 10.5.6 kexts of the same does not matter.

However: AppleAHCIPort.kext and IOAHCIFamily.kext cannot be unloaded after boot, while IOAHCIBlockStorage.kext can be loaded and unloaded after boot but does not load during boot. Loading IOAHCIBlockStorage.kext after boot has no effect.


Question: Is this a problem with the injector, or the boot loader itself? Or is there some kind of BIOS problem. Device IDs all match up. Permissions appear fine. Any ideas and input most welcome.

* The only thing I noticed is that according to the AppleAHCI load info, the kext does NOT match the 'ESB 2' personality - even though the device ids are there in ioreg.

(kernel) Kext com.apple.driver.AppleAHCIPort registered class
 AppleAHCIPolledAdapter.
(kernel) Kext com.apple.driver.AppleAHCIPort registered class AppleAHCIPort.
(kernel) Kext com.apple.driver.AppleAHCIPort registered class AppleAHCIEventSource.
(kernel) Kext com.apple.driver.AppleAHCIPort registered class
 AppleAHCIPortPolledAdapter.
(kernel) Kext com.apple.driver.AppleAHCIPort registered class AppleICH8AHCI.
(kernel) Kext com.apple.driver.AppleAHCIPort registered class AppleMCP79AHCI.
(kernel) Kext com.apple.driver.AppleAHCIPort registered class AppleMCP79AHCIPort.
(kernel) Kext com.apple.driver.AppleAHCIPort is now started.
(kernel) Kext com.apple.driver.AppleAHCIPort sending 6 personalities 
to the IOCatalogue and starting matching.


Many thanks in advance for any suggestions.

Best
--

Loads of information follows. But if you need anything else let me know:

[b]sh-3.2# kextstat | grep -i ahci[/b]  
   41	1 0x5e429000 0x6000	 0x5000	 
	com.apple.iokit.IOAHCIFamily (2.0.0) <5 4 3 1>
   42	0 0x5e4ed000 0xc000	 0xb000	
	 com.apple.driver.AppleAHCIPort (2.0.0) <41 14 5 4 3 1>


[b]sh-3.2# kextutil -v 6 -t /System/Library/Extensions/IOAHCIFamily.kext[/b]
Kext user-space log filter changed from 0xff2 to 0xfff.
Kext kernel-space log filter changed from 0xff2 to 0xfff.
Kext library architecture set to i386.
Kext library recording diagnostics for: validation authentication dependencies
 warnings.
Warnings: 
	The booter does not recognize symbolic links; confirm these files 
	/directories aren't needed for startup: 
		/System/Library/Extensions/IOAHCIFamily.kext/Contents/CodeDirectory
		/System/Library/Extensions/IOAHCIFamily.kext/Contents/CodeRequirements
		/System/Library/Extensions/IOAHCIFamily.kext/Contents/CodeResources
		/System/Library/Extensions/IOAHCIFamily.kext/Contents/CodeSignature

/System/Library/Extensions/IOAHCIFamily.kext appears to be loadable 
(not including linkage for on-disk libraries).
Loading /System/Library/Extensions/IOAHCIFamily.kext.
Reading load info for all kexts.
Reading loaded kext info from kernel.
(kernel) Received 'Get Loaded Kext Info' request from user space.
(kernel) Returning loaded kext info.
Loaded kext info:
(
{
	"OSBundleWiredSize" = 0
	"CFBundleIdentifier" = "com.apple.kpi.bsd"
	"OSBundleUUID" = <d6b75004 045e4c0e 9e3a66a1 ca6e343c>
	"OSBundleLoadAddress" = 0
	"OSBundleLoadTag" = 1
	"OSBundleStarted" = true
	"OSBundleCompatibleVersion" = "8.0.0b1"
	"OSKernelResource" = true
	"CFBundleVersion" = "10.0.0"
	"OSBundlePath" = 
		"/System/Library/Extensions/System.kext/PlugIns/BSDKernel.kext"
	"OSBundleRetainCount" = 55
	"OSBundlePrelinked" = false
	"OSBundleIsInterface" = true
	"OSBundleLoadSize" = 0
}
{
	"OSBundleWiredSize" = 0
	"CFBundleIdentifier" = "com.apple.kpi.iokit"
	"OSBundleUUID" = <ef4a6016 9a714238 b5c81e8c abf8a21a>
	"OSBundleLoadAddress" = 0
	"OSBundleLoadTag" = 3
	"OSBundleStarted" = true
	"OSBundleCompatibleVersion" = "7.0"
	"OSKernelResource" = true
	"CFBundleVersion" = "10.0.0"
	"OSBundlePath" = 
		"/System/Library/Extensions/System.kext/PlugIns/IOKit.kext"
	"OSBundleRetainCount" = 74
	"OSBundlePrelinked" = false
	"OSBundleIsInterface" = true
	"OSBundleLoadSize" = 0
}
{
	"OSBundleWiredSize" = 0
	"CFBundleIdentifier" = "com.apple.kpi.libkern"
	"OSBundleUUID" = <9a08e4fd d7d94ff6 830cf270 353d9e99>
	"OSBundleLoadAddress" = 0
	"OSBundleLoadTag" = 4
	"OSBundleStarted" = true
	"OSBundleCompatibleVersion" = "8.0.0d0"
	"OSKernelResource" = true
	"CFBundleVersion" = "10.0.0"
	"OSBundlePath" = 
		"/System/Library/Extensions/System.kext/PlugIns/Libkern.kext"
	"OSBundleRetainCount" = 79
	"OSBundlePrelinked" = false
	"OSBundleIsInterface" = true
	"OSBundleLoadSize" = 0
}
{
	"OSBundleWiredSize" = 0
	"CFBundleIdentifier" = "com.apple.kpi.mach"
	"OSBundleUUID" = <d7fa6b23 f7024c48 846d18e0 8ae87539>
	"OSBundleLoadAddress" = 0
	"OSBundleLoadTag" = 5
	"OSBundleStarted" = true
	"OSBundleCompatibleVersion" = "8.0.0d0"
	"OSKernelResource" = true
	"CFBundleVersion" = "10.0.0"
	"OSBundlePath" = "/System/Library/Extensions/System.kext/PlugIns/Mach.kext"
	"OSBundleRetainCount" = 63
	"OSBundlePrelinked" = false
	"OSBundleIsInterface" = true
	"OSBundleLoadSize" = 0
}
)

/System/Library/Extensions/System.kext/PlugIns/Mach.kext 
(version 10.0, UUID D7FA6B23-F702-4C48-846D-18E08AE87539) is loaded.
/System/Library/Extensions/System.kext/PlugIns/Mach.kext 
(version 10.0): is started.
setting load address of 
/System/Library/Extensions/System.kext/PlugIns/Mach.kext to 0x0
/System/Library/Extensions/System.kext/PlugIns/IOKit.kext 
(version 10.0, UUID EF4A6016-9A71-4238-B5C8-1E8CABF8A21A) is loaded.
/System/Library/Extensions/System.kext/PlugIns/IOKit.kext 
(version 10.0): is started.
setting load address of 
/System/Library/Extensions/System.kext/PlugIns/IOKit.kext to 0x0
/System/Library/Extensions/System.kext/PlugIns/Libkern.kext 
(version 10.0, UUID 9A08E4FD-D7D9-4FF6-830C-F270353D9E99) is loaded.
/System/Library/Extensions/System.kext/PlugIns/Libkern.kext 
(version 10.0): is started.
setting load address of 
/System/Library/Extensions/System.kext/PlugIns/Libkern.kext to 0x0
/System/Library/Extensions/System.kext/PlugIns/BSDKernel.kext
 (version 10.0, UUID D6B75004-045E-4C0E-9E3A-66A1CA6E343C) is loaded.
/System/Library/Extensions/System.kext/PlugIns/BSDKernel.kext 
(version 10.0): is started.
setting load address of
 /System/Library/Extensions/System.kext/PlugIns/BSDKernel.kext to 0x0
Omitting loaded kext /System/Library/Extensions/System.kext/PlugIns
/Mach.kext from mkext for kernel load.
Omitting loaded kext /System/Library/Extensions/System.kext/PlugIns
/IOKit.kext from mkext for kernel load.
Omitting loaded kext /System/Library/Extensions/System.kext/PlugIns/
Libkern.kext from mkext for kernel load.
Omitting loaded kext
 /System/Library/Extensions/System.kext/PlugIns/BSDKernel.kext from 
mkext for kernel load.
Adding /System/Library/Extensions/IOAHCIFamily.kext to mkext.
/System/Library/Extensions/IOAHCIFamily.kext added 67952-byte 
noncompressed executable to mkext.
Created mkext for architecture i386 containing 1 kexts.
Loading /System/Library/Extensions/IOAHCIFamily.kext.
(kernel) Received kext load request from user space.
(kernel) Received request from user space to load kext com.apple.iokit.IOAHCIFamily.
(kernel) Recorded kext com.apple.iokit.IOAHCIFamily as a candidate 
for inclusion in prelinked kernel.
(kernel) Loading kext com.apple.iokit.IOAHCIFamily.
(kernel) Kext com.apple.kpi.mach is already loaded.
(kernel) Kext com.apple.kpi.iokit is already loaded.
(kernel) Kext com.apple.kpi.libkern is already loaded.
(kernel) Kext com.apple.kpi.bsd is already loaded.
(kernel) Allocated link buffer for kext com.apple.iokit.IOAHCIFamily at 0x5e4f1000
 (24576 bytes).
(kernel) Kext com.apple.iokit.IOAHCIFamily executable loaded; 6 pages at
 0x5e4f1000 (load tag 102).
(kernel) Kext com.apple.iokit.IOAHCIFamily calling module start function.
(kernel) Kext com.apple.iokit.IOAHCIFamily registered class IOAHCIPort.
(kernel) Kext com.apple.iokit.IOAHCIFamily has IOService subclass IOAHCIPort;
 enabling autounload.
(kernel) Kext com.apple.iokit.IOAHCIFamily registered class IOAHCIDevice.
(kernel) Kext com.apple.iokit.IOAHCIFamily registered class AHCIRequest.
(kernel) Kext com.apple.iokit.IOAHCIFamily registered class IOSerialATARequestFIS.
(kernel) Kext com.apple.iokit.IOAHCIFamily registered class AppleAHCIWorkLoop.
(kernel) Kext com.apple.iokit.IOAHCIFamily is now started.
(kernel) Kext com.apple.iokit.IOAHCIFamily loaded.
Successfully loaded /System/Library/Extensions/IOAHCIFamily.kext.
/System/Library/Extensions/IOAHCIFamily.kext successfully loaded 
(or already loaded).



[b]sh-3.2# kextutil -v 6 -t /System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/
IOAHCIBlockStorage.kext[/b]
Kext user-space log filter changed from 0xff2 to 0xfff.
Kext kernel-space log filter changed from 0xff2 to 0xfff.
Kext library architecture set to i386.
Kext library recording diagnostics for: validation authentication dependencies
 warnings.
Warnings: 
	The booter does not recognize symbolic links; confirm these files/directories
 aren't needed for startup: 
		/System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/
IOAHCIBlockStorage.kext/Contents/CodeDirectory

/System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/
IOAHCIBlockStorage.kext/Contents/
CodeRequirements
		/System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/
IOAHCIBlockStorage.kext/Contents/CodeResources
		/System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/
IOAHCIBlockStorage.kext/Contents/CodeSignature

/System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/
IOAHCIBlockStorage.kext appears to be loadable 
(not including linkage for on-disk libraries).
Loading /System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/
IOAHCIBlockStorage.kext.
Reading load info for all kexts.
Reading loaded kext info from kernel.
(kernel) Received 'Get Loaded Kext Info' request from user space.
(kernel) Returning loaded kext info.
Loaded kext info:
(
{
	"OSBundleWiredSize" = 0
	"CFBundleIdentifier" = "com.apple.kpi.bsd"
	"OSBundleUUID" = <d6b75004 045e4c0e 9e3a66a1 ca6e343c>
	"OSBundleLoadAddress" = 0
	"OSBundleLoadTag" = 1
	"OSBundleStarted" = true
	"OSBundleCompatibleVersion" = "8.0.0b1"
	"OSKernelResource" = true
	"CFBundleVersion" = "10.0.0"
	"OSBundlePath" = 
		"/System/Library/Extensions/System.kext/PlugIns/BSDKernel.kext"
	"OSBundleRetainCount" = 56
	"OSBundlePrelinked" = false
	"OSBundleIsInterface" = true
	"OSBundleLoadSize" = 0
}
{
	"OSBundleWiredSize" = 0
	"CFBundleIdentifier" = "com.apple.kpi.iokit"
	"OSBundleUUID" = <ef4a6016 9a714238 b5c81e8c abf8a21a>
	"OSBundleLoadAddress" = 0
	"OSBundleLoadTag" = 3
	"OSBundleStarted" = true
	"OSBundleCompatibleVersion" = "7.0"
	"OSKernelResource" = true
	"CFBundleVersion" = "10.0.0"
	"OSBundlePath" = 
		"/System/Library/Extensions/System.kext/PlugIns/IOKit.kext"
	"OSBundleRetainCount" = 75
	"OSBundlePrelinked" = false
	"OSBundleIsInterface" = true
	"OSBundleLoadSize" = 0
}
{
	"OSBundleWiredSize" = 0
	"CFBundleIdentifier" = "com.apple.kpi.libkern"
	"OSBundleUUID" = <9a08e4fd d7d94ff6 830cf270 353d9e99>
	"OSBundleLoadAddress" = 0
	"OSBundleLoadTag" = 4
	"OSBundleStarted" = true
	"OSBundleCompatibleVersion" = "8.0.0d0"
	"OSKernelResource" = true
	"CFBundleVersion" = "10.0.0"
	"OSBundlePath" = 
		"/System/Library/Extensions/System.kext/PlugIns/Libkern.kext"
	"OSBundleRetainCount" = 80
	"OSBundlePrelinked" = false
	"OSBundleIsInterface" = true
	"OSBundleLoadSize" = 0
}
{
	"OSBundleWiredSize" = 0
	"CFBundleIdentifier" = "com.apple.kpi.mach"
	"OSBundleUUID" = <d7fa6b23 f7024c48 846d18e0 8ae87539>
	"OSBundleLoadAddress" = 0
	"OSBundleLoadTag" = 5
	"OSBundleStarted" = true
	"OSBundleCompatibleVersion" = "8.0.0d0"
	"OSKernelResource" = true
	"CFBundleVersion" = "10.0.0"
	"OSBundlePath" = "/System/Library/Extensions/System.kext/PlugIns/Mach.kext"
	"OSBundleRetainCount" = 64
	"OSBundlePrelinked" = false
	"OSBundleIsInterface" = true
	"OSBundleLoadSize" = 0
}
{
	"OSBundleWiredSize" = 0
	"CFBundleIdentifier" = "com.apple.kpi.private"
	"OSBundleUUID" = <1bd4642f 832747d3 96c13081 30a5fcb0>
	"OSBundleLoadAddress" = 0
	"OSBundleLoadTag" = 6
	"OSBundleStarted" = true
	"OSBundleCompatibleVersion" = "8.0.0b1"
	"OSKernelResource" = true
	"CFBundleVersion" = "10.0.0"
	"OSBundlePath" = 
		"/System/Library/Extensions/System.kext/PlugIns/Private.kext"
	"OSBundleRetainCount" = 25
	"OSBundlePrelinked" = false
	"OSBundleIsInterface" = true
	"OSBundleLoadSize" = 0
}
{
	"OSBundleWiredSize" = 0
	"CFBundleIdentifier" = "com.apple.kpi.unsupported"
	"OSBundleUUID" = <9ce92a53 75104c2c afeec1ae c3d68d75>
	"OSBundleLoadAddress" = 0
	"OSBundleLoadTag" = 7
	"OSBundleStarted" = true
	"OSBundleCompatibleVersion" = "8.0.0b1"
	"OSKernelResource" = true
	"CFBundleVersion" = "10.0.0"
	"OSBundlePath" = 
		"/System/Library/Extensions/System.kext/PlugIns/Unsupported.kext"
	"OSBundleRetainCount" = 39
	"OSBundlePrelinked" = false
	"OSBundleIsInterface" = true
	"OSBundleLoadSize" = 0
}
{
	"OSBundleWiredSize" = 94208
	"CFBundleIdentifier" = "com.apple.iokit.IOStorageFamily"
	"OSBundleStarted" = true
	"OSBundleLoadTag" = 19
	"OSBundleCPUType" = 7
	"OSBundleCompatibleVersion" = "1.0.0b1"
	"OSKernelResource" = false
	"OSBundleUUID" = <abcb315e bd15460f b30bae18 63040ddd>
	"CFBundleVersion" = "1.6"
	"OSBundleLoadAddress" = 1430945792
	"OSBundleDependencies" = (
		1
		4
		3
		7
		6
		5
	)
	"OSBundleClasses" = (
		{
			"OSMetaClassName" = "IOAppleLabelScheme"
			"OSMetaClassSuperclassName" = "IOFilterScheme"
			"OSMetaClassTrackingCount" = 0
		}
		{
			"OSMetaClassName" = "IOApplePartitionScheme"
			"OSMetaClassSuperclassName" = "IOPartitionScheme"
			"OSMetaClassTrackingCount" = 0
		}
		{
			"OSMetaClassName" = "IOBlockStorageDevice"
			"OSMetaClassSuperclassName" = "IOService"
			"OSMetaClassTrackingCount" = 2
		}
		{
			"OSMetaClassName" = "IOBlockStorageDriver"
			"OSMetaClassSuperclassName" = "IOStorage"
			"OSMetaClassTrackingCount" = 2
		}
		{
			"OSMetaClassName" = "IODeblocker"
			"OSMetaClassSuperclassName" = "IOMemoryDescriptor"
			"OSMetaClassTrackingCount" = 0
		}
		{
			"OSMetaClassName" = "IOBreaker"
			"OSMetaClassSuperclassName" = "IOSubMemoryDescriptor"
			"OSMetaClassTrackingCount" = 0
		}
		{
			"OSMetaClassName" = "IOFDiskPartitionScheme"
			"OSMetaClassSuperclassName" = "IOPartitionScheme"
			"OSMetaClassTrackingCount" = 0
		}
		{
			"OSMetaClassName" = "IOFilterScheme"
			"OSMetaClassSuperclassName" = "IOStorage"
			"OSMetaClassTrackingCount" = 0
		}
		{
			"OSMetaClassName" = "IOGUIDPartitionScheme"
			"OSMetaClassSuperclassName" = "IOPartitionScheme"
			"OSMetaClassTrackingCount" = 1
		}
		{
			"OSMetaClassName" = "IOMedia"
			"OSMetaClassSuperclassName" = "IOStorage"
			"OSMetaClassTrackingCount" = 3
		}
		{
			"OSMetaClassName" = "IOMediaBSDClient"
			"OSMetaClassSuperclassName" = "IOService"
			"OSMetaClassTrackingCount" = 3
		}
		{
			"OSMetaClassName" = "IOPartitionScheme"
			"OSMetaClassSuperclassName" = "IOStorage"
			"OSMetaClassTrackingCount" = 2
		}
		{
			"OSMetaClassName" = "IOStorage"
			"OSMetaClassSuperclassName" = "IOService"
			"OSMetaClassTrackingCount" = 3
		}
	)
	"OSBundlePath" = "/System/Library/Extensions/IOStorageFamily.kext"
	"OSBundleRetainCount" = 9
	"OSBundlePrelinked" = false
	"OSBundleIsInterface" = false
	"OSBundleLoadSize" = 98304
}
{
	"OSBundleWiredSize" = 20480
	"CFBundleIdentifier" = "com.apple.iokit.IOAHCIFamily"
	"OSBundleStarted" = true
	"OSBundleLoadTag" = 102
	"OSBundleCPUType" = 7
	"OSBundleCompatibleVersion" = "1.0.0"
	"OSKernelResource" = false
	"OSBundleUUID" = <ad35e1c3 8cbe44ba b6144e21 0deb4cbf>
	"CFBundleVersion" = "2.0.0"
	"OSBundleLoadAddress" = 1582239744
	"OSBundleDependencies" = (
		1
		4
		3
		5
	)
	"OSBundleClasses" = (
		{
			"OSMetaClassName" = "IOAHCIPort"
			"OSMetaClassSuperclassName" = "IOService"
			"OSMetaClassTrackingCount" = 0
		}
		{
			"OSMetaClassName" = "IOAHCIDevice"
			"OSMetaClassSuperclassName" = "IOService"
			"OSMetaClassTrackingCount" = 0
		}
		{
			"OSMetaClassName" = "AHCIRequest"
			"OSMetaClassSuperclassName" = "IODMACommand"
			"OSMetaClassTrackingCount" = 0
		}
		{
			"OSMetaClassName" = "IOSerialATARequestFIS"
			"OSMetaClassSuperclassName" = "IOCommand"
			"OSMetaClassTrackingCount" = 0
		}
		{
			"OSMetaClassName" = "AppleAHCIWorkLoop"
			"OSMetaClassSuperclassName" = "IOWorkLoop"
			"OSMetaClassTrackingCount" = 0
		}
	)
	"OSBundlePath" = "/System/Library/Extensions/IOAHCIFamily.kext"
	"OSBundleRetainCount" = 0
	"OSBundlePrelinked" = false
	"OSBundleIsInterface" = false
	"OSBundleLoadSize" = 24576
}
)

/System/Library/Extensions/System.kext/PlugIns/IOKit.kext 
(version 10.0, UUID EF4A6016-9A71-4238-B5C8-1E8CABF8A21A) is loaded.
/System/Library/Extensions/System.kext/PlugIns/IOKit.kext
 (version 10.0): is started.
setting load address of 
/System/Library/Extensions/System.kext/PlugIns/IOKit.kext to 0x0
/System/Library/Extensions/System.kext/PlugIns/Libkern.kext 
(version 10.0, UUID 9A08E4FD-D7D9-4FF6-830C-F270353D9E99) is loaded.
/System/Library/Extensions/System.kext/PlugIns/Libkern.kext (version 10.0):
 is started.
setting load address of 
/System/Library/Extensions/System.kext/PlugIns/Libkern.kext to 0x0
/System/Library/Extensions/System.kext/PlugIns/Mach.kext 
(version 10.0, UUID D7FA6B23-F702-4C48-846D-18E08AE87539) is loaded.
/System/Library/Extensions/System.kext/PlugIns/Mach.kext 
(version 10.0): is started.
setting load address of 
/System/Library/Extensions/System.kext/PlugIns/Mach.kext to 0x0
/System/Library/Extensions/IOAHCIFamily.kext
 (version 2.0, UUID AD35E1C3-8CBE-44BA-B614-4E210DEB4CBF) is loaded.
/System/Library/Extensions/IOAHCIFamily.kext (version 2.0): is started.
setting load address of 
/System/Library/Extensions/IOAHCIFamily.kext to 0x5e4f1000
/System/Library/Extensions/IOStorageFamily.kext 
(version 1.6, UUID ABCB315E-BD15-460F-B30B-AE1863040DDD) is loaded.
/System/Library/Extensions/IOStorageFamily.kext (version 1.6): is started.
setting load address of 
/System/Library/Extensions/IOStorageFamily.kext to 0x554a8000
/System/Library/Extensions/System.kext/PlugIns/BSDKernel.kext 
(version 10.0, UUID D6B75004-045E-4C0E-9E3A-66A1CA6E343C) is loaded.
/System/Library/Extensions/System.kext/PlugIns/BSDKernel.kext 
(version 10.0): is started.
setting load address of 
/System/Library/Extensions/System.kext/PlugIns/BSDKernel.kext to 0x0
/System/Library/Extensions/System.kext/PlugIns/Private.kext 
(version 10.0, UUID 1BD4642F-8327-47D3-96C1-308130A5FCB0) is loaded.
/System/Library/Extensions/System.kext/PlugIns/Private.kext 
(version 10.0): is started.
setting load address of 
/System/Library/Extensions/System.kext/PlugIns/Private.kext to 0x0
/System/Library/Extensions/System.kext/PlugIns/Unsupported.kext
 (version 10.0, UUID 9CE92A53-7510-4C2C-AFEE-C1AEC3D68D75) is loaded.
/System/Library/Extensions/System.kext/PlugIns/Unsupported.kext 
(version 10.0): is started.
setting load address of
 /System/Library/Extensions/System.kext/PlugIns/Unsupported.kext to 0x0
Omitting loaded kext /System/Library/Extensions/System.kext/PlugIns/
IOKit.kext from mkext for kernel load.
Omitting loaded kext /System/Library/Extensions/System.kext/PlugIns/
Libkern.kext from mkext for kernel load.
Omitting loaded kext /System/Library/Extensions/System.kext/PlugIns/
Mach.kext from mkext for kernel load.
Omitting loaded kext
 /System/Library/Extensions/System.kext/PlugIns/BSDKernel.kext from 
mkext for kernel load.
Omitting loaded kext /System/Library/Extensions/IOAHCIFamily.kext from 
mkext for kernel load.
Omitting loaded kext /System/Library/Extensions/System.kext/PlugIns/
Private.kext from mkext for kernel load.
Omitting loaded kext
 /System/Library/Extensions/System.kext/PlugIns/Unsupported.kext from
 mkext for kernel load.
Omitting loaded kext /System/Library/Extensions/IOStorageFamily.kext from 
mkext for kernel load.
Adding /System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/
IOAHCIBlockStorage.kext to mkext.
/System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/
IOAHCIBlockStorage.kext added 167384-byte noncompressed executable to mkext.
Created mkext for architecture i386 containing 1 kexts.
Loading /System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/
IOAHCIBlockStorage.kext.
(kernel) Received kext load request from user space.
(kernel) Received request from user space to load kext
 com.apple.iokit.IOAHCIBlockStorage.
(kernel) Recorded kext com.apple.iokit.IOAHCIBlockStorage as a candidate for
 inclusion in prelinked kernel.
(kernel) Loading kext com.apple.iokit.IOAHCIBlockStorage.
(kernel) Kext com.apple.kpi.iokit is already loaded.
(kernel) Kext com.apple.kpi.libkern is already loaded.
(kernel) Kext com.apple.kpi.mach is already loaded.
(kernel) Kext com.apple.iokit.IOAHCIFamily is already loaded.
(kernel) Kext com.apple.iokit.IOStorageFamily is already loaded.
(kernel) Kext com.apple.iokit.IOStorageFamily sending 6 personalities to the
 IOCatalogue and starting matching.
(kernel) Kext com.apple.kpi.bsd is already loaded.
(kernel) Allocated link buffer for kext com.apple.iokit.IOAHCIBlockStorage at
 0x5ef4d000 (73728 bytes).
(kernel) Kext com.apple.iokit.IOAHCIBlockStorage executable loaded; 18 pages at
 0x5ef4d000 (load tag 103).
(kernel) Kext com.apple.iokit.IOAHCIBlockStorage calling module start function.
(kernel) Kext com.apple.iokit.IOAHCIBlockStorage registered class
 AppleAHCIWorkLoopLock.
(kernel) Kext com.apple.iokit.IOAHCIBlockStorage registered class
 IOAHCIDiskQueueManager.
(kernel) Kext com.apple.iokit.IOAHCIBlockStorage has IOService subclass
 IOAHCIDiskQueueManager; enabling autounload.
(kernel) Kext com.apple.iokit.IOAHCIBlockStorage registered class
 AppleAHCIDiskQueueManager.
(kernel) Kext com.apple.iokit.IOAHCIBlockStorage registered class
 IOAHCIBlockStorageDevice.
(kernel) Kext com.apple.iokit.IOAHCIBlockStorage registered class
 IOAHCIBlockStorageDriver.
(kernel) Kext com.apple.iokit.IOAHCIBlockStorage registered class
 AppleAHCIDiskDriver.
(kernel) Kext com.apple.iokit.IOAHCIBlockStorage registered class
 AppleAHCIDiskPolledInterface.
(kernel) Kext com.apple.iokit.IOAHCIBlockStorage registered class
 AHCISMARTUserClient.
(kernel) Kext com.apple.iokit.IOAHCIBlockStorage registered class
 AppleAHCIRequestTimer.
(kernel) Kext com.apple.iokit.IOAHCIBlockStorage registered class
 AppleAHCIWatchdogTimer.
(kernel) Kext com.apple.iokit.IOAHCIBlockStorage is now started.
(kernel) Kext com.apple.iokit.IOAHCIBlockStorage sending 1 personality to the
 IOCatalogue and starting matching.
(kernel) Kext com.apple.iokit.IOAHCIBlockStorage loaded.
Successfully loaded /System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/
IOAHCIBlockStorage.kext.
/System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/
IOAHCIBlockStorage.kext successfully loaded
 (or already loaded).



[b]sh-3.2# kextutil -v 6 -t /System/Library/Extensions/AppleAHCIPort.kext[/b]
Kext user-space log filter changed from 0xff2 to 0xfff.
Kext kernel-space log filter changed from 0xff2 to 0xfff.
Kext library architecture set to i386.
Kext library recording diagnostics for: validation authentication dependencies
 warnings.
Warnings: 
	The booter does not recognize symbolic links; confirm these files/directories
 aren't needed for startup: 
		/System/Library/Extensions/AppleAHCIPort.kext/Contents/CodeDirectory
		/System/Library/Extensions/AppleAHCIPort.kext/Contents/CodeRequirements
	/System/Library/Extensions/AppleAHCIPort.kext/Contents/CodeResources
	/System/Library/Extensions/AppleAHCIPort.kext/Contents/CodeSignature
	Personality has no CFBundleIdentifier; the kext's identifier will be inserted 
when sending to the IOCatalogue: 
		GenericAHCI

/System/Library/Extensions/AppleAHCIPort.kext appears to be loadable 
(not including linkage for on-disk libraries).
Loading /System/Library/Extensions/AppleAHCIPort.kext.
Reading load info for all kexts.
Reading loaded kext info from kernel.
(kernel) Received 'Get Loaded Kext Info' request from user space.
(kernel) Returning loaded kext info.
Loaded kext info:
(
{
	"OSBundleWiredSize" = 0
	"CFBundleIdentifier" = "com.apple.kpi.bsd"
	"OSBundleUUID" = <d6b75004 045e4c0e 9e3a66a1 ca6e343c>
	"OSBundleLoadAddress" = 0
	"OSBundleLoadTag" = 1
	"OSBundleStarted" = true
	"OSBundleCompatibleVersion" = "8.0.0b1"
	"OSKernelResource" = true
	"CFBundleVersion" = "10.0.0"
	"OSBundlePath" = 
		"/System/Library/Extensions/System.kext/PlugIns/BSDKernel.kext"
	"OSBundleRetainCount" = 57
	"OSBundlePrelinked" = false
	"OSBundleIsInterface" = true
	"OSBundleLoadSize" = 0
}
{
	"OSBundleWiredSize" = 0
	"CFBundleIdentifier" = "com.apple.kpi.iokit"
	"OSBundleUUID" = <ef4a6016 9a714238 b5c81e8c abf8a21a>
	"OSBundleLoadAddress" = 0
	"OSBundleLoadTag" = 3
	"OSBundleStarted" = true
	"OSBundleCompatibleVersion" = "7.0"
	"OSKernelResource" = true
	"CFBundleVersion" = "10.0.0"
	"OSBundlePath" = 
		"/System/Library/Extensions/System.kext/PlugIns/IOKit.kext"
	"OSBundleRetainCount" = 76
	"OSBundlePrelinked" = false
	"OSBundleIsInterface" = true
	"OSBundleLoadSize" = 0
}
{
	"OSBundleWiredSize" = 0
	"CFBundleIdentifier" = "com.apple.kpi.libkern"
	"OSBundleUUID" = <9a08e4fd d7d94ff6 830cf270 353d9e99>
	"OSBundleLoadAddress" = 0
	"OSBundleLoadTag" = 4
	"OSBundleStarted" = true
	"OSBundleCompatibleVersion" = "8.0.0d0"
	"OSKernelResource" = true
	"CFBundleVersion" = "10.0.0"
	"OSBundlePath" = 
		"/System/Library/Extensions/System.kext/PlugIns/Libkern.kext"
	"OSBundleRetainCount" = 81
	"OSBundlePrelinked" = false
	"OSBundleIsInterface" = true
	"OSBundleLoadSize" = 0
}
{
	"OSBundleWiredSize" = 0
	"CFBundleIdentifier" = "com.apple.kpi.mach"
	"OSBundleUUID" = <d7fa6b23 f7024c48 846d18e0 8ae87539>
	"OSBundleLoadAddress" = 0
	"OSBundleLoadTag" = 5
	"OSBundleStarted" = true
	"OSBundleCompatibleVersion" = "8.0.0d0"
	"OSKernelResource" = true
	"CFBundleVersion" = "10.0.0"
	"OSBundlePath" = "/System/Library/Extensions/System.kext/PlugIns/Mach.kext"
	"OSBundleRetainCount" = 65
	"OSBundlePrelinked" = false
	"OSBundleIsInterface" = true
	"OSBundleLoadSize" = 0
}
{
	"OSBundleWiredSize" = 0
	"CFBundleIdentifier" = "com.apple.kpi.unsupported"
	"OSBundleUUID" = <9ce92a53 75104c2c afeec1ae c3d68d75>
	"OSBundleLoadAddress" = 0
	"OSBundleLoadTag" = 7
	"OSBundleStarted" = true
	"OSBundleCompatibleVersion" = "8.0.0b1"
	"OSKernelResource" = true
	"CFBundleVersion" = "10.0.0"
	"OSBundlePath" = 
		"/System/Library/Extensions/System.kext/PlugIns/Unsupported.kext"
	"OSBundleRetainCount" = 39
	"OSBundlePrelinked" = false
	"OSBundleIsInterface" = true
	"OSBundleLoadSize" = 0
}
{
	"OSBundleWiredSize" = 65536
	"CFBundleIdentifier" = "com.apple.iokit.IOPCIFamily"
	"OSBundleStarted" = true
	"OSBundleLoadTag" = 14
	"OSBundleCPUType" = 7
	"OSBundleCompatibleVersion" = "1.0.0b1"
	"OSKernelResource" = false
	"OSBundleUUID" = <77d31c32 2c1c4fe3 a82daf3c 1965b0be>
	"CFBundleVersion" = "2.6"
	"OSBundleLoadAddress" = 1429909504
	"OSBundleDependencies" = (
		4
		5
		3
		7
	)
	"OSBundleClasses" = (
		{
			"OSMetaClassName" = "IOPCIMessagedInterruptController"
			"OSMetaClassSuperclassName" = "IOInterruptController"
			"OSMetaClassTrackingCount" = 1
		}
		{
			"OSMetaClassName" = "IOPCIBridge"
			"OSMetaClassSuperclassName" = "IOService"
			"OSMetaClassTrackingCount" = 2
		}
		{
			"OSMetaClassName" = "IOPCI2PCIBridge"
			"OSMetaClassSuperclassName" = "IOPCIBridge"
			"OSMetaClassTrackingCount" = 12
		}
		{
			"OSMetaClassName" = "IOPCIDevice"
			"OSMetaClassSuperclassName" = "IOService"
			"OSMetaClassTrackingCount" = 35
		}
		{
			"OSMetaClassName" = "IOAGPDevice"
			"OSMetaClassSuperclassName" = "IOPCIDevice"
			"OSMetaClassTrackingCount" = 0
		}
		{
			"OSMetaClassName" = "IOPCIConfigurator"
			"OSMetaClassSuperclassName" = "IOService"
			"OSMetaClassTrackingCount" = 0
		}
	)
	"OSBundlePath" = "/System/Library/Extensions/IOPCIFamily.kext"
	"OSBundleRetainCount" = 14
	"OSBundlePrelinked" = false
	"OSBundleIsInterface" = false
	"OSBundleLoadSize" = 69632
}
{
	"OSBundleWiredSize" = 20480
	"CFBundleIdentifier" = "com.apple.iokit.IOAHCIFamily"
	"OSBundleStarted" = true
	"OSBundleLoadTag" = 102
	"OSBundleCPUType" = 7
	"OSBundleCompatibleVersion" = "1.0.0"
	"OSKernelResource" = false
	"OSBundleUUID" = <ad35e1c3 8cbe44ba b6144e21 0deb4cbf>
	"CFBundleVersion" = "2.0.0"
	"OSBundleLoadAddress" = 1582239744
	"OSBundleDependencies" = (
		1
		4
		3
		5
	)
	"OSBundleClasses" = (
		{
			"OSMetaClassName" = "IOAHCIPort"
			"OSMetaClassSuperclassName" = "IOService"
			"OSMetaClassTrackingCount" = 0
		}
		{
			"OSMetaClassName" = "IOAHCIDevice"
			"OSMetaClassSuperclassName" = "IOService"
			"OSMetaClassTrackingCount" = 0
		}
		{
			"OSMetaClassName" = "AHCIRequest"
			"OSMetaClassSuperclassName" = "IODMACommand"
			"OSMetaClassTrackingCount" = 0
		}
		{
			"OSMetaClassName" = "IOSerialATARequestFIS"
			"OSMetaClassSuperclassName" = "IOCommand"
			"OSMetaClassTrackingCount" = 0
		}
		{
			"OSMetaClassName" = "AppleAHCIWorkLoop"
			"OSMetaClassSuperclassName" = "IOWorkLoop"
			"OSMetaClassTrackingCount" = 0
		}
	)
	"OSBundlePath" = "/System/Library/Extensions/IOAHCIFamily.kext"
	"OSBundleRetainCount" = 1
	"OSBundlePrelinked" = false
	"OSBundleIsInterface" = false
	"OSBundleLoadSize" = 24576
}
)

/System/Library/Extensions/System.kext/PlugIns/BSDKernel.kext 
(version 10.0, UUID D6B75004-045E-4C0E-9E3A-66A1CA6E343C) is loaded.
/System/Library/Extensions/System.kext/PlugIns/BSDKernel.kext
 (version 10.0): is started.
setting load address of
 /System/Library/Extensions/System.kext/PlugIns/BSDKernel.kext to 0x0
/System/Library/Extensions/System.kext/PlugIns/Libkern.kext
 (version 10.0, UUID 9A08E4FD-D7D9-4FF6-830C-F270353D9E99) is loaded.
/System/Library/Extensions/System.kext/PlugIns/Libkern.kext (version 10.0): is
 started.
setting load address of /System/Library/Extensions/System.kext/PlugIns/
Libkern.kext to 0x0
/System/Library/Extensions/System.kext/PlugIns/Mach.kext 
(version 10.0, UUID D7FA6B23-F702-4C48-846D-18E08AE87539) is loaded.
/System/Library/Extensions/System.kext/PlugIns/Mach.kext (version 10.0): is
 started.
setting load address of /System/Library/Extensions/System.kext/PlugIns/Mach.kext 
to 0x0
/System/Library/Extensions/IOAHCIFamily.kext 
(version 2.0, UUID AD35E1C3-8CBE-44BA-B614-4E210DEB4CBF) is loaded.
/System/Library/Extensions/IOAHCIFamily.kext (version 2.0): is started.
setting load address of /System/Library/Extensions/IOAHCIFamily.kext to 
0x5e4f1000
/System/Library/Extensions/System.kext/PlugIns/IOKit.kext 
(version 10.0, UUID EF4A6016-9A71-4238-B5C8-1E8CABF8A21A) is loaded.
/System/Library/Extensions/System.kext/PlugIns/IOKit.kext (version 10.0): is
 started.
setting load address of /System/Library/Extensions/System.kext/PlugIns/IOKit.kext
 to 0x0
/System/Library/Extensions/IOPCIFamily.kext
 (version 2.6, UUID 77D31C32-2C1C-4FE3-A82D-AF3C1965B0BE) is loaded.
/System/Library/Extensions/IOPCIFamily.kext (version 2.6): is started.
setting load address of /System/Library/Extensions/IOPCIFamily.kext to 0x553ab000
/System/Library/Extensions/System.kext/PlugIns/Unsupported.kext 
(version 10.0, UUID 9CE92A53-7510-4C2C-AFEE-C1AEC3D68D75) is loaded.
/System/Library/Extensions/System.kext/PlugIns/Unsupported.kext (version 10.0):
 is started.
setting load address of /System/Library/Extensions/System.kext/PlugIns/Unsupported.kext to 0x0
Omitting loaded kext /System/Library/Extensions/System.kext/PlugIns/BSDKernel.kext from mkext for
 kernel load.
Omitting loaded kext /System/Library/Extensions/System.kext/PlugIns/Libkern.kext
 from mkext for kernel load.
Omitting loaded kext /System/Library/Extensions/System.kext/PlugIns/Mach.kext
 from mkext for kernel load.
Omitting loaded kext /System/Library/Extensions/System.kext/PlugIns/IOKit.kext
 from mkext for kernel load.
Omitting loaded kext /System/Library/Extensions/IOAHCIFamily.kext from mkext for
 kernel load.
Omitting loaded kext
 /System/Library/Extensions/System.kext/PlugIns/Unsupported.kext from
 mkext for kernel load.
Omitting loaded kext /System/Library/Extensions/IOPCIFamily.kext from 
mkext for kernel load.
Adding /System/Library/Extensions/AppleAHCIPort.kext to mkext.
/System/Library/Extensions/AppleAHCIPort.kext added 110760-byte 
noncompressed executable to mkext.
Created mkext for architecture i386 containing 1 kexts.
Loading /System/Library/Extensions/AppleAHCIPort.kext.
(kernel) Received kext load request from user space.
(kernel) Received request from user space to load kext
 com.apple.driver.AppleAHCIPort.
(kernel) Loading kext com.apple.driver.AppleAHCIPort.
(kernel) Kext com.apple.kpi.bsd is already loaded.
(kernel) Kext com.apple.kpi.libkern is already loaded.
(kernel) Kext com.apple.kpi.mach is already loaded.
(kernel) Kext com.apple.iokit.IOAHCIFamily is already loaded.
(kernel) Kext com.apple.kpi.iokit is already loaded.
(kernel) Kext com.apple.iokit.IOPCIFamily is already loaded.
(kernel) Kext com.apple.iokit.IOPCIFamily sending 3 personalities to the 
IOCatalogue and starting matching.
(kernel) Allocated link buffer for kext com.apple.driver.AppleAHCIPort at
 0x5eabe000 (49152 bytes).
(kernel) Kext com.apple.driver.AppleAHCIPort executable loaded; 12 pages at
 0x5eabe000 (load tag 104).
(kernel) Kext com.apple.driver.AppleAHCIPort calling module start function.
(kernel) Kext com.apple.driver.AppleAHCIPort registered class AppleAHCI.
(kernel) Kext com.apple.driver.AppleAHCIPort has IOService subclass AppleAHCI;
 enabling autounload.
(kernel) Kext com.apple.driver.AppleAHCIPort registered class
 AppleAHCIPolledAdapter.
(kernel) Kext com.apple.driver.AppleAHCIPort registered class AppleAHCIPort.
(kernel) Kext com.apple.driver.AppleAHCIPort registered class AppleAHCIEventSource.
(kernel) Kext com.apple.driver.AppleAHCIPort registered class
 AppleAHCIPortPolledAdapter.
(kernel) Kext com.apple.driver.AppleAHCIPort registered class AppleICH8AHCI.
(kernel) Kext com.apple.driver.AppleAHCIPort registered class AppleMCP79AHCI.
(kernel) Kext com.apple.driver.AppleAHCIPort registered class AppleMCP79AHCIPort.
(kernel) Kext com.apple.driver.AppleAHCIPort is now started.
(kernel) Kext com.apple.driver.AppleAHCIPort sending 6 personalities to the
 IOCatalogue and starting matching.
(kernel) Kext com.apple.driver.AppleAHCIPort loaded.
Successfully loaded /System/Library/Extensions/AppleAHCIPort.kext.
/System/Library/Extensions/AppleAHCIPort.kext successfully loaded (or already
 loaded).


[b]IOREG[/b]
	| |   +-o IDE1@1F,2  <class IOPCIDevice, id 0x100000181, registered,
 matched, active, busy 0 (61 ms), retain 9>
	| |   |   {
	| |   |	 "name" = "pci8086,2681"   [i][b][This is ESB2 - alright - but no
 action...][/b][/i]
	| |   |	 "acpi-pmcap-offset" = 112
	| |   |	 "subsystem-vendor-id" = <86800000>
	| |   |	 "compatible" = <"pci8086,3472","pci8086,2681","pciclass,010601">
	| |   |	 "IOName" = "pci8086,2681"
	| |   |	 "reg" = <00fa00000000000000000000000000000000000010fa000
10000000000000000000000000800
000014fa00010000000$
	| |   |	 "device-id" = <81260000>
	| |   |	 "assigned-addresses" = <10fa008100000000d83000000000000
00800000014fa008100000000f4300000000000000400
0000$
	| |   |	 "IOPowerManagement" = {"CurrentPowerState"=2}
	| |   |	 "built-in" = <00>
	| |   |	 "IOPCIResourced" = Yes
	| |   |	 "revision-id" = <09000000>
	| |   |	 "IODeviceMemory" = ("IOSubMemoryDescriptor is not
 serializable","IOSubMemoryDescriptor is not serializab$
	| |   |	 "vendor-id" = <86800000>
	| |   |	 "class-code" = <01060100>
	| |   |	 "acpi-path" = "IOACPIPlane:/_SB/PCI0@0/IDE1@1f0002"
	| |   |	 "subsystem-id" = <72340000>
	| |   |	 "acpi-device" = "IOACPIPlatformDevice is not serializable"
	| |   |   }


#2
BladeRunner

BladeRunner

    InsanelyMac Legend

  • Donators
  • 688 posts
  • Gender:Male
  • Location:New York
This has been covered in at least two other threads on this forum. Use Google and do some searching. You need a copy of AppleIntelPIIXATA.kext patched for Snow Leopard. The one I use is discussed at

http://www.insanelym...p;#entry1246108

#3
orByte

orByte

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 182 posts

This has been covered in at least two other threads on this forum. Use Google and do some searching. You need a copy of AppleIntelPIIXATA.kext patched for Snow Leopard. The one I use is discussed at

http://www.insanelym...p;#entry1246108



Hi BladeRunner,

Thanks for your reply. I have been using the patched AppleIntelPIIXATA.kext - but to no avail - SATA drives simply do not show on IDE SATA or AHCI SATA. Under IOREG, the SATA channel IDE1@1F,2, as it is called, remains empty. I suspect a BIOS bug or some kind of initialisation error. Perhaps a diff of the PIIATA will help. AHCI sources are unfortunately not available. I also did a diff of the IOPCI but did not at first sight see anything unusual. The next step might be running a full debug version of the PII kext, to see if it throws any errors. I shall keep at it. If anything else comes to mind, please post.

Cheers

#4
BladeRunner

BladeRunner

    InsanelyMac Legend

  • Donators
  • 688 posts
  • Gender:Male
  • Location:New York

Hi BladeRunner,

Thanks for your reply. I have been using the patched AppleIntelPIIXATA.kext - but to no avail - SATA drives simply do not show on IDE SATA or AHCI SATA. Under IOREG, the SATA channel IDE1@1F,2, as it is called, remains empty. I suspect a BIOS bug or some kind of initialisation error. Perhaps a diff of the PIIATA will help. AHCI sources are unfortunately not available. I also did a diff of the IOPCI but did not at first sight see anything unusual. The next step might be running a full debug version of the PII kext, to see if it throws any errors. I shall keep at it. If anything else comes to mind, please post.

Cheers


You do know there is more than one version of that kext out there. The first one I tried didn't help me either. Then I found the one I pointed you to. It has more ICH/IDE entries in it and resolved my problem.

Hope you find a solution for your problem.

#5
orByte

orByte

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 182 posts

You do know there is more than one version of that kext out there. The first one I tried didn't help me either. Then I found the one I pointed you to. It has more ICH/IDE entries in it and resolved my problem.

Hope you find a solution for your problem.


Oooh, I seee. Ok thanks. I will give it a go.

Best.

#6
jonnysab

jonnysab

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 3 posts
Hi. I have a Dell Precision 490. I havn't created a guide yet but this is what I did.

I restored the Retail Snow DVD to a Hard Disk or USB.

I them grabbed the IntelPIXATA kext and had changed the secondary IDE channel from IDE to PATA in the Info.plist

I them booted from my USB boot drive with chameleon on it and only
dsmos.kext, NUllCPUPowermanagement and OpenHaltRestart. add the PIXATA to this boot for now.

You should be able to boot up the Retail DVD into single user mode.
run fsck -yf, mounjt the disk mnt -uw /

delete the IOATAFamily.kext from System/Library/Extentions

it's critical to rebuild the caches with

kextcache -v1 -t -m System/Library/Extensions System/Library/Extensions.mkext (I removed any references reported by kextcache where IOATA linking failed. You loose Jmicron and PCCard Kext. they won't matter.

now reboot and remove the IntelPIXATA from your boot disk. This should allow you to get past the PIXATAIssues and boot into retail install. After retail install you'll need to do this procedure again to remove the IOATAFamily stuff from your installed drive.

BTW you'll loose IDE Abilities but will have native AHCI at least I do on my 5000X chipset. There are USB DVD's cheap now that'll work.

The instructions above are pretty close to the actual commands "from memory" I'll do a install doc eventually. the switch -v1 might not be required. Took me about a week to figure this out...lol

I hope this helps.

#7
danicavini

danicavini

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 2 posts
Hi Everybody, does any one has any luck enabling the internal audio of the S5000XVN if so, someone could teach me ?

Thanks !

#8
orByte

orByte

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 182 posts

Hi. I have a Dell Precision 490. I havn't created a guide yet but this is what I did.

...


Hi guys,
Progress report: I found BladeRunner's updated AppleIntelPII kext. But unfortunately it did not work for me... : ( .

I also tried jonnysab's excellent idea, but again, on my system it was a no go... : ( When I delete the IOATA Family kext and the AppleIntelPII kext, I loose IDE but AHCI does not automatically kick in. This seems an idiosyncrasy of my board.

I have been looking at the DSDT code for the IDE1 device that handles AHCI on my board and it is identical (except for board address) to the code for the IDE0 device - and I think this is where Snow is getting confused... I have been playing with the DSDT SATA patch, and I will also try to inject the SATA port through either the ATAInject or AppleIntelPII kexts. I shall keep you all posted.

PS> I m attaching a a copy of the IDE0/1 section of the DSDT file. jonnysab if you get a moment could you have a look, or if you could send me a copy of the dell's dsdt.dsl, that would be greatly appreciated. Thanks.

Best.

Attached Files



#9
29.Diego

29.Diego

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
I have tried unsuccessful a lot of kext in this days but nothing seems to work.
Have tryed to install from leopard 10.5.8 full working... and i can get only "still waiting for root device".

ON LEOPARD, when same issue is coming i have forced the root device from the bootloader, and then on the system installed charmelion. But seems we have no way to see the HD so to force the rd...
...and then?

USB disk are correctly recognised by the installer... maybe we can use the dongle usb port in our board to have an ""internal usb"" device.


@jonnysab - i can boot the retail DVD with -s and i think any of us can do it but after can you explain better your method to get into snow?


@danicavini - I use an external usb device for audio, so never tested if the internal one is working are you on leopard or snow? Because if you are in snow say us how you have reach it!


@all - open to collaborate to get this system working.

#10
jonnysab

jonnysab

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 3 posts
@jonnysab - i can boot the retail DVD with -s and i think any of us can do it but after can you explain better your method to get into snow?

In Single user mode (I had to use a modified PIXATA kext to get to Single User Mode) I changed Parallel ATA to use Serial ATA in the PIXATA kext Info.plist you can download anywhere.
Remove the IOATAFamily.kext driver from the Retail DVD
rm -f -R /System/Library/Extension/IOATAFamily.kext
You might as well remove the ACard6280ATA.kext and the JMicronATA.kext while your at it.
Once this is done you need to rebuild your caches.
(Before Retail Installation)
kextcache -v 1 -t -m /System/Library/Extensions.mkext /System/Library/Extensions
(After Installation of Snow Leopard)
kextcache -v 1 -t -m /System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext /System/Library/Extensions
Remove PIXATA after each single user mode Operation Above.

This is how I removed IOATAFamily and got Dell Precision 490 to be Retail Installed 10.6

#11
orByte

orByte

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 182 posts
Another progress report,

Hi all,

jonnysab - thanks for the details!

Noooo. On my board (stock Intel S5000XVN) this approach does not work. ;)

But what I have noticed is that, when in the system BIOS, I use legacy SATA settings, then I can get 2 or 4 SATA drives (depending on whether I want to have a PATA drive) listed under the usual IDE tree as SATA drives. So as with jonnysab, if I m willing to sacrifice the CD drive, then I can get snow (as I have 4 HDD in there at the moment.)


Under 10.5.6, SATA AHCI is recognised BUT it still is not part of the ACPI plane. I figured out that this board uses the ACPI 3.0a specification, and have been trying to code in some AHCI ports using the DSDT override of Chameleon - but still no luck. Part of the difficulty is having access to working samples, and figuring out what to say to the BIOS - i.e sending the drives initialise commands, knowing the format of the data returned etc... Not even sure if this is the right approach.

But if anyone has access to a dsdt.dsl from a MacPro running snow, that would be greatly appreciated.

Best.

#12
29.Diego

29.Diego

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
http://www.insanelym...p...152566&st=0

Here there are some, but not the macpro2,1.

#13
orByte

orByte

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 182 posts

http://www.insanelym...p...152566&st=0

Here there are some, but not the macpro2,1.


Oh, cool!! Thanks a lot for the reference. I got them now, and will cook up some stuff.

Best.

#14
29.Diego

29.Diego

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
Any news?

#15
orByte

orByte

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 182 posts

Any news?


Hi, I have tried the obvious things such as setting up the MacPro 3,1 code - which is actually really simple - it just sets up the variables ('registers'?) I think. But I have been very busy since then. I now plan to look at the controller specs as well, and perhaps at the changes in the IOPCI family. Probably would be helpful to consult the PII controller code as well - especially the SATA handling aspects. I m hoping it is a simple matter of injecting a few things but lets see...

Best

#16
orByte

orByte

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 182 posts
Hi Everbody,

I have been playing with the AppleIntelPIIXATA kext, and it appears that the problem with enhanced SATA is coming from an interrupt issue. The driver can read the hardware registers, but driver initialisation fails here:

AppleIntelPIIXATAChannel.cpp > AppleIntelPIIXATAChannel::init

(185,186)
	if ( !setupInterrupt( provider, _irq ) )
		{IOLog("%s::[%p]:: setupInterrupt failed.\n", getName(), this);return false;}

The IOLog Entry is mine...

The Interrupt Vector is 20 (decimal), 0x14h - this vector assignment works in 10.5.6 but apparently NOT in Snow Leo.
I will keep investigating.


Edit:
A littler later...

AppleIntelPIIXATAChannel.cpp > AppleIntelPIIXATAChannel::setupInterrupt

	IOReturn ret = provider->callPlatformFunction( "SetDeviceInterrupts",
				   /* waitForFunction */ false,
				   /* nub			 */ this,
				   /* vectors		 */ (void *) &line,
				   /* vectorCount	 */ (void *) 1,
				   /* exclusive	   */ (void *) false ); /* XXX */
	
	//orByte
	const char * result;
	switch (ret) {
		case kIOReturnNoInterrupt:
			result = "kIOReturnNoInterrupt";  // no interrupt attached
			break;
				 ...
	   }
		IOLog("%s::[%p]:: set-up Interrupt Returns - %s.\n",getName(), this, result);

Does indeed confirm that the interrupt assignment is not working. Forcing the function to return 'true' leads to:

AppleIntelICHxSATA::start
AppleIntelICHxSATAPolledAdapter::setOwner
AppleIntelICHxSATA::scanForDrives
AppleIntelICHxSATA: interrupt registration error
AppleIntelICHxSATA::start
AppleIntelICHxSATAPolledAdapter::setOwner
AppleIntelICHxSATA::scanForDrives
AppleIntelICHxSATA: interrupt registration error
AppleIntelICHxSATA::start
AppleIntelICHxSATAPolledAdapter::setOwner
AppleIntelICHxSATA::scanForDrives
AppleIntelICHxSATA: interrupt registration error
AppleIntelICHxSATA: interrupt registration error


Best

#17
orByte

orByte

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 182 posts
Anybody know what might have changed between 10.5.6 and 10.6 for interrupt handling that might be causing this error? Any ideas are greatly appreciated. Many thanks in advance,

Best,
orByte.

#18
keenkey

keenkey

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
Hi, i have the same Mainboard, Intel S5000XVN. I would like install 10.6 but no idea how. I'm still using 10.5.8.
Where can i get any intrucktions?

Thanks


#19
orByte

orByte

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 182 posts

Hi, i have the same Mainboard, Intel S5000XVN. I would like install 10.6 but no idea how. I'm still using 10.5.8.
Where can i get any intrucktions?

Thanks


Search the forum for "Snow Installer 1.1"

Some Ideas: On Gigabyte board
DJ Nitehawk's installer

I did it manually here is a quick guide:
1. Get an 8GB USB stick, format it as GUID, Extended journaled in Disk Utility - single partition
2. Get Chameleon RC3, and install to the usb stick
2a. copy over your dsdt.aml
2b. Snow Installer 1.1 has a good selection of kexts to get started
3. Image the Snow Leo retail install cd and restore to usb stick (without using erase)
4. Boot the usb stick

5. You may experience the Native SATA problem discussed here, so I would recommend doing the install to a USB hard drive.

Notes: Nitehawk's installer automates 1+2 if I remember correctly and also adds the DSDT+kexts automatically

There are a number of good installers out there. If you search the forum for snow leopard, you will probably find some others as well.


UPDATE ON Native SATA:
I tried re-routing IRQs using the _PRT method for 0x001F i.e., SATA address (a. to look like a 3,1; then b. just deleted the relevant entries) in DSDT but... still no go.

The hardware hasn't changed, so it must be something in 10.6 that's doing it...

At this point I m stumped... Any ideas guys??

#20
29.Diego

29.Diego

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts

At this point I m stumped... Any ideas guys??


Me too and i'm out of the game that seems harder than change some plist...
...but can this help? Can be a similar problem?

I have do this post only to say thanks, for the hard work you are doing.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy