Machine won't start - VERR_NO_EXEC_MEMORY

Discussions related to using VirtualBox on Linux hosts.

Machine won't start - VERR_NO_EXEC_MEMORY

Postby svaens » 9. Jan 2014, 11:57

Hi all,

Firstly, my data:

Virtualbox version: 4.3.6 r91406 32bit
Host: linux kernel: 3.11.6-031106-generic 32 bit
(linux mint 16)
Note: Yes, i'm using a newer kernel now, but this was only as an effort to work around this problem.
I also have the same problem under the original 3.11.0 kernel.
Guest: WinXP 32 bit
Guest additions installed: YES
Memory assigned to Guest: 1262MB
memory available:
sean@svmint ~ $ free
total used free shared buffers cached
Mem: 16432680 2151820 14280860 0 24964 356432
-/+ buffers/cache: 1770424 14662256
Swap: 9764644 0 9764644
sean@svmint ~ $
failure log: Please see attachment

Not sure what I did to break it, ... I know I reinstalled the kernel at some point, and since then i've tried to fix it by upgrading the kernel, but my virtual box is broken.
None of the VMs will start.
I get the error:

Title: VirtualBox - Error
Msg: Failed to open a session for the virtual machine WinXP1
Failed to load VMMR0.r0 (VERR_NO_EXEC_MEMORY).
Details:

Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
Console
Interface:
IConsole {8ab7c520-2442-4b66-8d74-4ff1e195d2b6}

I've tried several things, re-installing virtual box, upgrading, downgrading, nothing has helped me.

My current version is the latest as of now, 4.3.6 r91406

Help!!

thanks.

sean
Attachments
WinXP1-2014-01-09-10-53-29.log
(1.51 KiB) Downloaded 29 times
Last edited by svaens on 10. Jan 2014, 11:56, edited 3 times in total.
svaens
 
Posts: 3
Joined: 22. Apr 2009, 13:09
Primary OS: Ubuntu 8.04
VBox Version: OSE other
Guest OSses: windows xp

Re: Machine won't start - VERR_NO_EXEC_MEMORY

Postby socratis » 9. Jan 2014, 12:07

Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
socratis
Site Moderator
 
Posts: 27690
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: Machine won't start - VERR_NO_EXEC_MEMORY

Postby svaens » 10. Jan 2014, 11:54

Sorry that you had to remind me;
Please find all ( I think ) appropriate information in the updated post above.
svaens
 
Posts: 3
Joined: 22. Apr 2009, 13:09
Primary OS: Ubuntu 8.04
VBox Version: OSE other
Guest OSses: windows xp

Re: Machine won't start - VERR_NO_EXEC_MEMORY

Postby amanual » 18. Aug 2014, 16:02

Hi. I've been getting this exact error with kernel 3.17-rc1 and virtualbox 4.3.14
It worked ok with 3.16 kernels, but due to some kernel changes in 3.17 this error happened (also it wouldn't compile the modules anymore).

The fix for me is (included attachment since I cannot post urls it says, at line 56) for this VERR_NO_EXEC_MEMORY.
And the NET_NAME_UNKNOWN fix is for making it compile.
Both are for 3.17 kernel only. At least the latter fix will work only on 3.17.
Tested to work ok.

Hope it helps someone else stumbling upon this like I did via web search.
Attachments
patch.txt
fix for 3.17-rc1 kernel virtualbox 4.3.14
(3 KiB) Downloaded 1320 times
VBox.log
VERR_NO_EXEC_MEMORY error when attempting to start a VM
(3.76 KiB) Downloaded 152 times
amanual
 
Posts: 2
Joined: 18. Aug 2014, 15:41
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Manjaro Linux

Re: Machine won't start - VERR_NO_EXEC_MEMORY

Postby ckujau » 21. Aug 2014, 06:33

Thank you, this helped indeed!

Attached is the version for virtualbox-dkms (comes with Debian, probably Ubuntu too) that I used to get VirtualBox running on 3.17-rc1 again. In short, for Debian/testing:

Code: Select all   Expand viewCollapse view
# cd /usr/src/virtualbox-4.3.14
# patch -p0 < ~/virtualbox-alloc_netdev.diff
# dpkg-reconfigure virtualbox-dkms
Attachments
virtualbox-alloc_netdev.diff.txt
virtualbox-dkms patch for 3.17-rc1
(2.63 KiB) Downloaded 1067 times
ckujau
 
Posts: 7
Joined: 3. Oct 2013, 06:34
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, BSD, Solaris, Windows

Re: Machine won't start - VERR_NO_EXEC_MEMORY

Postby amanual » 17. Sep 2014, 19:44

making a note that the above patch is no longer necessary in 4.3.16 because they applied the proper ifdefs for < 3.17 kernels aka fixed it :) (thanks!)
amanual
 
Posts: 2
Joined: 18. Aug 2014, 15:41
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Manjaro Linux

Re: Machine won't start - VERR_NO_EXEC_MEMORY

Postby idontwantanickname » 31. Oct 2015, 10:05

Thanks to both of you for sharing this. I'm using Ubuntu Trusty with the linux-image-generic-lts-vivid package, which is currently 3.19.0-31. Using the patch you provided on VirtualBox 4.3.10, the DKMS module built correctly and works. I was going to have to use an older kernel to work around this, but you saved me! :)
idontwantanickname
 
Posts: 1
Joined: 31. Oct 2015, 10:03


Return to VirtualBox on Linux Hosts

Who is online

Users browsing this forum: No registered users and 12 guests