免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 5051 | 回复: 11
打印 上一主题 下一主题

请教达人,RH2.1as 安装NVIDIA GeForce 8400M显卡驱动出错 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-09-12 15:18 |只看该作者 |倒序浏览
请教达人,我的是 Redhat 2.1 advance Server , 需要启动 X-WIndows,
我安装 NVIDIA Geforce 8400M 显卡驱动的时候提示:
Unable to find the kernel source tree for the currently runing kernel
等等错误, 请问该怎么做啊?

[ 本帖最后由 dongfangmn 于 2008-9-12 15:24 编辑 ]

1.gif (6.37 KB, 下载次数: 44)

1.gif

论坛徽章:
0
2 [报告]
发表于 2008-09-12 15:33 |只看该作者
安装你内核版本对应的内核源码包。
用命令‘uname -a’查看你当前系统运行的内核版本

论坛徽章:
0
3 [报告]
发表于 2008-09-12 15:51 |只看该作者
Kernel 是 2.4.9-e.3的,请问,是否支持 Geforce 8400M的显卡驱动?

论坛徽章:
0
4 [报告]
发表于 2008-09-12 16:10 |只看该作者
应该是支持的,NVIDIA的驱动做的不错。
在你系统安装光盘里就会有内核源码。可能是叫kernel-sources-xxxxx一类的RPM包
不知道你gcc装了没,没装的话还得报错。嘿嘿

论坛徽章:
0
5 [报告]
发表于 2008-09-12 16:21 |只看该作者
谢谢啊,GCC装了,我找下Kernel source 感谢

论坛徽章:
2
IT运维版块每日发帖之星
日期:2016-07-29 06:20:00操作系统版块每日发帖之星
日期:2016-08-07 06:20:00
6 [报告]
发表于 2008-09-12 16:59 |只看该作者
系统版本太低了吧?rhel2.1的?5都出来啦,至少也弄个3版本的

论坛徽章:
0
7 [报告]
发表于 2008-09-12 19:07 |只看该作者
是太低了啊,不过没办法, 不过一个垃圾软件只能装在这个系统上面,现在我安装了 Kernel Source 之后,驱动可以开始编译一个 Kernel 的Interface,不过还不行,提示如下,改怎么办啊,请教,没办法了..

[ 本帖最后由 dongfangmn 于 2008-9-13 19:35 编辑 ]

未命名333.gif (6.64 KB, 下载次数: 47)

未命名333.gif

论坛徽章:
0
8 [报告]
发表于 2008-09-12 20:28 |只看该作者
哪位大大指点一下,感激不尽~

论坛徽章:
0
9 [报告]
发表于 2008-09-12 22:54 |只看该作者
/var/log/nvidia…….log贴上来看下

论坛徽章:
0
10 [报告]
发表于 2008-09-13 13:29 |只看该作者
感谢 maitr:
n卡的日志如下:太长了啊....再次感谢
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Tue Sep 12 03:53:05 2006

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
  no cc version 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
WARNING: You do not appear to have an NVIDIA GPU supported by the 173.08 NVIDIA
         Linux graphics driver installed in this system.  For further details,
         please see the appendix SUPPORTED NVIDIA GRAPHICS CHIPS in the README
         available on the Linux driver download page at www.nvidia.com.
