SOFTPAQ NUMBER: N/A PART NUMBER: N/A FILE NAME: cpq_cpqarray_RedHatAS21-2.4.22-2.i386.rpm TITLE: Proliant Linux driver RPM for the Smart Array 2xx, 3xxx and 42xx family of controllers for Red Hat Linux Advanced Server 2.1 and Red Hat Advanced Server 2.1 errata (2.4.9-e.8) kernel VERSION: 2.4.22-2 LANGUAGE: English CATEGORY: Storage DIVISIONS: N/A PRODUCTS AFFECTED: ProLiant BL20p All Models ProLiant DL760 All Models ProLiant DL580 G2 (1400MHz+), (700-900MHz) ProLiant DL380 G3 (2.4GHz+), G2 (1133 - 1400MHz), (667-1000MHz) ProLiant DL380 Packaged Cluster G2 (1266MHz) ProLiant DL360 G2 (1400MHz+), (667-1266MHz) ProLiant DL320 All Models ProLiant ML750 All Models ProLiant ML570 G2 (1.4 GHz+), (667-1000MHz) ProLiant ML530 G2 (2.4GHz+), (667-1000MHz) ProLiant ML370 G3 (2.4GHz+), G2 (1133-1400MHz), (667-1000MHz) ProLiant ML350 G3 (2.0GHz+), G2 (1133MHz-1400MHz ), (700MHz -1GHz) ProLiant ML330e All Models ProLiant ML330 G2 (1000MHz+), (667-999MHz) ProLiant ML310 All Models OPERATING SYSTEM: Red Hat Linux Advnaced Server 2.1 SYSTEM CONFIGURATION: All shipping configurations PREREQUISITES: N/A EFFECTIVE DATE: October 17, 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 Advanced Server 2.1 to enable Proliant Smart Array controllers. This RPM provides a customer friendly approach to install a pre-built binary drivers. Enhancements: * Released CPQARRAY 2.4.22-2 for RedHat Linux Advanced Server 2.1 and errata (2.4.9-e.8) kernel. * Resolve issue of Sense Surface Status BMIC command returning more than 1K of data * Resolve issue of driver still stays loaded when there is no devices attached to IDA controller * Add IDAGETLOGINFO ioctl * Resolve divide by zero error that happened on the Caldera kernel (calling fdisk on a drive that didn't really exist) * Add support for dynamically adding and removing logical volumes. * /proc file system entry now just "array" instead of "driver/array" * Flush cache on rmmod * Add HDIO_GETGEO_BIG ioctl * Add IDADEREGDISK, IDAREGNEWDISK ioctls * Add COLLECT_BUFFER command support * Add WRITE_FLASH_ROM command support. * Use new PCI DMA routines. A changelog for the Smart Array drivers is available at: ftp://ftp.compaq.com/pub/products/drivers/linux/released/cpqarray/cpqarray_history.htm IMPORTANT: Additional instructions may be viewed: rpm -q -i -p cpq_cpqarray_RedHatAS21-2.4.22-2.rpm | more Please read this section before proceeding. This RPM will install binary drivers that will only work with the default Red Hat Linux Advanced Server 2.1 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 Advanced Server 2.1 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 RPM will not install if it detects that your configuration is different than the Red Hat Advanced Server 2.1 stock configuration. 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_cpqarray_RedHatAS21-2.4.22-2.i386.rpm You can expect to see a message similar to: # rpm -ihv cpq_cpqarray_RedHatAS21-2.4.22-2.i386.rpm Preparing... ################################################## cpq_cpqarray_RedHatAS21 ################################################## Attempting dry run first... ./install --drivers cpqarray --lilo --grub --initrd --noskip --dry-run ---> THIS IS A DRY RUN <--- Cannot find lilo config file /etc/lilo.conf, will not update. 2.4.9-e.3smp 2.4.9-e.3-3 The default kernel image is not the same as the currently loaded kernel image 2.4.9-e.3smp 2.4.9-e.3bigmem 2.4.9-e.3 2.4.9-e.3-3 Kernel image is vmlinuz-2.4.9-e.3-3 mkdir -p /usr/src/COMPAQ/driver_backup mkdir -p /usr/src/COMPAQ/driver_backup//./lib/modules/2.4.9-e.3-3/kernel/drivers/block cp -p /./lib/modules/2.4.9-e.3-3/kernel/drivers/block/cpqarray.o /usr/src/COMPAQ/driver_backup//./lib/modules/2.4.9-e.3-3/kernel/drivers/block/cpqarray.o Installing cpqarray for 2.4.9-e.3-3 kernel... cp -p ./lib/modules/2.4.9-e.3-3/kernel/drivers/block/cpqarray.o /./lib/modules/2.4.9-e.3-3/kernel/drivers/block/cpqarray.o done mkdir -p /usr/src/COMPAQ/driver_backup//./lib/modules/2.4.9-e.3/kernel/drivers/block cp -p /./lib/modules/2.4.9-e.3/kernel/drivers/block/cpqarray.o /usr/src/COMPAQ/driver_backup//./lib/modules/2.4.9-e.3/kernel/drivers/block/cpqarray.o Installing cpqarray for 2.4.9-e.3 kernel... cp -p ./lib/modules/2.4.9-e.3/kernel/drivers/block/cpqarray.o /./lib/modules/2.4.9-e.3/kernel/drivers/block/cpqarray.o done mkdir -p /usr/src/COMPAQ/driver_backup//./lib/modules/2.4.9-e.3bigmem/kernel/drivers/block cp -p /./lib/modules/2.4.9-e.3bigmem/kernel/drivers/block/cpqarray.o /usr/src/COMPAQ/driver_backup//./lib/modules/2.4.9-e.3bigmem/kernel/drivers/block/cpqarray.o Installing cpqarray for 2.4.9-e.3bigmem kernel... cp -p ./lib/modules/2.4.9-e.3bigmem/kernel/drivers/block/cpqarray.o /./lib/modules/2.4.9-e.3bigmem/kernel/drivers/block/cpqarray.o done mkdir -p /usr/src/COMPAQ/driver_backup//./lib/modules/2.4.9-e.3smp/kernel/drivers/block cp -p /./lib/modules/2.4.9-e.3smp/kernel/drivers/block/cpqarray.o /usr/src/COMPAQ/driver_backup//./lib/modules/2.4.9-e.3smp/kernel/drivers/block/cpqarray.o Installing cpqarray for 2.4.9-e.3smp kernel... cp -p ./lib/modules/2.4.9-e.3smp/kernel/drivers/block/cpqarray.o /./lib/modules/2.4.9-e.3smp/kernel/drivers/block/cpqarray.o done /sbin/mkinitrd /boot/cpq-initrd-2.4.9-e.3-3.img-1 2.4.9-e.3-3 The following changes would have been made to /boot/grub/menu.lst --- /boot/grub/menu.lst Fri Aug 9 13:45:48 2002 +++ /tmp/grub.conf.15688 Fri Aug 9 14:07:16 2002 @@ -1,5 +1,8 @@ System has boot partition vmlinuz-2.4.9-e.3-3 +/cpq-initrd-2.4.9-e.3-3.img-1 +System has boot partition +vmlinuz-2.4.9-e.3-3 /cpq-initrd-2.4.9-e.3-3.img-0 System has boot partition vmlinuz-2.4.9-e.3-3 @@ -15,8 +18,10 @@ #boot=/dev/cciss/c0d0 # 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 timeout=10 splashimage=(hd0,0)/grub/splash.xpm.gz @@ -50,3 +55,10 @@ kernel /vmlinuz-2.4.9-e.3-3 ro root=/dev/cciss/c0d0p2 initrd /cpq-initrd-2.4.9-e.3-3.img-0 + +# This entry (no. 6) added by Compaq HBA install script +title cpq-2.4.9-e.3-3-1 + root (hd0,0) + kernel /vmlinuz-2.4.9-e.3-3 ro root=/dev/cciss/c0d0p2 + initrd /cpq-initrd-2.4.9-e.3-3.img-1 + ---> THIS WAS A DRY RUN <--- Dry run succeeded, installing for real... ./install --drivers cpqarray --lilo --grub --initrd --noskip Cannot find lilo config file /etc/lilo.conf, will not update. 2.4.9-e.3smp 2.4.9-e.3-3 The default kernel image is not the same as the currently loaded kernel image 2.4.9-e.3smp 2.4.9-e.3bigmem 2.4.9-e.3 2.4.9-e.3-3 Kernel image is vmlinuz-2.4.9-e.3-3 Installing cpqarray for 2.4.9-e.3-3 kernel...done Installing cpqarray for 2.4.9-e.3 kernel...done Installing cpqarray for 2.4.9-e.3bigmem kernel...done Installing cpqarray for 2.4.9-e.3smp kernel...done /sbin/mkinitrd /boot/cpq-initrd-2.4.9-e.3-3.img-1 2.4.9-e.3-3 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_cpqarray_RedHatAS21-2.4.22-2 The removal of the RPM restores the original cpqarray.o module, builds a new initrd image with the previous (or no) module, and adds a new entry into /etc/lilo.conf or /boot/grub/menu.lst. You can then boot using the newest entry, or a prior known working entry. The successful installation will replace the driver that shipped with Red Hat Linux Advanced Server 2.1 with the 2.4.22 version of the driver, create a new Initial RAM Disk Image (initrd) that contains the 2.4.22 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.9-e.3-3smp/kernel/drivers/block/cpqarray.o if you have a single processor server expect: /lib/modules/2.4.9-e.3-3/kernel/drivers/block/cpqarray.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.9-e.3-3/kernel/drivers/block/cpqarray.o | grep Compaq Expect output similar to: %s: Compaq %s Controller Compaq SMART2 Driver (v 2.4.22) 3. The driver will be inserted in the Initial RAM Disk Image (initrd) and is automatically loaded every time the server boots. 4. To load the module use the insmod command. Type: # insmod cpqarray Expect the following output if you have Symmetric Multi-Processing support enabled: Using /lib/modules/2.4.9-e.3-3smp/kernel/drivers/block/cpqarray.o Expect the following output if you have a single processor server: Using /lib/modules/2.4.9-e.3-3/kernel/drivers/block/cpqarray.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 observe error messages loading the modules, remove the entire RPM by typing: # rpm -e cpq_cpqarray_RedHatAS21-2.4.22-2 The removal of the RPM restores the original cpqarray.o module, builds a new initrd image with the previous (or no) module, and adds a new entry into /etc/lilo.conf or /boot/grub/menu.lst. You can then boot using the newest entry, or a prior known working entry. 5. To check whether the driver is loaded properly, type # lsmod Expect to see the module name cpqarray 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_cpqarray_RedHatAS21-2.4.22-2 7. Uninstalling the driver: 1) Uninstall using RPM by typing # rpm -e cpq_cpqarray_RedHatAS21-2.4.22-2 Expect to see output similar to: # rpm -e cpq_cpqarray_RedHatAS21-2.4.22-2 Attempting dry run first... ---> THIS IS A DRY RUN <--- Cannot find lilo config file /etc/lilo.conf, will not update. 2.4.9-e.3smp 2.4.9-e.3-3 The default kernel image is not the same as the currently loaded kernel image 2.4.9-e.3smp 2.4.9-e.3bigmem 2.4.9-e.3 2.4.9-e.3-3 Kernel image is vmlinuz-2.4.9-e.3-3 mkdir -p /usr/src/COMPAQ/driver_backup Uninstalling /lib/modules/2.4.9-e.3-3/kernel/drivers/block/cpqarray.o mv /lib/modules/2.4.9-e.3-3/kernel/drivers/block/cpqarray.o /tmp/cpqarray.o.old.16389 Restoring previous cpqarray.o from backup. cp -f /usr/src/COMPAQ/driver_backup//lib/modules/2.4.9-e.3-3/kernel/drivers/block/cpqarray.o /lib/modules/2.4.9-e.3-3/kernel/drivers/block/cpqarray.o rm -f /usr/src/COMPAQ/driver_backup//lib/modules/2.4.9-e.3-3/kernel/drivers/block/cpqarray.o rm -f /tmp/cpqarray.o.old.16389 Uninstalling /lib/modules/2.4.9-e.3/kernel/drivers/block/cpqarray.o mv /lib/modules/2.4.9-e.3/kernel/drivers/block/cpqarray.o /tmp/cpqarray.o.old.16389 Restoring previous cpqarray.o from backup. cp -f /usr/src/COMPAQ/driver_backup//lib/modules/2.4.9-e.3/kernel/drivers/block/cpqarray.o /lib/modules/2.4.9-e.3/kernel/drivers/block/cpqarray.o rm -f /usr/src/COMPAQ/driver_backup//lib/modules/2.4.9-e.3/kernel/drivers/block/cpqarray.o rm -f /tmp/cpqarray.o.old.16389 Uninstalling /lib/modules/2.4.9-e.3bigmem/kernel/drivers/block/cpqarray.o mv /lib/modules/2.4.9-e.3bigmem/kernel/drivers/block/cpqarray.o /tmp/cpqarray.o.old.16389 Restoring previous cpqarray.o from backup. cp -f /usr/src/COMPAQ/driver_backup//lib/modules/2.4.9-e.3bigmem/kernel/drivers/block/cpqarray.o /lib/modules/2.4.9-e.3bigmem/kernel/drivers/block/cpqarray.o rm -f /usr/src/COMPAQ/driver_backup//lib/modules/2.4.9-e.3bigmem/kernel/drivers/block/cpqarray.o rm -f /tmp/cpqarray.o.old.16389 Uninstalling /lib/modules/2.4.9-e.3smp/kernel/drivers/block/cpqarray.o mv /lib/modules/2.4.9-e.3smp/kernel/drivers/block/cpqarray.o /tmp/cpqarray.o.old.16389 Restoring previous cpqarray.o from backup. cp -f /usr/src/COMPAQ/driver_backup//lib/modules/2.4.9-e.3smp/kernel/drivers/block/cpqarray.o /lib/modules/2.4.9-e.3smp/kernel/drivers/block/cpqarray.o rm -f /usr/src/COMPAQ/driver_backup//lib/modules/2.4.9-e.3smp/kernel/drivers/block/cpqarray.o rm -f /tmp/cpqarray.o.old.16389 /sbin/mkinitrd /boot/cpq-initrd-2.4.9-e.3-3.img-2 2.4.9-e.3-3 The following changes would have been made to /boot/grub/menu.lst --- /boot/grub/menu.lst Fri Aug 9 14:07:19 2002 +++ /tmp/grub.conf.16389 Fri Aug 9 14:08:10 2002 @@ -1,5 +1,8 @@ System has boot partition vmlinuz-2.4.9-e.3-3 +/cpq-initrd-2.4.9-e.3-3.img-2 +System has boot partition +vmlinuz-2.4.9-e.3-3 /cpq-initrd-2.4.9-e.3-3.img-1 System has boot partition vmlinuz-2.4.9-e.3-3 @@ -19,8 +22,10 @@ # default=3 # commented out by Compaq HBA install script # default=4 # commented out by Compaq HBA install script # default=5 # commented out by Compaq HBA install script -default=6 -fallback=5 +# default=6 # commented out by Compaq HBA install script +default=7 +fallback=6 +# fallback=5 # commented out by Compaq HBA install script # fallback=4 # commented out by Compaq HBA install script # fallback=3 # commented out by Compaq HBA install script timeout=10 @@ -62,3 +67,10 @@ kernel /vmlinuz-2.4.9-e.3-3 ro root=/dev/cciss/c0d0p2 initrd /cpq-initrd-2.4.9-e.3-3.img-1 + +# This entry (no. 7) added by Compaq HBA install script +title cpq-2.4.9-e.3-3-2 + root (hd0,0) + kernel /vmlinuz-2.4.9-e.3-3 ro root=/dev/cciss/c0d0p2 + initrd /cpq-initrd-2.4.9-e.3-3.img-2 + ---> THIS WAS A DRY RUN <--- ./uninstall --drivers cpqarray --lilo --grub --initrd --noskip --dry-run Dry run succeeded, uninstalling for real... ./uninstall --drivers cpqarray --lilo --grub --initrd --noskip Cannot find lilo config file /etc/lilo.conf, will not update. 2.4.9-e.3smp 2.4.9-e.3-3 The default kernel image is not the same as the currently loaded kernel image 2.4.9-e.3smp 2.4.9-e.3bigmem 2.4.9-e.3 Kernel image is vmlinuz-2.4.9-e.3-3 Uninstalling /lib/modules/2.4.9-e.3-3/kernel/drivers/block/cpqarray.o Restoring previous cpqarray.o from backup. Uninstalling /lib/modules/2.4.9-e.3/kernel/drivers/block/cpqarray.o Restoring previous cpqarray.o from backup. Uninstalling /lib/modules/2.4.9-e.3bigmem/kernel/drivers/block/cpqarray.o Restoring previous cpqarray.o from backup. Uninstalling /lib/modules/2.4.9-e.3smp/kernel/drivers/block/cpqarray.o Restoring previous cpqarray.o from backup. /sbin/mkinitrd /boot/cpq-initrd-2.4.9-e.3-3.img-2 2.4.9-e.3-3 Updating /boot/grub/menu.lst Feedback -------- To provide kernel/driver development feedback send email to cpqarray-discuss@lists.sourceforge.net Customer Service -------- For support for Proliant Smart Array controllers, please send email to support@compaq.com.