Virtual Box with 2.6.32-rc8 .dmz.2 Kernels
reiner
Status: Contributor
Joined: 28 Jul 2009
Posts: 119
Location: Germany
Reply Quote
Just to inform that I found that the driver for Virtual Box (non-ose, V.3.012) does not compile with recently installed Kernel 2.6.32-rc8.dmz.2-liquorix-amd64 #1.

Error in the log is:
:: Code ::
make KBUILD_VERBOSE=1 -C /lib/modules/2.6.32-rc8.dmz.2-liquorix-amd64/build SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 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.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.3.4/include -Iinclude  -I/usr/src/linux-headers-2.6.32-rc8.dmz.2-liquorix-amd64/arch/x86/include -include include/linux/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 -Os -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 -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-rc8.dmz.2-liquorix-amd64/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/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/.tmp_SUPDrv-linux.o /tmp/vbox.0/linux/SUPDrv-linux.c
In file included from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:109,
                 from /tmp/vbox.0/linux/SUPDrv-linux.c:38:
include/linux/nls.h:66: error: expected ‘;’, ‘,’ or ‘)’ before ‘.’ token
make[2]: *** [/tmp/vbox.0/linux/SUPDrv-linux.o] Fehler 1
make[1]: *** [_module_/tmp/vbox.0] Fehler 2
make: *** [vboxdrv] Fehler 2

The sugested make oldconfig && make prepare seem not to work as some folder/files seem to be missed.

regards

Reiner[/b]
Back to top
damentz
Status: Assistant
Joined: 09 Sep 2008
Posts: 1135
Reply Quote
Mine have been building without failure for quite some time, are you sure you have the headers installed?

Here's some output straight from my terminal.

:: Code ::
root@damentz64:~# uname -a
Linux damentz64 2.6.32-rc8.dmz.3-liquorix-amd64 #1 ZEN SMP PREEMPT Tue Dec 1 23:06:14 CST 2009 x86_64 GNU/Linux
root@damentz64:~# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module:done..
Removing old VirtualBox netadp kernel module:done..
Removing old VirtualBox netflt kernel module:done..
Removing old VirtualBox kernel module:done..
Recompiling VirtualBox kernel module:done..
Starting VirtualBox kernel module:done..
root@damentz64:~# apt-cache policy virtualbox-3.0
virtualbox-3.0:
  Installed: 3.0.12-54655_Debian_lenny
  Candidate: 3.0.12-54655_Debian_lenny
  Version table:
 *** 3.0.12-54655_Debian_lenny 0
        500 http://download.virtualbox.org lenny/non-free Packages
        100 /var/lib/dpkg/status


DKMS builds the modules on every new kernel install so it had to remove mine first - otherwise nothing appears to be wrong.

Are you using the OSE of virtualbox?
Back to top
Vbox
reiner
Status: Contributor
Joined: 28 Jul 2009
Posts: 119
Location: Germany
Reply Quote
hmm, it worked with your last kernel before (2.6.32-rc6.dmz1 I believe).
Then with the upgrade to -dmz2 i didn't. I will into that aggain as there had been problems on my machine at installing this kernel and headers. But as far as I can see/say all looks ok.

I use the non-ose-versio.

regards

Reiner
Back to top
reiner
Status: Contributor
Joined: 28 Jul 2009
Posts: 119
Location: Germany
Reply Quote
Now I am pretty puzzled.

Just tried it again a minute ago and it worked like a charme!
No idea what really could have caused it, exept
for some startup problems my box has since it getting colder here.

Maybe my machine needs a pre-christmas cleanup/-check.

Thanks and regards

Reiner
Back to top
Bulkley
Status: New User - Welcome
Joined: 01 Aug 2010
Posts: 2
Reply Quote
Sorry to resuscitate this thread but I'm having the same problem with 2.6.35-rc6.dmz.2-liquorix-amd64. I also had it with 2.6.34. My error message looks pretty much like the one on the first post. During install, I saw this:
:: Code ::
dkms: running auto installation service for kernel 2.6.35-rc6.dmz.2-liquorix-amd64:
      vboxnetflt (3.1.2)...failed.
      vboxdrv (3.1.2)...failed.
      vboxnetadp (3.1.2)...failed.





I'm running Squeeze.

BTW, other than Vbox, this kernel runs well.
Back to top
damentz
Status: Assistant
Joined: 09 Sep 2008
Posts: 1135
Reply Quote
Can you try again with VirtualBox 3.2?
Back to top
Bulkley
Status: New User - Welcome
Joined: 01 Aug 2010
Posts: 2
Reply Quote
:: damentz wrote ::
Can you try again with VirtualBox 3.2?

Thank you for the suggestion. I dumped the proprietary version I had and reinstalled from the Debian Squeeze libraries. It now works. Thanks again.
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4127
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
Just to add the obvious, before saying a vbox doesn't work, make sure you have the latest vbox version. It's frequent that a new vbox version adds in current kernel support, or fixes other issues, so make sure you have it up to date.

svmi will also install vbox non ose direct from the Sun/Oracle download site.
Back to top
Display posts from previous:   

All times are GMT - 8 Hours