Owners Manual
Linux ��程序�件:Broadcom NetXtreme II® 网�适配器用�指南
file:///C|/Users/Nalina_N_S/Documents/NetXtremeII/SimpChin/linux.htm[9/5/2014 3:51:55 PM]
从
RPM
安装中卸
/
除 程序
从 TAR 安装中 除 程序
从 RPM 安装中卸 / 除 程序
注
中使用的示例 及 bnx2 程序 也适用于 bnx2x 程序。
在 2.6 内核上 不 要在卸 程序模 前禁用 接口。
如果已 cnic 程序 在卸 bnx2 程序前卸 cnic 程序。
卸 bnx2i 程序前 断开 iSCSI 会 与目 的所有 接。
要卸 程序 使用 ifconfig 禁用 程序打开的所有 eth# 接口 然后 入以下命令
rmmod bnx2
注 以上命令 将 除 bnx2、bnx2x 和 cnic 模 。
如果使用 RPM 安装了 程序 运行以下命令以 除
rpm -e netxtreme2
从 TAR 安装中 除 程序
注 中使用的示例 及 bnx2 程序 也适用于 bnx2x 和 bnx2i 程序。
如果 程序是使用 make install 从 tar 件安装的 必 从操作系 中 除 bnx2.ko 程序 件。有 所安装 程序的位置
参 安装 RPM 程序包。
卸 BACS
RPM 程序包
使用以下命令
% rpm -e BACS
修 PCI 件 可
注 中使用的示例 及 bnx2 程序 也适用于 bnx2x 和 bnx2i 程序。
使 件 用程序 如 Red Hat kudzu 能 正确 别 bnx2 支持的 可能 要更 多包含 PCI 供 商和 信 的 件。
通 运行 充 tar 件中提供的脚本 用更 。例如 在 Red Hat Enterprise Linux 上 通 行以下操作 用更
./patch_pcitbl.sh /usr/share/hwdata/pcitable pci.updates
/usr/share/hwdata/pcitable.new bnx2
./patch_pciids.sh /usr/share/hwdata/pci.ids pci.updates
/usr/share/hwdata/pci.ids.new
然后 可以 份旧 件并重命名 件以供使用。
cp /usr/share/hwdata/pci.ids /usr/share/hwdata/old.pci.ids
cp /usr/share/hwdata/pci.ids.new /usr/share/hwdata/pci.ids
cp /usr/share/hwdata/pcitable /usr/share/hwdata/old.pcitable
cp /usr/share/hwdata/pcitable.new /usr/share/hwdata/pcitable
网 安装
于通 NFS、FTP 或 HTTP 使用网 启 或 PXE 行的网 安装 可能 要包含 bnx2/bnx2x 程序的 程序 。其中包含用
于 Red Hat 和 SuSE 本的 程序 映像。通 修改 Makefile 和 make 可 用于其 Linux 本的引 程序。Red Hat
网站 http://www.redhat.com 提供更多信 。