

 Update device driver for Raid controllers that were not supported by build-in driver
========================================================================================
 
    1. Extract unRAIDServer-6.8.x-x86_64.zip to an USB flash drive with volume label 'UNRAID'.
    2. Extract arcmsr-1.50.0X.05-20210429-unRAID-6.8.x.zip to UNRAID USB flash drive /.
    3. Right-click on the file make_bootable and select Run as administrator.
       The syslinux utility will write the Master Boot Record and create a small hidden
       file named ldlinux.sys on the Flash device, making it bootable.
    4. Boot from unRAID USB flash drive.
    5. After boot up, login as root. type following commands to update device driver.

       # rmmod arcmsr
       # insmod /boot/arcmsr.ko.xz

    6. To make new arcmsr.ko.xz driver take effect for next boot, type following command to rebuild bzmodules.

       # cp /boot/buildbzmod /root
       # chmod +x buildbzmod
       # ./buildbzmod
       # reboot

B. Procedure to support Areca thunderbolt devices
==================================================

a. If thunderbolt device has been connected before booting system, then you should can see the thunderbolt device
   after system boot.

b. If you connect thunderbolt device after system boot, then follow below step to make thunderbolt device available.

    0. Extract arcmsr-1.50.0X.05-20210429-unRAID-6.8.x.zip to UNRAID USB flash drive / directory.

    1. If you have ever been done the following command, then skip to step 2.

       # /boot/buildbzmod
       # reboot

    2. Connecting the port of PC thunderbolt and port of Areca thunderbolt system.

    3. Rescan the pci bus to find intel thunderbolt bridge and device
       # echo 1 > /sys/bus/pci/rescan
       # lspci | grep Thunderbolt
       example:
       ...
       0a:00.0 System peripheral: Intel Corporation DSL5520 Thunderbolt 2 NHI [Falcon Ridge 4C 2013]
       3f:00.0 PCI bridge: Intel Corporation DSL5520 Thunderbolt 2 Bridge [Falcon Ridge 4C 2013]
       40:03.0 PCI bridge: Intel Corporation DSL5520 Thunderbolt 2 Bridge [Falcon Ridge 4C 2013]
       ...

    4. Remove the first PCI bridge after the 'System peripheral'
       ...
       0a:00.0 System peripheral: Intel Corporation DSL5520 Thunderbolt 2 NHI [Falcon Ridge 4C 2013]
  ---> 3f:00.0 PCI bridge: Intel Corporation DSL5520 Thunderbolt 2 Bridge [Falcon Ridge 4C 2013]
       40:03.0 PCI bridge: Intel Corporation DSL5520 Thunderbolt 2 Bridge [Falcon Ridge 4C 2013]
       ...
       # echo 1 > /sys/bus/pci/devices/0000\:3f\:00.0/remove

    5. Remove this system peripheral.
       ...
  ---> 0a:00.0 System peripheral: Intel Corporation DSL5520 Thunderbolt 2 NHI [Falcon Ridge 4C 2013]
       3f:00.0 PCI bridge: Intel Corporation DSL5520 Thunderbolt 2 Bridge [Falcon Ridge 4C 2013]
       40:03.0 PCI bridge: Intel Corporation DSL5520 Thunderbolt 2 Bridge [Falcon Ridge 4C 2013]
       ...
       # echo 1 > /sys/bus/pci/devices/0000\:0a\:00.0/remove

    6. Rescan the pci bus again to get Areca thunderbolt devices show up.
       # echo 1 > /sys/bus/pci/rescan
       # lspci
       example:
       ...
       0a:00.0 System peripheral: Intel Corporation DSL5520 Thunderbolt 2 NHI [Falcon Ridge 4C 2013]
       3f:00.0 PCI bridge: Intel Corporation DSL5520 Thunderbolt 2 Bridge [Falcon Ridge 4C 2013]
       40:03.0 PCI bridge: Intel Corporation DSL5520 Thunderbolt 2 Bridge [Falcon Ridge 4C 2013]
       ...
  ---> 41:00.0 RAID Bus Controller: Areca Technology Corp. ARC-188x Series PCIe 2.0/3.0 to SAS/SATA 6/12Gb RAID Controller

       Now detecting devices start, just a moment you will can access thunderbolt devices.

