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

Bug #892506 reported by dino99
724
This bug affects 91 people
Affects Status Importance Assigned to Milestone
Virtualbox
Fix Released
Unknown
virtualbox (Ubuntu)
Fix Released
Undecided
Felix Geyer

Bug Description

Got this while installing new 3.2 kernel on Precise i386

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: virtualbox-dkms 4.1.4-dfsg-1
ProcVersionSignature: Ubuntu 3.1.0-2.3-generic-pae 3.1.0
Uname: Linux 3.1.0-2-generic-pae i686
NonfreeKernelModules: nvidia
ApportVersion: 1.26-0ubuntu1
Architecture: i386
DKMSKernelVersion: 3.2.0-1-generic-pae
Date: Sat Nov 19 14:48:23 2011
PackageArchitecture: all
PackageVersion: 4.1.4-dfsg-1
SourcePackage: virtualbox
Title: virtualbox-dkms 4.1.4-dfsg-1: virtualbox kernel module failed to build
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
dino99 (9d9) wrote :
tags: removed: need-duplicate-check
Revision history for this message
dino99 (9d9) wrote :

Paramétrage de linux-image-3.2.0-1-generic-pae (3.2.0-1.1) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 3.2.0-1-generic-pae /boot/vmlinuz-3.2.0-1-generic-pae
Error! Build of xt_quota2.ko failed for: 3.2.0-1-generic-pae (i686)
Consult the make.log in the build directory
/var/lib/dkms/xtables-addons/1.37/build/ for more information.
Error! Bad return status for module build on kernel: 3.2.0-1-generic-pae (i686)
Consult /var/lib/dkms/virtualbox/4.1.4/build/make.log for more information.
Error! Bad return status for module build on kernel: 3.2.0-1-generic-pae (i686)
Consult /var/lib/dkms/vboxhost/4.1.6/build/make.log for more information.

Installed:
- virtualbox-4.1 4.1.6-74713-ubuntu-oneiric (download.virtualbox.org)
- virtualbox-dkms 4.1.4-dfsg-1 (precise)

Revision history for this message
dino99 (9d9) wrote :

Might need to sync with Debian Sid which have 4.16. virtualbox-dkms
http://packages.debian.org/sid/virtualbox-dkms

Revision history for this message
Felix Geyer (debfx) wrote :

> Installed:
> - virtualbox-4.1 4.1.6-74713-ubuntu-oneiric (download.virtualbox.org)
> - virtualbox-dkms 4.1.4-dfsg-1 (precise)

Please never mix packages from virtualbox.org and virtualbox packages from the ubuntu archive.

Changed in virtualbox (Ubuntu):
assignee: nobody → Felix Geyer (debfx)
status: New → In Progress
Revision history for this message
dino99 (9d9) wrote :

You are right !!!

from Oracle:
Note: Ubuntu/Debian users might want to install the dkms package to ensure that the VirtualBox host kernel modules (vboxdrv, vboxnetflt and vboxnetadp) are properly updated if the linux kernel version changes during the next apt-get upgrade.

So the ubuntu archive might need some cleaning, as these virtualbox-ose packages seem outdated now (ex SUN packages) & virtualbox-dkms simply replaced by dkms dependency.

summary: [Precise] virtualbox-dkms 4.1.4-dfsg-1: virtualbox kernel module failed
- to build
+ to build (erreur: implicit declaration of function ‘iommu_found’)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package virtualbox - 4.1.6-dfsg-2

