1*47674Scael.\" Copyright (c) 1980, 1991 Regents of the University of California. 2*47674Scael.\" All rights reserved. 320690Smckusick.\" 4*47674Scael.\" %sccs.include.redist.man% 520690Smckusick.\" 6*47674Scael.\" @(#)tu.4 6.2 (Berkeley) 03/27/91 7*47674Scael.\" 8*47674Scael.Dd 9*47674Scael.Dt TU 4 vax 10*47674Scael.Os BSD 4 11*47674Scael.Sh NAME 12*47674Scael.Nm tu 13*47674Scael.Nd 14*47674Scael.Tn VAX-11/730 15*47674Scaeland 16*47674Scael.Tn VAX-11/750 17*47674Scael.Tn TU58 18*47674Scaelconsole cassette interface 19*47674Scael.Sh SYNOPSIS 20*47674Scael.Cd "options MRSP" 21*47674Scael(for 22*47674Scael.Tn VAX-11/750 Ns 's 23*47674Scaelwith an 24*47674Scael.Tn MRSP 25*47674Scaelprom) 26*47674Scael.Sh DESCRIPTION 2720691SmckusickThe 28*47674Scael.Nm tu 29*47674Scaelinterface provides access to the 30*47674Scael.Tn VAX 31*47674Scael11/730 and 11/750 32*47674Scael.Tn TU58 33*47674Scaelconsole 3420691Smckusickcassette drive(s). 35*47674Scael.Pp 36*47674ScaelThe interface supports only block 37*47674Scael.Tn I/O 38*47674Scaelto the 39*47674Scael.Tn TU58 40*47674Scaelcassettes. 4120691SmckusickThe devices are normally manipulated with the 42*47674Scael.Xr arff 8 4320691Smckusickprogram using the ``f'' and ``m'' options. 44*47674Scael.Pp 4520691SmckusickThe device driver is automatically included when a 4620691Smckusicksystem is configured to run on an 11/730 or 11/750. 47*47674Scael.Pp 48*47674ScaelThe 49*47674Scael.Tn TU58 50*47674Scaelon an 11/750 uses the Radial Serial Protocol 51*47674Scael.Pq Tn RSP 5220691Smckusickto communicate with the cpu over a serial line. This 5320691Smckusickprotocol is inherently unreliable as it has no flow 5420691Smckusickcontrol measures built in. On an 11/730 the Modified 5520691SmckusickRadial Serial Protocol is used. This protocol incorporates 5620691Smckusickflow control measures which insure reliable data transfer 5720691Smckusickbetween the cpu and the device. Certain 11/750's have 58*47674Scaelbeen modified to use the 59*47674Scael.Tn MRSP 60*47674Scaelprom used in the 11/730. 61*47674ScaelTo reliably use the console 62*47674Scael.Tn TU58 63*47674Scaelon an 11/750 under 64*47674Scael.Tn UNIX , 65*47674Scaelthe 66*47674Scael.Tn MRSP 67*47674Scaelprom is required. For those 11/750's without 68*47674Scaelan 69*47674Scael.Tn MRSP 70*47674Scaelprom, an unreliable but often 7120691Smckusickuseable interface has been developed. 7220691SmckusickThis interface uses an assembly language ``pseudo-dma'' routine 7320691Smckusickto minimize the receiver interrupt service latency. 7420691SmckusickTo include this code in 75*47674Scaelthe system, the configuration must 76*47674Scael.Em not 77*47674Scaelspecify the 78*47674Scaelsystem will run on an 11/730 or use an 79*47674Scael.Tn MRSP 80*47674Scaelprom. 8120691SmckusickThis unfortunately makes it impossible to configure a 82*47674Scaelsingle system which will properly handle 83*47674Scael.Tn TU58 Ns 's 84*47674Scaelon both an 11/750 85*47674Scaeland an 11/730 (unless both machines have 86*47674Scael.Tn MRSP 87*47674Scaelproms). 88*47674Scael.Sh FILES 89*47674Scael.Bl -tag -width /dev/tu0xx -compact 90*47674Scael.It Pa /dev/tu0 91*47674Scael.It Pa /dev/tu1 92*47674Scael(only on a 93*47674Scael.Tn VAX Ns \-11/730) 94*47674Scael.El 95*47674Scael.Sh DIAGNOSTICS 96*47674Scael.Bl -diag 97*47674Scael.It tu%d: no bp, active %d. 9820691SmckusickA transmission complete interrupt was received with no outstanding 99*47674Scael.Tn I/O 100*47674Scaelrequest. This indicates a hardware problem. 101*47674Scael.Pp 102*47674Scael.It "tu%d protocol error, state=%s, op=%x, cnt=%d, block=%d." 10320691SmckusickThe driver entered an illegal state. The information printed 10420691Smckusickindicates the illegal state, operation currently being executed, 105*47674Scaelthe 106*47674Scael.Tn I/O 107*47674Scaelcount, and the block number on the cassette. 108*47674Scael.Pp 109*47674Scael.It "tu%d receive state error, state=%s, byte=%x." 11020691SmckusickThe driver entered an illegal state in the receiver finite 11120691Smckusickstate machine. The state is shown along with the control 11220691Smckusickbyte of the received packet. 113*47674Scael.Pp 114*47674Scael.It tu%d: read stalled. 11520691SmckusickA timer watching the controller detected no interrupt for 11620691Smckusickan extended period while an operation was outstanding. 11720691SmckusickThis usually indicates that one or more receiver interrupts 11820691Smckusickwere lost and the transfer is restarted (11/750 only). 119*47674Scael.Pp 120*47674Scael.It tu%d: hard error bn%d, pk_mod %o. 12120691SmckusickThe device returned a status code indicating a hard error. The 12220691Smckusickactual error code is shown in octal. No retries are attempted 12320691Smckusickby the driver. 124*47674Scael.El 125*47674Scael.Sh SEE ALSO 126*47674Scael.Xr arff 8 127*47674Scael.Sh HISTORY 128*47674ScaelThe 129*47674Scael.Nm 130*47674Scaeldriver appeared in 131*47674Scael.Bx 4.1 . 132*47674Scael.Sh BUGS 133*47674ScaelThe 134*47674Scael.Tn VAX Ns \-11/750 135*47674Scaelconsole interface without 136*47674Scael.Tn MRSP 137*47674Scaelprom is unuseable 13820691Smckusickwhile the system is multi-user; it should be used only with 13920691Smckusickthe system running single-user and, even then, with caution. 140