DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
SCO OpenServer 5

O5hbacert(1Mcert)


O5hbacert -- test and certification suites for SCO OpenServer 5 SCSI drivers

Synopsis

Text is unmodified for SCO OpenServer 5!

  1. Install the test suites.

  2. Log in as ``hbacert''.

  3. Issue the run_tests command from a terminal window to display the menu.

  4. Select the Configure Tests menu option, select the test(s) to be configured, and populate the parameters as they are displayed.

  5. Return to the menu and select the Run Tests menu option. Select the test(s) to be run.

  6. You will be prompted for anything else that is required.

  7. When the tests are complete, select the Gather Results menu option.

  8. After the results are gathered, select the View Results menu option. Enter the name of the test for which you want to view the results, or press <Enter> to view all results.

Description

The hbacert test and certification suites are used to test SCSI HA and target drivers with their associated hardware.

Configuration parameters

Configuration parameters are defined for each test. These parameters are located in the /home/hbacert/testsuites directory tree, in files named <testname>/tetexec.cfg. For example, the hba-hd parameters are in the hd/tetexec.cfg file. In some cases, you will have to manually edit these files.

hba-CD-ROM parameters


CD_RDEVICE
Character special device name of the CD-ROM device.

CD_BDEVICE
Block special device name of the CD-ROM device.

CD_MPOINT
Name of the directory where the CD-ROM filesystem will be mounted. Default is /mnt.

CD_STRESS_ITER
Number of times to repeat the stress test.

hba-fdd parameters


FDD_BUF_SIZE
Number of bytes read or written on each I/O call to the floppy disk. A higher value for this parameter means that each read and write operation takes more time, so fewer calls are made. An optimum value for this parameter is 8192.

FDD_CMD_ITER
Number of times command tests (format, cpio, dd, and so forth) will be repeated on the floppy disk.

FDD_TYPE
Floppy disk density type, expressed in either MB or KB. Valid values are:


360KB
double density 360KB floppy disk

1.2MB
quad density 1.2 MB floppy disk

720KB
double density 720 KB floppy disk

1.44MB
high density 1.44 MB floppy disk

2.88MB
high density 2.88 MB floppy disk

STRESS_TIME
Floppy disk stress test duration in minutes. A recommended value for this parameter is 60 minutes.

hba-hd parameters


HD_RDEVICE
Character special file (node name) of the raw disk device on which the tests will be performed.

hba-mtest parameters


TEST_SCENARIO
Must be set to all.

No configuration is required for this suite of manual tests for HBA devices. See ``Individual test descriptions'' in Developing SDI storage drivers for detailed instructions about running these tests.

hba-pdix


DEV1_NAME
Character device name of the first device being tested. This device is used as the primary device for every test in this suite. For example, pass-through ioctls are tested only for the DEV1_NAME device.

DENSITY_CODE1
If DEV1_NAME is a tape device, this is the density code of the device.

DEV2_NAME
Character device name of the second device being tested.

DENSITY_CODE2
If DEV2_NAME is a tape device, this is the density code of the device.

hba-pcert


FLOP_DEV_NAME
Name of the floppy device.

FS_TYPE
Type of file system used for the HBA driver package on the floppy.

hba-tape


TAPE_DEVICE
Character special file (node name) of the tape device to be tested.

TAPE_DENSITY_CODE
Density of the tape device being tested. Values for each device type are:

QIC tape SCSI-2 density code
QIC-11 4
QIC-24 5
QIC-120 15
QIC-150 16
QIC-320 17
QIC-1350 18

 QIC tape   SCSI-2 density code
 QIC-11     4
 QIC-24     5
 QIC-120    15
 QIC-150    16
 QIC-320    17
 QIC-1350   18

ERASE_IMMEDIATE_BIT
Set to 1 if the erase option is supported in the background.

SKIP_FM_BACK
Set to 1 if skipping file marks backward is supported.

SKIP_BLK_BACK
Set to 1 if skipping blocks backward is supported.

Installation

Version applicability

sdi: 3, 4 on ddi: 7, 7mp, 8, 8mp

Files


/home/hbacert/testsuites/<testname>/tetexec.cfg
Files containing configuration parameters.

References

hbacert(1Mcert)

``Testing and debugging HBA drivers'' in Developing SDI storage drivers

README files located throughout the <$home>/hbacert/testsuites directory hierarchy


19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005