Ticket #7507 (closed defect: fixed)

Opened 8 years ago

Last modified 7 years ago

Virtualbox 3.2.8 modules do not compile with Kernel 2.6.36-rc5

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


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


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/ 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.


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

Change History

Changed 8 years ago by zdavatz

vbox-install.log Kernel 2.6.36-rc5

comment:1 Changed 8 years ago by zdavatz

The files are there:

/usr/src> slocate auto.conf


/usr/src> slocate 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 Changed 8 years ago by frank

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 Changed 8 years ago by zdavatz

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

comment:4 Changed 7 years ago by klaus

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use