Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!mcvax!epg From: epg@cwi.nl (Ed Gronke) Newsgroups: comp.bugs.4bsd Subject: problems with the cypher tape drive in 4.3 tahoe beta bsd fixed Message-ID: <28@piring.cwi.nl> Date: Wed, 5-Aug-87 08:37:50 EDT Article-I.D.: piring.28 Posted: Wed Aug 5 08:37:50 1987 Date-Received: Sat, 8-Aug-87 01:04:55 EDT Organization: CWI, Amsterdam Lines: 27 Subject: cy.c doesn't properly respond to write "retry unsuccessful" errors Index: sys tahoe Description: The cy driver, when it gets a retry error while writing (HERR) doesn't handle the retry successfully. Currently, it stops with a hard error and does not attempt to write a longer inter-record gap and try again. Repeat-By: Find a tape with a bad spot. Try writing on it. Notice that it will always fail, even though the tape will probably work on 4.3 systems. Fix: Reclassify the retry error as soft so that the cystart routine will write a gap and retry the operation. (Note: line numbers are different than the 4.3 tahoe beta distribution) ------- cyreg.h ------- 194,195c197,198 < CYMASK(STROBE)|CYMASK(PROT)|CYMASK(CKSUM)|CYMASK(HERR)|CYMASK(BLANK)) < #define CYER_SOFT (CYMASK(FIFO)|CYMASK(NOTRDY)|CYMASK(PARITY)) --- > CYMASK(STROBE)|CYMASK(PROT)|CYMASK(CKSUM)|CYMASK(BLANK)) > #define CYER_SOFT (CYMASK(FIFO)|CYMASK(NOTRDY)|CYMASK(HERR)|CYMASK(PARITY)) -- Ed Gronke (epg@mcvax.cwi.nl)