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-next>] [day] [month] [year] [list]
Message-id: <46C7551E.7090408@shaw.ca>
Date:	Sat, 18 Aug 2007 14:22:54 -0600
From:	Robert Hancock <hancockr@...w.ca>
To:	Brennan Ashton <comphappy@...il.com>
Cc:	Jan Engelhardt <jengelh@...putergmbh.de>,
	Marty Leisner <leisner@...hester.rr.com>,
	linux-kernel@...r.kernel.org
Subject: Re: power off disk drives while running

Brennan Ashton wrote:
> On 8/18/07, Jan Engelhardt <jengelh@...putergmbh.de> wrote:
>> On Aug 18 2007 12:08, Marty Leisner wrote:
>>> In embedded system design, it may be useful to poweroff the disks (as opposed
>>> to merely spinning them down).  We want to leave the system running while
>>> the disk is powered down, and let the disk powerup when it needs to be
>>> spun up.
>> That means you also have to power it on...
>>
>>> While the "power off mechanism" would be platform dependent, is there a
>>> generic path to announce "prepare for power going away"?
>> I do not see why that would be needed from a software point of view. Just make
>> sure that the disk does not needlessy emergency-park when pulling power. When
>> someone wants to write to disk, the request goes to the device driver, which
>> hands it to the controller, which hands it to the disk. And your controller
>> should be able to handle it (e.g. wait until reconnect) when there is a request
>> for a disk that is powered off.
>>
>>
>>         Jan
>> --
>> -
>> 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/
>>
> 
> I see this a a very important feature in the embedded system relm, I
> have worked on two projects that required extreme power management,
> and massive data storage.  The ability to fully turn off a drive while
> the system is running is key. It seems like this should be able to be
> done from a kernel point of view rather than extra hardware. Although
> if is not in the IDE/SATA spec then extra hardware would be necessary.

You can put a drive into sleep mode with ATA commands, that one requires 
a reset to take it out of that state (as opposed to standby which spins 
down but will spin up on any command that's issued afterwards). That's 
as close as it gets to fully powering off a drive through software.

-- 
Robert Hancock      Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@...pamshaw.ca
Home Page: http://www.roberthancock.com/

-
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