Jump to content

UseKernelCache and -f flag


  • Please log in to reply
5 replies to this topic

#1
stuppy_

stuppy_

    InsanelyMac Geek

  • Donators
  • 117 posts
Hi,

Can someone answer me this quick question.

I have UseKernalCache=Yes in cham.plist to speed up the boot process.

I just had a lock up and had to hard-reset. On trying to reboot it KP, something about zfscompression kext I think, or something like that.

So I tried booting up with -x, same thing, then I tried -f and it booted (long winded version). Then when I rebooted without -f, it worked as normal.

So does this sound like a corrupt kernelcache? Does using -f force a rebuild of the kernel cache?

Answers appreciated. Thanks

#2
Gringo Vermelho

Gringo Vermelho

    The Jan Bird fix

  • Supervisors
  • 6,123 posts
  • Gender:Male
  • Location:Brazil
As far as I know, -f just bypasses the cache?

Here's how to rebuild the cache on Lion, I suppose it's the same on Mountain Lion:

Trash the folder /System/Library/Caches/com.apple.kext.caches/Startup

Then rebuild the caches from Terminal like this:

kextcache -system-prelinked-kernel
kextcache -system-caches

#3
mendietinha

mendietinha

    mendi

  • Members
  • PipPipPipPipPipPipPip
  • 946 posts
  • Gender:Male
  • Interests:full hackintosh.
i trash all the s/l/c and use kext utility after that.

#4
fastfwd

fastfwd

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
  • Gender:Male
  • Location:Toronto
Sadly that does not work for me. I have to boot without user cache.

#5
LatinMcG

LatinMcG

    Insanely digesting DSDT

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 2,509 posts
  • Gender:Male
  • Location:Tampa, Florida
i wonder if he has .mkext in extra folder.

#6
fastfwd

fastfwd

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
  • Gender:Male
  • Location:Toronto
I have .mkext in extra, I will delete and move everything in extension to s/l/e and try that.


It worked thanks!

Edited by fastfwd, 04 August 2012 - 03:47 PM.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy