Unable to run Virtualbox after latest kernel update

Hey folks, I’ve been re-reading through the various VirtualBox issues presented here and trying to follow some of the previous suggestions, but without luck. The error’s I’m getting are:

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.

When I try to run /etc/init.d/vboxdrv setup I get the following error:

vboxdrv.sh: Stopping VirtualBox services.
depmod: ERROR: fstatat(5, vboxdrv.ko): No such file or directory
depmod: ERROR: fstatat(5, vboxnetadp.ko): No such file or directory
depmod: ERROR: fstatat(5, vboxnetflt.ko): No such file or directory
depmod: ERROR: fstatat(5, vboxpci.ko): No such file or directory
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: failed: modprobe vboxdrv failed. Please use ‘dmesg’ to find out why.

I tried removing and reinstalling VirtualBox but receive the same errors. Anyone have some suggestions? I’m providing the output that I’ve seen posted in earlier threads relating to VB issues for some of the details relating to my system - please let me know if there’s other output that may help resolve this problem?

zypper se -si vbox virtualboxLoading repository data…
Reading installed packages…

S | Name | Type | Version | Arch | Repository
–±----------------------------±--------±---------------------±-------±-----------------------
i | virtualbox | package | 5.1.18-1.9 | x86_64 | openSUSE-Tumbleweed-Oss
i | virtualbox-host-kmp-default | package | 5.1.18_k4.10.9_1-1.9 | x86_64 | openSUSE-Tumbleweed-Oss
i | virtualbox-qt | package | 5.1.18-1.9 | x86_64 | openSUSE-Tumbleweed-Oss

zypper lr -dRepository priorities are without effect. All enabled repositories share the same priority.

| Alias | Name | Enabled | GPG Check | Refresh | Priority | Type | URI | Service

—±------------------------------------±----------------------------±--------±----------±--------±---------±-------±-----------------------------------------------------------------------------------±-------
1 | Apache | Apache | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/Apache/openSUSE_Tumbleweed |
2 | Mozilla | Mozilla | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/mozilla/openSUSE_Tumbleweed/ |
3 | VLC | VLC | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.videolan.org/pub/vlc/SuSE/Tumbleweed/ |
4 | http-download.opensuse.org-e44ef2b0 | X11:Bumblebee | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/X11:/Bumblebee/openSUSE_Factory/ |
5 | openSUSE-20170322-0 | openSUSE-20170322-0 | No | ---- | ---- | 99 | yast2 | hd:///?device=/dev/disk/by-id/usb-Lexar_USB_Flash_Drive_AA2SZP3TSVTO7QXS-0:0-part2 |
6 | packman | packman | Yes | (r ) Yes | Yes | 99 | rpm-md | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed |
7 | repo-debug | openSUSE-Tumbleweed-Debug | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/tumbleweed/repo/oss/ |
8 | repo-non-oss | openSUSE-Tumbleweed-Non-Oss | Yes | (r ) Yes | Yes | 99 | yast2 | http://download.opensuse.org/tumbleweed/repo/non-oss/ |
9 | repo-oss | openSUSE-Tumbleweed-Oss | Yes | (r ) Yes | Yes | 99 | yast2 | http://download.opensuse.org/tumbleweed/repo/oss/ |
10 | repo-source | openSUSE-Tumbleweed-Source | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/source/tumbleweed/repo/oss/ |
11 | repo-update | openSUSE-Tumbleweed-Update | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/tumbleweed/

uname -aLinux linux-tbwe 4.10.9-1-default #1 SMP PREEMPT Sat Apr 8 15:30:03 UTC 2017 (195f937) x86_64 x86_64 x86_64 GNU/Linux

modprobe vboxdrvmodprobe: FATAL: Module vboxdrv not found in directory /lib/modules/4.10.9-1-default

Thanks for any help!
Bill

I have this issue as well. I just ran /etc/init.d/vboxdrv force-reload as root and now Virtualbox runs OK.

Stuart

Oh FANTASTIC Stuart - fixed it right up! Thanks much!

Bill

Hi,

Unfortunatly, it doesn’t work on my machine.

In root :

/etc/init.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.

There is noting in dmesg related to vboxdrv.

Any help please?

sudo  zypper se -iv virtualbox
Chargement des données du dépôt...
Lecture des paquets installés...

S | Nom                         | Type   | Version                | Arch   | Dépôt            
--+-----------------------------+--------+------------------------+--------+------------------
i | virtualbox                  | paquet | 5.1.18-1.11            | x86_64 | repo-oss         
    name: virtualbox
i | virtualbox                  | paquet | 5.1.18-1.11            | x86_64 | (Paquets système)
    name: virtualbox
i | virtualbox-host-kmp-default | paquet | 5.1.18_k4.10.10_1-1.11 | x86_64 | repo-oss         
    name: virtualbox-host-kmp-default
i | virtualbox-host-kmp-default | paquet | 5.1.18_k4.10.10_1-1.11 | x86_64 | (Paquets système)
    name: virtualbox-host-kmp-default
i | virtualbox-qt               | paquet | 5.1.18-1.11            | x86_64 | repo-oss         
    name: virtualbox-qt
i | virtualbox-qt               | paquet | 5.1.18-1.11            | x86_64 | (Paquets système)

zypper lr -d                         
Les priorités des dépôts sont sans effet. Tous les dépôts activés partagent la même priorité.

#  | Alias                               | Nom                                                                            | Activé | Vérification GPG | Rafraichir | Priorité | Type   | URI                                                                                             | Service
---+-------------------------------------+--------------------------------------------------------------------------------+--------+------------------+------------+----------+--------+-------------------------------------------------------------------------------------------------+--------
 1 | POL                                 | POL                                                                            | Non    | ----             | ----       |   99     | rpm-md | http://download.opensuse.org/repositories/X11:/wxWidgets/openSUSE_Tumbleweed/                   |        
 2 | VLC                                 | VLC                                                                            | Non    | ----             | ----       |   99     | rpm-md | http://download.videolan.org/pub/vlc/SuSE/Tumbleweed                                            |        
 3 | home_benjamin_poirier_bug962704     | NETDEV WATCHDOG: eth0 (r8169): transmit queue 0 timed out (openSUSE_Leap_42.1) | Non    | ----             | ----       |   99     | rpm-md | http://download.opensuse.org/repositories/home:/benjamin_poirier:/bug962704/openSUSE_Leap_42.1/ |        
 4 | home_moonwolf_scudcloud             | scudcloud (openSUSE_Tumbleweed)                                                | Non    | ----             | ----       |   99     | rpm-md | http://download.opensuse.org/repositories/home:/moonwolf:/scudcloud/openSUSE_Tumbleweed/        |        
 5 | http-download.opensuse.org-5af9a402 | home:MasterPatricko                                                            | Non    | ----             | ----       |   99     | rpm-md | http://download.opensuse.org/repositories/home:/MasterPatricko/openSUSE_Tumbleweed/             |        
 6 | http-download.opensuse.org-5e724396 | home:moonwolf:scudcloud                                                        | Non    | ----             | ----       |   99     | rpm-md | http://download.opensuse.org/repositories/home:/moonwolf:/scudcloud/openSUSE_Tumbleweed/        |        
 7 | http-download.opensuse.org-6b98c64c | windows:mingw:win64                                                            | Non    | ----             | ----       |   99     | rpm-md | http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_Factory/               |        
 8 | http-download.opensuse.org-6d938eb9 | windows:mingw:win32                                                            | Non    | ----             | ----       |   99     | rpm-md | http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Factory/               |        
 9 | http-download.opensuse.org-d1eefcec | home:ecsos                                                                     | Non    | ----             | ----       |   99     | rpm-md | http://download.opensuse.org/repositories/home:/ecsos/openSUSE_Factory/                         |        
