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.08u
OS supported = Redhat* Linux 9.0 Kernel 2.4.20-6

====================
Attention!
====================
N/A

================
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
dud-rh90-6-megaide-v5.08u-generic-1.img.tgz		Driver Image tgz file

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

1 Introduction
The purpose of this document is to provide clear instructions on how to install RedHat 9.0 Kernel 2.4.20-6 on SATA drives in a RAID configuration.

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 9.0 Disc one. 
3) At boot prompt type "linux dd"
4) Insert driver update disc when asked. 
5) Complete installation  with RedHat 9.0 CD
     
3.2 Install SATA RAID as a secondary device (stand alone module. This mode of installation is preferred if SATA RAID controller is used as a secondary device.  It required manual installation of megaide driver module at each boot of the system. Follow the procedure below to achieve this:

1) Create RAID array on on the SATA controller using the BIOS Utility. 
2) Boot RedHat 9.0 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 9.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
It will give  {2.4.20-6, 2.4.20-6smp, 2.4.20-6bigmem, 2.4.20-6BOOT}/megaide.o

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 9.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 9.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
It will give  {2.4.20-6, 2.4.20-6smp, 2.4.20-6bigmem, 2.4.20-6BOOT}/megaide.o


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  2.4.21-4.ELsmp kernel  in boot directory. See mk_initrd man page more information
	#mkinitrd /boot/initrd-2.4.20-6smp.img.new 2.4.20-6smp
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-2.4.20-6smp
	label=linux-new
	initrd=/boot/initrd-2.4.20-6smp.img.new
	read-only
	appened="root=LABEL=/"


Sample Grub Entry
	title Red Hat Linux (2.4.20-6smp with megaide driver)
	root (hd0,0)
	kernel /vmlinuz-2.4.20-6smp ro root=LABEL=/ 
	initrd /initrd-2.4.20-6smp.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. 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 9.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 9.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
It will give  {2.4.20-6, 2.4.20-6smp, 2.4.20-6bigmem, 2.4.20-6BOOT }/megaide.o


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  2.4.21-4.ELsmp kernel  in boot directory. See mk_initrd man page more information
	#mkinitrd /boot/initrd-2.4.20-6smp.img.new 2.4.20-6smp
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-2.4.20-6smp
	label=linux-new
	initrd=/boot/initrd-2.4.20-6smp.img.new
	read-only
	appened="root=LABEL=/"


Sample Grub Entry
	title Red Hat Linux (2.4.20-6smp with megaide driver)
	root (hd0,0)
	kernel /vmlinuz-2.4.20-6smp ro root=LABEL=/ 
	initrd /initrd-2.4.20-6smp.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
================

N/A
