Subject: Re: SCSI Tape (TK50Z on VS3100 M76)
To: Douglas Meade <inforum@umd5.umd.edu>
From: Michael L. Hitch <mhitch@lightning.msu.montana.edu>
List: port-vax
Date: 04/11/2000 13:28:53
On Tue, 11 Apr 2000, Douglas Meade wrote:

> I tried the kernel you put up for me with the patch, and tried to make

  I'm guessing this is with the patch I posted a few days ago (since
the tape drive is now being identified as a TK50Z)?

> a small tape archive this morning.  I include the whole session below,
> hoping it can help give a clue as to what is wrong.
...
> st0 at scsibus1 target 5 lun 0: <DEC, TK50Z, > SCSI1 1/sequential removable
> st0: rogue, drive empty
...
> inforumvax# tar cv /etc
> st0(ncr1:5:0):  Check Condition on CDB: 0x15 00 00 00 18 00
>     SENSE KEY:  Illegal Request
>  COMMAND INFO:  117440512 (0x7000000)
>      ASC/ASCQ:  No Additional Sense Information

  All these errors look like they are the mode select command.  I had
not tested my patches with writing to my TZ30.  I just tried that with
a VS4000/VLC.  I get several errors from the prevent/allow operations
(which are ignored by the driver), but had no problems from the mode
select commands.

  I'd make a wild guess and say that perhaps the TZ30 recognizes the
mode select command, but the TK50Z does not.  There is an additional
"quirk" flag that might fix that.

  Chuck:  if you were building with the patches I posted earlier,
could you try adding the ST_Q_UNIMODAL flag to the TK50Z entry?
I.e., change the 
        "DEC     ", "TK50Z           ", ""},     {0, 12, {
to
        "DEC     ", "TK50Z           ", ""},     {ST_Q_UNIMIDAL, 12, {

  This should tell the tape driver to not even attempt the mode select
command.

--
Michael L. Hitch			mhitch@montana.edu
Computer Consultant
Information Technology Center
Montana State University	Bozeman, MT	USA