免费注册 查看新帖 |

Chinaunix

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

as3安装nvidia网卡问题,求救 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-02-25 22:33 |只看该作者 |倒序浏览
将as3 u9 安装到笔记本上(as3update9,内核为2.4.21-50ELsmp和2.4.21-50EL),网卡总是发现不了,安装nvidia网卡驱动,得到消息log如下:
nforce-installer log file '/var/log/nvidia-nforce-installer.log'
creation time: Mon Feb 25 21:30:08 2008

option status:
  license pre-accepted      : false
  expert                    : false
  uninstall                 : false
  driver info               : false
  no precompiled interface  : false
  no ncurses color          : false
  no questions              : false
  silent                    : false
  Installer install prefix  : /usr
  kernel source path        : /usr/src/linux-2.4.21-50.EL/
  net kernel install path   : (not specified)
  audio kernel install path : (not specified)
  proc mount point          : /proc
  ui                        : (not specified)
  tmpdir                    : /tmp

Using: nvidia-installer ncurses user interface
-> Found package NVIDIA network driver for Linux-x86
-> Found package NVIDIA audio driver for Linux-x86
-> Please select packages for installation:
   Selections:
   NVIDIA network driver for Linux-x86 (1.0-13)
-> Starting install of NVIDIA network driver for Linux-x86
-> Checking for loaded module nvnet
-> Checking for loaded module forcedeth
-> License accepted.
-> Skipping check for conflicting rpms.
-> /proc/version is Linux version 2.4.21-50.ELsmp
   (brewbuilder@ls20-bc1-13.build.redhat.com) (gcc version 3.2.3 20030502 (Red
   Hat Linux 3.2.3-5) #1 SMP Tue May 8 17:10:25 EDT 2007
-> 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 '/usr/src/linux-2.4.21-50.EL/' as specified by
   the '--kernel-source-path' commandline option.
-> Kernel source path: '/usr/src/linux-2.4.21-50.EL/'
-> Kernel output path: '/lib/modules/2.4.21-50.ELsmp/build'
-> Performing cc_version_check with CC="cc".
-> running command /bin/grep "^PATCHLEVEL ="
   /usr/src/linux-2.4.21-50.EL//Makefile | /bin/cut -d " " -f 3
-> Kernel module filename is nvnet.o
   Cleaning kernel module build directory.
   executing: 'cd ./nvnet; make clean'...
   rm -f nvenet.o nvenetif.o nvnet.o *~ core
-> Building kernel module:
   executing: 'cd ./nvnet; make module SYSSRC=/usr/src/linux-2.4.21-50.EL/ SYSO
   UT=/lib/modules/2.4.21-50.ELsmp/build'...
   cc -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-co
   mmon -fomit-frame-pointer  -I/usr/src/linux-2.4.21-50.EL//include -O -mprefe
   rred-stack-boundary=2 -march=i686    -D__KERNEL__ -DMODULE -DLINUX -DDRIVERV
   ER=\"9999\" -DEXPORT_SYMTAB -DCONFIG_PM  -DREMAP_NEW -I.  -DMODVERSIONS -inc
   lude /usr/src/linux-2.4.21-50.EL//include/linux/modversions.h   -c -o nvenet
   .o nvenet.c
   ld -r -o nvenetif.o nvenet.o
   ld -r -o nvnet.o nvenetif.o nvenetlib.o
-> done.
-> Kernel module compilation complete.
-> Testing kernel module:
-> Backing up existing module
   /lib/modules/2.4.21-50.ELsmp/kernel/drivers/net/nvnet.o to
   ./nvnet/nvnet.o.backup
-> Copying test module ./nvnet/nvnet.o to
   /lib/modules/2.4.21-50.ELsmp/kernel/drivers/net/nvnet.o
ERROR: Unable to load the kernel module 'nvnet.o'.  This is most likely because
       the kernel module was built using the wrong kernel source files.  Please
       make sure you have installed the kernel source files for your kernel; on
       Red Hat Linux systems, for example, be sure you have the 'kernel-source'
       rpm installed.  If you know the correct kernel source files are
       installed, you may specify the kernel source path with the
       '--kernel-source-path' commandline option.
-> Kernel module load error: Warning: loading
   /lib/modules/2.4.21-50.ELsmp/kernel/drivers/net/nvnet.o will taint the
   kernel: non-GPL license - NVIDIA
   See http://www.tux.org/lkml/#export-tainted for information about tainted
   modules
   /lib/modules/2.4.21-50.ELsmp/kernel/drivers/net/nvnet.o: init_module: No
   such device
   /lib/modules/2.4.21-50.ELsmp/kernel/drivers/net/nvnet.o: insmod
   /lib/modules/2.4.21-50.ELsmp/kernel/drivers/net/nvnet.o failed
   /lib/modules/2.4.21-50.ELsmp/kernel/drivers/net/nvnet.o: insmod nvnet failed
   Hint: insmod errors can be caused by incorrect module parameters, including
   invalid IO or IRQ parameters.
   You may find more information in syslog or the output from dmesg
-> Restoring backup /lib/modules/2.4.21-50.ELsmp/kernel/drivers/net/nvnet.o
-> Testing completed.
ERROR: Installation of the network driver has failed.  Please see the file
       '/var/log/nvidia-nforce-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.

已经安装了很多次了,总是失败。求高手指点一下吧,万分感谢

论坛徽章:
0
2 [报告]
发表于 2008-02-25 22:47 |只看该作者
ERROR: Unable to load the kernel module 'nvnet.o'.  This is most likely because
       the kernel module was built using the wrong kernel source files.  Please
       make sure you have installed the kernel source files for your kernel; on
       Red Hat Linux systems, for example, be sure you have the 'kernel-source'
       rpm installed.  If you know the correct kernel source files are
       installed, you may specify the kernel source path with the
       '--kernel-source-path' commandline option.
-> Kernel module load error: Warning: loading
...


请注意这里!你现在使用的显卡驱动是否是FOR 2.4KERNEL的?这里的提示我怀疑你的kernel和驱动模块不匹配啊!另外不要忘了装kernel-devel包。

不过我觉得最好的方法还是直接上高版本的系统,RHEL3比较老了。内核中很可能没有内置显卡的驱动模块。

论坛徽章:
0
3 [报告]
发表于 2008-02-26 09:30 |只看该作者
我看了一下驱动里面的precompile的内容,里面的内核版本没有我当前的2.4.21-50,只有2.4.21-7等,不知道这样的是否匹配?我也想换高版本的linux,可是目前我的eda工具只能在redhat as3或redhat7.2等低版本内核上面跑,连as4都不支持,很无奈啊!
请问as3里面有kernel-devel包吗?网上好像说as3只有kernel-source,不知道到底如何,我搜索了源安装盘,里面也没有找到kernel-devel的rpm包。
还有安装驱动时用--kernel-source-path指明内核路径,是不是指向/usr/src/linux2.4.21-50EL即可呢?
对于我这样的只想使用linux平台上工具而不想做linux开发的人来说,也就会一些shell基本命令,涉及到太多系统内核和驱动相关的东西很难摆平,所以恳请大侠指导详细一些。

[ 本帖最后由 hahalucky01 于 2008-2-26 09:41 编辑 ]

论坛徽章:
0
4 [报告]
发表于 2008-02-26 09:37 |只看该作者
已经提示的很清楚了 不能加载你的nvnet.o'模块 ,, GO一个内核版本一样的驱动。

论坛徽章:
0
5 [报告]
发表于 2009-03-25 15:22 |只看该作者

论坛徽章:
0
6 [报告]
发表于 2009-03-25 15:38 |只看该作者
echo "obj-m := forcedeth.o" > ./Makefile
make -C /lib/modules/`uname -r`/source SUBDIRS=$PWD modules
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP