ARECA SATA RAID Controller: FreeBSD 6.0.R (amd64) =================== 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 **************************************************************************** * installation disks of FreeBSD RELEASE-6.0..R for all ARECA RAID Controller **************************************************************************** areca-freebsd60-amd64-bootonly-iso.zip - (areca-freebsd60-amd64-bootonly.iso) boot cd iso image for FreeBSD RELEASE-6.0..R arcmsr-freebsd-1.20.00.13.zip - it include a areca source code "arcmsr.c, arcmsr.h" ********************************************************************************* * 2. The first-time installation ********************************************************************************* A. Before Installing (Under DOS environment) a. Decompress bootonly cd image image file by: pkunzip areca-freebsd60-amd64-bootonly-iso.zip =>> areca-freebsd60-amd64-bootonly.iso c. Make areca freebsd60 amd64 bootonly cd areca-freebsd60-amd64-bootonly.iso =>> (CDROM drive Writer) B. Installation a. Installing system Using areca "bootonly" cdrom as FreeBSD installation cdrom #1 and follows FreeBSD's installation procedures to install your system. at step of [ Choose Installation Media ] : Please eject areca "bootonly" cdrom and replace with FreeBSD released installation cdrom #1 if your installation Media is "1 CD/DVD". Press [OK] and then ongoing your installation procedure until system is installed completely. b. Updating kernel **************************************************** * before reboot, * you need to overwrite /boot/kernel by "kernel" * released on areca "bootonly" cdrom **************************************************** - After system is installed completely, and system back to the "/stand/sysinstall Main Menu" screen: - Now press ALT+F4, system enter into command prompt. Type the following command to update the kernel. # cd / # umount /dist ; eject freebsd "installation" cdrom from your cd drive ; and then insert areca "bootonly" cdrom into your cd drive # mount_cd9660 /dev/acd0 /dist # cp -rf /dist/boot/kernel/* /boot/kernel/ # umount /dist eject areca "bootonly" cdrom and press ALT+F1 c. Exit Install and Reboot system ************************************************************************ * 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.13.zip has files "arcmsr.c" "arcmsr.h" * please copy "arcmsr.c" "arcmsr.h" into /usr/src/sys/dev/arcmsr/ ************************************** ls /usr/src/sys/dev/arcmsr arcmsr.c arcmsr.h ==================================================================== = old method ....Procedure 1. Building a Kernel with ``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 with ``New'' Way ==================================================================== # cd /usr/src/ # make buildkernel # make installkernel # reboot