From owner-freebsd-scsi Wed Apr 28 12:57:38 1999 Delivered-To: freebsd-scsi@freebsd.org Received: from blaubaer.kn-bremen.de (blaubaer.kn-bremen.de [194.94.232.249]) by hub.freebsd.org (Postfix) with ESMTP id 9364B154A4 for ; Wed, 28 Apr 1999 12:57:33 -0700 (PDT) (envelope-from nox@saturn.kn-bremen.de) Received: from saturn.kn-bremen.de (uucp@localhost) by blaubaer.kn-bremen.de (8.9.1/8.9.1) with UUCP id VAA23766; Wed, 28 Apr 1999 21:50:30 +0200 Received: (from nox@localhost) by saturn.kn-bremen.de (8.9.3/8.8.5) id VAA01204; Wed, 28 Apr 1999 21:51:37 +0200 (MET DST) From: Juergen Lock Date: Wed, 28 Apr 1999 21:51:37 +0200 To: Matthew Jacob Cc: Joerg Wunsch , freebsd-scsi@FreeBSD.ORG Subject: Re: QIC tape problems on -stable (was: hanging `tar xfvR /dev/nrst0' process, can i debug it?) Message-ID: <19990428215136.A943@saturn.kn-bremen.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: ; from Matthew Jacob on Wed, Apr 28, 1999 at 08:57:06AM -0700 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, Apr 28, 1999 at 08:57:06AM -0700, Matthew Jacob wrote: > > > > These are *amazingly* broken drives then. The SCSI specification says that > > a write of *zero* filemarks is to flush any pending writes. You have to do > > this when you do a read hardware position in order to avoid an ambiguity > > in the spec as to the true position as affected by data in the tape drive > > buffer. This is not an abstruse edge case in the SCSI spec. This is common > > sense as well. I believe that the writers of QIC f/w should be sent to > > Redmond for the rest of their miserable lives. :) > > That said, try this patch: > [snip] Thanx, this fixes rdhpos. sethpos still does the sawritefilemarks() unconditionally... And do you have any idea as to the other problems, why mt bl(ocksize) stopped working and why the reading process after sethpos gets Input/output error and then hangs at cgticb? Inquiring minds, etc... Regards, -- Juergen Lock (remove dot foo from address to reply) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message