beautypg.com

HighPoint RocketRAID 2644X4 User Manual

Page 66

background image

Linux(Fedora,Red Hat,SuSE) Driver Support

The driver modules are packed in file /linux/suse /[arch]-[version]/install/update.tar.gz

on the driver diskette. The following example shows how to extract the driver modules

for SuSE 10.3 from driver diskette:

# mount /dev/fd0 /mnt/floppy

# cd /

# tar xfz /mnt/floppy/linux/suse/i386-10.3/install/update.tar.gz

The driver modules will be extracted to directory /lib/modules/[kernel-ver]/kernel/

drivers/scsi/.

Step 2 Test the Driver Module

You can test out the module to ensure that it works for your system by typing in the

command “insmod rr2644”.

Sometimes insmod will report “unresolved symbols” when you attempt to load the

module. This can be caused by two ways:

1. The SCSI module is not loaded in kernel. Try to load SCSI modules first.

E.g. # insmod scsi_mod

# insmod sd_mod

# insmod rr2644

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 the OpenBuild package for RocketRAID 2644 controller.

To ensure the module has been loaded successfully, you can check the driver status

by typing in the command “cat /proc/scsi/rr2644/x”, where x is the filename you found

under /proc/scsi/rr2644/. 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 5 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.

6-20