This release note and the software that accompanies it are copyright (c) 2008, Intel Corporation, and may only be installed and used in accordance with the license that accompanies the software.

This Software is furnished under license and may only be used or copied in accordance with the terms of that license. No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted by this document. The Software is subject to change without notice, and should not be construed as a commitment by Intel Corporation to market, license, sell or support any product or technology. Unless otherwise provided for in the license under which this Software is provided, the Software is provided AS IS, with no warranties of any kind, express or implied. Except as expressly permitted by the Software license, neither Intel Corporation nor its suppliers assumes any responsibility or liability for any errors or inaccuracies that may appear herein. Except as expressly permitted by the Software license, no part of the Software may be reproduced, stored in a retrieval system, transmitted in any form, or distributed by any means without the express written consent of Intel Corporation.

This download supports Intel(R) Embedded Server RAID Technology RAID products - Intel(R) ICH5R/ICH6R/ICH7R SATA IDE RAID. Please verify that this package has been tested with the RAID device you have chosen to use by checking the drivers web page for your controller at http://support.intel.com.

================
Package Information
================
This driver supports only Intel(R) Embedded Server RAID Technology based on ICH5R/ICH6R/ICH7R.

Driver Version = 5.19
OS supported = RHEL3 U9; RHEL4 U4, U6; RHEL5 GA, U1; SLES9 SP3, SP4; SLES10 GA, SP1; (both x86 & x64 versions for these OS versions)

This driver is not compatible with Intel(R) Embedded Server RAID Technology II available on server boards based on S5000 or S3200 chipsets.

====================
Attention!
====================

RHEL5 installation on RAID array with onboard SATA controller requires additional steps described below in section 2.1
Failure to follow these steps will result in the SATA controller working in non-RAID (AHCI) mode.

SLES9 DUD installation update. SuSE91 YAST installer executes update. Now user need not press CTRL+ALT+F2 and run the script manually at the end of the installation process.  Installation documents for SLES9 and SLES9-x64 are modified to reflect this change.

================
Known Restrictions
================

It is not recommended to interrupt a rebuild with a system reboot, allow a rebuild to complete prior to rebooting the system.
A system should not be rebooted when the RAID configuration is in degraded mode, it is best to remove a failed drive with the OS running, insert a new drive, and allow the rebuild to complete prior to rebooting the system.


====================
Contents in the package
====================
The following driver files are included in this package:

megaide-5.19-0-sles10-0-all.img
megaide-5.19-0-sles10-1-all.img
megaide-5.19-0-sles9-3-all.img
megaide-5.19-0-sles9-4-all.img
megaide-5.19-rhel3.9-i386.img
megaide-5.19-rhel3.9-x86_64.img
megaide-5.19-rhel4.4-i386.img
megaide-5.19-rhel4.4-x86_64.img
megaide-5.19-rhel4.6-i386.img
megaide-5.19-rhel4.6-x86_64.img
megaide-5.19-rhel5-i386.img
megaide-5.19-rhel5-x86_64.img
megaide-5.19-rhel5.1-i386.img
megaide-5.19-rhel5.1-x86_64.img
     

================
Driver Installation Instructions
================

This updated driver can be applied using the normal OS installation options.

1 The purpose of this document is to provide clear instructions on how to install OS on drives attached to the Intel(R) Embedded Server RAID Technology Software RAID device.

2 Prepare Installation disk(s)
2.1 Driver files are available on the CD that shipped with the product or can be downloaded from http://support.intel.com. 
2.2 Create install disk(s)
User requires a system with either Microsoft Windows or a Linux based Operating System and fresh floppy diskette(s) to prepare the install disk(s).  The required Installation Diskettes can be created on any system. Extract the disk image to a floppy disk using rawrite or another image extraction utility.


3 Installation methods
There are different types of installation possible with the installation package provided. Those are explained in different sections.

3.1 OS installation on RAID

This mode of installation is selected when user needs to install the Operating system on a fresh RAID configuration. For this kind of installation the driver update disc is used at the starting of the installation and the installer will update the system with driver images for the required kernels. Follow the procedure given below to install Intel(R) Embedded Server RAID Technology II RAID Stack at the time of Installation.


-----------------
3.1.1 Installing RHEL3 or RHEL4 on RAID
-----------------

1) Create a RAID array using the Intel Embedded Server RAID Technology - ICH5R/ICH6R/ICH7R RAID BIOS Configuration Utility.  
2) Boot your system using RedHat EL4.0 U3 Disc one. 
3) At boot prompt type "linux dd"
4) Insert driver update disc when asked. 
5) Complete installation  with RedHat EL4.0 U3 CD

-----------------
3.1.2 Installing RHEL5 on RAID 
-----------------

