User`s guide
12 – Red Hat Linux Driver Installation
Installing the Driver
FC2354601-00 E 12-7
Q
5. Create a new directly, /qla2x00. Using the driver disk created in section 12.2,
copy the qla2xxxsrc-vx.yy-fo.tgz file to /qla2x00 and extract the files. For
example:
# mkdir qla2x00
# cd /qla2x00
# mcopy a:*.tgz . (The period (.) at the end is required.)
# tar -xvzf *.tgz
6. Build the qla2300.o driver from the source code by typing:
# make all SMP=1 OSVER=linux-2.4
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:
n Manually (see section 12.3.2.3)
n Through a RAMDISK image, which you must build (see section 12.3.2.4).
12.3.2.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 12.3.2.1 and 12.3.2.2.
To load the driver directly from the local build directory, type the following:
# insmod qla2300.o
To load the driver using modprobe, follow these steps:
1. Copy driver binary files. Type the following:
# cp qla2300.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/qla2300.o: \
/lib/modules/<kernel version>/kernel/drivers/
3. Type the following to load the driver:
# modprobe qla2300