lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.44L0.0709131105250.3619-100000@iolanthe.rowland.org>
Date:	Thu, 13 Sep 2007 11:09:20 -0400 (EDT)
From:	Alan Stern <stern@...land.harvard.edu>
To:	Mark Lord <lkml@....ca>
cc:	Chuck Ebbert <cebbert@...hat.com>,
	Niels <zorglub_olsen@...mail.com>,
	<linux-kernel@...r.kernel.org>,
	linux-scsi <linux-scsi@...r.kernel.org>,
	USB development list <linux-usb-devel@...ts.sourceforge.net>
Subject: Re: [linux-usb-devel] Problems with USB disk [solved]

On Thu, 13 Sep 2007, Mark Lord wrote:

> Alan Stern wrote:
> > On Wed, 12 Sep 2007, Mark Lord wrote:
> > 
> >> Chuck Ebbert wrote:
> ..
> >>> 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?
> 
> No, the machine is not being suspended at all.
> 
> What happens is, there's a nice little LED on the Cruzer stick,
> that is "lit" when the stick itself is not in a "power suspend" state
> (or whatever you USB folks call it).

We call it "suspended".  (Wasn't there an episode of Classic Trek where 
Mr. Spock explained to somebody, "I call them `ears'."?)

> On 2.6.22, that little LED stays "on" normally, and flickers off/on
> when data is being transfered.
> 
> The new "USB autosuspend" logic in 2.6.23 now causes that little LED
> to turn off after a few seconds of inactivity.
> 
> Once that happens, the USB stick is not accessible until after a longish
> timeout (~30s I think), followed by a USB reset.  Then it is usable again
> until the next inactivity timeout and autosuspend (a few seconds).

So this _isn't_ the regression described above -- to wit, that the 
drive gets spun down and then won't work without first being spun back 
up.  You wrote:

> >> My Sandisk Cruzer Micro 1GB USB sticks suffer from this regression.

But it doesn't.  It suffers from a different regression.

Alan Stern

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