Q-Logic 3000 Network Card User Manual


 
6–Linux Driver Installation and Configuration
Linux QLogic Adapter Driver Options
6-6 NE0154601-00 A
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
Type the following command to install the binary RPM for SUSE systems:
% rpm -i usr/src/packages/RPMS/[arch]/nx_nic-[version].[arch].rpm
In the previous commands, the [arch] variable designates the system
architecture. Some [arch] variables include i386, i586, i686, x86_64, depending
on the system. The installed QLogic driver binary will be located in one of the
following two directories:
/lib/modules/<uname -r>/updates/drivers/net/
/lib/modules/<uname -r>/kernel/drivers/net
Install the QLogic Tools
Execute the following command to install the tools:
% rpm -ivh nx_tools-[version].rpm
Type the following command to go to the directory where the tools are located:
% cd /opt/netxen
These tools include:
nxflash
nxudiag
phantomcore_P3
[card type]-romimage ([card type] refers to the exact ROM image)
The release may contain multiple ROM images. See the Release Notes for more
information on the ROM image types.
Linux QLogic Adapter Driver Options
Type the modprobe command to pass optional parameters to the driver, for
example:
% modprobe -v nx_nic <parameter>