linux user group brescia

immagine del castello

Archivio della mailing list

Problemi con driver Nvidia

Mauro mauroliva a libero.it
Sab 12 Apr 2003 10:15:32 UTC
Chiedo a questa lista visto che alcuni di voi avevano in precedenza 
installato questi driver in maniera proficua.

L'installer di Nvidia (NVIDIA-Linux-x86-1.0-4349.run per intenderci) alla 
fine del procedimento di costruzione dei moduli del kernel mi dice:

ERROR: Unable to build the NVIDIA kernel modules.

Nelle FAQ mi si dice che probabilmente dipende da file header del kernel 
sbagliati e mi si suggerisce di controllare le directory dei moduli. In 
modalita` --expert ho provato a cambiare directory dei moduli sia con 
/usr/include/linux/ sia con /lib/modules/2.4.18-17.8.0/build/include/, ma 
senza risultati. Io oltre non riesco ad andare, dato che il contenuto di 
/var/log/nvidia-installer.log e`, alla base delle mie conoscenze 
illeggibile, o almeno sono in grado di capire che vi sono degli errori, 
ma come correggerli, visto che e` al di fuori delle mie conoscenze?

Il log e` questo:

 **** INIZIO LOG ****

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sat Apr 12 11:17:08 2003

option status:
  license pre-accepted    : false
  update                  : false
  force update            : false
  expert                  : false
  uninstall               : false
  driver info             : false
  no precompiled interface: false
  no ncurses color        : false
  query latest driver ver : false
  no OpenGL header files  : false
  no questions            : false
  silent                  : false
  XFree86 install prefix  : /usr/X11R6
  OpenGL install prefix   : /usr
  Installer install prefix: /usr
  kernel include path     : (not specified)
  kernel install path     : (not specified)
  proc mount point        : /proc
  ui                      : (not specified)
  tmpdir                  : /tmp
  ftp site                : ftp://download.nvidia.com

Using: nvidia-installer ncurses user interface
-> License accepted.
-> No precompiled kernel interface was found to match your kernel; would 
you li
   ke the installer to attempt to download a kernel interface for your 
kernel f
   rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: No)
-> No precompiled kernel interface was found to match your kernel; this 
means
   that the installer will need to compile a new kernel interface.
-> Kernel include path: '/lib/modules/2.4.18-17.8.0/build/include'
-> Cleaning kernel module build directory.
   executing: 'cd ./usr/src/nv; make clean'...
   rm -f nv.o os-agp.o os-interface.o os-registry.o  nv-linux.o 
nv_compiler.h *
   .d NVdriver nvidia.o
-> Building kernel module:
   executing: 'cd ./usr/src/nv; make nvidia.o 
SYSINCLUDE=/lib/modules/2.4.18-17
   .8.0/build/include'...
   echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -1`\" > nv_compiler.h
   cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat 
-Wchar-subscripts -Wp
   arentheses -Wpointer-arith -Wcast-qual -Wno-multichar  -O -MD 
-D__KERNEL__ -
   DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE 
-D_LOOSE_KERNEL_NAMES -D_
   _KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 
-DNV_PATCHLEVE
   L=4349  -DNV_UNIX   -DNV_LINUX   -DNV_INT64_OK   -DNVCPU_X86      
-DREMAP_PA
   GE_RANGE_4  -I. -I/lib/modules/2.4.18-17.8.0/build/include 
-Wno-cast-qual nv
   .c
   In file included from nv-linux.h:27,
                    from nv.c:14:
   /lib/modules/2.4.18-17.8.0/build/include/linux/kernel.h:60: invalid 
suffix o
   n integer constant
   /lib/modules/2.4.18-17.8.0/build/include/linux/kernel.h:60: parse error 
befo
   re numeric constant
   /lib/modules/2.4.18-17.8.0/build/include/linux/kernel.h:61: 
`panic_R_ver_str
   ' declared as function returning a function
   /lib/modules/2.4.18-17.8.0/build/include/linux/kernel.h:67: parse error 
befo
   re numeric constant
   /lib/modules/2.4.18-17.8.0/build/include/linux/kernel.h:67: 
