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.
11 replies to this topic
#1
Posted 12 November 2012 - 11:43 AM
#2
Posted 12 November 2012 - 12:37 PM
try this command.
sudo touch /System/Library/Extensions/
sudo touch /System/Library/Extensions/
#3
Posted 12 November 2012 - 01:37 PM
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
#4
Posted 12 November 2012 - 02:42 PM
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).
maybe one of your kexts is only 32bit.
look into system profiler, if you see any non 64 bit kexts ( extensions).
#5
Posted 12 November 2012 - 04:48 PM
All my Extensions are 64bit some frameworks are 32bit could that be a problem ??
#6
Posted 13 November 2012 - 12:30 AM
meknb, on 12 November 2012 - 01:37 PM, said:
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
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
http://www.insanelym...some-disks-fix/
#7
Posted 13 November 2012 - 09:06 AM
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 ?
Is there any way to slow the boot so i can see where it fails ?
#8
Posted 14 November 2012 - 09:41 AM
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
- 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
#9
Posted 15 November 2012 - 08:48 AM
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)
and by the way i personally just put the system to sleep ( so booting is done once a week)
#10
Posted 15 November 2012 - 08:57 PM
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
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
Quote
#!/bin/bash
chown -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
chown -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
#11
Posted 21 November 2012 - 04:30 PM
meknb, on 15 November 2012 - 08:57 PM, said:
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
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 ?
#12
Posted 21 November 2012 - 08:18 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users



Sign In
Create Account









