ARECA SATA RAID Controller: FreeBSD 4.2.R =================== 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-4.2.R for all ARECA RAID Controller **************************************************************************** kern42R.zip - (kern.flp.img) first boot diskette image file for FreeBSD RELEASE-4.2.R mfsroot42R.zip - (mfsroot.flp.img) secend boot diskette image file for FreeBSD RELEASE-4.2.R source_code.zip - it include a folder "usr_src_sys_dev_arcmsr" and folder "usr_src_sys_modules_arcmsr" ********************************************************************************* * 2. The first-time installation ********************************************************************************* A. Before Installing (Under DOS environment) a. Get three 1.44M formatted and empty diskettes. Configure a 1.44M floppy drive as A:. Get DOS tools: PKUNZIP.EXE and RAWRITE.EXE. b. Decompress diskette image file by: pkunzip kern42R.zip =>> kern.flp.img (first boot diskette) pkunzip mfsroot42R.zip =>> mfsroot.flp.img (second boot diskette) c. Make installation diskettes ************************************************** *insert a 1.44M empty diskette to floppy drive A. ************************************************** rawrite kern.flp.img A: (first boot diskette done) ************************************************** *remove (first boot diskette) diskette *than insert another 1.44M empty diskette ************************************************** rawrite mfsroot.flp.img A: (second boot diskette done) B. Installation a. Installing system Using "BOOT" diskettes that you made as the booting diskette follows the FreeBSD installation procedures to install. first boot diskette =>kern.flp.img second boot diskette =>mfsroot.flp.img b. Updating kernel **************************************************** * before reboot * you need to use file "kernel" in kern.flp.img * to change kernel **************************************************** - After system is installed completely, and system back to the "/stand/sysinstall Main Menu" screen: - Now press ALT+F4, system enter into command prompt. Remove "BOOT" diskette and insert "kern.flp.img" diskette to drive A. Type the following command to update the kernel. # cd / # mount /dev/fd0 /mnt # mv /kernel kernel.old # cp /mnt/kernel.gz / # gzip -d kernel.gz # umount /mnt 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 Line.... ************************************* * edit /usr/src/sys/i386/conf/GENERIC ************************************* device arcmsr # ADD This Line.... ************************************** * in source_code.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 source_code.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 ==================================================================== = Building a new Kernel ==================================================================== # cd /usr/src/sys/i386/conf # config GENERIC # cd ../../compile/GENERIC # make depend # make # make install # reboot