SOFTPAQ NUMBER: N/A PART NUMBER: N/A FILE NAME: cpq_cciss_RedHat80-2.4.32-3.i386.rpm TITLE: Compaq Linux driver for the Smart Array 5i, 5300 Series for Red Hat Linux 8.0 (2.4.18-14) kernel VERSION: 2.4.32-3 LANGUAGE: English CATEGORY: Storage Controllers DIVISIONS: N/A PRODUCTS AFFECTED: ProLiant DL760 All Models ProLiant DL580 (700-900MHz) ProLiant DL380 G2 (1133 - 1400MHz), (667-1000MHz) ProLiant DL380 Packaged Cluster G2 (1266MHz) ProLiant DL360 (667-1266MHz) ProLiant DL320 All Models ProLiant ML750 All Models ProLiant ML570 (667-1000MHz) ProLiant ML530 (667-1000MHz) ProLiant ML370 G2 (1133-1400MHz), (667-1000MHz) ProLiant ML350 G2 (1133MHz-1400MHz ), (700MHz -1GHz) ProLiant ML330 (667-999MHz) ProLiant 8500 All Models ProLiant 8000 All Models ProLiant 7000 All Models ProLiant 6400R All Models ProLiant 6000 All Models ProLiant 1600 All Models Prosignia Server 740 All Models Prosignia Server 720 All Models Smart Array Cluster Storage Smart Array 5312 Controller Smart Array 5304 Controller Smart Array 5302 Controller Smart Array 532 Controller Smart Array 5i Plus Controller Smart Array 5i Controller OPERATING SYSTEM: Red Hat Linux 8.0 SYSTEM CONFIGURATION: All shipping configurations PREREQUISITES: N/A EFFECTIVE DATE: October 01, 2002 ELECTRONIC DISTRIBUTION ALLOWED: Yes SOFTPAQ UTILITY VERSION: N/A SUPERSEDES: N/A DESCRIPTION: This RPM Package Manager (RPM) is used to provide binary driver modules that have been pre-built for Red Hat Linux 8.0 to enable Compaq Smart Array 53xx and Smart Array 5i controllers. This RPM provides a customer friendly approach to install a pre-built binary drivers. Enhancements: * Provides CISS driver v2.4.32 support for the RH80 (2.4.18-14) kernel * The install script now determines the boot loader from the MBR * Added back IOCTL to rescan disk * Allow rescaning the disk that was reserved by another system. * Handle 3rd party resets that would be seen by the array controller in a cluster configuration. * Fixed problem where CISS driver failed to delete an insequential array * Fixed problem where CISS driver would lock first logical drive if more than one logical drive is created. * Fixed panic problem on doing fdisk on /dev/cciss/c0d0 with no physical disks * Added "engage scsi" code for tape support * Fixed problem with tape drives beyond the 16th physical LUN not appearing. * Fixed races and problems related to driver's logical volume usage counters in the area of (de)registering disks. (symptoms of problem were ACU could not register/deregister logical volumes sometimes.) * Added support for Smart Array 5312 adapter. * Added support for SCSI tape drives and medium changers. * Added support for dynamically adding and removing logical volumes; * Added ioctl for rescanning a disk where READ_CAPACITY failed during init, (Used in certain failover configurations). * Misc changes to geometry related ioctls. * Added GETLUNID and GETLUNINFO ioctls * Flush battery-backed cache on driver unload. * Reserve and release i/o memory ranges * Replaced use of schedule_timeout() loop with completions * Replaced use of obsolete suser() with capable() A changelog for the Smart Array 5300 Series drivers is available at: ftp://ftp.compaq.com/pub/products/drivers/linux/released/cciss/cciss_history.htm IMPORTANT: Additional instructions may be viewed: rpm -q -i -p cpq_cciss_RedHat80-2.4.32-3.rpm | more Please read this section before proceeding. This RPM will install binary drivers that will only work with the default Red Hat Linux 8.0 (2.4.18-14) kernel version and configuration that they have been built for. Earlier or later versions of Red Hat Linux are not supported. Special actions are required if you have modified the default kernel configuration that Red Hat ships for their Red Hat 8.0 product. If you have modified the default kernel configuration you will need to rebuild the kernel to use the updated drivers after installing the RPM with the --noscripts option. For directions to patch the existing driver and rebuild your kernel please refer to the Red Hat documentation. The driver patches will be available in a gzipped tar file in the /opt/compaq/storage_drivers directory after installing the RPM with the --noscripts option. The CCISS driver RPM will not install if it detects that your configuration is different than the Red Hat 8.0 (2.4.18-14) default Server configuration. This driver RPM will not install if the loopback device is not configured but the initrd image is requested since the loopback device is required to create the initrd image. HOW TO USE: 1. Login as the system administrator (root), download the RPM to a directory on your hard drive and change to that directory. 2. To install the driver type: # rpm -ivh cpq_cciss_RedHat80-2.4.32-3.i386.rpm You can expect to see a message similar to: Preparing... ################################################## cpq_cciss_RedHat80 ################################################## Attempting dry run first... ./install --drivers cciss --lilo --grub --initrd --noskip --dry-run ---> THIS IS A DRY RUN <--- Cannot find lilo config file /etc/lilo.conf, will not update. 2.4.18-14smp 2.4.18-14smp The default kernel image is same as the currently loaded kernel image Kernel image is vmlinuz-2.4.18-14smp mkdir -p /usr/src/COMPAQ/driver_backup mkdir -p /usr/src/COMPAQ/driver_backup//./lib/modules/2.4.18-14/kernel/drivers/block cp -p /./lib/modules/2.4.18-14/kernel/drivers/block/cciss.o /usr/src/COMPAQ/driver_backup//./lib/modules/2.4.18-14/kernel/drivers/block/cciss.o Installing cciss for 2.4.18-14 kernel... cp -p ./lib/modules/2.4.18-14/kernel/drivers/block/cciss.o /./lib/modules/2.4.18-14/kernel/drivers/block/cciss.o done mkdir -p /usr/src/COMPAQ/driver_backup//./lib/modules/2.4.18-14smp/kernel/drivers/block cp -p /./lib/modules/2.4.18-14smp/kernel/drivers/block/cciss.o /usr/src/COMPAQ/driver_backup//./lib/modules/2.4.18-14smp/kernel/drivers/block/cciss.o Installing cciss for 2.4.18-14smp kernel... cp -p ./lib/modules/2.4.18-14smp/kernel/drivers/block/cciss.o /./lib/modules/2.4.18-14smp/kernel/drivers/block/cciss.o done /sbin/mkinitrd /boot/cpq-initrd-2.4.18-14smp.img-3 2.4.18-14smp The following changes would have been made to /boot/grub/menu.lst --- /boot/grub/menu.lst 2002-09-17 15:40:19.000000000 -0400 +++ /tmp/grub.conf.2496 2002-09-17 15:41:08.000000000 -0400 @@ -1,5 +1,8 @@ System has boot partition vmlinuz-2.4.18-14smp +/cpq-initrd-2.4.18-14smp.img-3 +System has boot partition +vmlinuz-2.4.18-14smp /cpq-initrd-2.4.18-14smp.img-2 System has boot partition vmlinuz-2.4.18-14smp @@ -23,8 +26,10 @@ # default=2 # commented out by Compaq HBA install script # default=3 # commented out by Compaq HBA install script # default=4 # commented out by Compaq HBA install script -default=5 -fallback=4 +# default=5 # commented out by Compaq HBA install script +default=6 +fallback=5 +# fallback=4 # commented out by Compaq HBA install script # fallback=3 # commented out by Compaq HBA install script # fallback=2 # commented out by Compaq HBA install script # fallback=0 # commented out by Compaq HBA install script @@ -66,3 +71,10 @@ kernel /vmlinuz-2.4.18-14smp ro root=LABEL=/ initrd /cpq-initrd-2.4.18-14smp.img-2 + +# This entry (no. 6) added by Compaq HBA install script +title cpq-2.4.18-1-3 + root (hd0,0) + kernel /vmlinuz-2.4.18-14smp ro root=LABEL=/ + initrd /cpq-initrd-2.4.18-14smp.img-3 + ---> THIS WAS A DRY RUN <--- Dry run succeeded, installing for real... ./install --drivers cciss --lilo --grub --initrd --noskip Cannot find lilo config file /etc/lilo.conf, will not update. 2.4.18-14smp 2.4.18-14smp The default kernel image is same as the currently loaded kernel image Kernel image is vmlinuz-2.4.18-14smp Installing cciss for 2.4.18-14 kernel...done Installing cciss for 2.4.18-14smp kernel...done /sbin/mkinitrd /boot/cpq-initrd-2.4.18-14smp.img-3 2.4.18-14smp Updating /boot/grub/menu.lst Setup Is Now Complete. Please REBOOT Your Computer NOW!! NOTE: If the installation fails or if you see any warning or error messages, STOP, do NOT reboot the computer. The driver will not be operational and you must uninstall the driver by typing the following command: # rpm -e cpq_cciss_RedHat80-2.4.32-3 The removal of the RPM restores the original cciss.o module, and builds a new initrd image with the previous driver object module (if any) and adds yet another grub or lilo entry. You can then boot using this newest lilo or grub entry, (provided the building of the new initrd image goes well), or your original lilo or grub entry. The successful installation will replace the driver that shipped with Red Hat 8.0 with the 2.4.32 version of the driver, create a new Initial RAM Disk Image (initrd) that contains the 2.4.32 version of the driver and modify /etc/lilo.conf (or /boot/grub/menu.lst) to allow the Linux Loader, lilo (or grub) to boot using the new ramdisk image. The installation of this RPM modifies the following files: /etc/lilo.conf (or /boot/grub/menu.lst) /etc/lilo.conf.bak-* (backup files) /boot/grub/menu.lst.bak-* (backup files) /boot/cpq-initrd-*.img-* (initrd images) if you have multiple processors installed in your server expect: /lib/modules/2.4.18-14smp/kernel/drivers/block/cciss.o if you have a single processor server expect: /lib/modules/2.4.18-14/kernel/drivers/block/cciss.o if your server uses the Red Hat Enterprise kernel expect: /lib/modules/2.4.18-14bigmem/kernel/drivers/block/cciss.o Backups of your previous files will be kept in the /usr/src/COMPAQ/driver_backup directory. The driver version can be verified by typing: # strings /lib/modules/2.4.18-14/kernel/drivers/block/cciss.o | grep Compaq Expect output similar to: %s: Compaq %s Controller Compaq CISS Driver (v 2.4.32) 3. The driver will be inserted in the Initial RAM Disk Image (initrd) and is automatically loaded every time the server boots, provided it is listed in /etc/modules.conf, which, normally, it is. 4. To load the module use the insmod command. Type: # insmod cciss Expect the following output if you have Symmetric Multi-Processing support enabled: Using /lib/modules/2.4.18-14smp/kernel/drivers/block/cciss.o Expect the following output if you have a single processor server: Using /lib/modules/2.4.18-14/kernel/drivers/block/cciss.o Expect the following output if your server is using the Red Hat Enterprise kernel: Using /lib/modules/2.4.18-14bigmem/kernel/drivers/block/cciss.o NOTE: You will experience error messages if the Smart Array controller is not installed. Please ensure that the hardware is installed properly. NOTE: If the hardware is properly installed and you experience error messages loading the modules, remove the entire RPM by typing: # rpm -e cpq_cciss_RedHat80-2.4.32-3 The removal of the RPM will restore the driver modules, and rebuild and initrd image for the running kernel and create appropriate entries in /etc/lilo.conf (or /boot/grub/menu.lst). Additionally you should still be able to boot using the previous entries still in /etc/lilo.conf or /boot/grub/menu.lst, provided the driver modules are restored, or were (and thus still are) in the initrd image. 5. To check whether the driver is loaded properly, type: # lsmod Expect to see the module name cciss displayed 6. If you attempt to install the RPM on an unsupported system, you will get an error message. The driver will not be operational and must be uninstalled by typing the following command: # rpm -e cpq_ciss_RedHat80-2.4.32-3 7. To remove the RPM package use the following command: # rpm -e cpq_cciss_RedHat80-2.4.32-3 Expect to see output similar to: Attempting dry run first... ---> THIS IS A DRY RUN <--- Cannot find lilo config file /etc/lilo.conf, will not update. 2.4.18-14smp 2.4.18-14smp The default kernel image is same as the currently loaded kernel image Kernel image is vmlinuz-2.4.18-14smp mkdir -p /usr/src/COMPAQ/driver_backup Uninstalling /lib/modules/2.4.18-14/kernel/drivers/block/cciss.o mv /lib/modules/2.4.18-14/kernel/drivers/block/cciss.o /tmp/cciss.o.old.1189 Restoring previous cciss.o from backup. cp -f /usr/src/COMPAQ/driver_backup//lib/modules/2.4.18-14/kernel/drivers/block/cciss.o /lib/modules/2.4.18-14/kernel/drivers/block/cciss.o rm -f /usr/src/COMPAQ/driver_backup//lib/modules/2.4.18-14/kernel/drivers/block/cciss.o rm -f /tmp/cciss.o.old.1189 Uninstalling /lib/modules/2.4.18-14smp/kernel/drivers/block/cciss.o mv /lib/modules/2.4.18-14smp/kernel/drivers/block/cciss.o /tmp/cciss.o.old.1189 Restoring previous cciss.o from backup. cp -f /usr/src/COMPAQ/driver_backup//lib/modules/2.4.18-14smp/kernel/drivers/block/cciss.o /lib/modules/2.4.18-14smp/kernel/drivers/block/cciss.o rm -f /usr/src/COMPAQ/driver_backup//lib/modules/2.4.18-14smp/kernel/drivers/block/cciss.o rm -f /tmp/cciss.o.old.1189 /sbin/mkinitrd /boot/cpq-initrd-2.4.18-14smp.img-1 2.4.18-14smp The following changes would have been made to /boot/grub/menu.lst --- /boot/grub/menu.lst 2002-09-16 11:25:33.000000000 -0400 +++ /tmp/grub.conf.1189 2002-09-17 15:38:39.000000000 -0400 @@ -1,5 +1,8 @@ System has boot partition vmlinuz-2.4.18-14smp +/cpq-initrd-2.4.18-14smp.img-1 +System has boot partition +vmlinuz-2.4.18-14smp /cpq-initrd-2.4.18-14smp.img-0 System has boot partition vmlinuz-2.4.18-14smp @@ -15,8 +18,10 @@ #boot=/dev/cciss/c0d0 # default=0 # commented out by Compaq HBA install script # default=2 # commented out by Compaq HBA install script -default=3 -fallback=2 +# default=3 # commented out by Compaq HBA install script +default=4 +fallback=3 +# fallback=2 # commented out by Compaq HBA install script # fallback=0 # commented out by Compaq HBA install script timeout=10 splashimage=(hd0,0)/grub/splash.xpm.gz @@ -42,3 +47,10 @@ kernel /vmlinuz-2.4.18-14smp ro root=LABEL=/ initrd /cpq-initrd-2.4.18-14smp.img-0 + +# This entry (no. 4) added by Compaq HBA install script +title cpq-2.4.18-1-1 + root (hd0,0) + kernel /vmlinuz-2.4.18-14smp ro root=LABEL=/ + initrd /cpq-initrd-2.4.18-14smp.img-1 + ---> THIS WAS A DRY RUN <--- ./uninstall --drivers cciss --lilo --grub --initrd --noskip --dry-run Dry run succeeded, uninstalling for real... ./uninstall --drivers cciss --lilo --grub --initrd --noskip Cannot find lilo config file /etc/lilo.conf, will not update. 2.4.18-14smp 2.4.18-14smp The default kernel image is same as the currently loaded kernel image Kernel image is vmlinuz-2.4.18-14smp Uninstalling /lib/modules/2.4.18-14/kernel/drivers/block/cciss.o Restoring previous cciss.o from backup. Uninstalling /lib/modules/2.4.18-14smp/kernel/drivers/block/cciss.o Restoring previous cciss.o from backup. /sbin/mkinitrd /boot/cpq-initrd-2.4.18-14smp.img-1 2.4.18-14smp Updating /boot/grub/menu.lst Feedback -------- To provide kernel/driver development feedback send email to Cciss-discuss@lists.sourceforge.net For support for Compaq Smart Array controllers, please send email to support@compaq.com. Copyright 2002, Compaq Computer Corporation. All rights reserved. Product names mentioned herein may be trademarks and/or registered trademarks of their respective companies