root@Dell5280 [~]# modinfo vboxdrv
filename: /lib/modules/4.13.0-31-generic/updates/dkms/vboxdrv.ko
modinfo: ERROR: could not get modinfo from 'vboxdrv': No such file or directory
[1] root@Dell5280 [~]# /sbin/vboxconfig
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
vboxdrv.sh: Starting VirtualBox services.
So, in my case, the kernel modules were not removed properly.
Here are the details:
root@Dell5280 [~]# cat /etc/lsb-release RELEASE= 16.04 CODENAME= xenial DESCRIPTION= "Ubuntu 16.04.3 LTS
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
root@Dell5280 [~]# uname -r
4.13.0-31-generic
Problem: 4.13.0- 31-generic/ updates/ dkms/vboxdrv. ko 0489A130
root@Dell5280 [~]# modinfo vboxdrv
filename: /lib/modules/
version: 5.0.40_Ubuntu r115130 (0x00240000)
license: GPL
description: Oracle VM VirtualBox Support Driver
author: Oracle Corporation
srcversion: 6D8B4900A693FC5
depends:
name: vboxdrv
vermagic: 4.13.0-31-generic SMP mod_unload
FIX:
root@Dell5280 [~]# rm /lib/modules/ 4.13.0- 31-generic/ updates/ dkms/vboxdrv. ko
root@Dell5280 [~]# modinfo vboxdrv 4.13.0- 31-generic/ updates/ dkms/vboxdrv. ko
filename: /lib/modules/
modinfo: ERROR: could not get modinfo from 'vboxdrv': No such file or directory
[1] root@Dell5280 [~]# /sbin/vboxconfig
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
vboxdrv.sh: Starting VirtualBox services.
root@Dell5280 [~]# modinfo vboxdrv 4.13.0- 31-generic/ misc/vboxdrv. ko D6402982 tsc:force the asynchronous TSC mode (int)
filename: /lib/modules/
version: 5.2.7 r120349 (0x00290000)
license: GPL
description: Oracle VM VirtualBox Support Driver
author: Oracle Corporation
srcversion: 4880B21EFF1B605
depends:
name: vboxdrv
vermagic: 4.13.0-31-generic SMP mod_unload
parm: force_async_
After this, everything works (at least in my case)
Hope it helps.