Ubuntu – virtualbox crash on kernel 4.13.0-26

kernelvirtualbox

Ubuntu 16.04 LTS
Virtualbox 5.0.40 ubuntu r 115130

Today after upgrading to kernel 4.13.0-26 guest vbox machines started to crash whole ubuntu. just hard poweroff is working.

If I startup with kernel 4.10.0-42 everything works fine.

what may be the problem ?

Best Answer

Virtualbox 5.0.40 is not working with the new kernel (4.13.0-26), but the new version of VBox (5.2) works fine.

Download it from VirtualBox page or add the source to your /etc/apt/sources.list:

deb http://download.virtualbox.org/virtualbox/debian xenial contrib

If you use a different version of Ubuntu than 16.04, use the appropriate name instead of xenial.

Add Oracle public key:

wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -

Update repositories and install virtualbox-5.2:

sudo apt-get update
sudo apt-get install virtualbox-5.2

On one of my laptops, VM didn't want to start before I removed virutalbox-dkms:

sudo apt-get remove virtualbox-dkms

After the update, I had a problem after starting the virtual-machine (see VirtualBox - RTR3InitEx failed with rc=-1912 (rc=-1912)). As suggested in the first comment, it had been fixed with the following call:

sudo /sbin/vboxconfig