Page 1 of 1

Vbox failed to load

Posted: 7. Mar 2008, 18:58
by theWayner
I just updated F8 and it updated the kernal. I tried to setup Vbox by going into the root and typed /etc/init.d/vboxdrv setup as I have done before but this time it failed install the vbox driver. The install log says:

make KBUILD_VERBOSE=1 -C /lib/modules/2.6.24.3-12.fc8/build SUBDIRS=/tmp/vbox.2 SRCROOT=/tmp/vbox.2 modules
make[1]: Entering directory `/usr/src/kernels/2.6.24.3-12.fc8-x86_64'
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.2/.tmp_versions ; rm -f /tmp/vbox.2/.tmp_versions/*
make -f scripts/Makefile.build obj=/tmp/vbox.2
gcc -Wp,-MD,/tmp/vbox.2/linux/.SUPDrv-linux.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.1.2/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Os -mtune=generic -m64 -mno-red-zone -mcmodel=kernel -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -funit-at-a-time -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -fstack-protector -fomit-frame-pointer -g -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -I/lib/modules/2.6.24.3-12.fc8/build/include -I/tmp/vbox.2/ -I/tmp/vbox.2/include -I/tmp/vbox.2/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_AMD64 -DVBOX_WITHOUT_IDT_PATCHING -DUSE_NEW_OS_INTERFACE_FOR_MM -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(SUPDrv_linux)" -D"KBUILD_MODNAME=KBUILD_STR(vboxdrv)" -c -o /tmp/vbox.2/linux/SUPDrv-linux.o /tmp/vbox.2/linux/SUPDrv-linux.c
In file included from /tmp/vbox.2/include/iprt/types.h:72,
from /tmp/vbox.2/include/VBox/types.h:21,
from /tmp/vbox.2/SUPDRV.h:26,
from /tmp/vbox.2/linux/SUPDrv-linux.c:22:
include/linux/types.h:40: error: redefinition of typedef ‘uintptr_t’
/tmp/vbox.2/include/iprt/stdint.h:118: error: previous declaration of ‘uintptr_t’ was here
In file included from include/linux/thread_info.h:33,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:49,
from /tmp/vbox.2/SUPDRV.h:87,
from /tmp/vbox.2/linux/SUPDrv-linux.c:22:
include/linux/bitops.h:6:1: warning: "BIT" redefined
In file included from /tmp/vbox.2/include/VBox/cdefs.h:20,
from /tmp/vbox.2/SUPDRV.h:25,
from /tmp/vbox.2/linux/SUPDrv-linux.c:22:
/tmp/vbox.2/include/iprt/cdefs.h:1042:1: warning: this is the location of the previous definition
make[2]: *** [/tmp/vbox.2/linux/SUPDrv-linux.o] Error 1
make[1]: *** [_module_/tmp/vbox.2] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.24.3-12.fc8-x86_64'
make: *** [vboxdrv] Error 2

This is the msg I get when trying to install the driver:

[wayner@localhost ~]$ su
Password:
[root@localhost wayner]# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module [ OK ]
Recompiling VirtualBox kernel module [FAILED]
(Look at /var/log/vbox-install.log to find out what went wrong)
[root@localhost wayner]#

What must I do to start Vbox and then XP?

Thanks

Posted: 8. Mar 2008, 02:46
by BKJ1
In the same boat as theWayner. Only fix was to go back to previous kernel. VMware breaks as well. 2.6.24.3-12.fc8 kernel has caused many issues. There are a plethera of issues on the Fedora forums.

Posted: 24. May 2008, 20:44
by KenJackson
I found this thread that gave a solution.

I edited /usr/share/virtualbox/src/include/iptr/stdint.h and commented out line 118. The other thread said he commented out line 33, but both my and your error listings said line 118.

It worked.