HighPoint HPT370 Installation Manual Download Page 11

HPT370/372/372A Red Hat Linux Installation Guide 

-  9  - 

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 

Summary of Contents for HPT370

Page 1: ...2 372A Red Hat Linux Installation Guide HPT370 372 372AATA RAID Controller Red Hat Linux Installation Guide Version 1 3 Copyright 2001 HighPoint Technologies Inc All rights reserved Last updated on De...

Page 2: ...btain the Driver Module 4 Step 2 Update the Kernel Red Hat Linux 7 1 7 2 Only 4 Step 3 Test the Driver Module 8 Step 4 Configure System to Automatically Load the Driver 9 Step 5 Configure System to Mo...

Page 3: ...OD arrays or just use them as single disks Before installation you must remove all the disk drives which are not physically attached to HPT37x controller from your system Note If you have other SCSI a...

Page 4: ...st boot from a customized boot diskette to start installation There is no need of customized boot diskette for HPT372A controller First obtain the boot diskette image file rh71boot img for RedHat 7 1...

Page 5: ...just press Enter to continue 11 Continue the installation as normal You can refer to Red Hat Linux installation guide Note The system device mapping order is the same as the order shown in HPT37x BIOS...

Page 6: ...e driver since current driver does not support SMP For HPT370 372A you can just boot from Linux UP if it is available For HPT372 you must first update the kernel with vmlinuz hpt37x2 on the boot diske...

Page 7: ...ink to the source directory for RedHat 7 1 ln s usr src linux 2 4 2 usr src linux for RedHat 7 2 ln s usr src linux 2 4 7 10 usr src linux 2 Remove the following 2 lines from usr src linux drivers ide...

Page 8: ...5 Type in the following command make dep Note 1 For RedHat 7 0 7 1 the file usr src linux include linux modversions h may be incorrect after make dep in some Red Hat Linux distributions Please check i...

Page 9: ...d0 0 Check the correct location and modify the line root hd0 0 to match your system configuration b Your system s root file system may be not on dev hda5 Check the correct location and modify the line...

Page 10: ...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...

Page 11: ...b 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 th...

Page 12: ...ify the correct location of hpt37x2 o here Now add a line insmod lib hpt37x2 o to the file mnt initrd linuxrc just below the line of insmoding SCSI adapter s kernel module Example of linuxrc echo Load...

Page 13: ...ance until you finish rebuilding Generally rebuilding will automatically start if you have a spare disk for the RAID 1 array or you have replaced the failed disk In these cases the array needs to be s...

Page 14: ...ng the Driver If you are not booting from disks attached to HPT37x controller you can update the driver just by reinstalling it following the previous section Install HPT370 372 372A Driver on an Exis...

Page 15: ...the following software packages installed on your system 1 X Window system 2 gtk library v1 2 or later If you are using KDE or GNOME workstation they are already installed Otherwise you may check you...

Page 16: ...u can start it by choosing Menus menu bar Applications HighPoint ATA RAID Management Software On GNOME you can start it by choosing KDE menus GNOME Applications HighPoint ATA RAID Management Software...

Reviews: