. After a while, I tried turning on my W7 VM from a saved snapshot and I got this error.
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.
Running
/sbin/rcboxdrv setup
in terminal(as root) returns
-bash: /sbin/rcvboxdrv: No such file or directory
How do I solve this issue? This VM is vital for my daily activities.
Hi, and welcome to the Forums!
Please show the output of
# zypper se -iv virtualbox
in a terminal with superuser (root) rights.
Maybe you don’t have the right virtualbox-host-kmp-default package installed (if you have the OpenSUSE virtualbox) or the new kernel module has not yet been built if you have the Oracle VirtualBox-5.0.
Booting an older kernel (Advanced Options at the GRUB menu) might help in both cases.
Booting an older kernel is a workaround until you fix everything, since apparently “This VM is vital for my daily activities”.
Try to uninstall virtualbox-guest-kmp-default (you do not need it on the HOST system), then reboot.
Please also post result of
zypper lr -d
since apparently you have two copies of an update repository enabled.
There should also be another thread with a similar problem in the last few weeks, but I can’t remember exactly right now.
On 07/26/2016 05:06 AM, giantas wrote:
>
> I did an upgrade of OpenSUSE using
> Code:
> --------------------
> zypper up
> --------------------
> . After a while, I tried turning on my W7 VM from a saved snapshot and I
> got this error.
>
> Code:
> --------------------
>
> 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.
>
> --------------------
>
>
> Running
> Code:
> --------------------
> /sbin/rcboxdrv setup
> --------------------
> in terminal(as root) returns
> Code:
> --------------------
> -bash: /sbin/rcvboxdrv: No such file or directory
> --------------------
>
> How do I solve this issue? This VM is vital for my daily activities.
>
>
Run the command as displayed. you have a typo: you left out the “v” in vbox.
–
Ken
linux since 1994
S.u.S.E./openSUSE since 1996
Linux linux-stz5.site 4.7.0-4.g89a2ada-default #1 SMP PREEMPT Mon Jul 25 08:42:47 UTC
2016 (89a2ada) x86_64 x86_64 x86_64 GNU/Linux
2 possible Solutions:
Delete the kernel, delete the kernel:stable Repo and install the latest kernel from Update Repo, also delete all with virtualbox-guest in the name and virtualbox should work.
You cannot run virtualbox with virtualbox-host-kmp-default 5.0.24_k4.1.27_27-25.1 on kernel-default 4.7.0-4.g89a2ada-default as the version number don’t match.
So you have 3 choices:
boot kernel 4.1.27_27 when you plan on using virtualbox;
install matching 4.7 kernel-devel and kernel-default-devel, virtualbox-host-source, gcc, make, maybe other development stuff and build the needed kernel modules yourself.
install VirtualBox-5.0 from Oracle as suggested by sauerland.
Rebooting into kernel 4.1.27_27 anytime I would like to use VM seems impossible for me. I have removed all virtualbox packages using Yast2. I have downloaded VirtualBox 5.1 rpm. I have deleted the kernel:stable repo. Now how do I delete kernel? Furthermore, I still see the Oracle VirtualBox icon and on clicking it I get
Unable to make the service Oracle VM VirtualBox executable, aborting execution
. Are there any other files associated with virtualbox that I should delete before installing the new verson?
Just installed virtualbox 5.1 but on trying to start my VMs i get
RTR3InitEx failed with rc=-1912 (rc=-1912)
The VirtualBox kernel modules do not match this version of VirtualBox. The installation of VirtualBox was apparently not successful. Executing
'/sbin/vboxconfig'
may correct this. Make sure that you do not mix the OSE version and the PUEL version of VirtualBox.
where: supR3HardenedMainInitRuntime what: 4 VERR_VM_DRIVER_VERSION_MISMATCH (-1912) - The installed support driver doesn't match the version of the user.
I feel there are configurations or something else I should delete
on running
/sbin/vboxconfig
I get
vboxdrv.sh: Starting VirtualBox services.
But on opening the VM i still get the earlier error
I chose option 2 and it worked! My VM is up and running.
However, since you mentioned a problem with the kernel from kernel:stable, how can I change the kernel back to the one in the OpenSUSE update repo and be updating from there?
Assuming that your VM is “up and running” while using the 4.1.27 kernel from the update repo (your last few posts are not really clear to me), simply issue:
zypper remove -D -C 'kernel-default=4.7.0-4'
This is a dry run command (-D) just to be safe.
If the system replies, as it should, with:
The following package is going to be REMOVED:
kernel-default-4.7.0-4.1.g89a2ada
you can continue with the “really remove” command as:
zypper remove -C 'kernel-default=4.7.0-4'
and the suspect kernel will be removed.
A similar procedure exist in Yast - Software, but I’m not sure that the version removal really works as intended and I’m not willing to risk thrashing the “good” kernel version.
Afterwards, the system should update from the “Update” repo since you apparently already disabled the “Kernel:stable” repo.