Jump to content

Slow Shutdown


JDubU

Recommended Posts

When you boot into chameleon, then type:

 

-x -v -f -s and hint enter.. ;-)

 

I asked the question wrong. I was in single user console mode but could not get EDP to run using open or exec commands. I ended up logging out and ran EDP in single user mode in the GUI. Finally got voodooHDA installed (after one, recoverable kernel panic in MyHack).

 

I still have the slow shutdown problem due to failed kernel cache rebuild but there has been some progress due to voodooHDA vs AppleHDA. Now the cache rebuild failure is only due to the AppleACPIPlatform kext. There are no linking errors caused by voodooHDA.

 

Here is the new log during shutdown:

 

10/5/12 1:57:32.991 PM com.apple.usbmuxd[54]: stopping.

10/5/12 1:57:33.153 PM com.apple.usbmuxd[778]: usbmuxd-296.3 on Jul 25 2012 at 00:28:37, running 64 bit

10/5/12 1:57:42.770 PM com.apple.kextcache[774]: kxld[com.apple.driver.AppleACPIEC]: The following symbols are unresolved for this kext:

10/5/12 1:57:42.772 PM com.apple.kextcache[774]: kxld[com.apple.driver.AppleACPIEC]: _AcpiHwRead

10/5/12 1:57:42.772 PM com.apple.kextcache[774]: kxld[com.apple.driver.AppleACPIEC]: _AcpiHwWrite

10/5/12 1:57:42.789 PM com.apple.kextcache[774]: Link failed (error code 5).

10/5/12 1:57:42.790 PM com.apple.kextcache[774]: Prelink failed for com.apple.driver.AppleACPIEC; aborting prelink.

10/5/12 1:57:42.812 PM com.apple.kextcache[774]: Failed to generate prelinked kernel.

10/5/12 1:57:42.849 PM com.apple.kextcache[773]: Child process /usr/sbin/kextcache[774] exited with status 71.

10/5/12 1:57:42.850 PM com.apple.kextcache[773]: Error 107 rebuilding /System/Library/Caches/com.apple.kext.caches/Startup/kernelcache.

10/5/12 1:57:42.851 PM com.apple.kextd[14]: kextcache error while updating / (error count: 3)

10/5/12 1:57:42.851 PM com.apple.kextd[14]: / is still busy, delaying reboot.

10/5/12 1:57:42.852 PM com.apple.kextcache[772]: Lock acquired; proceeding.

10/5/12 1:57:42.858 PM com.apple.kextcache[772]: rebuilding /System/Library/Caches/com.apple.kext.caches/Startup/kernelcache

10/5/12 1:57:42.860 PM com.apple.kextd[14]: async child pid 773 exited with status 71

10/5/12 1:58:21.263 PM com.apple.kextcache[779]: kxld[com.apple.driver.AppleACPIEC]: The following symbols are unresolved for this kext:

10/5/12 1:58:21.264 PM com.apple.kextcache[779]: kxld[com.apple.driver.AppleACPIEC]: _AcpiHwRead

10/5/12 1:58:21.265 PM com.apple.kextcache[779]: kxld[com.apple.driver.AppleACPIEC]: _AcpiHwWrite

10/5/12 1:58:21.282 PM com.apple.kextcache[779]: Link failed (error code 5).

10/5/12 1:58:21.283 PM com.apple.kextcache[779]: Prelink failed for com.apple.driver.AppleACPIEC; aborting prelink.

10/5/12 1:58:21.305 PM com.apple.kextcache[779]: Failed to generate prelinked kernel.

10/5/12 1:58:21.342 PM com.apple.kextcache[772]: Child process /usr/sbin/kextcache[779] exited with status 71.

10/5/12 1:58:21.342 PM com.apple.kextcache[772]: Error 107 rebuilding /System/Library/Caches/com.apple.kext.caches/Startup/kernelcache.

10/5/12 1:58:21.343 PM com.apple.kextd[14]: kextcache error while updating / (error count: 4)

10/5/12 1:58:21.345 PM com.apple.kextd[14]: / is still busy, delaying reboot.

10/5/12 1:58:21.354 PM com.apple.kextd[14]: async child pid 772 exited with status 71

10/5/12 1:58:21.458 PM com.apple.kextcache[780]: rebuilding /System/Library/Caches/com.apple.kext.caches/Startup/kernelcache

10/5/12 1:59:00.044 PM com.apple.kextcache[781]: kxld[com.apple.driver.AppleACPIEC]: The following symbols are unresolved for this kext:

10/5/12 1:59:00.046 PM com.apple.kextcache[781]: kxld[com.apple.driver.AppleACPIEC]: _AcpiHwRead

10/5/12 1:59:00.046 PM com.apple.kextcache[781]: kxld[com.apple.driver.AppleACPIEC]: _AcpiHwWrite

10/5/12 1:59:00.064 PM com.apple.kextcache[781]: Link failed (error code 5).

10/5/12 1:59:00.065 PM com.apple.kextcache[781]: Prelink failed for com.apple.driver.AppleACPIEC; aborting prelink.

10/5/12 1:59:00.087 PM com.apple.kextcache[781]: Failed to generate prelinked kernel.

10/5/12 1:59:00.123 PM com.apple.kextcache[780]: Child process /usr/sbin/kextcache[781] exited with status 71.

10/5/12 1:59:00.124 PM com.apple.kextcache[780]: Error 107 rebuilding /System/Library/Caches/com.apple.kext.caches/Startup/kernelcache.

10/5/12 1:59:00.125 PM com.apple.kextd[14]: kextcache error while updating / (error count: 5)

10/5/12 1:59:00.125 PM com.apple.kextd[14]: /: giving up; kextcache hit max failures

10/5/12 1:59:00.126 PM com.apple.kextd[14]: up to date;

 

 

I am still wondering why Seb and I are seeing this problem while Hervé is not. Could there be a difference between app store update vs combo update from 10.8.0 -> 10.8.1 -> 10.8.2 that is causing the kext linking to fail?

Link to comment
Share on other sites

  • Replies 54
  • Created
  • Last Reply

Top Posters In This Topic

Can you navigate to /s/l/e/myhack.kext/contents/plugins and copy/paste what you have in there..

 

Also, remove your AppleACPIPlatform.kext in /s/l/e

 

Here they are:

 

/System/Library/Extensions/myHack.kext/Contents/PlugIns/AppleACPIButtons.kext

/System/Library/Extensions/myHack.kext/Contents/PlugIns/AppleACPIEC.kext

/System/Library/Extensions/myHack.kext/Contents/PlugIns/AppleACPIPlatform.kext

/System/Library/Extensions/myHack.kext/Contents/PlugIns/AppleACPIPS2Nub.kext

/System/Library/Extensions/myHack.kext/Contents/PlugIns/AppleHDADisabler.kext

/System/Library/Extensions/myHack.kext/Contents/PlugIns/AppleIntelPIIXATA.kext

/System/Library/Extensions/myHack.kext/Contents/PlugIns/ApplePS2Controller.kext

/System/Library/Extensions/myHack.kext/Contents/PlugIns/ApplePS2Keyboard.kext

/System/Library/Extensions/myHack.kext/Contents/PlugIns/ApplePS2Mouse.kext

/System/Library/Extensions/myHack.kext/Contents/PlugIns/BCM5722D.kext

/System/Library/Extensions/myHack.kext/Contents/PlugIns/FakeSMC.kext

/System/Library/Extensions/myHack.kext/Contents/PlugIns/IntelCPUMonitor.kext

/System/Library/Extensions/myHack.kext/Contents/PlugIns/IOATABlockStorage.kext

/System/Library/Extensions/myHack.kext/Contents/PlugIns/IOATAFamily.kext

/System/Library/Extensions/myHack.kext/Contents/PlugIns/IOATAPIProtocolTransport.kext

/System/Library/Extensions/myHack.kext/Contents/PlugIns/lspcidrv.kext

/System/Library/Extensions/myHack.kext/Contents/PlugIns/NullCPUPowerManagement.kext

/System/Library/Extensions/myHack.kext/Contents/PlugIns/Patched_10.7_AppleRTC.kext

/System/Library/Extensions/myHack.kext/Contents/PlugIns/SleepEnabler.kext

/System/Library/Extensions/myHack.kext/Contents/PlugIns/VoodooBattery.kext

/System/Library/Extensions/myHack.kext/Contents/PlugIns/VoodooHDA2-7-4.kext

/System/Library/Extensions/myHack.kext/Contents/PlugIns/VoodooPS2Trackpad.kext

/System/Library/Extensions/myHack.kext/Contents/PlugIns/VoodooPState.kext

/System/Library/Extensions/myHack.kext/Contents/PlugIns/VoodooTSCSync.kext

 

 

 

Running MyFix after removing AppleACPIPlatform.kext in /s/l/e...

Link to comment
Share on other sites

