Hello,

I have a problem with VirtualBox modules installation (today installed). I use 
Debian Squeeze with kernel 3.8.3. When I was using 3.7.x there no were such 
problems. See below for details, please.

$ uname -rms
Linux 3.8.3 x86_64

$ cat /proc/cpuinfo 
...
cpu family      : 21
model           : 1
model name      : AMD FX(tm)-6100 Six-Core Processor
stepping        : 2
microcode       : 0x6000629
cpu MHz         : 3300.000
...

Some logs:

# installation log from aptitude
....
Stopping VirtualBox kernel modules:.
Uninstalling old VirtualBox DKMS kernel modules:.
Trying to register the VirtualBox kernel modules using DKMS:
Error! Bad return status for module build on kernel: 3.8.3 (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/vboxhost/4.2.10/build/ for more information.

Failed, trying without DKMS ... failed!
Recompiling VirtualBox kernel modules:
Look at /var/log/vbox-install.log to find out what went wrong ... failed!
...


# cat /var/lib/dkms/vboxhost/4.2.10/build/make.log
DKMS make.log for vboxhost-4.2.10 for kernel 3.8.3 (x86_64)
Mon Mar 18 18:03:18 CET 2013
make: Entering directory `/usr/src/linux-headers-3.8.3'
/usr/src/linux-headers-3.8.3/arch/x86/Makefile:103: CONFIG_X86_X32 enabled but 
no binutils support
  LD      /var/lib/dkms/vboxhost/4.2.10/build/built-in.o
  LD      /var/lib/dkms/vboxhost/4.2.10/build/vboxdrv/built-in.o
  CC [M]  /var/lib/dkms/vboxhost/4.2.10/build/vboxdrv/linux/SUPDrv-linux.o
/var/lib/dkms/vboxhost/4.2.10/build/vboxdrv/linux/SUPDrv-linux.c: In function 
‘vboxdrvLinuxUid’:
/var/lib/dkms/vboxhost/4.2.10/build/vboxdrv/linux/SUPDrv-linux.c:226: error: 
incompatible types when returning type ‘kuid_t’ but ‘RTUID’ was expected
/var/lib/dkms/vboxhost/4.2.10/build/vboxdrv/linux/SUPDrv-linux.c: In function 
‘vboxdrvLinuxGid’:
/var/lib/dkms/vboxhost/4.2.10/build/vboxdrv/linux/SUPDrv-linux.c:235: error: 
incompatible types when returning type ‘kgid_t’ but ‘RTGID’ was expected
/var/lib/dkms/vboxhost/4.2.10/build/vboxdrv/linux/SUPDrv-linux.c: In function 
‘vboxdrvLinuxEuid’:
/var/lib/dkms/vboxhost/4.2.10/build/vboxdrv/linux/SUPDrv-linux.c:244: error: 
incompatible types when returning type ‘kuid_t’ but ‘RTUID’ was expected
make[2]: *** [/var/lib/dkms/vboxhost/4.2.10/build/vboxdrv/linux/SUPDrv-
linux.o] Error 1
make[1]: *** [/var/lib/dkms/vboxhost/4.2.10/build/vboxdrv] Error 2
make: *** [_module_/var/lib/dkms/vboxhost/4.2.10/build] Error 2
make: Leaving directory `/usr/src/linux-headers-3.8.3'


# cat /var/log/vbox-install.log
Uninstalling modules from DKMS
Attempting to install using DKMS

Creating symlink /var/lib/dkms/vboxhost/4.2.10/source ->
                 /usr/src/vboxhost-4.2.10

DKMS: add Completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....
make KERNELRELEASE=3.8.3 -C /lib/modules/3.8.3/build 
M=/var/lib/dkms/vboxhost/4.2.10/build....(bad exit status: 2)
0
0
Failed to install using DKMS, attempting to install without
make KBUILD_VERBOSE=1 SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 
CONFIG_MODULE_SIG= -C /lib/modules/3.8.3/build modules
/usr/src/linux-headers-3.8.3/arch/x86/Makefile:103: CONFIG_X86_X32 enabled but 
no binutils support
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (        
        
\
        echo >&2;                                                       \
        echo >&2 "  ERROR: Kernel configuration is invalid.";           \
        echo >&2 "         include/generated/autoconf.h or 
include/config/auto.conf are missing.";\
        echo >&2 "         Run 'make oldconfig && make prepare' on kernel src 
to fix it.";      \
        echo >&2 ;                                                      \
        /bin/false)
mkdir -p /tmp/vbox.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/*
make -f scripts/Makefile.build obj=/tmp/vbox.0
  gcc -Wp,-MD,/tmp/vbox.0/linux/.SUPDrv-linux.o.d  -nostdinc -isystem 
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/include -I/usr/src/linux-
headers-3.8.3/arch/x86/include -Iarch/x86/include/generated  -Iinclude -
I/usr/src/linux-headers-3.8.3/arch/x86/include/uapi -
Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-3.8.3/include/uapi -
Iinclude/generated/uapi -include /usr/src/linux-
headers-3.8.3/include/linux/kconfig.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 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -
maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -
DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -pipe -Wno-
sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -
mno-3dnow -mno-avx -Wframe-larger-than=2048 -fno-stack-protector -fno-omit-
frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-
pointer-sign -fno-strict-overflow -fconserve-stack -include 
/tmp/vbox.0/include/VBox/SUPDrvMangling.h -I/lib/modules/3.8.3/build/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
/tmp/vbox.0/linux/SUPDrv-linux.c: In function ‘vboxdrvLinuxUid’:
/tmp/vbox.0/linux/SUPDrv-linux.c:226: error: incompatible types when returning 
type ‘kuid_t’ but ‘RTUID’ was expected
/tmp/vbox.0/linux/SUPDrv-linux.c: In function ‘vboxdrvLinuxGid’:
/tmp/vbox.0/linux/SUPDrv-linux.c:235: error: incompatible types when returning 
type ‘kgid_t’ but ‘RTGID’ was expected
/tmp/vbox.0/linux/SUPDrv-linux.c: In function ‘vboxdrvLinuxEuid’:
/tmp/vbox.0/linux/SUPDrv-linux.c:244: error: incompatible types when returning 
type ‘kuid_t’ but ‘RTUID’ was expected
make[2]: *** [/tmp/vbox.0/linux/SUPDrv-linux.o] Error 1
make[1]: *** [_module_/tmp/vbox.0] Error 2
make: *** [vboxdrv] Error 2


I also do:
  "Run 'make oldconfig && make prepare' on kernel src to fix it."
but this also not help and still is the error.

What I do wrong? Thank you in advance.

Andrzej


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
VBox-users-community mailing list
VBox-users-community@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vbox-users-community
_______________________________________________
Unsubscribe:  
mailto:vbox-users-community-requ...@lists.sourceforge.net?subject=unsubscribe

Reply via email to