package virtualbox-ose-dkms 3.1.6-dfsg-2ubuntu2 failed to install/upgrade: virtualbox-ose kernel module failed to build

Asked by Darius S. Naqvi

On mythbuntu 10.04, virtualbox-ose-dkms doesn't install because the kernel module doesn't build:

var/lib/dkms/virtualbox-ose/3.1.6/build/vboxdrv/linux/SUPDrv-linux.c: In function ‘VBoxDrvLinuxInit’:
/var/lib/dkms/virtualbox-ose/3.1.6/build/vboxdrv/linux/SUPDrv-linux.c:443: error: ‘nmi_watchdog’ undeclared (first use in this function)
/var/lib/dkms/virtualbox-ose/3.1.6/build/vboxdrv/linux/SUPDrv-linux.c:443: error: (Each undeclared identifier is reported only once
/var/lib/dkms/virtualbox-ose/3.1.6/build/vboxdrv/linux/SUPDrv-linux.c:443: error: for each function it appears in.)
/var/lib/dkms/virtualbox-ose/3.1.6/build/vboxdrv/linux/SUPDrv-linux.c:443: error: ‘NMI_IO_APIC’ undeclared (first use in this function)
/var/lib/dkms/virtualbox-ose/3.1.6/build/vboxdrv/linux/SUPDrv-linux.c:457: error: ‘nmi_active’ undeclared (first use

I'm not running the usual kernel for 10.04. I'm running 2.6.38, because lirc wasn't working with the standard kernel.

However, I suspect that the fact that I'm using a non-default kernel is the reason that the virtualbox kernel modules
won't build.

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: virtualbox-ose-dkms 3.1.6-dfsg-2ubuntu2
ProcVersionSignature: Ubuntu 2.6.38-13.53~lucid1-generic-pae 2.6.38.8
Uname: Linux 2.6.38-13-generic-pae i686
Architecture: i386
Date: Mon Dec 26 13:04:16 2011
ErrorMessage: virtualbox-ose kernel module failed to build
InstallationMedia: Mythbuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100427.1)
PackageArchitecture: all
PackageVersion: 3.1.6-dfsg-2ubuntu2
SourcePackage: virtualbox-ose
Title: package virtualbox-ose-dkms 3.1.6-dfsg-2ubuntu2 failed to install/upgrade: virtualbox-ose kernel module failed to build
VirtualBoxOse.ModInfo:

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu virtualbox-ose Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Daniel Letzeisen (dtl131) said :
#1

Converting to a question since the issue involves a custom kernel.

Revision history for this message
Daniel Letzeisen (dtl131) said :
#2

Unfortunately, the version of virtualbox included in lucid (3.1.6) is not compatible with kernels > 2.6.33
You're using a backported kernel (2.6.38), so you either need to use the stock lucid kernel (2.6.32) or use a later version of virtualbox.
You can obtain newer versions of vbox here: https://www.virtualbox.org/wiki/Downloads

Revision history for this message
delance (olivier-delance) said :
#3

VirtualBox has also it's own forum. You could try it.

Revision history for this message
Randall Whitman (ubuntu-whizman) said :
#4

sudo add-apt-repository ppa:debfx/virtualbox
sudo aptitude dist-upgrade virtualbox

Revision history for this message
rickyrockrat (rickyrockrat) said :
#5

It looks like this was broken starting in 2.6.38, which I discovered by doing some searches on
http://lxr.linux.no

Can you help with this problem?

Provide an answer of your own, or ask Darius S. Naqvi for more information if necessary.

To post a message you must log in.