When I start any Windows guest system I get an error:
Failed to open a session for the virtual machine Test-XP.
The virtual machine 'Test-XP' has terminated unexpectedly during startup with exit code 1 (0x1).
Result Code: NS_ERROR_FAILURE (0x80004005)
Component: MachineWrap
Interface: IMachine {f30138d4-e5ea-4b3a-8858-a059de4c93fd}
Another window opens and tells me: Kernel driver not installed (rc=-1908)
Please reinstall the kernel module by executing
'/sbin/rcvboxdrv setup'
as root
sudo /sbin/rcvboxdrv setup
gives as result
Bad argument setup
Another instruction is:
sudo /usr/lib/virtualbox/vboxdrv.sh setup
Result:
Stopping VirtualBox kernel modules ...done.
Uninstalling old VirtualBox DKMS kernel modules ...done.
Trying to register the VirtualBox kernel modules using DKMSERROR (dkms apport): kernel package linux-headers-4.4.0-040400-generic is not supported
Error! Bad return status for module build on kernel: 4.4.0-040400-generic (x86_64)
Consult /var/lib/dkms/vboxhost/5.0.14/build/make.log for more information.
...failed!
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules ...failed!
(Look at /var/log/vbox-install.log to find out what went wrong)
The .../make.log tells:
DKMS make.log for vboxhost-5.0.14 for kernel 4.4.0-040400-generic (x86_64)
Mon Feb 1 16:42:06 CET 2016
make: Entering directory `/usr/src/linux-headers-4.4.0-040400-generic'
Makefile:660: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not supported by compiler
LD /var/lib/dkms/vboxhost/5.0.14/build/built-in.o
LD /var/lib/dkms/vboxhost/5.0.14/build/vboxdrv/built-in.o
CC [M] /var/lib/dkms/vboxhost/5.0.14/build/vboxdrv/linux/SUPDrv-linux.o
gcc: error: unrecognized command line option ‘-fstack-protector-strong’
make[2]: *** [/var/lib/dkms/vboxhost/5.0.14/build/vboxdrv/linux/SUPDrv-linux.o] Error 1
make[1]: *** [/var/lib/dkms/vboxhost/5.0.14/build/vboxdrv] Error 2
make: *** [_module_/var/lib/dkms/vboxhost/5.0.14/build] Error 2
make: Leaving directory `/usr/src/linux-headers-4.4.0-040400-generic'
Is there a chance that VirtualBox 5.0.14 supports Ubuntukernel 4.4.0?
ubuntu kernel 4.4.0 not supported in Virtual Box 5.0.14
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: ubuntu kernel 4.4.0 not supported in Virtual Box 5.0.14
I believe this is a gcc error more than a VirtualBox error. Using advanced kernels without updating gcc is usually the issue.
-
chrisi
- Posts: 2
- Joined: 29. Jan 2016, 17:25
- Primary OS: Ubuntu other
- VBox Version: OSE Debian
- Guest OSses: Windows XP, Windows 7
Re: ubuntu kernel 4.4.0 not supported in Virtual Box 5.0.14
How right you are. I updated gcc to version 4.9.3 and hurra the virtualbox clients start with no problem.
Thanks very much.
Thanks very much.