openSUSE 13.2 KDE4, VBox 5.1.6 from (now defunct) http://download.opensuse.org/repositories/Virtualization/openSUSE_13.2/ repo.
Nvidia blob updated from G03 to G04, see https://forums.opensuse.org/showthread.php/526246-NVIDIA-kernel-module-not-initialized-with-latest-kernel-on-leap-42-3?p=2835617#post2835617
As part of the G04 “solution” I deleted all intermediary module folders, keeping only the first and last:
/lib/modules # ls
3.16.6-2-desktop
3.16.7-53-desktop
Now when starting a VM I get the error dialog:
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/vboxconfig’
as root.
where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.
/sbin/vboxconfig does not exist. It appear to have been substituted by /sbin/rcvboxdrv. Some googling led to messages of missing vboxdrv module:
/etc/rc.d # ./vboxdrv setup
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why.
/etc/rc.d # ./vboxdrv force-reload
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why.
/etc/rc.d is a link to /etc/init.d. dmesg says absolutely nothing about this - maybe it’s in a systemd log?
Searching for vboxdrv results in:
/lib/modules/3.16.7-53-desktop/weak-updates/misc # ls -al
total 8
drwxr-xr-x 2 root root 4096 Dez 20 2016 .
drwxr-xr-x 4 root root 4096 Dez 20 2016 ..
lrwxrwxrwx 1 root root 46 Dez 20 2016 vboxdrv.ko -> /lib/modules/3.16.7-42-desktop/misc/vboxdrv.ko
lrwxrwxrwx 1 root root 49 Dez 20 2016 vboxnetadp.ko -> /lib/modules/3.16.7-42-desktop/misc/vboxnetadp.ko
lrwxrwxrwx 1 root root 49 Dez 20 2016 vboxnetflt.ko -> /lib/modules/3.16.7-42-desktop/misc/vboxnetflt.ko
lrwxrwxrwx 1 root root 46 Dez 20 2016 vboxpci.ko -> /lib/modules/3.16.7-42-desktop/misc/vboxpci.ko
The files above only appear in the weak-updates …/folder, not the …/misc folder. This only has:
/lib/modules/3.16.7-53-desktop/misc # ls -lsh
total 4,1M
1,8M -rw-r--r-- 1 root root 1,8M Dez 21 2016 vmmon.ko
2,4M -rw-r--r-- 1 root root 2,4M Dez 21 2016 vmnet.ko
/lib/modules/3.16.7.42-desktop was one of the deleted intermediary folders, so all *.ko links where orphaned (0 size). Restoring it from root’s trash gives:
/lib/modules # ls
3.16.6-2-desktop
3.16.7-42-desktop
3.16.7-53-desktop
and
/lib/modules/3.16.7-42-desktop/misc # ls -lsh
total 4,8M
608K -rw-r--r-- 1 root root 608K Set 16 2016 vboxdrv.ko
20K -rw-r--r-- 1 root root 18K Set 16 2016 vboxnetadp.ko
48K -rw-r--r-- 1 root root 45K Set 16 2016 vboxnetflt.ko
44K -rw-r--r-- 1 root root 41K Set 16 2016 vboxpci.ko
1,8M -rw-r--r-- 1 root root 1,8M Ago 30 2016 vmmon.ko
2,4M -rw-r--r-- 1 root root 2,4M Ago 30 2016 vmnet.ko
Note that the restored intermediary folder also has older (but exactly the same byte size) vmmon.ko and vmnet.ko not linked in …/3.16.7-53-desktop/weak-updates/misc.
However, after restoring /lib/modules/3.16.7-42-desktop and rebooting, the same error occurs, be it at VM start or running vboxdrv setup or vboxdrv force-reload.
Lastly:
/etc/rc.d # modprobe -a vboxdrv.ko
modprobe: WARNING: Module vboxdrv.ko not found.
Perhaps because the modules should be somewhere else besides the …/weak-updates directory, like …/3.16.7-53-desktop/misc?
Any ideas?
Thanks,