linux 加载raid驱动

时间:2023-03-09 05:15:39
linux 加载raid驱动
Driver Disk Installation Guide for ARC-11XX/ARC12XX/ARC16XX/18XX RAID Controller
on RHEL 5.11 or CentOS 5.11(kernel 2.6.18-398.el5) x86_64 and i386
=================================================================================
=================================================================================
Linux SCSI driver technical support
mail address: support@areca.com.tw
Web site: www.areca.com.tw
==================================================================================
================================================================================== **********************************************************************************
1. Contents
********************************************************************************** readme.txt - the installation guide of ARC-11XX/12XX/16XX/18XX driver
for RHEL 5.11 or CentOS 5.11
arcmsr-rhel5.11.iso - Areca RAID driver for Linux system installation
arcmsr-1.30.0X.19-20140919.zip - arcmsr driver source code
**********************************************************************************
2. First installation
**********************************************************************************
A. Before Installation
Copy arcmsr-rhel5.11.iso to top(/) directory of an USB flash drive .
Give a label to USB flash drive, said ARECA.
B. Installation
a. Insert the USB flash drive to the target system.
b. Booting from Linux Installation DVD disc.
c1. If "Red Hat Enterprise Linux 5" Installation screen show up, a prompted
lable "boot:" appear at the left-bottom of the screen.
Type "linux dd" to tell installer we have a driver disk.
c2. If "CentOS 5" Installation screen show up, a prompted
lable "boot:" appear at the left-bottom of the screen.
Type "linux dd" to tell installer we have a driver disk.
(double quotation mark are not include). Press Enter to start system installation. d. When ask for "Do you have a driver disk?", select Yes.
e. When ask for "Drive Disk Source", select /dev/sda1
f. When ask for "Select driver disk image", select arcmsr-rhel5.11.iso
g. When ask for "More Driver Disks?", if you don't have another driver, select No.
h. Continue to system installation.
**********************************************************************************
3. Installing raid driver on an Existing System.
**********************************************************************************
Extract arcmsr-rhel5.11.iso to a new directory, in ./rpms/ there are driver packages for
x86_64, i686, xen, PAE. To install which driver depends on your platform environment.
For x86_64:
#rpm -ivh kmod-arcmsr-1.30.0X.19-1.x86_64.rpm
or
#rpm -ivh kmod-arcmsr-xen-1.30.0X.19-1.x86_64.rpm
For i686:
#rpm -ivh kmod-arcmsr-1.30.0X.19-1.i686.rpm
or
#rpm -ivh kmod-arcmsr-PAE-1.30.0X.19-1.i686.rpm
or
#rpm -ivh kmod-arcmsr-xen-1.30.0X.19-1.i686.rpm #reboot **********************************************************************************
4. To compile raid driver on an Existing System.
********************************************************************************** Before you can compile a new driver, you have to install kernel-headers and kernel-devel.
These two rpm packages are in RHEL 5 DVD installation disc /Server.
#rpm -ivh kernel-headers-2.6.18-398.el5.$(uname -m).rpm
#rpm -ivh kernel-devel-2.6.18-398.el5.$(uname -m).rpm To compile arcmsr driver, extract driver source code to a new directory.
#make
#cp arcmsr.ko /lib/modules/$(uname -r)/kernel/drivers/scsi/arcmsr/
#cp arcmsr.ko /lib/modules/$(uname -r)/extra/arcmsr/
#mv /boot/initrd-$(uname -r).img /boot/initrd-$(uname -r).old.img
#mkinitrd /boot/initrd-$(uname -r).img $(uname -r)
#reboot