Problem is still there with the latest kernel & virtualbox-4.1:

oem@oem-desktop:~$ sudo /etc/init.d/vboxdrv setup
[sudo] password for oem: 
 * Stopping VirtualBox kernel modules                                           
                                    [ OK ] 
 * Uninstalling old VirtualBox DKMS kernel modules                              
                                    [ OK ] 
 * Removing old VirtualBox netadp kernel module                                 
                                    [ OK ] 
 * Removing old VirtualBox netflt kernel module                                 
                                    [ OK ] 
 * Removing old VirtualBox kernel module                                        
                                    [ OK ] 
 * Trying to register the VirtualBox kernel modules using DKMS                  
                                           Error! Bad return status for module 
build on kernel: 3.2.0-2-generic-pae (i686)
Consult /var/lib/dkms/vboxhost/4.1.6/build/make.log for more information.

 * Failed, trying without DKMS
 * Recompiling VirtualBox kernel modules                                        
                                           
 * Look at /var/log/vbox-install.log to find out what went wrong

Some kernel change related to iommu seems to break the Oracle package:

https://lkml.org/lkml/2011/6/22/106

/var/lib/dkms/vboxhost/4.1.6/build/vboxpci/linux/VBoxPci-linux.c  have
some #include entries:

#include <linux/intel-iommu.h>
#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 1, 0)
# include <asm/amd_iommu.h>
#else
# include <linux/amd-iommu.h>

we can see they are not found apparently:

oem@oem-desktop:~$ sudo find / -name amd-iommu.h
[sudo] password for oem: 
/usr/src/linux-headers-3.2.0-2/include/linux/amd-iommu.h
/usr/src/linux-headers-3.2.0-2-generic/include/linux/amd-iommu.h
/usr/src/linux-headers-3.2.0-3-generic-pae/include/linux/amd-iommu.h
/usr/src/linux-headers-3.2.0-3/include/linux/amd-iommu.h
/usr/src/linux-headers-3.2.0-2-generic-pae/include/linux/amd-iommu.h

so its amd-iommu.h (with hypen, not underscore) & kernels are 3.2 of
course.

This issue is not only an Ubuntu issue:
https://forums.virtualbox.org/viewtopic.php?f=7&t=46430

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/892506

Title:
  [Precise] virtualbox-dkms 4.1.4-dfsg-1: virtualbox kernel module
  failed to build (erreur: implicit declaration of function
  ‘iommu_found’)

To manage notifications about this bug go to:
https://bugs.launchpad.net/virtualbox/+bug/892506/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to