SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2012-10-08 13:34:18

bambam1978
Member
Registered: 2012-07-01
Posts: 28

[Resolved] virtualbox error in CB11

Here's the errors i get
First
"Failed to open a session for the virtual machine 7.

The virtual machine '7' has terminated unexpectedly during startup with exit code 1.

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: Machine
Interface: IMachine {22781af3-1c96-4126-9edf-67a020e0e858}



second
"Kernel driver not installed (rc=-1908)

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

'/etc/init.d/vboxdrv setup'

as root. If it is available in your distribution, you should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary."

Any help I get with ths would be awesome!
Thanks guys

Offline

Be excellent to each other!

#2 2012-10-08 15:00:08

corenominal
WRONG
From: Lincoln, UK
Registered: 2008-11-20
Posts: 5,057
Website

Re: [Resolved] virtualbox error in CB11

bambam1978 wrote:

'/etc/init.d/vboxdrv setup'

Did you try this?

sudo /etc/init.d/vboxdrv setup

Offline

#3 2012-10-08 16:29:05

bambam1978
Member
Registered: 2012-07-01
Posts: 28

Re: [Resolved] virtualbox error in CB11

crunchbang:~$ sudo /etc/init.d/vboxdrv setup
[sudo] password for dad:
Stopping VirtualBox kernel modules:.
Uninstalling old VirtualBox DKMS kernel modules:.
Trying to register the VirtualBox kernel modules using DKMS:Error! Your kernel headers for kernel 3.2.0-3-486 cannot be found.
Please install the linux-headers-3.2.0-3-486 package,
or use the --kernelsourcedir option to tell DKMS where it's located

Failed, trying without DKMS ... failed!
Recompiling VirtualBox kernel modules:
Look at /var/log/vbox-install.log to find out what went wrong ... failed!

This is what happens with that command.

Here's what the log file has to say
"Uninstalling modules from DKMS
  removing old DKMS module vboxhost version  4.2.0

------------------------------
Deleting module version: 4.2.0
completely from the DKMS tree.
------------------------------
Done.
Attempting to install using DKMS

Creating symlink /var/lib/dkms/vboxhost/4.2.0/source ->
                 /usr/src/vboxhost-4.2.0

DKMS: add completed.
Failed to install using DKMS, attempting to install without
Makefile:181: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again.  Stop."

Last edited by bambam1978 (2012-10-08 16:31:10)

Offline

#4 2012-10-08 17:10:19

idirae
Member
Registered: 2012-09-17
Posts: 19
Website

Re: [Resolved] virtualbox error in CB11

I'm experiencing the exact same error with VirtualBox.

Offline

#5 2012-10-08 17:24:37

corenominal
WRONG
From: Lincoln, UK
Registered: 2008-11-20
Posts: 5,057
Website

Re: [Resolved] virtualbox error in CB11

From the error msg, it looks like your system does not have the Linux headers package installed. Try installing it:

sudo apt-get update && sudo apt-get install linux-headers-2.6-486

Then try the set-up routine again:

sudo /etc/init.d/vboxdrv setup

Offline

#6 2012-10-08 22:51:07

bambam1978
Member
Registered: 2012-07-01
Posts: 28

Re: [Resolved] virtualbox error in CB11

Worked flawlelessly thanks corenominal!!!!

Offline

#7 2012-10-09 03:13:51

idirae
Member
Registered: 2012-09-17
Posts: 19
Website

Re: [Resolved] virtualbox error in CB11

Thanks, corenominal! Your solution worked for me, too. =]

Offline

#8 2012-10-09 05:48:55

corenominal
WRONG
From: Lincoln, UK
Registered: 2008-11-20
Posts: 5,057
Website

Re: [Resolved] virtualbox error in CB11

No problem, happy to help smile

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo