Highpoint RR3122 Uživatelská příručka Strana 52

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 80
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 51
Linux Driver Support
Step 1 Obtain the Driver Module
You can extract the module file from the file modules.cgz on the driver disk. Using the
following commands:
# mount /dev/fd0
# cd /tmp
# gzip –dc /mnt/floppy/modules.cgz | cpio –idumv
Driver modules for all supported kernel versions will be extracted. You can find the driver
module for your running kernel under the directory that matches your kernel version.
Step 2 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 hptmviop.o resides and typing in the command
“insmod hptmviop.o”. If you are using a distribution with 2.6 kernel it should be “insmod
hptmviop.ko”.
Sometimes insmod will report “unresolved symbols” when you attempt to load the module.
This can be caused by two ways:
1. You haven’t loaded the SCSI module before loading hptmviop.o. Try to load SCSI
modules first.
E.g.
# modprobe scsi_mod
# modprobe sd_mod
# insmod ./hptmviop.o
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 Open Source package for RocketRAID 3122 controller.
To ensure the module has been loaded successfully, you can check the driver status by
typing in the command “cat /proc/scsi/hptmviop/x”, where x is the filename you found
under /proc/scsi/hptmviop/. 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 0 array using 2 disks. It will be registered to
6-5
Zobrazit stránku 51
1 2 ... 47 48 49 50 51 52 53 54 55 56 57 ... 79 80

Komentáře k této Příručce

Žádné komentáře