Vbox driver problem on opensuse 11.4

Discussions related to using VirtualBox on Linux hosts.
Post Reply
Buttons
Posts: 20
Joined: 11. May 2010, 22:13
Primary OS: openSUSE
VBox Version: PUEL
Guest OSses: Windows XP,Windows 2003

Vbox driver problem on opensuse 11.4

Post by Buttons »

I'm having some problems with the driver. When I try to load a vm it pops two errors with one saying kernel driver not installed.
Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
Machine
Interface:
IMachine {662c175e-a69d-40b8-a77a-1d719d0ab062}
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. Users of Ubuntu, Fedora or Mandriva should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.
I ran what it suggested in a terminal which did no good.
xxxxxxxx@linux-2bvb:~> sudo /etc/init.d/vboxdrv setup
root's password:
Stopping VirtualBox kernel modules done
Uninstalling old VirtualBox DKMS kernel modules
Nothing found within the DKMS tree for this status command.
If your modules were not installed with DKMS, they will not show up here.

Nothing found within the DKMS tree for this status command.
If your modules were not installed with DKMS, they will not show up here.

Nothing found within the DKMS tree for this status command.
If your modules were not installed with DKMS, they will not show up here.

Nothing found within the DKMS tree for this status command.
If your modules were not installed with DKMS, they will not show up here.

Nothing found within the DKMS tree for this status command.
If your modules were not installed with DKMS, they will not show up here.
done
Trying to register the VirtualBox kernel modules using DKMSdkms.conf: Error! No 'MAKE' directive specified.
dkms.conf: Error! No 'LOCATION' directive specified.
dkms.conf: Error! Directive 'LOCATION' does not begin with '/kernel'.
dkms.conf: Warning. No 'CLEAN' directive specified. Assuming: make clean

Error! Bad conf file.
File: /usr/src/vboxhost-4.0.4/dkms.conf does not represent a valid dkms.conf file
failed
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules failed
(Look at /var/log/vbox-install.log to find out what went wrong)
Log file
Uninstalling modules from DKMS
Attempting to install using DKMS
Failed to install using DKMS, attempting to install without
Makefile:167: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
I've tried downloading a fresh copy and installing DKMS.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Vbox driver problem on opensuse 11.4

Post by Perryg »

First make certain that openSUSE is up-to-date

Code: Select all

zypper update
Then install all packages needed to compile external modules.

Code: Select all

sudo zypper install gcc make automake autoconf kernel-source kernel-syms
Then install VirtualBox again and it should work after a reboot. Make sure that your user name in in the vboxusers group as well.
Buttons
Posts: 20
Joined: 11. May 2010, 22:13
Primary OS: openSUSE
VBox Version: PUEL
Guest OSses: Windows XP,Windows 2003

Re: Vbox driver problem on opensuse 11.4

Post by Buttons »

Thanks it worked! :)
wbstrider
Posts: 24
Joined: 17. Mar 2011, 20:37
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: winx0

Re: Vbox driver problem on opensuse 11.4

Post by wbstrider »

I don't have zypper on my machine, is there a way to run this command without it?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Vbox driver problem on opensuse 11.4

Post by Perryg »

wbstrider wrote:I don't have zypper on my machine, is there a way to run this command without it?
These commands take for granted that you are using openSUSE as the title states. If you are not using openSUSE then you need to post your question in a new topic and state what you are using and what you are wanting to do.
Catfish172
Posts: 1
Joined: 11. Jan 2015, 18:32

Re: Vbox driver problem on opensuse 11.4

Post by Catfish172 »

This fix still works as of OpenSUSE 13.2. :D Thanks for posting!!! I was panicked that I had to lost 27 VM'S :shock: after a reboot!!!
You have to run

Code: Select all

/etc/init.d/vboxdrv setup
:oops: after running

Code: Select all

sudo zypper install gcc make automake autoconf kernel-source kernel-syms
Now everything is back to 100% !!! :D
Post Reply