-> 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: 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.
-> Performing CC sanity check with CC="gcc".
-> Performing CC version check with CC="gcc".
-> Kernel source path: '/lib/modules/2.4.9-e.3/build'
-> Kernel output path: '/lib/modules/2.4.9-e.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.4.9-e.3/build
   SYSOUT=/lib/modules/2.4.9-e.3/build'...
   gcc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -W
   parentheses -Wpointer-arith -Wno-multichar -Werror -O -UDEBUG -U_DEBUG -DNDE
   BUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNVRM -DNV_VERSION_STRI
   NG=\"173.08\"  -I. -I/lib/modules/2.4.9-e.3/build/include -Wsign-compare -Wn
   o-cast-qual -Wno-error nv.c
   In file included from nv-linux.h:109,
                    from nv.c:14:
   /lib/modules/2.4.9-e.3/build/include/linux/highmem.h: In function `bh_kmap':
   /lib/modules/2.4.9-e.3/build/include/linux/highmem.h:19: warning: pointer of
   type `void *' used in arithmetic
   gcc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -W
   parentheses -Wpointer-arith -Wno-multichar -Werror -O -UDEBUG -U_DEBUG -DNDE
   BUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNVRM -DNV_VERSION_STRI
   NG=\"173.08\"  -I. -I/lib/modules/2.4.9-e.3/build/include -Wsign-compare -Wn
   o-cast-qual -Wno-error nv-vm.c
   In file included from nv-linux.h:109,
                    from nv-vm.c:14:
   /lib/modules/2.4.9-e.3/build/include/linux/highmem.h: In function `bh_kmap':
   /lib/modules/2.4.9-e.3/build/include/linux/highmem.h:19: warning: pointer of
   type `void *' used in arithmetic
   gcc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -W
   parentheses -Wpointer-arith -Wno-multichar -Werror -O -UDEBUG -U_DEBUG -DNDE
   BUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNVRM -DNV_VERSION_STRI
   NG=\"173.08\"  -I. -I/lib/modules/2.4.9-e.3/build/include -Wsign-compare -Wn
   o-cast-qual -Wno-error os-agp.c
   In file included from nv-linux.h:109,
                    from os-agp.c:24:
   /lib/modules/2.4.9-e.3/build/include/linux/highmem.h: In function `bh_kmap':
   /lib/modules/2.4.9-e.3/build/include/linux/highmem.h:19: warning: pointer of
   type `void *' used in arithmetic
   gcc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -W
   parentheses -Wpointer-arith -Wno-multichar -Werror -O -UDEBUG -U_DEBUG -DNDE
   BUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNVRM -DNV_VERSION_STRI
   NG=\"173.08\"  -I. -I/lib/modules/2.4.9-e
   .3/build/include -Wsign-compare -Wno-cast-qual -Wno-error os-interface.c
   In file included from nv-linux.h:109,
                    from os-interface.c:26:
   /lib/modules/2.4.9-e.3/build/include/linux/highmem.h: In function `bh_kmap':
   /lib/modules/2.4.9-e.3/build/include/linux/highmem.h:19: warning: pointer of
   type `void *' used in arithmetic
   gcc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -W
   parentheses -Wpointer-arith -Wno-multichar -Werror -O -UDEBUG -U_DEBUG -DNDE
   BUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNVRM -DNV_VERSION_STRI
   NG=\"173.08\"  -I. -I/lib/modules/2.4.9-e.3/build/include -Wsign-compare -Wn
   o-cast-qual -Wno-error os-registry.c
   In file included from nv-linux.h:109,
                    from os-registry.c:15:
   /lib/modules/2.4.9-e.3/build/include/linux/highmem.h: In function `bh_kmap':
   /lib/modules/2.4.9-e.3/build/include/linux/highmem.h:19: warning: pointer of
   type `void *' used in arithmetic
   gcc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -W
   parentheses -Wpointer-arith -Wno-multichar -Werror -O -UDEBUG -U_DEBUG -DNDE
   BUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNVRM -DNV_VERSION_STRI
   NG=\"173.08\"  -I. -I/lib/modules/2.4.9-e.3/build/include -Wsign-compare -Wn
   o-cast-qual -Wno-error nv-i2c.c
   In file included from nv-linux.h:109,
                    from nv-i2c.c:8:
   /lib/modules/2.4.9-e.3/build/include/linux/highmem.h: In function `bh_kmap':
   /lib/modules/2.4.9-e.3/build/include/linux/highmem.h:19: warning: pointer of
   type `void *' used in arithmetic
   gcc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -W
   parentheses -Wpointer-arith -Wno-multichar -Werror -O -UDEBUG -U_DEBUG -DNDE
   BUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNVRM -DNV_VERSION_STRI
   NG=\"173.08\"  -I. -I/lib/modules/2.4.9-e.3/build/include -Wsign-compare -Wn
   o-cast-qual -Wno-error nvacpi.c
   In file included from nv-linux.h:109,
                    from nvacpi.c:15:
   /lib/modules/2.4.9-e.3/build/include/linux/highmem.h: In function `bh_kmap':
   /lib/modules/2.4.9-e.3/build/include/linux/highmem.h:19: warning: pointer of
   type `void *' used in arithmetic
   ld -r -o nv-linux.o nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv-i2
   c.o nvacpi.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 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: Warning: loading ./usr/src/nv/nvidia.o will taint
   the kernel: non-GPL license - NVIDIA
   ./usr/src/nv/nvidia.o: init_module: No such device
   Hint: insmod errors can be caused by incorrect module parameters, including
   invalid IO or IRQ parameters
-> Kernel messages:
   parport0: cpp_daisy: aa5500ff(8
   parport0: assign_addrs: aa5500ff(8
   pcnet32_probe_pci: found device 0x001022.0x002000
   ioaddr=0x002000  resource_flags=0x000101
   pcnet32: PCnet/PCI II 79C970A at 0x2000, 00 0c 29 9f b6 6b
   pcnet32: pcnet32_private lp=cf04c000 lp_dma_addr=0xf04c000 assigned IRQ 5.
   pcnet32.c:v1.25kf 26.9.1999 tsbogend@alpha.franken.de
   pcnet32: registered as eth0
   hdc: ATAPI 1X CD-ROM drive, 32kB Cache, UDMA(33)
   Uniform CD-ROM driver Revision: 3.12
   cdrom: open failed.
   cdrom: open failed.
   cdrom: open failed.
   ISO 9660 Extensions: RRIP_1991A
   VFS: busy inodes on changed media.
   ISO 9660 Extensions: Microsoft Joliet Level 3
   ISO 9660 Extensions: RRIP_1991A
   NVRM: No NVIDIA graphics adapter found!
   NVRM: No NVIDIA graphics adapter found!
   NVRM: No NVIDIA graphics adapter found!
   NVRM: No NVIDIA graphics adapter found!
   NVRM: No NVIDIA graphics adapter found!
   NVRM: No NVIDIA graphics adapter found!
   NVRM: No NVIDIA graphics adapter found!
   NVRM: No NVIDIA graphics adapter found!
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.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP