网站大量收购独家精品文档,联系QQ:2885784924

RHEL5U2上安装MARVELLYukon88E8056网卡驱动.doc

RHEL5U2上安装MARVELLYukon88E8056网卡驱动.doc

  1. 1、本文档共3页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
RHEL5U2上安装MARVELLYukon88E8056网卡驱动

RHEL5U2上安装MARVELL Yukon 88E8056网卡驱动 原系统RHEL5U2,后换了主板,硬盘还在,系统能正常进入,但就是找不到网卡了。于是不想重新安装系统,便去找驱动来装了。新主板是ASUS P5BV-C,到官网下载了驱动,不过官网驱动只提供到RHEL4U4的,没有RHEL5的,但是我想问题不大。 驱动只有400多KB,通过U盘copy到HDD上:先要找到USB盘在/dev下所对应的设备名称。有规律可循的,我的U盘对应的设备名是/dev/sdb,只有一个分区,相应的设备名是/dev/sdb1,于是: mount /dev/sdb1 /mnt (或者:mount -t vfat /dev/sdb1 /mnt,我的没有加-t参数) 将驱动包Marvell_LAN_CAP_Linux_105013.zip 拷贝到/tmp目录下,然后解压: unzip Marvell_LAN_CAP_Linux_105013.zip cd DriverInstall 先看看README,解压后又个install.sh安装脚本, chmod +x install.sh ./install.sh ... 错误提示: Check kernel header files (not found)??????????????????????????????? [ failed ]Kernel header not found. Please install the linux header filesdevelopment package or create a symbolic link from the/usr/src/KERNEL_VERSION directory to linux???? Example: ln -s /usr/src/KERNEL_VERSION /usr/src/linux 按照提示一步步安装,到后提示找不到kernel header,因为找不到/usr/src目录下有kernel相关的文件夹。我看了下install.sh这个脚本,安装这个驱动是要去找内核目录下的相关头文件(应该是在include目录)。于是在REDHAT官方下载了kernel source:kernel-2.6.18-92.el5.src.rpm,当然你也可以到kernel.org去下载linux-2.6.18.tar.gz。 rpm -ivh kernel-2.6.18-92.el5.src.rpm cd /usr/src/redhat/SPECS rpmbuild --target i686 -bp kernel-2.6.spec 会在/usr/src/redhat/BUILD生成kernel目录: /usr/src/redhat/BUILD/kernel-2.6.18 下面这个目录才是kernel主目录($sourcedir)了:后面将会用到 /usr/src/redhat/BUILD/kernel-2.6.18/linux-2.6.18.i686 原本以为按照上面的错误提示输入下面命令便能安装成功了: ln -s /usr/src/redhat/BUILD/kernel-2.6.18/linux-2.6.18.i686 /usr/src/linux 但又出现下面的错误提示: The kernels modpost utility is not available. As the source codefor the utility is available in your current installed linux kernelsource tree, you can compile the utility for your own.To do so, please follow the description below:(Please read the next lines before you execute them!)[1] Change to /usr/src/linux[2] Call make (this begins to create a new linux kernel)[3] Take a look at the output: After a few seconds the modpost utility??? will be compiled[4] Now interrupt the make process by pressing ctrl-cThe modpost utility now is created. You can check this by taking a lookat /usr/s

文档评论(0)

asd522513656 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档