Building The Driver Into The Kernel; Scsi Functionality - HP StorageWorks A7298A Manual

Host bus adapter for windows and linux installation guide
Hide thumbs Also See for StorageWorks A7298A:
Table of Contents

Advertisement

5. Add the following line to get multiple LUN support:
append="max_scsi_luns=LUNs"
Where LUNs is the number of LUNs per SCSI device. Adding this line is
optional.
6. Run these commands to build the boot image. The boot image new_image_name
must match the name specified in the /etc/lilo.conf file:
# rm -f /boot/new_image_filename
# /sbin/mkinitrd /boot/new_image_filename kernel_version
7. Run these commands to check and load the boot image:
# lilo -t -v
# lilo -v
8. Reboot the system to incorporate the new driver. At the shell prompt, enter the
following:
# sync
# reboot
9. As the system reboots, you are prompted with LILO boot. At this point enter the
name of the label of your boot image, new_label in the above example, or just
press enter and the default boot image will be loaded.

Building the Driver Into the Kernel

SCSI Functionality

Once you have installed the source files, you can build the driver into the kernel.
1. Enter the following commands:
# mkdir /usr/src/linus/scsi/lpfc
# find . -print | cpio -pdumv /usr/src/linux/drivers/scsi/lpfc
# cd /usr/src/linux/drivers/scsi/lpfc
# cp Makefile.kernel Makefile
2. Edit the Makefile and the lpfc.conf.c files, if needed.
3. Enter the following command to change the directory to the Linux source:
# cd /usr/src/linux/
host bus adapter for Windows and Linux installation guide
Installing the SCSI Miniport Driver
3–9

Advertisement

Table of Contents
loading

Table of Contents