Sleep Issues on MBPro
Posted: 14. Jul 2015, 03:51
I've been using headless VB for quite a while (via vagrant) with no issues. Recently, I've had major issues with the kernel extensions preventing my mbpro from sleeping.
This issue seems to be related to the audio driver, this is what the console logs are showing:
If I completely purge Virtualbox the issue clears up. I've upgraded to the latest version, but I'm still getting sleep related crashes and a system that refuses to sleep at all. In fact, my machine is completely unstable with VB installed if sleep ever tries to initiate.
I'd love some suggestions on solving this. Is it possible to just disable the audio kernel extension? Since I only run in headless mode, is it possible to disable all of the kernel extensions without major repercussions?
Thanks.
This issue seems to be related to the audio driver, this is what the console logs are showing:
Code: Select all
Sleep/Wakes since boot at 2015-07-11 03:21:52 -0400 :1811 Dark Wake Count in this sleep cycle:68
2015-07-13 13:46:13 -0400 Assertions PID 250(coreaudiod) TurnedOff PreventUserIdleSystemSleep "com.apple.audio.context87.preventuseridlesleep" 00:01:17 id:0x100000381 [System: PrevIdle DeclUser IntPrevDisp kDisp]
Sleep/Wakes since boot at 2015-07-13 12:19:48 -0400 :0 Dark Wake Count in this sleep cycle:0
2015-07-13 15:37:23 -0400 Assertions PID 250(coreaudiod) TurnedOff PreventUserIdleSystemSleep "com.apple.audio.context124.preventuseridlesleep" 00:25:36 id:0x100000933 [System: PrevDisp DeclUser IntPrevDisp kDisp]
2015-07-13 15:37:23 -0400 Assertions PID 250(coreaudiod) Released PreventUserIdleSystemSleep "com.apple.audio.context124.preventuseridlesleep" 00:25:36 id:0x100000933 [System: PrevDisp DeclUser IntPrevDisp kDisp]I'd love some suggestions on solving this. Is it possible to just disable the audio kernel extension? Since I only run in headless mode, is it possible to disable all of the kernel extensions without major repercussions?
Code: Select all
➜ ~ kextstat | grep -v com.apple
Index Refs Address Size Wired Name (Version) <Linked Against>
133 3 0xffffff7f82e82000 0x5e000 0x5e000 org.virtualbox.kext.VBoxDrv (5.0.0) <7 5 4 3 1>
134 0 0xffffff7f82ee0000 0x8000 0x8000 org.virtualbox.kext.VBoxUSB (5.0.0) <133 75 37 7 5 4 3 1>
135 0 0xffffff7f82ee8000 0x5000 0x5000 org.virtualbox.kext.VBoxNetFlt (5.0.0) <133 7 5 4 3 1>
136 0 0xffffff7f82eed000 0x6000 0x6000 org.virtualbox.kext.VBoxNetAdp (5.0.0) <133 5 4 1>