I do not usually need to post questions, because I can usually figure things out. However, I do not consider myself a Linux pro - I hardly ever use the command line etc.
I have been using the Free personal version of VirtualBox for about 3 or 4 years and have had no problems in any version of OpenSuse (at least none that were not easily fixed). I upgraded to OpenSuse 11.4 several weeks ago and cannot get Virtualbox to work. I have tried installing from the opensuse 11.4 package on the VBox site and I have run their generic command line installer and either way I am unable to open my VMs.
When I used their generic installer I got the following errors:
linux-evl8:/home/frank/Downloads/VBox # ./VirtualBox-4.0.8-71778-Linux_amd64.run
Verifying archive integrity… All good.
Uncompressing VirtualBox for Linux installation…
VirtualBox Version 4.0.8 r71778 (2011-05-16T17:05:29Z) installer
Installing VirtualBox to /opt/VirtualBox
insserv: FATAL: service syslog is missed in the runlevels 4 to use service vboxdrv
insserv: exiting now!
/sbin/insserv failed, exit code 1
insserv: FATAL: service vboxdrv has to be enabled to use service vboxballoonctrl-service
insserv: exiting now!
/sbin/insserv failed, exit code 1
insserv: FATAL: service vboxdrv has to be enabled to use service vboxweb-service
insserv: exiting now!
/sbin/insserv failed, exit code 1
Python found: python, installing bindings…
Building the VirtualBox kernel modules
insserv: FATAL: service syslog is missed in the runlevels 4 to use service vboxdrv
insserv: exiting now!
/sbin/insserv failed, exit code 1
Error! Your kernel headers for kernel 2.6.37.1-1.2-desktop cannot be found at
/lib/modules/2.6.37.1-1.2-desktop/build or /lib/modules/2.6.37.1-1.2-desktop/source.
…failed
…failed
VirtualBox has been installed successfully.
I googled: insserv: FATAL: service syslog is missed in the runlevels 4 to use service vboxdrv and found some things, but none of them helped.
The GUI opens fine, but when I try to run a VM I get the following 2 messages:
First
Failed to open a session for the virtual machine Windoze_4.0.
The virtual machine ‘Windoze_4.0’ has terminated unexpectedly during startup with exit code 1.
under details is says:
Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
Machine
Interface:
IMachine {662c175e-a69d-40b8-a77a-1d719d0ab062}
then another message pops up right away:
Kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing
‘/etc/init.d/vboxdrv setup’
as root. Users of Ubuntu, Fedora or Mandriva should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.
When I try to run the driver setup I get:
/etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules done
Uninstalling old VirtualBox DKMS kernel modules done
Trying to register the VirtualBox kernel modules using DKMS
Error! Your kernel headers for kernel 2.6.37.1-1.2-desktop cannot be found at
/lib/modules/2.6.37.1-1.2-desktop/build or /lib/modules/2.6.37.1-1.2-desktop/source.
failed
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules failed
(Look at /var/log/vbox-install.log to find out what went wrong)
The vbox-install.log reads:
Uninstalling modules from DKMS
removing old DKMS module vboxhost version 4.0.8
Deleting module version: 4.0.8
completely from the DKMS tree.
Done.
Attempting to install using DKMS
Creating symlink /var/lib/dkms/vboxhost/4.0.8/source ->
/usr/src/vboxhost-4.0.8
DKMS: add Completed.
You can use the --kernelsourcedir option to tell DKMS where it’s located.
Failed to install using DKMS, attempting to install without
Makefile:172: Warning: using /usr/src/linux as the source directory of your Linux kernel. If this is not correct, specify KERN_DIR=<directory> and run Make again.
make KBUILD_VERBOSE=1 SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 -C /usr/src/linux modules
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (
echo;
echo " ERROR: Kernel configuration is invalid.";
echo " include/generated/autoconf.h or include/config/auto.conf are missing.";
echo " Run ‘make oldconfig && make prepare’ on kernel src to fix it.";
echo;
/bin/false)
ERROR: Kernel configuration is invalid.
include/generated/autoconf.h or include/config/auto.conf are missing.
Run ‘make oldconfig && make prepare’ on kernel src to fix it.
mkdir -p /tmp/vbox.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/*
WARNING: Symbol version dump /usr/src/linux-2.6.37.6-0.5/Module.symvers
is missing; modules will have no dependencies and modversions.
make -f scripts/Makefile.build obj=/tmp/vbox.0
/tmp/vbox.0/Makefile:172: Warning: using /usr/src/linux as the source directory of your Linux kernel. If this is not correct, specify KERN_DIR=<directory> and run Make again.
gcc -Wp,-MD,/tmp/vbox.0/linux/.SUPDrv-linux.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/4.5/include -I/usr/src/linux-2.6.37.6-0.5/arch/x86/include -Iinclude -include include/generated/autoconf.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-stack-protector -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -I/usr/src/linux/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -I/tmp/vbox.0/vboxdrv/ -I/tmp/vbox.0/vboxdrv/include -I/tmp/vbox.0/vboxdrv/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(SUPDrv_linux)" -D"KBUILD_MODNAME=KBUILD_STR(vboxdrv)" -c -o /tmp/vbox.0/linux/SUPDrv-linux.o /tmp/vbox.0/linux/SUPDrv-linux.c
cc1: fatal error: include/generated/autoconf.h: No such file or directory
compilation terminated.
make[2]: *** [/tmp/vbox.0/linux/SUPDrv-linux.o] Error 1
make[1]: *** [module/tmp/vbox.0] Error 2
make: *** [vboxdrv] Error 2
I did a reinstall of OpenSuse for several reasons and it is working great in everyway except I am still having this issue and at this point I am lost as to what to do next. Can any one point me in the right direction?