Hi!
I am running Debian Sid, linux-image 3.10-2-amd64 is installed , nvidia-driver 319.49 is installed and working. My problem : I am building my own kernel with some extra options not included in the stock images but the linux driver won’t install even if patched with following patch :[url]OpenPCTV - Browse Files at SourceForge.net
On building the Nvidia driver I get this error :
/data/Kernel/linux-git/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/data/Kernel/linux-git/arch/x86/include/asm/uaccess_64.h:62:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz == -1 || sz >= n))
^
include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from include/drm/drm_crtc.h:32:0,
from include/drm/drmP.h:701,
from /tmp/selfgz11318/NVIDIA-Linux-x86_64-319.49/kernel/nv-drm.c:19:
include/linux/fb.h: In function ‘__fb_pad_aligned_buffer’:
include/linux/fb.h:650:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j = 0; j < s_pitch; j++)
^
/tmp/selfgz11318/NVIDIA-Linux-x86_64-319.49/kernel/nv-drm.c: At top level:
/tmp/selfgz11318/NVIDIA-Linux-x86_64-319.49/kernel/nv-drm.c:109:15: error: ‘drm_fasync’ undeclared here (not in a function)
.fasync = drm_fasync,
^
/tmp/selfgz11318/NVIDIA-Linux-x86_64-319.49/kernel/nv-drm.c: In function ‘nv_alloc_os_descriptor_handle’:
/tmp/selfgz11318/NVIDIA-Linux-x86_64-319.49/kernel/nv-drm.c:205:9: error: void value not ignored as it ought to be
ret = drm_gem_private_object_init(nvl->drm, &nv_obj->base, size);
^
make[3]: *** [/tmp/selfgz11318/NVIDIA-Linux-x86_64-319.49/kernel/nv-drm.o] Erreur 1
make[2]: *** [module/tmp/selfgz11318/NVIDIA-Linux-x86_64-319.49/kernel] Erreur 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Erreur 1
make: *** [module] Erreur 2
→ Error.
ERROR: Unable to build the NVIDIA kernel module.
ERROR: Installation has failed. Please see the file ‘/var/log/nvidia-installer.log’ for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
Any help will be welcome.
Regards
mahashakti89