5. Apply patch to allow pass-through SCSI commands to succeed. Open the file "scsi_error.c" with
vi, and search for this entry:
case DID_ABORT:
/*
return FAILURE;
The "return FAILURE;" line needs to be changed to "return SUCCESS;"
6. Edit the kernel Makefile to set the EXTRAVERSION to discriminate between the "stock" 2.2.16-3
or 2.2.19-6.2.7 kernel, and the modified version you will make, as follows:
VERSION = 2
PATCHLEVEL = 2
SUBLEVEL = 16
EXTRAVERSION = -3HP
7. Build and install the kernel. Remember to configure LILO to boot your new kernel, but keep the
option of booting to the previous version in case the new version won't boot.
NOTE: The kernel should be built with loadable modules. This will allow you to remove and insert
the HBA driver to force an initialization and corresponding scan for current LUNs.
NOTE:
{version} = 2.2.16-3 or 2.2.19-6.2.7
cd /usr/src/linux
make mrproper
make clean
make xconfig
make dep
make bzImage
make modules
make modules_install
cp arch/i386/boot/bzImage /boot/vmlinuz-{version}HP
cp System.map /boot/System.map-{version}HP
cd /boot
ln -fs System.map-{version}HP System.map
modprobe loop
mkinitrd -v -f /boot/initrd-{version}HP.img {version}HP
By default Linux will probe SCSI devices for a single LUN. The "max_scsi_luns" parameter instructs
the kernel to probe for multiple LUNs during boot-up.
8. Edit /etc/lilo.conf to point to the new boot image and to set the max_scsi_luns kernel parameter as
follows:
append="max_scsi_luns=8"
The append statement can include multiple kernel directives as described in the following paragraph.
Rev 2002-01-23
Linux Configuration
HP VA 7100/7400
* Note - this means that we just report the status back to the
* top level driver, not that we actually think that it indicates
* success.
*/
only once on SMP systems
only if re-building
you will need an initial .config file as noted above
Page 12
Need help?
Do you have a question about the StorageWorks 7100 - Virtual Array and is the answer not in the manual?
Questions and answers