  
		ARECA SATA/SAS Raid Controller

		for FreeBSD 13.2 Release

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

readme132.txt  - The readme file for ARECA FreeBSD Raid driver
arcmsr-freebsd13.2.zip - areca Raid adapter driver for freebsd release 13.2 
arcmsr-1.50.00.07-20230912-freebsd.zip     - areca driver source code

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

A. Before Installing

	a. Extract arcmsr-freebsd13.2.zip file:

		-->amd64
		-->i386
	   where drivers in amd64 directory is for FreeBSD 13.2 amd64
	         drivers in i386 directory is for FreeBSD 13.2 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 rebooting, 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
	
		Eject FreeBSD disc, USB Flash drive and reboot the system.


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

	a. Decompress arcmsr-freebsd13.2.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-20230912-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.
