4 - updating the driver – HighPoint RocketRAID 3510 User Manual
Page 56

Linux Driver Support
Step 3 Configure System to Automatically Load the Driver
To avoid typing in “insmod hptiop_00.ko” each time the operating system is booted,
the system must be instructed to automatically load the module during bootup. To
install the module, type in the following commands (first change to the directory
where the proper hptiop_00.ko file is located):
#cp hptiop_00.ko /lib/modules/‘uname –r‘/kernel/drivers/scsi.
#depmod
Then, instruct the system to load the module when booting. Use the following
commands:
#echo “modprobe hptiop_00” > /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
Step 4 Configure System to Mount Volumes during Startup
The system can be instructed to automatically mount the array(s) during startup by
modifying the file”/etc/fstab”.
For example, add the following line to tell the system to mount /dev/sda1 to location /
mnt/raid after startup:
/dev/sda1 /mnt/raid ext3 defaults 0 0
4 - Updating the Driver
1.If the original driver is installed in the system’s initrd (Initial RAM Disk) file (when
using a system installed to RockeRAID host adapter, for example), the driver module in
the initrd file should be updated using the mkinitrd command (or extract the initrd file
and replace the driver module manually).
2.If the original driver is installed in the /lib/modules/‘uname –r‘/kernel/drivers/scsi/
directory, and loaded by the script file (Example /etc/init.d/hptdriver) during the init
process, or the configure file (Example /etc/modules.conf), please replace it with the new
driver (hptiop_00.o or hptiop_00.ko).
6-3