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.0808141141570.2846-100000@iolanthe.rowland.org>
Date:	Thu, 14 Aug 2008 11:47:02 -0400 (EDT)
From:	Alan Stern <stern@...land.harvard.edu>
To:	Oliver Neukum <oneukum@...e.de>
cc:	Pavel Machek <pavel@...e.cz>,
	<linux-pm@...ts.linux-foundation.org>,
	<James.Bottomley@...senpartnership.com>,
	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 Thu, 14 Aug 2008, Oliver Neukum wrote:

> > > You could even argue that these storage devices violate the USB spec.
> > 
> > Hmm... but suspended devices have very little power budget, right?
> > 
> > So unless you have external power supply (2.5" frames generally
> > don't), you can't really suspend and stay spinned up...
> > 
> 
> True, but the spec says that no state shall be lost.

What can we do?...  Real world devices don't always obey the spec.

You could argue that the suspend current should be sufficient to 
maintain the contents of the cache, which would then be written out 
after resume.  But even if that is true, it's a very fragile guarantee 
to rely on.

> I don't really argue against flushing the caches. But I cannot that this would
> demand that we should implement autopsuspend for SCSI. It seems like
> overengineering to me.

Think of it in two parts: idle-timeout detection and autosuspend.  
Presumably you don't object to the idle-timeout detection (which is 
needed for powering down links in general), and you don't argue against 
the cache-flushing part of autosuspend.  Taken together, that's about 
90% of my proposal.  So what is the objectionable 10%?

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