Code: Select all
urpmi VirtualBox-2.1.0_41146_mdv2008.0-1.i586.rpm
installing VirtualBox-2.1.0_41146_mdv2008.0-1.i586.rpm
Preparing... ################################################################
1/1: VirtualBox ################################################################
/var/tmp/rpm-tmp.12906: line 26: [: : integer expression expected
Creating group 'vboxusers'. VM users must be member of that group!
No precompiled module for this kernel found -- trying to build one. Messages
emitted during module compilation will be logged to /var/log/vbox-install.log.
Compilation of the kernel module FAILED! VirtualBox will not start until this
problem is fixed. Please consult /var/log/vbox-install.log to find out why the
kernel module does not compile. Most probably the kernel sources are not found.
Install them and execute
/etc/init.d/vboxdrv setup
as root.Code: Select all
[root@localhost Desktop]# cat /var/log/vbox-install.log
** Compiling vboxdrv
make KBUILD_VERBOSE= -C /lib/modules/2.6.27.7-desktop-1mnb/build SUBDIRS=/tmp/vbox.7 SRCROOT=/tmp/vbox.7 modules
ERROR: Kernel configuration is invalid.
include/linux/autoconf.h or include/config/auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it.
WARNING: Symbol version dump /usr/src/linux-2.6.27.7-1mnb/Module.symvers
is missing; modules will have no dependencies and modversions.
CC [M] /tmp/vbox.7/linux/SUPDrv-linux.o
/tmp/vbox.7/linux/SUPDrv-linux.c:1: error: code model ‘kernel’ not supported in the 32 bit mode
/tmp/vbox.7/linux/SUPDrv-linux.c:1: sorry, unimplemented: 64-bit mode not compiled in
make[2]: *** [/tmp/vbox.7/linux/SUPDrv-linux.o] Error 1
make[1]: *** [_module_/tmp/vbox.7] Error 2
make: *** [vboxdrv] Error 2
[root@localhost Desktop]#How do I solve this?
Regards..
Modedit: Other topic post added below.
after appliying the sentence "make oldconfig && make prepare" staying on /usr/src/linux, I got the following:
Code: Select all
[root@localhost linux]# make oldconfig && make prepare
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/docproc
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/kxgettext.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf -o arch/x86/Kconfig
#
# using defaults found in /boot/config-2.6.27.7-desktop-1mnb
#
#
# configuration written to .config
#
scripts/kconfig/conf -s arch/x86/Kconfig
CHK include/linux/version.h
UPD include/linux/version.h
CHK include/linux/utsrelease.h
UPD include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-x86
CC kernel/bounds.s
GEN include/linux/bounds.h
CC arch/x86/kernel/asm-offsets.s
GEN include/asm/asm-offsets.h
CALL scripts/checksyscalls.sh
[root@localhost linux]# then I try again to run the command "/etc/init.d/vboxdrv setup"; the result is the following:
Code: Select all
[root@localhost linux]# /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 linux]# clear
[root@localhost linux]# cat /var/log/vbox-install.log
Makefile:154: *** Error: /usr/src/linux (version 2.6.27.7-1mnbcustom) does not match the current kernel (version 2.6.27.7-desktop-1mnb). Stop.
[root@localhost linux]#Regards
Modedit: Please hit the Post REPLY instead of Post TOPIC. And use code blocks next time.