Aller au contenu
  • Pas encore inscrit ?

    Pourquoi ne pas vous inscrire ? C'est simple, rapide et gratuit.
    Pour en savoir plus, lisez Les avantages de l'inscription... et la Charte de Zébulon.
    De plus, les messages que vous postez en tant qu'invité restent invisibles tant qu'un modérateur ne les a pas validés. Inscrivez-vous, ce sera un gain de temps pour tout le monde, vous, les helpeurs et les modérateurs ! :wink:

mandrake 9.2 et nvidia


olwin

Messages recommandés

rebonjour à tous

 

j'ai essayé d'installé les drivers nvidia mais il me met une erreur à l'installation, apparemment il me manque kernel header .

 

j'ai vu que le kernel-source n'ai pas dans les cd de la 9.2

 

j'ai donc été dans "installé des packages" et j'ai télécharger le package kernel-source-2.4.22.21 ( je crois) mais je n'ai pas vu de package kernel-header , ou est ce que je peux le trouver ?

Lien vers le commentaire
Partager sur d’autres sites

sur http://rpmfind.net peut-être...

 

sinon tu te recompiles un noyau avec les sources.

 

Le nvidia-installer ne te propose pas de télécharger un module correspondant à ton architecture? (ou peut être ne trouve-t-il pas de correspondance et qu'il se trouve dans l'obligation de compiler le module...)

Modifié par Greywolf
Lien vers le commentaire
Partager sur d’autres sites

voilà exactement le message que j'ai :

no precompiled kernel interface was found to match your kernel,would you like to attempt to download a kernel interface for you kernel from nvidia ftp site

ben là je dis oui et il trouve rien :-(

 

ensuite il commence l'installation ( il arrive vers 20 %) et là :

error : unable to load the kernel module 'nvidia.o'. This is most likely because the kernel module was built using the wrong kernel header files. Please make sur you have installed the kernel header file for your kernel. If you know the correcxt kernel header files are installed, you may specify the kernel include path with the '--kernel-include-path' commandline option

 

voilà , et là je sais plus quoi faire :P

 

au cas ou cela peut être utile voila le fichier : /var/log/nvidia-installer.log

nvidia-installer log file '/var/log/nvidia-installer.log'

creation time: Thu Oct 30 14:00:38 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

  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                  : /root/tmp

  ftp site                : ftp://download.nvidia.com

 

Using: nvidia-installer ncurses user interface

-> License accepted.

-> There appears to already be a driver installed on your system (version: 1.0-

  4496).  As part of installing this driver (version: 1.0-4496), the existing

  driver will be uninstalled.  Are you sure you want to continue? ('no' will a

  bort installation) (Answer: Yes)

-> 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 include path: '/lib/modules/2.4.22-10mdk/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.22-10

  mdk/build/include'...

  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 -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=4496  -DNV_UNIX  -DNV_LINUX  -DNV_INT64_OK  -DNVCPU_X86      -DREMAP_PA

  GE_RANGE_4  -I. -I/lib/modules/2.4.22-10mdk/build/include -Wno-cast-qual nv.

  c

  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=4496  -DNV_UNIX  -DNV_LINUX  -DNV_INT64_OK  -DNVCPU_X86      -DREMAP_PA

  GE_RANGE_4  -I. -I/lib/modules/2.4.22-10mdk/build/include -Wno-cast-qual os-

  agp.c

  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=4496  -DNV_UNIX  -DNV_LINUX  -DNV_INT64_OK  -DNVCPU_X86      -DREMAP_PA

  GE_RANGE_4  -I. -I/lib/modules/2.4.22-10mdk/build/include -Wno-cast-qual os-

  interface.c

  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=4496  -DNV_UNIX  -DNV_LINUX  -DNV_INT64_OK  -DNVCPU_X86      -DREMAP_PA

  GE_RANGE_4  -I. -I/lib/modules/2.4.22-10mdk/build/include -Wno-cast-qual os-

  registry.c

  ld -r -o nv-linux.o nv.o os-agp.o os-interface.o os-registry.o

  ld -r -o nvidia.o nv-linux.o nv-kernel.o

-> done.

-> Kernel module compilation complete.

ERROR: Unable to load the kernel module 'nvidia.o'.  This is most likely

      because the kernel module was built using the wrong kernel header files.

      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.

-> Kernel module load error: ./usr/src/nv/nvidia.o: unresolved symbol

  init_mm_Rb238dcab

  ./usr/src/nv/nvidia.o: unresolved symbol __pollwait_R5cddb06a

  ./usr/src/nv/nvidia.o: unresolved symbol irq_stat_R346aa8e2

  ./usr/src/nv/nvidia.o: unresolved symbol change_page_attr_R1078ca32

  ./usr/src/nv/nvidia.o: unresolved symbol devfs_register_chrdev_Ra82ebff9

  ./usr/src/nv/nvidia.o: unresolved symbol devfs_unregister_Rfe126b72

  ./usr/src/nv/nvidia.o: unresolved symbol remove_proc_entry_Rf05ffaa5

  ./usr/src/nv/nvidia.o: unresolved symbol create_proc_entry_R74d25774

  ./usr/src/nv/nvidia.o: unresolved symbol proc_root_driver_R25661860

  ./usr/src/nv/nvidia.o: unresolved symbol devfs_register_R3cc4735c

  ./usr/src/nv/nvidia.o: unresolved symbol mem_map_R25c9af1e

  ./usr/src/nv/nvidia.o:

  Hint: You are trying to load a module without a GPL compatible license

  and it has unresolved symbols.  Contact the module supplier for

  assistance, only they can help you.

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.

Lien vers le commentaire
Partager sur d’autres sites

If no matching precompiled kernel interface is found, then the installer

will compile the kernel interface for you.  However, first it will

check that you have the correct kernel headers intalled on your system.

If the installer must compile the kernel interface, then you must install

the kernel-sources package for your kernel.

 

essaie d'installer ton package-source mais si tu ne recompile pas, tu risques de ne pas pouvoir charger le module (ie le module sera compilé pour ton package kernel-source qui n'est pas forcément celui que tu utilises actuellement)

 

