"VERR_VM_DRIVER_NOT_INSTALLED (rc=-1908) VB2.1.2 Ubuntu

Discussions related to using VirtualBox on Linux hosts.
bikodog
Posts: 7
Joined: 18. Dec 2008, 04:25
Primary OS: Ubuntu 8.10
VBox Version: OSE Debian
Guest OSses: XP

"VERR_VM_DRIVER_NOT_INSTALLED (rc=-1908) VB2.1.2 Ubuntu

Post by bikodog »

I just ran the regular system update in Ubuntu 8.10 which required a restart. I didn't restart at the time because I had a few things running, one of which was VirtualBox 2.1.2 with XP host. No problems were encountered until I restarted the system. Now I am getting the VERR_VM_DRIVER_NOT_INSTALLED (rc=-1908) message. I have attempted to run etc/init.d/vobxdrv setup as indicated but terminal is returning errors. Perhaps this is due to my inexperience.

Can anyone help with this issue?
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

"It's returning errors." Which errors? Segmentation Faults, missing files, script error on line x?

Did you read the error and do what it said?
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
bikodog
Posts: 7
Joined: 18. Dec 2008, 04:25
Primary OS: Ubuntu 8.10
VBox Version: OSE Debian
Guest OSses: XP

Re: "VERR_VM_DRIVER_NOT_INSTALLED (rc=-1908) VB2.1.2 Ub

Post by bikodog »

bikodog wrote:I just ran the regular system update in Ubuntu 8.10 which required a restart. I didn't restart at the time because I had a few things running, one of which was VirtualBox 2.1.2 with XP host. No problems were encountered until I restarted the system. Now I am getting the VERR_VM_DRIVER_NOT_INSTALLED (rc=-1908) message. I have attempted to run etc/init.d/vobxdrv setup as indicated but terminal is returning errors. Perhaps this is due to my inexperience.

Can anyone help with this issue?

Yes. As stated above, the error is "VERR_VM_DRIVER_NOT_INSTALLED (rc=-1908)". running etc/init.d/vboxdrv setup is not working.

Help would be appreciated.
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Post by stefan.becker »

".. etc/init.d/vboxdrv setup ..."


It this a quiz show or are you from the secret service?

Tell us exact input, output, error messages word by word. Doesnt work doesnt help.

My crystal bowl is at inspection. To much questions without infos at last time.
bikodog
Posts: 7
Joined: 18. Dec 2008, 04:25
Primary OS: Ubuntu 8.10
VBox Version: OSE Debian
Guest OSses: XP

Post by bikodog »

stefan.becker wrote:".. etc/init.d/vboxdrv setup ..."


It this a quiz show or are you from the secret service?

Tell us exact input, output, error messages word by word. Doesnt work doesnt help.

My crystal bowl is at inspection. To much questions without infos at last time.
Yeah...OK...thanks for no help at all...(i have listed the errors twice)

To all those who need a REAL solution...I figured it out myself.

If you happen to get the SAME ERROR THAT I HAVE LISTED TWICE ALREADY...."VERR_VM_DRIVER_NOT_INSTALLED".....do the following:

1) uninstall VirtualBox 2.1.2 in synaptic (leave your virtual hard drives, they are unaffected)

2) reinstall VirtualBox 2.1.2 in synaptic.

3) reboot.

4) i had to manually remove and then re-add Sun xmVirtualBox in my right-click Edit Menus to get it back into Applications=>System Tools=> Sun xM VirtualBox

Enjoy.

I hope this is helpful for all of those out there who could do without the smart-ass responses from the so called "experts"
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

If you don't give proper answers to our questions, how do you think we can help you? Stefan already provided the command to fix it. Reinstalling VB essentially does the same, but is a lot more work than just executing one command as root.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Post by stefan.becker »

bikodog wrote:
stefan.becker wrote:".. etc/init.d/vboxdrv setup ..."


It this a quiz show or are you from the secret service?

Tell us exact input, output, error messages word by word. Doesnt work doesnt help.

My crystal bowl is at inspection. To much questions without infos at last time.
Yeah...OK...thanks for no help at all...(i have listed the errors twice)

To all those who need a REAL solution...I figured it out myself.

If you happen to get the SAME ERROR THAT I HAVE LISTED TWICE ALREADY...."VERR_VM_DRIVER_NOT_INSTALLED".....do the following:

1) uninstall VirtualBox 2.1.2 in synaptic (leave your virtual hard drives, they are unaffected)

2) reinstall VirtualBox 2.1.2 in synaptic.

3) reboot.

4) i had to manually remove and then re-add Sun xmVirtualBox in my right-click Edit Menus to get it back into Applications=>System Tools=> Sun xM VirtualBox

Enjoy.

