免费注册 查看新帖 |

Chinaunix

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

安装broadcom bcm4401驱动遇到的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-05-17 22:52 |只看该作者 |倒序浏览
请高人分析下  机器为dell inspiron 1501 amd64双核 2G内存 网卡为broadcom bcm4401

现在想安装网卡驱动。在高人的指点下,按照第三方驱动http://homepage2.nifty.com/mrym3/taiyodo/eng/中的bfe-2.4.0.tar.gz包中的readme 配置了系统,但是测试不成功,下面将详细步骤列出,请高人分析一下

英文部分为第三方驱动包中的readme.txt文件的截取。
(1) Install your PCI card and boot Solaris.

(2) Copy source and binary files.
        # gunzip -cd bfe-x.x.x.tar.gz | tar xf -

(3) Add hostname for the NIC card into the /etc/hosts file

(4) If you have installed bcf driver, remove it and reboot the system.
        # rem_drv bcf
        # sync
        # init 0

(5) Make links to correct binary directory and Makefile according to your
configuration.  i386 and gcc are default.

        % cd /.../bfe-x.x.x
        % rm obj Makefile
        % ln -s Makefile.${KARCH}_${COMPILER} Makefile
        % ln -s ${KARCH} obj

  where ${KARCH} is the result of `isainfo -n`, and ${COMPILER} is
"gcc" or "suncc" which you want to use to make the binary of the driver.

(6) Making binaries (only for sparc platform)
Bcf driver is ready for 64bit and 32bit solaris8 10/00 sparc or
later. (But currently it isn't tested on sparc platforms.)
This distribution does not include sparc binaries.  To make the binaries,
you need Sun C compiler or gcc version 3, and do the following operations.

        % /usr/ccs/bin/make

(7) Making binaries only for OpenSolaris users.
Bfe driver likely work with GLD v3, known as Nemo, under OpenSolaris.
You can enjoy the new functions by recompiling bfe source code under
OpenSolaris environment.

        % rm Makefile.config
        % ln -s Makefile.config_gld3 Makefile.config
        % /usr/ccs/bin/make


4. Testing
  Testing before installation is strongly recommended.

        # cd /.../bfe-x.x.x
        # /usr/ccs/bin/make install
        # ./adddrv.sh
        # /usr/ccs/bin/make uninstall (for Solaris7, do not execute this )
        # modload obj/bfe
        # devfsadm -i bfe ( for solaris7, use drvconfig and reboot with -r option )
        # ifconfig bfeN plumb ( where N is unit number, typcally 0 for first card)
        # ifconfig -a        ( you will see an entry for bfe0, ensure ethernet address is correct)
        # ifconfig bfeN HOSTNAME
        # ifconfig bfeN      ( ensure IP address is correct)
        # ifconfig bfeN up   ( and then you can test with ping, telnet, ftp ...)
---------------------------------------------------------------------------------------------------
第一步,安装硬件(本人dell笔记本)

第2步,先将第三方驱动下载后将驱动包放到/opt目录下 ,运行# gunzip -cd bfe-2.4.0.tar.gz | tar xf -   在/opt目录下将包解开。ls可以查看到
第3步,更改hosts文件(此步骤应该不影响硬件测试)

第4步,是针对bcf driver 驱动的 跳过!

第5步,按照要求做了如下4步:并且都执行成功
             1.# cd /opt/bfe-2.4.0  进入bfe2.4.0目录下
             2.# rm obj Makefile     删除obj & Makefile 两个
             3.# ln -s Makefile.amd64_/usr/sfw/bin/gcc  Makefile   (find一下 gcc存在于/usr/sfw/bin目录,和isainfo -n的值是amd64 )
                   4.# ln -s amd64 obj  
第6步,是only for sparc platform的 我是amd64  跳过
第7步,跳过
然后进入测试步骤
            进入 cd /opt/bfe-2.4.0目录
                   执行# /usr/ccs/bin/make install的时候提示:make:Fatal erroron't know how to make target 'install'
怎么会不成功,用ifconfig -a查看 也没有网卡加载,请各位帮我看看怎么回事?谢谢啦~~~~~
特别感谢Lyle archer0384_cn@hotmail.com的耐心帮助

[ 本帖最后由 bbfpp 于 2007-5-18 00:10 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2007-05-18 00:28 |只看该作者
急啊 拜托拉

论坛徽章:
0
3 [报告]
发表于 2007-05-21 16:18 |只看该作者
察看一下Makefile.config文件有没有问题?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP