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 Desktop
Packages, which is subscribed to nvidia-graphics-drivers-340 in Ubuntu.
https://bugs.launchpad.net/bugs/1680526

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

Status in nvidia-graphics-drivers-340 package in Ubuntu:
  Confirmed

Bug description:
  Problem Type: Bug
  Release: 16.04.2 LTS (Xenial Xerus)
  Kernel: 4.10.0-14-generic
  Arch: x86_64
  nVidia driver: 340.102-0ubuntu0.16.04.1
  Graphics Processor: Quadro FX 4600

  Error building kernel modules nvidia-340.ko & nvidia_340_uvm.ko (DKMS)
  Attachemnt: DKMS make.log file

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to