
2
2-20
EMC Fibre Channel with QLogic HBAs in the Linux x86 Environment
Installing and Configuring the HBA and Driver
SUPPORTED_KERNEL_VERSION.txt
4. To build the driver, enter one of the following commands
depending upon your distribution and system type:
• The link
/usr/src/linux-2.4 exists by default on Red Hat
distributions so the following appropriate command may be
used
:
If you are using RHEL 2.1, you must prepare your kernel for a
modular driver build prior to compiling the driver.
Note that this step does not compile the kernel, but rather it is
used to prepare the kernel symbols.
Use the following steps prior to the driver compilation:
cd /usr/src/linux-
$1
make oldconfig && make dep
where
$1
is the kernel version.
• When using SuSE, the system does not contain a link from
/usr/src/linux-$1 to /usr/src/linux-2.4, so the OSVER parameter must
be used.
If desired, you can create the link on the SuSE system so the
OSVER parameter will not have to be used. To create a link,
enter the following:
cd /usr/src
ln –s linux-
$
linux-2.4
where
$1
is the kernel version.
Prior to compiling the driver, you must prepare your kernel
for a modular driver build.
Note that this step does not compile the kernel, but rather it is
used to prepare the kernel symbols.
Use the following steps prior to the driver compilation:
For Red Hat Distributions
System Enter
UP
make all install
SMP
make SMP=1 all install
QLogic_Linux.book Page 20 Monday, November 1, 2004 2:15 PM
Comentarios a estos manuales