[prev in list] [next in list] [prev in thread] [next in thread] 

List:       grub-devel
Subject:    Re: Request: hdparm module with -X <transfer mode>
From:       Nando <nando4eva () gmail ! com>
Date:       2009-12-28 1:24:11
Message-ID: 4116f8730912271724s71cb7b6cpe0be558cdd6abe71 () mail ! gmail ! com
[Download RAW message or body]

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
>

[Attachment #3 (text/html)]

Hi Christian,<br><br>It&#39;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:<br> <br><a \
href="http://forum.notebookreview.com/showthread.php?p=5519419">http://forum.notebookreview.com/showthread.php?p=5519419</a> \
(HP 2510P / optical drive caddy)<br><a \
href="http://www.gottabemobile.com/forum/forum_posts.asp?TID=8260&amp;PID=55271">http://www.gottabemobile.com/forum/forum_posts.asp?TID=8260&amp;PID=55271</a> \
(Dell XT / not sure why)<br> <br>Comments/suggestions?<br>Nando<br><br><div \
class="gmail_quote">On Wed, Dec 9, 2009 at 11:17 PM, Christian Franke <span \
dir="ltr">&lt;<a href="mailto:Christian.Franke@t-online.de">Christian.Franke@t-online.de</a>&gt;</span> \
wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, \
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">Nando \
wrote:<br> &gt;<br>
&gt; I was pleasantly surprised when I saw a hdparm module as part of<br>
&gt; grub2. So I tried the -X<br>
</div><div class="im">&gt; parameter as is provided by the linux command line finding \
it<br> &gt; isn&#39;t implemented. eg:<br>
&gt;<br>
&gt; # hdparm -X udma5 /dev/sda<br>
&gt;<br>
&gt; Can the development team consider adding this feature? A number of<br>
&gt; ppl&#39;s bios is incorrectly setting interfaces to UDMA2/MDMA2,<br>
&gt; particularly on pata optical drive interfaces which users are using a<br>
&gt; 2.5&quot; HDDs instead via an optical bay caddy. The workaround being to<br>
&gt; wait for a (slow) Linux/Windows boot and then typing the above<br>
&gt; commandline. Doing this at the grub2 bootloader level being more<br>
&gt; preferable.<br>
&gt;<br>
<br>
</div>OK, added to my local TODO list :-)<br>
<br>
Please note that GRUB hdparm does only work in conjunction with the<br>
ata+ata_pthru modules because a PC BIOS does not provide any ATA<br>
pass-through functionality. A &#39;hdparm -X&#39; would only help if the actual<br>
boot works with ata.mod instead of biosdisk.mod.<br>
<br>
--<br>
Regards,<br>
Christian Franke<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Grub-devel mailing list<br>
<a href="mailto:Grub-devel@gnu.org">Grub-devel@gnu.org</a><br>
<a href="http://lists.gnu.org/mailman/listinfo/grub-devel" \
target="_blank">http://lists.gnu.org/mailman/listinfo/grub-devel</a><br> \
</blockquote></div><br>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic