LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1393|回复: 12

SuSE9.3 下 nVidia驱动无法安装~~~

[复制链接]
发表于 2005-8-5 18:57:17 | 显示全部楼层 |阅读模式
驱动程序版本:
  NVIDIA-Linux-x86-1.0-6111-pkg1.run

显卡型号:nVidia Corporation NV15 [GeForce2 GTS/Pro]

我按照前面的帖子提供的方法在text模式下sh NV*,安装进行到build时程序提示出错,下面是
nvidia-install.log文件节录:

-> 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.
-> 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_version_check 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 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=/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 -C /usr/src/linux                \
   KBUILD_SRC=/usr/src/linux-2.6.11.4-20a             KBUILD_VERBOSE=1        \
   KBUILD_CHECK= KBUILD_EXTMOD="/tmp/selfgz7530/NVIDIA-Linux-x86-1.0-6111-pkg1/
   usr/src/nv"        \
           -f /usr/src/linux-2.6.11.4-20a/Makefile modules
   mkdir -p /tmp/selfgz7530/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/.tmp_vers
   ions
   
   WARNING: Symbol version dump /usr/src/linux-2.6.11.4-20a/Module.symvers is  
   missing; modules will have no modversions.
   
   make -f /usr/src/linux-2.6.11.4-20a/scripts/Makefile.build obj=/tmp/selfgz75
   30/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv
   echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz7530/NVI
   DIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv_compiler.h
     cc -Wp,-MD,/tmp/selfgz7530/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/.nv.o
   .d -nostdinc -isystem /usr/lib/gcc-lib/i586-suse-linux/3.3.5/include -D__KER
   NEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.11.4-20a/include  -I/tmp/sel
   fgz7530/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv -Wall -Wstrict-prototypes
   -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -O2 -fomit-fr
   ame-pointer -g -pipe -msoft-float -mpreferred-stack-boundary=2 -fno-unit-at-
   a-time -march=i586 -mregparm=3 -I/usr/src/linux-2.6.11.4-20a/include/asm-i38
   6/mach-default -Iinclude/asm-i386/mach-default  -I/tmp/selfgz7530/NVIDIA-Lin
   ux-x86-1.0-6111-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wfo
   rmat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror
   -O -fno-common -MD -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNE
   L__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODUL
   E -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL
   =6111 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -UDEBUG -U_DEBUG -DNDEB
   UG -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_CLASS_SIMPLE_PRESENT -DMODULE -DKBUILD
   _BASENAME=nv -DKBUILD_MODNAME=nvidia -c -o /tmp/selfgz7530/NVIDIA-Linux-x86-
   1.0-6111-pkg1/usr/src/nv/.tmp_nv.o /tmp/selfgz7530/NVIDIA-Linux-x86-1.0-6111
   -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:19,
                    from include/linux/module.h:10,
                    from /tmp/selfgz7530/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src
   /nv/nv-linux.h:52,
                    from /tmp/selfgz7530/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:865,
                    from /tmp/selfgz7530/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src
   /nv/nv-linux.h:75,
                    from /tmp/selfgz7530/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:242: warning: wrong type argument to increment
   /tmp/selfgz7530/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In function
   `nvos_find_agp_by_class':
   /tmp/selfgz7530/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:642: warning:
   implicit declaration of function `pci_find_class'
   /tmp/selfgz7530/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:642: warning:
   assignment makes pointer from integer without a cast
   /tmp/selfgz7530/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:653: warning:
   assignment makes pointer from integer without a cast
   /tmp/selfgz7530/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In function
   `nvidia_init_module':
   /tmp/selfgz7530/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:1161: warning
   : `pm_register' is deprecated (declared at include/linux/pm.h:106)
   /tmp/selfgz7530/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In function
   `nvidia_exit_module':
   /tmp/selfgz7530/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:1279: warning
   : `pm_unregister' is deprecated (declared at include/linux/pm.h:111)
   /tmp/selfgz7530/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In function
   `nv_kern_mmap':
   /tmp/selfgz7530/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:1765: warning
   : `remap_page_range' is deprecated (declared at include/linux/mm.h:839)
   /tmp/selfgz7530/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:1784: warning
   : `remap_page_range' is deprecated (declared at include/linux/mm.h:839)
   /tmp/selfgz7530/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:1902: warning
   : `remap_page_range' is deprecated (declared at include/linux/mm.h:839)
   /tmp/selfgz7530/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In function
   `_get_phys_address':
   /tmp/selfgz7530/NVIDIA-Linux-x86-1.0-6111-pk*** [_module_/tmp/selfgz7530/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src
   /nv] Error 2
   make[2]: *** [modules] Error 2
   NVIDIA: left KBUILD.
   nvidia.ko failed to build!
   make[1]: *** [module] Error 1
   make: *** [module] Error 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.

前面一段说的是与rivafb模块有冲突,不知道忽略会不会造成什么问题,后面的我就看不懂了~~
我换用NVIDIA-Linux-x86-1.0-6111-pkg1.run时仍然如此。。。郁闷
请高手指点,先谢了!
发表于 2005-8-6 10:05:36 | 显示全部楼层
驱动程序版本低了
下个最新的
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-8-6 10:35:13 | 显示全部楼层
下了个 1.0-7667 的,试了一下,结果还是有问题,这次连build都无法进行

这是我在系统日志里头查到的,麻烦高手帮忙看一下:

kernel: nvidia: no version for "struct_module" found: kernel tainted.
kernel: nvidia: unsupported module, tainting kernel.
kernel: nvidia: module license 'NVIDIA' taints kernel.
kernel: NVRM: The NVIDIA GeForce2 GTS/GeForce2 Pro GPU installed in
kernel: NVRM:  this system is
kernel: NVRM:  supported through the NVIDIA Legacy drivers. Please
kernel: NVRM:  visit http://www.nvidia.com/object/unix.html for more
kernel: NVRM:  information.  The 1.0-7667 NVIDIA driver will ignore
kernel: NVRM:  this GPU.  Continuing probe...
kernel: NVRM: No NVIDIA graphics adapter found!
kernel: nvidia: unsupported module, tainting kernel.
kernel: NVRM: The NVIDIA GeForce2 GTS/GeForce2 Pro GPU installed in this system
kernel: NVRM:  is
kernel: NVRM:  supported through the NVIDIA Legacy drivers. Please
kernel: NVRM:  visit http://www.nvidia.csom/object/unix.html for more
kernel: NVRM:  information.  The 1.0-7667 NVIDIA driver will ignore
kernel: NVRM:  this GPU.  Continuing probe...
kernel: NVRM: No NVIDIA graphics adapter found!


谢了! 真不行的话我就死了这个心。。。
回复 支持 反对

使用道具 举报

发表于 2005-8-7 15:40:53 | 显示全部楼层
具体的配置?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-8-7 18:41:40 | 显示全部楼层
主机型号:Dell Precision 330
CPU: Intel Pentium4  2.0GHz
Mem: 1.0GHz DDR
显卡型号:nVidia Corporation NV15 [GeForce2 GTS/Pro]

还需要什么信息?
回复 支持 反对

使用道具 举报

发表于 2005-8-8 11:52:33 | 显示全部楼层
安装kernel source了没有?直接下载的NVIDIA驱动程序安装时需要它。在build时用到。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-8-8 20:44:46 | 显示全部楼层
Post by qiluin3q
安装kernel source了没有?直接下载的NVIDIA驱动程序安装时需要它。在build时用到。

装过了,要不然在装NVIDIA-Linux-x86-1.0-6111-pkg1.run时怎么会Build~~
只是那个Build进度条都进行完了,然后就蹦出个出错信息,要你检查log文件(见顶层)。。。等待中
回复 支持 反对

使用道具 举报

发表于 2005-8-9 21:19:38 | 显示全部楼层
kernel source是默认安装吗?
我用的yast在线更新装的,装完之后nv的logo就出现了
3d加速也打开了
没人什么问题啊?!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-8-10 08:37:11 | 显示全部楼层
Post by westzx
kernel source是默认安装吗?
我用的yast在线更新装的,装完之后nv的logo就出现了
3d加速也打开了
没人什么问题啊?!

kernel source是用yast安装的,应该是默认的吧
可惜我的机子连不上网,只能采用这种曲折的办法~~谢谢各位支持!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-8-10 08:43:12 | 显示全部楼层
Post by westzx
kernel source是默认安装吗?
我用的yast在线更新装的,装完之后nv的logo就出现了
3d加速也打开了
没人什么问题啊?!

kernel source是用yast安装的,应该是默认的吧
可惜我的机子连不上网,只能采用这种曲折的办法~~谢谢各位支持!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表