/var/lib/dkms/nvidia-current/340.65/build/nv.c:1842:29: error: ???struct file??? has no member named ???f_dentry???
As explained elsewhere, you have to be careful which nVidia modules package version you use with which kernel package version because there was a change in one of the header files which prevents the nVidia 340 version building with newer kernels, just as you have discovered.
So for a newer kernel version, you need to run X11 without the "benefits"
of the proprietary nVidia module and just use the X11 "nouveau" module.
Not so much as will not work as the 340 version will not even compile
into the necessary module.
However I think (have not checked for sure) that I read that nVidia has released a new version of the nVidia drivers for Linux which can be downloaded from the web site which can be compiled with the new kernel versions.
The 352 version I think (most recent being 352.63 on 2015.11.16), see
<http://www.nvidia.COM/object/unix.html>
Obviously this all has to be done manually because the latest nVidia
driver version has not yet been turned into a package by the Debian people.
So its up to you if you prefer the extra work to be bleeding edge, but
I would suggest staying with the 3.16 kernel and nvidia 340 is probably
the better choice for stability at the present time.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 293 |
Nodes: | 16 (2 / 14) |
Uptime: | 214:57:15 |
Calls: | 6,619 |
Calls today: | 1 |
Files: | 12,168 |
Messages: | 5,317,489 |