RHEL5, unlike previous RHEL version, requires additional steps for installing the OS onto an Intel(R) Embedded Server RAID Technology volume. 

1) Create a RAID array using the Intel Embedded Server RAID Technology II RAID BIOS Configuration Utility.  
2) Boot your system using RHEL disc one. 
3) At boot prompt type "linux nostorage"
4) Proceed with the installation and you will see a screen which provides you with “Add device” button. 
5) Click "Add Device", a list of all drivers will appear  
6) Press ‘F2’ to select driver from floppy
7) Insert the floppy with the Installer DUD image
8) Select device that corresponds to the floppy drive (sda in case of USB floppy)
9) After the driver is loaded the list of all drivers will appear again
10) Scroll down the driver list and select “Update megaide driver” in the list 
11) Click OK
12) The driver will be loaded and the list of detected devices will appear
13) Click Done
14) Complete installation with RHEL CD

-----------------
3.1.3 Installing SLES9 on RAID
-----------------

1) Create a RAID array using the Intel(R) Embedded Server RAID Technology II RAID BIOS Console.
2) Connect USB floppy drive and insert the floppy disk with RAID driver
3) Boot your system using SLES CD 
4) When first screen comes up press F6 key to load a driver
5) In the text tab type brokenmodules=ahci
6) Select Installation menu option and press Enter
7) When asked about driver disk, press Enter and wait
8) The following message should be displayed: 'Driver Updates added - ... MegaIDE... module'. Press Enter.
9) The following message should be displayed: 'Select Driver Update Medium'. Press 'Esc'
10) Proceed with installation
11) When the Basic installation finishes the system will prepare for initial reboot.  This is after installing selected packages from CD’s, Update Configuration, Copy file to installed system and after installing the boot manager. Before rebooting the system a small window will pop up in which Seconds before rebooting your system displayed.  Press STOP button to prevent rebooting the system. 
12) Press Ctrl+Alt+F2 and go to directory /update/000/install
	#cd  /update/000/install
13) Run script update.post
	#./update.post
14) Press Ctrl+Alt+F7 and select Ok in the Small window that show Now rebooting your system
15) System automatically reboots. Remove all install media to boot to the controller


-----------------
3.1.4 Installing SLES10 on RAID
-----------------

1) Create a RAID array using the Intel(R) Embedded Server RAID Technology II RAID BIOS Console.
2) Connect USB floppy drive and insert the floppy disk with RAID driver
3) Boot your system using SLES CD 
4) When first screen comes up press F5 key to load a driver and select 'Yes'
5) In the text tab type brokenmodules=ahci
6) Select Installation menu option
7) Press Enter
8) The following message should be displayed: 'Driver Updates added - ... MegaIDE... module'. Press Enter.
9) The following message should be displayed: 'Select Driver Update Medium'. Press 'Esc'
10) Proceed with installation until it gets to the 'Installation Settings' screen
11) Click on 'Partitioning' link
12) Select 'Base Partition Setup on This Proposal' if you want to keep default partitions. Click Next.
13) Whether you need to change default partitions or not, you need to change Fstab options for each partition on /dev/sdb
    a) Select partition /dev/sdb1
    b) Click 'Edit'
    c) click 'Fstab Options'
    d) Select 'Volume label' for 'Mount in /etc/fstab by'
    e) Enter a name for the volume into 'Volume Label' field, for example 'vol1', 'vol2', ...
    f) Click OK
    g) Repeat steps a-f for partition /dev/sdb2 and for any other partitions on /dev/sdb device
    h) Click Finish
14) Proceed with the installation


-----------------
3.2 Installing RAID driver as a secondary device - stand alone module.
-----------------

1) Create RAID array on on the RAID controller using the RAID BIOS Console Utility. 
2) Boot RedHat EL4.0 U3 from primary controller and mount the dud floppy. 
	#mount /dev/fd0 /mnt/floppy.  
3) Unzip modules.cgz file on driver update disc to get driver images for different RedHat EL4.0 kernels
	#mkdir -p /home/megaide
	#cd /home/megaide
	#cp /mnt/floppy/modules.cgz .
	#gunizip -S .cgz  modules.cgz
It will generate a new file called modules.
	#cpio -ivd < modules

4) Load scsi mid layer modules and Install megaide driver for running kernel 
	#modprobe scsi_mod 
	#cd /home/megaide
	#insmod <running kernel>/megaide.o

-----------------
3.3 Installing RAID driver as a secondary device - built into initrd image
-----------------

This is preferred if RAID controller is used as a secondary device.  Here megaide driver will be build with the initrd image and there for user need not do insmod at every reboot of the system. 

