![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
UNIX Configuration Guide:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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 DAT external autoloaders have 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 a DEC 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.
The HP SureStore DAT24 internal autoloaders also have an option selector on the rear panel. These are four on-off switches that allow you to set the value, as above. Instructions for setting these switches are provided in the Installation Guide. You should not need to change them after installation.
For a more detailed explanation, please see Autoloader Option Switch.
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.
/usr/sysgen/master.d/tpsc
/usr/sysgen/master.d/scsi
/var/sysgen/master.d/scsi
/var/sysgen/master.d/scsi
/var/sysgen/master.d/scsi
/var/sysgen/master.d/scsi
/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 },
For IRIX 6.3:
{DATTAPE,TPDAT,2,6,"HP","C1537A",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,
40, 4*60, 20*60, 5*60, 3*3600, 512, 64*512,
tpsc_default_dens_count, tpsc_default_hwg_dens_names,
tpsc_default_alias_dens_names,
{0}, 0, 0, 0
0, (u_char*)0 },
For IRIX 6.4/6.5 (for DDS4):
{ DATTAPE, TPDAT, 2, 6, "HP", "C5683A", 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 on 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, 4*60, 5*60, 3*3600, 512, 512*512,
tpsc_default_dens_count, tpsc_default_hwg_dens_names,
tpsc_default_alias_dens_names,
{0}, 0, 0, 0,
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.
{DATTAPE,TPDAT,2,8,"HP","HP35480A",0,0,{0,0,0,0},
{DATTAPE,TPDAT,2,6,"HP","C1533A",0,0,{0,0,0,0},
{DATTAPE,TPDAT,2,6,"HP","C1537A",0,0,{0,0,0,0},
{DATTAPE,TPDAT,2,6,"HP","C1557A",0,0,{0,0,0,0},
{DATTAPE,TPDAT,2,6,"HP","C5683A",0,0,{0,0,0,0},
{DATTAPE,TPDAT,2,6,"HP","C5713A",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. For a DAT40 drive and a DAT40x6 autoloader, replace *HP*C15* with *C****A* as the device identifier.
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 |
Recommended blocking factor in bytes for the upper limit of read/write commands |