---------------
virtualbox (4.1.6-dfsg-2) unstable; urgency=low

  * Fix build errors with kernel 3.2. (LP: #892506)
    - Add 36-kernel-3.2.patch, cherry-picked from upstream.
  * Make dependencies of the dkms packages on virtualbox/virtualbox-guest-utils
    versioned.
  * Move VBoxDbg.so to virtualbox-qt as it's a GUI component.

 -- Felix Geyer <email address hidden> Sat, 19 Nov 2011 18:55:11 +0100

Changed in virtualbox (Ubuntu):
status: In Progress → Fix Released
Changed in virtualbox:
status: Unknown → New
Revision history for this message
dino99 (9d9) wrote :

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

Revision history for this message
dino99 (9d9) wrote :

vbox-install.log:

make KBUILD_VERBOSE=1 SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 -C /lib/modules/3.2.0-2-generic-pae/build modules
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
 echo; \
 echo " ERROR: Kernel configuration is invalid."; \
 echo " include/generated/autoconf.h or include/config/auto.conf are missing.";\
 echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \

/tmp/vbox.0/linux/VBoxPci-linux.c: In function ‘VBoxPciLinuxInit’:
/tmp/vbox.0/linux/VBoxPci-linux.c:149:5: erreur: implicit declaration of function ‘iommu_found’ [-Werror=implicit-function-declaration]
/tmp/vbox.0/linux/VBoxPci-linux.c: In function ‘vboxPciOsInitVm’:
/tmp/vbox.0/linux/VBoxPci-linux.c:989:9: erreur: too few arguments to function ‘iommu_domain_alloc’
include/linux/iommu.h:68:29: note: declared here
/tmp/vbox.0/linux/VBoxPci-linux.c:996:35: attention : assignment from incompatible pointer type [enabled by default]
cc1: some warnings being treated as errors

make[2]: *** [/tmp/vbox.0/linux/VBoxPci-linux.o] Erreur 1
make[1]: *** [_module_/tmp/vbox.0] Erreur 2
make: *** [vboxpci] Erreur 2

Make.log:

  CC [M] /var/lib/dkms/vboxhost/4.1.6/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.o
/var/lib/dkms/vboxhost/4.1.6/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c: In function ‘rtR0MemObjNativeLockKernel’:
/var/lib/dkms/vboxhost/4.1.6/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:910:12: attention : comparaison entre un pointeur et un entier [enabled by default]
/var/lib/dkms/vboxhost/4.1.6/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:910:58: attention : comparaison entre un pointeur et un entier [enabled by default]
  CC [M] /var/lib/dkms/vboxhost/4.1.6/build/vboxdrv/r0drv/linux/memuserkernel-r0drv-linux.o

Revision history for this message
Felix Geyer (debfx) wrote :

virtualbox-4.1 is not a package from the Ubuntu repository.

Changed in virtualbox:
status: New → Fix Released
Changed in virtualbox (Ubuntu):
status: Fix Released → Confirmed
status: Confirmed → Fix Released
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Still getting lots of duplicates from users of Ubuntu 12.04 running virtualbox-dkms 4.1.2 (the version from Ubuntu 11.10).

It appears perhaps virtualbox-dkms does not upgrade properly when you upgrade ubuntu 11.10 to 12.04. Because users of Ubuntu 12.04 should have virtualbox-dkms version 4.1.12, not 4.1.2:
https://launchpad.net/ubuntu/+source/virtualbox

Revision history for this message
Riccardo Contri (riccardocontri) wrote : some funny stuff

Hi!

I've chosen a couple of fun thing for you, they're just driving me crazy)) Just take a look http://subject.giganticnoise.com

Sincerely yours, Riccardo Contri

Sent from Mail for Windows 10

Revision history for this message
Riccardo Contri (riccardocontri) wrote : Re: something nice

Dear friend!

There is something nice I wanted to show you, it reminded me of you))) Please take a look https://clck.ru/BGc2u

Thanks for your consideration, Riccardo Contri

Sent from Mail for Windows 10

Revision history for this message
Riccardo Contri (riccardocontri) wrote : ✈amazing people

Hi!

I just wanted to share some interesting thoughts about amazing people I met yesterday, please read more here http://neweraschoolskmm.com/img/jlxads/a7jravu/yvsdbh35/bulk.php?9d9c

Speak to you later, Riccardo Contri

From: Bug 892506 [mailto:<email address hidden>]
Sent: Monday, July 10, 2017 7:15 PM
To: <email address hidden>
Subject: *in baby voice*. NO

Being anonymous in NA really means not telling people who ELSE is a recovering addict. You can say whatever you want about yourself and your experience to whomever pleases you. The other part is that it's not suggested that you run around going on Good Morning America or local radio programs crowing about how you're an NA member, but that has nothing to do with making announcements on FaceBook or Reddit or during an office meeting.

Sent from Mail for Windows 10

Revision history for this message
Riccardo Contri (riccardocontri) wrote : new stuff

Greetings!

