ARECA SATA RAID Controller: FreeBSD 5.3.R /AMD 64 =================== Driver User's Guide ======================= FreeBSD RAID 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 ********************************************************************************* ************* * This file ************* readme.txt - The readme file for ARECA FreeBSD RAID driver ************* * driver source code ************* arcmsr-freebsd-1.20.00.02.zip - it include a folder "usr_src_sys_dev_arcmsr" and folder "usr_src_sys_modules_arcmsr" ********************************************************************************* * 2. The first-time installation ********************************************************************************* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% Floppy disk based install is not supported on FreeBSD/amd64. %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% A. You need to install FreeBSD5.3/amd64 on onboard IDE DISK first. Tips. * You can install it by FreeBSD5.3/amd64 installation BOOT CDROM. ** The IDE Disk capacity should be equal or smaller than volume capacity. B. When the system installed than reboot it and login. C. Please follow %%%%% 3. Configure the system and Remake the kernel %%%%% to make a new kernel that embeded "arcmsr" RAID device driver........ D. Rebooting on your new kernel and make sure your onboard IDE hard disk (FreeBSD OS) is working fine with arcmsr driver. E. Duplicate IDE hard disk to your ARECA RAID volume. # dd if=/dev/ad0 of=/dev/da0 bs=1m # reboot F. Edit file /etc/fstab at /dev/da0s1a %%%%%%%%%%%%%%%%%%%%%% %% fstab original %%%%%%%%%%%%%%%%%%%%%% # Device Mountpoint FStype Options Dump Pass# /dev/ad0s1b none swap sw 0 0 /dev/ad0s1a / ufs rw 1 1 /dev/ad0s1e /tmp ufs rw 2 2 /dev/ad0s1f /usr ufs rw 2 2 /dev/ad0s1d /var ufs rw 2 2 /dev/acd0 /cdrom cd9660 ro,noauto 0 0 %%%%%%%%%%%%%%%%%%%%%%% %% fstab after edited %%%%%%%%%%%%%%%%%%%%%%% # Device Mountpoint FStype Options Dump Pass# /dev/da0s1b none swap sw 0 0 /dev/da0s1a / ufs rw 1 1 /dev/da0s1e /tmp ufs rw 2 2 /dev/da0s1f /usr ufs rw 2 2 /dev/da0s1d /var ufs rw 2 2 /dev/acd0 /cdrom cd9660 ro,noauto 0 0 G. shutdown and remove onboard IDE hard disk. Now you can boot FreeBSD OS from ARECA RAID volume. ************************************************************************ * 3. Configure the system and Remake the kernel ************************************************************************ ****************************** * edit /usr/src/sys/conf/files ****************************** dev/arcmsr/arcmsr.c optional arcmsr # add this context description.... ************************************* * edit /usr/src/sys/amd64/conf/GENERIC ************************************* device arcmsr # add this context description.... ************************************** * in arcmsr-freebsd-1.20.00.02.zip has usr_src_sys_dev_arcmsr folder * please copy "arcmsr" from usr_src_sys_dev_arcmsr to /usr/src/sys/dev/ ************************************** ls /usr/src/sys/dev/arcmsr arcmsr.c arcmsr.h ************************************** * in arcmsr-freebsd-1.20.00.02.zip has usr_src_sys_modules_arcmsr folder * please copy "arcmsr" from usr_src_sys_modules_arcmsr to /usr/src/sys/modules/ ************************************** ls /usr/src/sys/modules/arcmsr Makefile ************************************** * edit /usr/src/sys/modules/Makefile ************************************** # $FreeBSD: src/sys/modules/Makefile,v 1.393.2.2.2.1 2004/10/24 18:02:52 scottl Exp $ # pcic -- currently broken and being worked on out of tree. # oldcard -- specialized use for debugging only. # owi -- totally unsupported for debugging only. SUBDIR= ${_3dfx} \ ${_aac} \ accf_data \ accf_http \ ${_acpi} \ ${_agp} \ aha \ ${_ahb} \ ${_aic} \ aic7xxx \ arcmsr \ # add this context description.... aio \ ${_amd} \ amr \ ..... ... .. . ==================================================================== = old method ....Procedure 1. Building a Kernel the ``Traditional'' Way ==================================================================== # cd /usr/src/sys/amd64/conf # config GENERIC # cd ../compile/GENERIC # make depend # make # make install # reboot ==================================================================== = new method ....Procedure 2. Building a Kernel the ``New'' Way ==================================================================== # cd /usr/src/ # make buildkernel # make installkernel # reboot