ATAPICAM support for IDE Tape drive

Nate Lawson nate at root.org
Wed Aug 20 16:55:05 PDT 2003


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


More information about the freebsd-scsi mailing list