VirtualBox

Ticket #6211 (closed defect: invalid)

Opened 4 years ago

Last modified 4 years ago

vboxnetflt-module on Ubuntu 9.10 doesn't load with modprobe

Reported by: joris.grouwels Owned by:
Priority: major Component: network
Version: VirtualBox 3.1.4 Keywords: vboxnetflt
Cc: joris.grouwels@… Guest type: other
Host type: Linux

Description

Hi,

I'm running VirtualBox on a Ubuntu 9.10-host with dkms and with a WinXP-guest. When I start the VM with NAT, there is no problem. But when I want to use bridged networking, it appears the vboxnetflt-module isn't loaded. Trying to load it manually gives: $sudo modprobe vboxnetflt FATAL: Error inserting vboxnetflt (/lib/modules/2.6.31-19-386/updates/dkms/vboxnetflt.ko): Invalid module format

I've discovered a thread in this forum  http://bbs.archlinux.org/viewtopic.php?pid=702814 with exactly the same problem and a workaround with insmod. It is however rather annoying to have to load the module manually using insmod every time.

Regards,

Joris Grouwels

Attachments

dkmsstatus.txt Download (1.1 KB) - added by joris.grouwels 4 years ago.
dmesg.txt Download (99.7 KB) - added by joris.grouwels 4 years ago.

Change History

Changed 4 years ago by joris.grouwels

Changed 4 years ago by joris.grouwels

comment:1 Changed 4 years ago by joris.grouwels

I forgot to mention that I am using Virtualbox 3.1.4 installed using the ubuntu repository. (recently upgraded from 3.1.2)

comment:2 Changed 4 years ago by frank

Why did you install the VBox guest additions at the host? De-install the guest additions from the host and re-setup the host kernel modules with /etc/init.d/vboxdrv setup. If this still does not work, do depmod -a.

comment:3 Changed 4 years ago by joris.grouwels

Hi Frank,

Thanks for your reply. I installed the guest-additions on the host because I have a dual boot system and sometimes I boot my Linux-partitions from WinXP using VirtualBox. But as I am not doing this very often, I'll try to do what you say and I'll keep you posted. Is there a way to have the guest-additions installed without interference?

regards,

Joris

comment:4 Changed 4 years ago by joris.grouwels

Dear Frank,

Do you know if there is an easy and clean way to uninstall the guest-additions on Ubuntu? (I installed them with the utility on the guest-additions iso-image, so not through apt-get)

Thanks,

Joris

comment:5 Changed 4 years ago by frank

To uninstall the guest additions you need to execute sh /opt/VBoxGuestAdditions-*/uninstall.sh

comment:6 Changed 4 years ago by joris.grouwels

Hi Frank,

Thanks, it compiled fine now. I can't restart right now to see if the modules get loaded, but it'll probably be all right. Thanks for your help!

Joris

comment:7 Changed 4 years ago by hemathor

it's the same here with freshly installed opensuse 11.2 64bit and virtualbox 3.1.4

the insmod-workaround works just fine, but is a bit annoying...

and i don't have the guest additions installed on the host, and i never had!

comment:8 Changed 4 years ago by hemathor

found another workaround:

since there is a dependency from vboxguest, just remove the vboxguest module and run depmod.

should work until the next update of virtualbox...

comment:9 Changed 4 years ago by frank

If there is a vboxguest module on your host, then where does it come from if, like you said, you never installed the guest additions on your host?

comment:10 Changed 4 years ago by hemathor

the following kernel modules are installed by the opensuse virtualbox-ose package (from the official opensuse virtualbox repository):

/lib/modules/2.6.31.12-0.1-desktop/updates/vboxdrv.ko /lib/modules/2.6.31.12-0.1-desktop/updates/vboxguest.ko /lib/modules/2.6.31.12-0.1-desktop/updates/vboxnetadp.ko /lib/modules/2.6.31.12-0.1-desktop/updates/vboxnetflt.ko /lib/modules/2.6.31.12-0.1-desktop/updates/vboxvfs.ko /lib/modules/2.6.31.12-0.1-desktop/updates/vboxvideo.ko

so, there is the vboxguest module...

comment:11 Changed 4 years ago by frank

  • Status changed from new to closed
  • Resolution set to invalid

Never mix VirtualBox/PUEL (the version from our public website) with VirtualBox/OSE!

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use