Jump to content

kernel cache?


  • Please log in to reply
4 replies to this topic

#1
ktzyeah

ktzyeah

    InsanelyMac Protégé

  • Members
  • Pip
  • 49 posts
  • Gender:Male
Hi all,
i'm booting the system with the flag UseKernelCache=Yes without any problems, but when i look into Console i saw these messages:


18/11/12 21:13:19,452 com.apple.kextcache[394]: Prelink failed for com.apple.iokit.IOUSBAttachedSCSI; aborting prelink.
18/11/12 21:13:19,460 com.apple.kextcache[394]: Failed to generate prelinked kernel.
18/11/12 21:13:19,469 com.apple.kextcache[393]: Child process /usr/sbin/kextcache[394] exited with status 71.
18/11/12 21:13:19,470 com.apple.kextcache[393]: Error 107 rebuilding /System/Library/Caches/com.apple.kext.caches/Startup/kernelcache.
18/11/12 21:13:19,470 com.apple.kextd[12]: kextcache error while updating / (error count: 25)
18/11/12 21:13:19,471 com.apple.kextd[12]: async child pid 393 exited with status 71
18/11/12 21:13:21,207 com.apple.kextcache[395]: rebuilding /System/Library/Caches/com.apple.kext.caches/Startup/kernelcache
18/11/12 21:13:21,668 com.apple.kextcache[396]: IOUSBAttachedSCSI.kext - no compatible dependency found for com.apple.iokit.IOUSBFamily.
18/11/12 21:13:21,669 com.apple.kextcache[396]: IOUSBAttachedSCSI.kext is missing dependencies (including anyway; dependencies may be available from elsewhere)
18/11/12 21:13:21,867 com.apple.kextcache[396]: IOUSBAttachedSCSI.kext - no compatible dependency found for com.apple.iokit.IOUSBFamily.
18/11/12 21:13:22,008 com.apple.kextcache[396]: IOUSBAttachedSCSI.kext - no compatible dependency found for com.apple.iokit.IOUSBFamily.
18/11/12 21:13:24,818 com.apple.kextcache[396]: IOUSBAttachedSCSI.kext - no compatible dependency found for com.apple.iokit.IOUSBFamily.
18/11/12 21:13:24,818 com.apple.kextcache[396]: Prelink failed for com.apple.iokit.IOUSBAttachedSCSI; aborting prelink.
18/11/12 21:13:24,827 com.apple.kextcache[396]: Failed to generate prelinked kernel.
18/11/12 21:13:24,836 com.apple.kextcache[395]: Child process /usr/sbin/kextcache[396] exited with status 71.
18/11/12 21:13:24,836 com.apple.kextcache[395]: Error 107 rebuilding /System/Library/Caches/com.apple.kext.caches/Startup/kernelcache.
18/11/12 21:13:24,837 com.apple.kextd[12]: kextcache error while updating / (error count: 26)
18/11/12 21:13:24,837 com.apple.kextd[12]: async child pid 395 exited with status 71
18/11/12 21:13:26,553 com.apple.kextd[12]: /: kextcache has had enough tries; not launching any more

it keeps displaying these messages for 26 times and then it stops.
what does it means? is kernel cache working properly or not?
thanks in advance

#2
p.H

p.H

    InsanelyMac Legend

  • FAQ Team
  • 740 posts
  • Gender:Male
  • Interests:Hackintosh & NBA & COD4 promod
I suppose it's not functioning well.
You'd better rebuild kernel cache manually.

#3
ktzyeah

ktzyeah

    InsanelyMac Protégé

  • Members
  • Pip
  • 49 posts
  • Gender:Male
i've just runned from terminal these commands:
sudo kextcache -system-prelinked-kernel -all-loaded

Kernel file /mach_kernel does not contain requested arch: i386
IOUSBAttachedSCSI.kext - no compatible dependency found for com.apple.iokit.IOUSBFamily.
IOUSBAttachedSCSI.kext is missing dependencies (including anyway; dependencies may be available from elsewhere)
IOUSBAttachedSCSI.kext - no compatible dependency found for com.apple.iokit.IOUSBFamily.
IOUSBAttachedSCSI.kext - no compatible dependency found for com.apple.iokit.IOUSBFamily.
IOUSBAttachedSCSI.kext - no compatible dependency found for com.apple.iokit.IOUSBFamily.
Prelink failed for com.apple.iokit.IOUSBAttachedSCSI; aborting prelink.
Failed to generate prelinked kernel.


and then this one:
sudo kextcache -v 1 -a i386 -a x86_64 -m /System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext -z /System/Library/Extensions/


PACESupport.kext - no dependency found for com.apple.kernel.bsd.
PACESupport.kext - no dependency found for com.apple.kernel.mach.
PACESupport.kext is missing dependencies (including anyway; dependencies may be available from elsewhere)
BJUSBLoad.kext - no dependency found for com.apple.kernel.libkern.
BJUSBLoad.kext is missing dependencies (including anyway; dependencies may be available from elsewhere)
IOUSBAttachedSCSI.kext - no compatible dependency found for com.apple.iokit.IOUSBFamily.
PACESupport.kext - no dependency found for com.apple.kernel.bsd.
PACESupport.kext - no dependency found for com.apple.kernel.mach.
PACESupport.kext is missing dependencies (including anyway; dependencies may be available from elsewhere)
IOUSBAttachedSCSI.kext - no compatible dependency found for com.apple.iokit.IOUSBFamily.
IOUSBAttachedSCSI.kext is missing dependencies (including anyway; dependencies may be available from elsewhere)
IOBluetoothUSBDFU.kext - no compatible dependency found for com.apple.iokit.IOUSBFamily.
IOBluetoothUSBDFU.kext is missing dependencies (including anyway; dependencies may be available from elsewhere)
BJUSBLoad.kext - no dependency found for com.apple.kernel.libkern.
BJUSBLoad.kext is missing dependencies (including anyway; dependencies may be available from elsewhere)
AppleUSBAudio.kext - no compatible dependency found for com.apple.iokit.IOUSBFamily.
AppleUSBAudio.kext is missing dependencies (including anyway; dependencies may be available from elsewhere)
IOUSBAttachedSCSI.kext - no compatible dependency found for com.apple.iokit.IOUSBFamily.
Created mkext archive /System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext.

it's weird because i'm using an extra usb audio card and it works very well, i don't understand what's the problem


edit: second line of my boot, after "loading darwin 10.8" is "No Kernel Cache File '/System/Library/Caches/com.apple.kext.caches/Startup/kernelcache' found"

edit 2: just rebooted the system without UseKernelCache=Yes, "no kernel cache file" line is gone, but the problem with IOUSBAttachedSCSI.kext remains

edit 3: i've removed IOUSBAttachedSCSI.kext from S/L/E and apparently i have no more weird messages in console (usb devices are still working properly). i've also re enabled usekernelcache=yes and now it seems to work

#4
p.H

p.H

    InsanelyMac Legend

  • FAQ Team
  • 740 posts
  • Gender:Male
  • Interests:Hackintosh & NBA & COD4 promod

i've just runned from terminal these commands:
sudo kextcache -system-prelinked-kernel -all-loaded

Kernel file /mach_kernel does not contain requested arch: i386
IOUSBAttachedSCSI.kext - no compatible dependency found for com.apple.iokit.IOUSBFamily.
IOUSBAttachedSCSI.kext is missing dependencies (including anyway; dependencies may be available from elsewhere)
IOUSBAttachedSCSI.kext - no compatible dependency found for com.apple.iokit.IOUSBFamily.
IOUSBAttachedSCSI.kext - no compatible dependency found for com.apple.iokit.IOUSBFamily.
IOUSBAttachedSCSI.kext - no compatible dependency found for com.apple.iokit.IOUSBFamily.
Prelink failed for com.apple.iokit.IOUSBAttachedSCSI; aborting prelink.
Failed to generate prelinked kernel.


and then this one:
sudo kextcache -v 1 -a i386 -a x86_64 -m /System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext -z /System/Library/Extensions/


PACESupport.kext - no dependency found for com.apple.kernel.bsd.
PACESupport.kext - no dependency found for com.apple.kernel.mach.
PACESupport.kext is missing dependencies (including anyway; dependencies may be available from elsewhere)
BJUSBLoad.kext - no dependency found for com.apple.kernel.libkern.
BJUSBLoad.kext is missing dependencies (including anyway; dependencies may be available from elsewhere)
IOUSBAttachedSCSI.kext - no compatible dependency found for com.apple.iokit.IOUSBFamily.
PACESupport.kext - no dependency found for com.apple.kernel.bsd.
PACESupport.kext - no dependency found for com.apple.kernel.mach.
PACESupport.kext is missing dependencies (including anyway; dependencies may be available from elsewhere)
IOUSBAttachedSCSI.kext - no compatible dependency found for com.apple.iokit.IOUSBFamily.
IOUSBAttachedSCSI.kext is missing dependencies (including anyway; dependencies may be available from elsewhere)
IOBluetoothUSBDFU.kext - no compatible dependency found for com.apple.iokit.IOUSBFamily.
IOBluetoothUSBDFU.kext is missing dependencies (including anyway; dependencies may be available from elsewhere)
BJUSBLoad.kext - no dependency found for com.apple.kernel.libkern.
BJUSBLoad.kext is missing dependencies (including anyway; dependencies may be available from elsewhere)
AppleUSBAudio.kext - no compatible dependency found for com.apple.iokit.IOUSBFamily.
AppleUSBAudio.kext is missing dependencies (including anyway; dependencies may be available from elsewhere)
IOUSBAttachedSCSI.kext - no compatible dependency found for com.apple.iokit.IOUSBFamily.
Created mkext archive /System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext.

it's weird because i'm using an extra usb audio card and it works very well, i don't understand what's the problem


edit: second line of my boot, after "loading darwin 10.8" is "No Kernel Cache File '/System/Library/Caches/com.apple.kext.caches/Startup/kernelcache' found"

edit 2: just rebooted the system without UseKernelCache=Yes, "no kernel cache file" line is gone, but the problem with IOUSBAttachedSCSI.kext remains

edit 3: i've removed IOUSBAttachedSCSI.kext from S/L/E and apparently i have no more weird messages in console (usb devices are still working properly). i've also re enabled usekernelcache=yes and now it seems to work

try this easy command.
sudo touch /System/Library/Extensions

#5
ktzyeah

ktzyeah

    InsanelyMac Protégé

  • Members
  • Pip
  • 49 posts
  • Gender:Male
i tried with that command before deleting IOUSBAttachedSCSI.kext without any results.
i actually don't know why i needed to remove that kext... what was it supposed to do? manage scsi devices?





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