Jasper Levi Posted September 5, 2017 Share Posted September 5, 2017 tl;dr: I deleted all the files from my /Library/Caches/ and /System/Library/Caches folders, and now the computer won't enter proper sleep. The monitor blacks out and sound cuts out, but the CPU and fans etc., keep spinning. If I move the mouse and wake the system, it comes back, but there is no sound and system log shows: 2017-09-01 03:52:29.753188+0530 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ?2017-09-01 03:52:29.753189+0530 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ?2017-09-01 14:43:33.097009+0530 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ?2017-09-01 14:43:33.097010+0530 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ?2017-09-01 15:19:37.911741+0530 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ?2017-09-01 15:19:37.911741+0530 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ?2017-09-01 17:05:17.522360+0530 localhost kernel[0]: (AppleACPIPlatform) Wake reason: RTC (Alarm)2017-09-01 17:05:17.522361+0530 localhost kernel[0]: (AppleACPIPlatform) Wake reason: RTC (Alarm)2017-09-01 18:06:08.669524+0530 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ?2017-09-01 18:06:08.669525+0530 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ? The long version: This was a series of mistakes, which resulted in sleep not working (it was working perfectly prior to this incident).I installed the AppleIntelInfo kext to my /Library/Extensions/ folder by mistake when I used [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url], and it automatically picked the kext file up from my Desktop. When I saw that it had been installed, I went to the /Library/Extensions/ folder and deleted it. What I forgot to do was to rebuild the kextcache. Sure enough, on reboot, I got a kernel panic saying "thread wants credential but has no BSD process" and the AppleIntelInfo kext (which I had already deleted) was listed as the one creating the panic.The hackintosh wouldn't boot, would not let me boot into single user mode, would not boot into safe mode, recovery didn't work, and the only thing that I figured out to do was to take out my SSD, mount it in a USB3 hard drive dock, and connect it to my Lenovo Z50 hackintosh laptop. On the laptop, (maybe because I use the same username and password), I was able to open the Library and System folders in Finder and delete the contents of the Caches folders (including hidden files). This, however, did not fix the problem.I finally had to copy over the AppleIntelInfo kext to the /Library/Extensions/ folder again, upon which the computer booted up without any problems. I then went into the /Library/Extensions/ folder again and deleted the kext, this time running the touch command and rebuilding the caches.I am now able to boot the computer without any problems, but the computer refuses to sleep properly. When I press sleep (or allow it to sleep due to inactivity), the display goes black, but the CPU fans and lights etc remain on, and everything seems to be running. Upon moving the mouse and clicking it once or twice, the display comes back on and I can use my computer. CodecCommander (which was working perfectly earlier) is also not able to reset sound, which results in no sound, after the first "sleep." When I type 'pmset -g stats' in terminal, I get the number of User Wake Count, which seems to tell me that sleep is working, but not properly.Any help in this would be appreciated. I have attached whatever problem reporting files I could think of. Let me know if any more are required. Thanks.Update: I copied the deleted files back to the Caches folders. Didn't help. I also tried reinstalling the 10.12.6 update from the combo updater. No dice. Jasper’s iMac.ioreg.zip kextstat-output.txt pmset.txt touch-output.txt Link to comment https://www.insanelymac.com/forum/topic/326833-deleted-files-from-caches-folders-and-now-sleep-wont-work/ Share on other sites More sharing options...
Recommended Posts