So I manually applied this patch and it works. As instructions for our readers, I guess we would/could do the following. Copy the following text in kwrite or gedit:
Code:
Index: vboxhost/vboxdrv/r0drv/linux/memobj-r0drv-linux.c
===================================================================
--- vboxhost.orig/vboxdrv/r0drv/linux/memobj-r0drv-linux.c
+++ vboxhost/vboxdrv/r0drv/linux/memobj-r0drv-linux.c
@@ -50,6 +50,10 @@
# define PAGE_READONLY_EXEC PAGE_READONLY
#endif
+#ifndef VM_RESERVED
+#define VM_RESERVED (VM_DONTEXPAND | VM_DONTDUMP)
+#endif
+
/*
* 2.6.29+ kernels don't work with remap_pfn_range() anymore because
* track_pfn_vma_new() is apparently not defined for non-RAM pages.
Save it as the file $HOME/vbox42.patch ($HOME is translated to /home/yourname). Open up a terminal session and execute the following terminal command:
Code:
cd /usr/share/virtualbox/src/
patch -p1 -i $HOME/vbox42.patch
If you happen to use dkms to reinstall the VirtualBox driver, the wrong code is loaded into dkms. You can copy over the file with this command:
Code:
sudo cp /usr/share/virtualbox/src/vboxdrv/r0drv/linux/memobj-r0drv-linux.c /usr/src/vboxhost-4.2.0/vboxdrv/r0drv/linux/memobj-r0drv-linux.c
After making these changes and restarting into kernel 3.7-rc1, I found that VirtualBox 4.2 was again working properly. Thanks very much for your help Larry.
Thank You,
Bookmarks