if i do that i get this...<br><br>[root@Mitchell_mc myth]# /sbin/hdparm -d1 /dev/sda<br><br>/dev/sda:<br>&nbsp;setting using_dma to 1 (on)<br>&nbsp;HDIO_SET_DMA failed: Inappropriate ioctl for device<br><br><br><div><span class="gmail_quote">
On 3/23/07, <b class="gmail_sendername">Indulis Bernsteins</b> &lt;<a href="mailto:indulis.b@au1.ibm.com">indulis.b@au1.ibm.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<br><tt><font size="2">&gt; Hi,<span class="q"><br>
&gt;<br>
&gt; I am trying to enable DMA on my HD Myth box to increase performance.
&nbsp;It<br>
&gt; works fine not but I have read so much about how DMA increases performance<br>
&gt; so i figured I would give it a shot...<br>
&gt;<br>
&gt; Here is my system config<br>
&gt; Chipset - SiS<br>
&gt; Western Digital HDD 500GB SATA<br>
&gt;<br></span><span class="q">
&gt; Heres some term output...<br>
&gt;<br>
&gt; [root@Mitchell_mc myth]# /sbin/hdparm /dev/sda<br>
&gt;<br>
&gt; /dev/sda:<br>
&gt; &nbsp;IO_support &nbsp; = &nbsp;0 (default 16-bit)<br>
&gt; &nbsp;readonly &nbsp; &nbsp; = &nbsp;0 (off)<br>
&gt; &nbsp;readahead &nbsp; &nbsp;= 256 (on)<br>
&gt; &nbsp;geometry &nbsp; &nbsp; = 60801/255/63, sectors = 976773168,
start = 0<br>
&gt; (I take it that DMA is not ON)<br>
&gt;<br>
&gt; Trying to enable it....<br>
&gt; [root@Mitchell_mc myth]# echo &quot;/sbin/hdparm -d1 /dev/hda&quot;
&gt;&gt;<br>
&gt; /etc/rc.d/rc.local</span></font></tt>
<br>
<br><font face="sans-serif" size="2">Yes you are right that when you did
the &quot;echo...&quot; command the way you did, you need to reboot. &nbsp;This
is &#39;cos you added a line to the end of the file /etc/rc.d/rc.local (that
is what &gt;&gt; does). &nbsp;The commands in this file are executed during
system boot. </font>
<br>
<br><font face="sans-serif" size="2">Now if you just type the command</font>
<span class="q"><br><tt><font size="2">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /sbin/hdparm
-d1 /dev/hda</font></tt>
<br></span><font face="sans-serif" size="2">&nbsp; &nbsp; &nbsp;Then it will execute
right away</font>
<br>
<br><font face="sans-serif" size="2">See ya!</font>
<br><span class="sg">
<br><font face="sans-serif" size="2">Indulis</font></span><br>_______________________________________________<br>mythtv-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:mythtv-users@mythtv.org">
mythtv-users@mythtv.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
</a><br><br></blockquote></div><br>