I hope this is helpful for all of those out there who could do without the smart-ass responses from the so called "experts"
You are a really "expert". Thats the Windows Solution: delete and reinstall.

Why do you not post the errors given by the commands? Then we could help. But without these infos help is impossible.

Your only infos is: " ... but terminal is returning errors ... "

Which errors? Try to solve the problem, not to reinstall.
rschaffter
Posts: 11
Joined: 1. Dec 2007, 16:29

Re: "VERR_VM_DRIVER_NOT_INSTALLED (rc=-1908) VB2.1.2 Ub

Post by rschaffter »

bikodog wrote:...I have attempted to run etc/init.d/vobxdrv setup as indicated but terminal is returning errors. Perhaps this is due to my inexperience.
I'm not surprised you got an error if you typed that; it should be '/etc/init.d/vobxdrv setup'; actually since you are running Ubuntu, it should be 'sudo /etc/init.d/vobxdrv setup'

Cheers,

Rod
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: "VERR_VM_DRIVER_NOT_INSTALLED (rc=-1908) VB2.1.2 Ub

Post by Sasquatch »

rschaffter wrote:
bikodog wrote:...I have attempted to run etc/init.d/vobxdrv setup as indicated but terminal is returning errors. Perhaps this is due to my inexperience.
I'm not surprised you got an error if you typed that; it should be '/etc/init.d/vobxdrv setup'; actually since you are running Ubuntu, it should be 'sudo /etc/init.d/vobxdrv setup'

Cheers,

Rod
It's not /etc/init.d/vobxdrv setup with or without sudo. It's /etc/init.d/vboxdrv setup ;).
Last edited by Sasquatch on 4. Feb 2009, 21:14, edited 1 time in total.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
rschaffter
Posts: 11
Joined: 1. Dec 2007, 16:29

Re: "VERR_VM_DRIVER_NOT_INSTALLED (rc=-1908) VB2.1.2 Ub

Post by rschaffter »

Sasquatch wrote: It's not /etc/init.d/vobxdrv setup with or without sudo. It's /etc/init.d/vboxdrv setup ;).
DOH!! :o

Cheers,

Rod
solinem
Posts: 24
Joined: 1. Nov 2008, 02:26
Primary OS: Fedora other
VBox Version: PUEL
Guest OSses: WinXPsp2
Location: Mexico City

Post by solinem »

Hi
I'm on Fedora 10 and when I try the command
[root@marcoR-IT init.d]# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module [ OK ]
Recompiling VirtualBox kernel module [FALLÓ]
(Look at /var/log/vbox-install.log to find out what went wrong)

In the vbox-install.log:
Makefile:143: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Alto.
???
Sorry, I have not so much experience...
I think this version is more aimed to Fedora 9 than to Fedora 10?

what should I do?
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

Check the VirtualBox FAQ. You need the kernel-devel package.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
dmaron
Posts: 1
Joined: 28. Feb 2009, 03:00

Same problem, maybe a little more info.

Post by dmaron »

Host OS ubunto 8.10 AMD64

Virtualbox 2.1.4 amd64

install goes fine, able to configure the virtual machine but when I try to start it I see a popup,

"Virtual machine "xxx" has terminated unexpectedly during startup"

Result code: ns_error_failure (0x80004005)
Component: Machine
Interface: Imachine{ea6fb7ea-1993-4642-b113-f29eb39e0df0}

Then right away another popup.

VERR_VM_DRIVER_NOT_INSTALLED (rc=-1908)

The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Re-setup the kernel module by executing

'/etc/init.d/vboxdrv setup'

as root. Users of Ubuntu or Fedora should install the DKMS package at first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary

I then run the suggested command like "sudo /etc/init.d/vboxdrv setup"
Result:
* Stopping VirtualBox kernel module * done.
* Recompiling VirtualBox kernel module
* Look at /var/log/vbox-install.log to find out what went wrong

the contents of this log are:

Attempting to install using DKMS
removing old DKMS module vboxdrv version

Error! Invalid number of parameters passed.
Usage: remove -m <module> -v <module-version> --all
or: remove -m <module> -v <module-version> -k <kernel-version>

------------------------------
Deleting module version: 2.1.4
completely from the DKMS tree.
------------------------------
Done.

Creating symlink /var/lib/dkms/vboxdrv/2.1.4/source ->
/usr/src/vboxdrv-2.1.4

DKMS: add Completed.

Error! Your kernel source for kernel 2.6.27-7-server cannot be found at
/lib/modules/2.6.27-7-server/build or /lib/modules/2.6.27-7-server/source.
You can use the --kernelsourcedir option to tell DKMS where it's located.
Failed to install using DKMS, attempting to install without
Makefile:143: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. St$

This is everything I know, please help.

