Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ st(4S) — SunOS 3.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mtio(4)

ST(4S)  —  SPECIAL FILES

NAME

st − Driver for Sysgen SC 4000 (Archive) and the Emulex MT-02 Tape Controller

SYNOPSIS — SUN-3

controller sc0 at vme24d16 ? csr 0x200000 priority 2 vector scintr 64
controller si0 at vme24d16 ? csr 0x200000 priority 2 vector siintr 64
controller si0 at obio ? csr 0x140000 priority 2
tape st0 at sc0 drive 32 flags 1
tape st0 at si0 drive 32 flags 1

The first two controller lines above specify the first SCSI controller on a Sun-3/160.  The third controller line above specifies the first and only SCSI controller on a Sun-3/50.  The four tape lines specify the first and second tape drives on the first SCSI controller in a system. 

SYNOPSIS — SUN-2

controller sc0 at mbmem ? csr 0x80000 priority 2
controller sc0 at vme24 ? csr 0x200000 priority 2 vector scintr 64
controller sc1 at mbmem ? csr 0x84000 priority 2
tape st0 at sc0 drive 32 flags 1
tape st1 at sc1 drive 32 flags 1

The first two controller lines above specify the first and second SCSI controllers on a Sun-2/120 or Sun-2/170.  The third controller line above specifies the first controller on a Sun-2/160.  The four tape lines specify the first and second tape drives on the first and second SCSI controllers in a system. 

DESCRIPTION

In the synopsis lines above, the first line specifies the first SCSI controller on a Sun-2/120 or Sun-2/170; the second specifies the first such controller on a Sun-2/160; the third specifies the first SCSI controller on a Sun-3/160; the fourth specifies the first and only SCSI controller on a Sun-3/50.  The last two lines specify the first tape drive on the first SCSI controller in a system. 

The Sysgen tape controller is a SCSI bus interface to an Archive streaming tape drive.  It provides a standard tape interface to the device, see mtio(4), with some deficiencies listed under BUGS below. To utilize the QIC 24 format, access the logical device that is eight more than the default physical (QIC 11) device (that is, rst0 = QIC 11, rst8 = QIC 24).

FILES

/dev/rst[0-3]QIC 11 Format
/dev/rst[8-11]QIC 24 Format
/dev/nrst[0-3]non-rewinding QIC 11 Format
/dev/nrst[8-11]non-rewinding QIC 24 Format

SEE ALSO

mtio(4)
Sysgen SC4000 Intelligent Tape Controller Product Specification
Archive Intelligent Tape Drive Theory of Operation, Archive Corporation  (Sun 8000-1058-01)
Archive Product Manual (Sidewinder 1/4" Streaming Cartridge Tape Drive) (Sun 800-0628-01)
Emulex MT02 Tape Controller Technical Manual

DIAGNOSTICS

st∗: tape not online. 

st∗: no cartridge in drive. 

st∗: cartridge is write protected. 

st∗: format change failed. 

st∗: device not supported. 

BUGS

The tape cannot reverse direction so the BSF and BSR ioctls are not supported. 

The FSR ioctl is not supported. 

Most disk I/O over the SCSI bus is prevented when the tape is in use.  This is because the controller does not free the bus while the tape is in motion (even during rewind). 

When using the raw device, the number of bytes in any given transfer must be a multiple of 512.  If it is not, the device driver returns an error. 

The driver will only write an end of file mark on close if the last operation was a write, without regard for the mode used when opening the file.  This will cause empty files to be deleted on a raw tape copy operation. 

Some older systems may not support the QIC 24 device, and may complain (or exhibit erratic behavior) when the user attempts a QIC 24 device access. 

Sun Release 3.0β  —  Last change: 16 September 1985

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026