Newsgroup: it.comp.os.linux.mandrake
Titolo: Driver NVIDIA

Salve a tutti,
Quando provo a compilare il modulo NVIDIA ottengo il messaggio di errore:
ERROR: Unable to build the NVIDIA kernel module.
Uso Mandrake 10.1 con kernel 2.6...
Vi posto di seguito il file nvidia-installer.log
Potete aiutarmi. Ciao e grazie :-)
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sat Feb  5 02:20:10 2005
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
  OpenGL header files     : false
  no questions            : false
  silent                  : 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
  force tls               : (not specified)
  force compat32 tls      : (not specified)
  X install prefix        : /usr/X11R6
  OpenGL install prefix   : /usr
  compat32 install prefix : (not specified)
  installer install prefix: /usr
  utility install prefix  : /usr
  kernel name             : (not specified)
  kernel include path     : (not specified)
  kernel source path      : (not specified)
  kernel output path      : (not specified)
  kernel install path     : (not specified)
  proc mount point        : /proc
  ui                      : (not specified)
  tmpdir                  : /root/tmp
  ftp mirror              : 
ftp://download.nvidia.com
  RPM file list           : (not specified)
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: Yes)
-> No matching precompiled kernel interface was found on the NVIDIA ftp 
site;
   this means that the installer will need to compile a kernel interface for
   your kernel.
-> Kernel source path: '/usr/src/linux'
-> Performing CC test with CC="cc".
-> Performing rivafb check.
-> Performing rivafb module check.
WARNING: Your kernel was configured to include rivafb support as
         a loadable kernel module.
         The rivafb driver conflicts with the NVIDIA driver; the
         NVIDIA kernel module will still be built and installed,
         but be aware that the NVIDIA driver will not be able to
         function properly if the rivafb module is loaded!
-> Cleaning kernel module build directory.
   executing: 'cd ./usr/src/nv; make clean'...
   rm -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o  nv-linux.o 
nv_comp
   iler.h *.d NVdriver nvidia.o
-> Building kernel module:
   executing: 'cd ./usr/src/nv; make module SYSSRC=/usr/src/linux 
SYSOUT=/usr/s
   rc/linux'...
   Your kernel was configured to include rivafb support as
   a loadable kernel module.
   The rivafb driver conflicts with the NVIDIA driver; the
   NVIDIA kernel module will still be built and installed,
   but be aware that the NVIDIA driver will not be able to
   function properly if the rivafb module is loaded!
   *** Failed rivafb module sanity check, but continuing! ***
   echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > nv_compiler.h
   cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts  
-Wp
   arentheses -Wpointer-arith  -Wno-multichar  -Werror -O -fno-common -UDEBUG 
 -
   U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_G
   NU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1
   -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629  -DNV_UNIX   -DNV_LINUX   -DNV_INT
   64_OK   -DNVCPU_X86       -I. -I/usr/src/linux/include -Wno-cast-qual -Wno-e
   rror nv.c
   In file included from /usr/src/linux/include/linux/sched.h:24,
                    from /usr/src/linux/include/linux/mm.h:4,
                    from /usr/src/linux/include/linux/slab.h:14,
                    from nv-linux.h:61,
                    from nv.c:14:
   /usr/src/linux/include/linux/smp.h:29: error: conflicting types for 
'smp_sen
   d_reschedule'
   /usr/src/linux/include/asm/smp.h:41: error: previous declaration of 
'smp_sen
   d_reschedule' was here
   /usr/src/linux/include/linux/smp.h:29: error: conflicting types for 
'smp_sen
   d_reschedule'
   /usr/src/linux/include/asm/smp.h:41: error: previous declaration of 
'smp_sen
   d_reschedule' was here
   In file included from nv.c:14:
   nv-linux.h:626:2: warning: #warning "conftest.sh failed, assuming 
remap_page
   _range(4)!"
   make[1]: *** [nv.o] Error 1
   make: *** [module] Error 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
.