1) Create RAID array on RAID Controller using Intel Embedded RAID Technology - ICH5R/ICH6R/ICH7R RAID BIOS Console Utility. 
2) Boot up RedHat EL4.0   from primary controller/Disk.
3) Mount the dud floppy. #mount /dev/fd0 /mnt/floppy
4) Unzip modules.cgz file in driver update disc to get driver images for different RedHat EL4.0   kernels

	#mkdir -p /home/megaide
	#cd /home/megaide
	#cp /mnt/floppy/modules.cgz .
	#gunizip -S .cgz  modules.cgz
It will generate a new file called  modules.
	#cpio -ivd < modules

5) Install megaide driver module
	#cd /home/megaide
	#cp <kernel version>/megaide.o  /lib/modules/<kernel version>/update/megaide.o
6) Create megaide driver Entry in Configuration file. RedHat configuration file is /etc/modules.conf. If megaide entry is not present in /etc/modules.conf add following line.
	alias  scsi_hostadapter megaide
7) Create new initrd image for the required kernel. RedHat uses mk_initrd utility to create initrd image  following command will create an initrd image for RedHat EL4.0   kernel  in boot directory. See mk_initrd man page more information
8) Modify lilo.conf/grub.conf  file. Add newly created initrd(s) as a new entries in /etc/lilo.conf file. The best suggested method is to copy an existing lilo entry in the file and  past it as a new one. Then modify its kernel image name, initrd image name and label name.

Sample Lilo Entry
	image=/boot/vmlinux-<kernel version>
	label=linux-new
	initrd=/boot/initrd-<kernel version>.img.new
	read-only
	appened="root=LABEL=/"


Sample Grub Entry
	title Red Hat Linux (<kernel version> with megaide driver)
	root (hd0,0)
	kernel /vmlinuz-<kernel version> ro root=LABEL=/ 
	initrd /initrd-<kernel version>.img.new 
9) Update boot loader. If the boot loader is Lilo run lilo command to update boot loader
	#lilo
10) Reboot the system to the new initrd entries.

-----------------
3.4 Updating RAID driver on already installed system
-----------------

This method is used to update megaide driver in a system, which is already installed with an older driver version. Here this procedure explains the manual process of updating the driver.  Follow the steps given to update driver.

1) Create RAID array on RAID Controller using Intel Embedded RAID Technology - ICH5R/ICH6R/ICH7R RAID BIOS Console Utility.
2) Boot up RedHat EL4.0   from primary controller/Disk.
3) Mount the dud floppy. 
	#mount /dev/fd0 /mnt/floppy
4) Unzip modules.cgz file in driver update disc to get driver images for different RedHat EL4.0  
	#mkdir -p /home/megaide
	#cd /home/megaide
	#cp /mnt/floppy/modules.cgz .
	#gunizip -S .cgz  modules.cgz
It will generate a new file called  modules.
	#cpio -ivd < modules

5) Update megaide driver module for the  required kernels.
	#cd /home/megaide
	# cp <kernel version>/megaide.o  /lib/modules/<kernel version>/update/megaide.o
6) Create megaide driver Entry in Configuration file. RedHat configuration file is /etc/modules.conf. If megaide entry is not present in /etc/modules.conf add following line.
	alias  scsi_hostadapter megaide
7) Create new initrd image for the required kernel. RedHat uses mk_initrd utility to create initrd image following command will create an initrd image for  RedHat EL4.0   kernel  in boot directory. See mk_initrd man page more information
	#mkinitrd /boot/initrd-<kernel version>.img.new <kernel version>
8) Modify lilo.conf/grub.conf  file. Add newly created initrd(s) as a new entries in /etc/lilo.conf file. The best suggested method is to copy an existing lilo entry in the file and  past it as a new one. Then modify its kernel image name, initrd image name and label name.

Sample Lilo Entry
	image=/boot/vmlinux-<kernel version>
	label=linux-new
	initrd=/boot/initrd-<kernel version>.img.new
	read-only
	appened="root=LABEL=/"

Sample Grub Entry
	title Red Hat Linux (<kernel version> with megaide driver)
	root (hd0,0)
	kernel /vmlinuz-<kernel version> ro root=LABEL=/ 
	initrd /initrd-<kernel version>.img.new
9) Update boot loader. If the boot loader is Lilo run lilo command to update boot loader
	#lilo
10) Reboot the system to the new initrd entries.

================
Known Bugs
================
N/A

================
Fixes/Updates
================
Version 5.19
Added RHEL5 U1, RHEL4 U6, SLES10 SP1, SLES9 SP4 support
Fixed driver failing when no logical drives are configured

Version 5.11a
Initial release for RHEL5

Version 5.09c
Added SLES10 support

*Other names and brands may be claimed as the property of others.
