*BSD News Article 16118


Return to BSD News archive

Newsgroups: comp.os.386bsd.bugs
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!haven.umd.edu!uunet!world!hd
From: hd@world.std.com (HD Associates)
Subject: Re: New SCSI does not read last blocks on tape: aha1542b, Archive Viper 150
Message-ID: <C72I6z.4yL@world.std.com>
Organization: The World Public Access UNIX, Brookline, MA
References: <1993May15.074104.12425@melb.bull.oz.au>
Date: Sat, 15 May 1993 12:18:35 GMT
Lines: 28

In article <1993May15.074104.12425@melb.bull.oz.au> sjg@melb.bull.oz.au (Simon J Gerraty) writes:
>I posted some time ago about problems with "soft errors" with an
>aha1542b driving my old 60Mb Archive tape drive using Julian's
>SCSI drivers.
>
>I received a patch from one source which basically replicated my
>own efforts, which experimentation had shown did not solve the
>problem.
>
>The basic problem is (I'd guess) that the drive is reporting a
>partial write, but either it doesn't say or the driver does not
>take note of how much data was written.

The SCSI driver does not handle partial reads and writes.

I've modified the 1542 driver to support residual returns.  I've tested
it only in the specific case of processor type devices and target mode
work.  I'm currently working on the 1740 and will get that to the same
point.

If someone is interested in extending this to work properly in most
cases they can send me mail.  This package (which is sort of in alpha
since a few people have it) includes a generic SCSI driver and target
mode support.


Peter Dufault
HD Associates