ARECA SATA/SAS RAID Controller: for FreeBSD 6.4 Release =================== Driver User's Guide ======================= FreeBSD RAID driver technical support mail address: erich@areca.com.tw; ching2048@areca.com.tw Tel: 886-2-8797-4060 Ext.203 Fax: 886-2-8797-5970 Web site: www.areca.com.tw ================================================================= ********************************************************************************* * 1. Contents ********************************************************************************* ************* * This file ************* readme.txt - The readme file for ARECA FreeBSD RAID driver **************************************************************************** * installation disks of FreeBSD RELEASE-6.4 for all ARECA RAID Controller **************************************************************************** arcmsr-freebsd64.zip - areca Raid adapter driver for freebsd release 6.4 arcmsr-freebsd-1.20.00.17.zip - it include areca driver source code "arcmsr.c, arcmsr.h" ********************************************************************************* * 2. The first-time installation ********************************************************************************* A. Before Installing a. Decompress arcmsr-freebsd64.zip file by: pkunzip arcmsr-freebsd64.zip -->amd64 -->i386 where drivers in amd64 directory is for FreeBSD 6.4 AMD64 drivers in i386 directory is for FreeBSD 6.4 i386(x86) c. copy drivers in amd64 or i386 to a floppy diskette or USB Flash drive. (Some mother board has problem to use USB Flash drive to load device driver.) B. Installation a. Installing system 1 Insert the FreeBSD Installation CD/DVD. 2 Insert the floppy diskette or Flash drive. 3 Restart your computer. 4 When the FreeBSD start screen opens, select 6 to Escape to loader prompt. 5 Type "lsdev" to find floppy or Flash drive disk number. Here, we assume it is disk0. (Floppy drive usually is the first BIOS disk, disk0, but Flash drive usually is the last BIOS disk) 6 Type "load disk0s1:arcmsr.ko" 7 Type "boot" to complete the FreeBSD installation. 8 After system is installed completely, Exit installation and reboot. Eject CD/DVD disc and reboot the system. (Leave floppy diskette or Flash drive as it was) b. Updating driver module arcmsr.ko ---- !!! IMPORTANT IMPORTANT !!! 1 Restart your computer. 2 When the FreeBSD start screen opens, select 6 to Escape to loader prompt. 3 Type "lsdev" to find floppy or Flash drive disk number. Here, we assume it is disk0. 4 Type "load disk0s1:arcmsr.ko" 5 Type "boot" to boot the FreeBSD system. 6 login as root. (floppy diskette or Flash drive has been in its place) Type following command to update the arcmsr.ko and loader.conf # cd / # mount_msdosfs /dev/fd0 /mnt ( or mount_msdosfs /dev/da1s1 /mnt ) --however, USB Flash device may be da1, da2, or da? .... # cp -f /mnt/arcmsr.ko /boot/kernel # cp -f /mnt/loader~1.con /boot/loader.conf ( or cp -f /mnt/loader.conf /boot ) # umount /mnt # reboot Eject floppy diskette or Flash drive and reboot the system. ********************************************************************************* * 3. To install arcmsr driver into an existing freebsd system ********************************************************************************* a. Decompress arcmsr-freebsd64.zip to arcmsr.ko and loader.conf b. Type following command to install arcmsr driver #cp arcmsr.ko /boot/kernel #ee /boot/loader.conf (Add following line to /boot/loader.conf) arcmsr_load="YES" c. Restart computer ************************************************************************ * 4. Configure the system and Remake the kernel ************************************************************************ You should have installed FreeBSD kernel source code before building a new kernel. ************************************** * in arcmsr-freebsd-1.20.00.17.zip has files arcmsr.c and arcmsr.h * please copy arcmsr.c and arcmsr.h into /usr/src/sys/dev/arcmsr directory ************************************** ls /usr/src/sys/dev/arcmsr arcmsr.c arcmsr.h ==================================================================== To Build a Kernel with arcmsr driver ==================================================================== ************************************* * edit /usr/src/sys/amd64/conf/GENERIC ************************************* device arcmsr # add this context description.... # cd /usr/src/ # make buildkernel # make installkernel # reboot