Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mtio(4)

ST(4S)  —  DEVICES AND NETWORK INTERFACES

NAME

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

CONFIG — SUN-3 SYSTEM

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

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

The drive value is calculated using the formula:

8∗target+unit

where target is the SCSI target, and unit is the SCSI logical unit. 

CONFIG — SUN-2 SYSTEM

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

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

The drive value is calculated as described above. 

CONFIG — Sun386i

controller wds0 at obmem ? csr 0xFB000000 dmachan 7 irq 16 priority 2
tape st0 at wds0 drive 32 flags 1

The drive value is calculated as described above. 

DESCRIPTION

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).  QIC 24 is the preferred format on Sun386i systems. 

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

DIAGNOSTICS

st∗: tape not online.
st∗: no cartridge loaded.
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.  Empty files will 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 4.0  —  Last change: 18 February 1988

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