Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 05-02-11, 10:39 AM   #1
Julius22
Registered User
 
Join Date: May 2011
Posts: 5
Default 173.xx kernel module won't build

Hello!
As indicated in the title, I can't get the kernel module compiled. I tried it on several distributions. I also tried using different kernels, still with the same result.
For example, on Debian 6.0.1, when trying to install the nvidia-kernel-legacy-173xx-dkms package, there is the content of the var/lib/dkms/nvidia/173.14.27/build/make.log file (I have a geForce FX 5200 in the computer on which I'm trying to install the nVidia driver):
Code:
DKMS make.log for nvidia-173.14.27 for kernel 2.6.32-5-686 (i686)
dimanche 24 avril 2011, 17:28:09 (UTC+0200)
make: entrant dans le répertoire « /var/lib/dkms/nvidia/173.14.27/build »
make -C /lib/modules/2.6.32-5-686/build* M=`/bin/pwd` modules
make[1]: entrant dans le répertoire « /usr/src/linux-headers-2.6.32-5-686 »
* CC [M]* /var/lib/dkms/nvidia/173.14.27/build/nv.o
In file included from /usr/src/linux-headers-2.6.32-5-common/include/linux/bitops.h:17,
* * * * * * * * *from /usr/src/linux-headers-2.6.32-5-common/include/linux/kernel.h:15,
* * * * * * * * *from /usr/src/linux-headers-2.6.32-5-common/include/linux/sched.h:54,
* * * * * * * * *from /usr/src/linux-headers-2.6.32-5-common/include/linux/utsname.h:35,
* * * * * * * * *from /var/lib/dkms/nvidia/173.14.27/build/nv-linux.h:29,
* * * * * * * * *from /var/lib/dkms/nvidia/173.14.27/build/nv.c:13:
/usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/bitops.h: In function ‘set_bit’:
/usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/bitops.h:64: warning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/bitops.h: In function ‘clear_bit’:
/usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/bitops.h:102: warning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/bitops.h: In function ‘change_bit’:
/usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/bitops.h:178: warning: pointer of type ‘void *’ used in arithmetic
In file included from /usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/irqflags.h:60,
* * * * * * * * *from /usr/src/linux-headers-2.6.32-5-common/include/linux/irqflags.h:57,
* * * * * * * * *from /usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/system.h:11,
* * * * * * * * *from /usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/processor.h:17,
* * * * * * * * *from /usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/thread_info.h:22,
* * * * * * * * *from /usr/src/linux-headers-2.6.32-5-common/include/linux/thread_info.h:56,
* * * * * * * * *from /usr/src/linux-headers-2.6.32-5-common/include/linux/preempt.h:9,
* * * * * * * * *from /usr/src/linux-headers-2.6.32-5-common/include/linux/spinlock.h:50,
* * * * * * * * *from /usr/src/linux-headers-2.6.32-5-common/include/linux/seqlock.h:29,
* * * * * * * * *from /usr/src/linux-headers-2.6.32-5-common/include/linux/time.h:8,
* * * * * * * * *from /usr/src/linux-headers-2.6.32-5-common/include/linux/timex.h:56,
* * * * * * * * *from /usr/src/linux-headers-2.6.32-5-common/include/linux/sched.h:56,
* * * * * * * * *from /usr/src/linux-headers-2.6.32-5-common/include/linux/utsname.h:35,
* * * * * * * * *from /var/lib/dkms/nvidia/173.14.27/build/nv-linux.h:29,
* * * * * * * * *from /var/lib/dkms/nvidia/173.14.27/build/nv.c:13:
/usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/paravirt.h: In function ‘__pgd’:
/usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/paravirt.h:497: internal compiler error: Abandon
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.3/README.Bugs> for instructions.
make[4]: *** [/var/lib/dkms/nvidia/173.14.27/build/nv.o] Erreur 1
make[3]: *** [_module_/var/lib/dkms/nvidia/173.14.27/build] Erreur 2
make[2]: *** [sub-make] Erreur 2
make[1]: *** [all] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-headers-2.6.32-5-686 »
make: *** [modules] Erreur 2
make: quittant le répertoire « /var/lib/dkms/nvidia/173.14.27/build »
Here is another example:
Code:
DKMS make.log for nvidia-173.14.27 for kernel 2.6.32-5-686 (i686)
dimanche 24 avril 2011, 18:17:41 (UTC+0200)
make: entrant dans le répertoire « /var/lib/dkms/nvidia/173.14.27/build »
make -C /lib/modules/2.6.32-5-686/build* M=`/bin/pwd` modules
make[1]: entrant dans le répertoire « /usr/src/linux-headers-2.6.32-5-686 »
* CC [M]* /var/lib/dkms/nvidia/173.14.27/build/nv.o
In file included from /usr/src/linux-headers-2.6.32-5-common/include/linux/bitops.h:17,
* * * * * * * * *from /usr/src/linux-headers-2.6.32-5-common/include/linux/kernel.h:15,
* * * * * * * * *from /usr/src/linux-headers-2.6.32-5-common/include/linux/sched.h:54,
* * * * * * * * *from /usr/src/linux-headers-2.6.32-5-common/include/linux/utsname.h:35,
* * * * * * * * *from /var/lib/dkms/nvidia/173.14.27/build/nv-linux.h:29,
* * * * * * * * *from /var/lib/dkms/nvidia/173.14.27/build/nv.c:13:
/usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/bitops.h: In function ‘set_bit’:
/usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/bitops.h:64: warning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/bitops.h: In function ‘clear_bit’:
/usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/bitops.h:102: warning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/bitops.h: In function ‘change_bit’:
/usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/bitops.h:178: warning: pointer of type ‘void *’ used in arithmetic
In file included from /usr/src/linux-headers-2.6.32-5-common/include/linux/list.h:6,
* * * * * * * * *from /usr/src/linux-headers-2.6.32-5-common/include/linux/preempt.h:11,
* * * * * * * * *from /usr/src/linux-headers-2.6.32-5-common/include/linux/spinlock.h:50,
* * * * * * * * *from /usr/src/linux-headers-2.6.32-5-common/include/linux/seqlock.h:29,
* * * * * * * * *from /usr/src/linux-headers-2.6.32-5-common/include/linux/time.h:8,
* * * * * * * * *from /usr/src/linux-headers-2.6.32-5-common/include/linux/timex.h:56,
* * * * * * * * *from /usr/src/linux-headers-2.6.32-5-common/include/linux/sched.h:56,
* * * * * * * * *from /usr/src/linux-headers-2.6.32-5-common/include/linux/utsname.h:35,
* * * * * * * * *from /var/lib/dkms/nvidia/173.14.27/build/nv-linux.h:29,
* * * * * * * * *from /var/lib/dkms/nvidia/173.14.27/build/nv.c:13:
/usr/src/linux-headers-2.6.32-5-common/include/linux/prefetch.h: In function ‘prefetch_range’:
/usr/src/linux-headers-2.6.32-5-common/include/linux/prefetch.h:57: warning: pointer of type ‘void *’ used in arithmetic
In file included from /usr/src/linux-headers-2.6.32-5-common/include/linux/preempt.h:11,
* * * * * * * * *from /usr/src/linux-headers-2.6.32-5-common/include/linux/spinlock.h:50,
* * * * * * * * *from /usr/src/linux-headers-2.6.32-5-common/include/linux/seqlock.h:29,
* * * * * * * * *from /usr/src/linux-headers-2.6.32-5-common/include/linux/time.h:8,
* * * * * * * * *from /usr/src/linux-headers-2.6.32-5-common/include/linux/timex.h:56,
* * * * * * * * *from /usr/src/linux-headers-2.6.32-5-common/include/linux/sched.h:56,
* * * * * * * * *from /usr/src/linux-headers-2.6.32-5-common/include/linux/utsname.h:35,
* * * * * * * * *from /var/lib/dkms/nvidia/173.14.27/build/nv-linux.h:29,
* * * * * * * * *from /var/lib/dkms/nvidia/173.14.27/build/nv.c:13:
/usr/src/linux-headers-2.6.32-5-common/include/linux/list.h: In function ‘list_del’:
/usr/src/linux-headers-2.6.32-5-common/include/linux/list.h:106: warning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-5-common/include/linux/list.h:107: warning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-5-common/include/linux/list.h: In function ‘hlist_del’:
/usr/src/linux-headers-2.6.32-5-common/include/linux/list.h:579: warning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-5-common/include/linux/list.h:580: warning: pointer of type ‘void *’ used in arithmetic
In file included from /usr/src/linux-headers-2.6.32-5-common/include/linux/sched.h:82,
* * * * * * * * *from /usr/src/linux-headers-2.6.32-5-common/include/linux/utsname.h:35,
* * * * * * * * *from /var/lib/dkms/nvidia/173.14.27/build/nv-linux.h:29,
* * * * * * * * *from /var/lib/dkms/nvidia/173.14.27/build/nv.c:13:
/usr/src/linux-headers-2.6.32-5-common/include/linux/rculist.h: In function ‘list_del_rcu’:
/usr/src/linux-headers-2.6.32-5-common/include/linux/rculist.h:97: warning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-5-common/include/linux/rculist.h: In function ‘list_replace_rcu’:
/usr/src/linux-headers-2.6.32-5-common/include/linux/rculist.h:143: warning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-5-common/include/linux/rculist.h: In function ‘hlist_del_rcu’:
/usr/src/linux-headers-2.6.32-5-common/include/linux/rculist.h:286: warning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-5-common/include/linux/rculist.h: In function ‘hlist_replace_rcu’:
/usr/src/linux-headers-2.6.32-5-common/include/linux/rculist.h:306: warning: pointer of type ‘void *’ used in arithmetic
In file included from /usr/src/linux-headers-2.6.32-5-common/include/linux/utsname.h:35,
* * * * * * * * *from /var/lib/dkms/nvidia/173.14.27/build/nv-linux.h:29,
* * * * * * * * *from /var/lib/dkms/nvidia/173.14.27/build/nv.c:13:
/usr/src/linux-headers-2.6.32-5-common/include/linux/sched.h: In function ‘object_is_on_stack’:
/usr/src/linux-headers-2.6.32-5-common/include/linux/sched.h:2337: warning: pointer of type ‘void *’ used in arithmetic
In file included from /usr/src/linux-headers-2.6.32-5-common/include/linux/io.h:22,
* * * * * * * * *from /usr/src/linux-headers-2.6.32-5-common/include/linux/pci.h:54,
* * * * * * * * *from /var/lib/dkms/nvidia/173.14.27/build/nv-linux.h:93,
* * * * * * * * *from /var/lib/dkms/nvidia/173.14.27/build/nv.c:13:
/usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/io.h: In function ‘writeq’:
/usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/io.h:70: warning: pointer of type ‘void *’ used in arithmetic
In file included from /usr/src/linux-headers-2.6.32-5-common/include/linux/dma-mapping.h:7,
* * * * * * * * *from /usr/src/linux-headers-2.6.32-5-common/include/asm-generic/pci-dma-compat.h:7,
* * * * * * * * *from /usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/pci.h:128,
* * * * * * * * *from /usr/src/linux-headers-2.6.32-5-common/include/linux/pci.h:1131,
* * * * * * * * *from /var/lib/dkms/nvidia/173.14.27/build/nv-linux.h:93,
* * * * * * * * *from /var/lib/dkms/nvidia/173.14.27/build/nv.c:13:
/usr/src/linux-headers-2.6.32-5-common/include/linux/scatterlist.h: In function ‘sg_virt’:
/usr/src/linux-headers-2.6.32-5-common/include/linux/scatterlist.h:199: warning: pointer of type ‘void *’ used in arithmetic
In file included from /usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/dma-mapping.h:42,
* * * * * * * * *from /usr/src/linux-headers-2.6.32-5-common/include/linux/dma-mapping.h:103,
* * * * * * * * *from /usr/src/linux-headers-2.6.32-5-common/include/asm-generic/pci-dma-compat.h:7,
* * * * * * * * *from /usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/pci.h:128,
* * * * * * * * *from /usr/src/linux-headers-2.6.32-5-common/include/linux/pci.h:1131,
* * * * * * * * *from /var/lib/dkms/nvidia/173.14.27/build/nv-linux.h:93,
* * * * * * * * *from /var/lib/dkms/nvidia/173.14.27/build/nv.c:13:
/usr/src/linux-headers-2.6.32-5-common/include/asm-generic/dma-mapping-common.h: In function ‘dma_map_page’:
/usr/src/linux-headers-2.6.32-5-common/include/asm-generic/dma-mapping-common.h:77: warning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-5-common/include/asm-generic/dma-mapping-common.h: In function ‘dma_sync_single_range_for_device’:
/usr/src/linux-headers-2.6.32-5-common/include/asm-generic/dma-mapping-common.h:142: internal compiler error: Abandon
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.3/README.Bugs> for instructions.
make[4]: *** [/var/lib/dkms/nvidia/173.14.27/build/nv.o] Erreur 1
make[3]: *** [_module_/var/lib/dkms/nvidia/173.14.27/build] Erreur 2
make[2]: *** [sub-make] Erreur 2
make[1]: *** [all] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-headers-2.6.32-5-686 »
make: *** [modules] Erreur 2
make: quittant le répertoire « /var/lib/dkms/nvidia/173.14.27/build »
Here are two returns of apt-get install --reinstall nvidia-kernel-leagcy-173xx-dkms:
Code:
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances* * * *
Lecture des informations d'état... Fait
Le paquet suivant a été installé automatiquement et n'est plus nécessaire*:
* libdrm-nouveau1
Veuillez utiliser «*apt-get autoremove*» pour les supprimer.
0 mis à jour, 0 nouvellement installés, 1 réinstallés, 0 à enlever et 0 non mis à jour.
Il est nécessaire de prendre 0 o/5 314 ko dans les archives.
Après cette opération, 0 o d'espace disque supplémentaires seront utilisés.
(Lecture de la base de données... 79166 fichiers et répertoires déjà installés.)
Préparation du remplacement de nvidia-kernel-legacy-173xx-dkms 173.14.27-2 (en utilisant .../nvidia-kernel-legacy-173xx-dkms_173.14.27-2_i386.deb) ...

------------------------------
Deleting module version: 173.14.27
completely from the DKMS tree.
------------------------------
Done.
Dépaquetage de la mise à jour de nvidia-kernel-legacy-173xx-dkms ...
Paramétrage de nvidia-kernel-legacy-173xx-dkms (173.14.27-2) ...
Loading new nvidia-173.14.27 DKMS files...
Building only for 2.6.32-5-686
Building initial module for 2.6.32-5-686
*** glibc detected *** /usr/lib/gcc/i486-linux-gnu/4.3.5/cc1: malloc(): memory corruption: 0x08821800 ***
======= Backtrace: =========
/lib/i686/cmov/libc.so.6(+0x6b281)[0x40146281]
/lib/i686/cmov/libc.so.6(+0x6e085)[0x40149085]
/lib/i686/cmov/libc.so.6(__libc_calloc+0xab)[0x4014a3fb]
/usr/lib/gcc/i486-linux-gnu/4.3.5/cc1[0x85d9f87]
======= Memory map: ========
08048000-086e5000 r-xp 00000000 08:03 408646* * */usr/lib/gcc/i486-linux-gnu/4.3/cc1
086e5000-0874c000 rw-p 0069d000 08:03 408646* * */usr/lib/gcc/i486-linux-gnu/4.3/cc1
0874c000-0879a000 rw-p 00000000 00:00 0 
087ad000-088e3000 rw-p 00000000 00:00 0* * * * * [heap]
40000000-4001b000 r-xp 00000000 08:03 130096* * */lib/ld-2.11.2.so
4001b000-4001c000 r--p 0001a000 08:03 130096* * */lib/ld-2.11.2.so
4001c000-4001d000 rw-p 0001b000 08:03 130096* * */lib/ld-2.11.2.so
4001d000-4001e000 r-xp 00000000 00:00 0* * * * * [vdso]
4001e000-4002b000 rw-p 00000000 00:00 0 
4002b000-4002c000 rw-p 00000000 00:00 0 
4002c000-4007c000 r-xp 00000000 08:03 11607* * * /usr/lib/libmpfr.so.4.0.0
4007c000-4007d000 rw-p 00050000 08:03 11607* * * /usr/lib/libmpfr.so.4.0.0
4007d000-400da000 r-xp 00000000 08:03 10403* * * /usr/lib/libgmp.so.3.5.2
400da000-400db000 rw-p 0005d000 08:03 10403* * * /usr/lib/libgmp.so.3.5.2
400db000-4021b000 r-xp 00000000 08:03 135631* * */lib/i686/cmov/libc-2.11.2.so
4021b000-4021d000 r--p 0013f000 08:03 135631* * */lib/i686/cmov/libc-2.11.2.so
4021d000-4021e000 rw-p 00141000 08:03 135631* * */lib/i686/cmov/libc-2.11.2.so
4021e000-40222000 rw-p 00000000 00:00 0 
40222000-40397000 r--p 00000000 08:03 2565* * * */usr/lib/locale/locale-archive
40397000-40dc0000 rw-p 00000000 00:00 0 
40dcc000-40de9000 r-xp 00000000 08:03 130072* * */lib/libgcc_s.so.1
40de9000-40dea000 rw-p 0001c000 08:03 130072* * */lib/libgcc_s.so.1
40e00000-40e21000 rw-p 00000000 00:00 0 
40e21000-40f00000 ---p 00000000 00:00 0 
bf9d2000-bf9e9000 rw-p 00000000 00:00 0* * * * * [stack]

Error! Bad return status for module build on kernel: 2.6.32-5-686 (i686)
Consult the make.log in the build directory
/var/lib/dkms/nvidia/173.14.27/build/ for more information.
Code:
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances* * * *
Lecture des informations d'état... Fait
Le paquet suivant a été installé automatiquement et n'est plus nécessaire*:
* libdrm-nouveau1
Veuillez utiliser «*apt-get autoremove*» pour les supprimer.
0 mis à jour, 0 nouvellement installés, 1 réinstallés, 0 à enlever et 0 non mis à jour.
Il est nécessaire de prendre 0 o/5 314 ko dans les archives.
Après cette opération, 0 o d'espace disque supplémentaires seront utilisés.
(Lecture de la base de données... 79166 fichiers et répertoires déjà installés.)
Préparation du remplacement de nvidia-kernel-legacy-173xx-dkms 173.14.27-2 (en utilisant .../nvidia-kernel-legacy-173xx-dkms_173.14.27-2_i386.deb) ...

------------------------------
Deleting module version: 173.14.27
completely from the DKMS tree.
------------------------------
Done.
Dépaquetage de la mise à jour de nvidia-kernel-legacy-173xx-dkms ...
Paramétrage de nvidia-kernel-legacy-173xx-dkms (173.14.27-2) ...
Loading new nvidia-173.14.27 DKMS files...
Building only for 2.6.32-5-686
Building initial module for 2.6.32-5-686
*** glibc detected *** /usr/lib/gcc/i486-linux-gnu/4.3.5/cc1: free(): invalid size: 0x08f1d8a0 ***
======= Backtrace: =========
/lib/i686/cmov/libc.so.6(+0x6b281)[0x40146281]
/lib/i686/cmov/libc.so.6(+0x6cad8)[0x40147ad8]
/lib/i686/cmov/libc.so.6(cfree+0x6d)[0x4014abbd]
/usr/lib/gcc/i486-linux-gnu/4.3.5/cc1[0x810188c]
======= Memory map: ========
08048000-086e5000 r-xp 00000000 08:03 408646* * */usr/lib/gcc/i486-linux-gnu/4.3/cc1
086e5000-0874c000 rw-p 0069d000 08:03 408646* * */usr/lib/gcc/i486-linux-gnu/4.3/cc1
0874c000-0879a000 rw-p 00000000 00:00 0 
08d31000-08fba000 rw-p 00000000 00:00 0* * * * * [heap]
40000000-4001b000 r-xp 00000000 08:03 130096* * */lib/ld-2.11.2.so
4001b000-4001c000 r--p 0001a000 08:03 130096* * */lib/ld-2.11.2.so
4001c000-4001d000 rw-p 0001b000 08:03 130096* * */lib/ld-2.11.2.so
4001d000-4001e000 r-xp 00000000 00:00 0* * * * * [vdso]
4001e000-4002b000 rw-p 00000000 00:00 0 
4002b000-4002c000 rw-p 00000000 00:00 0 
4002c000-4007c000 r-xp 00000000 08:03 11607* * * /usr/lib/libmpfr.so.4.0.0
4007c000-4007d000 rw-p 00050000 08:03 11607* * * /usr/lib/libmpfr.so.4.0.0
4007d000-400da000 r-xp 00000000 08:03 10403* * * /usr/lib/libgmp.so.3.5.2
400da000-400db000 rw-p 0005d000 08:03 10403* * * /usr/lib/libgmp.so.3.5.2
400db000-4021b000 r-xp 00000000 08:03 135631* * */lib/i686/cmov/libc-2.11.2.so
4021b000-4021d000 r--p 0013f000 08:03 135631* * */lib/i686/cmov/libc-2.11.2.so
4021d000-4021e000 rw-p 00141000 08:03 135631* * */lib/i686/cmov/libc-2.11.2.so
4021e000-40222000 rw-p 00000000 00:00 0 
40222000-40397000 r--p 00000000 08:03 2565* * * */usr/lib/locale/locale-archive
40397000-408bb000 rw-p 00000000 00:00 0 
408bc000-4183d000 rw-p 00000000 00:00 0 
41849000-41866000 r-xp 00000000 08:03 130072* * */lib/libgcc_s.so.1
41866000-41867000 rw-p 0001c000 08:03 130072* * */lib/libgcc_s.so.1
41900000-41921000 rw-p 00000000 00:00 0 
41921000-41a00000 ---p 00000000 00:00 0 
bfe2f000-bfe46000 rw-p 00000000 00:00 0* * * * * [stack]

Error! Bad return status for module build on kernel: 2.6.32-5-686 (i686)
Consult the make.log in the build directory
/var/lib/dkms/nvidia/173.14.27/build/ for more information.
When I try to install the driver with the official installer, here is what it gives (in the /var/log/nvidia-installer.log file):
Code:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon Apr 25 11:48:18 2011
installer version: 1.0.7

PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

option status:
* license pre-accepted* * * * * * * *: false
* update* * * * * * * * * * * * * * *: false
* force update* * * * * * * * * * * *: false
* expert* * * * * * * * * * * * * * *: false
* uninstall* * * * * * * * * * * * * : false
* driver info* * * * * * * * * * * * : false
* precompiled interfaces* * * * * * *: true
* no ncurses color* * * * * * * * * *: false
* query latest version* * * * * * * *: false
* OpenGL header files* * * * * * * * : true
* no questions* * * * * * * * * * * *: false
* silent* * * * * * * * * * * * * * *: false
* no recursion* * * * * * * * * * * *: false
* no backup* * * * * * * * * * * * * : false
* kernel module only* * * * * * * * *: false
* sanity* * * * * * * * * * * * * * *: false
* add this kernel* * * * * * * * * * : false
* no runlevel check* * * * * * * * * : false
* no network* * * * * * * * * * * * *: false
* no ABI note* * * * * * * * * * * * : false
* no RPMs* * * * * * * * * * * * * * : false
* no kernel module* * * * * * * * * *: false
* force SELinux* * * * * * * * * * * : default
* no X server check* * * * * * * * * : false
* no cc version check* * * * * * * * : false
* run distro scripts* * * * * * * * *: true
* no nouveau check* * * * * * * * * *: false
* run nvidia-xconfig* * * * * * * * *: false
* sigwinch work around* * * * * * * *: true
* force tls* * * * * * * * * * * * * : (not specified)
* X install prefix* * * * * * * * * *: (not specified)
* X library install path* * * * * * *: (not specified)
* X module install path* * * * * * * : (not specified)
* OpenGL install prefix* * * * * * * : (not specified)
* OpenGL install libdir* * * * * * * : (not specified)
* utility install prefix* * * * * * *: (not specified)
* utility install libdir* * * * * * *: (not specified)
* installer prefix* * * * * * * * * *: (not specified)
* doc install prefix* * * * * * * * *: (not specified)
* kernel name* * * * * * * * * * * * : (not specified)
* kernel include path* * * * * * * * : (not specified)
* kernel source path* * * * * * * * *: (not specified)
* kernel output path* * * * * * * * *: (not specified)
* kernel install path* * * * * * * * : (not specified)
* precompiled kernel interfaces path : (not specified)
* precompiled kernel interfaces url* : (not specified)
* proc mount point* * * * * * * * * *: /proc
* ui* * * * * * * * * * * * * * * * *: (not specified)
* tmpdir* * * * * * * * * * * * * * *: /tmp
* ftp mirror* * * * * * * * * * * * *: ftp://download.nvidia.com
* RPM file list* * * * * * * * * * * : (not specified)
* selinux chcon type* * * * * * * * *: (not specified)

Using: nvidia-installer ncurses user interface
-> License accepted.
-> Installing NVIDIA driver version 173.14.28.
-> Performing CC sanity check with CC="/usr/bin/gcc-4.3".
-> Performing CC version check with CC="/usr/bin/gcc-4.3".
-> Kernel source path: '/lib/modules/2.6.32-5-686/source'
-> Kernel output path: '/lib/modules/2.6.32-5-686/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Cleaning kernel module build directory.
* *executing: 'cd ./usr/src/nv; make clean'...
-> Building kernel module:
* *executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.32-5-686/so
* *urce SYSOUT=/lib/modules/2.6.32-5-686/build'...
* *NVIDIA: calling KBUILD...
* *make CC=/usr/bin/gcc-4.3 KBUILD_OUTPUT=/lib/modules/2.6.32-5-686/build KBUIL
* *D_VERBOSE=1 -C /lib/modules/2.6.32-5-686/source SUBDIRS=/tmp/selfgz1701/NVID
* *IA-Linux-x86-173.14.28-pkg1/usr/src/nv modules
* *make -C /lib/modules/2.6.32-5-686/build \
* ** *KBUILD_SRC=/usr/src/linux-headers-2.6.32-5-common \
* ** *KBUILD_EXTMOD="/tmp/selfgz1701/NVIDIA-Linux-x86-173.14.28-pkg1/usr/src/nv" 
* *-f /usr/src/linux-headers-2.6.32-5-common/Makefile \
* ** *modules
* *test -e include/linux/autoconf.h -a -e include/config/auto.conf || (* ** *\
* ** *echo;* ** ** ** ** ** ** ** *\
* ** *echo "* ERROR: Kernel configuration is invalid.";* ** *\
* ** *echo "* * * * *include/linux/autoconf.h or include/config/auto.conf are mis
* *sing.";* *\
* ** *echo "* * * * *Run 'make oldconfig && make prepare' on kernel src to fix it
* *.";* *\
* ** *echo;* ** ** ** ** ** ** ** *\
* ** */bin/false)
* *mkdir -p /tmp/selfgz1701/NVIDIA-Linux-x86-173.14.28-pkg1/usr/src/nv/.tmp_ver
* *sions ; rm -f /tmp/selfgz1701/NVIDIA-Linux-x86-173.14.28-pkg1/usr/src/nv/.tm
* *p_versions/*
* *make -f /usr/src/linux-headers-2.6.32-5-common/scripts/Makefile.build obj=/t
* *mp/selfgz1701/NVIDIA-Linux-x86-173.14.28-pkg1/usr/src/nv
* * */usr/bin/gcc-4.3 -Wp,-MD,/tmp/selfgz1701/NVIDIA-Linux-x86-173.14.28-pkg1/u
* *sr/src/nv/.nv.o.d* -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.3.5/incl
* *ude -Iinclude -Iinclude2 -I/usr/src/linux-headers-2.6.32-5-common/include -I
* */usr/src/linux-headers-2.6.32-5-common/arch/x86/include -include include/lin
* *ux/autoconf.h* *-I/tmp/selfgz1701/NVIDIA-Linux-x86-173.14.28-pkg1/usr/src/nv
* *-D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-al
* *iasing -fno-common -Werror-implicit-function-declaration -Wno-format-securit
* *y -fno-delete-null-pointer-checks -Os -m32 -msoft-float -mregparm=3 -freg-st
* *ruct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -Wa,-mtu
* *ne=generic32 -ffreestanding -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_
* *CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -
* *mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fomit-frame-pointer -Wdeclaration-aft
* *er-statement -Wno-pointer-sign -fno-str
* *ict-overflow* *-I/tmp/selfgz1701/NVIDIA-Linux-x86-173.14.28-pkg1/usr/src/nv 
* *-Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparenth
* *eses -Wpointer-arith -Wno-multichar -Werror -MD -Wsign-compare -Wno-cast-qua
* *l -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"173.14.28\" 
* *-UDEBUG -U_DEBUG -DNDEBUG* -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=
* *KBUILD_STR(nv)"* -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"* -c -o /tmp/selfgz170
* *1/NVIDIA-Linux-x86-173.14.28-pkg1/usr/src/nv/.tmp_nv.o /tmp/selfgz1701/NVIDI
* *A-Linux-x86-173.14.28-pkg1/usr/src/nv/nv.c
* *In file included from /tmp/selfgz1701/NVIDIA-Linux-x86-173.14.28-pkg1/usr/sr
* *c/nv/nv-linux.h:16,
* * * * * * * * * * from /tmp/selfgz1701/NVIDIA-Linux-x86-173.14.28-pkg1/usr/sr
* *c/nv/nv.c:13:
* */tmp/selfgz1701/NVIDIA-Linux-x86-173.14.28-pkg1/usr/src/nv/conftest.h:19:2: 
* *error: #error irq_handler_t() conftest failed!
* */tmp/selfgz1701/NVIDIA-Linux-x86-173.14.28-pkg1/usr/src/nv/conftest.h:25:2: 
* *error: #error kmem_cache_create() conftest failed!
* *In file included from /usr/src/linux-headers-2.6.32-5-common/include/linux/b
* *itops.h:17,
* * * * * * * * * * from /usr/src/linux-headers-2.6.32-5-common/include/linux/k
* *ernel.h:15,
* * * * * * * * * * from /usr/src/linux-headers-2.6.32-5-common/include/linux/s
* *ched.h:54,
* * * * * * * * * * from /usr/src/linux-headers-2.6.32-5-common/include/linux/u
* *tsname.h:35,
* * * * * * * * * * from /tmp/selfgz1701/NVIDIA-Linux-x86-173.14.28-pkg1/usr/sr
* *c/nv/nv-linux.h:25,
* * * * * * * * * * from /tmp/selfgz1701/NVIDIA-Linux-x86-173.14.28-pkg1/usr/sr
* *c/nv/nv.c:13:
* */usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/bitops.h: In fun
* *ction ‘set_bit’:
* */usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/bitops.h:64: war
* *ning: pointer of type ‘void *’ used in arithmetic
* */usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/bitops.h: In fun
* *ction ‘clear_bit’:
* */usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/bitops.h:102: wa
* *rning: pointer of type ‘void *’ used in arithmetic
* */usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/bitops.h: In fun
* *ction ‘change_bit’:
* */usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/bitops.h:178: wa
* *rning: pointer of type ‘void *’ used in arithmetic
* *In file included from /usr/src/linux-headers-2.6.32-5-common/include/linux/l
* *ist.h:6,
* * * * * * * * * * from /usr/src/linux-headers-2.6.32-5-common/include/linux/p
* *reempt.h:11,
* * * * * * * * * * from /usr/src/linux-headers-2.6.32-5-common/include/linux/s
* *pinlock.h:50,
* * * * * * * * * * from /usr/src/linux-headers-2.6.32-5-common/include/linux/s
* *eqlock.h:29,
* * * * * * * * * * from /usr/src/linux-headers-2.6.32-5-common/include/linux/t
* *ime.h:8,
* * * * * * * * * * from /usr/src/linux-headers-2.6.32-5-common/include/linux/t
* *imex.h:56,
* * * * * * * * * * from /usr/src/linux-headers-2.6.32-5-common/include/linux/s
* *ched.h:56,
* * * * * * * * * * from /usr/src/linux-headers-2.6.32-5-common/include/linux/u
* *tsname.h:35,
* * * * * * * * * * from /tmp/selfgz1701/NVIDIA-Linux-x86-173.14.28-pkg1/usr/sr
* *c/nv/nv-linux.h:25,
* * * * * * * * * * from /tmp/selfgz1701/NVIDIA-Linux-x86-173.14.28-pkg1/usr/sr
* *c/nv/nv.c:13:
* */usr/src/linux-headers-2.6.32-5-common/include/linux/prefetch.h: In function
* *‘prefetch_range’:
* */usr/src/linux-headers-2.6.32-5-common/include/linux/prefetch.h:57: warning:
* *pointer of type ‘void *’ used in arithmetic
* *In file included from /usr/src/linux-headers-2.6.32-5-common/include/linux/p
* *reempt.h:11,
* * * * * * * * * * from /usr/src/linux-headers-2.6.32-5-common/include/linux/s
* *pinlock.h:50,
* * * * * * * * * * from /usr/src/linux-headers-2.6.32-5-common/include/linux/s
* *eqlock.h:29,
* * * * * * * * * * from /usr/src/linux-headers-2.6.32-5-common/include/linux/t
* *ime.h:8,
* * * * * * * * * * from /usr/src/linux-headers-2.6.32-5-common/include/linux/t
* *imex.h:56,
* * * * * * * * * * from /usr/src/linux-headers-2.6.32-5-common/include/linux/s
* *ched.h:56,
* * * * * * * * * * from /usr/src/linux-headers-2.6.32-5-common/include/linux/u
* *tsname.h:35,
* * * * * * * * * * from /tmp/selfgz1701/NVIDIA-Linux-x86-173.14.28-pkg1/usr/sr
* *c/nv/nv-linux.h:25,
* * * * * * * * * * from /tmp/selfgz1701/NVIDIA-Linux-x86-173.14.28-pkg1/usr/sr
* *c/nv/nv.c:13:
* */usr/src/linux-headers-2.6.32-5-common/include/linux/list.h: In function ‘
* *list_del’:
* */usr/src/linux-headers-2.6.32-5-common/include/linux/list.h:106: warning: po
* *inter of type ‘void *’ used in arithmetic
* */usr/src/linux-headers-2.6.32-5-common/include/linux/list.h:107: warning: po
* *inter of type ‘void *’ used in arithmetic
* */usr/src/linux-headers-2.6.32-5-common/include/linux/list.h: In function ‘
* *hlist_del’:
* */usr/src/linux-headers-2.6.32-5-common/include/linux/list.h:579: warning: po
* *inter of type ‘void *’ used in arithmetic
* */usr/src/linux-headers-2.6.32-5-common/include/linux/list.h:580: warning: po
* *inter of type ‘void *’ used in arithmetic
* *In file included from /usr/src/linux-headers-2.6.32-5-common/include/linux/s
* *ched.h:82,
* * * * * * * * * * from /usr/src/linux-headers-2.6.32-5-common/include/linux/u
* *tsname.h:35,
* * * * * * * * * * from /tmp/selfgz1701/NVIDIA-Linux-x86-173.14.28-pkg1/usr/sr
* *c/nv/nv-linux.h:25,
* * * * * * * * * * from /tmp/selfgz1701/NVIDIA-Linux-x86-173.14.28-pkg1/usr/sr
* *c/nv/nv.c:13:
* */usr/src/linux-headers-2.6.32-5-common/include/linux/rculist.h: In function 
* *‘list_del_rcu’:
* */usr/src/linux-headers-2.6.32-5-common/include/linux/rculist.h:97: warning: 
* *pointer of type ‘void *’ used in arithmetic
* */usr/src/linux-headers-2.6.32-5-common/include/linux/rculist.h: In function 
* *‘list_replace_rcu’:
* */usr/src/linux-headers-2.6.32-5-common/include/linux/rculist.h:143: warning:
* *pointer of type ‘void *’ used in arithmetic
* */usr/src/linux-headers-2.6.32-5-common/include/linux/rculist.h: In function 
* *‘hlist_del_rcu’:
* */usr/src/linux-headers-2.6.32-5-common/include/linux/rculist.h:286: warning:
* *pointer of type ‘void *’ used in arithmetic
* */usr/src/linux-headers-2.6.32-5-common/include/linux/rculist.h: In function 
* *‘hlist_replace_rcu’:
* */usr/src/linux-headers-2.6.32-5-common/include/linux/rculist.h:306: warning:
* *pointer of type ‘void *’ used in arithmetic
* *In file included from /usr/src/linux-headers-2.6.32-5-common/include/linux/u
* *tsname.h:35,
* * * * * * * * * * from /tmp/selfgz1701/NVIDIA-Linux-x86-173.14.28-pkg1/usr/sr
* *c/nv/nv-linux.h:25,
* * * * * * * * * * from /tmp/selfgz1701/NVIDIA-Linux-x86-173.14.28-pkg1/usr/sr
* *c/nv/nv.c:13:
* */usr/src/linux-headers-2.6.32-5-common/include/linux/sched.h: In function â€
* *˜object_is_on_stack’:
* */usr/src/linux-headers-2.6.32-5-common/include/linux/sched.h:2337: warning: 
* *pointer of type ‘void *’ used in arithmetic
* *In file included from /usr/src/linux-headers-2.6.32-5-common/include/linux/i
* *o.h:22,
* * * * * * * * * * from /usr/src/linux-headers-2.6.32-5-common/include/linux/p
* *ci.h:54,
* * * * * * * * * * from /tmp/selfgz1701/NVIDIA-Linux-x86-173.14.28-pkg1/usr/sr
* *c/nv/nv-linux.h:89,
* * * * * * * * * * from /tmp/selfgz1701/NVIDIA-Linux-x86-173.14.28-pkg1/usr/sr
* *c/nv/nv.c:13:
* */usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/io.h: In functio
* *n ‘writeq’:
* */usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/io.h:70: warning
* *: pointer of type ‘void *’ used in arithmetic
* *In file included from /usr/src/linux-headers-2.6.32-5-common/include/linux/d
* *ma-mapping.h:7,
* * * * * * * * * * from /usr/src/linux-headers-2.6.32-5-common/include/asm-gen
* *eric/pci-dma-compat.h:7,
* * * * * * * * * * from /usr/src/linux-headers-2.6.32-5-common/arch/x86/includ
* *e/asm/pci.h:128,
* * * * * * * * * * from /usr/src/linux-headers-2.6.32-5-common/include/linux/p
* *ci.h:1131,
* * * * * * * * * * from /tmp/selfgz1701/NVIDIA-Linux-x86-173.14.28-pkg1/usr/sr
* *c/nv/nv-linux.h:89,
* * * * * * * * * * from /tmp/selfgz1701/NVIDIA-Linux-x86-173.14.28-pkg1/usr/sr
* *c/nv/nv.c:13:
* */usr/src/linux-headers-2.6.32-5-common/include/linux/scatterlist.h: In funct
* *ion ‘sg_virt’:
* */usr/src/linux-headers-2.6.32-5-common/include/linux/scatterlist.h:199: warn
* *ing: pointer of type ‘void *’ used in arithmetic
* *In file included from /usr/src/linux-headers-2.6.32-5-common/arch/x86/includ
* *e/asm/dma-mapping.h:42,
* * * * * * * * * * from /usr/src/linux-headers-2.6.32-5-common/include/linux/d
* *ma-mapping.h:103,
* * * * * * * * * * from /usr/src/linux-headers-2.6.32-5-common/include/asm-gen
* *eric/pci-dma-compat.h:7,
* * * * * * * * * * from /usr/src/linux-headers-2.6.32-5-common/arch/x86/includ
* *e/asm/pci.h:128,
* * * * * * * * * * from /usr/src/linux-headers-2.6.32-5-common/include/linux/p
* *ci.h:1131,
* * * * * * * * * * from /tmp/selfgz1701/NVIDIA-Linux-x86-173.14.28-pkg1/usr/sr
* *c/nv/nv-linux.h:89,
* * * * * * * * * * from /tmp/selfgz1701/NVIDIA-Linux-x86-173.14.28-pkg1/usr/sr
* *c/nv/nv.c:13:
* */usr/src/linux-headers-2.6.32-5-common/include/asm-generic/dma-mapping-commo
* *n.h: In function ‘dma_map_page’:
* */usr/src/linux-headers-2.6.32-5-common/include/asm-generic/dma-mapping-commo
* *n.h:77: warning: pointer of type ‘void *’ used in arithmetic
* *In file included from /tmp/selfgz1701/NVIDIA-Linux-x86-173.14.28-pkg1/usr/sr
* *c/nv/nv-linux.h:125,
* * * * * * * * * * from /tmp/selfgz1701/NVIDIA-Linux-x86-173.14.28-pkg1/usr/sr
* *c/nv/nv.c:13:
* */usr/src/linux-headers-2.6.32-5-common/include/linux/highmem.h: In function 
* *‘zero_user_segments’:
* */usr/src/linux-headers-2.6.32-5-common/include/linux/highmem.h:149: warning:
* *pointer of type ‘void *’ used in arithmetic
* */usr/src/linux-headers-2.6.32-5-common/include/linux/highmem.h:149: warning:
* *pointer of type ‘void *’ used in arithmetic
* */usr/src/linux-headers-2.6.32-5-common/include/linux/highmem.h:149: warning:
* *pointer of type ‘void *’ used in arithmetic
* */usr/src/linux-headers-2.6.32-5-common/include/linux/highmem.h:149: warning:
* *pointer of type ‘void *’ used in arithmetic
* */usr/src/linux-headers-2.6.32-5-common/include/linux/highmem.h:152: warning:
* *pointer of type ‘void *’ used in arithmetic
* */usr/src/linux-headers-2.6.32-5-common/include/linux/highmem.h:152: warning:
* *pointer of type ‘void *’ used in arithmetic
* */usr/src/linux-headers-2.6.32-5-common/include/linux/highmem.h:152: warning:
* *pointer of type ‘void *’ used in arithmetic
* */usr/src/linux-headers-2.6.32-5-common/include/linux/highmem.h:152: warning:
* *pointer of type ‘void *’ used in arithmetic
* *In file included from /tmp/selfgz1701/NVIDIA-Linux-x86-173.14.28-pkg1/usr/sr
* *c/nv/nv.c:13:
* */tmp/selfgz1701/NVIDIA-Linux-x86-173.14.28-pkg1/usr/src/nv/nv-linux.h:636:2:
* *error: #error "NV_KMEM_CACHE_CREATE() undefined (kmem_cache_create() unavail
* *able)!"
* *In file included from /tmp/selfgz1701/NVIDIA-Linux-x86-173.14.28-pkg1/usr/sr
* *c/nv/nv.c:13:
* */tmp/selfgz1701/NVIDIA-Linux-x86-173.14.28-pkg1/usr/src/nv/nv-linux.h: At to
* *p level:
* */tmp/selfgz1701/NVIDIA-Linux-x86-173.14.28-pkg1/usr/src/nv/nv-linux.h:924: e
* *rror: conflicting types for ‘pm_message_t’
* */usr/src/linux-headers-2.6.32-5-common/include/linux/pm.h:45: error: previou
* *s declaration of ‘pm_message_t’ was here
* */tmp/selfgz1701/NVIDIA-Linux-x86-173.14.28-pkg1/usr/src/nv/nv.c:385: warning
* *: initialization from incompatible pointer type
* */tmp/selfgz1701/NVIDIA-Linux-x86-173.14.28-pkg1/usr/src/nv/nv.c: In function
* *‘nvidia_init_module’:
* */tmp/selfgz1701/NVIDIA-Linux-x86-173.14.28-pkg1/usr/src/nv/nv.c:1380: error:
* *implicit declaration of function ‘NV_KMEM_CACHE_CREATE’
* */tmp/selfgz1701/NVIDIA-Linux-x86-173.14.28-pkg1/usr/src/nv/nv.c:1380: error:
* *expected expression before ‘nv_stack_t’
* */tmp/selfgz1701/NVIDIA-Linux-x86-173.14.28-pkg1/usr/src/nv/nv.c:1390: error:
* *implicit declaration of function ‘NV_KMEM_CACHE_DESTROY’
* */tmp/selfgz1701/NVIDIA-Linux-x86-173.14.28-pkg1/usr/src/nv/nv.c:1502: error:
* *expected expression before ‘nv_pte_t’
* */tmp/selfgz1701/NVIDIA-Linux-x86-173.14.28-pkg1/usr/src/nv/nv.c: In function
* *‘nv_kern_open’:
* */tmp/selfgz1701/NVIDIA-Linux-x86-173.14.28-pkg1/usr/src/nv/nv.c:2073: warnin
* *g: passing argument 2 of ‘request_irq’ from incompatible pointer type
* *make[4]: *** [/tmp/selfgz1701/NVIDIA-Linux-x86-173.14.28-pkg1/usr/src/nv/nv.
* *o] Erreur 1
* *make[3]: *** [_module_/tmp/selfgz1701/NVIDIA-Linux-x86-173.14.28-pkg1/usr/sr
* *c/nv] Erreur 2
* *make[2]: *** [sub-make] 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.
So, any clue about my problem?
Julius22 is offline   Reply With Quote
Old 05-02-11, 10:41 AM   #2
artem
Registered User
 
Join Date: Jun 2006
Posts: 713
Default Re: 173.xx kernel module won't build

Year, try 173.14.30
artem is offline   Reply With Quote
Old 05-02-11, 11:44 AM   #3
Julius22
Registered User
 
Join Date: May 2011
Posts: 5
Default Re: 173.xx kernel module won't build

I tried your suggestion... with no more luck:
Code:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon May  2 17:34:40 2011
installer version: 1.0.7

PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

option status:
  license pre-accepted               : false
  update                             : false
  force update                       : false
  expert                             : false
  uninstall                          : false
  driver info                        : false
  precompiled interfaces             : true
  no ncurses color                   : false
  query latest version               : false
  OpenGL header files                : true
  no questions                       : false
  silent                             : false
  no recursion                       : false
  no backup                          : false
  kernel module only                 : false
  sanity                             : false
  add this kernel                    : false
  no runlevel check                  : false
  no network                         : false
  no ABI note                        : false
  no RPMs                            : false
  no kernel module                   : false
  force SELinux                      : default
  no X server check                  : false
  no cc version check                : false
  run distro scripts                 : true
  no nouveau check                   : false
  run nvidia-xconfig                 : false
  sigwinch work around               : true
  force tls                          : (not specified)
  X install prefix                   : (not specified)
  X library install path             : (not specified)
  X module install path              : (not specified)
  OpenGL install prefix              : (not specified)
  OpenGL install libdir              : (not specified)
  utility install prefix             : (not specified)
  utility install libdir             : (not specified)
  installer prefix                   : (not specified)
  doc install prefix                 : (not specified)
  kernel name                        : (not specified)
  kernel include path                : (not specified)
  kernel source path                 : (not specified)
  kernel output path                 : (not specified)
  kernel install path                : (not specified)
  precompiled kernel interfaces path : (not specified)
  precompiled kernel interfaces url  : (not specified)
  proc mount point                   : /proc
  ui                                 : (not specified)
  tmpdir                             : /tmp
  ftp mirror                         : ftp://download.nvidia.com
  RPM file list                      : (not specified)
  selinux chcon type                 : (not specified)

Using: nvidia-installer ncurses user interface
-> License accepted.
-> Installing NVIDIA driver version 173.14.30.
-> Performing CC sanity check with CC="/usr/bin/gcc-4.3".
-> Performing CC version check with CC="/usr/bin/gcc-4.3".
-> Kernel source path: '/lib/modules/2.6.32-5-686/source'
-> Kernel output path: '/lib/modules/2.6.32-5-686/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Cleaning kernel module build directory.
   executing: 'cd ./usr/src/nv; make clean'...
-> Building kernel module:
   executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.32-5-686/so
   urce SYSOUT=/lib/modules/2.6.32-5-686/build'...
   NVIDIA: calling KBUILD...
   make CC=/usr/bin/gcc-4.3 KBUILD_OUTPUT=/lib/modules/2.6.32-5-686/build KBUIL
   D_VERBOSE=1 -C /lib/modules/2.6.32-5-686/source SUBDIRS=/tmp/selfgz2019/NVID
   IA-Linux-x86-173.14.30-pkg1/usr/src/nv modules
   make -C /lib/modules/2.6.32-5-686/build \
   	KBUILD_SRC=/usr/src/linux-headers-2.6.32-5-common \
   	KBUILD_EXTMOD="/tmp/selfgz2019/NVIDIA-Linux-x86-173.14.30-pkg1/usr/src/nv" 
   -f /usr/src/linux-headers-2.6.32-5-common/Makefile \
   	modules
   test -e include/linux/autoconf.h -a -e include/config/auto.conf || (		\
   	echo;								\
   	echo "  ERROR: Kernel configuration is invalid.";		\
   	echo "         include/linux/autoconf.h or include/config/auto.conf are mis
   sing.";	\
   	echo "         Run 'make oldconfig && make prepare' on kernel src to fix it
   .";	\
   	echo;								\
   	/bin/false)
   mkdir -p /tmp/selfgz2019/NVIDIA-Linux-x86-173.14.30-pkg1/usr/src/nv/.tmp_ver
   sions ; rm -f /tmp/selfgz2019/NVIDIA-Linux-x86-173.14.30-pkg1/usr/src/nv/.tm
   p_versions/*
   make -f /usr/src/linux-headers-2.6.32-5-common/scripts/Makefile.build obj=/t
   mp/selfgz2019/NVIDIA-Linux-x86-173.14.30-pkg1/usr/src/nv
     /usr/bin/gcc-4.3 -Wp,-MD,/tmp/selfgz2019/NVIDIA-Linux-x86-173.14.30-pkg1/u
   sr/src/nv/.nv.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.3.5/incl
   ude -Iinclude -Iinclude2 -I/usr/src/linux-headers-2.6.32-5-common/include -I
   /usr/src/linux-headers-2.6.32-5-common/arch/x86/include -include include/lin
   ux/autoconf.h   -I/tmp/selfgz2019/NVIDIA-Linux-x86-173.14.30-pkg1/usr/src/nv
   -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-al
   iasing -fno-common -Werror-implicit-function-declaration -Wno-format-securit
   y -fno-delete-null-pointer-checks -Os -m32 -msoft-float -mregparm=3 -freg-st
   ruct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -Wa,-mtu
   ne=generic32 -ffreestanding -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_
   CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -
   mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fomit-frame-pointer -Wdeclaration-aft
   er-statement -Wno-pointer-sign -fno-str
   ict-overflow   -I/tmp/selfgz2019/NVIDIA-Linux-x86-173.14.30-pkg1/usr/src/nv 
   -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparenth
   eses -Wpointer-arith -Wno-multichar -Werror -MD -Wsign-compare -Wno-cast-qua
   l -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"173.14.30\" 
   -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=
   KBUILD_STR(nv)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"  -c -o /tmp/selfgz201
   9/NVIDIA-Linux-x86-173.14.30-pkg1/usr/src/nv/.tmp_nv.o /tmp/selfgz2019/NVIDI
   A-Linux-x86-173.14.30-pkg1/usr/src/nv/nv.c
   In file included from /usr/src/linux-headers-2.6.32-5-common/include/linux/b
   itops.h:17,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/k
   ernel.h:15,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/s
   ched.h:54,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/u
   tsname.h:35,
                    from /tmp/selfgz2019/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv-linux.h:25,
                    from /tmp/selfgz2019/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv.c:13:
   /usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/bitops.h: In fun
   ction ‘set_bit’:
   /usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/bitops.h:64: war
   ning: pointer of type ‘void *’ used in arithmetic
   /usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/bitops.h: In fun
   ction ‘clear_bit’:
   /usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/bitops.h:102: wa
   rning: pointer of type ‘void *’ used in arithmetic
   /usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/bitops.h: In fun
   ction ‘change_bit’:
   /usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/bitops.h:178: wa
   rning: pointer of type ‘void *’ used in arithmetic
   In file included from /usr/src/linux-headers-2.6.32-5-common/include/linux/l
   ist.h:6,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/p
   reempt.h:11,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/s
   pinlock.h:50,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/s
   eqlock.h:29,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/t
   ime.h:8,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/t
   imex.h:56,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/s
   ched.h:56,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/u
   tsname.h:35,
                    from /tmp/selfgz2019/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv-linux.h:25,
                    from /tmp/selfgz2019/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv.c:13:
   /usr/src/linux-headers-2.6.32-5-common/include/linux/prefetch.h: In function
   ‘prefetch_range’:
   /usr/src/linux-headers-2.6.32-5-common/include/linux/prefetch.h:57: warning:
   pointer of type ‘void *’ used in arithmetic
   In file included from /usr/src/linux-headers-2.6.32-5-common/include/linux/p
   reempt.h:11,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/s
   pinlock.h:50,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/s
   eqlock.h:29,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/t
   ime.h:8,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/t
   imex.h:56,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/s
   ched.h:56,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/u
   tsname.h:35,
                    from /tmp/selfgz2019/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv-linux.h:25,
                    from /tmp/selfgz2019/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv.c:13:
   /usr/src/linux-headers-2.6.32-5-common/include/linux/list.h: In function ‘
   list_del’:
   /usr/src/linux-headers-2.6.32-5-common/include/linux/list.h:106: warning: po
   inter of type ‘void *’ used in arithmetic
   /usr/src/linux-headers-2.6.32-5-common/include/linux/list.h:107: warning: po
   inter of type ‘void *’ used in arithmetic
   /usr/src/linux-headers-2.6.32-5-common/include/linux/list.h: In function ‘
   hlist_del’:
   /usr/src/linux-headers-2.6.32-5-common/include/linux/list.h:579: warning: po
   inter of type ‘void *’ used in arithmetic
   /usr/src/linux-headers-2.6.32-5-common/include/linux/list.h:580: warning: po
   inter of type ‘void *’ used in arithmetic
   In file included from /usr/src/linux-headers-2.6.32-5-common/include/linux/s
   ched.h:82,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/u
   tsname.h:35,
                    from /tmp/selfgz2019/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv-linux.h:25,
                    from /tmp/selfgz2019/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv.c:13:
   /usr/src/linux-headers-2.6.32-5-common/include/linux/rculist.h: In function 
   ‘list_del_rcu’:
   /usr/src/linux-headers-2.6.32-5-common/include/linux/rculist.h:97: warning: 
   pointer of type ‘void *’ used in arithmetic
   /usr/src/linux-headers-2.6.32-5-common/include/linux/rculist.h: In function 
   ‘list_replace_rcu’:
   /usr/src/linux-headers-2.6.32-5-common/include/linux/rculist.h:143: warning:
   pointer of type ‘void *’ used in arithmetic
   /usr/src/linux-headers-2.6.32-5-common/include/linux/rculist.h: In function 
   ‘hlist_del_rcu’:
   /usr/src/linux-headers-2.6.32-5-common/include/linux/rculist.h:286: warning:
   pointer of type ‘void *’ used in arithmetic
   /usr/src/linux-headers-2.6.32-5-common/include/linux/rculist.h: In function 
   ‘hlist_replace_rcu’:
   /usr/src/linux-headers-2.6.32-5-common/include/linux/rculist.h:306: warning:
   pointer of type ‘void *’ used in arithmetic
   In file included from /usr/src/linux-headers-2.6.32-5-common/include/linux/u
   tsname.h:35,
                    from /tmp/selfgz2019/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv-linux.h:25,
                    from /tmp/selfgz2019/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv.c:13:
   /usr/src/linux-headers-2.6.32-5-common/include/linux/sched.h: In function â€
   ˜object_is_on_stack’:
   /usr/src/linux-headers-2.6.32-5-common/include/linux/sched.h:2337: warning: 
   pointer of type ‘void *’ used in arithmetic
   In file included from /usr/src/linux-headers-2.6.32-5-common/include/linux/i
   o.h:22,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/p
   ci.h:54,
                    from /tmp/selfgz2019/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv-linux.h:88,
                    from /tmp/selfgz2019/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv.c:13:
   /usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/io.h: In functio
   n ‘writeq’:
   /usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/io.h:70: warning
   : pointer of type ‘void *’ used in arithmetic
   In file included from /usr/src/linux-headers-2.6.32-5-common/include/linux/d
   ma-mapping.h:7,
                    from /usr/src/linux-headers-2.6.32-5-common/include/asm-gen
   eric/pci-dma-compat.h:7,
                    from /usr/src/linux-headers-2.6.32-5-common/arch/x86/includ
   e/asm/pci.h:128,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/p
   ci.h:1131,
                    from /tmp/selfgz2019/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv-linux.h:88,
                    from /tmp/selfgz2019/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv.c:13:
   /usr/src/linux-headers-2.6.32-5-common/include/linux/scatterlist.h: In funct
   ion ‘sg_virt’:
   /usr/src/linux-headers-2.6.32-5-common/include/linux/scatterlist.h:199: warn
   ing: pointer of type ‘void *’ used in arithmetic
   In file included from /usr/src/linux-headers-2.6.32-5-common/arch/x86/includ
   e/asm/dma-mapping.h:42,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/d
   ma-mapping.h:103,
                    from /usr/src/linux-headers-2.6.32-5-common/include/asm-gen
   eric/pci-dma-compat.h:7,
                    from /usr/src/linux-headers-2.6.32-5-common/arch/x86/includ
   e/asm/pci.h:128,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/p
   ci.h:1131,
                    from /tmp/selfgz2019/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv-linux.h:88,
                    from /tmp/selfgz2019/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv.c:13:
   /usr/src/linux-headers-2.6.32-5-common/include/asm-generic/dma-mapping-commo
   n.h: In function ‘dma_map_page’:
   /usr/src/linux-headers-2.6.32-5-common/include/asm-generic/dma-mapping-commo
   n.h:77: warning: pointer of type ‘void *’ used in arithmetic
   In file included from /tmp/selfgz2019/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv-linux.h:124,
                    from /tmp/selfgz2019/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv.c:13:
   /usr/src/linux-headers-2.6.32-5-common/include/linux/highmem.h: In function 
   ‘zero_user_segments’:
   /usr/src/linux-headers-2.6.32-5-common/include/linux/highmem.h:149: warning:
   pointer of type ‘void *’ used in arithmetic
   /usr/src/linux-headers-2.6.32-5-common/include/linux/highmem.h:149: warning:
   pointer of type ‘void *’ used in arithmetic
   /usr/src/linux-headers-2.6.32-5-common/include/linux/highmem.h:149: warning:
   pointer of type ‘void *’ used in arithmetic
   /usr/src/linux-headers-2.6.32-5-common/include/linux/highmem.h:149: warning:
   pointer of type ‘void *’ used in arithmetic
   /usr/src/linux-headers-2.6.32-5-common/include/linux/highmem.h:152: warning:
   pointer of type ‘void *’ used in arithmetic
   /usr/src/linux-headers-2.6.32-5-common/include/linux/highmem.h:152: warning:
   pointer of type ‘void *’ used in arithmetic
   /usr/src/linux-headers-2.6.32-5-common/include/linux/highmem.h:152: warning:
   pointer of type ‘void *’ used in arithmetic
   /usr/src/linux-headers-2.6.32-5-common/include/linux/highmem.h:152: warning:
   pointer of type ‘void *’ used in arithmetic
   /tmp/selfgz2019/NVIDIA-Linux-x86-173.14.30-pkg1/usr/src/nv/nv.c: In function
   ‘nv_kern_ctl_open’:
   /tmp/selfgz2019/NVIDIA-Linux-x86-173.14.30-pkg1/usr/src/nv/nv.c:2970: intern
   al compiler error: Abandon
   Please submit a full bug report,
   with preprocessed source if appropriate.
   See <file:///usr/share/doc/gcc-4.3/README.Bugs> for instructions.
   make[4]: *** [/tmp/selfgz2019/NVIDIA-Linux-x86-173.14.30-pkg1/usr/src/nv/nv.
   o] Erreur 1
   make[3]: *** [_module_/tmp/selfgz2019/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv] Erreur 2
   make[2]: *** [sub-make] 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.
Julius22 is offline   Reply With Quote
Old 05-02-11, 11:57 AM   #4
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: 173.xx kernel module won't build

This particular problem looks like a bug in your toolchain, rather than a source-level issue in the driver:
/tmp/selfgz2019/NVIDIA-Linux-x86-173.14.30-pkg1/usr/src/nv/nv.c: In function
"nv_kern_ctl_open":
/tmp/selfgz2019/NVIDIA-Linux-x86-173.14.30-pkg1/usr/src/nv/nv.c:2970: intern
al compiler error: Abandon
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.3/README.Bugs> for instructions.
zander is offline   Reply With Quote
Old 05-02-11, 12:50 PM   #5
Julius22
Registered User
 
Join Date: May 2011
Posts: 5
Default Re: 173.xx kernel module won't build

As you can see in my first post, the error is changing every time.
There are two more nvidia-installer.log files showing it:
Code:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon May  2 18:35:13 2011
installer version: 1.0.7

PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

option status:
  license pre-accepted               : false
  update                             : false
  force update                       : false
  expert                             : false
  uninstall                          : false
  driver info                        : false
  precompiled interfaces             : true
  no ncurses color                   : false
  query latest version               : false
  OpenGL header files                : true
  no questions                       : false
  silent                             : false
  no recursion                       : false
  no backup                          : false
  kernel module only                 : false
  sanity                             : false
  add this kernel                    : false
  no runlevel check                  : false
  no network                         : false
  no ABI note                        : false
  no RPMs                            : false
  no kernel module                   : false
  force SELinux                      : default
  no X server check                  : false
  no cc version check                : false
  run distro scripts                 : true
  no nouveau check                   : false
  run nvidia-xconfig                 : false
  sigwinch work around               : true
  force tls                          : (not specified)
  X install prefix                   : (not specified)
  X library install path             : (not specified)
  X module install path              : (not specified)
  OpenGL install prefix              : (not specified)
  OpenGL install libdir              : (not specified)
  utility install prefix             : (not specified)
  utility install libdir             : (not specified)
  installer prefix                   : (not specified)
  doc install prefix                 : (not specified)
  kernel name                        : (not specified)
  kernel include path                : (not specified)
  kernel source path                 : (not specified)
  kernel output path                 : (not specified)
  kernel install path                : (not specified)
  precompiled kernel interfaces path : (not specified)
  precompiled kernel interfaces url  : (not specified)
  proc mount point                   : /proc
  ui                                 : (not specified)
  tmpdir                             : /tmp
  ftp mirror                         : ftp://download.nvidia.com
  RPM file list                      : (not specified)
  selinux chcon type                 : (not specified)

Using: nvidia-installer ncurses user interface
-> License accepted.
-> Installing NVIDIA driver version 173.14.30.
-> Performing CC sanity check with CC="/usr/bin/gcc-4.3".
-> Performing CC version check with CC="/usr/bin/gcc-4.3".
-> Kernel source path: '/lib/modules/2.6.32-5-686/source'
-> Kernel output path: '/lib/modules/2.6.32-5-686/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Cleaning kernel module build directory.
   executing: 'cd ./usr/src/nv; make clean'...
-> Building kernel module:
   executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.32-5-686/so
   urce SYSOUT=/lib/modules/2.6.32-5-686/build'...
   NVIDIA: calling KBUILD...
   make CC=/usr/bin/gcc-4.3 KBUILD_OUTPUT=/lib/modules/2.6.32-5-686/build KBUIL
   D_VERBOSE=1 -C /lib/modules/2.6.32-5-686/source SUBDIRS=/tmp/selfgz1698/NVID
   IA-Linux-x86-173.14.30-pkg1/usr/src/nv modules
   make -C /lib/modules/2.6.32-5-686/build \
   	KBUILD_SRC=/usr/src/linux-headers-2.6.32-5-common \
   	KBUILD_EXTMOD="/tmp/selfgz1698/NVIDIA-Linux-x86-173.14.30-pkg1/usr/src/nv" 
   -f /usr/src/linux-headers-2.6.32-5-common/Makefile \
   	modules
   test -e include/linux/autoconf.h -a -e include/config/auto.conf || (		\
   	echo;								\
   	echo "  ERROR: Kernel configuration is invalid.";		\
   	echo "         include/linux/autoconf.h or include/config/auto.conf are mis
   sing.";	\
   	echo "         Run 'make oldconfig && make prepare' on kernel src to fix it
   .";	\
   	echo;								\
   	/bin/false)
   mkdir -p /tmp/selfgz1698/NVIDIA-Linux-x86-173.14.30-pkg1/usr/src/nv/.tmp_ver
   sions ; rm -f /tmp/selfgz1698/NVIDIA-Linux-x86-173.14.30-pkg1/usr/src/nv/.tm
   p_versions/*
   make -f /usr/src/linux-headers-2.6.32-5-common/scripts/Makefile.build obj=/t
   mp/selfgz1698/NVIDIA-Linux-x86-173.14.30-pkg1/usr/src/nv
     /usr/bin/gcc-4.3 -Wp,-MD,/tmp/selfgz1698/NVIDIA-Linux-x86-173.14.30-pkg1/u
   sr/src/nv/.nv.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.3.5/incl
   ude -Iinclude -Iinclude2 -I/usr/src/linux-headers-2.6.32-5-common/include -I
   /usr/src/linux-headers-2.6.32-5-common/arch/x86/include -include include/lin
   ux/autoconf.h   -I/tmp/selfgz1698/NVIDIA-Linux-x86-173.14.30-pkg1/usr/src/nv
   -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-al
   iasing -fno-common -Werror-implicit-function-declaration -Wno-format-securit
   y -fno-delete-null-pointer-checks -Os -m32 -msoft-float -mregparm=3 -freg-st
   ruct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -Wa,-mtu
   ne=generic32 -ffreestanding -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_
   CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -
   mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fomit-frame-pointer -Wdeclaration-aft
   er-statement -Wno-pointer-sign -fno-str
   ict-overflow   -I/tmp/selfgz1698/NVIDIA-Linux-x86-173.14.30-pkg1/usr/src/nv 
   -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparenth
   eses -Wpointer-arith -Wno-multichar -Werror -MD -Wsign-compare -Wno-cast-qua
   l -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"173.14.30\" 
   -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=
   KBUILD_STR(nv)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"  -c -o /tmp/selfgz169
   8/NVIDIA-Linux-x86-173.14.30-pkg1/usr/src/nv/.tmp_nv.o /tmp/selfgz1698/NVIDI
   A-Linux-x86-173.14.30-pkg1/usr/src/nv/nv.c
   In file included from /tmp/selfgz1698/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv-linux.h:16,
                    from /tmp/selfgz1698/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv.c:13:
   /tmp/selfgz1698/NVIDIA-Linux-x86-173.14.30-pkg1/usr/src/nv/conftest.h:28:2: 
   error: #error smp_call_function() conftest failed!
   In file included from /usr/src/linux-headers-2.6.32-5-common/include/linux/b
   itops.h:17,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/k
   ernel.h:15,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/s
   ched.h:54,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/u
   tsname.h:35,
                    from /tmp/selfgz1698/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv-linux.h:25,
                    from /tmp/selfgz1698/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv.c:13:
   /usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/bitops.h: In fun
   ction ‘set_bit’:
   /usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/bitops.h:64: war
   ning: pointer of type ‘void *’ used in arithmetic
   /usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/bitops.h: In fun
   ction ‘clear_bit’:
   /usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/bitops.h:102: wa
   rning: pointer of type ‘void *’ used in arithmetic
   /usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/bitops.h: In fun
   ction ‘change_bit’:
   /usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/bitops.h:178: wa
   rning: pointer of type ‘void *’ used in arithmetic
   In file included from /usr/src/linux-headers-2.6.32-5-common/include/linux/l
   ist.h:6,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/p
   reempt.h:11,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/s
   pinlock.h:50,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/s
   eqlock.h:29,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/t
   ime.h:8,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/t
   imex.h:56,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/s
   ched.h:56,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/u
   tsname.h:35,
                    from /tmp/selfgz1698/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv-linux.h:25,
                    from /tmp/selfgz1698/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv.c:13:
   /usr/src/linux-headers-2.6.32-5-common/include/linux/prefetch.h: In function
   ‘prefetch_range’:
   /usr/src/linux-headers-2.6.32-5-common/include/linux/prefetch.h:57: warning:
   pointer of type ‘void *’ used in arithmetic
   In file included from /usr/src/linux-headers-2.6.32-5-common/include/linux/p
   reempt.h:11,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/s
   pinlock.h:50,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/s
   eqlock.h:29,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/t
   ime.h:8,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/t
   imex.h:56,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/s
   ched.h:56,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/u
   tsname.h:35,
                    from /tmp/selfgz1698/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv-linux.h:25,
                    from /tmp/selfgz1698/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv.c:13:
   /usr/src/linux-headers-2.6.32-5-common/include/linux/list.h: In function ‘
   list_del’:
   /usr/src/linux-headers-2.6.32-5-common/include/linux/list.h:106: warning: po
   inter of type ‘void *’ used in arithmetic
   /usr/src/linux-headers-2.6.32-5-common/include/linux/list.h:107: warning: po
   inter of type ‘void *’ used in arithmetic
   /usr/src/linux-headers-2.6.32-5-common/include/linux/list.h: In function ‘
   hlist_del’:
   /usr/src/linux-headers-2.6.32-5-common/include/linux/list.h:579: warning: po
   inter of type ‘void *’ used in arithmetic
   /usr/src/linux-headers-2.6.32-5-common/include/linux/list.h:580: warning: po
   inter of type ‘void *’ used in arithmetic
   In file included from /usr/src/linux-headers-2.6.32-5-common/include/linux/s
   ched.h:82,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/u
   tsname.h:35,
                    from /tmp/selfgz1698/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv-linux.h:25,
                    from /tmp/selfgz1698/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv.c:13:
   /usr/src/linux-headers-2.6.32-5-common/include/linux/rculist.h: In function 
   ‘list_del_rcu’:
   /usr/src/linux-headers-2.6.32-5-common/include/linux/rculist.h:97: warning: 
   pointer of type ‘void *’ used in arithmetic
   /usr/src/linux-headers-2.6.32-5-common/include/linux/rculist.h: In function 
   ‘list_replace_rcu’:
   /usr/src/linux-headers-2.6.32-5-common/include/linux/rculist.h:143: warning:
   pointer of type ‘void *’ used in arithmetic
   /usr/src/linux-headers-2.6.32-5-common/include/linux/rculist.h: In function 
   ‘hlist_del_rcu’:
   /usr/src/linux-headers-2.6.32-5-common/include/linux/rculist.h:286: warning:
   pointer of type ‘void *’ used in arithmetic
   /usr/src/linux-headers-2.6.32-5-common/include/linux/rculist.h: In function 
   ‘hlist_replace_rcu’:
   /usr/src/linux-headers-2.6.32-5-common/include/linux/rculist.h:306: warning:
   pointer of type ‘void *’ used in arithmetic
   In file included from /usr/src/linux-headers-2.6.32-5-common/include/linux/u
   tsname.h:35,
                    from /tmp/selfgz1698/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv-linux.h:25,
                    from /tmp/selfgz1698/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv.c:13:
   /usr/src/linux-headers-2.6.32-5-common/include/linux/sched.h: In function â€
   ˜object_is_on_stack’:
   /usr/src/linux-headers-2.6.32-5-common/include/linux/sched.h:2337: warning: 
   pointer of type ‘void *’ used in arithmetic
   In file included from /usr/src/linux-headers-2.6.32-5-common/include/linux/i
   o.h:22,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/p
   ci.h:54,
                    from /tmp/selfgz1698/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv-linux.h:88,
                    from /tmp/selfgz1698/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv.c:13:
   /usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/io.h: In functio
   n ‘writeq’:
   /usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/io.h:70: warning
   : pointer of type ‘void *’ used in arithmetic
   In file included from /usr/src/linux-headers-2.6.32-5-common/include/linux/d
   ma-mapping.h:7,
                    from /usr/src/linux-headers-2.6.32-5-common/include/asm-gen
   eric/pci-dma-compat.h:7,
                    from /usr/src/linux-headers-2.6.32-5-common/arch/x86/includ
   e/asm/pci.h:128,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/p
   ci.h:1131,
                    from /tmp/selfgz1698/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv-linux.h:88,
                    from /tmp/selfgz1698/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv.c:13:
   /usr/src/linux-headers-2.6.32-5-common/include/linux/scatterlist.h: In funct
   ion ‘sg_virt’:
   /usr/src/linux-headers-2.6.32-5-common/include/linux/scatterlist.h:199: warn
   ing: pointer of type ‘void *’ used in arithmetic
   In file included from /usr/src/linux-headers-2.6.32-5-common/arch/x86/includ
   e/asm/dma-mapping.h:42,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/d
   ma-mapping.h:103,
                    from /usr/src/linux-headers-2.6.32-5-common/include/asm-gen
   eric/pci-dma-compat.h:7,
                    from /usr/src/linux-headers-2.6.32-5-common/arch/x86/includ
   e/asm/pci.h:128,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/p
   ci.h:1131,
                    from /tmp/selfgz1698/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv-linux.h:88,
                    from /tmp/selfgz1698/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv.c:13:
   /usr/src/linux-headers-2.6.32-5-common/include/asm-generic/dma-mapping-commo
   n.h: In function ‘dma_map_page’:
   /usr/src/linux-headers-2.6.32-5-common/include/asm-generic/dma-mapping-commo
   n.h:77: warning: pointer of type ‘void *’ used in arithmetic
   In file included from /tmp/selfgz1698/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv-linux.h:124,
                    from /tmp/selfgz1698/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv.c:13:
   /usr/src/linux-headers-2.6.32-5-common/include/linux/highmem.h: In function 
   ‘zero_user_segments’:
   /usr/src/linux-headers-2.6.32-5-common/include/linux/highmem.h:149: warning:
   pointer of type ‘void *’ used in arithmetic
   /usr/src/linux-headers-2.6.32-5-common/include/linux/highmem.h:149: warning:
   pointer of type ‘void *’ used in arithmetic
   /usr/src/linux-headers-2.6.32-5-common/include/linux/highmem.h:149: warning:
   pointer of type ‘void *’ used in arithmetic
   /usr/src/linux-headers-2.6.32-5-common/include/linux/highmem.h:149: warning:
   pointer of type ‘void *’ used in arithmetic
   /usr/src/linux-headers-2.6.32-5-common/include/linux/highmem.h:152: warning:
   pointer of type ‘void *’ used in arithmetic
   /usr/src/linux-headers-2.6.32-5-common/include/linux/highmem.h:152: warning:
   pointer of type ‘void *’ used in arithmetic
   /usr/src/linux-headers-2.6.32-5-common/include/linux/highmem.h:152: warning:
   pointer of type ‘void *’ used in arithmetic
   /usr/src/linux-headers-2.6.32-5-common/include/linux/highmem.h:152: warning:
   pointer of type ‘void *’ used in arithmetic
   In file included from /tmp/selfgz1698/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv.c:13:
   /tmp/selfgz1698/NVIDIA-Linux-x86-173.14.30-pkg1/usr/src/nv/nv-linux.h:740:2:
   error: #error "NV_SMP_CALL_FUNCTION() undefined (smp_call_function() unavail
   able)!"
   In file included from /tmp/selfgz1698/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv.c:13:
   /tmp/selfgz1698/NVIDIA-Linux-x86-173.14.30-pkg1/usr/src/nv/nv-linux.h: At to
   p level:
   /tmp/selfgz1698/NVIDIA-Linux-x86-173.14.30-pkg1/usr/src/nv/nv-linux.h:942: e
   rror: conflicting types for ‘pm_message_t’
   /usr/src/linux-headers-2.6.32-5-common/include/linux/pm.h:45: error: previou
   s declaration of ‘pm_message_t’ was here
   /tmp/selfgz1698/NVIDIA-Linux-x86-173.14.30-pkg1/usr/src/nv/nv.c:385: warning
   : initialization from incompatible pointer type
   /tmp/selfgz1698/NVIDIA-Linux-x86-173.14.30-pkg1/usr/src/nv/nv.c: In function
   ‘nv_kern_cpu_callback’:
   /tmp/selfgz1698/NVIDIA-Linux-x86-173.14.30-pkg1/usr/src/nv/nv.c:1340: error:
   implicit declaration of function ‘NV_SMP_CALL_FUNCTION’
   make[4]: *** [/tmp/selfgz1698/NVIDIA-Linux-x86-173.14.30-pkg1/usr/src/nv/nv.
   o] Erreur 1
   make[3]: *** [_module_/tmp/selfgz1698/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv] Erreur 2
   make[2]: *** [sub-make] 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.
Code:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon May  2 18:38:22 2011
installer version: 1.0.7

PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

option status:
  license pre-accepted               : false
  update                             : false
  force update                       : false
  expert                             : false
  uninstall                          : false
  driver info                        : false
  precompiled interfaces             : true
  no ncurses color                   : false
  query latest version               : false
  OpenGL header files                : true
  no questions                       : false
  silent                             : false
  no recursion                       : false
  no backup                          : false
  kernel module only                 : false
  sanity                             : false
  add this kernel                    : false
  no runlevel check                  : false
  no network                         : false
  no ABI note                        : false
  no RPMs                            : false
  no kernel module                   : false
  force SELinux                      : default
  no X server check                  : false
  no cc version check                : false
  run distro scripts                 : true
  no nouveau check                   : false
  run nvidia-xconfig                 : false
  sigwinch work around               : true
  force tls                          : (not specified)
  X install prefix                   : (not specified)
  X library install path             : (not specified)
  X module install path              : (not specified)
  OpenGL install prefix              : (not specified)
  OpenGL install libdir              : (not specified)
  utility install prefix             : (not specified)
  utility install libdir             : (not specified)
  installer prefix                   : (not specified)
  doc install prefix                 : (not specified)
  kernel name                        : (not specified)
  kernel include path                : (not specified)
  kernel source path                 : (not specified)
  kernel output path                 : (not specified)
  kernel install path                : (not specified)
  precompiled kernel interfaces path : (not specified)
  precompiled kernel interfaces url  : (not specified)
  proc mount point                   : /proc
  ui                                 : (not specified)
  tmpdir                             : /tmp
  ftp mirror                         : ftp://download.nvidia.com
  RPM file list                      : (not specified)
  selinux chcon type                 : (not specified)

Using: nvidia-installer ncurses user interface
-> License accepted.
-> Installing NVIDIA driver version 173.14.30.
-> Performing CC sanity check with CC="/usr/bin/gcc-4.3".
-> Performing CC version check with CC="/usr/bin/gcc-4.3".
-> Kernel source path: '/lib/modules/2.6.32-5-686/source'
-> Kernel output path: '/lib/modules/2.6.32-5-686/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Cleaning kernel module build directory.
   executing: 'cd ./usr/src/nv; make clean'...
-> Building kernel module:
   executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.32-5-686/so
   urce SYSOUT=/lib/modules/2.6.32-5-686/build'...
   NVIDIA: calling KBUILD...
   make CC=/usr/bin/gcc-4.3 KBUILD_OUTPUT=/lib/modules/2.6.32-5-686/build KBUIL
   D_VERBOSE=1 -C /lib/modules/2.6.32-5-686/source SUBDIRS=/tmp/selfgz3020/NVID
   IA-Linux-x86-173.14.30-pkg1/usr/src/nv modules
   make -C /lib/modules/2.6.32-5-686/build \
   	KBUILD_SRC=/usr/src/linux-headers-2.6.32-5-common \
   	KBUILD_EXTMOD="/tmp/selfgz3020/NVIDIA-Linux-x86-173.14.30-pkg1/usr/src/nv" 
   -f /usr/src/linux-headers-2.6.32-5-common/Makefile \
   	modules
   test -e include/linux/autoconf.h -a -e include/config/auto.conf || (		\
   	echo;								\
   	echo "  ERROR: Kernel configuration is invalid.";		\
   	echo "         include/linux/autoconf.h or include/config/auto.conf are mis
   sing.";	\
   	echo "         Run 'make oldconfig && make prepare' on kernel src to fix it
   .";	\
   	echo;								\
   	/bin/false)
   mkdir -p /tmp/selfgz3020/NVIDIA-Linux-x86-173.14.30-pkg1/usr/src/nv/.tmp_ver
   sions ; rm -f /tmp/selfgz3020/NVIDIA-Linux-x86-173.14.30-pkg1/usr/src/nv/.tm
   p_versions/*
   make -f /usr/src/linux-headers-2.6.32-5-common/scripts/Makefile.build obj=/t
   mp/selfgz3020/NVIDIA-Linux-x86-173.14.30-pkg1/usr/src/nv
     /usr/bin/gcc-4.3 -Wp,-MD,/tmp/selfgz3020/NVIDIA-Linux-x86-173.14.30-pkg1/u
   sr/src/nv/.nv.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.3.5/incl
   ude -Iinclude -Iinclude2 -I/usr/src/linux-headers-2.6.32-5-common/include -I
   /usr/src/linux-headers-2.6.32-5-common/arch/x86/include -include include/lin
   ux/autoconf.h   -I/tmp/selfgz3020/NVIDIA-Linux-x86-173.14.30-pkg1/usr/src/nv
   -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-al
   iasing -fno-common -Werror-implicit-function-declaration -Wno-format-securit
   y -fno-delete-null-pointer-checks -Os -m32 -msoft-float -mregparm=3 -freg-st
   ruct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -Wa,-mtu
   ne=generic32 -ffreestanding -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_
   CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -
   mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fomit-frame-pointer -Wdeclaration-aft
   er-statement -Wno-pointer-sign -fno-str
   ict-overflow   -I/tmp/selfgz3020/NVIDIA-Linux-x86-173.14.30-pkg1/usr/src/nv 
   -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparenth
   eses -Wpointer-arith -Wno-multichar -Werror -MD -Wsign-compare -Wno-cast-qua
   l -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"173.14.30\" 
   -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=
   KBUILD_STR(nv)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"  -c -o /tmp/selfgz302
   0/NVIDIA-Linux-x86-173.14.30-pkg1/usr/src/nv/.tmp_nv.o /tmp/selfgz3020/NVIDI
   A-Linux-x86-173.14.30-pkg1/usr/src/nv/nv.c
   In file included from /tmp/selfgz3020/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv-linux.h:16,
                    from /tmp/selfgz3020/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv.c:13:
   /tmp/selfgz3020/NVIDIA-Linux-x86-173.14.30-pkg1/usr/src/nv/conftest.h:6:2: e
   rror: #error agp_backend_acquire() conftest failed!
   /tmp/selfgz3020/NVIDIA-Linux-x86-173.14.30-pkg1/usr/src/nv/conftest.h:17:2: 
   error: #error irq_handler_t() conftest failed!
   In file included from /usr/src/linux-headers-2.6.32-5-common/include/linux/b
   itops.h:17,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/k
   ernel.h:15,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/s
   ched.h:54,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/u
   tsname.h:35,
                    from /tmp/selfgz3020/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv-linux.h:25,
                    from /tmp/selfgz3020/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv.c:13:
   /usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/bitops.h: In fun
   ction ‘set_bit’:
   /usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/bitops.h:64: war
   ning: pointer of type ‘void *’ used in arithmetic
   /usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/bitops.h: In fun
   ction ‘clear_bit’:
   /usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/bitops.h:102: wa
   rning: pointer of type ‘void *’ used in arithmetic
   /usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/bitops.h: In fun
   ction ‘change_bit’:
   /usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/bitops.h:178: wa
   rning: pointer of type ‘void *’ used in arithmetic
   In file included from /usr/src/linux-headers-2.6.32-5-common/include/linux/l
   ist.h:6,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/p
   reempt.h:11,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/s
   pinlock.h:50,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/s
   eqlock.h:29,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/t
   ime.h:8,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/t
   imex.h:56,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/s
   ched.h:56,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/u
   tsname.h:35,
                    from /tmp/selfgz3020/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv-linux.h:25,
                    from /tmp/selfgz3020/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv.c:13:
   /usr/src/linux-headers-2.6.32-5-common/include/linux/prefetch.h: In function
   ‘prefetch_range’:
   /usr/src/linux-headers-2.6.32-5-common/include/linux/prefetch.h:57: warning:
   pointer of type ‘void *’ used in arithmetic
   In file included from /usr/src/linux-headers-2.6.32-5-common/include/linux/p
   reempt.h:11,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/s
   pinlock.h:50,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/s
   eqlock.h:29,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/t
   ime.h:8,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/t
   imex.h:56,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/s
   ched.h:56,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/u
   tsname.h:35,
                    from /tmp/selfgz3020/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv-linux.h:25,
                    from /tmp/selfgz3020/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv.c:13:
   /usr/src/linux-headers-2.6.32-5-common/include/linux/list.h: In function ‘
   list_del’:
   /usr/src/linux-headers-2.6.32-5-common/include/linux/list.h:106: warning: po
   inter of type ‘void *’ used in arithmetic
   /usr/src/linux-headers-2.6.32-5-common/include/linux/list.h:107: warning: po
   inter of type ‘void *’ used in arithmetic
   /usr/src/linux-headers-2.6.32-5-common/include/linux/list.h: In function ‘
   hlist_del’:
   /usr/src/linux-headers-2.6.32-5-common/include/linux/list.h:579: warning: po
   inter of type ‘void *’ used in arithmetic
   /usr/src/linux-headers-2.6.32-5-common/include/linux/list.h:580: warning: po
   inter of type ‘void *’ used in arithmetic
   In file included from /usr/src/linux-headers-2.6.32-5-common/include/linux/s
   ched.h:82,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/u
   tsname.h:35,
                    from /tmp/selfgz3020/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv-linux.h:25,
                    from /tmp/selfgz3020/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv.c:13:
   /usr/src/linux-headers-2.6.32-5-common/include/linux/rculist.h: In function 
   ‘list_del_rcu’:
   /usr/src/linux-headers-2.6.32-5-common/include/linux/rculist.h:97: warning: 
   pointer of type ‘void *’ used in arithmetic
   /usr/src/linux-headers-2.6.32-5-common/include/linux/rculist.h: In function 
   ‘list_replace_rcu’:
   /usr/src/linux-headers-2.6.32-5-common/include/linux/rculist.h:143: warning:
   pointer of type ‘void *’ used in arithmetic
   /usr/src/linux-headers-2.6.32-5-common/include/linux/rculist.h: In function 
   ‘hlist_del_rcu’:
   /usr/src/linux-headers-2.6.32-5-common/include/linux/rculist.h:286: warning:
   pointer of type ‘void *’ used in arithmetic
   /usr/src/linux-headers-2.6.32-5-common/include/linux/rculist.h: In function 
   ‘hlist_replace_rcu’:
   /usr/src/linux-headers-2.6.32-5-common/include/linux/rculist.h:306: warning:
   pointer of type ‘void *’ used in arithmetic
   In file included from /usr/src/linux-headers-2.6.32-5-common/include/linux/u
   tsname.h:35,
                    from /tmp/selfgz3020/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv-linux.h:25,
                    from /tmp/selfgz3020/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv.c:13:
   /usr/src/linux-headers-2.6.32-5-common/include/linux/sched.h: In function â€
   ˜object_is_on_stack’:
   /usr/src/linux-headers-2.6.32-5-common/include/linux/sched.h:2337: warning: 
   pointer of type ‘void *’ used in arithmetic
   In file included from /usr/src/linux-headers-2.6.32-5-common/include/linux/i
   o.h:22,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/p
   ci.h:54,
                    from /tmp/selfgz3020/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv-linux.h:88,
                    from /tmp/selfgz3020/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv.c:13:
   /usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/io.h: In functio
   n ‘writeq’:
   /usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/io.h:70: warning
   : pointer of type ‘void *’ used in arithmetic
   In file included from /usr/src/linux-headers-2.6.32-5-common/include/linux/d
   ma-mapping.h:7,
                    from /usr/src/linux-headers-2.6.32-5-common/include/asm-gen
   eric/pci-dma-compat.h:7,
                    from /usr/src/linux-headers-2.6.32-5-common/arch/x86/includ
   e/asm/pci.h:128,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/p
   ci.h:1131,
                    from /tmp/selfgz3020/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv-linux.h:88,
                    from /tmp/selfgz3020/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv.c:13:
   /usr/src/linux-headers-2.6.32-5-common/include/linux/scatterlist.h: In funct
   ion ‘sg_virt’:
   /usr/src/linux-headers-2.6.32-5-common/include/linux/scatterlist.h:199: warn
   ing: pointer of type ‘void *’ used in arithmetic
   In file included from /usr/src/linux-headers-2.6.32-5-common/arch/x86/includ
   e/asm/dma-mapping.h:42,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/d
   ma-mapping.h:103,
                    from /usr/src/linux-headers-2.6.32-5-common/include/asm-gen
   eric/pci-dma-compat.h:7,
                    from /usr/src/linux-headers-2.6.32-5-common/arch/x86/includ
   e/asm/pci.h:128,
                    from /usr/src/linux-headers-2.6.32-5-common/include/linux/p
   ci.h:1131,
                    from /tmp/selfgz3020/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv-linux.h:88,
                    from /tmp/selfgz3020/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv.c:13:
   /usr/src/linux-headers-2.6.32-5-common/include/asm-generic/dma-mapping-commo
   n.h: In function ‘dma_map_page’:
   /usr/src/linux-headers-2.6.32-5-common/include/asm-generic/dma-mapping-commo
   n.h:77: warning: pointer of type ‘void *’ used in arithmetic
   In file included from /tmp/selfgz3020/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv-linux.h:124,
                    from /tmp/selfgz3020/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv/nv.c:13:
   /usr/src/linux-headers-2.6.32-5-common/include/linux/highmem.h: In function 
   ‘zero_user_segments’:
   /usr/src/linux-headers-2.6.32-5-common/include/linux/highmem.h:149: warning:
   pointer of type ‘void *’ used in arithmetic
   /usr/src/linux-headers-2.6.32-5-common/include/linux/highmem.h:149: warning:
   pointer of type ‘void *’ used in arithmetic
   /usr/src/linux-headers-2.6.32-5-common/include/linux/highmem.h:149: warning:
   pointer of type ‘void *’ used in arithmetic
   /usr/src/linux-headers-2.6.32-5-common/include/linux/highmem.h:149: warning:
   pointer of type ‘void *’ used in arithmetic
   /usr/src/linux-headers-2.6.32-5-common/include/linux/highmem.h:152: warning:
   pointer of type ‘void *’ used in arithmetic
   /usr/src/linux-headers-2.6.32-5-common/include/linux/highmem.h:152: warning:
   pointer of type ‘void *’ used in arithmetic
   /usr/src/linux-headers-2.6.32-5-common/include/linux/highmem.h:152: warning:
   pointer of type ‘void *’ used in arithmetic
   /usr/src/linux-headers-2.6.32-5-common/include/linux/highmem.h:152: warning:
   pointer of type ‘void *’ used in arithmetic
   /tmp/selfgz3020/NVIDIA-Linux-x86-173.14.30-pkg1/usr/src/nv/nv.c: In function
   ‘nvos_free_alloc’:
   /tmp/selfgz3020/NVIDIA-Linux-x86-173.14.30-pkg1/usr/src/nv/nv.c:486: interna
   l compiler error: Abandon
   Please submit a full bug report,
   with preprocessed source if appropriate.
   See <file:///usr/share/doc/gcc-4.3/README.Bugs> for instructions.
   make[4]: *** [/tmp/selfgz3020/NVIDIA-Linux-x86-173.14.30-pkg1/usr/src/nv/nv.
   o] Erreur 1
   make[3]: *** [_module_/tmp/selfgz3020/NVIDIA-Linux-x86-173.14.30-pkg1/usr/sr
   c/nv] Erreur 2
   make[2]: *** [sub-make] 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.
To say (or rather write) everything, I suspect a hardware problem because this problem occurs only on this PC. Could it be related to a defective CPU, for example?

Last edited by Julius22; 05-02-11 at 12:51 PM. Reason: Grammar
Julius22 is offline   Reply With Quote
Old 05-02-11, 01:16 PM   #6
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: 173.xx kernel module won't build

That's quite possible. Have you run a memory test (such as memtest86+) on the system?
zander is offline   Reply With Quote
Old 05-02-11, 02:11 PM   #7
Julius22
Registered User
 
Join Date: May 2011
Posts: 5
Default Re: 173.xx kernel module won't build

I don't remember if I did one. So, I will do it.
Julius22 is offline   Reply With Quote
Old 05-03-11, 05:55 AM   #8
Julius22
Registered User
 
Join Date: May 2011
Posts: 5
Default Re: 173.xx kernel module won't build

I tested my RAM modules quickly. It passed one pass without error.
Today, I took my unneeded cards out of my computer to see if it could help and replaced my geForce FX by a geForce 2. I don't know if it helped, but after several attempts, I eventually could build the module (for the 96.xx driver as for the 173.xx one) with the Debian packages.
I still don't know where the problem comes from, but at least, I now know what to do.
Anyway, thanks for your quick replies.

Last edited by Julius22; 05-03-11 at 07:12 AM. Reason: Grammar
Julius22 is offline   Reply With Quote

Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 11:27 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright ©1998 - 2014, nV News.