Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755066AbXIMOMW (ORCPT ); Thu, 13 Sep 2007 10:12:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752014AbXIMOMO (ORCPT ); Thu, 13 Sep 2007 10:12:14 -0400 Received: from iolanthe.rowland.org ([192.131.102.54]:35087 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751787AbXIMOMN (ORCPT ); Thu, 13 Sep 2007 10:12:13 -0400 Date: Thu, 13 Sep 2007 10:12:11 -0400 (EDT) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: Mark Lord cc: Chuck Ebbert , Niels , , linux-scsi , USB development list Subject: Re: [linux-usb-devel] Problems with USB disk [solved] In-Reply-To: <46E863EA.4060806@rtr.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1830 Lines: 49 On Wed, 12 Sep 2007, Mark Lord wrote: > Chuck Ebbert wrote: > >>> ========= > >>> sd 1:0:0:0: Device not ready: <6>: Current: sense key=0x2 > >>> ASC=0x4 ASCQ=0x2 > >>> end_request: I/O error, dev sda, sector 126693711 > >>> sd 1:0:0:0: Device not ready: <6>: Current: sense key=0x2 > >>> ASC=0x4 ASCQ=0x2 > >>> end_request: I/O error, dev sda, sector 126693711 > >>> sd 1:0:0:0: Device not ready: <6>: Current: sense key=0x2 > >>> ASC=0x4 ASCQ=0x2 > >>> end_request: I/O error, dev sda, sector 126693711 > >>> ========= > >>> > >> Using a new PSU and a powered hub made no difference. But I found a solution > >> here: > >> > >> http://alienghic.livejournal.com/382903.html > >> > >> Basically, the problem is, as suspected, that the drive spins down / goes to > >> suspend. This can be disabled with "sdparm --clear STANDBY -6 /dev/sda". > >> > >> It seems to me to be an error that the kernel reports this as something like > >> a hardware failure. Or at least very misleading. > >> > > > > Oh, nice. The usb-storage (SCSI) disk spins itself down and we can't handle that. > > Should we be disabling auto-spindown when we connect the device, or be able to > > handle this by sending the start command when needed? > > There's more to this. > > My Sandisk Cruzer Micro 1GB USB sticks suffer from this regression. I seriously doubt that. Are you claiming that your USB stick spins itself down during a suspend? And then requires to be spun back up before it will resume proper operation? (Hint: Flash memory devices don't contain rotating media...) Alan Stern - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/