Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Aug 2003 16:55:05 -0700 (PDT)
From:      Nate Lawson <nate@root.org>
To:        Rohit Jalisatgi <rjalisatgi@yahoo.com>
Cc:        freebsd-scsi@freebsd.org
Subject:   Re: ATAPICAM support for IDE Tape drive
Message-ID:  <20030820165258.M5531@root.org>
In-Reply-To: <20030820211614.43703.qmail@web80509.mail.yahoo.com>
References:  <20030820211614.43703.qmail@web80509.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 20 Aug 2003, Rohit Jalisatgi wrote:
> > camcontrol devlist
> <Seagate STT20000A 8A51> at scbus1 target 0 lun 0
> (sa0, pass0)
>
> The following READ CDB gives me an error
>
> CDB: 0x08 0x01 0x00 0x00 0x01 0x00
>
> Scsi Status: 0x02
>
> Sense Data: 0x70 0x00 0x05 0x00 0x00 0x00 0x00 0x0a
> 0x00 0x00 0x00 0x00
> 0x20 0x00
>
> SenseKey : 0x05 ie Illegal Request
> Additional Sense: 0x20 0x00 ie Invalid operation code.

That means it doesn't like 6 byte commands.

> Could anyone please help me with the above error?
>
> Do I need to apply any patches to the ATAPICAM? Does
> the ATAPICAM
> support IDE tape drives.

I may need to add sa(4) support for the PIM_NO_6_BYTE flag.  Can someone
else remind me if 6 byte commands are ever legal for some ATAPI devices?
I can't remember if there were any exceptions or if 10 byte is the
minimum.

-Nate



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030820165258.M5531>