`simple_strtoul_
   R_ver_str' declared as function returning a function
   /lib/modules/2.4.18-17.8.0/build/include/linux/kernel.h:68: invalid 
suffix o
   n integer constant
   /lib/modules/2.4.18-17.8.0/build/include/linux/kernel.h:68: parse error 
befo
   re numeric constant
   /lib/modules/2.4.18-17.8.0/build/include/linux/kernel.h:68: 
`simple_strtol_R
   _ver_str' declared as function returning a function
   /lib/modules/2.4.18-17.8.0/build/include/linux/kernel.h:69: invalid 
suffix o
   n integer constant
   /lib/modules/2.4.18-17.8.0/build/include/linux/kernel.h:69: parse error 
befo
   re numeric constant
   /lib/modules/2.4.18-17.8.0/build/include/linux/kernel.h:69: 
`simple_strtoull
   _R_ver_str' declared as function returning a function
   /lib/modules/2.4.18-17.8.0/build/include/linux/kernel.h:71: invalid 
suffix o
   n integer constant
   /lib/modules/2.4.18-17.8.0/build/include/linux/kernel.h:71: parse error 
befo
   re numeric constant
   /lib/modules/2.4.18-17.8.0/build/include/linux/kernel.h:72: 
`sprintf_R_ver_s
   tr' declared as function returning a function
   /lib/modules/2.4.18-17.8.0/build/include/linux/kernel.h:73: invalid 
suffix o
   n integer constant
   /lib/modules/2.4.18-17.8.0/build/include/linux/kernel.h:73: parse error 
befo
   re numeric constant
   /lib/modules/2.4.18-17.8.0/build/include/linux/kernel.h:73: 
`vsprintf_R_ver_
   str' declared as function returning a function
   /lib/modules/2.4.18-17.8.0/build/include/linux/kernel.h:74: invalid 
suffix o
   n integer constant
   /lib/modules/2.4.18-17.8.0/build/include/linux/kernel.h:74: parse error 
befo
   re numeric constant
   /lib/modules/2.4.18-17.8.0/build/include/linux/kernel.h:75: 
`snprintf_R_ver_
   str' declared as function returning a function
   /lib/modules/2.4.18-17.8.0/build/include/linux/kernel.h:76: invalid 
suffix o
   n integer constant
   /lib/modules/2.4.18-17.8.0/build/include/linux/kernel.h:76: parse error 
befo
   re numeric constant
   /lib/modules/2.4.18-17.8.0/build/include/linux/kernel.h:76: 
`vsnprintf_R_ver
   _str' declared as function returning a function
   /lib/modules/2.4.18-17.8.0/build/include/linux/kernel.h:78: invalid 
suffix o
   n integer constant
   /lib/modules/2.4.18-17.8.0/build/include/linux/kernel.h:78: parse error 
befo
   re numeric constant
   /lib/modules/2.4.18-17.8.0/build/include/linux/kernel.h:79: 
`sscanf_R_ver_st
   r' declared as function returning a function
   /lib/modules/2.4.18-17.8.0/build/include/linux/kernel.h:80: 
`vsscanf_R_ver_s
   tr' declared as function returning a function
   /lib/modules/2.4.18-17.8.0/build/include/linux/kernel.h:80: warning: 
paramet
   er names (without types) in function declaration
   /lib/modules/2.4.18-17.8.0/build/include/linux/kernel.h:82: 
`get_option_R_ve
   r_str' declared as function returning a function
   /lib/modules/2.4.18-17.8.0/build/include/linux/kernel.h:82: warning: 
paramet
   er names (without types) in function declaration
   /lib/modules/2.4.18-17.8.0/build/include/linux/kernel.h:83: invalid 
suffix o
   n integer constant
   /lib/modules/2.4.18-17.8.0/build/include/linux/kernel.h:83: parse error 
befo
   re numeric constant
   /lib/modules/2.4.18-17.8.0/build/include/linux/kernel.h:83: 
`get_options_R_v
   er_str' declared as function returning a function
   /lib/modules/2.4.18-17.8.0/build/include/linux/kernel.h:84: invalid 
suffix o
   n integer constant
   /lib/modules/2.4.18-17.8.0/build/include/linux/kernel.h:84: parse error 
befo
   re numeric constant
   /lib/modules/2.4.18-17.8.0/build/include/linux/kernel.h:84: 
`memparse_R_ver_
   str' declared as function returning a function
   /lib/modules/2.4.18-17.8.0/build/include/linux/kernel.h:90: invalid 
suffix o
   n integer constant
   /lib/modules/2.4.18-17.8.0/build/include/linux/kernel.h:90: parse error 
