New NVIDIA Driver – OK for 3.10, not for 3.11..
Just installed the latest NVIDIA driver – 325.15 – and it compiles cleanly with 3.10 kernels, but fails with 3.11-rc..:
/home/rgadsdon/NVIDIA-Linux-x86_64-325.15/kernel/os-interface.c: In function ‘os_get_system_memory_size’:
/home/rgadsdon/NVIDIA-Linux-x86_64-325.15/kernel/os-interface.c:244:21: error: ‘num_physpages’ undeclared (first use in this function)
return (((NvU64)NV_NUM_PHYSPAGES * PAGE_SIZE) / RM_PAGE_SIZE);
^
/home/rgadsdon/NVIDIA-Linux-x86_64-325.15/kernel/os-interface.c:244:21: note: each undeclared identifier is reported only once for each function it appears in
/home/rgadsdon/NVIDIA-Linux-x86_64-325.15/kernel/os-interface.c:245:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
make[3]: *** [/home/rgadsdon/NVIDIA-Linux-x86_64-325.15/kernel/os-interface.o] Error 1
make[2]: *** [_module_/home/rgadsdon/NVIDIA-Linux-x86_64-325.15/kernel] Error 2
make[1]: *** [sub-make] Error 2
Robert Gadsdon. August 5, 2013.
hello,
I came to the same problem,
use this patch ->http://cvs.rpmfusion.org/viewvc/rpms/nvidia-kmod/F-19/3.11_kernel.patch?revision=1.2&root=nonfree&view=markup
It’s works for me with 3.13-1-amd64(lastest linux-image-amd64 on debian testing)
Thanks for the info… The latest driver 337.19 (if your card is supported by it) should work without the need for any patches, but the 3.13 kernel is now End Of Life, and I would recommend updating to a newer 3.14 release, if possible!
RG.