Loading The Driver Manually; Building A Ramdisk Image To Load The Driver Automatically - Qlogic QLA4010 User Manual

1-gb iscsi to pci-x host bus adapters
Hide thumbs Also See for QLA4010:
Table of Contents

Advertisement

5 – Red Hat Linux Driver Installation
Installing the Driver
5. Create a new directory, /qla4xxx. Using the driver disk created in
copy the qla4xxxsrc-vx.xx.tgz file to /qla4xxx and extract the files. For example:
6. Build the qla4010.o driver from the source code by typing:
NOTE:
After building an SMP version of the driver, you must load the driver by one of the
following methods:
Manually
Through a RAMDISK image, which you must build
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
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:
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:
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.
5-4
# mkdir qla4xxx
# cd qla4xxx
# mcopy a:*.tgz . (The period (.) at the end is required.)
# tar -xvzf *.tgz
# make
Refer to Makefile for additional supported command line parameters.
(see section 5.3.3)
sections 5.3.1
# cp qla4010.o /lib/modules/<kernel
version>/kernel/drivers/scsi/
# modprobe qla4010
PRELIMINARY
and 5.3.2.
Q
section
(see section 5.3.4)
IS0053302-00 7
5.2,

Advertisement

Table of Contents
loading

This manual is also suitable for:

Qla4010c

Table of Contents