meknb Posted November 12, 2012 Share Posted November 12, 2012 I'm trying to boot using KernelCache on Mountain Lion 10.8, If i try building the cache "sudo kextcache -system-prelinked-kernel" I get Kernel file /mach_kernel does not contain requested arch: i386, i've reinstalled Mountain Lion a few times but still get this error every time. If i do build the kernel cache, i used a script from ifire from another post, it builds the Extensions.mkext in the startup in caches, but my computer just reboots almost instantly using kernel cache i've got to boot using -f . The only thing in my Extra folder is my dsdt, org.chameleon.Boot.plist and SMBios.plist. In my system i've only patched a few file's and the only one's i've added are DellBluetoothHCI.kext , VoodooPS2Controller.kext,FakeSMC.kext and AppleACPIPS2Nub.kext. Any help is much appreciated. Link to comment Share on other sites More sharing options...
p.H Posted November 12, 2012 Share Posted November 12, 2012 try this command. sudo touch /System/Library/Extensions/ Link to comment Share on other sites More sharing options...
meknb Posted November 12, 2012 Author Share Posted November 12, 2012 Thank's p.h but that didn't work it still reboots I think it gets up to ACPI then reboots it goes that fast i can't really tell. MAC Framework successfully initialized using 16384 buffer headers and 10240 cluster IO buffer headers IOAPIC: Version 0x20 Vectors 64:87 ACPI: System State [s0 S3 S4 S5] (S3) PFM64 (36 cpu) 0xf10000000, 0xf0000000 Link to comment Share on other sites More sharing options...
westwaerts Posted November 12, 2012 Share Posted November 12, 2012 afaik, ML only has a 64bit kernel ( x68) so i386 architecture isnt supported. maybe one of your kexts is only 32bit. look into system profiler, if you see any non 64 bit kexts ( extensions). Link to comment Share on other sites More sharing options...
meknb Posted November 12, 2012 Author Share Posted November 12, 2012 All my Extensions are 64bit some frameworks are 32bit could that be a problem ?? Link to comment Share on other sites More sharing options...
p.H Posted November 13, 2012 Share Posted November 13, 2012 Thank's p.h but that didn't work it still reboots I think it gets up to ACPI then reboots it goes that fast i can't really tell. MAC Framework successfully initialized using 16384 buffer headers and 10240 cluster IO buffer headers IOAPIC: Version 0x20 Vectors 64:87 ACPI: System State [s0 S3 S4 S5] (S3) PFM64 (36 cpu) 0xf10000000, 0xf0000000 Maybe this thread may help you: http://www.insanelymac.com/forum/topic/280062-waiting-for-root-device-when-kernel-cache-used-only-with-some-disks-fix/ Link to comment Share on other sites More sharing options...
meknb Posted November 13, 2012 Author Share Posted November 13, 2012 Thanks ph i've used this patch and patched ioahci.blockstorage.kext to enable trim but the disk doesn't hang it just reboots the computer? Is there any way to slow the boot so i can see where it fails ? Link to comment Share on other sites More sharing options...
Biso007 Posted November 14, 2012 Share Posted November 14, 2012 I have an argue here. Sure booting with kernel cache is faster to load kexts into RAM instead of reading from HDD, but taking into consideration that: - it's a one time step till the need to reboot. - it takes 18 sec for me from power up till getting the GUI. - it's a Hac not a real Mac, we add/delete/modify many kexts so each time you will need to fix permissions and rebuild caches. Does it worth all this efforts and patched kexts and DSDTs to save let's say 5-7 sec in the boot time ? For me I would prefer more vanilla setup Link to comment Share on other sites More sharing options...
westwaerts Posted November 15, 2012 Share Posted November 15, 2012 the question is not the error message, tell us what you find in System/Lib/Caches/com.apple.kext.caches/Startup and by the way i personally just put the system to sleep ( so booting is done once a week) Link to comment Share on other sites More sharing options...
meknb Posted November 15, 2012 Author Share Posted November 15, 2012 Biso007 yes i agree mine boots in 26sec but it's not to save a few sec's off boot time it's the learning. Westwaerts if i use sudo kextcache -system-prelinked-kernel I get IOKitPersonalities_i386.ioplist.gz IOKitPersonalities_x86_64.ioplist.gz kernelcache KextPropertyValues_OSBundleHelper_i386.plist.gz KextPropertyValues_OSBundleHelper_x86_64.plist.gz If i use a script by ifire I get KextPropertyValues_OSBundleHelper_x86_64.plist.gz IOKitPersonalities_x86_64.ioplist.gz kernelcache Extensions.mkext #!/bin/bashchown -R root:wheel /System/Library/Extensions chmod -R go=u-w /System/Library/Extensions sudo chown root:admin / sudo kextcache -system-prelinked-kernel sudo kextcache -system-caches sudo chown root:admin / sudo update_dyld_shared_cache -debug -force -root / sudo diskutil repairPermissions / sudo update_dyld_shared_cache -root / -force cd /System/Library/Caches sudo rm -rf /System/Library/Caches/com.apple.kext.caches/Startup/IOKitPersonalities_i386.ioplist.gz sudo rm -rf /System/Library/Caches/com.apple.kext.caches/Startup/KextPropertyValues_OSBundleHelper_i386.plist.gz sudo kextcache -v 1 -a x86_64 -m /System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext -z /System/Library/Extensions/ sleep3 Killall Terminal sleep1 Link to comment Share on other sites More sharing options...
westwaerts Posted November 21, 2012 Share Posted November 21, 2012 if i use sudo kextcache -system-prelinked-kernel I get IOKitPersonalities_i386.ioplist.gz IOKitPersonalities_x86_64.ioplist.gz kernelcache KextPropertyValues_OSBundleHelper_i386.plist.gz KextPropertyValues_OSBundleHelper_x86_64.plist.gz same we all got, no extensions.mkext anymore, so have you tried to boot with that ? Link to comment Share on other sites More sharing options...
meknb Posted November 21, 2012 Author Share Posted November 21, 2012 same we all got, no extensions.mkext anymore, so have you tried to boot with that ? It boot's fine if i use kernelCache=No, KernelCache=yes it just reboots. Link to comment Share on other sites More sharing options...
Recommended Posts