I have on my stystem 'Ubuntu 16.04.2 arch x86_64' 
The kernel modules nvidia-340.ko & nvidia_340_uvm.ko (DKMS).
With kernel 4.10.0-14-generic.

I modified the patch-file 'buildfix_kernel_4.9.patch' at line 55:
Orginal: +                            page_count, write ? FOLL_WRITE : 0, 
user_pages, NULL);
Modified:+                            page_count, write ? FOLL_WRITE : 0, 
force, user_pages, NULL);

Than in a terminal (kernel 4.8.0-34-generic):
sudo dkms build -m nvidia-340 -v 340.102 -k 4.10.0-14-generic
and
sudo dkms install -m nvidia-340 -v 340.102 -k 4.10.0-14-generic


Attachemnt the modified 'buildfix_kernel_4.9.patch' patch-file:


** Patch added: "buildfix_kernel_4.9.patch"
   
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-340/+bug/1680526/+attachment/4860764/+files/buildfix_kernel_4.9.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1680526

Title:
  nVidia-340 (340.102) Kernel 4.10.0-14-generic

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-340/+bug/1680526/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to