-
Notifications
You must be signed in to change notification settings - Fork 248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VirtualBox VM freezes periodically #43
Comments
Just to confirm, you're not crazy. I can reproduce the freezing issue with a Packer build. Didn't try doing a "regular" build like you did - I'm a mostly-happy VMware Fusion user, so I rarely test the Vbox support except for major new releases. My machine is an iMac14,3 i7 (Haswell). I also noticed that SIP issue with the dynamic pager and will correct that with an if statement soon. Hard to see what in the postinstall would be doing anything. My first thought was perhaps ARD or SSH support, but disabling those in the sysprefs doesn't seem to have any effect. |
I'd tried disabling ARD too, didn't fix it on this end either. I'm on a MacBookPro11,3, also Haswell I believe? Today I've been trying to use the disk image from
I'll keep at it… |
Progress.
I'm doing the full Packer run now, but I didn't get a freeze on the manual build using this. How to roll this in is another question. Maybe add some flags to And, of course, I have no idea why this is a problem in the first place. |
This is a strange one, and I'm trying to figure it out, but I'm coming up somewhat empty-handed.
A new El Capitan VM built using the Packer template for VirtualBox will freeze for ~5 seconds every ~10 seconds, making interactive use somewhat troublesome. However, VirtualBox's OS X support is not necessarily broken outright.
Here's what I've observed:
.vbox
files—they're pretty much identical save UUIDs and names of things.)shrink.sh
is failing due to System Integrity Protection not allowingdynamic_pager
to be unloaded, but if I attempt to build a box with these lines commented out, the resulting box still freezes.It seems that something installed in the
prepare_iso
process is responsible, since the freezing is in play even before Packer starts running the scripts inscripts
. But I've gone over whatprepare_iso
adds and I'm not sure what could be causing it.Has anyone seen this or does anyone have any ideas what might be at fault? I'm currently looking over
pkg-postinstall
to see if anything looks suspicious.The text was updated successfully, but these errors were encountered: