Installation guide

Editing the configuration files
91
Installing and Configuring the Linux Host with the Emulex Driver
To create a new RAM disk, use the script lpfc-install with the
--createramdisk option as follows:
1. Change to the directory where the installation files are located.
cd /home/emulex/lpfc_2.6_driver_kit-8.0.16.6_x2-1/
2. Run the install script with the --createramdisk option:
./lpfc-install --createramdisk
Emulex LPFC Driver Installer Version 1.30.1.2
Determining distribution type and kernel version ...
Creating ramdisk .....
The ramdisk for this kernel has been updated.
3. Reboot the host.
Alternatively, a new ramdisk may be created using the mkinitrd
command.
For example:
cd /boot
mkinitrd -k vmlinuz -i initrd-2.6.5-7.139smp
Editing the Emulex driver parameters on hosts with RHEL 4 and RHEL 5
On hosts with RHEL 4 and newer updates, and RHEL 5, the values
for the driver parameters are set in the file
/etc/modprobe.conf. The
following is an example of a modified
/etc/modprobe.conf file for
a host that is connecting to a fabric in Point-to-Point at a 2 GB link speed
and the log level set as verbose in order to capture all link events.
Refer to the section “Description of the Emulex lpfc driver
parameters” on page 87 for the description of the supported
parameters and to identify parameters suited to your host.
For example:
cat /etc/modprobe.conf
alias eth0 tg3
alias eth1 tg3
alias scsi_hostadapter mptbase
alias scsi_hostadapter1 mptscsih
alias scsi_hostadapter3 lpfc
alias scsi_hostadapter4 lpfc
## LPFC Module options ##
options lpfc lpfc_link_speed=2 lpfc_topology=0x02
lpfc_log_verbose=0x10