Q-Logic 3000, 3100 manual Preparing for QLogic Adapter Driver Installation, Create the Binary

Models: 3000 3100

1 120
Download 120 pages 4.97 Kb
Page 75
Image 75
Preparing for QLogic Adapter Driver Installation

8–Linux Driver Installation and Configuration Preparing for QLogic Adapter Driver Installation

The following sections describe how to install a new driver.

Preparing for QLogic Adapter Driver Installation

Check for prior versions of the QLogic adapter driver and tools. Remove the packages from the system to prepare for installing the new release.

Use RPM to check for prior packages. For example, type:

% rpm -qa grep nx_

Look for output similar to the following:

nx_nic-[prior_version]nx_tools-[prior_version]

Remove each of the prior packages by typing the following commands:

%rpm -e nx_nic-[prior_version]

%rpm -e nx_tools-[prior_version]

QLogic Adapter Driver Installation (RPM Format)

The following sections describe how to install the Linux driver in RPM format, create the binary, install the binary, and install the QLogic tools.

Install the Linux Driver Source in RPM Format

To install the Linux driver source in RPM format:

1.Type the following command to extract the driver:

tar -zxvf qle30xx_qle31xx-src-[version].tar.gz

2.Type the following command to install the Linux driver RPM source:

% rpm -iv nx_nic-[version].src.rpm

Create the Binary

Type the following command to create the binary RPM for Red Hat systems:

%rpmbuild -bb usr/src/redhat/SPECS/nx_nic-[version].spec

Type the following command to create the binary RPM for SUSE systems:

%rpmbuild -bb usr/src/packages/SPECS/nx_nic-[version].spec

Install the Binary

Type the following command to install the binary RPM for Red Hat systems:

% rpm -i usr/src/redhat/RPMS/[arch]/nx_nic-[version].[arch].rpm

NE0154601-00 B

8-5

Page 75
Image 75
Q-Logic 3000, 3100 manual Preparing for QLogic Adapter Driver Installation, QLogic Adapter Driver Installation RPM Format