Installing the SCSI Miniport Driver
37
Host Bus Adapter for Windows and Linux Installation Guide
Building the Driver as a Module
Once you have installed the source file, you can build the driver as a module.
1. At the shell prompt, edit lpfc.conf.c to reflect your desired configuration.
2. Enter the following command to verify that both kernel-headers and
kernel-source RPMs are installed:
# rpm -a -q | grep kernel
3. Enter the following command to install the kernel-headers and kernel-source
RPMs if they are not installed:
# rpm -i kernel-headers*
# rpm -i kernel-source*
Note:
Red Hat Version 7.3 does not recognize kernel headers. Kernel headers is
replaced by glibc_kernelheaders.rpm.
By default, the driver looks for the kernel source under /usr/src/linux. If the
source resides under a different directory, there are two ways to enable the
driver to locate the kernel source.
4. Enter the following command if the kernel source resides in
/usr/src/<kernelsource>:
# ln -sf /usr/src/<kernelsource> /usr/src/linux
A directory listing similar to the following displays:
lrwxrwxrwx1rootroot11Aug 2 13:51 linux -> linux-2.4.4
drwxr-xr-x14 1046 101 4096Aug 2 13:51 linux-2.4.4
Or change the BASEINCLUDE variable in Makefile to point to the correct
location. For example:
BASEINCLUDE = /usr/src/kernelsource
5. Enter the following command to verify the kernel type (SMP or non-SMP):
# uname -r
6. Only for non-SMP kernel module (i386 platform only), edit the Makefile and
delete the following text:
-D__SMP__=1 \
Содержание StorageWorks A7298A
Страница 6: ...Contents 6 Host Bus Adapter for Windows and Linux Installation Guide ...
Страница 14: ...About this Guide 14 Host Bus Adapter for Windows and Linux Installation Guide ...
Страница 22: ...Introduction 22 Host Bus Adapter for Windows and Linux Installation Guide ...
Страница 30: ...Installation 30 Host Bus Adapter for Windows and Linux Installation Guide ...
Страница 48: ...Installing the SCSI Miniport Driver 48 Host Bus Adapter for Windows and Linux Installation Guide ...
Страница 92: ...Index 92 Host Bus Adapter for Windows and Linux Installation Guide ...