Installing the Linux Driver
30
A6826A PCI-X Host Bus Adapter for Linux 64-bit Systems Installation Guide
Loading the Driver
The qla2300 driver must be loaded before the system can access the devices
attached to the A6826A HBA. To build a ramdisk image to automatically load the
qla2300 driver at boot time, see the section
Building a Ramdisk Image to Load the
on page 30. To load the qla2300 driver manually, see the section
Loading and Unloading the qla2300 Driver Manually
Building a Ramdisk Image to Load the qla2300 Driver
You can load the qla2300 driver at boot time using a ramdisk image as follows in
this Red Hat example.
1. For Red Hat, add the following line to the file /etc/modules.conf:
alias scsi_hostadapter qla2300
Note:
If there are other SCSI host adapter boards installed on your system and the
scsi_hostadapter alias is used, define a different alias (for example,
scsi_hostadapter
n. n
is a number in the range 1–9).
2. Build a new ramdisk image that contains the qla2300.o object file. The driver
binary file qla2300.o must be copied to
/lib/modules/<
kernel_release_version
>/drivers/scsi.
Note:
The <
kernel_release_version
> is the Linux kernel release version of your system.
3. Add the dependency for the qla2300 driver and build the ramdisk image:
You can either run
depmod -a
or make sure the following line is in the
/lib/modules/<kernel_release_version>/modules.dep file:
/lib/modules/
<
kernel_release_version
>
/kernel/drivers/scsi/
qla2300.o: /lib/modules/
<
kernel_release_version
>
/kernel/
drivers/scsi/scsi_mod.o
4. Build the ramdisk image file:
For a single-processor 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.x
Содержание A6826A
Страница 6: ...Contents 6 A6826A PCI X Host Bus Adapter for Linux 64 bit Systems Installation Guide ...
Страница 36: ...Installing the Linux Driver 36 A6826A PCI X Host Bus Adapter for Linux 64 bit Systems Installation Guide ...
Страница 52: ...Index 52 A6826A PCI X Host Bus Adapter for Linux 64 bit Systems Installation Guide ...