Oracle VM VirtualBox: Ticket #3733: VERR_SUPDRV_INTERFACE_NOT_SUPPORTED with bridged networkinghttps://www.virtualbox.org/ticket/3733
<p>
Installed <a class="wiki" href="https://www.virtualbox.org/wiki/VirtualBox">VirtualBox</a> 2.2 on Ununtu 9.04. When configuering a VM with bridged networking I get the following error:
</p>
<p>
Failed to start the virtual machine Test.
Failed to open/create the internal network 'HostInterfaceNetworking-br0' (VERR_SUPDRV_INTERFACE_NOT_SUPPORTED).
Unknown error creating VM (VERR_SUPDRV_INTERFACE_NOT_SUPPORTED).
</p>
en-usOracle VM VirtualBox/graphics/vbox_logo2_gradient.pnghttps://www.virtualbox.org/ticket/3733
Trac 0.12andyestenTue, 14 Apr 2009 16:40:03 GMTattachment sethttps://www.virtualbox.org/ticket/3733
https://www.virtualbox.org/ticket/3733
<ul>
<li><strong>attachment</strong>
set to <em>VBox.log</em>
</li>
</ul>
TicketfrankTue, 14 Apr 2009 18:07:33 GMThttps://www.virtualbox.org/ticket/3733#comment:1
https://www.virtualbox.org/ticket/3733#comment:1
<p>
Please attach the following:
</p>
<ul><li>the output of <em>dmesg</em>
</li><li>the output of <em>lsmod|grep vbox</em>
</li><li>the file /var/log/vbox-install.log
</li></ul>
Ticketi5513Wed, 15 Apr 2009 09:07:58 GMThttps://www.virtualbox.org/ticket/3733#comment:2
https://www.virtualbox.org/ticket/3733#comment:2
<p>
Idem in debian sid with 2.6.29 and vbox 2.2.0
</p>
<p>
I'm attaching dmesg and lsmod, vbox-install.log is not in debian (any equiv?)
</p>
Ticketi5513Wed, 15 Apr 2009 09:08:30 GMTattachment sethttps://www.virtualbox.org/ticket/3733
https://www.virtualbox.org/ticket/3733
<ul>
<li><strong>attachment</strong>
set to <em>dmesg.txt</em>
</li>
</ul>
<p>
dmesg
</p>
Ticketi5513Wed, 15 Apr 2009 09:13:06 GMThttps://www.virtualbox.org/ticket/3733#comment:3
https://www.virtualbox.org/ticket/3733#comment:3
<p>
lsmod | grep vbox:
vboxnetflt 68360 0
vboxdrv 90776 2 vboxnetflt
</p>
<p>
I can't attach lsmod | grep vbox in this ticket, trac tells me:
</p>
<p>
Oops…
Trac detected an internal error:
</p>
<p>
If you think this really should work and you can reproduce it, you should consider reporting this problem to the Trac team.
</p>
<p>
Go to <a class="ext-link" href="http://trac.edgewall.org/"><span class="icon"> </span>http://trac.edgewall.org/</a> and create a new ticket where you describe the problem, how to reproduce it. Don't forget to include the Python traceback found below.
</p>
<p>
<a class="wiki" href="https://www.virtualbox.org/wiki/TracGuide">TracGuide</a> — The Trac User and Administration Guide
Python Traceback
</p>
<p>
Traceback (most recent call last):
</p>
<blockquote>
<p>
File "/var/lib/python-support/python2.5/trac/web/main.py", line 387, in dispatch_request
</p>
<blockquote>
<p>
dispatcher.dispatch(req)
</p>
</blockquote>
<p>
File "/var/lib/python-support/python2.5/trac/web/main.py", line 237, in dispatch
</p>
<blockquote>
<p>
resp = chosen_handler.process_request(req)
</p>
</blockquote>
<p>
File "/var/lib/python-support/python2.5/trac/attachment.py", line 361, in process_request
</p>
<blockquote>
<p>
self._do_save(req, attachment)
</p>
</blockquote>
<p>
File "/var/lib/python-support/python2.5/trac/attachment.py", line 450, in _do_save
</p>
<blockquote>
<p>
size = upload.file.len
</p>
</blockquote>
</blockquote>
<p>
AttributeError: 'cStringIO.StringO' object has no attribute 'len'
</p>
TicketfrankWed, 15 Apr 2009 09:43:45 GMThttps://www.virtualbox.org/ticket/3733#comment:4
https://www.virtualbox.org/ticket/3733#comment:4
<p>
i5513, you said you are using VBox 2.2.0 but the kernel module which is loaded is 2.1.4_OSE. Please could you ensure that the correct kernel modules are loaded? I assume that you need to uninstall the VBox OSE kernel headers as these headers contain an udev rule which loads the 2.1.4_OSE kernel modules. I assume the same happens for andyesten.
</p>
Ticketi5513Wed, 15 Apr 2009 10:09:17 GMThttps://www.virtualbox.org/ticket/3733#comment:5
https://www.virtualbox.org/ticket/3733#comment:5
<p>
Ok, Sorry for the noise
</p>
<p>
I installed
virtualbox-ose-modules-2.6.29-1-686 from repository and it didn't work, but I had to m-a ai virtualbox-ose and then it works again
</p>
<p>
Thanks you!
</p>
TicketandyestenWed, 15 Apr 2009 10:50:55 GMThttps://www.virtualbox.org/ticket/3733#comment:6
https://www.virtualbox.org/ticket/3733#comment:6
<p>
Nope, checked using the correct kernel module. Reverted to version <a class="wiki" href="https://www.virtualbox.org/wiki/VirtualBox">VirtualBox</a> 2.1.
</p>
<p>
Andy
</p>
TicketfrankWed, 15 Apr 2009 11:16:16 GMThttps://www.virtualbox.org/ticket/3733#comment:7
https://www.virtualbox.org/ticket/3733#comment:7
<p>
Andy, if you submit the information I've asked you in my first reply we could probably help you. Otherwise I have to close this bug, except if other users report the same problem.
</p>
TicketfrankTue, 05 May 2009 12:19:43 GMTstatus changed; resolution sethttps://www.virtualbox.org/ticket/3733#comment:8
https://www.virtualbox.org/ticket/3733#comment:8
<ul>
<li><strong>status</strong>
changed from <em>new</em> to <em>closed</em>
</li>
<li><strong>resolution</strong>
set to <em>worksforme</em>
</li>
</ul>
<p>
Please reopen this bug if you can provide the information I requested.
</p>
TicketktecWed, 27 May 2009 17:36:44 GMTstatus changed; resolution deletedhttps://www.virtualbox.org/ticket/3733#comment:9
https://www.virtualbox.org/ticket/3733#comment:9
<ul>
<li><strong>status</strong>
changed from <em>closed</em> to <em>reopened</em>
</li>
<li><strong>resolution</strong>
<em>worksforme</em> deleted
</li>
</ul>
<p>
I get this problem...
</p>
<p>
keith@keith-laptop:~$ lsmod | grep vbox
vboxnetflt 91016 0
vboxdrv 117544 2 vboxnetflt
</p>
<p>
Will attach the other requested files.
</p>
TicketktecWed, 27 May 2009 17:37:40 GMTattachment sethttps://www.virtualbox.org/ticket/3733
https://www.virtualbox.org/ticket/3733
<ul>
<li><strong>attachment</strong>
set to <em>dmesg.2.txt</em>
</li>
</ul>
TicketktecWed, 27 May 2009 17:39:17 GMTattachment sethttps://www.virtualbox.org/ticket/3733
https://www.virtualbox.org/ticket/3733
<ul>
<li><strong>attachment</strong>
set to <em>vbox-install.log</em>
</li>
</ul>
TicketfrankWed, 27 May 2009 20:22:13 GMThttps://www.virtualbox.org/ticket/3733#comment:10
https://www.virtualbox.org/ticket/3733#comment:10
<p>
ktec, although the installation seems to be correct, an vboxdrv module 2.1.4 is loaded when your computer starts. Which VBox package (exact package name please) did you install? And did you previously install any older version of VBox?
</p>
TicketfrankWed, 27 May 2009 20:29:19 GMThttps://www.virtualbox.org/ticket/3733#comment:11
https://www.virtualbox.org/ticket/3733#comment:11
<p>
Hmm, the 2.1.4 vboxdrv module is OSE. Did you install virtualbox-ose-source and compiled the vboxdrv module yourself? Please do
</p>
<pre class="wiki">sudo su -
find /lib/modules -name vbox\* | xargs rm -i
/etc/init.d/vboxdrv setup
</pre><p>
After you confirmed to remove any vboxdrv.ko and vboxnetflt.ko modules, they should be properly re-created and you should be able to use bridged networking again.
</p>
TicketktecWed, 27 May 2009 20:40:09 GMThttps://www.virtualbox.org/ticket/3733#comment:12
https://www.virtualbox.org/ticket/3733#comment:12
<p>
Great, first command work so i've deleted the module again now, however the second command doesn't because the file doesnt exist. This is exactly what got me into this mess in the first place. Yes i have installed previous version, and ose version. I've tried god know what to remove ABSOLUTELY everything to do with virtual box and do a completely clean install, with that vboxdrv file, but NOTHING works.
</p>
<p>
Any suggestions?
</p>
TicketfrankWed, 27 May 2009 21:02:37 GMThttps://www.virtualbox.org/ticket/3733#comment:13
https://www.virtualbox.org/ticket/3733#comment:13
<p>
I would still like to know which package (exact name please) you installed.
</p>
<p>
If /etc/init.d/vboxdrv does not exist then you probably installed the wrong package.
</p>
TicketktecWed, 27 May 2009 21:22:17 GMThttps://www.virtualbox.org/ticket/3733#comment:14
https://www.virtualbox.org/ticket/3733#comment:14
<p>
I'm afriad you'll have to guide to that answer, i have number of different installation sources, from the .deb package here to apt-get, and the synaptic gui.
</p>
TicketfrankThu, 28 May 2009 06:14:05 GMThttps://www.virtualbox.org/ticket/3733#comment:15
https://www.virtualbox.org/ticket/3733#comment:15
<p>
What is the output of
</p>
<pre class="wiki">dpkg -s virtualbox-2.2
</pre><p>
and what is the output of
</p>
<pre class="wiki">dpkg -s virtualbox-ose
</pre><p>
?
</p>
TicketktecThu, 28 May 2009 10:17:05 GMThttps://www.virtualbox.org/ticket/3733#comment:16
https://www.virtualbox.org/ticket/3733#comment:16
<p>
Have attached the outputs...
Can you let me know which would be the right package to install?
</p>
TicketktecThu, 28 May 2009 10:17:59 GMTattachment sethttps://www.virtualbox.org/ticket/3733
https://www.virtualbox.org/ticket/3733
<ul>
<li><strong>attachment</strong>
set to <em>ktec-vb22.txt</em>
</li>
</ul>
TicketktecThu, 28 May 2009 10:18:16 GMTattachment sethttps://www.virtualbox.org/ticket/3733
https://www.virtualbox.org/ticket/3733
<ul>
<li><strong>attachment</strong>
set to <em>ktec-vbose.txt</em>
</li>
</ul>
TicketktecThu, 28 May 2009 10:43:50 GMThttps://www.virtualbox.org/ticket/3733#comment:17
https://www.virtualbox.org/ticket/3733#comment:17
<p>
Now i can't run ANY of the VM's, they all ask me to run /etc/init.d/vboxdrv setup which i dont have any no 'googling' suggests how to fix. Please reply soon, my work is due yesterday...
</p>
TicketfrankThu, 28 May 2009 11:25:58 GMThttps://www.virtualbox.org/ticket/3733#comment:18
https://www.virtualbox.org/ticket/3733#comment:18
<p>
Please do the following:
</p>
<pre class="wiki">sudo su -
dpkg --purge virtualbox-ose
apt-get install --reinstall virtualbox-2.2
</pre><p>
Then you should be able to start your VMs again. Your problem was that you somehow managed it to install virtualbox-ose together with virtualbox-2.2. Don't mix these two packages.
</p>
TicketktecThu, 28 May 2009 11:37:41 GMThttps://www.virtualbox.org/ticket/3733#comment:19
https://www.virtualbox.org/ticket/3733#comment:19
<p>
Thanks Frank,
</p>
<p>
The reason i ended up like that is because no matter how many times i tried i could not get the packages to install the "/etc/init.d/vboxdrv" script. I tried the ose version as an alternative solution, which obviously didnt help either.
</p>
<p>
Since doing this, i now see errors in my boot log talking about load kvm module failing. Research suggests its compiled into the kernel, is this a result of installing virtualbox kernel driver stuff?
</p>
<p>
Is there a way to totally clean my system of all virtualbox stuff - including to the recompiled kernel and roll back to my system before all this, then perhaps i can start again?
</p>
<p>
Am trying what you've suggested now, so i'll post back when its done...
</p>
TicketktecThu, 28 May 2009 11:55:42 GMThttps://www.virtualbox.org/ticket/3733#comment:20
https://www.virtualbox.org/ticket/3733#comment:20
<p>
Ok, i have followed instructions, and rebooted, and i'm still exactly where i was before. VM's wont load, asking for vboxdrv which isn't there. Something called DRM (or similar) shows something to do with kernel/vboxdrv stuff on boot but i don't know what. Do you know where i can look to find out this information to show you? Or do i need to reboot and write it down by hand?
</p>
<pre class="wiki">keith@keith-laptop:~$ sudo /etc/init.d/vboxdrv
[sudo] password for keith:
sudo: /etc/init.d/vboxdrv: command not found
</pre>
TicketfrankThu, 28 May 2009 12:02:08 GMThttps://www.virtualbox.org/ticket/3733#comment:21
https://www.virtualbox.org/ticket/3733#comment:21
<p>
Your installation is somehow broken. Please repeat (all as root of course)
</p>
<pre class="wiki">apt-get install --reinstall virtualbox-2.2
</pre><p>
and then do
</p>
<pre class="wiki">/bin/ls -l /etc/init.d/vboxdrv
</pre><p>
That script must be there.
</p>
TicketktecThu, 28 May 2009 13:51:28 GMThttps://www.virtualbox.org/ticket/3733#comment:22
https://www.virtualbox.org/ticket/3733#comment:22
<p>
So here is the bash log:
</p>
<pre class="wiki">keith@keith-laptop:/$ sudo apt-get install --reinstall virtualbox-2.2
[sudo] password for keith:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0B/38.7MB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? Y
Preconfiguring packages ...
(Reading database ... 151457 files and directories currently installed.)
Preparing to replace virtualbox-2.2 2.2.2-46594_Ubuntu_intrepid (using .../virtualbox-2.2_2.2.2-46594%5fUbuntu%5fintrepid_i386.deb) ...
Unpacking replacement virtualbox-2.2 ...
Setting up virtualbox-2.2 (2.2.2-46594_Ubuntu_intrepid) ...
addgroup: The group `vboxusers' already exists as a system group. Exiting.
Messages emitted during module compilation will be logged to /var/log/vbox-install.log.
Success!
keith@keith-laptop:/$ /bin/ls -l /etc/init.d/vboxdrv
/bin/ls: cannot access /etc/init.d/vboxdrv: No such file or directory
</pre><p>
I'll attach that vbox-install.log too if it helps.
</p>
<p>
thanks
</p>
TicketktecThu, 28 May 2009 13:52:18 GMTattachment sethttps://www.virtualbox.org/ticket/3733
https://www.virtualbox.org/ticket/3733
<ul>
<li><strong>attachment</strong>
set to <em>vbox-install.2.log</em>
</li>
</ul>
TicketktecThu, 28 May 2009 13:53:32 GMThttps://www.virtualbox.org/ticket/3733#comment:23
https://www.virtualbox.org/ticket/3733#comment:23
<p>
Is it possible the dkms is blocking it or something?
</p>
TicketfrankThu, 28 May 2009 14:15:31 GMThttps://www.virtualbox.org/ticket/3733#comment:24
https://www.virtualbox.org/ticket/3733#comment:24
<p>
I doubt that. Still entirely unclear why /etc/init.d/vboxdrv is not there. That script is definitely included in the package. Does the directory /etc/init.d exist?
</p>
TicketktecThu, 28 May 2009 14:49:37 GMThttps://www.virtualbox.org/ticket/3733#comment:25
https://www.virtualbox.org/ticket/3733#comment:25
<p>
Yep, that directory is definitely there...
</p>
<p>
I'm going to try touching the file /etc/init.d/vboxdrv and then re-install again. Will let you know if that works.
</p>
<p>
Is there a way i get remove all this stuff from my machine (including the recompiled kernel), without re-installing the os?
</p>
TicketktecThu, 28 May 2009 14:51:18 GMThttps://www.virtualbox.org/ticket/3733#comment:26
https://www.virtualbox.org/ticket/3733#comment:26
<p>
Nope, that doesnt make a difference
</p>
TicketktecThu, 28 May 2009 14:55:04 GMThttps://www.virtualbox.org/ticket/3733#comment:27
https://www.virtualbox.org/ticket/3733#comment:27
<p>
ok, so i chmoded that file and tried again, and now i get this message on install:
</p>
<pre class="wiki">Messages emitted during module compilation will be logged to /var/log/vbox-install.log.
Success!
update-rc.d: warning: /etc/init.d/vboxdrv missing LSB information
update-rc.d: see &lt;http://wiki.debian.org/LSBInitScripts&gt;
</pre>
TicketktecThu, 28 May 2009 14:56:25 GMThttps://www.virtualbox.org/ticket/3733#comment:28
https://www.virtualbox.org/ticket/3733#comment:28
<p>
Really i think i need to strip everything to do with vbox off this machine and start again. Unfortunately this is my desktop so i can't possibly consider reinstalling the os to fix it though.
</p>
TicketktecThu, 28 May 2009 15:00:40 GMThttps://www.virtualbox.org/ticket/3733#comment:29
https://www.virtualbox.org/ticket/3733#comment:29
<p>
looking at that, shouldn't i have a load of things in the run levels too, ie /etc/rc0.d/blah?
</p>
TicketfrankThu, 28 May 2009 15:21:10 GMThttps://www.virtualbox.org/ticket/3733#comment:30
https://www.virtualbox.org/ticket/3733#comment:30
<p>
The runlevel scripts in /etc/rcX.d/ are linked into /etc/init.d. You can remove the whole stuff with
</p>
<pre class="wiki">dpkg --purge virtualbox-2.2
find /lib/modules -name vbox\* | xargs rm -i
</pre>
TicketktecThu, 28 May 2009 16:04:05 GMThttps://www.virtualbox.org/ticket/3733#comment:31
https://www.virtualbox.org/ticket/3733#comment:31
<p>
Ok, good news is that i followed your advice here again, rebooted, searched and checked there was no trace, and now when i run the package installer i get the prompt asking about installing the kernel business.
Going for another reboot now, so i'll let you know.
</p>
TicketfrankWed, 09 Feb 2011 10:35:12 GMTstatus changed; resolution sethttps://www.virtualbox.org/ticket/3733#comment:32
https://www.virtualbox.org/ticket/3733#comment:32
<ul>
<li><strong>status</strong>
changed from <em>reopened</em> to <em>closed</em>
</li>
<li><strong>resolution</strong>
set to <em>fixed</em>
</li>
</ul>
<p>
Looks like this is obsolete.
</p>
Ticket