From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Lord Subject: Re: ATAPI tape drives broken with libata Date: Thu, 13 Sep 2007 12:35:14 -0400 Message-ID: <46E966C2.1050405@rtr.ca> References: <46D5F97B.3050808@redhat.com> <20070830005006.6951265a@the-village.bc.nu> <46D6EC3B.8090306@redhat.com> <20070831151903.37a60ba9@the-village.bc.nu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from rtr.ca ([76.10.145.34]:2033 "EHLO mail.rtr.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751770AbXIMQfQ (ORCPT ); Thu, 13 Sep 2007 12:35:16 -0400 In-Reply-To: <20070831151903.37a60ba9@the-village.bc.nu> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Alan Cox Cc: Chuck Ebbert , IDE/ATA development list , craig48@swbell.net Alan Cox wrote: > On Thu, 30 Aug 2007 12:11:39 -0400 > Chuck Ebbert wrote: > >> On 08/29/2007 07:50 PM, Alan Cox wrote: >>> Device Ready, Seek Complete, Data Request, Error >>> >>> DRQ and Error together is a bit odd to say the least >>> >>> It then commits suicide and falls off the bus. That may be due to the >>> fact we use SRST on ATAPI device errors still rather than trying an ATAPI >>> reset first. Shouldn't matter though. >>> >>> Since you are the lucky owner of the object in question can you dump the >>> contents of the packet command going to the device when this occurs ? >>> >> I don't have it, it's a Fedora user. Maybe I should ask Mark Lord if he'll >> send me the one he has. >> >> IAC how do I dump the packet? Use ata_scsi_dump_cdb()? > > Yep - if the command issued is a packet command the cdb is 12-16 bytes of > SCSI command block. More or less the same behaviour is observed here with the Conner ATAPI tape unit that I (still!) have on the shelf. I'll see about instrumenting things for more info. It really sucks as is, though! :) Cheers