Removed AppleACPIPlatform.kext from /s/l/e and ran MyFix.

 

Solved the kernelcache rebuild problem. Kernelcache is built successfully with no errors. Shutdown time is now back to normal (~20 seconds). Had one initial instance of sleep command freezing the OS but, after restart, seems to be working now.

 

Thank you Leon!!!!!!! Brilliant!!

 

Do you think that there might be a way to go back to AppleHDA if I end up have trouble with voodooHDA?

Link to comment
Share on other sites

  • Administrators

Hey mate,

 

I'v added a fix to EDP so that it will replace AppleACPIPlatform.kext in sle instead of trusting on version bumping, that should resolve your problem permanent.. would you mind updating your EDP (using option 5 in edptool) and do a new build to see if it works ?

Link to comment
Share on other sites

Hey mate,

 

I'v added a fix to EDP so that it will replace AppleACPIPlatform.kext in sle instead of trusting on version bumping, that should resolve your problem permanent.. would you mind updating your EDP (using option 5 in edptool) and do a new build to see if it works ?

 

 

Updated EDP to 4r11 and ran it with the same custom kext selection (same as default but with VoodooHDA #3 instead of AppleHDA #1). Also ran EDP fixes (hibernation fix, touch S/L/E, and sound delay) Lost my chamelion.boot.plist customizations so I had to redo those. It did not do a backup to the Extra folder -- just replaced its contents. System seems to be working the same as before this rebuild.

 

There are a couple of things that I have noticed (so far):

 

After every system startup, the microphone and speaker volume levels don't match the slider settings in system preferences. Mic starts at full and speaker is low no matter what the volume sliders are set at. Making even the smallest change to each slider gets them to match until the next system boot. Must be a VoodooHDA problem.

 

Auto sleep no longer works at all. Sleep works perfectly via command or lid closing. I tried setting "Computer sleep" to 2 minutes and "Display sleep" to 1 minute in the Energy Saver system preferences. The display sleeps on schedule but the computer never goes to sleep. I don't think that this began with our recent EDP kext changes since my previous backup disk image has the same behaviour. It might be a 10.8.x update issue that I only just noticed.

Link to comment
Share on other sites

  • Administrators

Hi,

 

Thanx for testing - good that we got one thing resolved :-)

 

Audio = VoodooHDA is buggy.. i think you can get a seperate pref. pane for voodooHDA

Sleep = Sleep have allways been buggy as hell :-/

Link to comment
Share on other sites

Hi,

 

Thanx for testing - good that we got one thing resolved :-)

 

Audio = VoodooHDA is buggy.. i think you can get a seperate pref. pane for voodooHDA

Sleep = Sleep have allways been buggy as hell :-/

 

 

Good to know about the separate voodooHDA preference pane.

 

I do know that auto sleep used to work in my initial install of 10.8.0 and I think it still worked with 10.8.1. I did a Google search on this and there are some people reporting that it broke when they updated to 10.8.2 on their Apple Macbook Pro. So it may be an Apple OS X problem. Have you heard if others are having the same problem with auto sleep in 10.8.2?

 

If EDP is now placing AppleACPIPlatform.kext directly into S/L/E, does that mean that an EDP rebuild may be required after any future OS update that might replace that patched kext with the official Apple version? I am just wondering if there is a chance that a future OS update could cause the computer to be unbootable?

Link to comment
Share on other sites

  • Administrators

Good to know about the separate voodooHDA preference pane.

 

I do know that auto sleep used to work in my initial install of 10.8.0 and I think it still worked with 10.8.1. I did a Google search on this and there are some people reporting that it broke when they updated to 10.8.2 on their Apple Macbook Pro. So it may be an Apple OS X problem. Have you heard if others are having the same problem with auto sleep in 10.8.2?

 

If EDP is now placing AppleACPIPlatform.kext directly into S/L/E, does that mean that an EDP rebuild may be required after any future OS update that might replace that patched kext with the official Apple version? I am just wondering if there is a chance that a future OS update could cause the computer to be unbootable?

 

Sleep: Could very well be.. wouldent be the first time apple have f*cked up :-)

AppleACPIPlatform.kext: Yes, you should ALLWAYS do a new build after update anyway - and yes.. there is a that risk.

 

However, i just did an update where we copy AppleACPIPlatform.kext to /e/e like we did before also.. seeing that its the same kext it should work without cache issues.

 

Mind updating edp and testing doing a new build ?

Link to comment
Share on other sites


×
×
  • Create New...