Linux RHEL 3.0 Update 2 EM64T MegaRAID2 driver Version 2.10.7 Contents 1.0 Supported RAID controllers 1.1 Compatible Firmware Versions 2.0 Install Instructions 2.1 Downloading and Creating the Driver Diskette 2.2 Installing the Driver for the PERC/CERC 2.2.1 Installing the Driver during OS Installation 2.2.2 Updating the Driver using RPM after OS is Installed 2.2.3 Building the Driver using DKMS for other kernels 2.2.4 Uninstalling the Driver 3.0 Fixes and Enhancements 4.0 Important Information 5.0 Additional Information 6.0 Release History ============================== 1.0 Supported RAID controllers ============================== This driver supports the following controllers: PERC 4e/Di, 4e/Si, 4e/DC PERC 4/DC 1.1 Compatible Firmware Versions ================================ This device driver is compatible with the following firmware versions: Controller Minimum firmware level Description ---------- ---------------------- ----------- PERC 4/DC 3.28 PERC 4 Dual Channel PERC 4e/Di 513O PERC 4e Integrated on PE 2800, 2850 PERC 4e/Si 513O PERC 4e Integrated on PE 1850 PERC 4e/DC 513O PERC 4e Dual Channel ======================== 2.0 Install Instructions ======================== 2.1 Downloading and Creating the Driver Diskette ================================================= You will need a formatted 3 1/2 inch floppy diskette for the following procedure. 1. On a Linux system: Download the file perc-EM64T-2.10.7-A01.tar.gz to a temporary directory on your working system. Extract the file to the floppy disk as follows: Type the following commands under a Linux command shell: mount /dev/fd0 /mnt/floppy tar xvzf (full path to the archive) -C /mnt/floppy (Eg: /temp/perc-EM64T-2.10.7-A01.tar.gz) umount /mnt/floppy NOTE: Winzip does not extract the driver files correctly under Microsoft Windows. 2. On a Windows system: You will need a formatted 3 1/2 inch floppy diskette for the following procedure. Download the perc-EM64T-2.10.7-A01.exe file to a temporary directory on your Windows system. 1) Double click on the file to run the executable. 2) Click on the Continue button. This diskette contains the same files as the .tar.gz file above. 2.2 Installing the Driver for the PERC/CERC =========================================== This PERC/CERC driver package contains compiled binary drivers for the following kernels: RHEL 3.0 U2 - 2.4.21-15.EL (uP, smp and enterprise) NOTE: The kernel versions mentioned above are Dell supported kernels. For all other kernels, the driver can be automatically compiled and installed. This operation is done only for the currently running kernel and requires the kernel-source and gcc packages to be installed on the system. There are two ways of installing the device driver on Redhat Linux. One is using a driver disk during OS installation and the second is using a driver RPM to update the driver after OS is installed. The steps for both of these methods are provided below. All the files needed for both methods are included in the diskette created above. For more detailed installation instructions of Red Hat, please refer to the OS installation guide at http://www.dell.com/linux. 2.2.1 Installing the Driver during OS Installation ================================================== The following files are needed to install the device driver during a fresh installation. a. modinfo b. modules.cgz c. modules.dep d. pcitable e. rhdd-6.1 These five files are contained in the driver diskette created above. Instructions for RHEL 3.0 U2 --------------------------------------- 1. Boot normally from the Redhat installation CD-Rom. 2. Type 'expert noprobe dd' on the boot prompt. 3. At the "Do you have a driver disk" screen, select Yes. 4. At the "Driver Disk Source" screen, select fd0 (for floppy) 5. At the "Insert Driver Disk" screen, insert the driver disk created above and select OK to continue. 6. At the "Error - No devices of the appropriate type were found..." screen, select "Manually choose". 7. Scroll down and select the "MegaRAID2" driver. 8. Select any additional devices in your system manually. 9. Complete the installation as directed by the install. 2.2.2 Updating the Driver using RPM after OS is Installed ========================================================= Type the following commands under a Linux command shell: mount /dev/fd0 /mnt/floppy cd /mnt/floppy source install.sh Reboot the system for the changes to take effect. NOTE: The megaraid2 module in only installed for the kernel currently running. 2.2.3 Building the Driver using DKMS for other kernels ====================================================== NOTE: If a binary errata kernel RPM is installed after installing the megaraid2 driver RPM, error messages may be seen when building the INITRD image. This is because the megaraid2 module is not installed for this kernel and is being referenced in the /etc/modules.conf file. To build the megaraid2 driver for any kernel, the following prerequisite packages need to be installed: - The megaraid2 RPM included in this package - Kernel source for the kernel in question - Kernel building tools such as gcc To build and install the megaraid2 driver for a kernel, type the following commands under a Linux shell: # dkms build -m megaraid2 -v v2.10.7 -k # dkms install -m megaraid2 -v v2.10.7 -k where is the kernel version. E.g. 2.4.20-9 OR 2.4.9-e.24enterprise Refer to the DKMS man page for more information. # man dkms 2.2.4 Uninstalling the Driver ============================= If this driver has been installed using the RPM as described in section 2.2.2, it can be uninstalled by the following command: rpm -e megaraid2 Reboot the system for the changes to take effect. ========================== 3.0 Fixes and Enhancements ========================== Initial release for EM64T... =================== 4.0 Important Notes =================== - This driver update package only contains support for EM64T based processors. - A warning message is encountered when a logical disk is configured without a partition. After Linux OS installation or any action that causes system devices to be scanned, you will see the following warning message right after the login screen: "megaraid: invalid partition on this disk on channel 0" This message will disappear once a partition is created on all logical drives or if the logical drive without a partition is deleted. - A warning message is seen if errata kernel RPMs are installed after installing the megaraid2 driver. The following message is printed: "No module megaraid2 found for kernel x.y.z-p" This message is seen because the /etc/modules.conf file specifies that the megaraid2 driver is to be added to the initial RAM disk (initrd), but the driver is not yet built and installed for the kernel by DKMS. To boot from this kernel, the megaraid2 driver should be built and installed for the kernel as described in section 2.2.3 and then adding the line: initrd /initrd-x.y.z-p.img to /etc/grub.conf in the stanza for the kernel version installed. - After performing a fresh Linux installation using the driver update, the /etc/modules.conf file may contain unused entries specific to the native 'megaraid' driver that has been replaced by this 'megaraid2' driver update package. 'alias scsi_hostadapter1 megaraid' These entries are created during the operating system installation and may generate error messages during the OS boot process by attempting to load the 'megaraid' driver after 'megaraid2' has already been loaded. To avoid these messages, it is recommended to delete the unused 'megaraid' entries from the etc/modules.conf. - During the fresh Linux installation, the operating system cannot determine drive/device order information based on system BIOS settings. This may lead to undesired drive/device orderings during the install. It is recommended to perform the install with only the target hard drives and storage controller present that you intend to install to, then later add the additional storage controllers and hard drives to the system once the installation is complete. ========================== 5.0 Additional information ========================== dkms-1.10-1.noarch.rpm - Dynamic Kernel Module Support utility (DKMS) install.sh - Installation script. license.txt, GPL - License information dell-megaraid2-v2.10.7-EM64T-2dkms.noarch.rpm - Megaraid2 binary and source RPM with DKMS support. perc-EM64T-2.10.7-A01.txt - This document README.dkms - Documentation for DKMS =================== 6.0 Release History =================== Initial release for EM64T...