befo
   re numeric constant
   /lib/modules/2.4.18-17.8.0/build/include/linux/kernel.h:91: 
`printk_R_ver_st
   r' declared as function returning a function
   /lib/modules/2.4.18-17.8.0/build/include/linux/kernel.h:107: parse 
error bef
   ore numeric constant
   /lib/modules/2.4.18-17.8.0/build/include/linux/kernel.h:108: warning: 
parame
   ter names (without types) in function declaration
   /lib/modules/2.4.18-17.8.0/build/include/linux/kernel.h:170: invalid 
suffix 
   on integer constant
   /lib/modules/2.4.18-17.8.0/build/include/linux/kernel.h:170: parse 
error bef
   ore numeric constant
   /lib/modules/2.4.18-17.8.0/build/include/linux/kernel.h:170: 
`__out_of_line_
   bug_R_ver_str' declared as function returning a function
   In file included from 
/lib/modules/2.4.18-17.8.0/build/include/linux/spinloc
   k.h:56,
                    from 
/lib/modules/2.4.18-17.8.0/build/include/linux/module.
   h:11,
                    from nv-linux.h:28,
                    from nv.c:14:
   /lib/modules/2.4.18-17.8.0/build/include/asm/spinlock.h:9: invalid 
suffix on
   integer constant
   /lib/modules/2.4.18-17.8.0/build/include/asm/spinlock.h:9: parse error 
befor
   e numeric constant
   /lib/modules/2.4.18-17.8.0/build/include/asm/spinlock.h:10: 
`printk_R_ver_st
   r' declared as function returning a function
   In file included from 
/lib/modules/2.4.18-17.8.0/build/include/linux/prefetc
   h.h:13,
                    from 
/lib/modules/2.4.18-17.8.0/build/include/linux/list.h:
   6,
                    from 
/lib/modules/2.4.18-17.8.0/build/include/linux/module.
   h:12,
                    from nv-linux.h:28,
                    from nv.c:14:
   /lib/modules/2.4.18-17.8.0/build/include/asm/processor.h:51: warning: 
parame
   ter names (without types) in function declaration
   /lib/modules/2.4.18-17.8.0/build/include/asm/processor.h:51: field 
`loops_pe
   r_jiffy_R_ver_str' declared as a function
   /lib/modules/2.4.18-17.8.0/build/include/asm/processor.h:73: invalid 
suffix 
   on integer constant
   /lib/modules/2.4.18-17.8.0/build/include/asm/processor.h:73: parse 
error bef
   ore numeric constant
   In file included from 
/lib/modules/2.4.18-17.8.0/build/include/linux/prefetc
   h.h:13,
                    from 
/lib/modules/2.4.18-17.8.0/build/include/linux/list.h:
   6,
                    from 
/lib/modules/2.4.18-17.8.0/build/include/linux/module.
   h:12,
                    from nv-linux.h:28,
                    from nv.c:14:
   /lib/modules/2.4.18-17.8.0/build/include/asm/processor.h:258:1: 
warning: "EI
   SA_bus" redefined
   In file included from 
/lib/modules/2.4.18-17.8.0/build/include/linux/modvers
   ions.h:128,
                    from nv-linux.h:24,
                    from nv.c:14:
   
/lib/modules/2.4.18-17.8.0/build/include/linux/modules/i386_ksyms.ver:93:1: 
   warning: this is the location of the previous definition
   /lib/modules/2.4.18-17.8.0/build/include/asm/processor.h:260: warning: 
param
   eter names (without types) in function declaration
   /lib/modules/2.4.18-17.8.0/build/include/asm/processor.h:436: invalid 
suffix
   on floating constant
   /lib/modules/2.4.18-17.8.0/build/include/asm/processor.h:436: parse 
error be
   fore numeric constant
   /lib/modules/2.4.18-17.8.0/build/include/asm/processor.h:436: 
`kernel_thread
   _R_ver_str' declared as function returning a function
   In file included from nv-linux.h:28,
                    from nv.c:14:
   /lib/modules/2.4.18-17.8.0/build/include/linux/module.h:183: invalid 
suffix 
   on integer constant
   /lib/modules/2.4.18-17.8.0/build/include/linux/module.h:183: parse 
error bef
   ore numeric constant
   /lib/modules/2.4.18-17.8.0/build/include/linux/module.h:183: 
`inter_module_r
   egister_R_ver_str' declared as function returning a function
   /lib/modules/2.4.18-17.8.0/build/include/linux/module.h:184: invalid 
