Step 3 Test The Driver Module - 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
root=/dev/hda5
Note
a) Your root file system may be not on /dev/hda5. Check the correct location and
modify the line " root=/dev/hda5" to match your system configuration. You can
use the " mount" command to see on which device you root file system is
mounted.
b) If your system needs an initial RAM disk image to boot up (especially when
you use a SCSI drive to boot), you should check existing sections in your
lilo.conf file for the " initrd=" line and add it to the new section. The default
RAM disk file name is initrd-2.4.2-2.img for Redhat 7.1, initrd-2.4.7-10.img
for Redhat 7.2.
3)
Tell lilo to boot the new kernel by default by modifying the " default=" line to
" default=linux.hpt37x2" .
4)
After you finish the modification, save the file and exit the editor, then use the
command " lilo" to install the new kernel.
5)
If " lilo" finishes without error, reboot from the new kernel to go to the next step,
" Test the Driver Module" .

Step 3 Test the Driver Module

You can test out the module to ensure that it works for your system by changing
working directory to the location where hpt37x2.o resides and typing in the command
"insmod hpt37x2.o".
Sometimes insmod will report "unresolved symbols" when you attempt to load the
module. This can be caused by two ways:
1) If your system is using a kernel which has not built-in SCSI support, you must load
the SCSI module before load hpt37x2.o. Try to load SCSI modules first.
E.g.
2) If you recompile the kernel with SCSI support and still receive the "unresolved
symbols" error, it may be caused that you have not configured symbol versioning
correctly. To correct it, recompile the kernel with symbol versioning configured. Please
refer to the kernel documents for more information.
To ensure the module has been loaded successfully, you can check the driver status by
typing in the command " cat /proc/scsi/hpt37x2/X" , where X is the filename you found
under /proc/scsi/hpt37x2/. 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.).
# insmod scsi_mod
# insmod sd_mod
# insmod hpt37x2.o
Root file system, see below
- 8 -

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hpt372Hpt372a

Table of Contents