Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NP4LN-0002vO-U6 for mharc-grub-devel@gnu.org; Sun, 27 Dec 2009 20:24:21 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NP4LM-0002v4-1d for grub-devel@gnu.org; Sun, 27 Dec 2009 20:24:20 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NP4LG-0002uT-OU for grub-devel@gnu.org; Sun, 27 Dec 2009 20:24:19 -0500 Received: from [199.232.76.173] (port=60907 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NP4LG-0002uO-Li for grub-devel@gnu.org; Sun, 27 Dec 2009 20:24:14 -0500 Received: from mail-pz0-f181.google.com ([209.85.222.181]:40970) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NP4LG-00059K-Qh for grub-devel@gnu.org; Sun, 27 Dec 2009 20:24:15 -0500 Received: by pzk11 with SMTP id 11so6250770pzk.14 for ; Sun, 27 Dec 2009 17:24:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=ngjlgKJHGrOKOLryml1IlZKXo5VitQEeHsBEJ28cbLA=; b=A1oJXAHj2rS27xF+nQ2bsvuF59pVMbONxQ6BBugcR9Yka8d+n9FlNRi9iSl9VisZkw u/4ChxzxU4b9GTB/P2knXBV5suqSPL44+5z8OzZj4BEgKFsoDzhIT93GptNJqWWXs4Za oz9M5vUsGsFMyCPkh9dzbQmkgCP+0LksWHU2A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=pjblPxOLieqZSs45yqzjl4sOcEMcv9y3WEkkOHxkvQjn/JsxixOhFyfLv1RaRfeJKS DcR4PREphLTrmj1fRqdO405P0ZPSw8YRRCofZQjU2MkSk5sINjJsr334kYee/aKFukj9 As50QSgiy+FxGpz4ehIpe0m4KV0g+8+p97t08= MIME-Version: 1.0 Received: by 10.142.8.12 with SMTP id 12mr10157805wfh.70.1261963451670; Sun, 27 Dec 2009 17:24:11 -0800 (PST) In-Reply-To: <1NILU5-1tskuO0@fwd04.aul.t-online.de> References: <4116f8730912081527x68a1b08fna00a51c761814e46@mail.gmail.com> <1NILU5-1tskuO0@fwd04.aul.t-online.de> Date: Mon, 28 Dec 2009 12:24:11 +1100 Message-ID: <4116f8730912271724s71cb7b6cpe0be558cdd6abe71@mail.gmail.com> From: Nando To: The development of GNU GRUB Content-Type: multipart/alternative; boundary=00504502be98419fe1047bbfc3ba X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: Request: hdparm module with -X X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Dec 2009 01:24:20 -0000 --00504502be98419fe1047bbfc3ba Content-Type: text/plain; charset=ISO-8859-1 Hi Christian, It's great to have hdparm output added. Another fixup that would be needed would be setting the ATAPI cable mode to be 80pin, rather than the slower 40pin. Users who add hard drives in place of PATA optical drives are liked affected. Eg: http://forum.notebookreview.com/showthread.php?p=5519419 (HP 2510P / optical drive caddy) http://www.gottabemobile.com/forum/forum_posts.asp?TID=8260&PID=55271 (Dell XT / not sure why) Comments/suggestions? Nando On Wed, Dec 9, 2009 at 11:17 PM, Christian Franke < Christian.Franke@t-online.de> wrote: > Nando wrote: > > > > I was pleasantly surprised when I saw a hdparm module as part of > > grub2. So I tried the -X > > parameter as is provided by the linux command line finding it > > isn't implemented. eg: > > > > # hdparm -X udma5 /dev/sda > > > > Can the development team consider adding this feature? A number of > > ppl's bios is incorrectly setting interfaces to UDMA2/MDMA2, > > particularly on pata optical drive interfaces which users are using a > > 2.5" HDDs instead via an optical bay caddy. The workaround being to > > wait for a (slow) Linux/Windows boot and then typing the above > > commandline. Doing this at the grub2 bootloader level being more > > preferable. > > > > OK, added to my local TODO list :-) > > Please note that GRUB hdparm does only work in conjunction with the > ata+ata_pthru modules because a PC BIOS does not provide any ATA > pass-through functionality. A 'hdparm -X' would only help if the actual > boot works with ata.mod instead of biosdisk.mod. > > -- > Regards, > Christian Franke > > > > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > --00504502be98419fe1047bbfc3ba Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Christian,

It's great to have hdparm output added. Another fi= xup that would be needed would be setting the ATAPI cable mode to be 80pin,= rather than the slower 40pin. Users who add hard drives in place of PATA o= ptical drives are liked affected. Eg:

= http://forum.notebookreview.com/showthread.php?p=3D5519419=A0 (HP 2510P= / optical drive caddy)
http://www.gottabemobile.com/foru= m/forum_posts.asp?TID=3D8260&PID=3D55271 (Dell XT / not sure why)
Comments/suggestions?
Nando

On Wed= , Dec 9, 2009 at 11:17 PM, Christian Franke <Christian.Franke@t-online.de&g= t; wrote:
Nando wrote:
>
> I was pleasantly surprised when I saw a hdparm module as part of
> grub2. So I tried the -X
> parameter as is provided by the linux command = line finding it
> isn't implemented. eg:
>
> # hdparm -X udma5 /dev/sda
>
> Can the development team consider adding this feature? A number of
> ppl's bios is incorrectly setting interfaces to UDMA2/MDMA2,
> particularly on pata optical drive interfaces which users are using a<= br> > 2.5" HDDs instead via an optical bay caddy. The workaround being = to
> wait for a (slow) Linux/Windows boot and then typing the above
> commandline. Doing this at the grub2 bootloader level being more
> preferable.
>

OK, added to my local TODO list :-)

Please note that GRUB hdparm does only work in conjunction with the
ata+ata_pthru modules because a PC BIOS does not provide any ATA
pass-through functionality. A 'hdparm -X' would only help if the ac= tual
boot works with ata.mod instead of biosdisk.mod.

--
Regards,
Christian Franke





_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

--00504502be98419fe1047bbfc3ba--