← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1818049] Re: virtualbox dkms modules fail to build with linux 4.4.0-143.169 [error: too many arguments to function ‘get_user_pages’]

 

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

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

  * debian/patches/fix-compile-for-xenial-kernel.patch
    - Fix for LP: #1818049 (virtualbox dkms modules fail to build with
      linux 4.4.0-143.169)

 -- Kleber Sacilotto de Souza <kleber.souza@xxxxxxxxxxxxx>  Thu, 28 Feb
2019 16:06:20 +0100

** Changed in: virtualbox-hwe (Ubuntu Xenial)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1818049

Title:
  virtualbox dkms modules fail to build with linux 4.4.0-143.169 [error:
  too many arguments to function ‘get_user_pages’]

Status in virtualbox package in Ubuntu:
  Fix Released
Status in virtualbox-hwe package in Ubuntu:
  Fix Released
Status in virtualbox source package in Trusty:
  Won't Fix
Status in virtualbox-lts-xenial source package in Trusty:
  Fix Committed
Status in virtualbox source package in Xenial:
  Fix Committed
Status in virtualbox-hwe source package in Xenial:
  Fix Released

Bug description:
  [Impact]
  virtualbox dkms modules fail to build after Ubuntu kernel 4.4 backported the following fix from upstream stable, which is included on xenial kernel 4.4.0-143.169 that's currently in -proposed.

  mm: replace get_user_pages() write/force parameters with gup_flags
  https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/xenial/commit/?h=master-next&id=9c72ad08f1510332e9314046e6a2adba5064f39a

  Excerpt from ./virtualbox/5.1.38/build/make.log:
  ------------------------------------------------
  /var/lib/dkms/virtualbox/5.1.38/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:1112:18: error: too many arguments to function ‘get_user_pages’
               rc = get_user_pages(pTask,                  /* Task for fault accounting. */
                    ^
  In file included from /var/lib/dkms/virtualbox/5.1.38/build/vboxdrv/r0drv/linux/the-linux-kernel.h:98:0,
                   from /var/lib/dkms/virtualbox/5.1.38/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:31:
  include/linux/mm.h:1222:6: note: declared here
   long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
        ^
  ------------------------------------------------

  [Test case]
  Install virtualbox dkms packages (virtualbox-dkms and virtualbox-guest-dkms) with Ubuntu linux 4.4.0-143

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


References