Chinaunix

标题: BCM5709 Solaris10 驱动安装 求助! [打印本页]

作者: enjoyee1987    时间: 2012-06-26 10:56
标题: BCM5709 Solaris10 驱动安装 求助!
各位大大,求助!
求驱动安装方法,驱动自带的readme.txt读不懂啊...
PS:不了解SunOS相关,把我当白纸,一步步讲,谢谢了!
III. Installing Driver
     =================

1. Change directory to where BRCMbnx.pkg resides.
2. pkgadd -d BRCMbnx.pkg
               OR
( Copy  BRCMbnx.tar.Z to /tmp.
  cd /tmp
  uncompress BRCMbnx.tar.Z
  tar xvf BRCMbnx.tar
  pkgadd -d /tmp)

2(!). If installing on a fresh install of Solaris you will have a conflict
   with the inbox driver which must first be removed. The "check_install"
   script in the BRCMbnx package will prevent installation over an existing
   driver so examine the output from pkgadd carefully. The inbox driver
   cannot be uninstalled with the pkgrm command since there are no package
   remove scripts in the package directory under /var/sadm/pkg. Use the
   following steps to remove the inbox driver before performing a pkgadd of
   BRCMbnx:

   a. Remove the inbox package directory:
        rm -rf /var/sadm/pkg/BRCMbnx
        [or]
        mv /var/sadm/pkg/BRCMbnx /var/sadm/pkg/BRCMbnx.inbox

   b. Remove the driver:
        rem_drv bnx

   c. Verify bnx is not running:
        modinfo | grep bnx

   d. If it is running then unplumb all bnx interfaces and try to unload it:
        modunload -i `modinfo | grep bnx | awk '{ print $1; }'`

   e. If it doesn't unload then reboot.

   f. Now you can perform the pkgadd as normal in step 2 above.

3. Execute prtconf to determine instance number of the NIC.
4. ifconfig bnx[instance_number] plumb
5. ifconfig bnx[instance_number] ip_address netmask .... up

To make these changes permanent, follow these steps:

1. Use your favorite text editor (eg. vi) and create a file named
   hostname.bnx[instance_number] in /etc directory.  Add the
   IP address of the interface to this file, save and exit.
2. Add a proper subnet mask to the file /etc/netmasks.]


这个是Readme里面的安装方法,第1和2能看懂,2(!)里的d看不懂,3看不懂(这个instance number是指啥?是说网卡的VIDID,还是网卡序号?)
3是说执行prtconf这个命令来确定NIC的instance number的意思么?
是不是说服务器有2个网卡,然后其中一个是bnx0,另一个是bnx1,instance_number是说0or1?

在线等回复!

非常感谢!


作者: znnnz    时间: 2012-06-26 11:32
好文档,收藏一下。
作者: enjoyee1987    时间: 2012-06-26 17:07
各路神人 帮忙指点指点啊
先谢谢了!




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2