[ltp] DMA problems on t43

Nicolas Dufresne linux-thinkpad@linux-thinkpad.org
Mon, 18 Jul 2005 11:08:57 -0400


--Boundary_(ID_Hk5qf6FPOqfWyyy8UwHLOA)
Content-type: text/plain; charset=iso8859-1
Content-transfer-encoding: 8BIT

These lines controls SATA parameter while compiling.  The two first will
resolve conflict between generic driver and sata one.  The last, will
activate DMA.  Use this at your own risk, this will result in high hd
temperature since there is no power management available in most of
SCSI/SATA drivers.  In /usr/src/linux/include/libata.h
    #undef ATA_ENABLE_ATAPI         /* define to enable ATAPI support */
    #undef ATA_ENABLE_PATA          /* define to enable PATA support in
some
                                 * low-level drivers */
    #undef ATAPI_ENABLE_DMADIR      /* enables ATAPI DMADIR bridge
support */
Becomes,
    #define ATA_ENABLE_ATAPI         /* define to enable ATAPI support
*/
    #define ATA_ENABLE_PATA          /* define to enable PATA support in
some
                                 * low-level drivers */
    #define ATAPI_ENABLE_DMADIR      /* enables ATAPI DMADIR bridge
support */


> Yes. Native support for SATA ATAPI devices is disabled in 2.6.11 and
> 2.6.12. It will be enabled in 2.6.13 by default. You can enable it in
> 2.6.11/12 and recompile your kernel, but I wouldn't suggest it. There
> are some bugs that are only fixed in 2.6.13.


________________________________________________________________________
Nicolas Dufresne <Nicolas.Dufresne@USherbrooke.ca>
Étudiant en informatique, Université de Sherbrooke

--Boundary_(ID_Hk5qf6FPOqfWyyy8UwHLOA)
Content-type: text/html; charset=utf-8
Content-transfer-encoding: 7BIT

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.6.1">
</HEAD>
<BODY>
These lines controls SATA parameter while compiling.&nbsp; The two first will resolve conflict between generic driver and sata one.&nbsp; The last, will activate DMA.&nbsp; Use this at your own risk, this will result in high hd temperature since there is no power management available in most of SCSI/SATA drivers.&nbsp; In /usr/src/linux/include/libata.h<BR>
&nbsp;&nbsp;&nbsp; #undef ATA_ENABLE_ATAPI&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /* define to enable ATAPI support */<BR>
&nbsp;&nbsp;&nbsp; #undef ATA_ENABLE_PATA&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /* define to enable PATA support in some<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * low-level drivers */<BR>
&nbsp;&nbsp;&nbsp; #undef ATAPI_ENABLE_DMADIR&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /* enables ATAPI DMADIR bridge support */<BR>
Becomes,<BR>
&nbsp;&nbsp;&nbsp; #define ATA_ENABLE_ATAPI&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /* define to enable ATAPI support */<BR>
&nbsp;&nbsp;&nbsp; #define ATA_ENABLE_PATA&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /* define to enable PATA support in some<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * low-level drivers */<BR>
&nbsp;&nbsp;&nbsp; #define ATAPI_ENABLE_DMADIR&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /* enables ATAPI DMADIR bridge support */<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">Yes. Native support for SATA ATAPI devices is disabled in 2.6.11 and</FONT>
<FONT COLOR="#000000">2.6.12. It will be enabled in 2.6.13 by default. You can enable it in</FONT>
<FONT COLOR="#000000">2.6.11/12 and recompile your kernel, but I wouldn't suggest it. There</FONT>
<FONT COLOR="#000000">are some bugs that are only fixed in 2.6.13.</FONT>
</PRE>
</BLOCKQUOTE>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>

<HR NOSHADE>
<BR>
<B><FONT SIZE="4">Nicolas Dufresne </FONT></B>&lt;<A HREF="mailto:Nicolas.Dufresne@USherbrooke.ca">Nicolas.Dufresne@USherbrooke.ca</A>&gt;<BR>
&#201;tudiant en informatique, Universit&#233; de Sherbrooke
</TD>
</TR>
</TABLE>
</BODY>
</HTML>

--Boundary_(ID_Hk5qf6FPOqfWyyy8UwHLOA)--