Driver Disk Installation Guide of ARC13x0 SAS HBA Controller for Ubuntu 16.10 (kernel 4.8.0-22) ================================================================================= ================================================================================= Linux SCSI driver technical support Mail address: support@areca.com.tw Web site: www.areca.com.tw ================================================================================== ================================================================================== ********************************************************************************** 1. Contents ** ********************************************************************************** readme.txt - the installation guide of arcsas driver for Ubuntu arcsas-ubuntu-16.10.zip - Areca HBA driver disk for system install arcsas_1.1.16ubuntu16.10-2_amd64.deb - driver for x86_64 system arcsas_1.1.16ubuntu16.10-2_i386.deb - driver for i386, i686 system arcsas-1.1.16-20161027.zip - driver source code ********************************************************************** 2. First time Installation ** ********************************************************************** A. Before Installation Extract arcsas-ubuntu-16.10.zip to an USB flash drive. B. Installation ubuntu Server 1) Insert the Areca driver USB flash disk to target system. 2) Start Ubuntu installation by booting from Ubuntu installation DVD disc. 3) On the Ubuntu menu, select "Install Ubuntu Server", then press F6 function key. Append "modprobe.blacklist=mvsas" to end of kernel boot options. 4) At "Select a language" screen, Press "CTRL+ALT+F2" to switch to console. Login with username 'ubuntu' and empty password. 5) Type the following commands: # mkdir /arcsas /tmp/arcsas # mount /dev/sda1 /arcsas # cp -rf /arcsas/* /tmp/arcsas # umount /arcsas 6) Remove the USB flash drive from the USB port and then type: # cd /tmp/arcsas # ./pre-install.sh 7) Press "Alt+F1" back to installation screen. 8) Continue the installation process. 9) Do not reboot after the installation is complete. press "Ctrl+Alt+F2" to switch to console and type the following commands: # mkdir /target/tmp/arcsas # cp /tmp/arcsas/* /target/tmp/arcsas # chroot /target # cd /tmp/arcsas # ./post-install.sh # exit 10) Press "Alt+F1" to installation screen and reboot. C. Installation ubuntu Desktop 1) Insert the Areca driver USB flash disk to target system. 2) Start Ubuntu installation by booting from Ubuntu installation DVD disc. When installation disc is accessing, press e periodically until select installation language show-up. 3) On the Ubuntu menu, stay cursor at "Try Ubuntu without installing", then press F6 function key. Append "modprobe.blacklist=mvsas" to end of kernel boot options. 4) At Ubuntu desktop, open a terminal console. 5) Type the following commands: # mount Find the driver USB device /dev/sda1 mount point, and unmount it. # sudo mkdir /arcsas /tmp/arcsas # sudo mount /dev/sda1 /arcsas # sudo cp -rf /arcsas/* /tmp/arcsas # sudo umount /arcsas 6) Remove the USB flash drive from the USB port and then type: # cd /tmp/arcsas # sudo ./pre-install.sh 7) Click the "Install Ubuntu 16.10LTS" icon, to start Ubuntu system installation. 8) Do not reboot after the installation has finished. Switch to terminal console and type the following commands: # sudo mkdir /target/tmp/arcsas # sudo cp /tmp/arcsas/* /target/tmp/arcsas # sudo chroot /target # cd /tmp/arcsas # sudo ./post-install.sh # exit 9) Now you can restart the system. ********************************************************************** 3. Installing raid driver on an Existing System ********************************************************************** For x86_64 system: # sudo dpkg -i arcsas_1.1.16ubuntu16.10-2_amd64.deb For i386, i686 system: # sudo dpkg -i arcsas_1.1.16ubuntu16.10-2_i386.deb # sudo mv /lib/modules/$(uname -r)/kernel/drivers/scsi/mvsas/mvsas.ko /lib/modules/$(uname -r)/kernel/drivers/scsi/mvsas/mvsas.k # sudo depmod -a # sudo update-initramfs -u Reboot you system to make arcsas driver take effect. ********************************************************************************** 4. To compile arcsas driver on an Existing System. ********************************************************************************** Unzip arcsas-1.1.16-20161027.zip to a directory # cd ./kernel-4.8.0/blobdriver # sudo make # sudo mkdir -p /lib/modules/$(uname -r)/weak-updates/arcsas # sudo cp arcsas.ko /lib/modules/$(uname -r)/weak-updates/arcsas/ # sudo mv /lib/modules/$(uname -r)/kernel/drivers/scsi/mvsas/mvsas.ko /lib/modules/$(uname -r)/kernel/drivers/scsi/mvsas/mvsas.k # sudo depmod -a # sudo update-initramfs -u Reboot you system to make arcsas driver take effect. ********************************************************************************** 5. Note!!!! ********************************************************************************** If during boot or installation panic by mvsas driver, try to add the kernel boot option as follow. Append following option to end of line that include "vmlinuz" kernel file. modprobe.blacklist=mvsas