Kernel driver not installed (rc=-1908)

Hi,
trying to set up Virtualbox on openSUSE 13.2. When trying to start a new machine, it immediately fails with the a.m. error message.

refra:/home/conny # rpm -qa |grep virtual
virtualbox-qt-5.0.20-46.1.i586
virtualbox-guest-kmp-desktop-5.0.20_k3.16.7_35-46.1.i586
virtualbox-5.0.20-46.1.i586
virtualbox-host-kmp-desktop-5.0.20_k3.16.7_35-46.1.i586
python-virtualbox-5.0.20-46.1.i586

-> Kernel modules should be installed

When following the recommendation to rebuild kernel modules:

refra:/home/conny # rcvboxdrv setup
Recompiling VirtualBox kernel module, NOT. It has been packaged. done

on the other hand,
lsmod |grep vbox
gives no result.
User is in the group virtualbox
Where’s the problem, what to do?

If you install Virtualbox from the openSUSE repos, there is no need to compile kernel modules on demand, the kernel is pre-compiled.

Try that first instead of installing Virtualbox from the Oracle Virtualbox website.

TSU

Thats exactly what I did…used the Virtualbox provided from openSUSE - Repos

Please post:

zypper se -si virtualbox vbox kernel
uname -a

On the Host, you do not need the virtualbox-guest-kmp-desktop-5.0.20_k3.16.7_35-46.1.i586.

On my Virtualbox:

zypper se -si virtualbox vbox kernel
S | Name                    | Typ   | Version                | Arch   | Repository          
--+-------------------------+-------+------------------------+--------+---------------------
i | kernel-devel            | Paket | 3.16.7-35.1            | noarch | openSUSE-13.2-Update
i | kernel-devel            | Paket | 3.16.7-21.1            | noarch | openSUSE-13.2-Update
i | kernel-firmware         | Paket | 20141122git-5.1        | noarch | openSUSE-13.2-Update
i | kernel-macros           | Paket | 3.16.7-35.1            | noarch | openSUSE-13.2-Update
i | kernel-pae              | Paket | 3.16.7-35.1            | i686   | openSUSE-13.2-Update
i | kernel-pae              | Paket | 3.16.7-21.1            | i686   | openSUSE-13.2-Update
i | kernel-pae-devel        | Paket | 3.16.7-35.1            | i686   | openSUSE-13.2-Update
i | kernel-pae-devel        | Paket | 3.16.7-21.1            | i686   | openSUSE-13.2-Update
i | virtualbox              | Paket | 5.0.20-46.1            | i586   | openSUSE-13.2-Update
i | virtualbox-host-kmp-pae | Paket | 5.0.20_k3.16.7_35-46.1 | i586   | openSUSE-13.2-Update
i | virtualbox-qt           | Paket | 5.0.20-46.1            | i586   | openSUSE-13.2-Update

uname -a
Linux linux-dg4s 3.16.7-35-pae #1 SMP Sun Feb 7 17:32:21 UTC 2016 (832c776) i686 athlon i386 GNU/Linux

Indeed, the guest-driver is not required. Foe the rest it looks quite similar:

zypper se -si virtualbox vbox kernel

S | Name                         | Typ   | Version                | Arch   | Repository          
--+------------------------------+-------+------------------------+--------+---------------------
i | kernel-desktop               | Paket | 3.16.7-35.1            | i686   | openSUSE-13.2-Update
i | kernel-desktop               | Paket | 3.16.7-32.1            | i686   | openSUSE-13.2-Update
i | kernel-firmware              | Paket | 20141122git-5.1        | noarch | openSUSE-13.2-Update
i | python-virtualbox            | Paket | 5.0.20-46.1            | i586   | openSUSE-13.2-Update
i | virtualbox                   | Paket | 5.0.20-46.1            | i586   | openSUSE-13.2-Update
i | virtualbox-guest-kmp-desktop | Paket | 5.0.20_k3.16.7_35-46.1 | i586   | openSUSE-13.2-Update
i | virtualbox-host-kmp-desktop  | Paket | 5.0.20_k3.16.7_35-46.1 | i586   | openSUSE-13.2-Update
i | virtualbox-qt                | Paket | 5.0.20-46.1            | i586   | openSUSE-13.2-Update
conny@refra:~> uname -a
Linux refra 3.16.7-35-desktop #1 SMP PREEMPT Sun Feb 7 17:32:21 UTC 2016 (832c776) i686 i686 i386 GNU/Linux

Removing the second version of kernel-desktop does not fix it.

As I said, remove the guest-kmp:

zypper rm virtualbox-guest-kmp-desktop

It is not needed on the Host.

And start Virtualbox from Konsole as User:

VirtualBox

If it is not working, post all Output incl. the Start-Command…

Every now and then, things resolve by themself.
I did not change anything compared to before (guest-kmp was already deleted) but now it starts.
Thanks anyway for your help!

I was instructed to re-post this from Applications into this “Virtualizaion” forum by user tsu2.

Mine is LEAP 42.1, not 13.2, but this thread looks similar enough so here you go.

It seems the above case was solved by magic. I am not magical, so problem persists for me.


VirtualBox 5.0.22 - Kernel driver not installed (rc=-1908)

Today, trying to start VirtualBox results in the infamous error “Kernel driver not installed (rc=-1908)”

Posts with this error are all over various forums, including here, but their solutions are old and no longer effective.

What is the current solution to this error?

Incomprehensible error arcana, as needed:


Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
MachineWrap
Interface:
IMachine {f30138d4-e5ea-4b3a-8858-a059de4c93fd}

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

'/sbin/rcvboxdrv 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.

where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.

The above instruction to run ‘/sbin/rcvboxdrv setup’ is, of course, a dud. Attempting just ‘rcvboxdrv setup’ on it’s own results in …

VirtualBox kernel module, NOT. It has been packaged.     done

… and error remains.

As written above, please post the output of

zypper se -si virtualbox vbox kernel
uname -r
make sure the guest kernel module is not installed

“zypper se -si virtualbox vbox kernel” gives:


S | Name                           | Type    | Version                | Arch   | Repository               
--+--------------------------------+---------+------------------------+--------+--------------------------
i | kernel-default                 | package | 4.1.26-21.1            | x86_64 | openSUSE-Leap-42.1-Update
i | kernel-default                 | package | 4.1.21-14.2            | x86_64 | openSUSE-Leap-42.1-Update
i | kernel-default-devel           | package | 4.1.26-21.1            | x86_64 | openSUSE-Leap-42.1-Update
i | kernel-default-devel           | package | 4.1.21-14.2            | x86_64 | openSUSE-Leap-42.1-Update
i | kernel-devel                   | package | 4.1.26-21.1            | noarch | openSUSE-Leap-42.1-Update
i | kernel-devel                   | package | 4.1.21-14.2            | noarch | openSUSE-Leap-42.1-Update
i | kernel-firmware                | package | 20160503-3.1           | noarch | openSUSE-Leap-42.1-Update
i | kernel-macros                  | package | 4.1.26-21.1            | noarch | openSUSE-Leap-42.1-Update
i | kernel-pv                      | package | 4.1.26-21.1            | x86_64 | openSUSE-Leap-42.1-Update
i | kernel-pv                      | package | 4.1.21-14.2            | x86_64 | openSUSE-Leap-42.1-Update
i | kernel-pv-devel                | package | 4.1.26-21.1            | x86_64 | openSUSE-Leap-42.1-Update
i | kernel-pv-devel                | package | 4.1.21-14.2            | x86_64 | openSUSE-Leap-42.1-Update
i | kernel-syms                    | package | 4.1.26-21.1            | x86_64 | openSUSE-Leap-42.1-Update
i | kernel-syms                    | package | 4.1.21-14.2            | x86_64 | openSUSE-Leap-42.1-Update
i | kernel-xen-devel               | package | 4.1.26-21.1            | x86_64 | openSUSE-Leap-42.1-Update
i | kernel-xen-devel               | package | 4.1.21-14.2            | x86_64 | openSUSE-Leap-42.1-Update
i | virtualbox                     | package | 5.0.22-19.1            | x86_64 | openSUSE-Leap-42.1-Update
i | virtualbox-guest-desktop-icons | package | 5.0.22-19.1            | noarch | openSUSE-Leap-42.1-Update
i | virtualbox-guest-kmp-default   | package | 5.0.22_k4.1.26_21-19.1 | x86_64 | openSUSE-Leap-42.1-Update
i | virtualbox-host-kmp-default    | package | 5.0.22_k4.1.26_21-19.1 | x86_64 | openSUSE-Leap-42.1-Update
i | virtualbox-qt                  | package | 5.0.22-19.1            | x86_64 | openSUSE-Leap-42.1-Update

uname -r gives:

4.1.26-21-pv

I see mention of “… guest-desktop-icons” and “… guest-kmp-default” in the list. Are these the droids you’re looking for?

The Guest-Modules are in the Host obsolete, so delete them.

Delete kernel-pv, kernel-xen and start kernel-default.

If I’m beginning to understand this correctly, the Oracle VirtualBox “Guest Kernel modules” are only required (by the Guest OS), if (and only if) the Guest OS is an openSUSE version and, the “VBoxGuestAdditions” ISO needs to be installed on the Guest OS.
[HR][/HR]In other words: an openSUSE version running as a Guest OS in a VirtualBox VM needs to have the “Guest Kernel modules” package installed if the Oracle “VBoxGuestAdditions” ISO is to be installed on that VM.
[HR][/HR]Or, do I have an understanding issue? :shame:

The openSUSE Guest Modules are only needed in a Guest, when the Host has the same Version.

But they have not to be installed, if I install the Oracle-Guest-Additions from the Menue.
And if I install the Guest-Packages from openSUSE, I have not to install the Oracle-Guest-Additions.

That is only working in a Guest…

So this is only working in a Guest:

i | virtualbox-guest-desktop-icons | package | 5.0.22-19.1 | noarch | openSUSE-Leap-42.1-Update
i | virtualbox-guest-kmp-default | package | 5.0.22_k4.1.26_21-19.1 | x86_64 | openSUSE-Leap-42.1-Update

And obsolete in a Host, there was also a problem with the virtualbox-guest-kmp Package in the Host, so delete it.

Except for one small point:So far as I can see, the virtualbox-guest-desktop-icons package is required by a host system if the guest VMs being hosted are to be able to display an icon indicating which operating system is being hosted.

The virtualbox-guest-desktop-icons package drops .PNG icons into /usr/share/pixmaps/virtalbox/ for each supported guest OS: for example (an incomplete list): os_win10.png; os_win10_64.png; os_oraclesolaris.png; os_oraclesolaris_64.png; os_os2warp4.png; os_opensuse.png; os_opensuse_64.png.

The “Oracle VM VirtualBox Manager” uses these icons for each VM being managed: the Microsoft VMs get Windows (version specific) icons, the Solaris VMs get Solaris icons, and so on.

I also use these icons for the Desktop link to simply start a VM without bothering to start the VirtualBox Manager.

Ups, I have not looked inside, so my fault with that Package…

I certainly am happy that I’m cautious enough to wait for follow-up replies before I follow instructions to delete stuff …

I am following this thread and watching for a CONFIDENT, WORKING solution to be posted.

Thank you.

I am following this thread and watching for a CONFIDENT, WORKING solution to be posted.

I think, nobody can post a working solution for you, you can only try the things posted here.

But if you do not do that, virtualbox maybe will not work for you.

My virtualbox is working…

On this 13.2 openSUSE KDE4 Plasma system, I have the following Oracle VirtualBox components installed:


 > zypper search -is virtualbox
Daten des Repositories laden ...
Installierte Pakete lesen ...

S | Name                           | Typ   | Version                | Arch   | Repository
--+--------------------------------+-------+------------------------+--------+--------------------------------
i | python-virtualbox              | Paket | 5.0.20-46.1            | x86_64 | Hauptaktualisierungs-Repository
i | virtualbox                     | Paket | 5.0.20-46.1            | x86_64 | Hauptaktualisierungs-Repository
i | virtualbox-guest-desktop-icons | Paket | 5.0.20-46.1            | noarch | Hauptaktualisierungs-Repository
i | virtualbox-host-kmp-desktop    | Paket | 5.0.20_k3.16.7_35-46.1 | x86_64 | Hauptaktualisierungs-Repository
i | virtualbox-qt                  | Paket | 5.0.20-46.1            | x86_64 | Hauptaktualisierungs-Repository
 > 

The VirtualBox guest system is Windows 10 Home with all updates to date applied.
Within the VirtualBox the following Extension Pack and Additions have been installed: Oracle_VM_VirtualBox_Extension_Pack-5.0.20.vbox-extpack; VBoxGuestAdditions_5.0.20.iso.
All windows (10) applications, including the Kaspersky virus scanner, execute without error and the VirtualBox features such as shared (Linux) directories and backups execute flawlessly.

QED…

So see his output of uname -r and zypper se -si virtualbox kernel…

In this Constellation it can not work…


S | Name                           | Type    | Version                | Arch   | Repository               
--+--------------------------------+---------+------------------------+--------+--------------------------
i | kernel-default                 | package | 4.1.26-21.1            | x86_64 | openSUSE-Leap-42.1-Update
i | kernel-default-devel           | package | 4.1.26-21.1            | x86_64 | openSUSE-Leap-42.1-Update
i | kernel-devel                   | package | 4.1.26-21.1            | noarch | openSUSE-Leap-42.1-Update
i | kernel-firmware                | package | 20160503-3.1           | noarch | openSUSE-Leap-42.1-Update
i | kernel-macros                  | package | 4.1.26-21.1            | noarch | openSUSE-Leap-42.1-Update
i | kernel-pv                      | package | 4.1.26-21.1            | x86_64 | openSUSE-Leap-42.1-Update
i | kernel-pv-devel                | package | 4.1.26-21.1            | x86_64 | openSUSE-Leap-42.1-Update
i | kernel-syms                    | package | 4.1.26-21.1            | x86_64 | openSUSE-Leap-42.1-Update
i | kernel-xen-devel               | package | 4.1.26-21.1            | x86_64 | openSUSE-Leap-42.1-Update
i | virtualbox                     | package | 5.0.22-19.1            | x86_64 | openSUSE-Leap-42.1-Update
i | virtualbox-guest-desktop-icons | package | 5.0.22-19.1            | noarch | openSUSE-Leap-42.1-Update
i | virtualbox-guest-kmp-default   | package | 5.0.22_k4.1.26_21-19.1 | x86_64 | openSUSE-Leap-42.1-Update
i | virtualbox-host-kmp-default    | package | 5.0.22_k4.1.26_21-19.1 | x86_64 | openSUSE-Leap-42.1-Update
i | virtualbox-qt                  | package | 5.0.22-19.1            | x86_64 | openSUSE-Leap-42.1-Update

Problem remains.