Page 1 of 2

virtualbox for openSUSE 11.2

Posted: 12. Nov 2009, 10:17
by rgloor
Hi everybody

I just installed openSUSE 11.2 x86_64 (GM).
Now I couldn't find the virtualbox version for openSUSE 11.2.

When will the virtualbox for openSUSE 11.2 x86_64 be available?
What is recommended to be used with openSUSE 11.2 before this release is available?

Thanks in advance for your advice.

Greetings from Switzerland,
Rolf

Re: virtualbox for openSUSE 11.2

Posted: 12. Nov 2009, 12:51
by s1oan
I'll also have to postpone the installation of openSUSE 11.2 till there is a VirtualBox rpm for it. :(

Please, create a rpm for the new version of openSUSE.

Thanks!!!

Re: virtualbox for openSUSE 11.2

Posted: 12. Nov 2009, 14:34
by Martin
Did you try the rpm for 11.1? If yes, did you get any errors?

Re: virtualbox for openSUSE 11.2

Posted: 12. Nov 2009, 19:43
by stefan.becker
The Version for 11.1 works properly on my 2 machines.

Re: virtualbox for openSUSE 11.2

Posted: 13. Nov 2009, 00:25
by etam
But anyway version for 11.2 would be better.
I'm waiting patiently.

Re: virtualbox for openSUSE 11.2

Posted: 13. Nov 2009, 22:13
by birdra
I'm not able to use VBox on 11.2 either. Getting kernel driver issues. Can not use /etc/init.d/vboxdrv setup to recompile driver.

/var/log/vbox-install.log shows the following:
Makefile:150: Warning: using /usr/src/linux as the source directory of your Linux kernel. If this is not correct, specify KERN_DIR=<directory> and run Make again.
make KBUILD_VERBOSE=1 -C /usr/src/linux 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)

ERROR: Kernel configuration is invalid.
include/linux/autoconf.h or include/config/auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it.

mkdir -p /tmp/vbox.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/*

WARNING: Symbol version dump /usr/src/linux-2.6.31.5-0.1/Module.symvers
is missing; modules will have no dependencies and modversions.

make -f scripts/Makefile.build obj=/tmp/vbox.0
/tmp/vbox.0/Makefile:150: Warning: using /usr/src/linux as the source directory of your Linux kernel. If this is not correct, specify KERN_DIR=<directory> and run Make again.
gcc -Wp,-MD,/tmp/vbox.0/linux/.SUPDrv-linux.o.d -nostdinc -isystem /usr/lib/gcc/i586-suse-linux/4.4/include -Iinclude -I/usr/src/linux-2.6.31.5-0.1/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 -O2 -m64 -mno-red-zone -mcmodel=kernel -maccumulate-outgoing-args -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fomit-frame-pointer -I/usr/src/linux/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_X86 -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:1: error: code model 'kernel' not supported in the 32 bit mode
/tmp/vbox.0/linux/SUPDrv-linux.c:1: sorry, unimplemented: 64-bit mode not compiled in
make[2]: *** [/tmp/vbox.0/linux/SUPDrv-linux.o] Error 1
make[1]: *** [_module_/tmp/vbox.0] Error 2
make: *** [vboxdrv] Error 2

Re: virtualbox for openSUSE 11.2

Posted: 14. Nov 2009, 16:39
by uweb
Hello,

did you install kernel-syms? I had the same problem and after installing kernel-syms, VB runs fine under OpenSuse 11.2

Regards Uwe

Re: virtualbox for openSUSE 11.2

Posted: 14. Nov 2009, 17:00
by sciack
Hi,
I have the same error, I solve it downloading kernel-default-devel and all works fine
$>zypper in kernel-default-devel.

Bye,
Mirko

Re: virtualbox for openSUSE 11.2

Posted: 20. Nov 2009, 19:40
by bonkoski
I went through it.
found the problem.
need to do:
install KERNEL SOURCE,
enter in /usr/src/linux/ then
MAKE MENUCONFIG (AS ROOT)
and after:
MAKE....
It will take a YEAR, BUT will resolve.
after....
/etc/init.d/vboxdvr setup OK....
excuse my bad English, I'm Brazilian.
I have helped!

Re: virtualbox for openSUSE 11.2

Posted: 20. Nov 2009, 21:57
by Sasquatch
There are RPM packages of the 3.1.0 beta, which can be found in the Beta forum (here is the download page: http://download.virtualbox.org/virtualbox/3.1.0_BETA2/).

Re: virtualbox for openSUSE 11.2

Posted: 12. Dec 2009, 22:56
by mhath
Thank you bonkoski.
It has really taken YEAR, but it really works.

Re: virtualbox for openSUSE 11.2

Posted: 15. Feb 2010, 10:36
by snusmumrik
:(
I am running into the same problems as birdra, with vboxdrv not being created, and get exactly the same messages.

I do not feel like recompiling the kernel (the bonkoski solution) and wonder if there is a shorter way of making the PUEL version work on OpenSUSE 11.2.
I installed all the packages mentioned here (kernel symbols, devel and all), but still the autoconf.h file or the include/config directory do not exist.

Anyone any idea of what packages I need to install in order to get past this point without recompiling the kernel ? Or is there maybe a different 11.2 kernel available that will work straight out of the box ?

Re: virtualbox for openSUSE 11.2

Posted: 15. Feb 2010, 14:29
by hank_se
Try this to get all dependencies:

Code: Select all

zypper in  -t pattern devel_kernel
Then try to install.

Re: virtualbox for openSUSE 11.2

Posted: 15. Feb 2010, 23:31
by BobTheBull
I just installed 3.1.4 on my 11.2X64 install with no problems. I just clicked on the link to the rpm and selected install package. Have been running VBox on 11.2 for several months now. There is a link on the VBox download section for suse 11.2,11.2.

If you are having compiling problems you have dependency issues. You have to install make and gc in 11.2, and there are some others, kernelsysms and something else. Look around the forum and you will find the list. Or search for every post on my username and you will find it in one of them. Sorry, but I don't remember it now.

Get the dependencies fixed and you should be ready to rox with VBox.

Re: virtualbox for openSUSE 11.2

Posted: 16. Feb 2010, 20:36
by snusmumrik
:D
Got it !
First I had a look at the openSUSE site :
http://en.opensuse.org/VirtualBox_installation
and found out that I did not have the xalan-c and xerces-c packages installed.
Once this was OK I reinstalled VirtualBox, but it still failed. As before, part of the message was :
Run 'make oldconfig && make prepare' on kernel src to fix it.
only this time it worked (it did not before).

Another try of "/etc/rc.d/vboxdrv setup' now showed a completely different error message : all my source packages were for kernel 2.6.31.12 while I had a 2.6.31.5 kernel running.
So I used yast to install the 2.6.31.12 kernel, rebooted the PC, ran the '/etc/rc.d/vboxdrv setup' thing again and guess what : It worked !!!

Which means I have virtualbox installed now. Cannot wait to start playing around with it.