Provided the kernel sources and compiler are already installed (which will be the case if you used the 3.2 PUEL version before), the kernel module will be compiled an installed and the program will be usable right away.
There is a bug however in 4.0: it crashes with a segfault as soon as you try to edit vm properties: virtualbox segfault when try edit VM properties. I confirm the bug on Ubuntu but I haven’t experienced it on any on my openSUSE machines (weird, as others confirmed the bug on openSUSE too). I tried on several machines, under Gnome, KDE and IceWM, all running kernel 220.127.116.11-0.7, 32 and 64 bit, ATI un Nvidia, single and dual screen, PC un Mac hardware … it just hasn’t crashed a single time for me under openSUSE. :\
I was happily running VirtualBox 3.2 on my openSUSE 11.3 installation but have been forced to upgrade my kernel to the 2.6.37 version from the Kernel:Head repo due to a massive bug that was ruining my system for months. Problem is I had to pull in VirtualBox 4.0 from the Kernel:Head Virtualization repo to resolve dependencies (no I didn’t uninstall 3.2 first) and now trying to run a VM prompts to run vbox setup, which produces this error:
Stopping VirtualBox kernel modules done
Uninstalling old VirtualBox DKMS kernel modules/etc/init.d/vboxdrv: line 278: /usr/share/virtualbox/src/vboxhost/do_dkms: No such file or directory
Removing old VirtualBox netadp kernel module done
Removing old VirtualBox netflt kernel module done
Removing old VirtualBox kernel module done
Trying to register the VirtualBox kernel modules using DKMS/etc/init.d/vboxdrv: line 296: /usr/share/virtualbox/src/vboxhost/do_dkms: No such file or directory
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules failed
(Look at /var/log/vbox-install.log to find out what went wrong)
That log file show this:
/etc/init.d/vboxdrv: line 300: /usr/share/virtualbox/src/vboxhost/vboxdrv/build_in_tmp: No such file or directory
There is no /src/ folder in the above path, only /nls/
Any idea how to get around this? I tried uninstalling, rebooting and then reinstalling VirtualBox to no avail.
May have answered my own question, since finding the same query on another forum post: Virtual Box (Sun Version) Install HowTo
where it is suggested to run
zypper in -t pattern devel_basis devel_kernel devel_c_c++
I tried selecting those patterns for install in YaST and it wants to pull in well over 100 packages. There’s simply no way I can accept that. I didn’t need them before, so why should they be necessary now?
That’s right. To use this version, you have to compile the vboxdrv module at installation time and after each kernel update - same as for the proprietary video drivers from ATI and Nvidia. However I don’t think that devel_c_c++ is needed. devel_basis and the kernel headers should be sufficient. So that would be:
zypper in -t pattern devel_basis
zypper in kernel-devel kernel-source kernel-desktop-devel (or kernel-default-devel).
Notice that the first command installs patterns while the other one installs packages.
The segfault issue seem to be fixed in version 4.0.2 r69518. Although I did not encounter this bug previously under openSUSE (4.0.0 r69151), the new version fixed it to day on Ubuntu and Fedora.
Just refresh the virtualbox repo and update to that version.
Downloaded virtual box 4 from website and installed, but it did not install kernel drivers. Had a look at the kernel that am using and is kernel-desktop. How does one go about getting the kernel driver for virtual box?
I successfully installed VirtualBox-4.0 on 4 PCs thus far (all running a 64-bit openSUSE-11.3 with KDE-4.4.4):
64-bit Intel P8400 Core2 duo
w/4GB RAM (64-bit Dell Studio 1537 Laptop), w/ATI Radeon 3450HD graphics [age ~2+ years] running 64-bit openSUSE-11.3 KDE-4.4.4 and latest proprietary ATI Catalyst driver (this is the laptop I use for business trips, and also take on vacations)
64-bit Intel Core i7 920
w/6GB RAM (Asus P6T Deluxe V2 motherboard) w/ PCI-e nVidia GeForce GTX260 graphics [age ~2 years] runing openSUSE-11.3 KDE-4.4.4 and latest nVidia proprietary graphic driver (this is my main desktop PC).
64-bit Intel Core i7-860
w/6GB RAM (Asus P7H55-M, H55 motherboard) w/GeForce G210 graphics [age ~2 months] (my wife’s new PC) running openSUSE-11.3 KDE-4.4.4 and latest nVidia proprietary graphic driver (but my wife mainly boots direct to winXP on this PC).
64-bit HP P6510F w/AMD Athlon II X4 630 cpu
w/4GB RAM, w/ATI Radeon 4200 graphics [age ~3 months] (my mother’s PC) [which is using the open source radeon driver to make my remote updates less risky] running openSUSE-11.3 KDE-4.4.4 with radeon open source graphic driver. My mother’s PC is in Canada and I live in Europe, so I installed this remotely from Europe using vnc to take over her desktop for the install.