VirtualBox on SUSE 11.1
Posted: 4. Aug 2009, 09:15
I am sorry if this issue has been answered already, but I am a noob and need help.
I installed the binary from virtualbox.org for SUSE 11.1 and added my account to vboxusers.
VirtualBox Version 3.0.2 r49928
Kernel from uname : Linux linux-k2d1 2.6.27.25-0.1-default #1 SMP 2009-07-01 15:37:09 +0200 x86_64 x86_64 x86_64 GNU/Linux
I can run vbox and create a new VM, but when I try to run the VM I get
and then
I then followed the steps in CLI as root and got this
hazelrk@linux-k2d1:~> su
Password:
linux-k2d1:/home/hazelrk # /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module done
Recompiling VirtualBox kernel module failed
(Look at /var/log/vbox-install.log to find out what went wrong)
linux-k2d1:/home/hazelrk # cat /var/log/vbox-install.log
make: Warning: File `Makefile' has modification time 6e+05 s in the future
make KBUILD_VERBOSE=1 -C /lib/modules/2.6.27.25-0.1-default/build SUBDIRS=/tmp/vbox.10 SRCROOT=/tmp/vbox.10 modules
make[1]: Warning: File `Makefile' has modification time 4.4e+04 s in the future
make -C ../../../linux-2.6.27.25-0.1 O=/usr/src/linux-2.6.27.25-0.1-obj/x86_64/default/. modules
make[2]: Warning: File `Makefile' has modification time 4.4e+04 s in the future
make -C /usr/src/linux-2.6.27.25-0.1-obj/x86_64/default \
KBUILD_SRC=/usr/src/linux-2.6.27.25-0.1 \
KBUILD_EXTMOD="/tmp/vbox.10" -f /usr/src/linux-2.6.27.25-0.1/Makefile \
modules
make[3]: gcc: Command not found
make[3]: Warning: File `/usr/src/linux-2.6.27.25-0.1/arch/x86/Makefile' has modification time 4.4e+04 s in the future
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo; \
/bin/false)
mkdir -p /tmp/vbox.10/.tmp_versions ; rm -f /tmp/vbox.10/.tmp_versions/*
make -f /usr/src/linux-2.6.27.25-0.1/scripts/Makefile.build obj=/tmp/vbox.10
make[4]: Warning: File `/usr/src/linux-2.6.27.25-0.1/scripts/Makefile.lib' has modification time 4.4e+04 s in the future
gcc -Wp,-MD,/tmp/vbox.10/linux/.SUPDrv-linux.o.d -nostdinc -isystem -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.27.25-0.1/include -I/usr/src/linux-2.6.27.25-0.1/arch/x86/include -include include/linux/autoconf.h -I/tmp/vbox.10 -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Os -m64 -mno-red-zone -mcmodel=kernel -maccumulate-outgoing-args -pipe -Wno-sign-compare -I/usr/src/linux-2.6.27.25-0.1/include/asm-x86/mach-default -Iinclude/asm-x86/mach-default -fomit-frame-pointer -fasynchronous-unwind-tables -g -I/lib/modules/2.6.27.25-0.1-default/build/include -I/tmp/vbox.10/ -I/tmp/vbox.10/include -I/tmp/vbox.10/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)" -D"DEBUG_HASH=44" -D"DEBUG_HASH2=16" -c -o /tmp/vbox.10/linux/.tmp_SUPDrv-linux.o /tmp/vbox.10/linux/SUPDrv-linux.c
/bin/sh: gcc: command not found
make[4]: *** [/tmp/vbox.10/linux/SUPDrv-linux.o] Error 127
make[3]: *** [_module_/tmp/vbox.10] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make: *** [vboxdrv] Error 2
linux-k2d1:/home/hazelrk #
I am stuck and don't know how to interpret the log or what to do next.
Thanks for your patience.
I installed the binary from virtualbox.org for SUSE 11.1 and added my account to vboxusers.
VirtualBox Version 3.0.2 r49928
Kernel from uname : Linux linux-k2d1 2.6.27.25-0.1-default #1 SMP 2009-07-01 15:37:09 +0200 x86_64 x86_64 x86_64 GNU/Linux
I can run vbox and create a new VM, but when I try to run the VM I get
and then
I then followed the steps in CLI as root and got this
hazelrk@linux-k2d1:~> su
Password:
linux-k2d1:/home/hazelrk # /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module done
Recompiling VirtualBox kernel module failed
(Look at /var/log/vbox-install.log to find out what went wrong)
linux-k2d1:/home/hazelrk # cat /var/log/vbox-install.log
make: Warning: File `Makefile' has modification time 6e+05 s in the future
make KBUILD_VERBOSE=1 -C /lib/modules/2.6.27.25-0.1-default/build SUBDIRS=/tmp/vbox.10 SRCROOT=/tmp/vbox.10 modules
make[1]: Warning: File `Makefile' has modification time 4.4e+04 s in the future
make -C ../../../linux-2.6.27.25-0.1 O=/usr/src/linux-2.6.27.25-0.1-obj/x86_64/default/. modules
make[2]: Warning: File `Makefile' has modification time 4.4e+04 s in the future
make -C /usr/src/linux-2.6.27.25-0.1-obj/x86_64/default \
KBUILD_SRC=/usr/src/linux-2.6.27.25-0.1 \
KBUILD_EXTMOD="/tmp/vbox.10" -f /usr/src/linux-2.6.27.25-0.1/Makefile \
modules
make[3]: gcc: Command not found
make[3]: Warning: File `/usr/src/linux-2.6.27.25-0.1/arch/x86/Makefile' has modification time 4.4e+04 s in the future
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo; \
/bin/false)
mkdir -p /tmp/vbox.10/.tmp_versions ; rm -f /tmp/vbox.10/.tmp_versions/*
make -f /usr/src/linux-2.6.27.25-0.1/scripts/Makefile.build obj=/tmp/vbox.10
make[4]: Warning: File `/usr/src/linux-2.6.27.25-0.1/scripts/Makefile.lib' has modification time 4.4e+04 s in the future
gcc -Wp,-MD,/tmp/vbox.10/linux/.SUPDrv-linux.o.d -nostdinc -isystem -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.27.25-0.1/include -I/usr/src/linux-2.6.27.25-0.1/arch/x86/include -include include/linux/autoconf.h -I/tmp/vbox.10 -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Os -m64 -mno-red-zone -mcmodel=kernel -maccumulate-outgoing-args -pipe -Wno-sign-compare -I/usr/src/linux-2.6.27.25-0.1/include/asm-x86/mach-default -Iinclude/asm-x86/mach-default -fomit-frame-pointer -fasynchronous-unwind-tables -g -I/lib/modules/2.6.27.25-0.1-default/build/include -I/tmp/vbox.10/ -I/tmp/vbox.10/include -I/tmp/vbox.10/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)" -D"DEBUG_HASH=44" -D"DEBUG_HASH2=16" -c -o /tmp/vbox.10/linux/.tmp_SUPDrv-linux.o /tmp/vbox.10/linux/SUPDrv-linux.c
/bin/sh: gcc: command not found
make[4]: *** [/tmp/vbox.10/linux/SUPDrv-linux.o] Error 127
make[3]: *** [_module_/tmp/vbox.10] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make: *** [vboxdrv] Error 2
linux-k2d1:/home/hazelrk #
I am stuck and don't know how to interpret the log or what to do next.
Thanks for your patience.