From owner-freebsd-scsi Thu Mar 11 10: 8:22 1999 Delivered-To: freebsd-scsi@freebsd.org Received: from TomQNX.tomqnx.com (cpu2745.adsl.bellglobal.com [207.236.55.214]) by hub.freebsd.org (Postfix) with ESMTP id 0976A15114 for ; Thu, 11 Mar 1999 10:08:17 -0800 (PST) (envelope-from tom@tomqnx.com) Received: by TomQNX.tomqnx.com (Smail3.2 #1) id m10L9s4-000I0zC; Thu, 11 Mar 1999 13:07:48 -0500 (EST) Message-Id: From: tom@tomqnx.com (Tom Torrance at home) Subject: Re: 3.1-STABLE: nrsa0 T4000 doesn't honor "no rewind"? SCSI errs in logs In-Reply-To: from Matthew Jacob at "Mar 11, 1999 9:35:17 am" To: mjacob@feral.com Date: Thu, 11 Mar 1999 13:07:48 -0500 (EST) Cc: tom@tomqnx.com, scsi@freebsd.org X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1338 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > How about the following? > > > > 1) Receive the error. > > 2) Verify that it is not a harmless device quirk. > > 3) Map the error back to the application for action. > > 4) Until the application or the operator does something positive to > > re-establish positioning, greet further attempts to write with a > > media write-protected error. > > 5) It might be possible to allow the tape operator a mechanism to > > turn off the condition (the 'ignore' option) in some harmless > > way. Perhaps an 'mt status'? > > Steps 1-4 was exactly what I was proposing. The positive steps can be by > the operator via mt(1) or via a backup program. Step 5 I hadn't > considered. Would a config option for the kernel be okay for this (e.g., > SA_PASSIVE_DRIVER)? I would think this highly desireable. > > There might be some actions that would/should be allowable, like > > writing tape marks - you would be much better qualified to judge those. > > Hmm. I'd think not. > I mentioned this because a half-written tape is worse than useless (fit only for the scratch bin). It might have some value if there were a mechanism to close it off in some way. Definitely EOM should not trigger this routine. TM, trailer labels and TMs have to be written, possibly following a short erase over the reflective spot area. Cheers, Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message