ARECA SATA RAID CONTROLLER ARC11XX/ARC12XX (SLES) S.u.S.E. 9.0 Linux Enterprise Sever SP2 =================== Driver User's Guide ======================= Linux SCSI driver technical support mail address: erich@areca.com.tw Tel: 886-2-8797-4060 Ext.203 Fax: 886-2-8797-5970 Web site: www.areca.com.tw ================================================================= ********************************************************************** ** 1. Contents ** ********************************************************************** readme.txt - (This file)The readme file for ARC11XX/ARC12XX Linux scsi raid driver arcmsr.1.20.00.08.zip - Source code (arcmsr.c, arcmsr.h, Makefile) install.zip - Ziped dirver modules disk (dd) image file "modules.img" ********************************************************************** ** 2. S.u.S.E. Linux 9.0 SLES Installation ** ********************************************************************** A. Before Installation - Under DOS/Windows environment a. Unzip "install.zip" X:\PATH\pkunzip.exe install.zip =>> driver.img b. Dump it into a floppy disk. X:\PATH\rawrite.exe driver.img A: Tips: You can get rawrite.exe from S.u.S.E. 9.0 SLES installation CD1 or DVD B. S.u.S.E Linux installation start...boot from CD or DVD Please select "manual installation" to install you SuSE 9.0 SLES SLES Step 1: ############################################################## Main menu ############################################################## Settings System information Kernel modules (hardware drivers) <== select it for loading ARECA RAID driver Start installation / system Eject CD Exit / Reboot Power off ############################################################## Step 2: ############################################################## Kernel modules (hardware drivers) ############################################################## Load IDE/SCSI/RAID modules <== select it for loading ARECA RAID driver Load CD-ROM modules Load network card modules Load PCMCIA modules Load USB modules .... .. . ############################################################## Step 3: ############################################################## Load IDE/SCSI/RAID modules ############################################################## . .. .... .. . -- More modules -- <== select it for loading ARECA RAID driver ############################################################## || \||/ \/ ############################################################## Please insert modules disk 2. <== insert our modules disk (modules.img) into floppy disk drive You'll find instructions on how to create it on boot/README on CD1 or DVD ############################################################## Step 4: ############################################################## Kernel modules (hardware drivers) ############################################################## Load IDE/SCSI/RAID modules <== select it again for loading ARECA RAID driver Load CD-ROM modules Load network card modules Load PCMCIA modules Load USB modules .... .. . ############################################################## Step 5: ############################################################## Load IDE/SCSI/RAID modules ############################################################## 3W-XXXX : 3 Ware ATA RAID arcmsr : ARECA SATA RAID HOST Controller <== select it for loading ARECA RAID driver .... .. . ############################################################## Step 6: When SuSE installation progress bar more than 70%, you need to push "Ctrl + Alt + F2" and do something for SuSE'bug fix. #mkdir /floppy #mount /dev/fd0 /floppy <== mount floppy of modules.img Case 1: if your system is single processor and no hyper-threading #cp /floppy/2.6.5-7.191-default/arcmsr.ko /mnt/lib/modules/2.6.5-7.191-default/kernel/drivers/scsi #ls /mnt/lib/modules/2.6.5-7.191-default/kernel/drivers/scsi Case 2: if your system is multi processors or hyper-threading #cp /floppy/2.6.5-7.191-smp/arcmsr.ko /mnt/lib/modules/2.6.5-7.191-smp/kernel/drivers/scsi #ls /mnt/lib/modules/2.6.5-7.191-smp/kernel/drivers/scsi You need make sure that "arcmsr.ko file copy" has been done. Than, push "Ctrl + Alt + F7" return to SuSe installation Graphic Mode..... Now, Please follow SuSE installion procedure to finish your system installation. ********************************************************************** ** 3. Remake new kernel ** ********************************************************************** P.S: You must install your Linux system by developmental environment and include kernel source first. ***************************************************************************** * Copy "arcmsr" source code folder to /usr/src/linux/drivers/scsi/ * ***************************************************************************** A. Edit two files: /usr/src/linux/drivers/scsi/Makefile ############################################################################### ... .... obj-$(CONFIG_SCSI_ARCMSR) += arcmsr/arcmsr.o .... ... =============================================================================== /usr/src/linux/drivers/scsi/Kconfig ############################################################################### ... .... config SCSI_ARCMSR tristate "ARECA ARC11X0[PCI-X]/ARC12X0[PCI-EXPRESS] SATA-RAID support" depends on PCI && SCSI help This driver supports all of ARECA's SATA RAID controllers cards. This is an ARECA maintained driver by Erich Chen. . To compile this driver as a module, choose M here: the module will be called arcmsr (modprobe arcmsr) . .... ... =============================================================================== B. Make new Linux kernel: # cd /usr/src/linux # make mrproper # make config (or make xconfig, make gconfig, make menuconfig) ;Please check ARECA RAID driver.... "ARECA ARC11X0[PCI-X]/ARC12X0[PCI-EXPRESS] SATA-RAID support" # make bzImage # make modules # make modules_install ;if your system is not SMP # cp -f ./arch/x86_64/boot/bzImage /boot/vmlinuz-2.6.5-7.191-default ; if your system is SMP # cp -f ./arch/x86_64/boot/bzImage /boot/vmlinuz-2.6.5-7.191-smp C. Make an initrd image: Edit file /etc/sysconfig/kernel ############################################################################### .. ... INITRD_MODULES="arcmsr reiserfs" # add this context description ... .. =============================================================================== #mkinitrd #reboot P.S: If you do'nt overwrite default kernel. You can edit /boot/grub/menu.lst and do your own kernel and ramdisk image in case that you have made incorrect kernel.