virtualbox 3.1.4 / opensuse 11.2 bridge interface error

Hi folks, thanks for your time. I’m a bit of a noob so please excuse me if this is a stupid question. BTW I’ve spent a number of hours trawling through the forums and cannot find an answer…

I’ve installed VBox 3.1.4 via YaST -> Software Management

Then I added a TAP interface to my machine via YaST -> Network Settings (this is to connect a VBox virtual machine to virtual Cisco switch via dynagen)

Then I create a VM in VBox and I tell it to bridge to the TAP interface.

When I start the VM, Virtualbox throws an error:


Failed to start the virtual machine ACS.
Failed to open/create the internal network ‘HostInterfaceNetworking-tap0’ (VERR_SUPDRV_COMPONENT_NOT_FOUND).
One of the kernel modules was not successfully loaded. Make sure that no kernel modules from an older version of VirtualBox exist. Then try to recompile and reload the kernel modules by executing ‘/etc/init.d/vboxdrv setup’ as root (VERR_SUPDRV_COMPONENT_NOT_FOUND).

It doesn’t matter what type of interface I bridge to (e.g. eth0), I still see the same error.

I hope this isn’t a stupid time wasting question. Thank you!

The vboxdrv module is out of date wrt the kernel. You need to rebuild it. You’ll need gcc, make, pam-devel and the kernel-sources (matching the running kernel) packages installed to do this, then run that command mentioned. I assume you have installed the PUEL (Sun) version?

There should be a howto on the opensuse Wiki about this.

BTW you don’t need to go through that tap hassle to create a bridge interface in VBox. You just select Bridged interface (or something like that) in the network config for the VM and VBox will do what’s needed behind the scenes.

If you installed VirtualBox OSE, you’ll probably have better luck using the rpm for openSUSE from virtualbox.org.

Hi Ken, I notice you reply to a lot of these queries, thanks alot!

I just followed the steps documented at VirtualBox installation - openSUSE, so I’ve selected virtualbox-ose for installation. In the VBox application it says Sun Microsystems in the help/about screen. I’d be happy to install a different version of that makes sense.

I’ve installed the packages you mentioned. When I run the command '/etc/init.d/vboxdrv setup ’ as root it says:

/etc/init.d/vboxdrv setup

Recompiling VirtualBox kernel modules, NOT. It has been packaged. done

Remove the OSE version first, then install the Sun/Virtualbox.org PUEL
version. You can do it by adding the virtualbox repo as explained in the
download page on virtualbox.org. You might also want to remove the OSE
repo.

The OSE version can’t be readily recompiled, you have to fetch a version
of OSE VBox that matches the kernel and sometimes they are slow to keep
up to date with a kernel update.

You can read an explanation of PUEL vs OSE at the virtualbox.org site.

You need to reinstall most likely you had a kernel update between when you first installed and now

I prefer to install from the sun packages ( use the generic one) because it is usually a little ahead of the repositories. You need the Kernel-source and gcc installed.

You need to reinstall most likely you had a kernel update between when you first installed and now

Thank you! Actually I just installed VBox yesterday and have not updated my kernel since then.

The vboxdrv module is out of date wrt the kernel. You need to rebuild it. You’ll need gcc, make, pam-devel and the kernel-sources (matching the running kernel) packages installed to do this

I needed to add the packages gcc, make, pam-devel, kernel-source and kernel-sym

Remove the OSE version first, then install the Sun/Virtualbox.org PUEL version. You can do it by adding the virtualbox repo as explained in the download page on virtualbox.org. You might also want to remove the OSE
repo.

I’ve done that. It works!! Thank you very much!! :slight_smile:

Is there something I can do to return to favor?

Answer the same question from the next newbie. :wink:

In any case, just enjoy Linux and the community.

You can install the PUEL version from repo as well, as described here: How to upgrade to the latest Sun VirtualBox (CLI method) - openSUSE Forums