HighPoint RocketRAID 4320 User Manual page 52

Sas host adapter
Hide thumbs Also See for RocketRAID 4320:
Table of Contents

Advertisement

Linux Driver Support
1. You haven't loaded the SCSI module before loading hptiop.o. Try to load SCSI
modules first.
E.g. # modprobe scsi_mod
# modprobe sd_mod
# insmod ./hptiop.o
2. You are using a kernel that is build off a different configuration with the driver. In
this case the precompiled drivers cannot be used. You can build a driver for your
kernel using Open Source package for RocketRAID 4320 controller.
To ensure the module has been loaded successfully, you can check the driver status
by typing in the command "cat /proc/scsi/hptiop/x", where x is the filename you
found under /proc/scsi/hptiop/. You should see the driver banner and a list of
attached drives. You can now access the drives as a SCSI device (the first device is /
dev/sda, then /dev/sdb, etc.).
Example: You have configured a RAID 0 array using 2 disks. It will be registered to
system as device /dev/sda. You can use "fdisk /dev/sda" to create a partition on it,
which will be /dev/sda1, and use "mkfs /dev/sda1" to setup a file system on the
partition. Then you can mount /dev/sda1 to somewhere to access it.
Step 3 Configure System to Automatically Load the Driver
Most likely, you will not want to type in "insmod hptiop.o" each time you boot up the
system. Therefore you must install the module and tell the system about it. To install
the module, type in the following commands (first change directory to where the
proper hptiop.ko locates):
# cp hptiop.ko /lib/modules/'uname –r'/kernel/drivers/scsi.
# depmod
Then you should inform the system load the module when system boots up with the
following command:
# echo "modprobe hptiop" > /etc/init.d/hptdriver
# chmod 755 /etc/init.d/hptdriver
# ln –sf /etc/init.d/hptdriver /etc/rc.d/rc3.d/S01hptdriver
# ln –sf /etc/init.d/hptdriver /etc/rc.d/rc4.d/S01hptdriver
# ln –sf /etc/init.d/hptdriver /etc/rc.d/rc5.d/S01hptdriver
6-5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents