<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=ISO-8859-1">
    <meta name="Generator" content="Microsoft Word 14 (filtered medium)">
    <style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
  </head>
  <body bgcolor="#FFFFFF" lang="EN-NZ" link="blue" text="#000000"
    vlink="purple">
    <div class="WordSection1">
      <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">I
          am not sure if the Coralreef developers are still maintaining
          the native DAG interface, possibly a bug has crept in.<o:p></o:p></span></p>
      <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
      <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">As
          a work-around you might try using the libpcap interface in
          Coral instead. Download and compile libpcap from tcpdump.org;
          it should automatically detect and include DAG support if it
          is installed. Then build Coral with libpcap support, making
          sure it is finding and linking against your new libpcap
          version. You may need to modify LD_LIBRARY_PATH or remove the
          distribution libpcap version.<o:p></o:p></span></p>
      <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
      <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">You
          can then capture from the libpcap &#8216;dag0&#8217; interface in Coral
          (and other tools) instead of using the DAG native support. You
          will lose some time stamp resolution and the interface
          information with this method but it may be more robust.<o:p></o:p></span></p>
      <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
      <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Regards,<o:p></o:p></span></p>
      <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Stephen.<o:p></o:p></span></p>
      <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
      <div style="border:none;border-left:solid blue 1.5pt;padding:0cm
        0cm 0cm 4.0pt">
        <div>
          <div style="border:none;border-top:solid #B5C4DF
            1.0pt;padding:3.0pt 0cm 0cm 0cm">
            <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"
                  lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"
                lang="EN-US"> <a class="moz-txt-link-abbreviated" href="mailto:coral-dev-bounces@caida.org">coral-dev-bounces@caida.org</a>
                [<a class="moz-txt-link-freetext" href="mailto:coral-dev-bounces@caida.org">mailto:coral-dev-bounces@caida.org</a>]
                <b>On Behalf Of </b>Srinivas Krishnan<br>
                <b>Sent:</b> Sunday, 6 November 2011 4:37 p.m.<br>
                <b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:coral-dev@caida.org">coral-dev@caida.org</a><br>
                <b>Subject:</b> [Coral-dev] Coral with DAG<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">We are trying to use Coral with our 10G DAG
          and compiled coral with DAG support. However, every time we
          try to use a utility it segfaults. Here is a sample:<o:p></o:p></p>
        <div>
          <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        </div>
        <div>
          <p class="MsoNormal">&nbsp;crl_rate -Cproto=ETHER /dev/dag0<o:p></o:p></p>
        </div>
        <div>
          <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        </div>
        <div>
          <p class="MsoNormal">Also a short trace of where it fails:<o:p></o:p></p>
        </div>
        <div>
          <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        </div>
        <div>
          <div>
            <p class="MsoNormal">Program received signal SIGSEGV,
              Segmentation fault.<o:p></o:p></p>
          </div>
          <div>
            <p class="MsoNormal">coral_dag_init (src=0x6420d0) at
              coral_type_dag.c:158<o:p></o:p></p>
          </div>
          <div>
            <p class="MsoNormal">158 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
              coral_cell_field_offset(iface0, PAYLOAD) = 18;<o:p></o:p></p>
          </div>
          <div>
            <p class="MsoNormal">(gdb) bt<o:p></o:p></p>
          </div>
          <div>
            <p class="MsoNormal">#0 &nbsp;coral_dag_init (src=0x6420d0) at
              coral_type_dag.c:158<o:p></o:p></p>
          </div>
          <div>
            <p class="MsoNormal">#1 &nbsp;0x0000000000407638 in coral_open
              (src=0x6420d0) at coral_init.c:760<o:p></o:p></p>
          </div>
          <div>
            <p class="MsoNormal">#2 &nbsp;0x0000000000403d99 in src_info
              (src=0x0) at crl_info.c:227<o:p></o:p></p>
          </div>
          <div>
            <p class="MsoNormal">#3 &nbsp;0x0000000000404908 in main (argc=3,
              argv=0x7fffffffe738) at crl_info.c:352<o:p></o:p></p>
          </div>
        </div>
        <div>
          <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        </div>
        <div>
          <p class="MsoNormal">Any suggestions on how to get around it ?<o:p></o:p></p>
        </div>
        <div>
          <p class="MsoNormal" style="margin-bottom:12.0pt"><br
              clear="all">
            -srinivas<o:p></o:p></p>
        </div>
      </div>
    </div>
  </body>
</html>