sinanjj 发表于 2008-4-6 16:51:58

安装NVIDIA GeForce 2驱动出错 " No precompiled kernel interface..."

#sh ./NVIDIA-Linux-x86-96.43.05-pkg1.run
同意license后, 显示 "No precompiled kernel interface was found to match your kernel..."

搜了一下旧贴, 没找到....(估计我是个个案....)

google了一下, 说是安装lib6_dev,找了找, 只有deb包.....

我编译过内核, 用了最少的功能, 是不是和这个有关(N个月前了, 具体选项忘了...)

请各位大侠指点

[ 本帖最后由 sinanjj 于 2008-4-6 16:53 编辑 ]

sejishikong 发表于 2008-4-6 19:07:45

这不是出错。
这是正常的提示,后面编译内核的时候如果有错误才是错误提示。

djpj2046 发表于 2008-4-7 16:05:07

我装的时候也有这个,继续安装,OK.

sinanjj 发表于 2008-4-7 17:34:38

谢谢主席和djpj2046

我选否, 接着往下, 在它编译完内核模块后, 出现:
"Unable to load the kernel module 'nuidia.ko', this happens most frequently when this kernel module was..."

然后提示查看nvidia-installer.log

sinanjj 发表于 2008-4-7 17:36:45

nvidia-installer.log

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon Apr7 17:23:51 2008

option status:
license pre-accepted    : false
update                  : false
force update            : false
expert                  : false
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       : false
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      : (not specified)
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.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/2.6.15.3/source'
-> Kernel output path: '/lib/modules/2.6.15.3/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Cleaning kernel module build directory.
   executing: 'cd ./usr/src/nv; make clean'...
-> Building kernel module:
   executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.15.3/source
   SYSOUT=/lib/modules/2.6.15.3/build'...
   NVIDIA: calling KBUILD...
   make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.15.3/build KBUILD_VERBOSE=1 -C /li
   b/modules/2.6.15.3/source SUBDIRS=/tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-
   pkg1/usr/src/nv modules
   make -C /lib/modules/2.6.15.3/build \
   KBUILD_SRC=/lib/modules/2.6.15.3/build \
   KBUILD_EXTMOD="/tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv" -f
   /lib/modules/2.6.15.3/build/Makefile modules
   mkdir -p /tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/.tmp_vers
   ions
   make -f /lib/modules/2.6.15.3/build/scripts/Makefile.build obj=/tmp/selfgz27
   24/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv
   cc -Wp,-MD,/tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/.nv.o
   .d-nostdinc -isystem /usr/lib/gcc/i686-magic-linux/3.4.4/include -D__KERNE
   L__ -Iinclude -Iinclude2 -I/lib/modules/2.6.15.3/build/include -include incl
   ude/linux/autoconf.h-I/tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/s
   rc/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
   -fno-common -ffreestanding -O2 -fomit-
   frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2 -fno-unit-at-a
   -time -march=i586 -I/lib/modules/2.6.15.3/build/include/asm-i386/mach-defaul
   t -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement-I/tmp/self
   gz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-t
   ype -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-m
   ultichar -Werror -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNE
   L_NAMES -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"96.43.05\" -UDEBU
   G -U_DEBUG -DNDEBUG -DMODULE -DKBUILD_BASENAME=nv -DKBUILD_MODNAME=nvidia -c
   -o /tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv.o /tmp/selfg
   z2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv.c
   In file included from include/linux/bitops.h:77,
                  from include/linux/kernel.h:15,
                  from /tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/nv-linux.h:58,
                  from /tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/nv.c:14:
   include/asm/bitops.h: In function `find_first_bit':
   include/asm/bitops.h:339: warning: comparison between signed and unsigned
   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/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/nv-linux.h:59,
                  from /tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-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:454,
                  from /tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/nv-linux.h:85,
                  from /tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-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
   cc -Wp,-MD,/tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/.nv-v
   m.o.d-nostdinc -isystem /usr/lib/gcc/i686-magic-linux/3.4.4/include -D__KE
   RNEL__ -Iinclude -Iinclude2 -I/lib/modules/2.6.15.3/build/include -include i
   nclude/linux/autoconf.h-I/tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/us
   r/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasi
   ng -fno-common -ffreestanding -O2 -fomit-frame-pointer -pipe -msoft-float -m
   preferred-stack-boundary=2 -fno-unit-at-a-time -march=i586 -I/lib/modules/2.
   6.15.3/build/include/asm-i386/mach-default -Iinclude/asm-i386/mach-default -
   Wdeclaration-after-statement-I/tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pk
   g1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscr
   ipts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -MD -Wsign-compare
   -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM
   -DNV_VERSION_STRING=\"96.43.05\" -UDEBUG -U_DEBUG -DNDEB
   UG -DMODULE -DKBUILD_BASENAME=nv_vm -DKBUILD_MODNAME=nvidia -c -o /tmp/selfg
   z2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv-vm.o /tmp/selfgz2724/NVID
   IA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv-vm.c
   In file included from include/linux/bitops.h:77,
                  from include/linux/kernel.h:15,
                  from /tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/nv-linux.h:58,
                  from /tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/nv-vm.c:14:
   include/asm/bitops.h: In function `find_first_bit':
   include/asm/bitops.h:339: warning: comparison between signed and unsigned
   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/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/nv-linux.h:59,
                  from /tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/nv-vm.c:14:
   include/linux/prefetch.h: In function `prefetch_range':
   include/linux/prefetch.h:62: warning: pointer of type `void *' used in arith
   metic

sinanjj 发表于 2008-4-7 17:37:50

2

In file included from include/linux/dmapool.h:14,
                  from include/linux/pci.h:454,
                  from /tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/nv-linux.h:85,
                  from /tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/nv-vm.c:14:
   include/asm/io.h: In function `check_signature':
   include/asm/io.h:253: warning: wrong type argument to increment
   cc -Wp,-MD,/tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/.os-a
   gp.o.d-nostdinc -isystem /usr/lib/gcc/i686-magic-linux/3.4.4/include -D__K
   ERNEL__ -Iinclude -Iinclude2 -I/lib/modules/2.6.15.3/build/include -include
   include/linux/autoconf.h-I/tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/u
   sr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-alias
   ing -fno-common -ffreestanding -O2 -fomit-frame-pointer -pipe -msoft-float -
   mpreferred-stack-boun
   dary=2 -fno-unit-at-a-time -march=i586 -I/lib/modules/2.6.15.3/build/include
   /asm-i386/mach-default -Iinclude/asm-i386/mach-default -Wdeclaration-after-s
   tatement-I/tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv -Wall
   -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -
   Wpointer-arith -Wno-multichar -Werror -MD -Wsign-compare -Wno-cast-qual -Wno
   -error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRIN
   G=\"96.43.05\" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -DKBUILD_BASENAME=os_agp -
   DKBUILD_MODNAME=nvidia -c -o /tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/
   usr/src/nv/os-agp.o /tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/n
   v/os-agp.c
   In file included from include/linux/bitops.h:77,
                  from include/linux/kernel.h:15,
                  from /tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/nv-linux.h:58,
                  from /tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/os-agp.c:24:
   include/asm/bitops.h: In function `find_first_bit':
   include/asm/bitops.h:339: warning: comparison between signed and unsigned
   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/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/nv-linux.h:59,
                  from /tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-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:454,
                  from /tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/nv-linux.h:85,
                  from /tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-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
   cc -Wp,-MD,/tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/.os-i
   nterface.o.d-nostdinc -isystem /usr/lib/gcc/i686-magic-linux/3.4.4/include
   -D__KERNEL__ -Iinclude -Iinclude2 -I/lib/modules/2.6.15.3/build/include -inc
   lude include/linux/autoconf.h-I/tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-p
   kg1/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-
   aliasing -fno-common -ffreestanding -O2 -fomit-frame-pointer -pipe -msoft-fl
   oat -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i586 -I/lib/modu
   les/2.6.15.3/build/include/asm-i386/mach-default -Iinclude/asm-i386/mach-def
   ault -Wdeclaration-after-statement-I/tmp/selfgz2724/NVIDIA-Linux-x86-96.43
   .05-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-
   subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -MD -Wsign-c
   ompare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE
   -DNVRM -DNV_VERSION_STRING=\"96.43.05\" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -
   DKBUILD_BAS
   ENAME=os_interface -DKBUILD_MODNAME=nvidia -c -o /tmp/selfgz2724/NVIDIA-Linu
   x-x86-96.43.05-pkg1/usr/src/nv/os-interface.o /tmp/selfgz2724/NVIDIA-Linux-x
   86-96.43.05-pkg1/usr/src/nv/os-interface.c
   In file included from include/linux/bitops.h:77,
                  from include/linux/kernel.h:15,
                  from /tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/nv-linux.h:58,
                  from /tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/os-interface.c:26:
   include/asm/bitops.h: In function `find_first_bit':
   include/asm/bitops.h:339: warning: comparison between signed and unsigned
   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/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/nv-linux.h:59,
                  from /tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/os-interface.c:26:
   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:454,
                  from /tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/nv-linux.h:85,
                  from /tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/os-interface.c:26:
   include/asm/io.h: In function `check_signature':
   include/asm/io.h:253: warning: wrong type argument to increment
   cc -Wp,-MD,/tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/.os-r
   egistry.o.d-nostdinc -isystem /usr/lib/gcc/i686-magic-linux/3.4.4/include
   -D__KERNEL__ -Iinclude -Iinclude2 -I/lib/modules/2.6.15.3/build/include -inc
   lude include/linux/autoconf.h-I/tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-p
   kg1/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-
   aliasing -fno-common -ffreestanding -O2 -fomit-frame-pointer -pipe -msoft-fl
   oat
    -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i586 -I/lib/modules
   /2.6.15.3/build/include/asm-i386/mach-default -Iinclude/asm-i386/mach-defaul
   t -Wdeclaration-after-statement-I/tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05
   -pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-sub
   scripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -MD -Wsign-comp
   are -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -D
   NVRM -DNV_VERSION_STRING=\"96.43.05\" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -DK
   BUILD_BASENAME=os_registry -DKBUILD_MODNAME=nvidia -c -o /tmp/selfgz2724/NVI
   DIA-Linux-x86-96.43.05-pkg1/usr/src/nv/os-registry.o /tmp/selfgz2724/NVIDIA-
   Linux-x86-96.43.05-pkg1/usr/src/nv/os-registry.c
   In file included from include/linux/bitops.h:77,
                  from include/linux/kernel.h:15,
                  from /tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/nv-linux.h:58,
                  from /tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/os-registry.c:14:
   include/asm/bitops.h: In function `find_first_bit':
   include/asm/bitops.h:339: warning: comparison between signed and unsigned
   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/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/nv-linux.h:59,
                  from /tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/os-registry.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:454,
                  from /tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/nv-linux.h:85,
                  from /tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/os-registry.c:14:
   include/asm/io.h: In function `check_signature':
   include/asm/io.h:253: warning: wrong type argument to increment
   cc -Wp,-MD,/tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/.nv-i
   2c.o.d-nostdinc -isystem /usr/lib/gcc/i686-magic-linux/3.4.4/include -D__K
   ERNEL__ -Iinclude -Iinclude2 -I/lib/modules/2.6.15.3/build/include -include
   include/linux/autoconf.h-I/tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/u
   sr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-alias
   ing -fno-common -ffreestanding -O2 -fomit-frame-pointer -pipe -msoft-float -
   mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i586 -I/lib/modules/2
   .6.15.3/build/include/asm-i386/mach-default -Iinclude/asm-i386/mach-default
   -Wdeclaration-after-statement-I/tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-p
   kg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subsc
   ripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -MD -Wsign-compar
   e -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV
   RM -DNV_VERSION_STRING=\"96.43.05\"

sinanjj 发表于 2008-4-7 17:38:14

3

-UDEBUG -U_DEBUG -DNDEBUG -DMODULE -DKBUILD_BASENAME=nv_i2c -DKBUILD_MODNAME
   =nvidia -c -o /tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv-i
   2c.o /tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv-i2c.c
   In file included from include/linux/bitops.h:77,
                  from include/linux/kernel.h:15,
                  from /tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/nv-linux.h:58,
                  from /tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/nv-i2c.c:8:
   include/asm/bitops.h: In function `find_first_bit':
   include/asm/bitops.h:339: warning: comparison between signed and unsigned
   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/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/nv-linux.h:59,
                  from /tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/nv-i2c.c:8:
   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:454,
                  from /tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/nv-linux.h:85,
                  from /tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/nv-i2c.c:8:
   include/asm/io.h: In function `check_signature':
   include/asm/io.h:253: warning: wrong type argument to increment
   ld -m elf_i386 -m elf_i386-r -o /tmp/selfgz2724/NVIDIA-Linux-x86-96.43.0
   5-pkg1/usr/src/nv/nvidia.o /tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/us
   r/src/nv/nv-kernel.o /tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/
   nv/nv.o /tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv-vm.o /t
   mp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/os-agp.o /tmp/selfgz
   2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/os-interface.o /tmp/self
   gz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/os-registry.o /tmp/selfgz27
   24/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv-i2c.o
   Building modules, stage 2.
   make -rR -f /lib/modules/2.6.15.3/build/scripts/Makefile.modpost
   scripts/mod/modpost   -i /lib/modules/2.6.15.3/build/Module.symvers /tmp/s
   elfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nvidia.o
   cc -Wp,-MD,/tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/.nvid
   ia.mod.o.d-nostdinc -isystem /usr/lib/gcc/i686-magic-linux/3.4.4/include -
   D__KERNEL__ -Iinclude -Iinclude2 -I/lib/modules/2.6.15.3/build/include -incl
   ude include/linux/autoconf.h -I/lib/modules/2.6.15.3/build/ -I -Wall -Wundef
   -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreest
   anding -O2 -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundar
   y=2 -fno-unit-at-a-time -march=i586 -I/lib/modules/2.6.15.3/build/include/as
   m-i386/mach-default -Iinclude/asm-i386/mach-default -Wdeclaration-after-stat
   ement-DKBUILD_BASENAME=nvidia -DKBUILD_MODNAME=nvidi
   a -DMODULE -c -o /tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/n
   vidia.mod.o /tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nvidia
   .mod.c
   ld -m elf_i386 -m elf_i386 -r -o /tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05
   -pkg1/usr/src/nv/nvidia.ko /tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/us
   r/src/nv/nvidia.o /tmp/selfgz2724/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/
   nvidia.mod.o
   NVIDIA: left KBUILD.
-> done.
-> Kernel module compilation complete.
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 module load error: insmod: error inserting './usr/src/nv/nvidia.ko':
   -1 Invalid module format
-> Kernel messages:
   ohci_hcd 0000:00:02.3: irq 11, io mem 0xcf012000
   hub 2-0:1.0: USB hub found
   hub 2-0:1.0: 3 ports detected
   usb 1-2: new low speed USB device using ohci_hcd and address 2
   ibm_acpi: ec object not found
   md: Autodetecting RAID arrays.
   md: autorun ...
   md: ... autorun DONE.
   input: Darfon USB Mouse as /class/input/input1
   input: USB HID v1.10 Mouse on usb-0000:00:02.2-2
   cdrom: open failed.
   cdrom: open failed.
   EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
   EXT3 FS on hda6, internal journal
   EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
   kjournald starting.Commit interval 5 seconds
   EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
   EXT3 FS on hda7, internal journal
   EXT3-fs: mounted filesystem with ordered data mode.
   Adding 1196800k swap on /dev/hda8.Priority:-1 extents:1 across:1196800k
   cdrom: open failed.
   cdrom: open failed.
   eth0: link up, 10Mbps, half-duplex, lpa 0x0000
   nvidia: no version for "struct_module" found: kernel tainted.
   nvidia: version magic '2.6.15.3 586 gcc-3.4' should be '2.6.15.3 686 REGPARM
   gcc-3.4'
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.

sinanjj 发表于 2008-4-7 17:38:56

主席再给看一下啊..

麻烦了...

sejishikong 发表于 2008-4-8 09:17:53

这种情况一般是内核版本不同造成的,你自己编译过内核?

sinanjj 发表于 2008-4-8 20:59:22

恩, 那是N久以前的事情了,

谢谢主席了

我再编译一次, 加上支持选项....

xinjiemail11 发表于 2008-4-9 20:41:24

装了官方的驱动真是爽
$ glxgears
20149 frames in 5.0 seconds = 4029.639 FPS
20852 frames in 5.0 seconds = 4170.370 FPS
20850 frames in 5.0 seconds = 4169.865 FPS
20534 frames in 5.0 seconds = 4106.680 FPS
XIO:fatal IO error 22 (Invalid argument) on X server ":0.0"
      after 36 requests (36 known processed) with 0 events remaining.
页: [1]
查看完整版本: 安装NVIDIA GeForce 2驱动出错 " No precompiled kernel interface..."