From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LaycY-0000CW-JZ for mharc-grub-devel@gnu.org; Sat, 21 Feb 2009 15:38:46 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LaycW-0000CR-DZ for grub-devel@gnu.org; Sat, 21 Feb 2009 15:38:44 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LaycU-0000CF-Vo for grub-devel@gnu.org; Sat, 21 Feb 2009 15:38:44 -0500 Received: from [199.232.76.173] (port=53948 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LaycU-0000CC-SN for grub-devel@gnu.org; Sat, 21 Feb 2009 15:38:42 -0500 Received: from mailout05.t-online.de ([194.25.134.82]:45990) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LaycU-0001Fr-FG for grub-devel@gnu.org; Sat, 21 Feb 2009 15:38:42 -0500 Received: from fwd03.aul.t-online.de by mailout05.sul.t-online.de with smtp id 1LaycS-0006pv-02; Sat, 21 Feb 2009 21:38:40 +0100 Received: from [10.3.2.2] (ZkddjEZUoh113-Pgvow4X7-HtRp-aaEe+zG2jsbbbHM8Zg-pCD7261Gcs5DxDlgQt7@[217.235.212.251]) by fwd03.aul.t-online.de with esmtp id 1LaycR-18hlgG0; Sat, 21 Feb 2009 21:38:39 +0100 Message-ID: <49A0664F.30301@t-online.de> Date: Sat, 21 Feb 2009 21:38:39 +0100 From: Christian Franke User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16) Gecko/20080702 SeaMonkey/1.1.11 MIME-Version: 1.0 To: The development of GRUB 2 References: <497B9D35.5010703@t-online.de> <20090207213813.GF6343@thorin> <498E0F4F.6000503@t-online.de> <20090207225921.GX6343@thorin> <498E1560.7060106@t-online.de> <20090208003247.GA17277@thorin> <4994A0FF.5060808@t-online.de> <4996D18B.2060505@t-online.de> <20090221130511.GD16068@thorin> <49A04126.3080008@t-online.de> <20090221195142.GB18492@thorin> In-Reply-To: <20090221195142.GB18492@thorin> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-ID: ZkddjEZUoh113-Pgvow4X7-HtRp-aaEe+zG2jsbbbHM8Zg-pCD7261Gcs5DxDlgQt7 X-TOI-MSGID: 4cc4cf71-4938-4e5c-8a5b-06dbe46832d6 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: [PATCH] hdparm.mod - get/set ATA disk parameters X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Feb 2009 20:38:44 -0000 Robert Millan wrote: > On Sat, Feb 21, 2009 at 07:00:06PM +0100, Christian Franke wrote: > >>> Very interesting. Do you think any of these features could be useful as a >>> default option in grub-mkconfig? >>> >>> >>> >> At least the --health check and --security-freeze are IMO recommended >> for each disk. Both is also done by a typical PC BIOS. AAM and standby >> settings are more user specific. The problem is that this relies on >> native ATA support which is now only available for controllers supported >> by ata.mod. >> >> At least for the boot disk, such hdparm calls could be added by e.g. >> extending 'prepare_grub_to_access_device'. >> > > But if the firmware already did, wouldn't this be a waste of boot time? > > Yes, it would. Most BIOS perform both health check and security freeze, but some don't. For coreboot, it is not a waste of boot time. So if this is added to grub-mkconfig, it should be configurable by some variable. -- Christian Franke