UU(4) BSD Programmer's Manual (VAX Architecture) UU(4) NNAAMMEE uuuu - TU58/ DECtape II UNIBUS cassette interface SSYYNNOOPPSSIISS ooppttiioonnss UUUUDDMMAA ddeevviiccee uuuu00 aatt uubbaa00 ccssrr 00117766550000 vveeccttoorr uuuurriinnttrr uuuuxxiinnttrr DDEESSCCRRIIPPTTIIOONN The uuuu device provides access to dual DEC TU58 tape cartridge drives con- nected to the UNIBUS via a DL11-W interface module. The interface supports only block I/O to the TU58 cassettes (see physio(4)). The drives are normally manipulated with the arff(8) program using the ``m'' and ``f'' options. The driver provides for an optional write and verify (read after write) mode that is activated by specifying the ``a'' device. The TU58 is treated as a single device by the system even though it has two separate drives, `uu0' and `uu1'. If there is more than one TU58 unit on a system, the extra drives are named `uu2', `uu3' etc. NNOOTTEESS Assembly language code to assist the driver in handling the receipt of data (using a pseudo-dma approach) should be included when using this driver; specify `options UUDMA' in the configuration file. FFIILLEESS /dev/uu? /dev/uu?a DDIIAAGGNNOOSSTTIICCSS uuuu%%dd:: nnoo bbpp,, aaccttiivvee %%dd.. A transmission complete interrupt was received with no outstanding I/O request. This indicates a hardware problem. uuuu%%dd pprroottooccooll eerrrroorr,, ssttaattee==%%ss,, oopp==%%xx,, ccnntt==%%dd,, bblloocckk==%%dd.. The driver en- tered an illegal state. The information printed indicates the illegal state, the operation currently being executed, the I/O count, and the block number on the cassette. uuuu%%dd:: bbrreeaakk rreecceeiivveedd,, ttrraannssffeerr rreessttaarrtteedd.. The TU58 was sending a contin- uous break signal and had to be reset. This may indicate a hardware prob- lem, but the driver will attempt to recover from the error. uuuu%%dd rreecceeiivvee ssttaattee eerrrroorr,, ssttaattee==%%ss,, bbyyttee==%%xx.. The driver entered an ille- gal state in the receiver finite state machine. The state is shown along with the control byte of the received packet. uuuu%%dd:: rreeaadd ssttaalllleedd.. A timer watching the controller detected no inter- rupt for an extended period while an operation was outstanding. This usually indicates that one or more receiver interrupts were lost and the transfer is restarted. uuuu%%dd:: hhaarrdd eerrrroorr bbnn%%dd,, ppkk__mmoodd %%oo.. The device returned a status code in- dicating a hard error. The actual error code is shown in octal. No re- tries are attempted by the driver. EERRRROORRSS The following errors may be returned: [ENXIO] Nonexistent drive (on open); offset is too large or bad (unde- fined) ioctl(2) code. [EIO] Open failed, the device could not be reset. [EBUSY] Drive in use. SSEEEE AALLSSOO tu(4), arff(8) HHIISSTTOORRYY The uuuu driver appeared in 4.2BSD. 4.2 Berkeley Distribution June 5, 1993 2