Issue 118: Kernel Cache in 10.7 Not Loading

Reported by Fumo Mofu, Jul 17, 2011

I set the UseKernelCache=Yes and Kernel Cache=/kernelcache in 
com.chameleon.Boot.plist but the kernel cache is not being 
loaded...the message "Loading kernel cache /kernelcache" 
is not appearing.

Comment 1 by Cosmosis Jones, Jul 18, 2011

org.chameleon.Boot.plist ?
Status: Invalid

Comment 2 by Fumo Mofu, Jul 18, 2011

I meant org.chameleon.Boot.plist.

Comment 3 by Cosmosis Jones, Jul 18, 2011

Labels: Target:2.0
Status: Accepted
Owner: meklort

Comment 4 by Evan Lojewski, Jul 20, 2011

I am unable to verify this. I have just tested the Lion install dvd 
and have no issues. I'm making this as invalid. If more information 
is provided, I'll reopen.
Status: Invalid

Comment 5 by Fumo Mofu, Jul 21, 2011

I get cachetime = 1309416861 and exttime = 1309412465.

Comment 6 by Fumo Mofu, Jul 21, 2011

^ That's using the Lion installation media.

Comment 7 by Evan Lojewski, Jul 21, 2011

Chameleon currently will only load the kernelcache if it was 
generated at the same time as the /System/Library/Extensions.

I've just modified this so that it'll only load if the kernelcache 
is newer than the extensions. This shouldn't be needed, but let me 
know if it work.
Status: Accepted

Comment 8 by Fumo Mofu, Jul 21, 2011

kerneltime = 1308427162

Comment 9 by Evan Lojewski, Jul 21, 2011

How a re you printing out those numbers, and how are you generating 
the kernelcache?

Comment 10 by Evan Lojewski, Jul 21, 2011

While I'm at it, what do you mean by lion install media?

Comment 11 by Fumo Mofu, Jul 21, 2011

I am printing those numbers using verbose statements in this if 

if (ret == 0 && cachetime != (exttime + 1)) {

I am using BaseSystem.dmg as my install media with kernelcache 
coming from the root of InstallESD.dmg.

Comment 12 by Evan Lojewski, Jul 21, 2011

If you are manually copying files, you are messing up the 
timestamps. Make sure to correct this. This is not a chameleon 
issue. Booting InstallESD directly using chameleon is error free, as 
with a properly regenerated kernel cache.

I'm closing this issue and may revert the last change for it.
Status: Invalid

Comment 13 by Fumo Mofu, Jul 22, 2011

But if I use InstallESD, I immediately get a kernel panic related to 
ACPI. Do you know how to fix this?

Created: 9 years 2 months ago by Fumo Mofu

Updated: 9 years 2 months ago

Status: Invalid

Owner: Evan Lojewski

Followed by: 1 person