Yesterday I received a kernel upgrade and after reboot, VirtualBox stopped working.
Here is my system info (after kernel upgrade):
matteo@workstation:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.3 LTS"
matteo@workstation:~$ uname -a
Linux workstation 4.4.0-116-generic #140-Ubuntu SMP Mon Feb 12 21:23:04 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
I installed VirtualBox long ago with
sudo apt install linux-headers-$(uname -r)
sudo apt install virtualbox-dkms virtualbox virtualbox-qt
used on daily basis and never had problems with kernel updates. The error I receive now is
matteo@workstation:~$ sudo modprobe vboxdrv
modprobe: ERROR: could not insert 'vboxdrv': Exec format error
matteo@workstation:~$ dmesg | tail -n 1
[ 1413.167311] vboxdrv: version magic '4.4.0-116-generic SMP mod_unload modversions ' should be '4.4.0-116-generic SMP mod_unload modversions retpoline '
I found a forum post with this error message here from three days ago, unfortunately without resolution. Therfore I tried to remove the VirtualBox packeges from the Ubuntu repo, and install the latest 5.2 using this procedure. However, even after rebooting the machine, the error remains.
What can I do in this case?
shift
while booting, select "Advanced options for Ubuntu" and select an older kernel version from the menu, as explained here. I can confirm that my previous kernel version (4.4.0-112) does not have the problem described in the question, so that is a viable workaround until a solution is released. – matpen Feb 23 '18 at 22:24Esc
key. – D.Bugger Feb 26 '18 at 08:47shift
does work. It is not my case, but I have read of some people getting it to work only with "right shift" or "left shift". – matpen Feb 26 '18 at 15:34