10 | http-download.opensuse.org-ddd5e18f | home:ecsos:pipelight                                                           | Non    | ----             | ----       |   99     | rpm-md | http://download.opensuse.org/repositories/home:/ecsos:/pipelight/openSUSE_Factory/              |        
11 | http-download.opensuse.org-ea777626 | openSUSE:Leap:42.1                                                             | Non    | ----             | ----       |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.1/repo/oss/                                   |        
12 | http-download.opensuse.org-eb829209 | home:T1loc                                                                     | Non    | ----             | ----       |   99     | rpm-md | http://download.opensuse.org/repositories/home:/T1loc/openSUSE_Factory/                         |        
13 | http-download.opensuse.org-fb089020 | home:worldcitizen:networkdrivers                                               | Non    | ----             | ----       |   99     | rpm-md | http://download.opensuse.org/repositories/home:/worldcitizen:/networkdrivers/openSUSE_Factory/  |        
14 | isv_ownCloud_desktop                | The ownCloud Desktop Client (openSUSE_Tumbleweed)                              | Non    | ----             | ----       |   99     | rpm-md | http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/openSUSE_Tumbleweed/           |        
15 | packman                             | packman                                                                        | Non    | ----             | ----       |   99     | rpm-md | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/                             |        
16 | repo-debug                          | repo-debug                                                                     | Oui    | (r ) Oui         | Oui        |   99     | yast2  | http://download.opensuse.org/tumbleweed/repo/debug                                              |        
17 | repo-non-oss                        | repo-non-oss                                                                   | Oui    | (r ) Oui         | Oui        |   99     | yast2  | http://download.opensuse.org/tumbleweed/repo/non-oss                                            |        
18 | repo-oss                            | repo-oss                                                                       | Oui    | (r ) Oui         | Oui        |   99     | yast2  | http://download.opensuse.org/tumbleweed/repo/oss                                                |        
19 | repo-src-non-oss                    | repo-src-non-oss                                                               | Oui    | (r ) Oui         | Oui        |   99     | yast2  | http://download.opensuse.org/tumbleweed/repo/src-non-oss                                        |        
20 | repo-src-oss                        | repo-src-oss                                                                   | Oui    | (r ) Oui         | Oui        |   99     | yast2  | http://download.opensuse.org/tumbleweed/repo/src-oss                                            |        
21 | repo-update                         | repo-update                                                                    | Oui    | (r ) Oui         | Oui        |   99     | rpm-md | http://download.opensuse.org/update/tumbleweed/       


uname -a
Linux linux-z3id 4.10.10-1-default #1 SMP PREEMPT Wed Apr 12 11:18:29 UTC 2017 (a78ebd0) x86_64 x86_64 x86_64 GNU/Linux

Well I am using VirtualBox 5.1.20 on Tumbleweed and that works OK, dont know about your version - sorry.

Stuart

Hi broadstairs,
and thnaks for your answer.

I tried to install 5.1.20 version for the download page : https://www.virtualbox.org/wiki/Downloads

Then, after remove virtualbox with zypper, i tried to install the package with rpm :


sudo zypper remove virtualbox
Chargement des données du dépôt...
Lecture des paquets installés...
Résolution des dépendances des paquets...

Les 2 applications suivantes vont être SUPPRIMÉES :
  Desktop "System Tray"

Les 2 paquets suivants vont être SUPPRIMÉS :
  virtualbox virtualbox-qt

2 paquets à supprimer.
Après l'opération, 59,1 MiB d'espace disque sera libéré.
Continuer ? [o/n/...? affiche toutes les options] (o): o
(1/2) Suppression de virtualbox-qt-5.1.18-1.11.x86_64 .......................................................................................................................................................................................[fait]
(2/2) Suppression de virtualbox-5.1.18-1.11.x86_64 ..........................................................................................................................................................................................[fait]
Sortie rpm supplémentaire:
vboxdrv.service is not a native service, redirecting to systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install disable vboxdrv
Failed to stop vboxdrv.service: Unit vboxdrv.service not loaded.


udo zypper remove virtualbox-host-kmp-default
Chargement des données du dépôt...
Lecture des paquets installés...
Résolution des dépendances des paquets...

Les 2 applications suivantes vont être SUPPRIMÉES :
  Desktop "System Tray"

Le paquet suivant va être SUPPRIMÉ :
  virtualbox-host-kmp-default

1 paquet à supprimer.
Après l'opération, 701,3 KiB d'espace disque sera libéré.
Continuer ? [o/n/...? affiche toutes les options] (o): o
(1/1) Suppression de virtualbox-host-kmp-default-5.1.18_k4.10.10_1-1.11.x86_64 ..............................................................................................................................................................[fait]
Sortie rpm supplémentaire:
warning: file /lib/modules/4.10.10-1-default/misc/vboxpci.ko: remove failed: No such file or directory
warning: file /lib/modules/4.10.10-1-default/misc/vboxnetflt.ko: remove failed: No such file or directory
warning: file /lib/modules/4.10.10-1-default/misc/vboxnetadp.ko: remove failed: No such file or directory
warning: file /lib/modules/4.10.10-1-default/misc/vboxdrv.ko: remove failed: No such file or directory


vincent@linux-z3id:~> sudo  zypper se -iv virtualbox
Chargement des données du dépôt...
Lecture des paquets installés...
Aucun élément correspondant n'a été trouvé.


sudo rpm -i VirtualBox-5.1-5.1.20_114628_openSUSE132-1.x86_64.rpm 
erreur : Dépendances requises:
        libvpx.so.1()(64bit) est nécessaire pour VirtualBox-5.1-5.1.20_114628_openSUSE132-1.x86_64

I don’t managed to resolve this dependency.

Can you help me please?

I reply to myself.
I downloaded the old library from here : https://rpmfind.net/linux/rpm2html/search.php?query=libvpx.so.1()(64bit)

I seleted

and installed it :


sudo zypper install libvpx1-1.3.0-2.1.2.x86_64.rpm
.........
Récupération de paquet libvpx1-1.3.0-2.1.2.x86_64                                                                                                                                                          (1/1), 555,1 KiB (  1,6 MiB décompressé)
Recherche de conflits de fichiers : .........................................................................................................................................................................................................[fait]
(1/1) Installation : libvpx1-1.3.0-2.1.2.x86_64 .............................................................................................................................................................................................[fait]

Then I installed VB 5.1.20 by the same way.

sudo zypper install VirtualBox-5.1-5.1.20_114628_openSUSE132-1.x86_64.rpm
Chargement des données du dépôt...
Lecture des paquets installés...
Résolution des dépendances des paquets...

Le NOUVEAU paquet suivant va être installé :
  VirtualBox-5.1

Les 2 applications suivantes vont être SUPPRIMÉES :
  Desktop "System Tray"

1 nouveau paquet à installer.
Taille de téléchargement totale : 62,9 MiB. Déjà en cache : 0 B. Après l'opération, 145,9 MiB d'espace disque supplémentaire sera utilisé.
Continuer ? [o/n/...? affiche toutes les options] (o): o
Récupération de paquet VirtualBox-5.1-5.1.20_114628_openSUSE132-1.x86_64                                                                                                                                   (1/1),  62,9 MiB (145,9 MiB décompressé)
Recherche de conflits de fichiers : .........................................................................................................................................................................................................[fait]
(1/1) Installation : VirtualBox-5.1-5.1.20_114628_openSUSE132-1.x86_64 ......................................................................................................................................................................[fait]
Sortie rpm supplémentaire:

Creating group 'vboxusers'. VM users must be member of that group!

Created symlink /etc/systemd/system/multi-user.target.wants/vboxdrv.service -> /usr/lib/systemd/system/vboxdrv.service.
Created symlink /etc/systemd/system/multi-user.target.wants/vboxballoonctrl-service.service -> /usr/lib/systemd/system/vboxballoonctrl-service.service.
Created symlink /etc/systemd/system/multi-user.target.wants/vboxautostart-service.service -> /usr/lib/systemd/system/vboxautostart-service.service.
Created symlink /etc/systemd/system/multi-user.target.wants/vboxweb-service.service -> /usr/lib/systemd/system/vboxweb-service.service.

I had to install the new VB Extension Pack, and now, my VM is running.

But I must say that I am not really happy with that solution. I hope that installing the old livpx library will not broke something on my system, and I prefer install a package form a repo…

Wait and see…

just a thought, virtualbox from tumbleweed repos has been absolutely solid (except trivial modprobe vboxdrv issue of late) and tracks upstream release quite closely. If your having trouble with upstream version, just use this (rather than using rpmfind etc).

There are more topics about this issue.
And it’s not just a virtualbox that does not start, I also have the same problem with webmin.
The problem is in init.d … the files for virtualbox and webmin are corrupt.

If the init.d file for virtualbox is corrupt why when I run it manually does it then work? Yes it fails on boot but runs manually.

Stuart

Okay, you have a point there.

No, they are not corrupt.

It’s a general problem that scripts in /etc/init.d/ are no longer started on boot:
https://bugzilla.opensuse.org/show_bug.cgi?id=1035062

Apparently, creating a symlink named /etc/rc.d/ that points to /etc/init.d/ should “fix” it.

sudo ln -s /etc/init.d/ /etc/rc.d

Indeed, this fixes it, after restart everything works again.
thank you…

Awesome, thanks! That did the trick.