Administrators Hervé Posted September 19, 2013 Administrators Share Posted September 19, 2013 I'm quite surprised you mention Extensions.mkext as that was last seen on Leopard or Snow Leopard as far as I know. Unless I'm massively mistaken, that is no longer used in Lion or ML. Your cache can be found in /System/Library/Cache/com.apple.kext.caches/Startup. You would normally see files of the following sort: pc20:Startup admin$ ls -l total 21464 -rw-r--r-- 1 root wheel 81911 Sep 19 22:46 IOKitPersonalities_i386.ioplist.gz -rw-r--r-- 1 root wheel 41 Sep 19 22:46 KextPropertyValues_OSBundleHelper_i386.plist.gz -rw-r--r-- 1 root wheel 10902476 Sep 19 22:46 kernel cache You can manually rebuild your cache with the kextcache CLI command. For instance: sudo touch /System/Libraries/Extensions sudo kextcache -system-prelinked-kernel Link to comment Share on other sites More sharing options...
TheRealBigBudz Posted September 19, 2013 Share Posted September 19, 2013 I have the file you are specifying, which surprises me -- the error in Chameleon says that /System/Library/Cache/com.apple.kext.caches/Startup/KernelCache is not found. Link to comment Share on other sites More sharing options...
Administrators Bronxteck Posted September 19, 2013 Administrators Share Posted September 19, 2013 it probably did not generate one. you have to look in E/E and see if there is a similar named kext already existing in s/l/e if so back it up and remove it then do a my fix. Link to comment Share on other sites More sharing options...
Administrators Hervé Posted September 19, 2013 Administrators Share Posted September 19, 2013 Try to delete the cache and manually re-create it. Link to comment Share on other sites More sharing options...
Administrators Bronxteck Posted September 19, 2013 Administrators Share Posted September 19, 2013 you can also do a sudo touch System/Library/Extensions and watch console to see if it's generating Link to comment Share on other sites More sharing options...
TheRealBigBudz Posted September 19, 2013 Share Posted September 19, 2013 No output from console when I use that command. Also moving the E/E directory gave me a KP. I used Myfix to get back into the desktop but now there is no wifi. Going to myfix again and reboot, and may have to put that Extra/Extensions back into place. How do I manually delete and recreate the file? I have tried trashing the whole startup folder but it still does not make the file that chameleon is looking for. Edit: Didn't realize the CLI command was given in a post at the top of the page -- trying that now. Link to comment Share on other sites More sharing options...
TheRealBigBudz Posted September 19, 2013 Share Posted September 19, 2013 Ok this is what I get for output when using: sudo touch /System/Library/Extension sudo kextcache -system-prelinked-kernel Last login: Thu Sep 19 19:43:41 on console ldv-mpc:~ LDV$ sudo touch /System/Library/Extensions/ Password: ldv-mpc:~ LDV$ sudo kextcache -system-prelinked-kernel Kernel file /mach_kernel does not contain requested arch: i386 2013-09-19 19:45:40.580 kextcache[253:a07] -[__NSCFData _fastCStringContents:]: unrecognized selector sent to instance 0x7fa133950920 2013-09-19 19:45:40.583 kextcache[253:a07] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFData _fastCStringContents:]: unrecognized selector sent to instance 0x7fa133950920' *** First throw call stack: ( 0 CoreFoundation 0x0000000103a1eb06 __exceptionPreprocess + 198 1 libobjc.A.dylib 0x000000010404b3f0 objc_exception_throw + 43 2 CoreFoundation 0x0000000103ab540a -[NSObject(NSObject) doesNotRecognizeSelector:] + 186 3 CoreFoundation 0x0000000103a0d02e ___forwarding___ + 414 4 CoreFoundation 0x0000000103a0ce18 _CF_forwarding_prep_0 + 232 5 CoreFoundation 0x00000001039a37cd CFStringFindWithOptionsAndLocale + 541 6 CoreFoundation 0x00000001039ad092 CFStringFind + 178 7 kextcache 0x000000010355fc98 kextcache + 89240 8 kextcache 0x000000010355f32b kextcache + 86827 9 kextcache 0x000000010354dcef kextcache + 15599 10 kextcache 0x000000010354e41c kextcache + 17436 11 kextcache 0x000000010354cdfe kextcache + 11774 12 kextcache 0x000000010354b48a kextcache + 5258 13 libdyld.dylib 0x000000010449a7e1 start + 0 ) libc++abi.dylib: terminate called throwing an exception ldv-mpc:~ LDV$ Link to comment Share on other sites More sharing options...
TheRealBigBudz Posted September 19, 2013 Share Posted September 19, 2013 Also why is it requesting i386? Shouldn't ML system be 64-bit? Link to comment Share on other sites More sharing options...
Administrators Bronxteck Posted September 20, 2013 Administrators Share Posted September 20, 2013 well mixing my hack and kw can lead to issues. if kw is kext wizard it puts things in s/l/e directly where as my hack uses a kext to inject into s/l/e you might have double kexts. you have to choose one of the methods and stick to it. then look for double kexts. if you need to use an older kext that has the same name in s/l/e then you have to either remove the one you do not wish to use or replace it. Link to comment Share on other sites More sharing options...
Administrators Hervé Posted September 20, 2013 Administrators Share Posted September 20, 2013 Is Kext Wizard actually compatible with Lion and ML in the way it actually handles cache? I've never used it since switching to myHack to avoid conflicts like Mario said. Link to comment Share on other sites More sharing options...
Recommended Posts