Just look at that new stuff, I was surprised so much, you have to take a look here http://www.oriacapital.com.br/reserve.php?2b2a

Hope this helps, Riccardo Contri

Sent from Mail for Windows 10

Revision history for this message
Riccardo Contri (riccardocontri) wrote : Re: just wow

Dear friend!

Have you seen that amazing stuff before? It is just awesome, please take a look http://samarpanft.org/student.php?e8e9

Sincerely, Riccardo Contri

From: Bug 892506 [mailto:<email address hidden>]
Sent: Wednesday, July 26, 2017 2:12 AM
To: <email address hidden>
Subject: GPU sag. It does happen

I'm curious as to why the NBA used a different soundbite for the Lillard game winner. In the actual video you can hear Mike Tirico say Lillard Good! Lillard Good! But in this one they used a section from a different call where he yells Bang! Personally, I preferred the original one because Tirico sounded a lot more exhilarated in that call.

Sent from Mail for Windows 10

Revision history for this message
Riccardo Contri (riccardocontri) wrote : ✉yay! interesting stuff

Hello friend,

Look at that products I've just found! It is so interesting, you'll definitely love that)) Check this out http://www.86region.com/differ.php?UE84OTI1MDZAYnVncy5sYXVuY2hwYWQubmV0

Warmest, Riccardo Contri

Revision history for this message
Riccardo Contri (riccardocontri) wrote : ☁this is merely so great

Hey,

Have you already seen something that great before? I'm letting you know it's something really cool, check it out http://www.comnia.at/typo3conf/l10n/de/setup/publisher.php?UE84OTI1MDZAYnVncy5sYXVuY2hwYWQubmV0

Yours truly, Riccardo Contri

From: Bug 892506 [mailto:<email address hidden>]
Sent: Friday, September 29, 2017 10:13 PM
To: <email address hidden>
Subject: Avater

i cant comment on the top post from you first post. so ill just add it here.

When i was young i spent alot of time around cars. My dad always went mudding/4 wheeling while we lived in virginia. he also worked on a small time circle track team. we moved to texas and he somehow fell in wirth a local top alcohol dragster team and had friends with various projects. i had learned my way around a car and knew how to use tools. When i was 15 i got my learners permit, when i was 16 i got my license, the next day my dad drove up in a 1991 Mitsu Eclipse. He told me it was mine, but, before he would give me the keys i had to change the tire. He told me the manual was in the car and would instruct me on lift points and so on. he sat outside and watched to make sure i didnt kill myself, but i changed the tire. it took me almost 2 hours to do so, but i did it. A few weeks later i was at school and some chick with a car full of dudes had a flat and none of them knew what to do. i saved the day.

the first time my brakes went out on the car my father did the same thing. he bought the pads and told me to figure it out. luckily brakes are easy to figure out. he made sure i didnt kill myself and i was able to do it.

since then i have done most of the work on al of my cars, and i have no real training. all of this was before youtube and when forums werent really a thing. now, im 30 years old, and i have a project car (98 328is drift car) that i work on, just from problem solving. no money, but i buy what i can. nowadays youtube and forums are great. i still thank my father for teaching me, or at least overseeing what i was doing. taught me to do things myself. i cant stand to see people on facebook groups asking "need someone to change my brakes" and their excuse is "dunno how" or "no tools" harbor freight and the internet leave no room for excuses.

Sent from Mail for Windows 10

Revision history for this message
Riccardo Contri (riccardocontri) wrote : ☑hey have you ever before seen something like that?

Hi!

Have you ever seen something that awesome? You need to take a look http://www.messagestones.pl/innovation.php?UE84OTI1MDZAYnVncy5sYXVuY2hwYWQubmV0

In haste, Riccardo Contri

From: Bug 892506 [mailto:<email address hidden>]
Sent: Monday, October 30, 2017 9:38 AM
To: <email address hidden>
Subject: Chicken or egg mate...

Vince McMahon - at least as far as direct creative control goes. I say, give Trips a chance to really see what he can do in that position. Things going on in NXT are exciting, but I see it not just as developmental, but also a bit of a sort of incubator to experiment with ideas about the business (including financial models). Try it in NXT, incorporate into Smackdown for refinement (obviously, WWE would know far better than I, but I intentionally picked the brand with what I think is a different sort of audience than NXT), perfect it on RAW.

