virtualbox-dkms 4.1.12-dfsg-2ubuntu0.2: virtualbox kernel module failed to build

Bug #1173745 reported by Larry Price
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
virtualbox (Ubuntu)
New
Undecided
Unassigned

Bug Description

Recently reinstalled Ubuntu 12.04 to fix some video driver issues. Need to reestablish VirtualBox for the Windoze machines on the system. Installed VirtualBox through the Software Center. Tried to start using the launcher and it appeared there where permission issues. Trying to start as root generated the following:

lnprice@Asus1:/var/local/VirtualBox$ sudo virtualbox &
[1] 4607
lnprice@Asus1:/var/local/VirtualBox$ WARNING: The character device /dev/vboxdrv does not exist.
  Please install the virtualbox-ose-dkms package and the appropriate
  headers, most likely linux-headers-generic.

  You will not be able to start VMs until this problem is fixed.
lnprice@Asus1:/var/local/VirtualBox$ sudo apt-get install virtualbox-ose-dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  virtualbox-ose-dkms
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 22.2 kB of archives.
After this operation, 121 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise-updates/universe virtualbox-ose-dkms all 4.1.12-dfsg-2ubuntu0.2 [22.2 kB]
Fetched 22.2 kB in 0s (89.3 kB/s)
Selecting previously unselected package virtualbox-ose-dkms.
(Reading database ... 195275 files and directories currently installed.)
Unpacking virtualbox-ose-dkms (from .../virtualbox-ose-dkms_4.1.12-dfsg-2ubuntu0.2_all.deb) ...
Setting up virtualbox-ose-dkms (4.1.12-dfsg-2ubuntu0.2) ...
lnprice@Asus1:/var/local/VirtualBox$ sudo apt-get install linux-headers-generic
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-headers-generic is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
lnprice@Asus1:/var/local/VirtualBox$ sudo dpkg-reconfigure virtualbox-dkms

------------------------------
Deleting module version: 4.1.12
completely from the DKMS tree.
------------------------------
Done.
Loading new virtualbox-4.1.12 DKMS files...
Building only for 3.5.0-27-generic
Building initial module for 3.5.0-27-generic
Error! Bad return status for module build on kernel: 3.5.0-27-generic (x86_64)
Consult /var/lib/dkms/virtualbox/4.1.12/build/make.log for more information.
 * Stopping VirtualBox kernel modules [ OK ]
 * Starting VirtualBox kernel modules * No suitable module for running kernel found
                                                                            [fail]
invoke-rc.d: initscript virtualbox, action "restart" failed.
lnprice@Asus1:/var/local/VirtualBox$

 I cannot get VirtualBox to start and need to have a solution quickly. Thank your for your promptness.

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: virtualbox-dkms 4.1.12-dfsg-2ubuntu0.2
ProcVersionSignature: Ubuntu 3.5.0-27.46~precise1-generic 3.5.7.7
Uname: Linux 3.5.0-27-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu17.2
Architecture: amd64
DKMSKernelVersion: 3.5.0-27-generic
Date: Sat Apr 27 14:59:58 2013
InstallationMedia: Ubuntu 12.04.2 LTS "Precise Pangolin" - Release amd64 (20130213)
MarkForUpload: True
PackageArchitecture: all
PackageVersion: 4.1.12-dfsg-2ubuntu0.2
SourcePackage: virtualbox
Title: virtualbox-dkms 4.1.12-dfsg-2ubuntu0.2: virtualbox kernel module failed to build
UpgradeStatus: No upgrade log present (probably fresh install)
VirtualBox.ModInfo:

Revision history for this message
Larry Price (lnprice) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 1016165, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

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.