Page 1 of 1

ERROR: Failed to load R0 module VMMR0.r0: SUP_IOCTL_LDR_OPEN on self-built VBox

Posted: 3. May 2019, 23:33
by DWPoon
As I mentioned in a previous post, I eventually succeeded in building VirtualBox from Subversion r78203, and was able to load the kernel extensions that I built.

However, when I try to start a VM, it crashes:

Code: Select all

$ VBOX_LOG='*' VBOX_LOG_FLAGS= VBOX_LOG_DEST='nofile stderr' out/darwin.amd64/debug/dist/VirtualBox.app/Contents/MacOS/VBoxManage startvm MY-VM
Log created: 2019-05-03T19:50:43.569778000Z
Executable: /Users/USER/devel/vbox/out/darwin.amd64/debug/dist/VirtualBox.app/Contents/MacOS/VBoxManage
Type Manifest File: /Users/USER/Library/VirtualBox/xpti.dat
IPC socket path: /tmp/.vbox-USER-ipc/ipcd
RTThreadCreate: Created thread 00007fc310001000 (000070000e84b000) nspr-1
rtThreadMain: Starting: pThread=00007fc310001000 NativeThread=000070000e84b000 Name=nspr-1 pfnThread=000000010bb6fd50 pvUser=00007fc30f6000d0
RTThreadCreate: Created thread 00007fc310001a00 (000070000e8ce000) nspr-2
rtThreadMain: Starting: pThread=00007fc310001a00 NativeThread=000070000e8ce000 Name=nspr-2 pfnThread=000000010bb6fd50 pvUser=00007fc30f6017e0
nsNativeComponentLoader: autoregistering begins.
nsNativeComponentLoader: autoregistering succeeded
nNCL: registering deferred (0)
RTThreadCreate: Created thread 00007fc30f83a400 (000070000e951000) VBoxSVCWatcher
rtThreadMain: Starting: pThread=00007fc30f83a400 NativeThread=000070000e951000 Name=VBoxSVCWatcher pfnThread=000000010df92c30 pvUser=00007fc30f603c30
Waiting for VM "MY-VM" to power on...
VBoxManage: error: Failed to load R0 module /Users/USER/devel/vbox/out/darwin.amd64/debug/dist/VirtualBox.app/Contents/MacOS/VMMR0.r0: SUP_IOCTL_LDR_OPEN failed (VERR_GENERAL_FAILURE).
VBoxManage: error: Failed to load VMMR0.r0 (VERR_GENERAL_FAILURE)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole
ERROR: Failed to load R0 module /Users/USER/devel/vbox/out/darwin.amd64/debug/dist/VirtualBox.app/Contents/MacOS/VMMR0.r0: SUP_IOCTL_LDR_OPEN failed (VERR_GENERAL_FAILURE).
Failed to load VMMR0.r0 (VERR_GENERAL_FAILURE)
Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole
ERROR [COM]: aRC=NS_ERROR_UNEXPECTED (0x8000ffff) aIID={c0447716-ff5a-4795-b57a-ecd5fffa18a4} aComponent={SessionWrap} aText={The session is not locked (session state: Unlocked)}, preserve=false aResultDetail=0
rtThreadMain: Terminating: rc=0 pThread=00007fc30f83a400 NativeThread=000070000e951000 Name=VBoxSVCWatcher pfnThread=000000010df92c30 pvUser=00007fc30f603c30
ipcDConnectService Stats
 => number of worker threads: 1
rtThreadMain: Terminating: rc=0 pThread=00007fc310001a00 NativeThread=000070000e8ce000 Name=nspr-2 pfnThread=000000010bb6fd50 pvUser=00007fc30f6017e0
rtThreadMain: Terminating: rc=0 pThread=00007fc310001000 NativeThread=000070000e84b000 Name=nspr-1 pfnThread=000000010bb6fd50 pvUser=00007fc30f6000d0
Any suggestions for how to go about troubleshooting this?

Re: ERROR: Failed to load R0 module VMMR0.r0: SUP_IOCTL_LDR_OPEN on self-built VBox

Posted: 5. May 2019, 10:01
by socratis
I'm afraid that most probably you'll have to wait at least until Monday morning CET to maybe get an answer on this. Or you could try the [url=irc://irc.freenode.net/vbox-dev]vbox-dev channel[/url] on IRC.

I know I can't answer that, that's a given... :?


PS. I moved your thread from "OSX Hosts" to the "OSE" area.