Installing the Linux Driver
31
A6826A PCI-X Host Bus Adapter for Linux 64-bit Systems Installation Guide
For a multiprocessor system, enter the following commands, replacing
x.x.xx–x.x with your Linux version number.
/sbin/mkinitrd /boot/newinitrd-image
x.x.xx-x.xsmp
5. Configure the boot loader with the new ramdisk image:
a.
Modify the elilo.conf file to load the new ramdisk image by changing the
following line:
initrd=/boot/initrd_file_name
For example:
initrd=/boot/newinitrd-image
b.
Reboot the system. Select the kernel with the new ramdisk image.
Loading and Unloading the qla2300 Driver Manually
Before loading the driver manually, first build the driver from sources as
described in the section
Building a Uniprocessor Version of the Driver
or the section
Building a Multiprocessor Version of the Driver
After manually loading the qla2300 driver, you can access the devices and unload
the driver manually without rebooting the system. The driver is also unloaded
each time the system is rebooted.
To load the qla2300 driver:
1. Manually install the driver binary:
a.
Copy
qla2300.o
to the following directory:
/lib/modules/<
kernel_release_version
>/kernel/drivers/scsi
b.
Update the dependency file.
You can either run
depmod -a
or make sure that the following line is in
the file
/lib/modules/<
kernel_release_version
>/modules.dep
/lib/modules/<
kernel_release_version
>/kernel/drivers/scsi/
qla2300.o:/lib/modules/<
kernel_release_version
>/kernel/drivers/
scsi/scsi_mod.o
c.
Enter the following command to load the driver:
# modprobe qla2300
d. Under the directory that contains the qla2300.o file, you can also enter the
following command:
# insmod qla2300.o