Contribute
Register

Can't boot with UseKernelCache=Yes

Status
Not open for further replies.
Joined
Jul 10, 2011
Messages
14
Motherboard
Gigabyte Z77X-UD3H
CPU
3570K
Graphics
GTX 770
Mac
  1. 0
Classic Mac
  1. 0
Mobile Phone
  1. Android
So I'm having trouble getting kernelcache working on my Hackintosh.

When I try to rebuild the kext cache with

sudo kextcache -system-prelinked-kernel; sudo kextcache -system-caches

I get the following error:

Kernel file /mach_kernel does not contain requested arch: i386

The cache is still built apparently, but when I reboot with UseKernelCache=Yes it stalls after the PCI configuration (I have npci=0x3000 set to prevent the long PCI detection whatever).

My system should be pretty close to vanilla, only FakeSMC, PS/2 kexts and IOACHIBlockStorageInjector are installed, power management patched in DSDT. I read in another thread about using IOACHIFamily and AppleAHCIPort from Lion but that didn't help either.

The system boots fine with UseKernelCache=No but it's obviously a lot slower. Lion also worked just fine with UseKernelCache.

Any ideas?
 
I think you are using a kernel for 32 bits, and ML only run in 64 bits.
 
I think you are using a kernel for 32 bits, and ML only run in 64 bits.

I don't have 64-bits forced, but uname -a says x86_64. In System Information -> Software -> Extensions it also says 64-bit=Yes for every extension.
 
Status
Not open for further replies.
Back
Top