David
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

dmaron, please take a look at the VirtualBox FAQ to see what you need.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
foriamroot
Posts: 2
Joined: 3. Mar 2009, 23:21

Re: "VERR_VM_DRIVER_NOT_INSTALLED (rc=-1908) VB2.1.2 Ubuntu

Post by foriamroot »

I'm experiencing a similar problem and wasn't sure if it fell under this category or not. I am having some problems getting it to start. Here's the pertinent info:

VirtualBox 2.1
Ubuntu 8.10 x86_64 (uname -r output 2.6.27-11-generic)

In case it's pertinent, my system setup is a little goofy:
I moved my /boot partition to a hidden partition on a flash drive and installed grub to the flash drive. There is no MBR on my laptop hdd (I shredded it). Both / and /home are encrypted (256 aes) and so is my swap (/dev/urandom creates key on boot, 256 aes). Yes the flash drive is connected when I try all this stuff and /boot is mounted properly during all this.

Every time I try to start vbox I get the kernel error. (VERR_VM_DRIVER_NOT_INSTALLED (rc=-1908)). So I tried /etc/init.d/vboxdrv setup:

Here's the output:

16:31 root@Darkstar #/etc/init.d/vboxdrv setup
* Stopping VirtualBox kernel module * done.
* Removing old VirtualBox netflt kernel module * done.
* Removing old VirtualBox kernel module * done.
* Recompiling VirtualBox kernel module * done.
* Starting VirtualBox kernel module
* modprobe vboxdrv failed. Please use 'dmesg' to find out why

The funny thing was it didn't contain a single line pertaining to vbox! I tried looking up the log (/var/log/vbox-install.log) and here it is:

Attempting to install using DKMS
removing old DKMS module vboxdrv version 2.1.4

-------- Uninstall Beginning --------
Module: vboxdrv
Version: 2.1.4
Kernel: 2.6.27-11-generic (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

vboxdrv.ko:
- Uninstallation
- Deleting from: /lib/modules/2.6.27-11-generic/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.

depmod....(bad exit status: 1)

DKMS: uninstall Completed.

------------------------------
Deleting module version: 2.1.4
completely from the DKMS tree.
------------------------------
Done.

Creating symlink /var/lib/dkms/vboxdrv/2.1.4/source ->
/usr/src/vboxdrv-2.1.4

DKMS: add Completed.

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area....
make KERNELRELEASE=2.6.27-11-generic -C /lib/modules/2.6.27-11-generic/build M=/var/lib/dkms/vboxdrv/2.1.4/build..........

Running the post_build script:
cleaning build area....

DKMS: build Completed.
Running module version sanity check.

vboxdrv.ko:
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/2.6.27-11-generic/updates/dkms/

depmod....(bad exit status: 1)

DKMS: install Completed.
Attempting to install using DKMS
removing old DKMS module vboxnetflt version 2.1.4

-------- Uninstall Beginning --------
Module: vboxnetflt
Version: 2.1.4
Kernel: 2.6.27-11-generic (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

vboxnetflt.ko:
- Uninstallation
- Deleting from: /lib/modules/2.6.27-11-generic/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.

depmod....(bad exit status: 1)

DKMS: uninstall Completed.

------------------------------
Deleting module version: 2.1.4
completely from the DKMS tree.
------------------------------
Done.

Creating symlink /var/lib/dkms/vboxnetflt/2.1.4/source ->
/usr/src/vboxnetflt-2.1.4

DKMS: add Completed.

Kernel preparation unnecessary for this kernel. Skipping...

Running the pre_build script:

Building module:
cleaning build area....
make KERNELRELEASE=2.6.27-11-generic -C /lib/modules/2.6.27-11-generic/build M=/var/lib/dkms/vboxnetflt/2.1.4/build............
cleaning build area....

DKMS: build Completed.
Running module version sanity check.

vboxnetflt.ko:
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/2.6.27-11-generic/updates/dkms/

depmod....(bad exit status: 1)

DKMS: install Completed.

As you can see I tried this several times after tinkering with different things. I also tried apt-get purge virtualbox* then re-install. I have tried ose from the repo's, and the binary download from the vbox site for both the ose and standard. Everything I have tried has given me the same result.

It looks like the module is compiling correctly, however, it's unable to start. I tried rebooting after the install and got an error during boot (modprobe vboxdrv failed check dmesg, etc.) I had this working once before on the same system before I moved my /boot and encrypted everything. (I did a clean install on top of an encrypted partition rather than just encrypt the files) The only difference is the device name where everything is mounted (home mounts at /dev/mapper/home, same with root) and /boot is on /dev/sdb2 instead of /dev/sda1. Could it be that vbox just wont run on an encrypted system???
Post Reply