
5 – Red Hat Linux Driver Installation
Installing the Driver
5-4
PRELIMINARY
IS0053302-00 7
Q
5. Create a new directory, /qla4xxx. Using the driver 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
# mcopy a:*.tgz .
(The period (.) at the end is required.)
# tar -xvzf *.tgz
6. Build the qla4010.o driver from the source code by typing:
# make
NOTE:
Refer to Makefile for additional supported command line parameters.
After building an SMP 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)
5.3.3
Loading the Driver Manually
Before loading the driver manually, you must build a UP or SMP version of the driver,
as described in
sections 5.3.1
and
5.3.2
.
To load the driver directly from the local build directory, type the following:
# insmod ./qla4010.o
To load the driver using modprobe, follow these steps:
1. Copy driver binary files. Type the following:
# cp qla4010.o /lib/modules/<
kernel
version
>/kernel/drivers/scsi/
2. Update the module dependency file. You can either enter the
depmod -a
command or make sure that the following line is in the /lib/modules/<
kernel
release version
>/modules.dep file:
/lib/modules/<
kernel version
>/kernel/drivers/scsi/qla4010.o: \
/lib/modules/<
kernel version
>/kernel/drivers/scsi/scsi_mod.o
3. Type the following to load the driver:
# modprobe qla4010
5.3.4
Building a RAMDISK Image to Load the Driver Automatically
You can load the qla4xxx driver at boot time using a RAMDISK image. For more
information, refer to the Red Hat installation guide.
Содержание 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...