[HP SURESTORE DAT USER'S GUIDE]
[HOME][SEARCH][HELP]

UNIX Configuration Guide:
Silicon Graphics IRIX

Configuration Switch Settings

Autoloader Switch Settings

Installation Procedure for IRIX

MTCAN and Constants Values


Configuration Switch Settings

The configuration settings for an HP SureStore DAT drive installed on a Silicon Graphics system should be as follows:
 

1 2 3 4 5 6 7 8

On

On

Off

On

On

Off

Off

On

With these switch settings, SCSI parity checking is turned off. Setting switch 8 to OFF will disable MRS.

Silicon Graphics DMA hardware requires a 32-bit aligned address. HP DDS drives limit disconnects to a 16-bit alignment. For this reason, this switch setting disables the data phase disconnect. You should also keep block transfers short, as described in the installation procedure below.


HP SureStore DAT24x6 Autoloader Option Switch Settings

The HP SureStore DAT24x6e autoloader has an additional selector switch on the rear panel. This switch sets different configurations for the autoloader mechanism and are read by the firmware at power-on. For an IRIX system, this switch should be set to 7 (the default value), which sets the internal switches as follows:

Option
Switch
Value
Internal
Switch
Settings

1

2

3

4

7

On

On

On

Off

Note: Set the value with the autoloader switched off.

For a more detailed explanation, please see Autoloader Option Switch.


Installation Procedure for IRIX

1. Select the name of the kernel configuration file for your version of IRIX from the list below and open it with a text editor.

  • For IRIX 5.1 or earlier, this file is /usr/sysgen/master.d/tpsc
  • For IRIX 5.2, this file is: /usr/sysgen/master.d/scsi
  • For IRIX 5.3, this file is: /var/sysgen/master.d/scsi
  • For IRIX 6.2, this file is: /var/sysgen/master.d/scsi

2. Find the following entry in the kernel configuration file and copy it to a new location in the file where you can edit it as appropriate for your tape drive:

For IRIX 5.x:

{DATTAPE,TPDAT,7,6,"ARCHIVE","Python",0,0,{0, 0, 0, 0}, MTCAN_BSF|MTCAN_BSR|MTCAN_APPEND|MTCAN_SETMK|MTCAN_PART| MTCAN_PREV|MTCAN_SYNC|MTCAN_SPEOD|MTCAN_CHKRDY|MTCAN_VAR| MTCAN_SETSZ|MTCAN_SILI|MTCAN_AUDIO|MTCAN_SEEK|MTCAN_CHTYPEANY, /*minimum delay to I/O is 4 minutes, because when a retry is
*performed, the drive retries a number of times, and then
*rewinds to BOT, repositions, and tries again.*/
40,4*60,20*60,5*60,512,512*512},

For IRIX 6.2:

{DATTAPE,TPDAT,2,6,"HP","C1557A",0,0,{0},
MTCAN_BSF|MTCAN_BSR|MTCAN_APPEND|MTCAN_SETMK|MTCAN_PART|
MTCAN_PREV|MTCAN_SYNC|MTCAN_SPEOD|MTCAN_CHKRDY|MTCAN_VAR|
MTCAN_SETSZ|MTCAN_SILI|MTCAN_SEEK|MTCAN_CHTYPEANY|MTCAN_COMPRESS,
/*minimum delay to I/O is 4 minutes, because when a retry is
*performed, the drive retries a number of times, and then
*rewinds to BOT, repositions, and tries again.*/
40, 4*60, 20*60, 5*60,512, 64*512, 0, (u_char*)0 },

An explanation of the functions of the MTCAN values and constants is given in the MTCAN and Constants Values section.

3. Edit the first line of the entry to suit your tape drive by making the changes shown in bold.

  • For an HP SureStore Tape 5000 drive, change the first line to read:

    {DATTAPE,TPDAT,2,8,"HP","HP35480A",0,0,{0,0,0,0}, 

  • For an HP SureStore DAT8 drive, change the first line to read:

    {DATTAPE,TPDAT,2,6,"HP","C1533A",0,0,{0,0,0,0},

  • For an HP SureStore DAT24 drive, change the first line to read:

    {DATTAPE,TPDAT,2,6,"HP","C1537A",0,0,{0,0,0,0}, 

  • For an HP SureStore DAT24x6e autoloader, change the first line to read:

    {DATTAPE,TPDAT,2,6,"HP","C1557A",0,0,{0,0,0,0}, 

4. Remove MTCAN_AUDIO from the fourth line of the entry.

5. Change the blocking factor from 512*512 to 64*512, (64 KB blocks) on the last line of the entry. This will keep data transfers short and avoid tying up the bus.

6. Once you have made your changes, recompile the kernel by running autoconfig and then reboot the system. When you reboot, the device files for the DAT drive will be created automatically.

The following device files will be created in /dev/rmt:

tps0d3 tps0d3cnrsv tps0d3cv tps0d3nrv tps0d3stat
tps0d3c tps0d3cnrv tps0d3nr tps0d3ns  
tps0d3cnr tps0d3cns tps0d3nrns tps0d3nsv  
tps0d3cnrns tps0d3cnsv tps0d3nrnsv tps0d3s  
tps0d3cnrnsv tps0d3cs tps0d3nrs tps0d3sv  
tps0d3cnrs tps0d3csv tps0d3nrsv tps0d3v  

These device file names can be interpreted as follows:

Device Name

Function

c

Compression

nr

No rewind on close

v

Device supports variable block sizes

ns

Device does not byte-swap

s

Device does byte-swap

stat

Allows the device to be used when one of the other device files specifying the same physical device is already opened

For example, the device file tps0d3 indicates a device on controller card 0 at SCSI ID 3, and the device file tps0d3nrv indicates a device on controller card 0 at SCSI ID 3 that does not rewind on close and supports variable block sizes.

Note: Some versions of IRIX 6.x (depending on how the OS was installed and which patches are installed) may not create the compression device files using the procedure above. If this is the case:

1. Locate the file /dev/MAKEDEV.d/TPS_base.

2. After the line starting *Device:*Python*, add the following new entry:

   *Device:*HP*C15*)               # HP DDS with DC
   mdev=`expr $mdev + 8`;
   mknod ${prf}$1c c ${C_TPS} $mdev;
   ;;

Note that this is only applicable for DAT8 (C1533A), DAT24 (C1537A), and DAT24x6 (C1557A) models. For a Tape 5000 drive, replace *HP*C15* with HP35480A as the device identifier.

3. For IRIX 6.2 only, the entry should end with:

   0, (u_char *)0 },

MTCAN and Constants Values

The MTCAN values have the following functions:

MTCAN value

Capability Enabled

APPEND

Append to existing tape data

BSF

Backspace file

BSR

Backspace record

CHKRDY

Determine if tape cartridge is present

CHTYPEANY

Change density and/or fixed to variable at points other than beginning of tape

COMPRESS

Compression

PART

Multiple partitions

PREV

Prevent media removal

SEEK

Seek to a particular block

SETMK

Setmarks

SETSZ

Fixed block size can be set

SILI

Suppress illegal length indicators

SPEOD

Space to end of data

SYNC

Synchronous mode SCSI

VAR

Variable block sizes

The constants have the following functions:

Constant

Description

40

Transfer time-out in "inverse ticks"

4*60

Minimum time-out in seconds for any command

4*60

Space command time-out in seconds

5*60

Time-out in seconds for long operations (such as rewinds)

512

Default block size in bytes for fixed block size mode

64*512
or
512*512

Recommended blocking factor in bytes for the upper limit of read/write commands

 

 
[HP SURESTORE DAT USER'S GUIDE][HOME][SEARCH][HELP][BACK TO TOP]