virtualbox-dkms: virtualbox kernel module failed to build [error: passing argument 5 of ‘get_user_pages’ from incompatible pointer type]

Bug #1642163 reported by rumseed
34
This bug affects 6 people
Affects Status Importance Assigned to Milestone
virtualbox (Ubuntu)
Fix Released
High
Unassigned
Nominated for Xenial by Daniel van Vugt

Bug Description

help

ProblemType: Package
DistroRelease: Ubuntu 17.04
Package: virtualbox-dkms 5.1.8-dfsg-6build1
ProcVersionSignature: Ubuntu 4.9.0-1.2-generic 4.9.0-rc5
Uname: Linux 4.9.0-1-generic x86_64
ApportVersion: 2.20.3-0ubuntu8
Architecture: amd64
DKMSKernelVersion: 4.9.0-1-generic
Date: Wed Nov 16 07:31:01 2016
DuplicateSignature: dkms:virtualbox-dkms:5.1.8-dfsg-6build1:/var/lib/dkms/virtualbox/5.1.8/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:1054:33: error: passing argument 5 of ‘get_user_pages’ from incompatible pointer type [-Werror=incompatible-pointer-types]
InstallationDate: Installed on 2016-02-11 (278 days ago)
InstallationMedia: Ubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
PackageArchitecture: all
PackageVersion: 5.1.8-dfsg-6build1
RelatedPackageVersions:
 dpkg 1.18.10ubuntu1
 apt 1.3.1
SourcePackage: virtualbox
Title: virtualbox-dkms 5.1.8-dfsg-6build1: virtualbox kernel module failed to build
UpgradeStatus: No upgrade log present (probably fresh install)
VirtualBox.ModInfo:

Revision history for this message
rumseed (rumseed) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in virtualbox (Ubuntu):
status: New → Confirmed
Revision history for this message
dino99 (9d9) wrote :

Looks like virtualbox-source needs to be installed to avoid that build issue.

Changed in virtualbox (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

@dino99, yesterday linux4.9 reached zesty, so I'll fix it in a few seconds

Changed in virtualbox (Ubuntu):
status: Invalid → New
importance: Undecided → High
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

https://launchpad.net/ubuntu/+source/virtualbox/5.1.8-dfsg-7~build1@dino99, yesterday linux4.9
please test zesty-proposed in a few minutes (~1 hour)

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

The upgrade is fine (source not installed, as usual).
Thanks LOB

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

thanks to you!

sorry for the long wait for this fix, but I always hope about a new upstream release, and kernel breaks various times in RC releases, so it would require a lot of uploads probably useless for most people (and time consuming)

G.

summary: virtualbox-dkms 5.1.8-dfsg-6build1: virtualbox kernel module failed to
- build
+ build [error: passing argument 5 of ‘get_user_pages’ from incompatible
+ pointer type]
summary: virtualbox-dkms 5.1.8-dfsg-6build1: virtualbox kernel module failed to
- build [error: passing argument 5 of ‘get_user_pages’ from incompatible
- pointer type]
+ build with kernel 4.9 [error: passing argument 5 of ‘get_user_pages’
+ from incompatible pointer type]
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote : Re: virtualbox-dkms 5.1.8-dfsg-6build1: virtualbox kernel module failed to build with kernel 4.9 [error: passing argument 5 of ‘get_user_pages’ from incompatible pointer type]

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

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

  [ Gianfranco Costamagna, Peter Meiser ]
  * Major rewrite of the guest-additions GL library handling

  [ Gianfranco Costamagna ]
  * Cherry-pick upstream fixes for xorg 1.19 (Closes: #845644)
    - remove vboxvideo_drv_system.so, obsolete and useless
      (according to upstream ticket 16052)

 -- Gianfranco Costamagna <email address hidden> Tue, 22 Nov 2016 18:48:42 +0100

Changed in virtualbox (Ubuntu):
status: Fix Committed → Fix Released
summary: - virtualbox-dkms 5.1.8-dfsg-6build1: virtualbox kernel module failed to
- build with kernel 4.9 [error: passing argument 5 of ‘get_user_pages’
- from incompatible pointer type]
+ virtualbox-dkms: virtualbox kernel module failed to build [error:
+ passing argument 5 of ‘get_user_pages’ from incompatible pointer type]
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.