From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Bottomley Subject: Re: SCSI trow USB-STORAGE or SBP2 Debug for buggy device Kernels 2.6.X Date: Mon, 24 Apr 2006 17:02:46 -0500 Message-ID: <1145916166.3528.48.camel@mulgrave.il.steeleye.com> References: <200604241029.14932.gustavo@compunauta.com> <1145903888.3528.21.camel@mulgrave.il.steeleye.com> <200604241630.07453.gustavo@compunauta.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from stat9.steeleye.com ([209.192.50.41]:30904 "EHLO hancock.sc.steeleye.com") by vger.kernel.org with ESMTP id S1750749AbWDXWDH (ORCPT ); Mon, 24 Apr 2006 18:03:07 -0400 In-Reply-To: <200604241630.07453.gustavo@compunauta.com> Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: Gustavo Guillermo =?ISO-8859-1?Q?P=E9rez?= Cc: Andrew Morton , linux-scsi@vger.kernel.org On Mon, 2006-04-24 at 16:30 -0500, Gustavo Guillermo P=C3=A9rez wrote: > Ok, this is what I've got. Thanks, this is interesting: > Apr 24 16:12:14 gusgus kernel: sr 1:0:0:0: Device not ready: <6>: Cur= rent:=20 > sense key=3D0x2 > Apr 24 16:12:14 gusgus kernel: ASC=3D0x4 ASCQ=3D0x8 That's "LU not ready; long write in progress" > This Other is cause I left the print outside the brackets, cause I wa= nt to see=20 > on closing session. > Apr 24 16:13:10 gusgus kernel: : Current: sense key=3D0x2 > Apr 24 16:13:10 gusgus kernel: ASC=3D0x3a ASCQ=3D0x0 Yes, that's just medium not present. So, I could change the long write in progress to a retry. However, I suspect the reason we got that return is because this device is untagge= d (doesn't accept multiple commands at once) and perhaps a better fix might be to reduce the queue depth down to one to prevent more than one command being outstanding at any one time. James - To unsubscribe from this list: send the line "unsubscribe linux-scsi" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html