SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2010-05-20 11:46:31

francesco
Member
Registered: 2010-05-13
Posts: 12

Virtualbox Installation Problem

Hi,
I'd like to install Vbox with USB support.
So I added the Vbox's repository and

sudo apt-get update
sudo apt-get install virtualbox

It says:

Starting VirtualBox kernel module:
No suitable module for running kernel found ... failed!

/var/log/vbox-install.log is:

Attempting to install using DKMS
info: No menu item ` removing old DKMS module vboxdrv version ' in node `(dir)Top'.

Error! Invalid number of parameters passed.
Usage: remove -m <module> -v <module-version> --all
   or: remove -m <module> -v <module-version> -k <kernel-version>

------------------------------
Deleting module version: 1.6.6
completely from the DKMS tree.
------------------------------
Done.

Creating symlink /var/lib/dkms/vboxdrv/1.6.6/source ->
                 /usr/src/vboxdrv-1.6.6

DKMS: add Completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....
make KERNELRELEASE=2.6.32-3-686 -C /lib/modules/2.6.32-3-686/build M=/var/lib/dkms/vboxdrv/1.6.6/build....(bad exit status: 2)

Error! Bad return status for module build on kernel: 2.6.32-3-686 (i686)
Consult the make.log in the build directory
/var/lib/dkms/vboxdrv/1.6.6/build/ for more information.
0
0
Failed to install using DKMS, attempting to install without
make KBUILD_VERBOSE=1 -C /lib/modules/2.6.32-3-686/build SUBDIRS=/tmp/vbox.1 SRCROOT=/tmp/vbox.1 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-3-686'
make -C /usr/src/linux-headers-2.6.32-3-686 \
    KBUILD_SRC=/usr/src/linux-headers-2.6.32-3-common \
    KBUILD_EXTMOD="/tmp/vbox.1" -f /usr/src/linux-headers-2.6.32-3-common/Makefile \
    modules
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.1/.tmp_versions ; rm -f /tmp/vbox.1/.tmp_versions/*
make -f /usr/src/linux-headers-2.6.32-3-common/scripts/Makefile.build obj=/tmp/vbox.1
   gcc-4.3 -Wp,-MD,/tmp/vbox.1/linux/.SUPDrv-linux.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.3.4/include -Iinclude -Iinclude2 -I/usr/src/linux-headers-2.6.32-3-common/include -I/usr/src/linux-headers-2.6.32-3-common/arch/x86/include -include include/linux/autoconf.h   -I/tmp/vbox.1 -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 -Os -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -Wa,-mtune=generic32 -ffreestanding -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow   -I/lib/modules/2.6.32-3-686/build/include   -I/tmp/vbox.1/   -I/tmp/vbox.1/include   -I/tmp/vbox.1/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_X86 -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.1/linux/.tmp_SUPDrv-linux.o /tmp/vbox.1/linux/SUPDrv-linux.c
/tmp/vbox.1/linux/SUPDrv-linux.c: In function ‘VBoxDrvLinuxCreate’:
/tmp/vbox.1/linux/SUPDrv-linux.c:772: error: ‘struct task_struct’ has no member named ‘euid’
/tmp/vbox.1/linux/SUPDrv-linux.c:773: error: ‘struct task_struct’ has no member named ‘egid’
make[4]: *** [/tmp/vbox.1/linux/SUPDrv-linux.o] Error 1
make[3]: *** [_module_/tmp/vbox.1] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-3-686'
make: *** [vboxdrv] Error 2

I had this problem also when I Installed virtualbox-ose, but it works.

What can I do?

Thanks

Francesco

Last edited by francesco (2010-05-20 22:26:48)

Offline

Be excellent to each other!

#2 2010-05-20 16:09:34

extraspecialbitter
#! Junkie
From: Cochituate, MA
Registered: 2009-01-21
Posts: 375
Website

Re: Virtualbox Installation Problem

It looks like you need to install linux-headers.  Do so as follows:

sudo apt-get update
sudo apt-get install linux-headers-2.6.32-3-686

Please let us know if this helps.

Offline

#3 2010-05-20 22:27:10

francesco
Member
Registered: 2010-05-13
Posts: 12

Re: Virtualbox Installation Problem

It's already installed.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo