<br><br><div class="gmail_quote">On Sat, May 17, 2008 at 1:07 AM, Geoffrey Lee &lt;<a href="mailto:glee@ok-labs.com">glee@ok-labs.com</a>&gt; 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="Ih2E3d">On Fri, May 16, 2008 at 10:28:39PM -0700, Geoff White wrote:<br>
<br>
&gt; .<br>
&gt; configuring network for &nbsp;Linux wombat 2.6.23-i386l4_pc99 #2 Fri May 16<br>
&gt; 21:54:13 PDT 2008 i386 unknown<br>
&gt; info, udhcpc (v0.9.9-pre) started<br>
&gt; debug, Sending discover...<br>
<br>
</div>Hi Geoff<br>
<br>
The actual file is include/asm-l4/i386/dma-mapping.h, the include2<br>
is a red herring which results because the directory gets symlinked<br>
by the Linux build system.<br>
<br>
The BUG() there is intentional, we only tested DMA support<br>
for a very limited range of devices and hence we wanted to<br>
catch cases where certain parts of the DMA API was used.<br>
<br>
The equivalent function for i386 is in include/asm-i386/dma-mapping.h,<br>
which you will see is empty. &nbsp;Try removing the BUG() and see if things<br>
work better.<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;-gl</blockquote><div><br><br>Geoff,<br>The line number reported seems to be a &quot;red herring&quot; as well, there isn&#39;t an actual BUG_ON assert at line 149 in ...asm-i386/dma-mapping.h, what is there is...<br>
<br>static inline int<br>dma_set_mask(struct device *dev, u64 mask)<br>{<br>&nbsp;---&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if(!dev-&gt;dma_mask || !dma_supported(dev, mask))<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return -EIO;<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; *dev-&gt;dma_mask = mask;<br><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return 0;<br>}<br><br>there aren&#39;t any BUG_ONs in dma_supported() either, but they are sprinkled through several functions in the module, should I try disabling&nbsp; ALL of them?<br>&nbsp;<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<div class="Ih2E3d"><br>
<br>
&gt; kernel BUG at include2/asm/i386/dma-mapping.h:149!<br>
&gt;<br>
&gt; ANy ideas from anyone?<br>
&gt;<br>
&gt; I&#39;m more than willing to attempt to debug this if someone is willing to give<br>
&gt; me a little guidance<br>
<br>
</div>&gt; _______________________________________________<br>
&gt; Developer mailing list<br>
&gt; <a href="mailto:Developer@okl4.org">Developer@okl4.org</a><br>
&gt; <a href="https://lists.okl4.org/mailman/listinfo/developer" target="_blank">https://lists.okl4.org/mailman/listinfo/developer</a><br>
<font color="#888888"><br>
<br>
--<br>
<br>
</font></blockquote></div><br>