  
		ARECA SATA/SAS Raid Controller

		for FreeBSD 12.3 Release

*********************************************************************************
*  1. Contents     
*********************************************************************************

readme123.txt  - The readme file for ARECA FreeBSD Raid driver
arcmsr-freebsd12.3.zip - areca Raid adapter driver for freebsd release 12.3 
arcmsr-1.50.00.07-20230720-freebsd.zip     - areca driver source code

*********************************************************************************
*  2. The first-time system installation
*********************************************************************************

A. Before Installing

	a. Extract arcmsr-freebsd12.3.zip file:

		-->amd64
		-->i386
	   where drivers in amd64 directory is for FreeBSD 12.3 amd64
	         drivers in i386 directory is for FreeBSD 12.3 i386

	b. copy drivers in amd64 or i386 to a USB Flash drive / directory.
	   (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. Restart your computer and follow the instruction to install FreeBSD.
		3. After system is installed completely, reboot the system.
		4. After boot up, insert the USB Flash drive to the USB port.
		   We assume the USB Flash drive is da4.
		   Type following command to cp arcmsr.ko and edit loader.conf
		   # mkdir /mnt0
		   # mount_msdosfs /dev/da4s1 /mnt0
		   # cp /mnt0/arcmsr.ko /boot/kernel
		   # echo 'arcmsr_load="YES"' >> /boot/loader.conf
		   # umount /mnt0
		   # reboot


*********************************************************************************
*  3. To install arcmsr driver into an existing freebsd system
*********************************************************************************

	a. Decompress arcmsr-freebsd12.3.zip to get arcmsr.ko
	
	b. Type following command to install arcmsr driver
	   # cp $(uname -m)/arcmsr.ko /boot/kernel
	   # echo 'arcmsr_load="YES"' >> /boot/loader.conf
	   # reboot

	   where $(uname -m) is amd64 or i386 depend on OS you installed.

************************************************************************
*  4. To compile the arcmsr.ko module and update arcmsr driver only
************************************************************************

    You should have installed FreeBSD kernel source code before compile the arcmsr.ko module.

	Decompress arcmsr-1.50.00.07-20230720-freebsd.zip to /usr/src/sys/dev/arcmsr directory.
	# cd /usr/src/sys/modules/arcmsr
	# make
	# cp /usr/obj/usr/src/$(uname -m).$(uname -m)/sys/modules/arcmsr/arcmsr.ko /boot/kernel
	# echo 'arcmsr_load="YES"' >> /boot/loader.conf
	# reboot

	where $(uname -m) is amd64 or i386 depend on OS you installed.
