Contribute
Register

UseSystemCaches=True Boot Problem

Status
Not open for further replies.
Joined
Jan 18, 2013
Messages
61
Motherboard
HP Elite 8300 CMT
CPU
Intel i3-3770
Graphics
FirePro W7000
Mac
  1. MacBook
  2. Mac mini
Mobile Phone
  1. iOS
Hi,

i'm currently trying to build a HP 8100 CMT based Hackintosh (i7 1st Gen, Radeon 6670) and have the problem that the system currently only has full functionality when booting with "UseKernelCaches=No".

When booting with Kernel Caches, the most visible problem is that USB isn't working (No Mouse/Keyboard).

What i've tried so far:
- Rebuilding the Caches and making sure that the permissions/ownership of the Kexts in /S/L/E are good (1)
- Played around with various Bootloader Parameters (2)
- Fixed the DSDT with the HPET Patch as a similar problem arised somewhere else and was solved by the HPET Patch

I've seen no problems so far when booting without caches (everything works as expected, even sleep and power states).

(1)
"kextcache -z -t -all-loaded -prelinked-kernel" gives the following output:

Code:
[COLOR=#000000][FONT=Menlo]kext org.voodoo.driver.VoodooHDA  208049000 is in exception list, allowing to loadkext org.tgwbd.driver.NullCPUPowerManagement  100001002 is in exception list, allowing to load[/FONT]
[FONT=Menlo]kext com.insanelymac.driver.AppleIntelE1000e  300049000 is in exception list, allowing to load[/FONT]
[FONT=Menlo]WARNING - Invalid signature -67061 0xFFFFFFFFFFFEFA0B for kext "/System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/IOAHCIBlockStorage.kext"[/FONT]
[FONT=Menlo]WARNING - Invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext "/System/Library/Extensions/FakeSMC.kext"[/FONT]
[FONT=Menlo]kext es.osx86.driver.EvOreboot  100039000 is in exception list, allowing to load[/FONT]
[FONT=Menlo]kext org.tgwbd.driver.ElliottForceLegacyRTC  100009000 is in exception list, allowing to load[/FONT]
[FONT=Menlo]WARNING - Invalid signature -67061 0xFFFFFFFFFFFEFA0B for kext "/System/Library/Extensions/AppleRTC.kext"[/FONT]
[FONT=Menlo]WARNING - Invalid signature -67030 0xFFFFFFFFFFFEFA2A for kext "/System/Library/Extensions/AMDRadeonX3000.kext"[/FONT]
[FONT=Menlo]WARNING - Invalid signature -67030 0xFFFFFFFFFFFEFA2A for kext "/System/Library/Extensions/AMD6000Controller.kext"[/FONT]
[FONT=Menlo]kext com.tonymacx86.AHCI_3rdParty_SATA  4009000 is in exception list, allowing to load[/FONT][/COLOR]

"kextcache -z -system-caches" and "kextcache -z -update-volume /" gives no errors/warnings

(2):
org.chameleon.Boot.plist:
Code:
[FONT=Menlo]<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">[/FONT]
[FONT=Menlo]<plist version="1.0">[/FONT]
[FONT=Menlo]<dict>[/FONT]
[FONT=Menlo]    <key>GraphicsEnabler</key>[/FONT]
[FONT=Menlo]    <string>No</string>[/FONT]
[FONT=Menlo]    <key>Kernel Flags</key>[/FONT]
[FONT=Menlo]    <string>-v -allowAppleCPUPM</string>[/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]    <key>Timeout</key>[/FONT]
[FONT=Menlo]    <string>3</string>[/FONT]
[FONT=Menlo]    <key>UseKernelCache</key>[/FONT]
[FONT=Menlo]    <string>No</string>[/FONT]
[FONT=Menlo]    <key>DSDT</key>[/FONT]
[FONT=Menlo]    <string>8100CMT.aml</string>[/FONT]
[FONT=Menlo]</dict>[/FONT]
[FONT=Menlo]</plist>[/FONT][COLOR=#DCDCDC][FONT=Menlo][COLOR=#000000]
[/COLOR][/FONT][/COLOR]

Below the difference between a running system with and without caches:

with:
Code:
com.apple.AMDRadeonX3000
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib
com.apple.AppleGraphicsDeviceControl
com.apple.BootCache
com.apple.Dont_Steal_Mac_OS_X
com.apple.driver.ACPI_SMC_PlatformPlugin
com.apple.driver.Apple16X50ACPI
com.apple.driver.Apple16X50Serial
com.apple.driver.AppleACPIButtons
com.apple.driver.AppleACPIPlatform
com.apple.driver.AppleAHCIPort
com.apple.driver.AppleAPIC
com.apple.driver.AppleEFINVRAM
com.apple.driver.AppleEFIRuntime
com.apple.driver.AppleFDEKeyStore
com.apple.driver.AppleFileSystemDriver
com.apple.driver.AppleHPET
com.apple.driver.AppleHWAccess
com.apple.driver.AppleIntelCPUPowerManagement
com.apple.driver.AppleIntelCPUPowerManagementClient
com.apple.driver.AppleIntelMCEReporter
com.apple.driver.AppleKeyStore
com.apple.driver.AppleMCCSControl
com.apple.driver.AppleRTC
com.apple.driver.AppleSMBIOS
com.apple.driver.AppleSMBusController
com.apple.driver.AppleSMBusPCI
com.apple.driver.AppleSMC
com.apple.driver.AppleTyMCEDriver
com.apple.driver.AppleUSBEHCI
com.apple.driver.AppleUpstreamUserClient
com.apple.driver.AudioAUUC
com.apple.driver.DiskImages
com.apple.driver.IOPlatformPluginFamily
com.apple.driver.IOPlatformPluginLegacy
com.apple.driver.XsanFilter
com.apple.filesystems.autofs
com.apple.iokit.IOACPIFamily
com.apple.iokit.IOAHCIBlockStorage
com.apple.iokit.IOAHCIFamily
com.apple.iokit.IOAHCISerialATAPI
com.apple.iokit.IOAcceleratorFamily
com.apple.iokit.IOAudioFamily
com.apple.iokit.IOBDStorageFamily
com.apple.iokit.IOBluetoothFamily
com.apple.iokit.IOBluetoothSerialManager
com.apple.iokit.IOCDStorageFamily
com.apple.iokit.IODVDStorageFamily
com.apple.iokit.IOGraphicsFamily
com.apple.iokit.IOHIDFamily
com.apple.iokit.IONDRVSupport
com.apple.iokit.IONetworkingFamily
com.apple.iokit.IOPCIFamily
com.apple.iokit.IOReportFamily
com.apple.iokit.IOSCSIArchitectureModelFamily
com.apple.iokit.IOSCSIMultimediaCommandsDevice
com.apple.iokit.IOSMBusFamily
com.apple.iokit.IOSerialFamily
com.apple.iokit.IOStorageFamily
com.apple.iokit.IOSurface
com.apple.iokit.IOUSBFamily
com.apple.iokit.IOUserEthernet
com.apple.iokit.SCSITaskUserClient
com.apple.kec.corecrypto
com.apple.kec.pthread
com.apple.kext.AMD6000Controller
com.apple.kext.AMDFramebuffer
com.apple.kext.AMDSupport
com.apple.kext.AppleMatch
com.apple.kext.OSvKernDSPLib
com.apple.kext.triggers
com.apple.kpi.bsd
com.apple.kpi.dsep
com.apple.kpi.iokit
com.apple.kpi.libkern
com.apple.kpi.mach
com.apple.kpi.private
com.apple.kpi.unsupported
com.apple.nke.applicationfirewall
com.apple.security.TMSafetyNet
com.apple.security.quarantine
com.apple.security.sandbox
com.insanelymac.driver.AppleIntelE1000e
es.osx86.driver.EvOreboot
org.netkas.driver.FakeSMC
org.tgwbd.driver.ElliottForceLegacyRTC
org.tgwbd.driver.NullCPUPowerManagement
org.voodoo.driver.VoodooHDA

without:
Code:
com.apple.AMDRadeonX3000
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib
com.apple.AppleGraphicsDeviceControl
com.apple.BootCache
com.apple.Dont_Steal_Mac_OS_X
com.apple.driver.ACPI_SMC_PlatformPlugin
com.apple.driver.Apple16X50ACPI
com.apple.driver.Apple16X50Serial
com.apple.driver.AppleACPIButtons
com.apple.driver.AppleACPIPlatform
com.apple.driver.AppleAHCIPort
com.apple.driver.AppleAPIC
com.apple.driver.AppleEFINVRAM
com.apple.driver.AppleEFIRuntime
com.apple.driver.AppleFDEKeyStore
com.apple.driver.AppleHPET
com.apple.driver.AppleHWAccess
com.apple.driver.AppleIntelCPUPowerManagement
com.apple.driver.AppleIntelCPUPowerManagementClient
com.apple.driver.AppleKeyStore
com.apple.driver.AppleMCCSControl
com.apple.driver.AppleRTC
com.apple.driver.AppleSMBIOS
com.apple.driver.AppleSMBusController
com.apple.driver.AppleSMC
com.apple.driver.AppleUSBComposite
com.apple.driver.AppleUSBEHCI
com.apple.driver.AppleUSBHub
com.apple.driver.AppleUSBMergeNub
com.apple.driver.AppleUpstreamUserClient
com.apple.driver.DiskImages
com.apple.driver.IOPlatformPluginFamily
com.apple.driver.IOPlatformPluginLegacy
com.apple.driver.XsanFilter
com.apple.filesystems.autofs
com.apple.iokit.IOACPIFamily
com.apple.iokit.IOAHCIBlockStorage
com.apple.iokit.IOAHCIFamily
com.apple.iokit.IOAHCISerialATAPI
com.apple.iokit.IOAcceleratorFamily
com.apple.iokit.IOAudioFamily
com.apple.iokit.IOBDStorageFamily
com.apple.iokit.IOBluetoothFamily
com.apple.iokit.IOBluetoothSerialManager
com.apple.iokit.IOCDStorageFamily
com.apple.iokit.IODVDStorageFamily
com.apple.iokit.IOGraphicsFamily
com.apple.iokit.IOHIDFamily
com.apple.iokit.IONetworkingFamily
com.apple.iokit.IOPCIFamily
com.apple.iokit.IOReportFamily
com.apple.iokit.IOSCSIArchitectureModelFamily
com.apple.iokit.IOSCSIMultimediaCommandsDevice
com.apple.iokit.IOSMBusFamily
com.apple.iokit.IOSerialFamily
com.apple.iokit.IOStorageFamily
com.apple.iokit.IOSurface
com.apple.iokit.IOUSBFamily
com.apple.iokit.IOUSBHIDDriver
com.apple.iokit.IOUSBUserClient
com.apple.iokit.IOUserEthernet
com.apple.iokit.SCSITaskUserClient
com.apple.kec.corecrypto
com.apple.kec.pthread
com.apple.kext.AMD6000Controller
com.apple.kext.AMDFramebuffer
com.apple.kext.AMDSupport
com.apple.kext.AppleMatch
com.apple.kext.OSvKernDSPLib
com.apple.kext.triggers
com.apple.kpi.bsd
com.apple.kpi.dsep
com.apple.kpi.iokit
com.apple.kpi.libkern
com.apple.kpi.mach
com.apple.kpi.private
com.apple.kpi.unsupported
com.apple.nke.applicationfirewall
com.apple.security.TMSafetyNet
com.apple.security.quarantine
com.apple.security.sandbox
com.insanelymac.driver.AppleIntelE1000e
es.osx86.driver.EvOreboot
org.netkas.driver.FakeSMC
org.voodoo.driver.VoodooHDA

Any ideas on which steps i can take to make it work *with* caches?

Thanks,
egrath
 
Update:

After debugging the kext loading process with kextlog=0xfff it seems that the problem occurs cause of the USB Kext being autounloaded during boot when booting with Kernel Caches. Any hints on how to turn off kext autounloading - or a explanation what can produce this behavior?
 
Status
Not open for further replies.
Back
Top