Q: I can't build the NVIDIA kernel module, or I can build the NVIDIA

  kernel module, but modprobe/insmod fails to load the module into

  my kernel.  What's wrong?

 

A: These problems are generally caused by the build using the wrong kernel

  header files (ie header files for a different kernel version than

  the one you are running).  The convention used to be that kernel

  header files should be stored in "/usr/include/linux/", but that

  is deprecated in favor of "/lib/modules/`uname -r`/build/include".

  The nvidia-installer should be able to determine the location on your

  system; however, if you encounter a problem you can force the build

  to use certain header files by using the --kernel-include-dir option.

  Obviously, for this to work, you need the appropriate kernel header

  files installed on your system.  Consult the documentation that came

  with your distribution; some distributions don't install the kernel

  header files by default, or they install headers that don't coincide

  properly with the kernel you are running.

 

donc, sois tu installes le rpm kernel-headers qui correspond au noyau que tu utilises (uname -r) soit tu te recompiles un noyau tout beau tout neuf avec les sources (make oldconfig pour pas t'embeter)

 

bizarre que ce rpm ne soit pas sur les CD de ta distri...

Lien vers le commentaire
Partager sur d’autres sites

alors en faisant uname -r j'obtient : 2.4.22-10mdk

 

 

Donc si j'ai bien compris soit je recompile un noyau avec le RPM kernel source 2.4.22-21mdk, mais euh la je ne pense pas pouvoir le faire ( newbie forever :P )

 

soit je télécharge le kernel-header pour la version 2.4.22-10, mais malheureusement il n'est pas sur le rpmfind.net

 

voilà ce que j'obtient en faisant

olwin@localhost Documents]$ rpm -qR kernel-source

glibc-devel

ncurses-devel

make

gcc

/bin/sh

/bin/sh

rpmlib(PayloadFilesHavePrefix) <= 4.0-1

rpmlib(CompressedFileNames) <= 3.0.4-1

bash

perl-base

python-base

libc.so.6

libc.so.6(GLIBC_2.0)

libc.so.6(GLIBC_2.1)

libc.so.6(GLIBC_2.3)

libm.so.6

libm.so.6(GLIBC_2.0)

Lien vers le commentaire
Partager sur d’autres sites

:P un Mandrake user est demandé au rayon OS Alternatif :-(

 

tu peux toujours essayer de déterminer l'endroit où sont placés les modules de ton kernel actuel et forcer la détection en passant l'option --kernel-include-dir=/ton/rep au script nvidia-installer

 

(sh NVIDIA....run --extract-only)

Lien vers le commentaire
Partager sur d’autres sites

j'ai essayé en mettant le répertoire /lib/modules/2.4.22-10mdk/kernel mais là à l'installation il me dis qu'il ne trouve pas le fichier kernel.h :P

 

j'ai utilisé kfind : je trouve 2 fichier kernel.h

un dans /boot et l'autre dans usr/include/linux

 

par contre le fichier nvidia.o qu'il ne trouve pas à l'installation est bien présent il est dans le dossier : /lib/modules/2.4.22-10/video

Modifié par olwin
Lien vers le commentaire
Partager sur d’autres sites

nvidia-installer --kernel-include-dir=/usr/include/linux

 

danas ce cas là alors...

 

//nvidia.o c'est le module que l'installer est censé créer, après il faut qu'il soit chargeable par ton kernel

Modifié par Greywolf
Lien vers le commentaire
Partager sur d’autres sites

Rejoindre la conversation

Vous publiez en tant qu’invité. Si vous avez un compte, connectez-vous maintenant pour publier avec votre compte.
Remarque : votre message nécessitera l’approbation d’un modérateur avant de pouvoir être visible.

Invité
Répondre à ce sujet…

×   Collé en tant que texte enrichi.   Coller en tant que texte brut à la place

  Seulement 75 émoticônes maximum sont autorisées.

×   Votre lien a été automatiquement intégré.   Afficher plutôt comme un lien

×   Votre contenu précédent a été rétabli.   Vider l’éditeur

×   Vous ne pouvez pas directement coller des images. Envoyez-les depuis votre ordinateur ou insérez-les depuis une URL.

  • En ligne récemment   0 membre est en ligne

    • Aucun utilisateur enregistré regarde cette page.
×
×
  • Créer...