I've been trying to troubleshoot a problem I'm having with Virtualbox on MacOS Big Sur 11.3.1 My environment is a little bit interesting. I'm running MacOS Big Sur in a VMware Fusion VM, and inside of that VM, I'm running Virtualbox. Before it gets said, I know that nested virtualization is, in general, pretty awful. This is for testing purposes only. I would also like to confirm that the Big Sur VM has been given ample disk space (80GB) RAM (8GB), and CPU cores (4). Additionally, I have the settings "Enable hypervisor applications in this virtual machine" and "Enable IOMMU in this virtual machine" enabled to do nested virtualization.
In fact, running virtual machines inside the VM isn't the problem I'm having, I'm having a problem with the "VirtualboxVM" application, and obtaining a virtual console session to my VM. I am attempting to run a virtualbox VM with the following settings:
ISO: pfSense 2.5.1
RAM: 1GB
Disk: 16GB, dynamically allocated
Type: FreeBSD, 64-bit)
vm name: walls
Here is a snippet of the VBoxSVC[.]log file:
Code: Select all
nspr-6 ERROR [COM]: aRC=VBOX_E_IPRT_ERROR (0x80bb0005) aIID={85632c68-b5bb-4316-1900-5eb28d3413df} aComponent={SessionMachine} aText={Saved screenshot data is not available (VERR_NOT_Supported)}, preserve=false aResultDetail=-37
Code: Select all
VirtualBoxVM --startvm walls
Code: Select all
VirtualBoxVM[1049:30603] *** WARNING: Textured winow <QNSWindow: 0x7ffa2b7485c0> is getting an implicitly transparent titlebar. This will break when linking against newer SDKs. Use NSWindow's -titlebarAppearsTransparent=YES instead.
Unable to open Fosl library at path /usr/lib/libFosl_dynamic.dylib
zsh: segmentation fault VirtualboxVM --startvm walls
forums [.] virtualbox [.] org/viewtopic [.] php?f=8&t=87547
I can assure you that this is a stock OSX Big Sur virtual machine. I have since installed XCode since I had heard that Xcode includes "libFosl_dynamic.dylib", but they appear to be specific dylibs use to build Apple TV, iOS, or WatchOS applications. Even so, its not possible to to copy the libFosl_dynamic[.]dylib file to /usr/lib, because the directory is protected by SIP. So I tried putting it in /usr/local/lib, and VirtualBox doesn't look for the library there.
SO THEN, I tried running DYLD_INSERT_LIBRARIES=/usr/local/lib/libFosl_dynamic.dylib VirtualboxVM --startvm
and it still segfaulted, refusing to acknowledge that the library was even there. At this point, I'm at a loss and I would appreciate any insight. Is this something I should submit a bug for? Is there more information I could provide?
Thanks in advance for your help.