This release note and the software that accompanies it are copyright (c) 2005, 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) ICH5R/ICH6R/ICH7R SATA IDE RAID. Please verify that this package has been tested with the RAID card you have chosen to use by checking the drivers web page for your controller at http://support.intel.com.

================
Package Information
================
Driver Version = 5.08Z
OS supported = Redhat* version See kernel versions below:
Redhat 2.1  i686 U6 (x86)



================
Known Restrictions
================
N/A

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

Name						Description
README.TXT					This readme file
Web License					License Agreement
modules.cgz            		                                                        Driver Image tgz file
disk-info                                                                                                Disk information
moudules.dep                                                                                     dep file
pci.ids                                                                                                    ids file
pcitable                                                                                                  file
rhdd                                                                                                        file

================
Installation Instruction
================
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 RedHat AS2.1U6 on SATA drives attached to the Intel (r) SATA RAID Controller.

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 Fresh installation
This mode of installation is selected when user needs to install the Operating system on a fresh SATA 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 SATA RAID Software Stack at the time of Installation.
1) Create a RAID array using the SATA RAID BIOS Configuration Utility.  
2) Boot your system using RedHat AS2.1 Update6 Disc one. 
3) At boot prompt type "linux dd"
4) Insert driver update disc when asked. 
5) Complete installation  with RedHat AS2.1 U6 CD
     
3.2 Install SATA RAID as a secondary device (stand alone module.  This mode of installation is preferred if SATA controller is used as a secondary device.  It requires a manual installation of the SATA driver module at each boot of the system. Follow the procedure below:
1) Create RAID array on the SATA controller using the BIOS Utility. 
2) Boot RedHat AS2.1 U6 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 AS2.1 U6 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 Install megaide as a secondary device (Build with initrd image)
This is preferred if SATA 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 SATA Controller using Megaide BIOS. 
2) Boot up RedHat AS2.1 U6 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 AS2.1 U6 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/egaide.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 AS2.1 U6 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 Update megaide 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 SATA Controller using Megaide BIOS.
2) Boot up RedHat AS2.1 U6 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 AS2.1 U6
	#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 AS2.1 U6 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
================
For Intel ICH5R 0x8086, 0x24DF, 0x8086, 0x347F

PCI enable device call is added to probe routine to route PCI interrupt properly.

SCSI buffer pointers are replaced with request_buffer


