ARECA SATA RAID CONTROLLER ARC11XX/ARC12XX S.u.S.E. 9.3 Linux Professional i386 (CD) =================== 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.3 Professional Installation ** ********************************************************************** A. Before Installation - Under DOS/Windows environment a. Unzip "install.zip" X:\PATH\pkunzip.exe install.zip =>> modules.img b. Dump it into a floppy disk. X:\PATH\rawrite.exe modules.img A: Tips: You can get rawrite.exe from S.u.S.E. 9.3 Professional installation CD1 or DVD B. S.u.S.E Linux installation start...boot from CD or DVD Step 1: Put your floppy diskette (install.zip) into your floppy drive. Step 2: Please select "installation" to install you SuSE 9.3 Professional Professional Step 3: When SuSE installation message: "SUSE LINUX......................." "Novell Software Licence Agreement" appear..... Please push "Ctrl + Alt + F2" switch to new console for load "ARECA RAID CONTROLLER DRIVER". #mkdir /floppy #mount /dev/fd0 /floppy #ls /floppy #insmod /floppy/2.6.11.4-20a-default/arcmsr.ko #dmesg ;; now you can see all attached RAID VOLUME on SuSE installation system ...... Please push "Ctrl + Alt + F7" switch to SuSE installation console for system installation. Step 4: When SuSE installation message: "The system will reboot now..... ", Please push "stop" button: You need to push "Ctrl + Alt + F2" and do something for completely SuSE system installation. Case 1: if your system is single processor and no hyper-threading #cp /floppy/2.6.11.4-20a-default/arcmsr.ko /mnt/lib/modules/2.6.11.4-20a-default/kernel/drivers/scsi #ls /mnt/lib/modules/2.6.11.4-20a-default/kernel/drivers/scsi #chroot /mnt ; use "vi" edit file /lib/modules/2.6.11.4-20a-default/modules.dep add ==> /lib/modules/2.6.11.4-20a-default/kernel/drivers/scsi/arcmsr.ko: /lib/modules/2.6.11.4-20a-default/kernel/drivers/scsi/scsi_mod.ko @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Case 2: if your system is multi processors or hyper-threading #cp /floppy/2.6.11.4-20a-smp/arcmsr.ko /mnt/lib/modules/2.6.11.4-20a-smp/kernel/drivers/scsi #ls /mnt/lib/modules/2.6.11.4-20a-smp/kernel/drivers/scsi #chroot /mnt ; use "vi" edit file /lib/modules/2.6.11.4-20a-smp/modules.dep add ==> /lib/modules/2.6.11.4-20a-smp/kernel/drivers/scsi/arcmsr.ko: /lib/modules/2.6.11.4-20a-smp/kernel/drivers/scsi/scsi_mod.ko @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ ;You need make sure that "arcmsr.ko file copy" has been done. #chmod 666 /etc/sysconfig/kernel ; use "vi" edit file /etc/sysconfig/kernel INITRD_MODULES="piix reiserfs" ==> INITRD_MODULES="piix arcmsr reiserfs" #mkinitrd Than, push "Ctrl + Alt + F7" return to SuSe installation Graphic Mode..... Please push "ok" button for system reboot....... 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 menuconfig (or make xconfig, make gconfig, make menuconfig) ;Please do "Load an Alternate Configuration File" from /boot/config-2.6.11.4-20a-xxxx.... ;Please check ARECA RAID driver.... "ARECA ARC11X0[PCI-X]/ARC12X0[PCI-EXPRESS] SATA-RAID support" # make # make modules_install Case 1: if your system is single processor and no hyper-threading # cp -f ./arch/i386/boot/bzImage /boot/vmlinuz-2.6.11.4-20a-default Case 2: if your system is multi processors or hyper-threading # cp -f ./arch/i386/boot/bzImage /boot/vmlinuz-2.6.11.4-20a-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.