1.\" $NetBSD: ut.4,v 1.9 2003/08/07 10:31:14 agc Exp $ 2.\" 3.\" Copyright (c) 1983, 1991, 1993 4.\" The Regents of the University of California. All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: 9.\" 1. Redistributions of source code must retain the above copyright 10.\" notice, this list of conditions and the following disclaimer. 11.\" 2. Redistributions in binary form must reproduce the above copyright 12.\" notice, this list of conditions and the following disclaimer in the 13.\" documentation and/or other materials provided with the distribution. 14.\" 3. Neither the name of the University nor the names of its contributors 15.\" may be used to endorse or promote products derived from this software 16.\" without specific prior written permission. 17.\" 18.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 19.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 20.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 21.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 22.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 23.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 24.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 26.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28.\" SUCH DAMAGE. 29.\" 30.\" from: @(#)ut.4 8.1 (Berkeley) 6/5/93 31.\" 32.Dd June 5, 1993 33.Dt UT 4 vax 34.Os 35.Sh NAME 36.Nm ut 37.Nd 38.Tn UNIBUS TU45 39tri-density tape drive interface 40.Sh SYNOPSIS 41.Cd "ut0 at uba0 csr 0172440 vector utintr" 42.Cd "tj0 at ut0 drive 0" 43.Sh DESCRIPTION 44NOTE: This driver has not been ported from 45.Bx 4.4 46yet. 47.Pp 48The 49.Nm ut 50interface provides access to a standard tape drive interface as 51describe in 52.Xr mtio 4 . 53Hardware implementing this on the 54.Tn VAX 55is typified by the System 56Industries 57.Tn SI 589700 tape subsystem. Tapes may be read or written 59at 800, 1600, and 6250 60.Tn BPI . 61.Sh DIAGNOSTICS 62.Bl -diag 63.It tj%d: no write ring. 64An attempt was made to write on the tape drive 65when no write ring was present; this message is written on the terminal of 66the user who tried to access the tape. 67.Pp 68.It tj%d: not online. 69An attempt was made to access the tape while it 70was offline; this message is written on the terminal of the user 71who tried to access the tape. 72.Pp 73.It tj%d: can't change density in mid-tape. 74An attempt was made to write 75on a tape at a different density than is already recorded on the tape. 76This message is written on the terminal of the user who tried to switch 77the density. 78.Pp 79.It "ut%d: soft error bn%d cs1=%b er=%b cs2=%b ds=%b." 80The formatter indicated a corrected error at a density other 81than 800bpi. The data transferred is assumed to be correct. 82.Pp 83.It "ut%d: hard error bn%d cs1=%b er=%b cs2=%b ds=%b." 84A tape error occurred 85at block 86.Pp 87.It bn. 88Any error is 89fatal on non-raw tape; when possible the driver will have retried 90the operation which failed several times before reporting the error. 91.Pp 92.It tj%d: lost interrupt. 93A tape operation did not complete 94within a reasonable time, most likely because the tape was taken 95off-line during rewind or lost vacuum. The controller should, but does not, 96give an interrupt in these cases. The device will be made available 97again after this message, but any current open reference to the device 98will return an error as the operation in progress aborts. 99.El 100.Sh SEE ALSO 101.Xr mt 1 , 102.Xr mtio 4 103.Sh HISTORY 104The 105.Nm 106driver appeared in 107.Bx 4.2 . 108.Sh BUGS 109May hang if a physical error (non-data) occurs. 110