suffix 
   on integer constant
   /lib/modules/2.4.18-17.8.0/build/include/linux/module.h:184: parse 
error bef
   ore numeric constant
   /lib/modules/2.4.18-17.8.0/build/include/linux/module.h:184: 
`inter_module_u
   nregister_R_ver_str' declared as function returning a function
   /lib/modules/2.4.18-17.8.0/build/include/linux/module.h:185: 
`inter_module_g
   et_R_ver_str' declared as function returning a function
   /lib/modules/2.4.18-17.8.0/build/include/linux/module.h:185: warning: 
parame
   ter names (without types) in function declaration
   /lib/modules/2.4.18-17.8.0/build/include/linux/module.h:186: 
`inter_module_g
   et_request_R_ver_str' declared as function returning a function
   /lib/modules/2.4.18-17.8.0/build/include/linux/module.h:186: warning: 
parame
   ter names (without types) in function declaration
   /lib/modules/2.4.18-17.8.0/build/include/linux/module.h:187: invalid 
suffix 
   on integer constant
   /lib/modules/2.4.18-17.8.0/build/include/linux/module.h:187: parse 
error bef
   ore numeric constant
   /lib/modules/2.4.18-17.8.0/build/include/linux/module.h:187: 
`inter_module_p
   ut_R_ver_str' declared as function returning a function
   /lib/modules/2.4.18-17.8.0/build/include/linux/module.h:196: 
`try_inc_mod_co
   unt_R_ver_str' declared as function returning a function
   /lib/modules/2.4.18-17.8.0/build/include/linux/module.h:196: warning: 
parame
   ter names (without types) in function declaration
   In file included from 
/lib/modules/2.4.18-17.8.0/build/include/linux/fs.h:19
   ,
                    from 
/lib/modules/2.4.18-17.8.0/build/include/linux/capabil
   ity.h:17,
                    from 
/lib/modules/2.4.18-17.8.0/build/include/linux/binfmts
   .h:5,
                    from 
/lib/modules/2.4.18-17.8.0/build/include/linux/sched.h
   :9,
                    from 
/lib/modules/2.4.18-17.8.0/build/include/linux/mm.h:4,
                    from 
/lib/modules/2.4.18-17.8.0/build/include/linux/slab.h:
   14,
                    from nv-linux.h:71,
                    from nv.c:14:
   /lib/modules/2.4.18-17.8.0/build/include/linux/dcache.h: In function 
`dget':
   /lib/modules/2.4.18-17.8.0/build/include/linux/dcache.h:249: warning: 
implic
   it declaration of function `__out_of_line_bug_R8b0fd3c5'
   In file included from nv.c:14:
   nv-linux.h: In function `pgprot_noncached':
   nv-linux.h:271: `boot_cpu_data_R0657d037' undeclared (first use in this 
func
   tion)
   nv-linux.h:271: (Each undeclared identifier is reported only once
   nv-linux.h:271: for each function it appears in.)
   nv.c: In function `nvos_proc_create':
   nv.c:596: warning: implicit declaration of function `sprintf_R1d26aa98'
   nv.c: In function `nv_agp_init':
   nv.c:2643: warning: implicit declaration of function 
`inter_module_get_Rf6a0
   ce24'
   nv.c:2644: warning: implicit declaration of function 
`inter_module_put_R6b99
   f7d8'
   make: *** [nv.o] Error 1
-> 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.

**** FINE LOG ****

Alcune info che potrebbero essere utili all'indagine

 * la mia distribuzione e` una RedHat 8.0.
 * il kernel e` un 2.4.18-17.8.0.
 * la scheda video e` una Geforce 2.
 * i tentativi di installazione sono stati fatti a server grafico non 
attivo, naturalmente.

 * Al punto seguente:

 "-> No precompiled kernel interface was found to match your kernel; would 
 you like the installer to attempt to download a kernel interface for your 
 kernel from the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer:
 No)"

ho risposto no, perche` quando ho risposto si` non mi ha trovato quello 
che voleva cercare (quando ero connesso ad Internet)


Ringrazio anticipatamente nel caso mi possiate dare una mano. :)

Ciao.
--
Mauro





Maggiori informazioni sulla lista Lug