Ce forum est maintenant fermé, seule cette archive statique reste consultable.
  FORUM Rue-Montgallet.com
  OS alternatifs
  Linux

  Nvidia driver propriétaire et Debian Sarge 2.6.8.1

Bas de page
Auteur Sujet :

Nvidia driver propriétaire et Debian Sarge 2.6.8.1

n°14148
chemouz
Profil : Habitué
Posté le 10-11-2004 à 23:09:20  
 

Voilà je débute sous Linux et la je toure sous Gnome avec le driver de chez Debian. J'essaie désespérement d'installer le driver propriétaire de nvidia pour ma geforce 2 Ti pour avoir l'accélération matérielle.
 
Alors je vais sur le site de Nvidia je dl (sous usr/local/src) le driver qui d'après le manuel fourni avec correspond bien à ma carte
 
Je lance
sh NVIDIA-Linux-x86-1.0-4349.run
 
Je me dit qu'il ne trouve pas de driver précompilé et il me propose d'en chercher un chez je lui dis non puisqu'il n'existent pas chez nvidia. Alors là il me propose de compiler une nouvelle interface noyau et là il me dit :
 
 ERROR: The kernel header file '/usr/local/include/linux/kernel.h' does not exist.  The most likely reason for this is
         that the kernel include path '/usr/local/include' is incorrect.  Please make sure you have installed the kernel
         header files for your kernel; on Red Hat Linux systems, for example, be sure you have the 'kernel-source' rpm
         installed.  If you know the correct kernel header files are installed, you may specify the kernel include path
         with the '--kernel-include-path' commandline option.
 
Comment on installe une nouvelle interface noyau (si j'ai compris c'est ce que je dois faire)

mood
Pub
Posté le 10-11-2004 à 23:09:20  
 

n°14149
chemouz
Profil : Habitué
Posté le 10-11-2004 à 23:28:04  
 

Tant que j'y suis personne aurait un bon tutorial sur  
Webmin samba ou Webmin squid-iptables ???

n°14150
THE REAL 9​11GT3
Yo sou po oune nouméro
Profil : Membre
Posté le 10-11-2004 à 23:38:05  
 

Note: la méthode ci-dessous est générique: elle devrait fonctionner pour toutes les distribs
 
il faut que tu installes les sources du noyau qui correspondent à ce que tu utilises (uname -r pour savoir)
Pour simplifier, je vais partir du principe que 'uname -r' renvoit 2.6.8-1-386.
Tu utilises alors un noyau 2.6.8 compilé pour achitecture 386 et en révision 1.
apt-get install kernel-source-2.6.8 //on récupère les sources du noyau. ça c'est pour Debian, le autres -> www.kernel.org :D
cd /usr/src/
tar xvfj kernel-source-2.6.8.tar.bz2 //on les décompresse
ln -sf kernel-source-2.6.8 linux //on créé un lieu symbolique pour respécter la norme qui veut que /usr/src/linux pointe vers les sources du noyau en cours d'execution
on peut vérifier que ça a marcher par un ls -l ;)
cd linux
cp /boot/config-2.6.8-1-386 .config //on recopie la configuration actuelle dans les sources pour plus de cohérence
avec un éditeur de texte quelconque, modifier les première ligne du Makefile de telle façon que ça commence par:
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 8
EXTRAVERSION = -1-386
Cela fera en sorte que le module compilé se retrouve bien installé dans le répertoire des librairies correspondant au noyau actuel.
make cloneconfig //si ça marche pas, essayer ce qui suit
make menuconfig // (ou autre) et sauvegarder sans modifs
make prepare-all // pour compiler le minimum pour une bonne intégration des autres modules
 
A partir de là, la compilation des drivers nVidia devrait fonctionner. Au besoin, tu devras préciser le chemin des sources du noyau comme il te l'indique dans le message d'erreur que tu cites.


Message édité par THE REAL 911GT3 le 10-11-2004 à 23:43:59
n°14151
THE REAL 9​11GT3
Yo sou po oune nouméro
Profil : Membre
Posté le 10-11-2004 à 23:48:58  
 

l'idée générale c'est donc que pour intégrer un module au noyau il faut un minimum de ce qui a servi à le construire:
les bonnes sources :D
la même configuration: choix des options et nom complet
un minimum de compilation pour que module sache avec quoi s'interfacer (c'est comme ça que je le vois :p )

n°14155
grimms
Pingouin Garou illetre
Profil : Fossile
Posté le 11-11-2004 à 07:31:04  
 

pour t'aider un tres bon tuto
http://people.via.ecp.fr/~alexis/formation-linux/


---------------
Quand on boit on ne conduit pas, si on as pas de voiture on economise pour boire
aidez la recherche medical c'est gratuit
pingouin garou/machoc[:grimms]
n°14163
chemouz
Profil : Habitué
Posté le 11-11-2004 à 19:24:53  
 


En effet il est excellent mais je le conaissais déja   :jap:  
 
Tout ce que tu m'as expliqué va bien jusqu'a
 
make cloneconfig ca merdouille:

Citation :


  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/split-include
  HOSTCC  scripts/basic/docproc
make[1]: *** Pas de règle pour fabriquer la cible « cloneconfig ». Arrêt.
make: *** [cloneconfig] Erreur 2


 
makemenuconfig ca merdouille aussi

Citation :


/usr/bin/ld: ne peut trouver -lncurses
collect2: ld a retourné 1 code d'état d'exécution
 
>> Unable to find the Ncurses libraries.
>>
>> You must install ncurses-devel in order
>> to use 'make menuconfig'
 
make[2]: *** [scripts/lxdialog/ncurses] Erreur 1
make[1]: *** [menuconfig] Erreur 2
make: *** [menuconfig] Erreur 2


make prepare-all tout roule
 
Je lance sh NVIDIA-Linux-x86-1.0-4349.run
 
il va bien chercher tout seul dans /usr/src/linux/
mais il ne trouve pas modversion.h (qui n'existe pas j'ai vérifé)

Citation :


  ERROR: The kernel header file '/usr/src/linux/include/linux/modversions.h'
         does not exist.  The most likely reason for this is that the kernel
         header files in '/usr/src/linux/include' have not been configured.


 
 
Merci a vous deux pour votre aide  :jap:


Message édité par chemouz le 11-11-2004 à 19:25:18
n°14164
grimms
Pingouin Garou illetre
Profil : Fossile
Posté le 11-11-2004 à 19:28:01  
 

as tu telecharger le noyaux est decompresser au bon endroit?
a la place de clone config tu peut utiliser menuconfig.
fait bien attention a suivre et installer les paquet qu'il demande


---------------
Quand on boit on ne conduit pas, si on as pas de voiture on economise pour boire
aidez la recherche medical c'est gratuit
pingouin garou/machoc[:grimms]
n°14165
chemouz
Profil : Habitué
Posté le 11-11-2004 à 19:54:02  
 

as tu telecharger le noyaux est decompresser au bon endroit?    ==> ca je pense que c'est bon
 
a la place de clone config tu peut utiliser menuconfig. ==> ca merdouille aussi  
 
a la place de clone config tu peut utiliser menuconfig. ==> il me demande rien


Message édité par chemouz le 11-11-2004 à 20:13:13
n°14166
THE REAL 9​11GT3
Yo sou po oune nouméro
Profil : Membre
Posté le 11-11-2004 à 20:49:19  
 

pour utiliser make menuconfig il faut installer libncurses5-dev

n°14167
chemouz
Profil : Habitué
Posté le 11-11-2004 à 20:58:51  
 

evidémment !! :sarcastic: :lol:
make menuconfig marche mais j'ai le même pb il manque des fichiers dans les sources ...

n°14168
THE REAL 9​11GT3
Yo sou po oune nouméro
Profil : Membre
Posté le 11-11-2004 à 21:04:41  
 

