|
楼主 |
发表于 2005-8-26 17:40:30
|
显示全部楼层
SATA RAID Driver for Red Hat* Enterprise Linux 3.0 AS (IA-32) [Multiple Files]
这个驱动对应的系统跟我的系统应该是一样的吗?
难道是我的RHEL4 太新了?
intel 的 readme.txt 部分内容如下:
Install Instructions
(RedHat 3.0)
Index
1 Introduction 3
2 Prepare Installation disk(s) 4
2.1 Get required driver image files 4
2.2 Create install disk(s) 4
2.2.1 Using windows system 4
2.2.2 Using Linux system 5
3 Installation methods 5
3.1 Fresh installation 5
3.2 Install megaide as a secondary device (stand alone module) 6
3.3 Install megaide as a secondary device (Build with initrd image) 6
3.4 Update megaide driver on already installed system 8
1 Introduction
The purpose of this document is to provide clear instructions on how to install RedHat 3.0 on IDE drives attached to the LSI Logic IDE RAID Controller known as MegaRAID IDE.
2 Prepare Installation disk(s)
2.1 Get required driver image files
Megaide driver is provided in the form of driver update disk. Required files for installation listed below. Get these files from the LSI Logic FTP site located at ftp://www.megaraid.lsilogic.com. New versions of the install image(s) will be made available. The new image(s) will have the same basic name.
File Description
dud-<driver version>.dd MegaRAID IDEal Stack Driver Update Disk
2.2 Create install disk(s)
User requires a system with either Microsoft Windows or a UNIX based Operating System and fresh floppy diskette(s) to prepare the install disk(s). The required Installation Diskettes are created on any system. Two common operating system procedures is documented
2.2.1 Using windows system
In windows operating system rawwrite floppy image writer utility is used to create disk images from image files. It can be down loaded from Internet. Follow the given procedure to build install diskette(s).
Steps:
1. Copy driver update disc image and the rawrite to a directory
Files required are:
dud-<driver version>.dd
rawrite.exe
2. Once you have confirmed the files are in the same directory, you may need to change file name of driver update disk to a smaller name with less than 8 characters.
copy dud-<driver version>.dd dud.dd
3. Type the following command followed by <enter> to create the two installation diskettes:
RAWRITE<enter>
You will then be prompted to enter the name of the boot image file. Type
dud.dd
Next, you will be prompted for the target disk drive. Insert a floppy disk into the floppy disk drive and type
A<enter>
Do not remove the disk until the command prompt returns and the floppy disk drive light goes out.
Label the Disk “RedHat 3.0 <driver version>”.
2.2.2 Using Linux system
In linux operating system dd utility is used to create disk images from image files. It can be found in all linux installation. See dd man page for more information about it.
Steps:
1. Copy dud-<driver version>.dd and boot.img to a linux system
2. Insert a fresh floppy disk in floppy drive
Create the Driver Update floppy using the following command:
#dd if= dud-<driver version>.dd of=/dev/fd0
Do not remove the disk until the command prompt returns and the floppy disk drive light goes out.
3. Label the Disk “RedHat 3.0 <driver version>”
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 MegaRAID IDE controller. For this kind of installation driver update disc is used at the starting of the installation and the installer will update the system with MegaRAID driver images for the required kernels. Follow the procedure given below to install MegaRAID IDEal Soft RAID Stack at the time of Installation.
Steps:
1. Create a RAID array using the MegaRAID IDE BIOS.
2. Boot your system using RedHat 3.0 Disc one
3. At boot prompt type “linux dd”
4. Insert driver update disc when asked.
5. Complete installation with RedHat 3.0 CD’s
3.2 Install megaide as a secondary device (stand alone module)
This mode of installation is preferred if megaide controller is used as a secondary device. This is a fast mode of bringing the megaide controller in to active but it is less efficient. It required manual installation of megaide driver module at each boot of the system. Follow the procedure below to achieve this
Steps:
1. Create RAID array on Megaide controller using Megaide BIOS.
2. Boot RedHat 3.0 from primary controller
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 3.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.21-9.EL, 2.4.21-9.ELsmp, 2.4.21-9.ELhugemem, 2.4.21-9.ELBOOT}/megaide.o
or {2.4.21-15.EL, 2.4.21-15.ELsmp, 2.4.21-15.ELhugemem, 2.4.21-15.ELBOOT}/megaide.o
5. 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 Megaide 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.
Steps
1. Create RAID array on Megaide controller using Megaide BIOS.
2. Boot up RedHat 3.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 3.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.21-9.EL, 2.4.21-9.ELsmp, 2.4.21-9.ELhugemem, 2.4.21-9.ELBOOT}/megaide.o
or {2.4.21-15.EL, 2.4.21-15.ELsmp, 2.4.21-15.ELhugemem, 2.4.21-15.ELBOOT}/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-9(15).ELsmp kernel in boot directory. See mk_initrd man page more information
#mkinitrd /boot/initrd-2.4.21-9.ELsmp.img.new 2.4.21-9.ELsmp
or mkinitrd /boot/initrd-2.4.21-15.ELsmp.img.new 2.4.21-15.ELsmp
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.21-9(15).ELsmp
label=linux-new
initrd=/boot/initrd-2.4.21-9(15).ELsmp.img.new
read-only
appened=”root=LABEL=/ ”
Sample Grub Entry
title Red Hat Linux (2.4.21-9(15).ELsmp with megaide driver)
root (hd0,0)
kernel /vmlinuz-2.4.21-9(15).ELsmp ro root=LABEL=/
initrd /initrd-2.4.21-9(15).ELsmp.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.
Steps
1. Create RAID array on Megaide controller using Megaide BIOS.
2. Boot up RedHat 3.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 3.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.21-9.EL, 2.4.21-9.ELsmp, 2.4.21-9.ELhugemem, 2.4.21-9.ELBOOT}/megaide.o
or {2.4.21-15.EL, 2.4.21-15.ELsmp, 2.4.21-15.ELhugemem, 2.4.21-15.ELBOOT}/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-9(15).ELsmp kernel in boot directory. See mk_initrd man page more information
#mkinitrd /boot/initrd-2.4.21-9(15).ELsmp.img.new 2.4.21-9(15).ELsmp
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.21-9(15).ELsmp
label=linux-new
initrd=/boot/initrd-2.4.21-9(15).ELsmp.img.new
read-only
appened=”root=LABEL=/ ”
Sample Grub Entry
title Red Hat Linux (2.4.21-9(15).ELsmp with megaide driver)
root (hd0,0)
kernel /vmlinuz-2.4.21-9(15).ELsmp ro root=LABEL=/
initrd /initrd-2.4.21-9(15).ELsmp.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. |
|