  
	ARECA ARC11xx, 12xx, 16xx, 18xx SATA/SAS Raid Controller driver

			for FreeNAS 9.3.x 

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

readme.txt  - The readme file of ARECA Raid driver for FreeNAS
arcmsr.ko   - Raid driver for FreeNAS release 9.3.x

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

A. Before Installing

	Copy driver arcmsr.ko to a USB flash drive.


B. Installation

	a. Installing system

		1. Power on your computer.
		2. Insert the FreeNAS Installation CD/DVD and driver USB.
		3. When "FreeNAS 9.10-RELEASE Console Setup" window display, Press 2 to shell and ENTER.
		   # mount -t msdosfs /dev/da0s1 /mnt
		   # kldload /mnt/arcmsr.ko
		   # umount /mnt
		   # exit
		4. Now start to install OS.
		5. After system is installed completely, enter into command shell before reboot.

	        6. Updating driver module arcmsr.ko  <---- !!! IMPORTANT IMPORTANT !!!

		- After system is installed completely, and system return to
		"FreeNAS xxx Console Setup" screen:
		Select 2) Shell, system will enter into command prompt.
	
		Type following command to update arcmsr.ko and grub.cfg
		We assume that USB flash drive is device da0.

		# mkdir /tmp/mnt /tmp/mnt1
		# mount -t msdosfs /dev/da0s1 /tmp/mnt1
		# zfs set mountpoint=/tmp/mnt freenas-boot/ROOT/default
		# cp -f /tmp/mnt1/arcmsr.ko /tmp/mnt/boot/kernel
		# umount /tmp/mnt1
		# zfs set mountpoint=legacy freenas-boot/ROOT/default
		# exit

		Remove USB flash drive.

		Select 3) Reboot System, to reboot the system

	b. During the very first boot, type e to edit grub configuration as below.

		kfreebsd_loadenv /ROOT/default@/boot/device.hints
		kfreebsd_module_elf /ROOT/default/@/boot/kernel/arcmsr.ko         <-------- adding line

	c. After system boot completely, enter 9 to command shell.

		# ee /boot/grub/grub.cfg

		kfreebsd_loadenv /ROOT/default@/boot/device.hints
		kfreebsd_module_elf /ROOT/default/@/boot/kernel/arcmsr.ko         <-------- adding line


*********************************************************************************
*  3. To install arcmsr driver into an existing FreeNAS system
*********************************************************************************
	At Console setup menu, enter 9 to command shell.
	Insert USB flash drive which with adapter driver for your system.
	Type following command to install arcmsr driver, here assume driver disk is da1.
	# mkdir /mnt1
	# mount -t msdosfs /dev/da1s1 /mnt1
	# cp /mnt1/arcmsr.ko /boot/kernel

	Add a loading driver line in grub.cfg as below.
	# ee /boot/grub/grub.cfg
	
	kfreebsd_loadenv /ROOT/default@/boot/device.hints
	kfreebsd_module_elf /ROOT/default/@/boot/kernel/arcmsr.ko                 <-------- adding line
	
	# umount /mnt1
	# exit
	At Console setup menu, enter 13 to reboot server.

	   


