- 论坛徽章:
- 0
|
请高人分析下 机器为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 编辑 ] |
|