Jump to content
11 posts in this topic

Recommended Posts

On my system.log I've found strange message "crashdump[163]: kextcache crashed"

On every boot kextche can't build Extensions.kext ???

 

1.When I do it manually:

sudo /usr/sbin/kextcache -a i386 -k -m /System/Library/Extensions.mkext /System/Library/Extensions
[...]
/System/Library/Extensions/Some.kext doesn't contain code for the architecture specified; skipping the kext that contains it
[...]
Segmentation fault

 

2.When I do it manually without "-a" argument:

 sudo /usr/sbin/kextcache  -k -m /System/Library/Extensions.mkext /System/Library/Extensions

[..]
warning: kernel extension /System/Library/Extensions/Some.kext is missing dependencies (including in cache anyway; dependencies may be available from elsewhere)

without Segmentation fault but archive would be too large; aborting

 

Any sugestions ??

 

CPU: AMD 64 3000+

MacOSX 10.4.5 MyzarDVD (USB kext from 10.4.3)

Link to comment
https://www.insanelymac.com/forum/topic/17576-kextcache-crashed/
Share on other sites

Where do you see this error? At boot? And how do you know the cache is not complete? I repeat do not build cache manualy it will rebuild on boot automaticaly, just delete it... but dont touch /usr/sbin/kextcache file... i mean leave it there :thumbsdown_anim:

edit: Ah now i see... there is something wrong with your /usr/sbin/kextcache file, try to replace it with original from dvd...

Why You suggest there is something wrong with my /usr/sbin/kextcache ?

Cos this is the first time i see this error and i got similar error when trying to buid kextcache with -i386 option manualy.

So if cache does not build automatic then what else can it be... maybe wrong permissions somewhere.

Try to boot with -x in darwin prompt and if it works then just delete kext cache and reboot again.

Or in singleuser mode -s try to repair permissions "diskutil repairpermissions /" and also update prebinding "update_prebinding -root / -force". Maybe it helps.

YES I DID in single user mode and sync disk!

I think the OS store it somewhere or so. Clock is OK.

Very strange.

 

I've found something strange in my OS.

"Date modified" of:

/System/Library/Extensions.kextcache

/System/Library/Caches/com.apple.kernelcaches/kernelcache

 

is the same like /System/Library/Extensions directory.

 

So if you "touch /System/Library/Extensions" for example Today on 8 pm "Date modified" of the caches will be "Today on 8 pm" even after delete and reboot for automatic rebuild.

 

I've no idea WHY !!! Something is wrong with my OS ??

 

 

UPDATE: Solved

1.sudo rm -f /System/Library/Extensions.kextcache

2.sudo rm -f /System/Library/Caches/com.apple.kernelcaches/kernelcache

3.sudo kextcache -a i386 -l -K /mach_kernel -m /System/Library/Extensions.mkext /System/Library/Extensions

4.Reboot

No kextcache crashed enymore :D

 

P.S THX coolbits for help.

×
×
  • Create New...