virtualbox-dkms 4.3.10-dfsg-1: virtualbox kernel module failed to build [error: macro "alloc_netdev" requires 4 arguments, but only 3 given]
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | virtualbox (Ubuntu) |
High
|
Unassigned | ||
| | Trusty |
Undecided
|
Unassigned | ||
Bug Description
Edited bug report:
------------------
VirtualBox kernel module fails to build with the 14.04 lts-vivid kernel:
linux-image-
The patch.txt from there works for me:
https:/
Initial bug report:
-------------------
Tested the new kernel.
Linux albus 3.17.0-
Not important, I do not rely on virtual-box.
ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: virtualbox-dkms 4.3.10-dfsg-1
Uname: Linux 3.17.0-
ApportVersion: 2.14.1-0ubuntu3.3
Architecture: amd64
DKMSKernelVersion: 3.17.0-
Date: Mon Aug 18 09:51:07 2014
DuplicateSignature: dkms:virtualbox
InstallationDate: Installed on 2014-04-09 (130 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Daily amd64 (20140409)
PackageArchitec
PackageVersion: 4.3.10-dfsg-1
SourcePackage: virtualbox
Title: virtualbox-dkms 4.3.10-dfsg-1: virtualbox kernel module failed to build
UpgradeStatus: No upgrade log present (probably fresh install)
VirtualBox.ModInfo:
| Thomas Fricke (2-ubuntuone-u) wrote : | #1 |
| tags: | removed: need-duplicate-check |
Getting the code to compile is rather trivial (cf. https:/
| summary: |
virtualbox-dkms 4.3.10-dfsg-1: virtualbox kernel module failed to build + [error: macro "alloc_netdev" requires 4 arguments, but only 3 given] |
| elhoir (jfarroyo82) wrote : | #4 |
still in 3.17rc2
3.17rc3 not tested
| elhoir (jfarroyo82) wrote : | #5 |
Oops, this s a virtuaolbox bug, not kernel....
Ok, let me change the expression^^^
Still in vbox 4.3.14 using kernel 3.17rc2
kernel 3.17rc3 not installed yet
| elhoir (jfarroyo82) wrote : | #6 |
still present with kernel 3.17rc3, module compilation fails at kernel install
the 3.17 kernel is not supported by ubuntu 14.04, it is only official for 14.10 (currently in beta testing), to get virtaulbox working you would need to download it from the utopic repos (which may or may not be kernel 3.17 ready just yet)
*sits here completely surprised my nvidia drive still works in 3.17rc3 on 14.04*
| Mark Rijckenberg (markrijckenberg) wrote : | #8 |
A working solution for me is running these commands in Ubuntu 14.04 LTS using GNU/Linux kernel 3.17.0-
cd /tmp
wget http://
sudo dpkg -i virtualbox-
| lightweight (dave-egressive) wrote : | #9 |
Many thanks for that, Mark. That worked for me. I've got 3.17.0-
| Changed in virtualbox (Ubuntu): | |
| importance: | Undecided → High |
same error under
ubuntu 14.04.1 LTS with kernel 3.18.1-
yes, you need to use a new virtualbox with a new kernel.
| Shamrock1961 (shamrock1961) wrote : | #12 |
Where do I get this virtualbox that I never seem to use to my knowledge?
this is the patch that seems needed to make it build
http://
I'll try to backport the new virtualbox in my ppa ASAP.
virtualbox/utopic is currectly uploading on my ppa:
https:/
in order to use it you can
sudo apt-add-repository ppa:costamagnag
sudo apt-get update
sudo apt-get install virtualbox and all the other stuff :)
| Sergio Benjamim (sergio-br2) wrote : | #15 |
Same problem trying to install kernel 3.18.2. Will virtualbox from utopic come to backport repo?
You can use "requestbackport" tool to get your backport accepted.
Feel free to use my ppa for testing and link the bug there :-)
| WhyteHorse (whytehorse) wrote : | #17 |
I got this error after upgrading from kernel 3.13 to a special 3.17 which has HSA support. Downgrading to 3.13 fixed it.
| Changed in virtualbox (Ubuntu): | |
| status: | Confirmed → Incomplete |
| Michael Stucki (mstucki) wrote : | #18 |
also taking the package from utopic/vivid fixes the issue.
Closing as invalid, if you want a newer virtualbox you can: request a backport, or wait for a new lts kernel to reach trusty
| Changed in virtualbox (Ubuntu): | |
| status: | Incomplete → Invalid |
| Kenneth Wrede (kennethwrede) wrote : | #21 |
Got this problem with the new LTS-kernel in Trusty. Vivid, kernel 3.19.0.18.5.
| Daniel van Vugt (vanvugt) wrote : | #22 |
Still getting duplicates of this. Someone needs to choose a master bug an _open_ it.
I would like to fix it, but on the new trusty I can't *install* the build dependencies, the usual xorg-lts backport f***ed the rdeps and I can't fix it ATM.
| Eric Detheridge (ericdetheridge) wrote : | #24 |
Still get this error in Trusty with latest Vivid lts kernel version 3.19.0.20.7
| Diego (diego-giglio) wrote : | #25 |
To me Kernel 3.19.0-22-generic and Oracle VirtualBox 5.0 works fine.
| Alkis Georgopoulos (alkisg) wrote : | #26 |
@costamagnagian
and this is the launchpad bug report that apport directs us to when trying to upload the crash,
so I'm reopening it, if you think it should be closed and another one should be opened, please also tell us a way to direct apport there too.
The patch.txt from there works for me:
https:/
| Changed in virtualbox (Ubuntu): | |
| status: | Invalid → Confirmed |
| tags: | added: patch |
| description: | updated |
Hi Alkis, I marked it as duplicate of the main bug.
| Rakesh Gorana (rakesh-gorana) wrote : | #28 |
nice
| Martin Stechert (martin-stechert) wrote : | #29 |
I created a backport request for trusty in june (ticket 1464996), but there is not much progress yet
| Martin Stechert (martin-stechert) wrote : | #30 |
#1464996
| Daniel Convissor (convissor) wrote : | #31 |
This problem is fixed in VirtualBox-4.3.34 (maybe even earlier). Can Ubuntu's packaged version please be upgraded? That way everyone can get on with our lives.
| Daniel Convissor (convissor) wrote : | #32 |
In case someone just wants to backport this particular fix, it's in r52420 in trunk.
Hi Daniel, well, I'm in the process of SRUing virtualbox to 4.3.34.
can you please give my ppa a test?
talking about bug LP: #1517161 and
https:/
| Daniel Convissor (convissor) wrote : | #34 |
I did the following and things are running okay. Thanks!
apt-get purge virtualbox
The following packages will be REMOVED:
virtualbox* virtualbox-dkms* virtualbox-qt*
apt-get install libgsoap4
dpkg -i virtualbox-
dpkg -i virtualbox_
dpkg -i virtualbox-
fixed.
| Changed in virtualbox (Ubuntu): | |
| status: | Confirmed → Fix Released |
| Changed in virtualbox (Ubuntu Trusty): | |
| status: | New → Fix Released |


Status changed to 'Confirmed' because the bug affects multiple users.