Kernel module for virtualbox-ose missing

Bug #137599 reported by Wouter Stomp
70
Affects Status Importance Assigned to Milestone
virtualbox-ose (Ubuntu)
Fix Released
Medium
Unassigned
Nominated for Gutsy by okparanoid

Bug Description

Binary package hint: virtualbox
After installing virtualbox, when I try to start a virtual machine, I get the following error:

VirtualBox kernel driver not installed. The vboxdrv kernel module was either not loaded or /dev/vboxdrv was not created for some reason. Re-setup the kernel module by executing '/etc/init.d/vboxdrv setup' as root.
VBox status code: -1908 (VERR_VM_DRIVER_NOT_INSTALLED).

Result Code:
0x80004005
Component:
Console
Interface:
IConsole {1dea5c4b-0753-4193-b909-22330f64ec45}

We have this error because vboxdrv module is not installed.

Revision history for this message
Chuck Short (zulcss) wrote :

Im guessing the kernel module is not installed which version of ubuntu are you using?

Changed in virtualbox:
status: New → Incomplete
Revision history for this message
Wouter Stomp (wouterstomp-deactivatedaccount) wrote :

Gutsy (virtualbox is only in the gutsy repository)

Revision history for this message
Patrice Vetsel (vetsel-patrice) wrote :

virtualbox-source have to be installed too. After that you have to read the README in /usr/share/doc/virtualbox-source to finish compilation/installation of the virtualbox module.

Thank for your report.

Changed in virtualbox:
status: Incomplete → Invalid
Revision history for this message
Wouter Stomp (wouterstomp-deactivatedaccount) wrote :

If virtualbox-source needs to be installed too, the virtualbox package should depend on it rather than recommend it like now. And there should be a better error message for this.

If you install the package from the virtualbox website, compilation/installation of the module is done automatically during installation. Could this also be done for the ubuntu package?

Changed in virtualbox:
status: Invalid → New
description: updated
Changed in virtualbox:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Steve Kowalik (stevenk) wrote : Re: virtualbox should depend on virtualbox-source

virtualbox-source does not have to be installed, since that is the source of the modules, not the modules themselves. I am going to create a separate package that has the modules for every kernel, but it will take me a little while to sort out.

Revision history for this message
viking777 (viking-f2s) wrote :

I can confirm this error with virtualbox. I have both the virtualbox-ose and virtualbox-source-ose packages installed and I still get the same error. The installation instructions in /usr/share/doc make no difference to this situation, I have carried them out but I still get the VM-DRIVER-NOT-INSTALLED message. The command /etc/init.d/vboxdrv does not exist and neither does /dev/vboxdrv.

X86-64 Kubuntu Gutsy Intel dual core laptop.

Revision history for this message
Steve Kowalik (stevenk) wrote :

As I said before, virtualbox-ose-source isn't required to be installed. That package only installs the source code for the Virtualbox modules - not the modules themselves.

I am going to sort out a way to a get the modules shipped for i386 and amd64 kernels, and I will update this bug report with more news when it comes about.

Revision history for this message
Wouter Stomp (wouterstomp-deactivatedaccount) wrote :

Why not provide the unmodified upstream package which compiles the kernel modules itself for the installed kernel?

Revision history for this message
Steve Kowalik (stevenk) wrote :

Why force every user that installs virtualbox to have the kernel headers and a development environment installed? That then also puts files under /lib/modules/<kernel version> that aren't under dpkg's control, which defeats among other things, update-initramfs, since you remove the old kernel, but the virtualbox modules are still there, which means dpkg won't remove the directory, and update-initramfs says "Ah, I need to regenerate the initramfs for every directory under /lib/modules". Which now includes the old kernel, since dpkg didn't delete the directory. This leads to user confusion as well, since update-initramfs will say that it is updating the initramfs for that old kernel which the user has just removed.

Revision history for this message
Hani Nabil Boustani (boustanihani) wrote :

I just wan't to say I can confirm this bug on Kubuntu Gusty :)

Revision history for this message
CheolHan Yoon (mait) wrote :

I'v got the same problem. Hope to just can run virtualbox with 'sudo apt-get install virutalbox'

Revision history for this message
ovizii (ovizii) wrote :

same problem here. I found out a modprobe vboxdrv fixes this and I can start virtualbox, but after a reboot same problem again :-(

Revision history for this message
Mike MacCana (lovekudu) wrote :

Same here. It seems kernel 2.6.22-12-generic does not yet include the missing drivers.

Revision history for this message
dodgy_pro (dodgy-pro-deactivatedaccount) wrote :

We are all looking forward to having Virtualbox work easily enough under Gutsy. I can understand that it takes some time till the fix release.

Revision history for this message
Daniel Gonzalez (gonvaled) wrote : Using the feisty repository from Innotek in gutsy works

Adding the following software source:
http://www.virtualbox.org/debian feisty non-free

and selecting the package virtualbox (1.5.0-24069-1_Ubuntu_feisty) works.

I am using Gutsy, updated to the current release.

I get a complain about non signed package, though. If I ignore it, everything works.

Revision history for this message
Conrad Knauer (atheoi) wrote : Re: virtualbox should depend on virtualbox-source

Daniel Gonzalez: The innotek GmbH archive signing key is 927CCC73. Run the following command from Terminal to add it:

gpg --keyserver subkeys.pgp.net --recv 927CCC73 && gpg --export --armor 927CCC73 | sudo apt-key add -

enter your password when prompted.

Revision history for this message
Zachary Waldowski (zwaldowski) wrote :

So, what needs to be done is either have the vboxdrv compiled into the kernel, or have a "virtualbox-ose-modules" package, right?

Revision history for this message
Moritz Reiter (schallstrom) wrote :

@Daniel Gonzales

When you install VirtualBox from the innotek repos, you are not using the Open Source Edition anymore, but the commercial edition which is closed source, free for personal use.

It would be great if the vboxdrv module would be installable through a "virtualbox-ose-modules" package or something like this.

Revision history for this message
finss (finss) wrote :

I confirm the bug for the 2.6.22-14-generic kernel from gutsy. There's only virtualbox-ose-modules-2.6.22-13-generic and virtualbox-ose-modules-2.6.22-13-server on the repositery. So I wait they're comming..

Revision history for this message
Daniel Hahler (blueyed) wrote :

I'm closing this as "Fix released", not that we have virtualbox-ose-modules.

Changed in virtualbox-ose:
status: Confirmed → Fix Released
Revision history for this message
Daniel Hahler (blueyed) wrote :

Sorry, I've meant to say:
I'm closing this as "Fix released", _now_ that we have virtualbox-ose-modules.

Revision history for this message
William F Pearson (wfpearson) wrote : Re: [Bug 137599] Re: Kernel module for virtualbox-ose missing

Thanks, good with me.

On 10/13/07, dAniel hAhler <email address hidden> wrote:
> I'm closing this as "Fix released", not that we have virtualbox-ose-
> modules.
>
> ** Summary changed:
>
> - virtualbox should depend on virtualbox-source
> + Kernel module for virtualbox-ose missing
>
> ** Changed in: virtualbox-ose (Ubuntu)
> Status: Confirmed => Fix Released
>
> --
> Kernel module for virtualbox-ose missing
> https://bugs.launchpad.net/bugs/137599
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>

--
William F Pearson III

Government is not reason, it is not eloquence — it is force! Like
fire, it is a dangerous servant and a fearful master. [George
Washington]

Revision history for this message
Moritz Reiter (schallstrom) wrote :

Fix works for me. Thanks :)

Revision history for this message
kripken (kripkenstein) wrote :

I still experience this bug on Hardy, I get the "VirtualBox kernel driver not installed" error.

Following the error message's suggestion, "Please install the virtualbox-ose-modules package for your kernel, e.g. virtualbox-ose-modules-generic.", I installed that package, but no improvement. I tried a reboot and adding myself to the group vboxusers, still the same error.

Revision history for this message
kripken (kripkenstein) wrote :

Please ignore my previous comment for now, I think I may know what the problem is. Sorry for the bother.

Revision history for this message
Daniel Hahler (blueyed) wrote :

kripkenstein, if it has been fixed by a recent update for you, please confirm it in bug 226753.

Revision history for this message
kripken (kripkenstein) wrote :

Daniel: I forgot before that I was running the kernel from hardy-proposed (-17), and I think that's why virtualbox won't work for me. So my experience is probably not relevant for this bug.

Revision history for this message
Pablo Angulo (pablo-angulo) wrote :

This happened to me in intrepid ibex, both when I boot the current kernel (2.6.27), for which there is no virtualbox-ose-module package, but also when I boot with the 2.6.25-5-generic, for which there is the package named exactly "virtualbox-ose-modules-2.6.26-5-generic".

I'll try to compile with the sources and report later, but I think the package with the matching kernel name should work.

Revision history for this message
Pablo Angulo (pablo-angulo) wrote :

Atuo-compilation with virtualbox-ose-source failed. I attach error log.
The command issued was:

sudo module-assistant auto-install virtualbox-ose

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.