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

			for FreeNAS 9.2.x 

  ===================  Driver User's Guide  =======================

	FreeNAS Raid driver technical support 
	mail address: support@areca.com.tw
	   Web site: www.areca.com.tw
  =================================================================


*********************************************************************************
*  1. Contents     
*********************************************************************************
readme.txt  - The readme file of ARECA Raid driver for FreeNAS
arcmsr-FreeNAS92.zip - areca SAS/SATA Raid adapter driver for FreeNAS release 9.2.x

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

	A. Before Installing

		a. Decompress arcmsr-FreeNAS92.zip file by:

			pkunzip arcmsr-FreeNAS92.zip -->x64
			                             -->x86
			where drivers in x64 directory is for FreeNAS-9.2.x-x64
			      drivers in x86 directory is for FreeNAS-9.2.x-x86

		c. copy driver in x64 or x86 to a USB flash drive or a floppy diskette.



	B. Installation

		a. Installing system

			1 Insert the FreeNAS Installation CD/DVD.
			2 Insert the USB flash/floppy drive or diskette.
			3 Restart your computer.
			4 When "Welcome to FreeNAS!" screen display, Press ESC to escape to loader prompt.
			5 Type "lsdev" to find USB flash/floppy drive disk number. Here, we assume it is disk4.
			6 Type "load disk4s1:arcmsr.ko"
			7 Type "boot" to continue the FreeNAS installation.
			
		b. Updating driver module arcmsr.ko  ---- !!! IMPORTANT IMPORTANT !!!

			Before Exit install and reboot,
			you have to overwrite /boot/kernel/arcmsr.ko by arcmsr.ko in flash/floppy drive.

			- 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 the arcmsr.ko and loader.conf
			We assume that USB flash( or floppy) drive is device da4.(the device number depends on how many drives installed in your system)

			# mkdir /mnt/mnt1
			# mount_msdosfs /dev/da4s1 /mnt/mnt1

			And we assume that FreeNAS OS was installed on da0s1.
			# mkdir /mnt/mnt0
			# mount /dev/da0s1a /mnt/mnt0
			# cp -f /mnt/mnt1/arcmsr.ko /mnt/mnt0/boot/kernel
			# echo 'arcmsr_load="YES"' >> /mnt/mnt0/boot/loader.conf
			# umount /mnt/mnt0
			# umount /mnt/mnt1
			# exit
	
			Remove the flash/floppy drive or diskette.

		c. Select 3) Reboot System, to reboot the system

*********************************************************************************
*  3. To install arcmsr driver into an existing FreeNAS system
*********************************************************************************
	At Console setup menu, enter option 9 to command shell.
	Type following command to install arcmsr driver
	# mount -u -a -o rw /
	# cp arcmsr.ko /boot/kernel
	# echo 'arcmsr_load="YES"' >> /boot/loader.conf
	# mount -u -a -o ro /
	# exit
	At Console setup menu, enter option 10 to reboot server.

	   


