solaris_bge_driver.pdf

2
7:39 #modinfo | grep bge //show driver version #dladm show-dev //Show Link Status/Speed/Duplex Post Solaris Installation 1. Change directory to where BRCMbge-<platform>-<arch>-X.Y.Z.pkg resides. 2. pkgadd -d BRCMbge-<platform>-<arch>-X.Y.Z.pkg OR 1. Change directory to where BRCMbge-<platform>-<arch>-X.Y.Z.tar.Z resides. 2. uncompress BRCMbge-<platform>-<arch>-X.Y.Z.tar.Z tar -xvf BRCMbge-<platform>-<arch>-X.Y.Z.tar pkgadd -d . 2(!). If installing on a fresh install of Solaris you will have a conflict with the inbox driver which must first be removed. The "checkinstall" script in the BRCMbge 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 BRCMbge: a. Remove the inbox package directory: rm -rf /var/sadm/pkg/SUNWbge [or] mv /var/sadm/pkg/SUNWbge /var/sadm/pkg/SUNWbge.inbox b. Remove the driver: rem_drv bge c. Verify bge is not running: modinfo | grep bge d. If it is running then unplumb all bge interfaces and try to unload it: modunload -i `modinfo | grep bge | awk '{ print $1; }'` e. If it doesn't unload then reboot. f. Now you can perform the pkgadd as normal in step 2 above. PATH="${BASEDIR}/usr/bin:${BASEDIR}/usr/sbin:${PATH}" export PATH DRV=bge DRVPERM="* 0666 root sys" ADD_DRV=/usr/sbin/add_drv devices="SUNW,bge pci108e,1647 pci108e,1648 pci108e,16a7 pci108e,16a8 pci14e4,1600 pci14e4,1601 pci14e4,1644 pci14e4,1645 pci14e4,1647 pci14e4,1648 pci14e4,1649 pci14e4,1653 pci14e4,1654 pci14e4,1657 pci14e4,1659 -1-

description

bge driver

Transcript of solaris_bge_driver.pdf

Page 1: solaris_bge_driver.pdf

7:39

#modinfo | grep bge //show driver version#dladm show-dev //Show Link Status/Speed/Duplex

Post Solaris Installation1. Change directory to where BRCMbge-<platform>-<arch>-X.Y.Z.pkg resides.2. pkgadd -d BRCMbge-<platform>-<arch>-X.Y.Z.pkg OR1. Change directory to where BRCMbge-<platform>-<arch>-X.Y.Z.tar.Z resides.2. uncompress BRCMbge-<platform>-<arch>-X.Y.Z.tar.Z tar -xvf BRCMbge-<platform>-<arch>-X.Y.Z.tar pkgadd -d .2(!). If installing on a fresh install of Solaris you will have a conflict with the inbox driver which must first be removed. The "checkinstall" script in the BRCMbge 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 BRCMbge: a. Remove the inbox package directory: rm -rf /var/sadm/pkg/SUNWbge [or] mv /var/sadm/pkg/SUNWbge /var/sadm/pkg/SUNWbge.inbox b. Remove the driver: rem_drv bge c. Verify bge is not running: modinfo | grep bge d. If it is running then unplumb all bge interfaces and try to unload it: modunload -i `modinfo | grep bge | awk '{ print $1; }'` e. If it doesn't unload then reboot. f. Now you can perform the pkgadd as normal in step 2 above.

PATH="${BASEDIR}/usr/bin:${BASEDIR}/usr/sbin:${PATH}"export PATHDRV=bgeDRVPERM="* 0666 root sys"ADD_DRV=/usr/sbin/add_drvdevices="SUNW,bge pci108e,1647 pci108e,1648 pci108e,16a7 pci108e,16a8 pci14e4,1600 pci14e4,1601 pci14e4,1644 pci14e4,1645 pci14e4,1647 pci14e4,1648 pci14e4,1649 pci14e4,1653 pci14e4,1654 pci14e4,1657 pci14e4,1659

-1-

Page 2: solaris_bge_driver.pdf

7:39

pci14e4,165d pci14e4,165e pci14e4,1668 pci14e4,1669 pci14e4,166a pci14e4,166e pci14e4,1677 pci14e4,1678 pci14e4,1679 pci14e4,167d pci14e4,1693 pci14e4,1696 pci14e4,1699 pci14e4,169b pci14e4,169c pci14e4,16a6 pci14e4,16a7 pci14e4,16a8 pci14e4,16c7 pciex14e4,1655 pciex14e4,1656 pciex14e4,1657 pciex14e4,1659 pciex14e4,165c pciex14e4,165a pciex14e4,165b pciex14e4,165f pciex14e4,1673 pciex14e4,1674 pciex14e4,1677 pciex14e4,167a pciex14e4,167b pciex14e4,1680 pciex14e4,1681 pciex14e4,1684 pciex14e4,169d pciex14e4,16fd pciex14e4,1713"

-2-