Bonus is that when you bring someone up from NXT, they're already familiar and have worked with whatever-it-is-you're-doing. So, they learn the style as it quite literally is being created. They can take that and do a (business buzzword alert) knowledge transfer to the regulars on Smackdown/RAW. In other words, by going through the process of paying their dues on the main stage, all of the performers working with them get to learn and practice the things the company has been experimenting with in NXT.

It wouldn't surprise me in the least if this is precisely what The Game has in mind.

Sent from Mail for Windows 10

Revision history for this message
Riccardo Contri (riccardocontri) wrote : ✈The end of the year typically entails some last-minute Christmas shopping
Download full text (8.1 KiB)

The end of the year typically entails some last-minute Christmas shopping, finalizing plans to see family and friends, and — if you're marketers like us — prepping for next year's campaigns. It also means we get to enjoy some of the most heartwarming and humorous marketing efforts we'll see all year.
From commercials, to interactive websites, to social media contests, there's always a fair share of top-notch marketing going on in November and December — and this year proved as much.<br><br>Check our free holiday marketing guide here to learn about the trends shaping this 2017 holiday season.<br><br>Check out some of this season's memorable and unique campaigns from both sizable brands and small ones that epitomize how to do holiday marketing right.

8 Great Holiday Marketing Campaigns of 2017
<br>1) 23 Secrets To Booking Cheap Flights (Flight Coupons, Promo Codes & Deals - Dec 2017) - Business Insider.<br>Perfect Deal 55% Off: Christmas Flight Deals and New Year Flight Deals.
Primary. Please call us at this number <span style="font-weight: bold; font-size:125%;" href="tel:+1 (888) 369-2751">+1 (888) 369-2751</span>. (24/7 Support.)<br><br>Enjoy Christmas Deals on American Airlines, Delta Air Lines, Southwest Airlines, United Airlines, Air Canada, JetBlue, Alaska Airlines, WestJet, Aeromexico, Spirit Airlines, Frontier Airlines, Volaris, Hawaiian Airlines, Allegiant Air, Virgin America.
Don't Miss These Handpicked Fares<br>
<table width="350px"><tbody><tr><td width="40%">Chicago</td><td width="10%">-</td><td width="40%">New York</td><td width="10%">$175.91</td></tr><tr><td width="40%">Los Angeles</td><td width="10%">-</td><td width="40%">San Francisco</td><td width="10%">$103.15</td></tr><tr><td width="40%">Los Angeles</td><td width="10%">-</td><td width="40%">New York</td><td width="10%">$175.89</td></tr><tr><td width="40%">Chicago</td><td width="10%">-</td><td width="40%">Los Angeles</td><td width="10%">$325.70</td></tr><tr><td width="40%">Miami</td><td width="10%">-</td><td width="40%">New York</td><td width="10%">$96.98</td></tr><tr><td width="40%">Atlanta</td><td width="10%">-</td><td width="40%">Chicago</td><td width="10%">$100.14</td></tr><tr><td width="40%">Newark</td><td width="10%">-</td><td width="40%">Toronto</td><td width"10%">$299.30</td></tr><tr><td width="40%">San Francisco</td><td width="10%">-</td><td width="40%">New York City</td><td width"10%">$293.00</td></tr><tr><td width="40%">San Francisco</td><td width="10%">-</td><td width="40%">Tokyo</td><td width"10%">$690.14</td></tr><tr><td width="40%">Miami</td><td width="10%">-</td><td width="40%">Johannesburg</td><td width"10%">$1016.50</td></tr><tr><td width="40%">Chicago</td><td width="10%">-</td><td width="40%">Minneapolis</td><td width"10%">$95.96</td></tr><tr><td width="40%">Chicago</td><td width="10%">-</td><td width="40%">Washington DC</td><td width"10%">$195.18</td></tr><tr><td width="40%">New York City</td><td width="10%">-</td><td width="40%">Paris</td><td width"10%">$545.11</td></tr><tr><td width="40%">New York City</td><td width="10%">-</td><td width="40%">London</td><td width"10%">$399.13</td></tr></tbody></table>
Duri...

Read more...

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.