Step 4 Configure System To Automatically Load The Driver - HighPoint HPT370 Installation Manual

Ata raid controller for red hat linux
Hide thumbs Also See for HPT370:
Table of Contents

Advertisement

HPT370/372/372A Red Hat Linux Installation Guide
Example
You have configured a RAID 0/1 array using 4 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 4 Configure System to Automatically Load the Driver

Most likely, you will not want to type in "insmod hpt37x2.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
hpt37x2.o can be located):
On Red Hat Linux 7.0, use
# install -d /lib/modules/2.2.16-22/scsi
# install -c hpt37x2.o /lib/modules/2.2.16-22/scsi
On Red Hat Linux 7.1, use
# install -d /lib/modules/2.4.2-2/kernel/drivers/scsi
# install -c hpt37x2.o /lib/modules/2.4.2-2/kernel/drivers/scsi
On Red Hat Linux 7.2, use
# install -d /lib/modules/2.4.7-10/kernel/drivers/scsi
# install -c hpt37x2.o /lib/modules/2.4.7-10/kernel/drivers/scsi
Then you should inform the system when to load the module.
1. If you have no other SCSI adapters installed, you can edit the file
"/etc/modules.conf" and add the following lines:
probeall block-major-8 scsi_mod sd_mod hpt37x2
options – k hpt37x2
This tells the kernel to try loading the SCSI and hpt37x2 modules whenever it tries to
access a SCSI device /dev/sd[a-z]. If you have SCSI support compiled in kernel, you
may remove the "scsi_mod" and "sd_mod" from that line.
The line " options – k hpt37x2" ensures the module will not be autocleaned. Otherwise
the RAID management software will not run properly if system loads the driver with
" autoclean" option.
Notice
Upon your system configuration the modules configuration file may be another file,
possibly deprecated "conf.modules" file. You may have to check which configuration
file you use and modify the correct one.
Now, reboot the system and try to type in the command "fdisk /dev/sda". The kernel
- 9 -

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hpt372Hpt372a

Table of Contents