Sleep Issues on MBPro

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
bobstar
Posts: 3
Joined: 14. Jul 2015, 03:43

Sleep Issues on MBPro

Post by bobstar »

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:

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]
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?

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>
Thanks.
bobstar
Posts: 3
Joined: 14. Jul 2015, 03:43

Re: Sleep Issues on MBPro

Post by bobstar »

Maybe I should take another approach to asking this... is anyone currently using Virtualbox on a Macbook Pro with Yosemite and not experiencing this issue?
Ramshankar
Oracle Corporation
Posts: 793
Joined: 7. Jan 2008, 16:17

Re: Sleep Issues on MBPro

Post by Ramshankar »

It would help if you mention the exact VirtualBox version you are using.

Also, while trying to put your system to sleep do you have VMs running or just having VirtualBox installed prevent your system from sleeping.

Basically, we need a lot more info.
Oracle Corp.
bobstar
Posts: 3
Joined: 14. Jul 2015, 03:43

Re: Sleep Issues on MBPro

Post by bobstar »

Thanks for responding. I'm getting ready to format my machine as removing Virtualbox is no longer solving the issue (it did previously). So, I give up.

I upgraded to VirtualBox-5.0.0-101573-OSX
Post Reply