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.0808131525530.13982-100000@iolanthe.rowland.org>
Date:	Wed, 13 Aug 2008 15:34:30 -0400 (EDT)
From:	Alan Stern <stern@...land.harvard.edu>
To:	Oliver Neukum <oneukum@...e.de>
cc:	James Bottomley <James.Bottomley@...senpartnership.com>,
	Pavel Machek <pavel@...e.cz>,
	Linux-pm mailing list <linux-pm@...ts.osdl.org>,
	kernel list <linux-kernel@...r.kernel.org>, <teheo@...ell.com>
Subject: Re: [linux-pm] Power management for SCSI

On Wed, 13 Aug 2008, Oliver Neukum wrote:

> Am Mittwoch 13 August 2008 17:44:46 schrieb Alan Stern:
> > > All children that are USB must be powered down. We know in fact that most
> > > drives don't care that the device is suspended. The problem was drive
> > > enclosures that cut power upon suspension losing cached data.
> > 
> > You misunderstood my question.  Are there SCSI transports other than
> > USB sharing the requirement that all child devices must be suspended
> > before the link can be powered down?
> 
> I dispute that USB in general has this property.

How can you dispute that?  You said it yourself, in the top quote
above: "All children that are USB must be powered down."

> Some storage devices
> need their caches flushed. USB itself is perfectly happy with autosuspending
> the storage device (host) without telling the disks (devices)
> 
> You could even argue that these storage devices violate the USB spec.

Oliver, you can't have it both ways.  Either we do spin down disks and
drain device caches before autosuspending usb-storage or we don't.  
For safety's sake, obviously we should.  The overhead is minimal since
this happens only after the idle timeout has expired.  And for devices
that don't support it (like flash storage), sd skips the spin-down
command anway.

At any rate, Stefan Richter has answered my original question.  
Firewire has essentially the same restrictions as USB.

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