Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 15/01/2007, à 21:18

Khastro

plz help : Prob. install pilotes nvidia & 8800 gtx + beryl

Bonjour,

J'ai eut un occasion géniale et j'ai fait l'erreur d'acheter une carte nvidia 8800.
Ubuntu fonctionnait au poil avec beryl avant de changer la carte video, un vrai bonheur ...

Maintenant je ne parviens pas à installer les pilotes nvidia : "NVIDIA-Linux-x86-1.0-9746-pkg1.run"

Ca se passe bien et au moment de la compilation il termine et paf : "unable to build ..."

Il a un certain nombre d'erreurs dans les logs, mais cela dépasse mes compétences.

Mon config : Ubuntu 6.10 Edgy Eft / carte nvidia 8800 gtx 760 Mo

Merci pour toute l'aide que vous pourrez m'apporter ... j'aime vraiment trop ubuntu pour pouvoir m'en passer maintenant ...

Voici le log du package lors de l'install :

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon Jan 15 11:23:57 2007

option status:
  license pre-accepted    : false
  update                  : false
  force update            : false
  expert                  : true
  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       : 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)
  doc install prefix      : (not specified)
  kernel name             : (not specified)
  kernel include path     : (not specified)
  kernel source path      : /usr/src/linux-headers-2.6.17-10
  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)

chdir("./")
Using: nvidia-installer ncurses user interface
-> Searching for system utilities:
-> found `ldconfig` : `/sbin/ldconfig`
-> found `ldd` : `/usr/bin/ldd`
-> found `ld` : `/usr/bin/ld`
-> found `objcopy` : `/usr/bin/objcopy`
-> found `grep` : `/bin/grep`
-> found `dmesg` : `/bin/dmesg`
-> found `tail` : `/usr/bin/tail`
-> found `cut` : `/usr/bin/cut`
-> found `chcon` : `/usr/bin/chcon`
-> found `pkg-config` : `/usr/bin/pkg-config`
-> found `X` : `/usr/bin/X`
-> Searching for module utilities:
-> found `insmod` : `/sbin/insmod`
-> found `modprobe` : `/sbin/modprobe`
-> found `rmmod` : `/sbin/rmmod`
-> found `lsmod` : `/sbin/lsmod`
-> found `depmod` : `/sbin/depmod`
-> The file '/tmp/.X0-lock' exists and appears to contain the process ID '4094'
   of a runnning X server.
-> Continuing per the '--no-x-check' option.
-> License accepted.
-> Kernel module installation path (Answer:
   '/lib/modules/2.6.17-10-386/kernel/drivers/video')
-> Kernel module installation path: /lib/modules/2.6.17-10-386/kernel/drivers/v
   ideo
-> 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.
-> Checking development tools:
-> found `cc` : `/usr/bin/cc`
-> found `make` : `/usr/bin/make`
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Using the kernel source path '/usr/src/linux-headers-2.6.17-10' as specified
   by the '--kernel-source-path' commandline option.
-> Kernel source path (Answer: '/usr/src/linux-headers-2.6.17-10')
-> Kernel source path: '/usr/src/linux-headers-2.6.17-10'
-> Kernel output path: '/usr/src/linux-headers-2.6.17-10'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> 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-i2c.o nv.o nv
   -vm.o os-agp.o os-interface.o os-registry.o nv-i2c.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 -f stprof stprof.o symtab.h Modules.symvers
   rm -f -rf .tmp_versions
   rm -f Makefile
-> Building kernel module:
   executing: 'cd ./usr/src/nv; make module SYSSRC=/usr/src/linux-headers-2.6.1
   7-10 SYSOUT=/usr/src/linux-headers-2.6.17-10'...
   sh ./conftest.sh "cc" "cc" /usr/src/linux-headers-2.6.17-10 /usr/src/linux-h
   eaders-2.6.17-10 cc_sanity_check full_output
   sh ./conftest.sh "cc" "cc" /usr/src/linux-headers-2.6.17-10 /usr/src/linux-h
   eaders-2.6.17-10 select_makefile full_output
   make --no-print-directory -f Makefile module
   
   NVIDIA: calling KBUILD...
   make CC=cc  KBUILD_VERBOSE=1 -C /usr/src/linux-headers-2.6.17-10 SUBDIRS=/tm
   p/selfgz6009/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src/nv modules
   mkdir -p /tmp/selfgz6009/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src/nv/.tmp_vers
   ions
   rm -f /tmp/selfgz6009/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src/nv/.tmp_version
   s/*
   
     WARNING: Symbol version dump /usr/src/linux-headers-2.6.17-10/Module.symve
   rs
              is missing; modules will have no dependencies and modversions.
   
   make -f scripts/Makefile.build obj=/tmp/selfgz6009/NVIDIA-Linux-x86-1.0-9746
   -pkg1/usr/src/nv
   echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz6009/NVI
   DIA-Linux-x86-1.0-9746-pkg1/usr/src/nv/nv_compiler.h
     cc -Wp,-MD,/tmp/selfgz6009/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src/nv/.nv.o
   .d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -D__KERNEL_
   _ -Iinclude  -include include/linux/autoconf.h -Wall -Wundef -Wstrict-protot
   ypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fno-stack-protector -O
   s -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2  -mar
   ch=athlon -mregparm=3 -ffreestanding -Iinclude/asm-i386/mach-default -Wdecla
   ration-after-statement -Wno-pointer-sign -I/tmp/selfgz6009/NVIDIA-Linux-x86-
   1.0-9746-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -W
   char-subscripts -Wparentheses -Wpointer-arith  -Wno-multichar  -Werror  -O -
   fno-common -msoft-float       -MD   -Wsign-compare -Wno-cast-qual -Wno-error
   -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNVRM -DNV_MAJOR_VERSION=1 -DN
   V_MINOR_VERSION=0 -DNV_PATCHLEVEL=9746  -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNA
   L_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESEN
   T -DNV_SYSCTL_MAX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_
   IRQ_HANDLER_WITH_PTREGS_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT
   _PAGE_PRESENT -DNV_OLD_MM_KGDB_BREAKPOINT_PRESENT -DNV_REMAP_PFN_RANGE_PRESE
   NT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT  -DMODULE -D"KBUILD_STR
   (s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)"  -D"KBUILD_MODNAME=KBUILD_STR(nvi
   dia)" -c -o /tmp/selfgz6009/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src/nv/.tmp_n
   v.o /tmp/selfgz6009/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src/nv/nv.c
   In file included from include/linux/list.h:7,
                    from include/linux/wait.h:22,
                    from include/asm/semaphore.h:41,
                    from include/linux/sched.h:57,
                    from include/linux/module.h:9,
                    from /tmp/selfgz6009/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src
   /nv/nv-linux.h:51,
                    from /tmp/selfgz6009/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src
   /nv/nv.c:14:
   include/linux/prefetch.h: In function ‘prefetch_range’:
   include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
   rithmetic
   In file included from include/linux/dmapool.h:14,
                    from include/linux/pci.h:559,
                    from /tmp/selfgz6009/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src
   /nv/nv-linux.h:77,
                    from /tmp/selfgz6009/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src
   /nv/nv.c:14:
   include/asm/io.h: In function ‘check_signature’:
   include/asm/io.h:245: warning: wrong type argument to increment
   /bin/sh: scripts/genksyms/genksyms: not found
   make[3]: *** [/tmp/selfgz6009/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src/nv/nv.o
   ] Erreur 127
   make[2]: *** [_module_/tmp/selfgz6009/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src
   /nv] 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.

#2 Le 15/01/2007, à 21:51

Khastro

Re : plz help : Prob. install pilotes nvidia & 8800 gtx + beryl

bon ben ya du mieux ...

mais maintenant ca me donne ca ... :

-> Kernel module compilation complete.
   executing: '/sbin/insmod ./usr/src/nv/nvidia.ko'...
   insmod: error inserting './usr/src/nv/nvidia.ko': -1 Invalid module format
ERROR: Unable to load the kernel module 'nvidia.ko'.  This happens most
       frequently when this kernel module was built against the wrong or
       improperly configured kernel sources, with a version of gcc that differs
       from the one used to build the target kernel, or if a driver such as
       rivafb/nvidiafb is present and prevents the NVIDIA kernel module from
       obtaining ownership of the NVIDIA graphics device(s).
       
       Please see the log entries 'Kernel module load error' and 'Kernel
       messages' at the end of the file '/var/log/nvidia-installer.log' for
       more information.
-> Kernel messages:
   [17179622.708000] ACPI: Power Button (FF) [PWRF]
   [17179622.708000] ACPI: Power Button (CM) [PWRB]
   [17179622.808000] ibm_acpi: ec object not found
   [17179622.832000] pcc_acpi: loading...
   [17179623.088000] powernow-k8: Found 1 AMD Athlon 64 / Opteron processors
   (version 1.60.2)
   [17179623.088000] powernow-k8:    0 : fid 0xe (2200 MHz), vid 0x6 (1400 mV)
   [17179623.088000] powernow-k8:    1 : fid 0xc (2000 MHz), vid 0x8 (1350 mV)
   [17179623.088000] powernow-k8:    2 : fid 0xa (1800 MHz), vid 0xa (1300 mV)
   [17179623.088000] powernow-k8:    3 : fid 0x2 (1000 MHz), vid 0x12 (1100 mV)
   [17179623.088000] cpu_init done, current fid 0xe, vid 0x6
   [17179625.392000] apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac)
   [17179625.392000] apm: overridden by ACPI.
   [17179629.464000] Bluetooth: Core ver 2.8
   [17179629.464000] NET: Registered protocol family 31
   [17179629.464000] Bluetooth: HCI device and connection manager initialized
   [17179629.464000] Bluetooth: HCI socket layer initialized
   [17179629.472000] Bluetooth: L2CAP ver 2.8
   [17179629.472000] Bluetooth: L2CAP socket layer initialized
   [17179629.484000] Bluetooth: RFCOMM socket layer initialized
   [17179629.484000] Bluetooth: RFCOMM TTY layer initialized
   [17179629.484000] Bluetooth: RFCOMM ver 1.7
   [17182071.424000] Linux agpgart interface v0.101 (c) Dave Jones
   [17182071.460000] nvidia: disagrees about version of symbol struct_module
   [17182452.932000] nvidia: no version for "struct_module" found: kernel
   tainted.
   [17182452.932000] nvidia: version magic '2.6.17-10 mod_unload K7 REGPARM
   gcc-4.1' should be '2.6.17-10-386 mod_unload 486 REGPARM gcc-4.1'
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.

#3 Le 15/01/2007, à 22:21

Khastro

Re : plz help : Prob. install pilotes nvidia & 8800 gtx + beryl

bon ben la solution finale était de spécifier : "-k $(uname -r)" au bout de la ligne de commande ce qui donne dans mon cas :
"sudo sh /home/rafael/Desktop/NVIDIA-Linux-x86-1.0-9746-pkg1.run --kernel-source-path /usr/src/linux-headers-2.6.17-10 -e -k $(uname -r)"

on va voir maintenant si X se lance ...

#4 Le 16/01/2007, à 13:49

Lestat the vampire

Re : plz help : Prob. install pilotes nvidia & 8800 gtx + beryl

Utilise le script envy, il fait tout ca automatiquement !

Hors ligne

#5 Le 16/01/2007, à 18:48

khastro

Re : plz help : Prob. install pilotes nvidia & 8800 gtx + beryl

Merci

Oui bah, vais essayer.
Parce que maintenant il me dit que module kernel nvidia est introuvable ...