VirtualBox

Opened 14 years ago

Closed 13 years ago

#7507 closed defect (fixed)

Virtualbox 3.2.8 modules do not compile with Kernel 2.6.36-rc5

Reported by: zdavatz Owned by:
Component: other Version: VirtualBox 3.2.8
Keywords: Linux 2.6.36-rc5 Cc:
Guest type: other Host type: other

Description

I just installed VirtualBox 3.2.8 on my Linux and when doing

/etc/init.d/vboxdrv setup

I get the follwoing error in my

/var/log/vbox-install.log

test -e include/generated/autoconf.h -a -e include/config/auto.conf
( \

echo; \ echo " ERROR: Kernel configuration is invalid."; \ echo " include/generated/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.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/.VBoxNetAdp-linux.o.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.4.3/include -I/usr/src/my2.6/arch/x86/include -Iinclude -include include/generated/autoconf.h -DKERNEL -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=pentium4 -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -fno-stack-protector -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -I/lib/modules/2.6.36-rc5/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -DKERNEL -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING -DRT_ARCH_X86 -DVBOX_WITH_64_BITS_GUESTS -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(VBoxNetAdp_linux)" -D"KBUILD_MODNAME=KBUILD_STR(vboxnetadp)" -c -o /tmp/vbox.0/linux/.tmp_VBoxNetAdp-linux.o /tmp/vbox.0/linux/VBoxNetAdp-linux.c

/tmp/vbox.0/linux/VBoxNetAdp-linux.c:86: Fehler: unbekanntes Feld »ioctl« in Initialisierung angegeben /tmp/vbox.0/linux/VBoxNetAdp-linux.c:86: Warnung: Initialisierung von inkompatiblem Zeigertyp make[2]: * tmp/vbox.0/linux/VBoxNetAdp-linux.o Fehler 1 make[1]: * [_module_/tmp/vbox.0] Fehler 2 make: * [vboxnetadp] Fehler 2

I done

Run 'make oldconfig && make prepare' on kernel src to fix it

as suggested but it did not help.

Attachments (1)

vbox-install.log (111.5 KB ) - added by zdavatz 14 years ago.
vbox-install.log Kernel 2.6.36-rc5

Download all attachments as: .zip

Change History (5)

by zdavatz, 14 years ago

Attachment: vbox-install.log added

vbox-install.log Kernel 2.6.36-rc5

comment:1 by zdavatz, 14 years ago

The files are there:

/usr/src> slocate auto.conf

/usr/src/my2.6/include/config/auto.conf
/usr/src/my2.6/include/config/auto.conf.cmd

/usr/src> slocate autoconf.h

/usr/src/my2.6/include/generated/autoconf.h
/usr/src/my2.6/include/linux/autoconf.h

/usr/src> ls -la

lrwxrwxrwx  1 root root       6 31. Mär 10:59 linux -> my2.6/
drwxr-xr-x 25 root root 1581056 22. Sep 16:06 my2.6
lrwxrwxrwx  1 root root      27 22. Sep 15:35 vboxdrv-3.2.8 -> /opt/VirtualBox/src/vboxdrv
lrwxrwxrwx  1 root root      30 22. Sep 15:35 vboxnetadp-3.2.8 -> /opt/VirtualBox/src/vboxnetadp
lrwxrwxrwx  1 root root      30 22. Sep 15:35 vboxnetflt-3.2.8 -> /opt/VirtualBox/src/vboxnetflt

comment:2 by Frank Mehnert, 14 years ago

What a surprise. Linux 2.6.36 rc1 was released at 2010/08/16, VirtualBox 3.2.8 was released at 2010/08/05. The fix will be available with the next maintenance release.

comment:3 by zdavatz, 14 years ago

Ok, thank you, good to know! Sorry for the noise.

comment:4 by Klaus Espenlaub, 13 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use