Virual box crash with kernel update

Discussions related to using VirtualBox on Linux hosts.
Post Reply
JimA
Posts: 13
Joined: 29. Jan 2016, 00:09
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: WIndows
Location: North Carolina, USA

Virual box crash with kernel update

Post by JimA »

This morning I got a kernel update for Ubuntu 14.04 to 3.19.0-49.

I could not run any of my virtual machines. To fix this I had to reinstall the .deb file for virtualbox 5.0.

Is this normal?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Virual box crash with kernel update

Post by Perryg »

This usually indicates you do not have dkms installed that works to keep kernel modules up to date when a new kernel is installed or that dkms if installed is not working properly.
It also depends on what VirtualBox is installed ( Repo versus official builds ).
JimA
Posts: 13
Joined: 29. Jan 2016, 00:09
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: WIndows
Location: North Carolina, USA

Re: Virual box crash with kernel update

Post by JimA »

Perryg wrote:This usually indicates you do not have dkms installed that works to keep kernel modules up to date when a new kernel is installed or that dkms if installed is not working properly.
It also depends on what VirtualBox is installed ( Repo versus official builds ).
I have dkms install for sure. It gave me a command I could run as root '/sbin/rcvboxdrv setup'

It failed with the error' Bad Argument setup'

I'm running the latest linux virtualbox-5.0_5.0.14-105127~Ubuntu~trusty_amd64.deb

If I close VB and reinstall the .deb, I can get it working again.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Virual box crash with kernel update

Post by Perryg »

Still you don't say if you installed from the Repo or from VirtualBox.

The bad argument is only a part of the warning and I would need to complete warning to say what it might be.
JimA
Posts: 13
Joined: 29. Jan 2016, 00:09
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: WIndows
Location: North Carolina, USA

Re: Virual box crash with kernel update

Post by JimA »

I installed from virtualbox website. got the latest .deb and extensions. I did the prerequisites

sudo apt-get install dkms

I double-clicked on the .deb file downloaded from the website and installed.

then doubled clicked on the extensions and installed.

then sudo usermod -a -G vboxusers username

The only text put on the screen was ' Bad Argument setup' when I ran /sbin/rcvboxdrv setup
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Virual box crash with kernel update

Post by Perryg »

I suspect this has to do with the change from init.d to systemv Some have a carry over of the former and it causes issues. Most find that a purge of the installed version and then install of the new version again repairs this. Your settings and guests will remain, but I always suggest a good backup is never out of order.
Post Reply