You are not logged in.
Hey,
I've updated my sysem and I got the "latest" kernel: 2.6.38.2-1. After that I executed the /etc/rc.d/rc.vboxdrv setup script as always when new kernel comes, but this time it didn't worked. I have the same version kernel26-headers as well.
The output:
Stopping VirtualBox kernel modules ...done.
Uninstalling old VirtualBox DKMS kernel modules ...done.
Trying to register the VirtualBox kernel modules using DKMS ...failed!
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules ...failed!
(Look at /var/log/vbox-install.log to find out what went wrong)The contect of the mentioned log file:
make KBUILD_VERBOSE=1 -C /lib/modules/2.6.38-ARCH/build SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 modules
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/.SUPDrv-linux.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.2/include -I/usr/src/linux-2.6.38-ARCH/arch/x86/include -Iinclude -include include/generated/autoconf.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 -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -I/lib/modules/2.6.38-ARCH/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
In file included from /tmp/vbox.0/include/VBox/types.h:30:0,
from /tmp/vbox.0/linux/../SUPDrvInternal.h:35,
from /tmp/vbox.0/linux/SUPDrv-linux.c:33:
/tmp/vbox.0/include/iprt/types.h:97:31: fatal error: linux/autoconf.h: Nincs ilyen fájl vagy könyvtár (No such file or directory)
compilation terminated.
make[2]: *** [/tmp/vbox.0/linux/SUPDrv-linux.o] Error 1
make[1]: *** [_module_/tmp/vbox.0] Error 2
make: *** [vboxdrv] Error 2Any idea what could be the problem?
I don't use packages from testing. Virtualbox from Community... GCC version: gcc 4.5.2-6 I don't know what else could be imponrtant...
I also tried fallback kernel. It didn't workd, too. And I tried to reisntall kernel and kernel-headers, but I have the same problem...
Thanks in advance ![]()
Last edited by pintergreg (2011-04-16 09:25:02)
"If you immediately know the candlelight is fire, the meal was cooked a long time ago." /Oma Desala/
"You never get a second chance to make a first impression." /Gil Grissom/
Offline
Please place your log output between code-tags pintergreg.
ᶘ ᵒᴥᵒᶅ
Offline
Done...
"If you immediately know the candlelight is fire, the meal was cooked a long time ago." /Oma Desala/
"You never get a second chance to make a first impression." /Gil Grissom/
Offline
Check if you have kernel headers installed. (BTW, did you try to resolve the problem in any way following the suggestion brought to you in the log file?)
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
I've had this problem too, and I solved it by rebuilding my kernel having an 'options=(strip!)' line in my PKGBUILD. Also you need to have xen.h in the appropriate location.
It's strange that you don't have that working, since 'strip!' is included in the official kernel26 PKGBUILD...
Offline
I don't know how to edit the PKGBUILD. I saw it only when install from AUR...
By the way, I'd rahter downgraded my kernel back to 2.6.37.5. Now, vbox is working... I can do my job now. ![]()
I don't install kernel, 'till a new version comes... ![]()
Thanks for the relpies.
"If you immediately know the candlelight is fire, the meal was cooked a long time ago." /Oma Desala/
"You never get a second chance to make a first impression." /Gil Grissom/
Offline
Hey,
The contect of the mentioned log file:... /tmp/vbox.0/include/iprt/types.h:97:31: fatal error: linux/autoconf.h: Nincs ilyen fájl vagy könyvtár (No such file or directory) ...
In recent kernels, the location of autoconf.h has changed. Before building vbox modules, create a symlink in your kernel source tree that points from linux/autoconf.h to where it is now.
I'd be more specific, but I'm away from my Arch box right now and can't lookup the exact paths. ![]()
Offline
I was seeing a similar issue, although I was using the Virtualbox Guest Additions script and perhaps an older version of Virtualbox (3.2.8). TheAmigo's suggestion worked, so I thought I would add a few details:
% cd /usr/src/linux-2.6.38-ARCH/include/linux
% ln -s ../generated/autoconf.h .
and then rerun the script.
Last edited by mlitke (2011-04-26 04:09:04)
Offline
% ls -s ../generated/autoconf.h .
ls ? or ln ?
Offline
Whoops, thanks. My first post and I screwed it up
I fixed it in my original post.
Offline
Those who use this should file a bug (if there isn't one already) against /etc/rc.d/vboxdrv to get it fixed for the newer locations.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline