[SRU] virtualbox-dkms 5.0.32-dfsg-0ubuntu1.16.04.2: virtualbox kernel module failed to build [error: too few arguments to function ‘get_user_pages_remote’]

Bug #1674819 reported by Vaclav Rehak
56
This bug affects 11 people
Affects Status Importance Assigned to Milestone
virtualbox (Ubuntu)
Fix Released
High
Unassigned
Xenial
Fix Released
High
Unassigned
virtualbox-ext-pack (Ubuntu)
Fix Released
High
Unassigned
Xenial
Fix Released
High
Unassigned
virtualbox-guest-additions-iso (Ubuntu)
Fix Released
High
Unassigned
Xenial
Fix Released
High
Unassigned

Bug Description

[SRU Template]
* the virtualbox kernel module needs some tweaks for the new hwe kernel up to 4.11.

same as lp: #1674819

[Regression potential]
This is an upstream release which includes changes beyond compatibility with the new kernel. This is a bugfix-only release, as confirmed by the changelog at <http://paste.ubuntu.com/24229715/>. There is some risk of unrelated regression which is mitigated by upstream testing that has been done.

[Test case]
Verify that virtualbox from proposed works on both the linux kernel and the linux-hwe kernel.

I installed the latest updates (including kernel) in xenial-proposed and got this crash report.

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: virtualbox-dkms 5.0.32-dfsg-0ubuntu1.16.04.2
ProcVersionSignature: Ubuntu 4.8.0-34.36~16.04.1-generic 4.8.11
Uname: Linux 4.8.0-34-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
DKMSKernelVersion: 4.10.0-13-generic
Date: Tue Mar 21 21:48:20 2017
DuplicateSignature: dkms:virtualbox-dkms:5.0.32-dfsg-0ubuntu1.16.04.2:/var/lib/dkms/virtualbox/5.0.32/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:1066:18: error: too few arguments to function ‘get_user_pages_remote’
InstallationDate: Installed on 2014-12-02 (839 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
PackageArchitecture: all
PackageVersion: 5.0.32-dfsg-0ubuntu1.16.04.2
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.1
 apt 1.2.20
SourcePackage: virtualbox
Title: virtualbox-dkms 5.0.32-dfsg-0ubuntu1.16.04.2: virtualbox kernel module failed to build
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Vaclav Rehak (vaclav-n) wrote :
tags: removed: need-duplicate-check
summary: virtualbox-dkms 5.0.32-dfsg-0ubuntu1.16.04.2: virtualbox kernel module
- failed to build
+ failed to build [error: too few arguments to function
+ ‘get_user_pages_remote’]
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote : Re: virtualbox-dkms 5.0.32-dfsg-0ubuntu1.16.04.2: virtualbox kernel module failed to build [error: too few arguments to function ‘get_user_pages_remote’]

can you please remove virtualbox-dkms and tell if everything works correctly?
that kernel module should be ship in the kernel itself

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

Can you please test vbox from my ppa? it will be built in a few minutes
https://launchpad.net/~costamagnagianfranco/+archive/ubuntu/locutusofborg-ppa

Changed in virtualbox (Ubuntu):
status: Incomplete → New
importance: Undecided → High
summary: - virtualbox-dkms 5.0.32-dfsg-0ubuntu1.16.04.2: virtualbox kernel module
- failed to build [error: too few arguments to function
+ [SRU] virtualbox-dkms 5.0.32-dfsg-0ubuntu1.16.04.2: virtualbox kernel
+ module failed to build [error: too few arguments to function
‘get_user_pages_remote’]
description: updated
Steve Langasek (vorlon)
description: updated
description: updated
description: updated
Revision history for this message
Steve Langasek (vorlon) wrote : Please test proposed package

Hello Vaclav, or anyone else affected,

Accepted virtualbox into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/virtualbox/5.0.36-0ubuntu1.16.04.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in virtualbox (Ubuntu Xenial):
status: New → Fix Committed
description: updated
tags: added: verification-needed
Revision history for this message
Steve Langasek (vorlon) wrote :

Hello Vaclav, or anyone else affected,

Accepted virtualbox into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/virtualbox/5.0.36-dfsg-0ubuntu1.16.04.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in virtualbox-ext-pack (Ubuntu Xenial):
status: New → Fix Committed
Revision history for this message
Steve Langasek (vorlon) wrote :

Hello Vaclav, or anyone else affected,

Accepted virtualbox-ext-pack into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/virtualbox-ext-pack/5.0.36-0ubuntu1.16.04.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in virtualbox-guest-additions-iso (Ubuntu Xenial):
status: New → Fix Committed
Revision history for this message
Steve Langasek (vorlon) wrote :

Hello Vaclav, or anyone else affected,

Accepted virtualbox-guest-additions-iso into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/virtualbox-guest-additions-iso/5.0.36-0ubuntu1.16.04.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Revision history for this message
Vaclav Rehak (vaclav-n) wrote :

Hi Steve,

I installed lastest updates from xenial-proposed and the problem is fixed for me. No error is displayed and VirtualBox works as expected. Thank you for this quick fix.

tags: added: verification-done
removed: verification-needed
Changed in virtualbox (Ubuntu):
status: New → Fix Released
Changed in virtualbox-ext-pack (Ubuntu):
status: New → Fix Released
Changed in virtualbox-guest-additions-iso (Ubuntu):
status: New → Fix Released
Changed in virtualbox-ext-pack (Ubuntu):
importance: Undecided → High
Changed in virtualbox-ext-pack (Ubuntu Xenial):
importance: Undecided → High
Changed in virtualbox-guest-additions-iso (Ubuntu Xenial):
importance: Undecided → High
Changed in virtualbox-guest-additions-iso (Ubuntu):
importance: Undecided → High
Changed in virtualbox (Ubuntu Xenial):
importance: Undecided → High
Revision history for this message
Brian Murray (brian-murray) wrote :

Even though this is an upstream bug fix release I'd like to see some functional testing done to ensure there are no regressions. So far the only verification has been to confirm that this specific bug no longer exists.

tags: added: verification-needed
removed: verification-done
Changed in virtualbox (Ubuntu Xenial):
status: Fix Committed → Incomplete
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

testing was good!

tags: added: verification-done
removed: verification-needed
Changed in virtualbox (Ubuntu Xenial):
status: Incomplete → Fix Committed
Revision history for this message
Robie Basak (racb) wrote :

Please could you detail what testing you did, and confirm the package versions that you tested?

tags: added: verification-needed
removed: verification-done
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

Yep sure. Since xenial is my development primary machine, I removed vbox 5.1.18 and installed the proposed one.
Every Vm started correctly even the ones in saved state. This includes debian unstable VM windows 10 Vm windows 8.1 and ubuntu zesty VM.

I did open all of them and saved again new snapshots.
I went again to 5.1.18 and they started correctly again.

(I have done something more I don't recall, but I always do cross testing when updating vbox against various different VMs)

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package virtualbox - 5.0.36-dfsg-0ubuntu1.16.04.2

---------------
virtualbox (5.0.36-dfsg-0ubuntu1.16.04.2) xenial; urgency=medium

  * New upstream release, fixing new kernel build issues (LP: #1674819)
  * debian/patches/changeset_63850.patch:
    - fix build regression by backporting upstream commit 63850

 -- Gianfranco Costamagna <email address hidden> Wed, 22 Mar 2017 13:37:31 +0100

Changed in virtualbox (Ubuntu Xenial):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for virtualbox has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

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

This bug was fixed in the package virtualbox-guest-additions-iso - 5.0.36-0ubuntu1.16.04.2

---------------
virtualbox-guest-additions-iso (5.0.36-0ubuntu1.16.04.2) xenial; urgency=medium

  * Update to the latest minor release for xenial (LP: #1674819)

 -- Gianfranco Costamagna <email address hidden> Wed, 22 Mar 2017 13:33:59 +0100

Changed in virtualbox-guest-additions-iso (Ubuntu Xenial):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package virtualbox-ext-pack - 5.0.36-0ubuntu1.16.04.2

---------------
virtualbox-ext-pack (5.0.36-0ubuntu1.16.04.2) xenial; urgency=medium

  * Update to the latest minor release for xenial (LP: #1674819)

 -- Gianfranco Costamagna <email address hidden> Wed, 22 Mar 2017 13:36:21 +0100

Changed in virtualbox-ext-pack (Ubuntu Xenial):
status: Fix Committed → Fix Released
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.