virtualbox kernel drivers not loaded after upgrade

Bug #1591051 reported by Wolf Rogner
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
virtualbox (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Virtualbox does not automatically update vboxdrv after kernel upgrade even though installed from repo and dkms installed as well.

This is a reoccurance of bug #1580336.

Sorry, was not fixed.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: virtualbox 5.0.18-dfsg-2build1
ProcVersionSignature: Ubuntu 4.4.0-24.43-generic 4.4.10
Uname: Linux 4.4.0-24-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_modeset nvidia wl
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Jun 10 07:52:10 2016
InstallationDate: Installed on 2013-05-17 (1119 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64+mac (20130424)
SourcePackage: virtualbox
UpgradeStatus: Upgraded to xenial on 2016-04-22 (48 days ago)

Revision history for this message
Wolf Rogner (war-rsb) wrote :
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

can you please try modprobe vboxdrv?

and post also the output of dpkg-reconfigure virtualbox-dkms

you might want to try a new release
https://launchpad.net/~costamagnagianfranco/+archive/ubuntu/virtualbox-ppa

Revision history for this message
Wolf Rogner (war-rsb) wrote :

tried modprobe vboxdrv (as mentioned in the error dialog) but didn't work.
dpkg-reconfigure virtualbox-dkms claims to recompile (I don't have the output ready right now) but does not do it.
I work around this by reinstalling virtualbox.
(strangely enough it does a configuration there and this works)

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

I can't help without logs, sorry

Revision history for this message
Wolf Rogner (war-rsb) wrote :

Can't provide logs without a kernel update.
I will provide the logs next time a new kernel arrives.
(If I have resolved the issue and reinstall the kernel - uninstall first - the issue does not occur as the drivers are already available)

Please be patient :-)

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

You might want to try some kernels from here
http://kernel.ubuntu.com/~kernel-ppa/mainline/

just avoid yakkety kernels, because they are too new to build with your version :)

Revision history for this message
Rolf Leggewie (r0lf) wrote :

Looks a bit like bug 1466046 to me

Wolf, can you post the output of "find /lib/modules/|grep vbox" here?

Revision history for this message
Wolf Rogner (war-rsb) wrote :

I currently run Ubuntu 16.10 after a fresh reinstall. Vbox runs fine.

$ uname -a
Linux mbpr15 4.8.0-37-generic #39-Ubuntu SMP Thu Jan 26 02:27:07 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

/lib/modules/4.8.0-37-generic/updates/dkms/vboxdrv.ko
/lib/modules/4.8.0-37-generic/updates/dkms/vboxpci.ko
/lib/modules/4.8.0-37-generic/updates/dkms/vboxnetadp.ko
/lib/modules/4.8.0-37-generic/updates/dkms/vboxnetflt.ko
/lib/modules/4.8.0-37-generic/kernel/ubuntu/vbox
/lib/modules/4.8.0-37-generic/kernel/ubuntu/vbox/vboxvideo
/lib/modules/4.8.0-37-generic/kernel/ubuntu/vbox/vboxvideo/vboxvideo.ko
/lib/modules/4.8.0-37-generic/kernel/ubuntu/vbox/vboxguest
/lib/modules/4.8.0-37-generic/kernel/ubuntu/vbox/vboxguest/vboxguest.ko
/lib/modules/4.8.0-37-generic/kernel/ubuntu/vbox/vboxsf
/lib/modules/4.8.0-37-generic/kernel/ubuntu/vbox/vboxsf/vboxsf.ko
/lib/modules/4.8.0-34-generic/updates/dkms/vboxdrv.ko
/lib/modules/4.8.0-34-generic/updates/dkms/vboxpci.ko
/lib/modules/4.8.0-34-generic/updates/dkms/vboxnetadp.ko
/lib/modules/4.8.0-34-generic/updates/dkms/vboxnetflt.ko
/lib/modules/4.8.0-34-generic/kernel/ubuntu/vbox
/lib/modules/4.8.0-34-generic/kernel/ubuntu/vbox/vboxvideo
/lib/modules/4.8.0-34-generic/kernel/ubuntu/vbox/vboxvideo/vboxvideo.ko
/lib/modules/4.8.0-34-generic/kernel/ubuntu/vbox/vboxguest
/lib/modules/4.8.0-34-generic/kernel/ubuntu/vbox/vboxguest/vboxguest.ko
/lib/modules/4.8.0-34-generic/kernel/ubuntu/vbox/vboxsf
/lib/modules/4.8.0-34-generic/kernel/ubuntu/vbox/vboxsf/vboxsf.ko

I think, this bug can be closed.
Thanks for the effort.

Changed in virtualbox (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.