RocketRAID 2680 Fedora Linux Installation Guide
RocketRAID 2680 SAS Controller
Fedora Linux
Installation Guide
Version 1.2
Copyright © 2012HighPoint Technologies, Inc.
All rights reserved.
Last updated on August 10, 2012
RocketRAID 2680 Fedora Linux Installation Guide
Table of Contents
....................................................................................................................... 1
1 Overview
Overview.......................................................................................................................
2680 controller
................................................................. 1
2 Installing Fedora Linux on RR
RR2680
controller.................................................................
Step 1 Prepare Your Hardware for Installation................................................................. 1
Step 2 Check System BIOS Settings.............................................................................. 1
Step 3 Prepare the Driver Diskette................................................................................. 1
Step 4 Install Fedora Linux........................................................................................... 2
2680 driver on an Existing System
.............................................................. 7
3 Installing RR
RR2680
System..............................................................
Step 1 Disable intel iommu........................................................................................... 7
Step 2 Obtain and install the Driver Module.................................................................... 7
Step 3 Update grub.cfg................................................................................................. 7
Step 4 Configure System to Mount Volumes when Startup................................................ 7
.................................................................................................... 8
4 Monitoring the Driver
Driver....................................................................................................
....................................................................................................... 8
5 Updating the Driver
Driver.......................................................................................................
........................................................................... 8
6 Installing RAID Management Software
Software...........................................................................
................................................................. 8
7 Rebuilding Driver Module for System Update
Update.................................................................
i
RocketRAID 2680 Fedora Linux Installation Guide
1 Overview
The purpose of this document is to provide clear instructions on how to install and use
RocketRAID Controller on Fedora Linux system.
2680 controller
2 Installing Fedora Linux on RR
RR2680
If you would like to install Fedora Linux onto drives attached to RR2680 controller, please
perform the following operations:
Step 1 Prepar
Preparee Your Hardware for Installation
After you attach your hard disks to RR2680 controller, you can use RR2680 BIOS Setting
Utility to configure your hard disks as RAID arrays, or just use them as single disks.
Before installation, you must remove all the disk drives , which are not physically attached
to RR2680 controller, from your system.
Note
If you have other SCSI adapters installed, you must make sure the RR2680 controller
BIOS will be loaded firstly. If not, try to move it to another PCI slot. Otherwise you may
be unable to boot up your system.
Step 2 Check System BIOS Settings
In your system BIOS SETUP menu, change Boot Sequence in such a way that the system
will first boot from floppy or CDROM, and then from SCSI. Refer to your BIOS manual to
see how to set boot sequence.
If your BIOS settings do not support such a boot sequence, you can first set it to boot from
floppy or CDROM. After you finish installation, set SCSI as the first boot device to boot
up the system.
Step 3 Prepar
Preparee the Driver Diskette
In the following document, the floppy diskette stands for the floppy diskette which is
inserted into the on-board floppy controller, the USB floppy diskette stands for the floppy
diskette inserted into the USB floppy controller, the USB diskette stands for USB flash
disk and USB harddisk, the USB storage stands for USB diskette and USB floppy
controller.
Put the diver files on a (USB) floppy diskette.
Windows:
Create a MS-DOS filesystem and extract the archive file to the (USB) floppy diskette.
Linux:
# mkdosfs /dev/fd0
- 1 -
RocketRAID 2680 Fedora Linux Installation Guide
# mkdir -p /mnt/floppy
# mount /dev/fd0 /mnt/floppy
2680
-fedora# tar xzvf rr
rr2680
2680-fedora-fedora-xx.tar.gz -C /mnt/floppy
# umount /mnt/floppy
Note
If the floppy diskette is inserted into an USB floppy controller and the device name in the
linux system is sda
sda, then replace fd0 in the upper command with sda: (e.g.)
# mkdosfs /dev/sda
The driver also could be put on a USB diskette, and the driver disk can be created as the
floppy diskette. For example: use the first partition of the USB diskette sdb
sdb, then replace
fd0 in the upper command with sdb1
sdb1::
# mkdosfs /dev/sdb1
Fedora Core 5 does not support install driver from USB diskette. You should extract driver
to a floppy diskette to install Fedora Core 5.
Note
updates
updates
When the command line comes with "updates
updates", eg you type "updates
updates" before installation,
then the driver disk should be ext2 filesystem or when the installation continues to after
load the " Update Disk Source ", it will complain of failing to load the update medium.
So the driver disk for Fedora Core 5 should be formatted as ext2 filesystem.
# mke2fs /dev/fd0
Step 4 Install Fedora Linux
Insert the driver floppy diskette in the floppy drive or insert the USB diskette in to the
USB port.
1) Start installing Fedora Linux by booting from the installation DVD.
2) On the startup welcome screen.
Tab
sas
.noprobe=1
Press "Tab
Tab", then type in " mv
mvsas
sas.noprobe=1
.noprobe=1"(without quotation mark) .
If you install Fedora 15 or Fedora 16, you should type more
intel_iommu=off
"intel_iommu=off
intel_iommu=off".
Press Enter to start installation.
- 2 -
RocketRAID 2680 Fedora Linux Installation Guide
When the installation switches to the graphical installation, press“Ctrl+ALT+F2” to
switch the shell on console 2 before select "Next".
Type the following commands to load the RR2680 driver:
# mkdir /dd
# mount /dev/sda1 /dd
# cp -r /dd /tmp/hptdd
- 3 -
RocketRAID 2680 Fedora Linux Installation Guide
# umount /dd
unplug all USB storage devices from system before execute following command:
dd/
fedora-install-step1.sh
# sh /tmp
/tmp//hpt
hptdd/
dd/fedora-install-step1.sh
3)
ALT+F6
Next
Press “ALT+F6
ALT+F6” to switch back to installation screen and select “Next
Next” to continue
installation.
Continue the installation as usual. When it comes to partitioning the disk:
Review and modify partitioning layout
Make sure the "Review
layout" is selected . Take care
when the installation continues to the boot loader settings. Make sure the Boot
Loader is installed to the correct position on the RR2680.
- 4 -
RocketRAID 2680 Fedora Linux Installation Guide
4)
Refer to Fedora Linux installation guide to continue the installation and when
installation finishes and prompts you to reboot the system:
CRL+ALT+F2
press “CRL+ALT+F2
CRL+ALT+F2” to switch console 2 and type the following commands:
# cp -r /tmp/hptdd /mnt/sysimage/tmp/hptdd
# chroot /mnt/sysimage
# sh /tmp/hptdd
tmp/hptdd//fedora-install-step2.sh
# rm -rf /tmp/hptdd
- 5 -
RocketRAID 2680 Fedora Linux Installation Guide
# exit
Then switch back to console 6 and finish the installation.
5)
6)
Skip following two steps if the installed system is neither Fedora 15 nor Fedora 16.
Reboot this system and press “ESC” to stop at grub interface, press “e” to edit grub
boot entry: add "intel_iommu=off" at the end of line which headed linux.
Press F10 to boot.
Open file "/boot/grub2/grub.cfg" and add "intel_iommu=off" at the end of the line
"linux
/vmlinuz-3...."
- 6 -
RocketRAID 2680 Fedora Linux Installation Guide
Now you've finished installation. If your system hang on after kernel update, remember
adding kernel option "intel_iommu=off" at booting and add it to the /boot/grub2/grub.cfg
file.
2680 driver on an Existing System
3 Installing RR
RR2680
Note
If you use a SCSI adapter to boot your system, you must make sure the RR2680 controller
BIOS will be loaded after that adapter’s BIOS. If not, try to move it to another PCI slot.
Otherwise you may be unable to boot up your system.
Skip step1 and step 3 if the installed system is neither Fedora 15 nor Fedora 16.
Step 1 Disable intel iommu
See Step 4.5 Of Chapter 2.
Step 2 Obtain and install the Driver Module
Extract the driver archive to a temporary directory and execute the install.sh to install the
driver to the system. For example:
# mkdir /tmp/dd
2680
-fedora-9.tar.gz -C /tmp/
dd
# tar xzvf rr
rr2680
2680-fedora-9.tar.gz
/tmp/dd
# cd /tmp/dd
# sh install.sh
If the driver of previous version has been in the initrd image, the installer will update the
initrd image or it will make the driver automatically loaded while system up.
Step 3 Update grub.cfg.
See Step 4.6 Of Chapter 2.
Step 4 Configur
Configuree System to Mount Volumes when Startup
Now you can inform the system to automatically mount the array by modifying the file
- 7 -
RocketRAID 2680 Fedora Linux Installation Guide
/etc/fstab. E.g. you can add the following line to tell the system to mount /dev/sda1 to
raid after startup:
location /mnt/
/mnt/raid
raid
ext
/dev/sda1
/mnt/
/mnt/raid
ext33
defaults 0 0
4 Monitoring the Driver
Once the driver is running, you can monitor it through the Linux proc file system support.
There is a special file under /proc/scsi/rr2680/.
Note
The file name is the SCSI host number allocated by OS. If you have no other SCSI cards
installed, it will be 0. In the following sections, we will use x to represent this number.
Using the following command to show driver status:
rr
2680
/x
# cat /proc/scsi/
/proc/scsi/rr
rr2680
2680/x
This command will show the driver version number, physical device list and logical device
list.
5 Updating the Driver
Update the driver is the same as installing driver on an Existing System, so refer to section
2680 driver on an Existing System
3 Installing RR
RR2680
System.
6 Installing RAID Management Software
HighPoint RAID Management Software is used to configure and keep track of your hard
disks and RAID arrays attached to RR2680 controller. Installation of the management
software is optional but recommended.
Please refer to HighPoint RAID Management Software documents about more
information.
7 Rebuilding Driver Module for System Update
When the system updates the kernel packages, the driver module rr2680.ko should be built
and installed manually before reboot.
To build the driver module, the RR2680 open source package and the following building
packages are needed: gcc, kernel-devel. The open source package can be got from
HighPoint website: http://www.highpoint-tech.com while the building tools can be
installed from the Fedora project website: http://fedoraproject.org
Note
Note: the package version of kernel-devel should be the same to the version of updated
kernel package.
Refer to the REAME file distributed with HighPoint RR2680 open source package on how
to build and install the driver module.
- 8 -
Download PDF
Similar pages