
5 – Red Hat Linux Driver Installation
Installing the Driver
5-2
PRELIMINARY
IS0053302-00 7
Q
5.3.1
Building a Uniprocessor (UP) Version of the Driver
Perform the following steps to build a UP version of the qla4xxx driver:
1. Extract the kernel-header and kernel-source RPM files from the first Red Hat
CD-ROM.
# cd /mnt/cdrom/RedHat/RPMS
# rpm -iv kernel-headers*.rpm
(Not required for Red Hat 9.)
# rpm -iv kernel-source*.rpm
(Not required for Red Hat 9.)
2. Prepare source headers by changing to the kernel source directory. For
example:
# cd /usr/src/linux-2.4
3. Configure additional support. First, type the following command to access the
Main Menu
:
# make menuconfig
a. From the
Main Menu
, select
SCSI Support
and press ENTER.
b. From the
SCSI Support
menu, select
SCSI Disk Support
.
c. From the
SCSI Disk Support
menu, select
SCSI Generic Support
.
d. Select
Exit
to exit the
Main Menu
.
The system prompts
Do you wish to save your new kernel configuration?
Select
Yes
. The system saves a new config file .config in the current
directory.
4. Under the kernel source directory, type the following:
# make dep
5. Create a new directory, /qla4xxx. Using the disk created in
section 5.2
, copy
the qla4xxxsrc-v
x.xx
.tgz file to /qla4xxx and extract the files. For example:
# mkdir qla4xxx
# cd qla4xxx
# cp mcopy a:*.tgz .
(The period (.) at the end is required.)
# tar -xvzf *.tgz
6. Build the driver qla4010.o from the source code by typing:
# make SMP=0
NOTE:
Refer to Makefile for additional supported command line parameters.
After building a UP version of the driver, you must load the driver by one of the
following methods:
■
Manually
(see section 5.3.3)
■
Through a RAMDISK image, which you must build
(see section 5.3.4)
Содержание QLA4010
Страница 10: ...1 Introduction Technical Support 1 4 PRELIMINARY IS0053302 00 7 Q Notes...
Страница 12: ...I Hardware I 2 PRELIMINARY IS0053302 00 7 Q Notes...
Страница 16: ...2 QLA4010 4010C Agency Certification 2 4 PRELIMINARY IS0053302 00 7 Q Notes...
Страница 18: ...II Software II 2 PRELIMINARY IS0053302 00 7 Q Notes...
Страница 24: ...3 Windows 2000 Driver Installation Removing the Driver 3 6 PRELIMINARY IS0053302 00 7 Q Notes...
Страница 30: ...4 Windows Server 2003 Driver Installation Removing the Driver 4 6 PRELIMINARY IS0053302 00 7 Q Notes...
Страница 42: ...III Applications III 2 PRELIMINARY IS0053302 00 7 Q Notes...