From owner-freebsd-scsi@FreeBSD.ORG Wed Aug 20 16:55:04 2003 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B245416A4BF for ; Wed, 20 Aug 2003 16:55:04 -0700 (PDT) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 1C41643FCB for ; Wed, 20 Aug 2003 16:55:04 -0700 (PDT) (envelope-from nate@rootlabs.com) Received: (qmail 5533 invoked by uid 1000); 20 Aug 2003 23:55:05 -0000 Date: Wed, 20 Aug 2003 16:55:05 -0700 (PDT) From: Nate Lawson To: Rohit Jalisatgi In-Reply-To: <20030820211614.43703.qmail@web80509.mail.yahoo.com> Message-ID: <20030820165258.M5531@root.org> References: <20030820211614.43703.qmail@web80509.mail.yahoo.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-scsi@freebsd.org Subject: Re: ATAPICAM support for IDE Tape drive X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Aug 2003 23:55:05 -0000 On Wed, 20 Aug 2003, Rohit Jalisatgi wrote: > > camcontrol devlist > 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