[Solved] Error - Kernal driver not installed(rc=-1908)

Discussions related to using VirtualBox on Linux hosts.
Post Reply
k9slaves
Posts: 8
Joined: 26. Sep 2009, 08:02
Primary OS: openSUSE
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win XP Pro SP2
Location: Camden, Australia
Contact:

[Solved] Error - Kernal driver not installed(rc=-1908)

Post by k9slaves »

Hi,

I am using OpenSuse 11.1 (2.6.27.29-0.1-default x86_64) as host with VirtualBox 3.0.6, and am getting errors when starting a Windows XP guest. Following are the errors.

I get two errors appear the first is a box titled "VirtualBox Error" and says the following:
Failed to open a session for the virtual machine Windows XP.
Virtual machine 'Windows XP' has terminated unexpectedly during startup.
Details
Result Code: NS_ERROR_FAILURE (0x80004005)
Component: Machine
Interface: IMachine {540dcfda-3df2-49c6-88fa-033a28c2ff85}
I then get a second box titled "VirtualBox - Error in suplibOslnit" and says the following:
Kernal driver not installed(rc=-1908)
The VirtualBox Linux kernal driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Re-setup the kernal module by executing "/etc/init.d/vboxdrv setup" as root.
I execute "/etc/init.d/vboxdrv setup" as required and it fails with the following information:
/usr/share/virtualbox/src/vboxdrv/build_in_tmp: line 100: make: command not found

Hope someone can help, I am new to Linux so please be gentle!!!

Regards,
Adam
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Error - Kernal driver not installed(rc=-1908)

Post by Perryg »

Is your login name in the vboxusers group?
Martin
Volunteer
Posts: 2562
Joined: 30. May 2007, 18:05
Primary OS: Fedora other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: XP, Win7, Win10, Linux, OS/2

Re: Error - Kernal driver not installed(rc=-1908)

Post by Martin »

The "make: command not found" message points missing development tools. You need to install the compiler and kernel sources.
k9slaves
Posts: 8
Joined: 26. Sep 2009, 08:02
Primary OS: openSUSE
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win XP Pro SP2
Location: Camden, Australia
Contact:

Re: Error - Kernal driver not installed(rc=-1908)

Post by k9slaves »

Perryg wrote:Is your login name in the vboxusers group?
It was not, so I put it in, no difference.
k9slaves
Posts: 8
Joined: 26. Sep 2009, 08:02
Primary OS: openSUSE
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win XP Pro SP2
Location: Camden, Australia
Contact:

Re: Error - Kernal driver not installed(rc=-1908)

Post by k9slaves »

Martin wrote:The "make: command not found" message points missing development tools. You need to install the compiler and kernel sources.
Hi Martin,

Which compiler and kernel sources should I be looking for?

Thanks,
Adam
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Error - Kernal driver not installed(rc=-1908)

Post by Perryg »

Did you reboot after you added your name?
Then run /etc/init.d/vboxdrv setup as root and see if you get more errors.
If you do then Martin is correct that you need the files to build external modules, but I wonder how you got it installed the first place if those files were missing.
You can add the files by running the following command

Code: Select all

sudo zypper install gcc make automake autoconf kernel-source
k9slaves
Posts: 8
Joined: 26. Sep 2009, 08:02
Primary OS: openSUSE
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win XP Pro SP2
Location: Camden, Australia
Contact:

Re: Error - Kernal driver not installed(rc=-1908)

Post by k9slaves »

Thanks Martin and Perryg for your help. :D

All is now OK.

I tried all again after a reboot, as me and as root, still same problem. Ran the command you gave me to add missing files, then ran "/etc/init.d/vboxdrv setup" as root, this time it worked.

Regards,
Adam
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: [Solved] Error - Kernal driver not installed(rc=-1908)

Post by Perryg »

Very well, I have marked this as solved.
Post Reply