The problem is it doesn't build the new kernel modules until after you are already rebooted into the new kernel. Sorta of like it's expecting user to reboot twice.

Ben Bullard
ben79
--------------------
OpenMandriva-QA Team

On 08/12/2015 02:07 PM, Ben Bullard wrote:
This is on 2014.2 host with OpenMandriva VirtualBox packages.

# systemctl status dkms.service
dkms.service - Builds and install new kernel modules through DKMS
   Loaded: loaded (/lib/systemd/system/dkms.service; enabled)
   Active: active (exited) since Wed 2015-08-12 13:55:58 CDT; 10min ago
     Docs: man:dkms(8)
Process: 3824 ExecStart=/bin/sh -c dkms autoinstall --verbose --kernelver $(uname -r) (code=exited, status=0/SUCCESS)
 Main PID: 3824 (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/dkms.service

Aug 12 13:55:54 localhost sh[3824]: - Installing to /lib/modules/3.19.8-nrjQL-desktop-1omv/kernel/3rdparty/vbox/
Aug 12 13:55:54 localhost sh[3824]: vboxnetadp.ko:
Aug 12 13:55:54 localhost sh[3824]: Running module version sanity check.
Aug 12 13:55:54 localhost sh[3824]: - Original module
Aug 12 13:55:54 localhost sh[3824]: - No original module exists within this kernel
Aug 12 13:55:54 localhost sh[3824]: - Installation
Aug 12 13:55:54 localhost sh[3824]: - Installing to /lib/modules/3.19.8-nrjQL-desktop-1omv/kernel/3rdparty/vbox/
Aug 12 13:55:54 localhost sh[3824]: do_depmod 3.19.8-nrjQL-desktop-1omv
Aug 12 13:55:58 localhost sh[3824]: DKMS: install completed.
Aug 12 13:55:58 localhost systemd[1]: Started Builds and install new kernel modules through DKMS.

Ben Bullard
ben79
--------------------
OpenMandriva-QA Team

On 08/12/2015 02:04 PM, Ben Bullard wrote:
If I install a new kernel and boot into it virtualbox will not open virtual machine. It gives error:


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.

But there is no such file '/etc/init.d/vboxdrv'

How to fix?

Reported here:

https://issues.openmandriva.org/show_bug.cgi?id=1325

--
Ben Bullard
ben79
--------------------
OpenMandriva-QA Team



_______________________________________________
OM-Cooker mailing list
[email protected]
http://ml.openmandriva.org/listinfo.cgi/om-cooker-openmandriva.org



_______________________________________________
OM-Cooker mailing list
[email protected]
http://ml.openmandriva.org/listinfo.cgi/om-cooker-openmandriva.org

_______________________________________________
OM-Cooker mailing list
[email protected]
http://ml.openmandriva.org/listinfo.cgi/om-cooker-openmandriva.org

Reply via email to