一个朋友让我在他的r40e上安装 rh3.0 .安装成功了,.但是网.卡起.不来.后来网上查了一下 ,原来网卡驱动的问题.于是 ,下载了bcm5700.可是按照说明还是装不上 ,说没有 Kernel Source Tree.各位帮忙看一下 . 汽车
Additional Installation Notes for Variou.s L.inux Distributions(广告)
Broadcom BCM5700 L.inux Drive.r 电子
. . Version 7.3.5 美容
. . 06/23/2004 建材
Bro.adcom Corp.oration( 游戏 )
. . 16215 Alton Parkway,.
. Irvine, CA. 92619-7013.
. Copyright (c) 2000-2003 B.roadcom Corporation.
. .All rights reserved域名
Table of Content.s 汽车
======.===========.
Introduction
Limitations
Prerequisites.[成人用品]
Prepare. Kernel Source Tree (United Lin.ux 1.0 Distributions) 健康
Enable .Loadable Modul.e Support on Turbolinux 10域名
Prepare Cr.oss-Compiler and Kernel Source Tre.e on ppc64 (SuSE SLES8 ppc) 建材
Remove tg3 Dr.iver.
Ed.it /etc/modules.conf.
Patch.ing PCI Files (.Red Hat - Optional)学习
Patc..hing module-info Files (Red Hat - Optional) 女人
N.etwork. Installation (Red Hat).
Introduction
============
This file .contains additional installation note.s for the Broadcom NetXtreme服务器
bcm5700 Linux driver that are specific to certain Linux di.stributio.ns. General. 乙肝
installation notes a..re contained in README.TXT. 电子
Limitations
===========
The current version of the driver has been. tested on selected Linu.x 建材
distributions for i386., ia64, and x86_64. Limited testing has a.lso 外汇
been done on PPC64 systems.. Testing is. normally focused on the.
following distributions.:投资
Red Hat 9.0, 2..1.AS and 3.0EL学习
SuSE 9.0 and SLES8. 美容
UnitedLi.nux 1.0.
Mandrake 9..2 鲜花
Prerequisites
=============
In order to compile your Broadcom NetXtreme Linux dr.ive.r, you must first.
have a properly compiled kernel .so.urce tree which matches your running.
kernel. You must also hav.e a working C/C++ compiler and all the associat.ed电脑
d.ependencies installed before attempting to compile th.e driver..
On Red Hat distributions, if. yo.u have opted for a custom installation, you虚拟主机
need to select "Deve.lopment Tools" and "Kernel Development" to insta.ll.
the necessa.ry tools and kernel s.ource tree.--- 印刷
On United Linux based distribu.tions., you must change the software packages 健康
installed by default when presented. with the Installation Settin.gs. Under 婚庆
software selelction, select "Detailed Selectio.n". I.n this area ensure that(广告)
"C/C++ Compiler and Tools" is selected. This .should install t.he C/C++ 女人
compiler as well as .the k.ernel-source files.( 游戏 )
For further assistance, please review your Linux documen.tation.. .
Prepa.re Kernel Source Tree (United Lin.ux 1.0 Distributions)(广告)
========================.=====================.==============投资
The. following in.structions pertain only to United Linux 1.0 based[成人用品]
distributions (SuSE 8.x, SC.O4.0, etc.) These steps are. not学习
needed for Red Hat, Man.drake and o.ther similar distributions.(广告)
1. Prepare the kernel source tree.. T..hese steps may be necessary in order to( 游戏 )
compile a driv.er that will match your running kern.el.域名
cd /usr/sr.c/li.nux-<kernel_version>;.SuSE[成人用品]
cp. /boot/.vmlinuz.config .config虚拟主机
cp. /boot/vmlinuz..version.h include/linux/version.h
cp /boot/vmlinuz.autoconf.h include/linux/.a.utoconf.h健康
make oldcon.fig外贸
make dep
2. Now build and install the Broadcom Linux. d.river using either the rpm or投资
tar archive .installation files. The procedures a.re found in README.TXT. 女人
. . .
. . 域名
Enable Loadable .Module Support on Turboi.linux 10 --------------彩票
===================.================.=============.
When attempting to compil.e the dr.iver, the following message m.ay be displayed:虚拟主机
The. present kernel configuration has modules disabled. .Type '.make config'.
and enable load.able module support.. Then build a kernel with module 汽车
s.upport enabled..
Do. the following. to enable loadable module support:电影
cp /usr/src/configs/kernel-x..x.x-i.586.config /usr/src/.config 汽车
Prepare. Cross-Compil.er and Kernel Source Tree on ppc64 (SuSE SLES8 ppc)学习
=.===================================================================.=== 汽车
1.. Install the kernel source tree. (e.g. 2.4.21-111-pseries64)..
2. .Install the ppc64 cross-compile bi.nutils.域名
3. cd. to the Linux kernel source directory (e.g.. /usr/src/linux) 建材
4. Edit the top level kernel Ma.kefile and change the CROSS_CO.MPILE variable.
to:
CROSS_COMPI.LE=/opt/cross/b.in/powerpc64-linux-.
(Verify that. this is t.he correct path to the cross-compile binutils)域名
5. Run the following to pr.epare the ke.rnel source tree:.
mak.e distclean(广告)
. cp arch/ppc64/defconfig.pser.ies .config电脑
make oldconfi.g虚拟主机
make dep
6. Now build and install the Broadcom Lin.ux driver using either the rpm .or.
tar archive installation fil.es. The procedures ar.e found in README.TXT..
. . 电影
Rem.ove tg3 Driver.
======.=========== 女人
. . 鲜花
Many .newer distributions and newer kernels may alr.eady contain and use the.
tg3 driver by default for Broadcom BCM5700 series devices. Whi.le tg.3 is .a fully( 游戏 )
functioning driver written by Red Hat, Broadco.m recommends users to us.e 外汇
the bcm5700 driver wri.tten an.d tested by Broadcom..
. . .
1. Use ifc.onfig to .bring down all interfaces used by tg3., then use `rmmod` to.
remove the m.odule if loaded. The following assumes eth0 and e..th1 are both.
Broadcom. devices using the tg3 drive.r..
ifconfig eth0 d.own 女人
ifconfig. eth1 down 外汇
rmmod tg3
. . 汽车
2. Now it may. be necessa.ry to manually edit your /etc/modules.conf file to虚拟主机
allow th.e bcm.5700 driver to load at boot time in.stead of the tg3 driver. See虚拟主机
below.
Edit /et.c/modules.conf电脑
==============.========.
. . 外贸
If there is an alias en.try in your /etc/m.odules.conf file referencing the<性病>
tg3 driver, m.ake sure that you replace tg3 with bcm5.700. Otherwise, add t.he 电子
entry below. if necessary. 鲜花
. . 教育
Example:
alias .eth0 bcm5700.
. . . [成人用品]
Patc.hing PCI Files (Red Hat - Option.al).
=.=======.=============================== 女人
To use the Red Hat k.udzu hardware detection utility,. and to list the(广告)
BCM5700 seri.es devices usi.ng lspci, a number of files containing PCI vendor 鲜花
and device information need to be patched with i.n.formation on the BCM5700 建材
series NICs. Patch files fo.r Red Ha.t some .of the latest Red Hat distributions电影
are included. Apply the appropriate patch .by running the patch comma.nd.健康
For example, on Red Hat 9.0 for i386, apply the pat..ch. by doing the following:电脑
patch -N -.p1 .-d /usr < pci-rh90-i386.patch 婚庆
Run kudzu:
kudzu
Patching module-info Fi.les (Red Hat. - Optional) 健康
========================================.======.=.
To use Red Hat.'s graphical network administration tool neat, th.e. module-info.
files n.eed to be patched. Apply .the appropriate patch by running the patch 鲜花
command. For exampl.e, on Red Hat 8.0 for i.386, apply the patch by doing the虚拟主机
following:
patch -N -p1 -d /boot < modinfo.-rh80-i386.p.atch<性病>
Run neat:
neat
Network Installation .(Red. Hat) 建材
=====.==========.=============== 乙肝
For network install.atio.ns through NFS, FTP, or .HTTP (using a network boot disk.
or PXE), .a driver diske.tte that contains the bcm5700 driver is needed. The.
dr.iver diskette images for the m.ost recent Red Hat. versions are included. Boot.
drivers for other Linux version.s c.an be compiled by modif.ying the Makefile and.
the make env.ironment. Further .information is avail.able from Red Hat's website.投资
To create the dri.ver disket.te, select the appropriate image file, gunzip. it,教育
and do. the following:.
dd if=dd.img of=/dev./fd0H1440...