Re: VirtualBox Broken on R2
Here is the solution =)
Code:
apt-get --no-install-recommends install libqt4-opengl libqt4-opengl-dev dkms
prepare-kernel-sources
cd /usr/src/linux
cp -rf include/generated/* include/linux/
wget http://download.virtualbox.org/virtualbox/4.1.8/virtualbox-4.1_4.1.8-75467~Ubuntu~lucid_amd64.deb
dpkg -i virtualbox-4.1_4.1.8-75467~Ubuntu~lucid_amd64.deb
rm virtualbox-4.1_4.1.8-75467~Ubuntu~lucid_amd64.deb
Cheers!
Re: VirtualBox Broken on R2
It's not so much that the kernel isn't compatible, but there's a broken link in the headers that the guest additions need to compile. I tracked this one down earlier tonight after upgrading to the 3.2.6 kernel broke the additions.
The compiling error alluded to includes / asm (from the makefile error log after trying to create the guest additions kernel modules).
I checked the headers and found a broken symlink for asm in usr/src/linux-headers-3.2.6/include . I created a symlink with "ln -s asm-generic asm" but that didn't work, as the next error demanded an architecture-specific header. So I just kludged an ugly symlink instead with
Code:
cd /usr/src/linux-headers-3.2.6/include
rm asm
ln -s /usr/src/linux-source-3.2.6/arch/x86/include/asm asm
which allowed the modules to compile. This will probably break for the next kernel upgrade if the link isn't fixed for that one. Also make sure you set the architecture directory for your system (mips, amd64, ppc, etc.)
Anyway, it's nice to have full control over the BT5 VM again, clipboard, and shared folders.
hth
Re: VirtualBox Broken on R2
I am running 4.1.8 pre R2 upgrade and did not have any issues. Gnome 64 bit version, I suspect snafu is correct and the upgrade to a newer version should help you out.
\Cheers
Re: VirtualBox Broken on R2
Quote:
Originally Posted by
furt1maggr3d10r
I am running 4.1.8 pre R2 upgrade and did not have any issues. Gnome 64 bit version, I suspect snafu is correct and the upgrade to a newer version should help you out.
\Cheers
I still have this problem, didnt worked the solution. any idea?
Setting up virtualbox-ose-dkms (3.1.6-dfsg-2ubuntu2) ...
Removing old virtualbox-ose-3.1.6 DKMS files...
------------------------------
Deleting module version: 3.1.6
completely from the DKMS tree.
------------------------------
Done.
Loading new virtualbox-ose-3.1.6 DKMS files...
First Installation: checking all kernels...
Building only for 3.2.6
Building for architecture x86_64
Building initial module for 3.2.6
Error! Bad return status for module build on kernel: 3.2.6 (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/virtualbox-ose/3.1.6/build/ for more information.
dpkg: error processing virtualbox-ose-dkms (--configure):
subprocess installed post-installation script returned error exit status 10
Errors were encountered while processing:
virtualbox-ose-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)
Re: VirtualBox Broken on R2
thank you so much! after everything i did wasnt working i was about to post but i ran
Code:
sudo dpkg --configure -a
and it works now! only problem is win7 doesnt like BT5 hardware
"not certified usable mircosoft compatible hardware" or something
XP it is!
but thank you thank you thank you :D
Re: VirtualBox Broken on R2
I follow all instructions, but i receive the same error every time
------------------------------
Deleting module version: 3.1.6
completely from the DKMS tree.
------------------------------
Done.
Loading new virtualbox-ose-3.1.6 DKMS files...
First Installation: checking all kernels...
Building only for 3.2.6
Building for architecture i686
Building initial module for 3.2.6
Error! Bad return status for module build on kernel: 3.2.6 (i686)
Consult the make.log in the build directory
/var/lib/dkms/virtualbox-ose/3.1.6/build/ for more information.
dpkg: error processing virtualbox-ose-dkms (--configure):
subprocess installed post-installation script returned error exit status 10
Errors were encountered while processing:
virtualbox-ose-dkms
Any Ideas??
Re: VirtualBox Broken on R2
Quote:
Originally Posted by
snafu777
Here is the solution =)
Code:
apt-get --no-install-recommends install libqt4-opengl libqt4-opengl-dev dkms
prepare-kernel-sources
cd /usr/src/linux
cp -rf include/generated/* include/linux/
wget http://download.virtualbox.org/virtualbox/4.1.8/virtualbox-4.1_4.1.8-75467~Ubuntu~lucid_amd64.deb
dpkg -i virtualbox-4.1_4.1.8-75467~Ubuntu~lucid_amd64.deb
rm virtualbox-4.1_4.1.8-75467~Ubuntu~lucid_amd64.deb
Cheers!
I followed your instructions, but when I tried to add a existing virtual machine this error apears:
Code:
kdeinit4: Communication error with launcher. Exiting!
klauncher(7709) kdemain: No DBUS session-bus found. Check if you have started the DBUS server.
Thanks!
Re: VirtualBox Broken on R2
still not able to compile DKMS modules using all the above suggestions.
is there a guide to compiling DKMS modules or the kernel for that matter for Backtrack 5R2?
Re: VirtualBox Broken on R2
When trying to install virtualbox, it breaks on building virtualbox-ose-dkms with...
Quote:
Setting up virtualbox-ose-dkms (3.1.6-dfsg-2ubuntu2) ...
Removing old virtualbox-ose-3.1.6 DKMS files...
------------------------------
Deleting module version: 3.1.6
completely from the DKMS tree.
------------------------------
Done.
Loading new virtualbox-ose-3.1.6 DKMS files...
First Installation: checking all kernels...
Building only for 3.2.6
Building for architecture i686
Building initial module for 3.2.6
Error! Bad return status for module build on kernel: 3.2.6 (i686)
Consult the make.log in the build directory
/var/lib/dkms/virtualbox-ose/3.1.6/build/ for more information.
make.log contains the following
Quote:
DKMS make.log for virtualbox-ose-3.1.6 for kernel 3.2.6 (i686)
Sun Apr 8 18:35:06 CEST 2012
make: Entering directory `/usr/src/linux-source-3.2.6'
WARNING: Symbol version dump /usr/src/linux-source-3.2.6/Module.symvers
is missing; modules will have no dependencies and modversions.
LD /var/lib/dkms/virtualbox-ose/3.1.6/build/built-in.o
LD /var/lib/dkms/virtualbox-ose/3.1.6/build/vboxdrv/built-in.o
CC [M] /var/lib/dkms/virtualbox-ose/3.1.6/build/vboxdrv/linux/SUPDrv-linux.o
/var/lib/dkms/virtualbox-ose/3.1.6/build/vboxdrv/linux/SUPDrv-linux.c: In function ‘VBoxDrvLinuxInit’:
/var/lib/dkms/virtualbox-ose/3.1.6/build/vboxdrv/linux/SUPDrv-linux.c:443: error: ‘nmi_watchdog’ undeclared (first use in this function)
/var/lib/dkms/virtualbox-ose/3.1.6/build/vboxdrv/linux/SUPDrv-linux.c:443: error: (Each undeclared identifier is reported only once
/var/lib/dkms/virtualbox-ose/3.1.6/build/vboxdrv/linux/SUPDrv-linux.c:443: error: for each function it appears in.)
/var/lib/dkms/virtualbox-ose/3.1.6/build/vboxdrv/linux/SUPDrv-linux.c:443: error: ‘NMI_IO_APIC’ undeclared (first use in this function)
/var/lib/dkms/virtualbox-ose/3.1.6/build/vboxdrv/linux/SUPDrv-linux.c:457: error: ‘nmi_active’ undeclared (first use in this function)
make[2]: *** [/var/lib/dkms/virtualbox-ose/3.1.6/build/vboxdrv/linux/SUPDrv-linux.o] Error 1
make[1]: *** [/var/lib/dkms/virtualbox-ose/3.1.6/build/vboxdrv] Error 2
make: *** [_module_/var/lib/dkms/virtualbox-ose/3.1.6/build] Error 2
make: Leaving directory `/usr/src/linux-source-3.2.6'
Module.symvers is missing; modules will have no dependencies and modversions.
what does this mean? does this lead to the error messages... How can you get Module.symvers
Quote:
/var/lib/dkms/virtualbox-ose/3.1.6/build/vboxdrv/linux/SUPDrv-linux.c:443: error: ‘nmi_watchdog’ undeclared (first use in this function)
when editing the file, it seems that the following header files need to be included...
Quote:
#ifdef CONFIG_X86_LOCAL_APIC
# include <asm/apic.h>
# include <asm/nmi.h>
#endif
how to get this all working, i tried all the suggestions in this thread...
thanx!