<br><br><div class="gmail_quote">On Sat, May 17, 2008 at 1:07 AM, Geoffrey Lee <<a href="mailto:glee@ok-labs.com">glee@ok-labs.com</a>> 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>
> .<br>
> configuring network for Linux wombat 2.6.23-i386l4_pc99 #2 Fri May 16<br>
> 21:54:13 PDT 2008 i386 unknown<br>
> info, udhcpc (v0.9.9-pre) started<br>
> 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. Try removing the BUG() and see if things<br>
work better.<br>
<br>
-gl</blockquote><div><br><br>Geoff,<br>The line number reported seems to be a "red herring" as well, there isn'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> ---> if(!dev->dma_mask || !dma_supported(dev, mask))<br> return -EIO;<br><br> *dev->dma_mask = mask;<br><br>
return 0;<br>}<br><br>there aren't any BUG_ONs in dma_supported() either, but they are sprinkled through several functions in the module, should I try disabling ALL of them?<br> <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>
> kernel BUG at include2/asm/i386/dma-mapping.h:149!<br>
><br>
> ANy ideas from anyone?<br>
><br>
> I'm more than willing to attempt to debug this if someone is willing to give<br>
> me a little guidance<br>
<br>
</div>> _______________________________________________<br>
> Developer mailing list<br>
> <a href="mailto:Developer@okl4.org">Developer@okl4.org</a><br>
> <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>