fais voir le message d'erreur complet

n°14169
chemouz
Profil : Habitué
Posté le 11-11-2004 à 21:14:51  
 

en + t médium c'est ce que j'allais faire !!!
 

Citation :


nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Thu Nov 11 22:08:49 2004
 
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      : /usr/src/linux
  kernel output path      : (not specified)
  kernel install path     : (not specified)
  proc mount point        : /proc
  ui                      : (not specified)
  tmpdir                  : /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: No)
-> No precompiled kernel interface was found to match your kernel; this means
   that the installer will need to compile a new kernel interface.
-> Using the kernel source path '/usr/src/linux' as specified by the
   '--kernel-source-path' commandline option.
-> 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 -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv.o nv-vm.o os-
   agp.o os-interface.o os-registry.o nvidia.mod.o
   rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags}
   rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~
   rm -f -rf .tmp_versions
-> 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! ***
   
   
   NVIDIA: calling KBUILD...
   make CC=cc  KBUILD_VERBOSE=1 -C /usr/src/linux SUBDIRS=/tmp/selfgz13743/NVID
   IA-Linux-x86-1.0-6629-pkg1/usr/src/nv modules
   mkdir -p /tmp/selfgz13743/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.tmp_ver
   sions
   make -f scripts/Makefile.build obj=/tmp/selfgz13743/NVIDIA-Linux-x86-1.0-662
   9-pkg1/usr/src/nv
   echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz13743/NV
   IDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv_compiler.h
     cc -Wp,-MD,/tmp/selfgz13743/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.nv.
   o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -Wall -Wstrict-pr
   ototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft-float  
   -mpreferred-stack-boundary=2  -march=i386 -Iinclude/asm-i386/mach-default -O
   s -fomit-frame-pointer  -I/tmp/selfgz13743/NVIDIA-Linux-x86-1.0-6629-pkg1/us
   r/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts  
   -Wparentheses -Wpointer-arith  -Wno-multichar  -Werror -O -fno-common -MD    
   -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNTR
   M -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERS
   ION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629  -DNV_UNIX   -DNV_LINUX   -D
   NV_INT64_OK   -DNVCPU_X86      -UDEBUG -U_DEBUG -DNDEBUG -DNV_REMAP_PAGE_RAN
   GE_5 -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_CLAS
   S_SIMPLE_CREATE_PRESENT  -DMODULE -DKBUILD_BASENAME=nv -DKBUILD_MODNAME=nvid
   ia -c -o /tmp/selfgz13743/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.tmp_nv.
   o /tmp/selfgz13743/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c
   In file included from include/linux/list.h:7,
                    from include/linux/wait.h:14,
                    from include/asm/semaphore.h:41,
                    from include/linux/sched.h:18,
                    from include/linux/module.h:10,
                    from /tmp/selfgz13743/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/sr
   c/nv/nv-linux.h:52,
                    from /tmp/selfgz13743/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/sr
   c/nv/nv.c:14:
   include/linux/prefetch.h: Dans la fonction « prefetch_range »:
   include/linux/prefetch.h:62: attention : usage en arithmétique d'un pointeur
   de type « void * »
     cc -Wp,-MD,/tmp/selfgz13743/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.nv-
   vm.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -Wall -Wstrict
   -prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft-flo
   at -mpreferred-stack-boundary=2  -march=i386 -Iinclude/asm-i386/mach-default
   -Os -fomit-frame-pointer  -I/tmp/selfgz13743/NVIDIA-Linux-x86-1.0-6629-pkg1/
   usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscript
   s -Wparentheses -Wpointer-arith  -Wno-multichar  -Werror -O -fno-common -MD  
    -Wno
   -cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNTRM -D
   _GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=
   1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629  -DNV_UNIX   -DNV_LINUX   -DNV_I
   NT64_OK   -DNVCPU_X86      -UDEBUG -U_DEBUG -DNDEBUG -DNV_REMAP_PAGE_RANGE_5
   -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_CLASS_SIM
   PLE_CREATE_PRESENT  -DMODULE -DKBUILD_BASENAME=nv_vm -DKBUILD_MODNAME=nvidia
   -c -o /tmp/selfgz13743/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.tmp_nv-vm.
   o /tmp/selfgz13743/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-vm.c
   In file included from include/linux/list.h:7,
                    from include/linux/wait.h:14,
                    from include/asm/semaphore.h:41,
                    from include/linux/sched.h:18,
                    from include/linux/module.h:10,
                    from /tmp/selfgz13743/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/sr
   c/nv/nv-linux.h:52,
                    from /tmp/selfgz13743/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/sr
   c/nv/nv-vm.c:14:
   include/linux/prefetch.h: Dans la fonction « prefetch_range »:
   include/linux/prefetch.h:62: attention : usage en arithmétique d'un pointeur
   de type « void * »
   /tmp/selfgz13743/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-vm.c: Hors de  
   toute fonction :
   /tmp/selfgz13743/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-vm.c:59: atten
   tion : `cache_flush' defined but not used
     cc -Wp,-MD,/tmp/selfgz13743/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.os-
   agp.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -Wall -Wstric
   t-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft-fl
   oat -mpreferred-stack-boundary=2  -march=i386 -Iinclude/asm-i386/mach-defaul
   t -Os -fomit-frame-pointer  -I/tmp/selfgz13743/NVIDIA-Linux-x86-1.0-6629-pkg
   1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscri
   pts -Wparentheses -Wpointer-arith  -Wno-multichar  -Werror -O -fno-common -M
   D   -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -
   DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NA
   MES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PA
   TCHLEVEL=6629  -DNV_UNIX   -DNV_LINUX   -DNV_INT64_OK   -DNVCPU_X86      -UD
   EBUG -U_DEBUG -DNDEBUG -DNV_REMAP_PAGE_RANGE_5 -DNV_CHANGE_PAGE_ATTR_PRESENT
   -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_CLASS_SIMPLE_CREATE_PRESENT  -DMODULE -
   DKBUILD_BASENAME=os_agp -DKBUILD_MODNAME=nvidia -c -o /tmp/selfgz13743/NVIDI
   A-Linux-x86-1.0-6629-pkg1/usr/src/nv/.tmp_os-agp.o /tmp/selfgz13743/NVIDIA-L
   inux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c
   In file included from include/linux/list.h:7,
                    from include/linux/wait.h:14,
                    from include/asm/semaphore.h:41,
                    from include/linux/sched.h:18,
                    from include/linux/module.h:10,
                    from /tmp/selfgz13743/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/sr
   c/nv/nv-linux.h:52,
                    from /tmp/selfgz13743/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/sr
   c/nv/os-agp.c:24:
   include/linux/prefetch.h: Dans la fonction « prefetch_range »:
   include/linux/prefetch.h:62: attention : usage en arithmétique d'un pointeur
   de type « void * »
     cc -Wp,-MD,/tmp/selfgz13743/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.os-
   interface.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -Wall -
   Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -ms
   oft-float -mpreferred-stack-boundary=2  -march=i386 -Iinclude/asm-i386/mach-
   default -Os -fomit-frame-pointer  -I/tmp/selfgz13743/NVIDIA-Linux-x86-1.0-66
   29-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-s
   ubscripts -Wparentheses -Wpointer-arith  -Wno-multichar  -Werror -O -fno-com
   mon -MD   -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMOD
   ULE  -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_
   MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629  -DNV_UNIX   -DNV_
   LINUX   -DNV_INT64_OK   -DNVCPU_X86      -UDEBUG -U_DEBUG -DNDEBUG -DNV_REMA
   P_PAGE_RANGE_5 -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT
   -DNV_CLASS_SIMPLE_CREATE_PRESENT  -DMODULE -DK
   BUILD_BASENAME=os_interface -DKBUILD_MODNAME=nvidia -c -o /tmp/selfgz13743/N
   VIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.tmp_os-interface.o /tmp/selfgz1374
   3/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-interface.c
   In file included from include/linux/list.h:7,
                    from include/linux/wait.h:14,
                    from include/asm/semaphore.h:41,
                    from include/linux/sched.h:18,
                    from include/linux/module.h:10,
                    from /tmp/selfgz13743/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/sr
   c/nv/nv-linux.h:52,
                    from /tmp/selfgz13743/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/sr
   c/nv/os-interface.c:26:
   include/linux/prefetch.h: Dans la fonction « prefetch_range »:
   include/linux/prefetch.h:62: attention : usage en arithmétique d'un pointeur
   de type « void * »
     cc -Wp,-MD,/tmp/selfgz13743/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.os-
   registry.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -Wall -W
   strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -mso
   ft-float -mpreferred-stack-boundary=2  -march=i386 -Iinclude/asm-i386/mach-d
   efault -Os -fomit-frame-pointer  -I/tmp/selfgz13743/NVIDIA-Linux-x86-1.0-662
   9-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-su
   bscripts -Wparentheses -Wpointer-arith  -Wno-multichar  -Werror -O -fno-comm
   on -MD   -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODU
   LE  -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_M
   AJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629  -DNV_UNIX   -DNV_L
   INUX   -DNV_INT64_OK   -DNVCPU_X86      -UDEBUG -U_DEBUG -DNDEBUG -DNV_REMAP
   _PAGE_RANGE_5 -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT  
   -DNV_CLASS_SIMPLE_CREATE_PRESENT  -DMODULE -DKBUILD_BASENAME=os_registry -DK
   BUILD_MODNAME=nvidia -c -o /tmp/selfgz13743/NVIDIA-Linux-x86-1.0-6629-pkg1/u
   sr/src/nv/.tmp_os-registry.o /tmp/selfgz13743/NVIDIA-Linux-x86-1.0-6629-pkg1
   /usr/src/nv/os-registry.c
   In file included from include/linux/list.h:7,
                    from include/linux/wait.h:14,
                    from include/asm/semaphore.h:41,
                    from include/linux/sched.h:18,
                    from include/linux/module.h:10,
                    from /tmp/selfgz13743/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/sr
   c/nv/nv-linux.h:52,
                    from /tmp/selfgz13743/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/sr
   c/nv/os-registry.c:14:
   include/linux/prefetch.h: Dans la fonction « prefetch_range »:
   include/linux/prefetch.h:62: attention : usage en arithmétique d'un pointeur
   de type « void * »
     ld -m elf_i386  -r -o /tmp/selfgz13743/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/
   src/nv/nvidia.o /tmp/selfgz13743/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/n
   v-kernel.o /tmp/selfgz13743/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.o /
   tmp/selfgz13743/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-vm.o /tmp/selfg
   z13743/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.o /tmp/selfgz13743/N
   VIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-interface.o /tmp/selfgz13743/NVI
   DIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-registry
   .o
     Building modules, stage 2.
   make -rR -f /usr/src/kernel-source-2.6.8/scripts/Makefile.modpost
     scripts/mod/modpost -i /usr/src/kernel-source-2.6.8/Module.symvers /tmp/se
   lfgz13743/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nvidia.o
     cc -Wp,-MD,/tmp/selfgz13743/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.nvi
   dia.mod.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -Wall -Ws
   trict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msof
   t-float -mpreferred-stack-boundary=2  -march=i386 -Iinclude/asm-i386/mach-de
   fault -Os -fomit-frame-pointer     -DKBUILD_BASENAME=nvidia -DKBUILD_MODNAME
   =nvidia -DMODULE -c -o /tmp/selfgz13743/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/s
   rc/nv/nvidia.mod.o /tmp/selfgz13743/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/n
   v/nvidia.mod.c
     ld -m elf_i386 -r -o /tmp/selfgz13743/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/s
   rc/nv/nvidia.ko /tmp/selfgz13743/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/n
   vidia.o /tmp/selfgz13743/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nvidia.mo
   d.o
   NVIDIA: left KBUILD.
-> done.
-> Kernel module compilation complete.
ERROR: Unable to load the kernel module 'nvidia.ko'.  This is most likely
       because the kernel module was built using the wrong kernel source files.
       Please make sure you have installed the kernel source files for your
       kernel; on Red Hat Linux systems, for example, be sure you have the
       'kernel-source' rpm installed.  If you know the correct kernel source
       files are installed, you may specify the kernel source path with the
       '--kernel-source-path' commandline option.
-> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.ko':
   -1 Invalid module format
-> Kernel messages:
   nvidia: version magic '2.6.8-1-386  preempt 386 gcc-3.3' should be
   '2.6.8-1-386 preempt 386 gcc-3.3'
   nvidia: version magic '2.6.8-1-386  preempt 386 gcc-3.3' should be
   '2.6.8-1-386 preempt 386 gcc-3.3'
   nvidia: version magic '2.6.8-1-386  preempt 386 gcc-3.3' should be
   '2.6.8-1-386 preempt 386 gcc-3.3'
   apm: BIOS not found.
   nvidia: version magic '2.6.8-1-386  preempt 386 gcc-3.3' should be
   '2.6.8-1-386 preempt 386 gcc-3.3'
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.
 

n°14170
chemouz
Profil : Habitué
Posté le 11-11-2004 à 21:18:14  
 

en + fo que je vire le module rivafb !!! :fou:

n°14171
THE REAL 9​11GT3
Yo sou po oune nouméro
Profil : Membre
Posté le 11-11-2004 à 21:21:15  
 

le fait que tu utilises des sources 2.6.8-1-i386 comme dans mon exemple c'est une coïncidence ou tu t'es contenté de copier mes lignes ?

n°14172
THE REAL 9​11GT3
Yo sou po oune nouméro
Profil : Membre
Posté le 11-11-2004 à 21:21:52  
 

pour le rivafb, s'il est module c'est pas très grave, faut juste ne pas s'en servir

n°14173
chemouz
Profil : Habitué
Posté le 11-11-2004 à 21:22:52  
 

c'est une coincidence uname -r me renvoit bien 2.6.8-1-386.
 
sur un barton ca devrait pas etre 586 ???
 
g trouvé ca sur google mais j'ai du mal ....  
 
http://home.comcast.net/~andrex/De [...] index.html
 
Faut patcher je crois ...
http://kerneltrap.org/node/view/1804
 
Là on parle de headers ...
http://www.xenux.net/?article=25&skin=skin1


Message édité par chemouz le 11-11-2004 à 21:41:17
n°14175
chemouz
Profil : Habitué
Posté le 11-11-2004 à 22:17:20  
 
n°14185
chemouz
Profil : Habitué
Posté le 12-11-2004 à 23:20:24  
 


 
tjs le nvdia.ko manquant !!!  :fou:

n°14510
chemouz
Profil : Habitué
Posté le 15-12-2004 à 00:56:14  
 

autre méthode qui fonctionne chez qqn d'autre et même résultat ...
 
rajouter dans /etc/apt/source.list le non-free et le contrib
deb http://ftp.fr.debian.org/debian/ testing main contrib non-free
 
aptitude install module-assistant kernel-headers-2.6.x-xxx
aptitude install nvidia-kernel-source
aptitude install nvidia-glx : peut être pas nécessaire
m-a update
m-a prepare
m-a build nvidia-kernel-source
dpkg -i /usr/src/nvidia-kernel-version_xxx.deb
 
modifier le Xfree86Config-4 en modifiant nv en nvidia

  FORUM Rue-Montgallet.com
  OS alternatifs
  Linux

  Nvidia driver propriétaire et Debian Sarge 2.6.8.1

© 2000-2024 Forum.rue-montgallet.com - Tous droits réservés