Subject: Re: SDLT 320 Tape Drive on -current
To: None <current-users@netbsd.org>
From: Duncan McEwan <duncan@mcs.vuw.ac.nz>
List: current-users
Date: 06/27/2003 17:03:33
Manuel Bouyer <bouyer@antioche.eu.org> wrote:
> >
> > The "Check Conditions" I get are not always the same.  Here are a couple of
> > variations.
> > 
> > st0(ahc0:0:6:0):  Check Condition on CDB: 0x0a 00 01 00 00 00
> >     SENSE KEY:  Media Error
> >    INFO FIELD:  65208320
> >  COMMAND INFO:  36014 (0x8cae)
> >      ASC/ASCQ:  Write Error
> >
> > ...
> 
> The drive reported that it couldn't write to the tape, because of media
> error.  Maybe the tape has a problem, so I would first try another tape.

Thanks for that suggestion.  So I tried a different tape (even a tape by a
different manufacturer) and I encountered the same problem.  I also tried
(following another suggestion made to me) running a head cleaning tape through
the drive before I tested the other tape.

(I did forget to mention in my original message that this is a brand new tape
drive (well, a couple of months old, but it's been sitting unused up until this
point) and these are brand new (unused) tapes).

Is it at all possible that there could be bugs in the ahc driver when running
on a aic7899 controller that might cause it to mis-interpret what the hardware
is telling it?  Or is the code that reports error conditions so simple that
"it must be correct"...?

Duncan