LinuxSir.cn,穿越时空的Linuxsir!

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

求助 华硕P5M2-E的千兆网卡驱动如何安装?

[复制链接]
发表于 2007-12-18 02:32:11 | 显示全部楼层 |阅读模式

我已经找到华硕P5M2-E的千兆网卡的Linux驱动了(install_v10.0.5.3.tar.Z),我用
  1. #tar xf install_v10.0.5.3.tar.Z
复制代码

解压后再进入目录运行
  1. #sh install.sh
复制代码

但没有安装成功,驱动可以确定是没错的了。
请问我用的方法错在什么地方,应该怎么做呢?
下面是我安装过程的一些提示:

  1. ...
  2. 1) Do nothing
  3. 2) Deactivate diver
  4. 3) Remove driver
  5. Action: 2

  6. Disconnect alternative devices:  (done)                                [   OK   ]
  7. Unload alternative driver (done)                                           [   OK   ]
  8. Create tmp dir (/tmp/Sk98IafeFrJAmNEkURHpYVcJG)             [   OK   ]
  9. Check user id (0)                                                                   [   OK   ]
  10. Check kernel version (2.6.21-si-1)                                        [   OK   ]
  11. Check kernel symbol file (/proc/kallsyms)                              [   OK   ]
  12. Check kernel type (SMP)                                                       [   OK   ]
  13. Check number of CPUs (2)                                                    [   OK   ]
  14. Check architecture (found)                                                    [   OK   ]
  15. Set architecture (i386)                                                          [   OK   ]
  16. Check compilerwhich: no gcc in

  17. (/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games) (not found)                                                                                          [ failed ]
  18. install.sh: line 507: inst_failed: command not found
  19. Check mcmodel flags (none)                                                 [   OK   ]
  20. Check module support (/sbin/insmod)                                  [   OK   ]
  21. Check makewhich: no make in

  22. (/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/game

  23. s) (not found)                                                                       [ failed]
  24. install.sh: line 557: inst_failed: command not found
  25. Check archive file (sk98lin)                                                   [   OK   ]
  26. Check kernel gcc version (3.4.6)which: no gcc in

  27. (/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games)
  28. (Kernel:3.4.6 != gcc:732:)                                                   [ failed ]
  29. There is a version mismatch between the compiler that was used to build the current

  30. running kernel and the compiler which you intend to compile the kernel module with. In most of the cases, this is no problem, but there are cases in which this compiler-mismatch leads to unexpected system crashes If you know what you are doing and want to override this   check, you can do so by setting IGNORE_CC_MISMATCH system  


  31. variable:                                                  
  32.     Example: export IGNORE_CC_MISMATCH=1                 
  33. Installation of sk98lin driver module failed.
  34. Delete temp directories (done)                                             [   OK   ]
  35. ...
复制代码

发表于 2007-12-18 09:27:58 | 显示全部楼层
####################大概意思如下################

There is a version mismatch between the compiler that was used to build the current
将要用来编译模块的编译器与用来编译正在运行的内核的编译器不匹配。大多数情况下
running kernel and the compiler which you intend to compile the kernel module with. In most of the cases, this is no problem, but there are cases in which this compiler-mismatch leads to unexpected system crashes If you know what you are doing and want to override this   check, you can do so by setting
IGNORE_CC_MISMATCH system  
##############################
这不会有什么问题,不过有些时候这种不匹配会导致不可预测的系统崩溃。如果你知道你在做什么,可以设置IGNORE_CC_MISMATCH 变量跳过这一检查。
###############################
variable:                                                  
    Example: export IGNORE_CC_MISMATCH=1   
#################################
例子(代码):
                  export IGNORE_CC_MISMATCH=1  
##################################
Installation of sk98lin driver module failed.
Delete temp directories (done)                                             [   OK   ]
...
回复 支持 反对

使用道具 举报

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

本版积分规则

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