Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2005-09-11 17:49:04

  Psr - Użytkownik

Psr
Użytkownik
Zarejestrowany: 2005-09-11

NVIDIA sterowniki- unable to build the nvidia kernel module

No więc mam problem z instalacja sterowników .

z /root/linux-2.6.13/ kompilowalem kernela

wywolalem skrypt ./NVIDIA...  --kernel-source-path=/root/linux-2.6.13/

i tak wyglada log:

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sun Sep 11 17:26:31 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
  X install prefix        : /usr/X11R6
  OpenGL install prefix   : /usr
  Installer install prefix: /usr
  kernel source path      : /root/linux-2.6.13/
  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.
-> There appears to already be a driver installed on your system (version: 1.0-
   6111).  As part of installing this driver (version: 1.0-6111), 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: 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 '/root/linux-2.6.13/' as specified by the
   '--kernel-source-path' commandline option.
-> Kernel source path: '/root/linux-2.6.13/'
-> Performing cc_version_check with CC="cc".
-> Performing rivafb check.
-> Performing rivafb module check.
-> Cleaning kernel module build directory.
   executing: 'cd ./usr/src/nv; make clean'...
   rm -f -f nv.o os-agp.o os-interface.o os-registry.o nv.o os-agp.o os-interfa
   ce.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 *~
-> Building kernel module:
   executing: 'cd ./usr/src/nv; make module SYSSRC=/root/linux-2.6.13/ SYSOUT=/
   root/linux-2.6.13/'...
   
   NVIDIA: calling KBUILD...
   make -C /root/linux-2.6.13/       
   KBUILD_SRC=/root/linux-2.6.13         KBUILD_VERBOSE=1   
   KBUILD_CHECK= KBUILD_EXTMOD="/tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/
   usr/src/nv"   
           -f /root/linux-2.6.13/Makefile modules
   mkdir -p /tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/.tmp_vers
   ions
   make -f /root/linux-2.6.13/scripts/Makefile.build obj=/tmp/selfgz2853/NVIDIA
   -Linux-x86-1.0-6111-pkg1/usr/src/nv
   echo #define NV_COMPILER "`cc -v 2>&1 | tail -n 1`" > /tmp/selfgz2853/NVI
   DIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv_compiler.h
     cc -Wp,-MD,/tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/.nv.o
   .d  -nostdinc -isystem /usr/lib/gcc-lib/i386-linux/2.95.4/include -D__KERNEL
   __ -Iinclude -Iinclude2 -I/root/linux-2.6.13/include  -I/tmp/selfgz2853/NVID
   IA-Linux-x86-1.0-6111-pkg1/usr/src/nv -Wall -Wstrict-prototypes -Wno-trigrap
   hs -fno-strict-aliasing -fno-common -ffreestanding -O2 -fomit-frame-pointer
   -pipe -msoft-float -mpreferred-stack-boundary=2 -march=i686 -malign-func
   tions=4 -I/root/linux-2.6.13/include/asm-i386/mach-default -Iinclude/asm-i38
   6/mach-default  -I/tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv
   -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparenth
   eses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -MD -Wno-cast-qua
   l -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURC
   E -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINO
   R_VERSION=0 -DNV_PATCHLEVEL=6111 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_
   X86 -UDEBUG -U_DEBUG -DNDEBUG -DNV_CHANGE_PAGE_ATTR_PRESENT -DMODULE -DKBUIL
   D_BASENAME=nv -DKBUILD_MODNAME=nvidia -c -o /tmp/selfgz2853/NVIDIA-Linux-x86
   -1.0-6111-pkg1/usr/src/nv/.tmp_nv.o /tmp/selfgz2853/NVIDIA-Linux-x86-1.0-611
   1-pkg1/usr/src/nv/nv.c
   In file included from include/linux/list.h:7,
                    from include/linux/wait.h:23,
                    from include/asm/semaphore.h:41,
                    from include/linux/sched.h:20,
                    from include/linux/module.h:10,
                    from /tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src
   /nv/nv-linux.h:52,
                    from /tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-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 arith
   metic
   In file included from include/linux/dmapool.h:14,
                    from include/linux/pci.h:870,
                    from /tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src
   /nv/nv-linux.h:75,
                    from /tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src
   /nv/nv.c:14:
   include/asm/io.h: In function `check_signature':
   include/asm/io.h:253: warning: wrong type argument to increment
   /tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In function
   `nvos_find_agp_by_class':
   /tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:642: warning:
   implicit declaration of function `pci_find_class'
   /tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:642: warning:
   assignment makes pointer from integer without a cast
   /tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:653: warning:
   assignment makes pointer from integer without a cast
   /tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In function
   `nv_kern_mmap':
   /tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:1765: warning
   : implicit declaration of function `remap_page_range'
   /tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In function
   `_get_phys_address':
   /tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:2731: warning
   : passing arg 1 of `pmd_offset' from incompatible pointer type
   /tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In function
   `nv_agp_init':
   /tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3332: warning
   : implicit declaration of function `inter_module_get'
   /tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In function
   `nvos_count_devices':
   /tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3486: warning
   : assignment makes pointer from integer without a cast
   /tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3491: warning
   : assignment makes pointer from integer without a cast
     cc -Wp,-MD,/tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/.os-a
   gp.o.d  -nostdinc -isystem /usr/lib/gcc-lib/i386-linux/2.95.4/include -D__KE
   RNEL__ -Iinclude -Iinclude2 -I/root/linux-2.6.13/include  -I/tmp/selfgz2853/
   NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv -Wall -Wstrict-prototypes -Wno-tri
   graphs -fno-strict-aliasing -fno-common -ffreestanding -O2 -fomit-frame-poin
   ter -pipe -msoft-float -mpreferred-stack-boundary=2 -march=i686 -malign-func
   tions=4 -I/root/linux-2.6.13/include/asm-i386/mach-default -Iinclude/asm-i38
   6/mach-default  -I/tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv
   -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparenth
   eses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -MD -Wno-cast-qua
   l -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GN
   U_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -D
   NV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6111 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -
   DNVCPU_X86 -UDEBUG -U_DEBUG -DNDEBUG -DNV_CHANGE_PAGE_ATTR_PRESENT -DMODULE
   -DKBUILD_BASENAME=os_agp -DKBUILD_MODNAME=nvidia -c -o /tmp/selfgz2853/NVIDI
   A-Linux-x86-1.0-6111-pkg1/usr/src/nv/.tmp_os-agp.o /tmp/selfgz2853/NVIDIA-Li
   nux-x86-1.0-6111-pkg1/usr/src/nv/os-agp.c
   In file included from include/linux/list.h:7,
                    from include/linux/wait.h:23,
                    from include/asm/semaphore.h:41,
                    from include/linux/sched.h:20,
                    from include/linux/module.h:10,
                    from /tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src
   /nv/nv-linux.h:52,
                    from /tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src
   /nv/os-agp.c:24:
   include/linux/prefetch.h: In function `prefetch_range':
   include/linux/prefetch.h:62: warning: pointer of type `void *' used in arith
   metic
   In file included from include/linux/dmapool.h:14,
                    from include/linux/pci.h:870,
                    from /tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src
   /nv/nv-linux.h:75,
                    from /tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src
   /nv/os-agp.c:24:
   include/asm/io.h: In function `check_signature':
   include/asm/io.h:253: warning: wrong type argument to increment
   /tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/os-agp.c: At top l
   evel:
   /tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/os-agp.c:48: parse
   error before `*'
   /tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/os-agp.c:48: warni
   ng: type defaults to `int' in declaration of `drm_agp_p'
   /tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/os-agp.c:48: warni
   ng: data definition has no type or storage class
   /tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/os-agp.c: In funct
   ion `KernInitAGP':
   /tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/os-agp.c:76: warni
   ng: assignment discards qualifiers from pointer target type
   /tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/os-agp.c:85: reque
   st for member `acquire' in something not a structure or union
   /tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/os-agp.c:113: requ
   est for member `copy_info' in something not a structure or union
   /tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/os-agp.c:173: requ
   est for member `enable' in something not a structure or union
   /tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/os-agp.c:185: requ
   est for member `release' in something not a structure or union
   /tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/os-agp.c: In funct
   ion `KernTeardownAGP':
   /tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/os-agp.c:216: requ
   est for member `release' in something not a structure or union
   /tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/os-agp.c: In funct
   ion `KernAllocAGPPages':
   /tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/os-agp.c:265: requ
   est for member `allocate_memory' in something not a structure or union
   /tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/os-agp.c:273: requ
   est for member `bind_memory' in something not a structure or union
   /tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/os-agp.c:290: requ
   est for member `unbind_memory' in something not a structure or union
   /tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/os-agp.c:305: requ
   est for member `free_memory' in something not a structure or union
   /tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/os-agp.c:246: warn
   ing: `ptr' might be used uninitialized in this function
   /tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/os-agp.c:247: warn
   ing: `err' might be used uninitialized in this function
   /tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/os-agp.c: In funct
   ion `KernMapAGPPages':
   /tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/os-agp.c:337: warn
   ing: implicit declaration of function `remap_page_range'
   /tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/os-agp.c:345: requ
   est for member `unbind_memory' in something not a structure or union
   /tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/os-agp.c: In funct
   ion `KernFreeAGPPages':
   /tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/os-agp.c:444: requ
   est for member `unbind_memory' in something not a structure or union
   /tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/os-agp.c:445: requ
   est for member `free_memory' in something not a structure or union
   make[4]: *** [/tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/os-a
   gp.o] B³±d 1
   make[3]: *** [_module_/tmp/selfgz2853/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src
   /nv] B³±d 2
   make[2]: *** [modules] B³±d 2
   NVIDIA: left KBUILD.
   nvidia.ko failed to build!
   make[1]: *** [module] B³±d 1
   make: *** [module] B³±d 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.

Offline

 

#2  2005-09-11 17:51:36

  czadman - Bicycle repairman

czadman
Bicycle repairman
Skąd: Wrocław
Zarejestrowany: 2005-07-08

Re: NVIDIA sterowniki- unable to build the nvidia kernel module

Do tego kernela instaluj sterowniki z numerkiem 7xxx.


http://www.debian.org/logos/openlogo-nd-50.png

Offline

 

#3  2005-09-11 17:58:11

  kamikaze - Administrator

kamikaze
Administrator
Zarejestrowany: 2004-04-16

Re: NVIDIA sterowniki- unable to build the nvidia kernel module

Weź sobie najnowsze stery ze strony nvidia. Źródła jądra powinno leżeć w /usr/src, no ale to żadna reguła i to na pewno nie jest powodem problemu. Ważne aby były skompilowane źródła aktualnie załadowanego jądra. Nowe stery mogą pomóc gdyż kiedyś starsze wersje nie współpracowały z ówczesnymi wersjami 2.6.x, w nowszych sterownikach nvidii poprawiono ten problem. Nie pamietam czy to akurat ta wersja której używasz sprawaiałaby problemy, ale warto sprawdzić. No i nowe znaczy czesto lepsze.

Offline

 

#4  2005-09-11 18:57:34

  Psr - Użytkownik

Psr
Użytkownik
Zarejestrowany: 2005-09-11

Re: NVIDIA sterowniki- unable to build the nvidia kernel module

teraz działa jak należy - ściągnąłem najnowsze sterowniki do nvidi

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
Możesz wyłączyć AdBlock — tu nie ma reklam ;-)