*** This bug is a duplicate of bug 1573508 ***
    https://bugs.launchpad.net/bugs/1573508

Thank you for taking the time to report this bug and helping to make
Ubuntu better. This particular bug has already been reported and is a
duplicate of bug 1573508, so it is being marked as such. Please look at
the other bug report to see if there is any missing information that you
can provide, or to see if there is a workaround for the bug.
Additionally, any further discussion regarding the bug should occur in
the other report. Feel free to continue to report any other bugs you may
find.


** Summary changed:

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

** This bug has been marked a duplicate of bug 1573508
   nvidia-*: nvidia-* kernel module failed to build [error: too many arguments 
to function ‘get_user_pages’]

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to nvidia-graphics-drivers-384 in Ubuntu.
https://bugs.launchpad.net/bugs/1818101

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

Status in Nvidia:
  New
Status in nvidia-graphics-drivers-304 package in Ubuntu:
  New
Status in nvidia-graphics-drivers-340 package in Ubuntu:
  New
Status in nvidia-graphics-drivers-384 package in Ubuntu:
  New
Status in nvidia-graphics-drivers-304 source package in Trusty:
  New
Status in nvidia-graphics-drivers-340 source package in Trusty:
  New
Status in nvidia-graphics-drivers-384 source package in Trusty:
  New
Status in nvidia-graphics-drivers-304 source package in Xenial:
  New
Status in nvidia-graphics-drivers-340 source package in Xenial:
  New
Status in nvidia-graphics-drivers-384 source package in Xenial:
  New

Bug description:
  [Impact]
  nvidia dkms modules (304, 340, 384) 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 ./nvidia-304/304.135/build/make.log:
  ------------------------------------------------
  /var/lib/dkms/nvidia-304/304.135/build/nv-linux.h:1941:9: error: too many 
arguments to function ‘get_user_pages’
           get_user_pages(current, current->mm, start, nr_pages, write, force, 
pages, vmas)
           ^
  /var/lib/dkms/nvidia-304/304.135/build/nv-mlock.c:52:11: note: in expansion 
of macro ‘NV_GET_USER_PAGES’
       ret = NV_GET_USER_PAGES((unsigned long)address,
             ^
  In file included from /var/lib/dkms/nvidia-304/304.135/build/nv-linux.h:82:0,
                   from /var/lib/dkms/nvidia-304/304.135/build/nv-mlock.c:15:
  include/linux/mm.h:1222:6: note: declared here
   long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
        ^
  ------------------------------------------------

  [Test case]
  Install nvidia dkms packages (nvidia-graphics-drivers-304, 
nvidia-graphics-drivers-340, nvidia-graphics-drivers-384) with Ubuntu linux 4.4 
later or equal than 4.4.0-143.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nvidia/+bug/1818101/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to