NetBSD/share/man/man4/man4.vax/ut.4

106 lines
3.8 KiB
Groff

.\" $NetBSD: ut.4,v 1.13 2017/08/01 11:11:17 wiz Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\" notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
.\" 3. Neither the name of the University nor the names of its contributors
.\" may be used to endorse or promote products derived from this software
.\" without specific prior written permission.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" from: @(#)ut.4 8.1 (Berkeley) 6/5/93
.\"
.Dd February 17, 2017
.Dt UT 4 vax
.Os
.Sh NAME
.Nm ut
.Nd
.Tn UNIBUS TU45
tri-density tape drive interface
.Sh SYNOPSIS
.Cd "ut0 at uba0 csr 0172440 vector utintr"
.Cd "tj0 at ut0 drive 0"
.Sh DESCRIPTION
NOTE: This driver has not been ported from
.Bx 4.4
yet.
.Pp
The
.Nm ut
interface provides access to a standard tape drive interface as
describe in
.Xr vax/mtio 4 .
Hardware implementing this on the
.Tn VAX
is typified by the System
Industries
.Tn SI
9700 tape subsystem.
Tapes may be read or written at 800, 1600, and 6250
.Tn BPI .
.Sh DIAGNOSTICS
.Bl -diag
.It tj%d: no write ring.
An attempt was made to write on the tape drive
when no write ring was present; this message is written on the terminal of
the user who tried to access the tape.
.It tj%d: not online.
An attempt was made to access the tape while it
was offline; this message is written on the terminal of the user
who tried to access the tape.
.It tj%d: can't change density in mid-tape.
An attempt was made to write
on a tape at a different density than is already recorded on the tape.
This message is written on the terminal of the user who tried to switch
the density.
.It "ut%d: soft error bn%d cs1=%b er=%b cs2=%b ds=%b."
The formatter indicated a corrected error at a density other
than 800bpi.
The data transferred is assumed to be correct.
.It "ut%d: hard error bn%d cs1=%b er=%b cs2=%b ds=%b."
A tape error occurred
at block
.It bn.
Any error is
fatal on non-raw tape; when possible the driver will have retried
the operation which failed several times before reporting the error.
.It tj%d: lost interrupt.
A tape operation did not complete
within a reasonable time, most likely because the tape was taken
off-line during rewind or lost vacuum.
The controller should, but does not, give an interrupt in these cases.
The device will be made available
again after this message, but any current open reference to the device
will return an error as the operation in progress aborts.
.El
.Sh SEE ALSO
.Xr vax/mt 1 ,
.Xr vax/mtio 4
.Sh HISTORY
The
.Nm
driver appeared in
.Bx 4.2 .
.Sh BUGS
May hang if a physical error (non-data) occurs.