virtualbox-dkms 5.0.36-dfsg-0ubuntu1.16.04.2: virtualbox kernel module failed to build

Bug #1682809 reported by ajay on 2017-04-14
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
virtualbox (Ubuntu)
Undecided
Unassigned

Bug Description

The problem came while installing KDE Plasma on Ubuntu 16.04 (Below is the error encountered):--

Building initial module for 4.4.0-71-generic
Error! Bad return status for module build on kernel: 4.4.0-71-generic (x86_64)
Consult /var/lib/dkms/virtualbox/5.0.36/build/make.log for more information.
Job for virtualbox.service failed because the control process exited with error code. See "systemctl status virtualbox.service" and "journalctl -xe" for details.
invoke-rc.d: initscript virtualbox, action "restart" failed.
● virtualbox.service - LSB: VirtualBox Linux kernel module
   Loaded: loaded (/etc/init.d/virtualbox; bad; vendor preset: enabled)
   Active: failed (Result: exit-code) since Fri 2017-04-14 14:32:35 CEST; 6ms ago
     Docs: man:systemd-sysv-generator(8)
  Process: 5516 ExecStart=/etc/init.d/virtualbox start (code=exited, status=1/FAILURE)

Apr 14 14:32:24 xxxxxxx7 systemd[1]: Starting LSB: VirtualBox Linux kernel module...
Apr 14 14:32:24 xxxxxxx7 virtualbox[5516]: * Loading VirtualBox kernel modules...
Apr 14 14:32:35 xxxxxxx7 virtualbox[5516]: * No suitable module for running kernel found
Apr 14 14:32:35 xxxxxxx7 virtualbox[5516]: ...fail!
Apr 14 14:32:35 xxxxxxx7 systemd[1]: virtualbox.service: Control process exited, code=exited status=1
Apr 14 14:32:35 xxxxxxx7 systemd[1]: Failed to start LSB: VirtualBox Linux kernel module.
Apr 14 14:32:35 xxxxxxx7 systemd[1]: virtualbox.service: Unit entered failed state.
Apr 14 14:32:35 xxxxxxx7 systemd[1]: virtualbox.service: Failed with result 'exit-code'.
Setting up virtualbox (5.0.36-dfsg-0ubuntu1.16.04.2) ...
vboxweb.service is a disabled or a static unit, not starting it.
Job for virtualbox.service failed because the control process exited with error code. See "systemctl status virtualbox.service" and "journalctl -xe" for details.
invoke-rc.d: initscript virtualbox, action "restart" failed.
● virtualbox.service - LSB: VirtualBox Linux kernel module
   Loaded: loaded (/etc/init.d/virtualbox; bad; vendor preset: enabled)
   Active: failed (Result: exit-code) since Fri 2017-04-14 14:32:37 CEST; 6ms ago
     Docs: man:systemd-sysv-generator(8)
  Process: 5802 ExecStart=/etc/init.d/virtualbox start (code=exited, status=1/FAILURE)

Apr 14 14:32:37 xxxxxxx7 systemd[1]: Stopped LSB: VirtualBox Linux kernel module.
Apr 14 14:32:37 xxxxxxx7 systemd[1]: Starting LSB: VirtualBox Linux kernel module...
Apr 14 14:32:37 xxxxxxx7 virtualbox[5802]: * Loading VirtualBox kernel modules...
Apr 14 14:32:37 xxxxxxx7 virtualbox[5802]: * No suitable module for running kernel found
Apr 14 14:32:37 xxxxxxx7 virtualbox[5802]: ...fail!
Setting up virtualbox-ext-pack (5.0.36-0ubuntu1.16.04.2) ...
virtualbox-ext-pack: downloading: http://download.virtualbox.org/virtualbox/5.0.36/Oracle_VM_VirtualBox_Extension_Pack-5.0.36.vbox-extpack
The file will be downloaded into /usr/share/virtualbox-ext-pack
WARNING: The character device /dev/vboxdrv does not exist.
  Please install the virtualbox-dkms package and the appropriate
  headers, most likely linux-headers-generic.

  You will not be able to start VMs until this problem is fixed.
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Successfully installed "Oracle VM VirtualBox Extension Pack".

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: virtualbox-dkms 5.0.36-dfsg-0ubuntu1.16.04.2
ProcVersionSignature: Ubuntu 4.4.0-71.92-generic 4.4.49
Uname: Linux 4.4.0-71-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
DKMSKernelVersion: 4.4.0-71-generic
Date: Fri Apr 14 14:32:23 2017
DuplicateSignature: dkms:virtualbox-dkms:5.0.36-dfsg-0ubuntu1.16.04.2:gcc: error: unrecognized command line option ‘-fstack-protector-strong’
InstallationDate: Installed on 2016-10-16 (179 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
PackageArchitecture: all
PackageVersion: 5.0.36-dfsg-0ubuntu1.16.04.2
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.1
 apt 1.2.19
SourcePackage: virtualbox
Title: virtualbox-dkms 5.0.36-dfsg-0ubuntu1.16.04.2: virtualbox kernel module failed to build
UpgradeStatus: No upgrade log present (probably fresh install)

ajay (ajaynehra2) wrote :
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers