3Com 3C996B-T manual Installing Advanced Server Features, Installing the TAR Archive

Models: 3C996B-T

1 126
Download 126 pages 54.01 Kb
Page 76
Image 76

7Linux Driver Setup

Installing Advanced Server Features

The driver is released in two packaging formats, source RPM and compressed tar archive. The file names for the two packages are bcm5700-<version>.src.rpm and bcm5700- <version>.tar.gz respectively. Identical files to build the driver are included in both packages.

Installing the TAR Archive

NOTE: Before installing the tar archive, copy the tar archive from the CD to a temp directory on your PC.

1To uncompress and expand tar archive, run: tar xvfz basplnx-{version}.tgz

2CD to the basplnx-{version} subdirectory: cd basplnx-{version}

To install the archive, perform the following:

1Configure the major device number for Advanced Server Features configuration. The default major number is 254 and it can be changed by modifying “Makefile.”

NOTE: Kernel sources must be installed and properly configured to build the driver.

2To build kernel module “basp.o”, type: make

The Make process will automatically build the correct module for different kernel favors, e.g., symbol versioning and SMP support. There is NO need to define - DMODVERSIONS in the Makefile.

3To create device file and to copy files, type: make install

4To update the module reference, type: depmod -a

5To load the driver, type: insmod basp

6See “Configuring Teams” on page 69 to set up the teams.

Installing the RPM Package

1To install RPM source package, run:

rpm -i basplnx-{version}.src.rpm

2CD to the RPM path and build the binary driver for the kernel: cd /usr/src/{redhat, OpenLinux, turbo, ...} rpm -bb SPECS/basplnx.spec

The RPM path is different for different Linux distributions.

3To install the newly built package, type:

rpm -i RPMS/i386/basplnx-{version}.i386.rpm

The driver and other required files will be installed.

4To load the driver, type: insmod basp

68

Page 76
Image 76
3Com 3C996B-T manual Installing Advanced Server Features, Installing the TAR Archive, Installing the RPM Package