<div dir="ltr">Dear all,<div><br></div>To more specify my problem, I use the version 6385cf85bf12 of gem5 with CoherentBus.<div><br></div><div>And when I run &quot;make arm_gem5&quot;:</div><div>It shows:</div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">
<div><div><i>telnet 127.0.0.1 3456</i></div></div><div><div><i>Trying 127.0.0.1...</i></div></div><div><div><i>Connected to 127.0.0.1.</i></div></div><div><div><i>Escape character is &#39;^]&#39;.</i></div></div><div><div>
<i>==== m5 slave terminal: Terminal 0 ====</i></div></div><div><div><i>Kernel starting at address 0x82080000</i></div></div><div><div><i>Barrelfish CPU driver starting on ARMv7 Board id 0x000008e0</i></div></div><div><div>
<i>The address of paging_map_kernel_section is 0x82084bec</i></div></div><div><div><i>gic_enable_interrupt for id=0x22, offset=0x4, index=0x1</i></div></div><div><div><i>kernel PANIC! kernel assertion &quot;int_id &lt;= it_num_lines&quot; failed at ../kernel/arch/armv7/gic.c:102</i></div>
</div></blockquote><div><br></div><div>I find that <i>it_num_lines </i>is set to be 3 (less than 0x22).</div><div>But when I manually initialize <i>it_num_lines  </i>to 128. There is another problem:</div><div>In &quot;make arm_gem5&quot; shell:</div>
<blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><i>warn: Trying to access SPSR in an invalid mode: 31</i></div><div><i>warn: Trying to access SPSR in an invalid mode: 31</i></div><div><i>warn: Trying to access SPSR in an invalid mode: 31</i></div>
<div><i>warn: Trying to access SPSR in an invalid mode: 31</i></div><div><br></div></blockquote><div>In telnet shell:</div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><div><i>Can&#39;t deliver exception to thread: handler not set</i></div>
</div><div><div><i>kernel user undef fault WHILE DISABLED in &#39;init&#39;: IP 4673040</i></div></div><div><br></div></blockquote><div>I read through <a href="https://lists.inf.ethz.ch/pipermail/barrelfish-users/2012-June/000694.html">https://lists.inf.ethz.ch/pipermail/barrelfish-users/2012-June/000694.html</a>. But I cannot solve the problem.</div>
<div><br></div><div>What should I do to solve this?</div><div><br></div><div>Thank you~ </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/10/2 Wayne Zhang <span dir="ltr">&lt;<a href="mailto:waynegatesv5@gmail.com" target="_blank">waynegatesv5@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="font-family:arial,sans-serif;font-size:14px">Dear all,</span><br><div><span style="font-family:arial,sans-serif;font-size:14px"><br>
</span></div><div><span style="font-family:arial,sans-serif;font-size:14px">I follow the instructions on </span><a href="http://wiki.barrelfish.org/Running_on_gem5" target="_blank">http://wiki.barrelfish.org/Running_on_gem5</a>.</div>

<div><br></div><div>In <span style="font-family:arial,sans-serif;font-size:14px">instructions, it recommends</span><i> hg clone hg clone <a href="http://repo.gem5.org/gem5" target="_blank">http://repo.gem5.org/gem5</a> -r d45a02bd5391 gem5</i>.</div>

<div><br></div><div>But when I use version <i>d45a02bd5391 </i>with the latest version of barrelfish from <a href="http://hg.barrelfish.org/barrelfish/" style="font-family:Simsun;font-size:medium" target="_blank">http://hg.barrelfish.org/barrelfish/</a>.</div>

<div><br></div><div>I get following problems when run &quot;make arm_gem5&quot;:</div><div><div><i>gem5 Simulator System.  <a href="http://gem5.org" target="_blank">http://gem5.org</a></i></div><div><i>gem5 is copyrighted software; use the --copyright option for details.</i></div>

<div><i><br></i></div><div><i>gem5 compiled Oct  2 2013 15:08:18</i></div><div><i>gem5 started Oct  2 2013 15:12:34</i></div><div><i>gem5 executing on wayne-desktop</i></div><div><i>command line: gem5.fast ../tools/arm_gem5/gem5script.py --caches --l2cache --n=2 --kernel=arm_gem5_image</i></div>

<div><i>Barrelfish source-directory is assume to be ../tools/arm_gem5/../..</i></div><div><i>Traceback (most recent call last):</i></div><div><i>  File &quot;&lt;string&gt;&quot;, line 1, in &lt;module&gt;</i></div><div>
<i>  File &quot;/home/wayne/learn/lab/simulator/gem5/gem5-barrel/gem5-stable/src/python/m5/main.py&quot;, line 359, in main</i></div>
<div><i>    exec filecode in scope</i></div><div><i>  File &quot;../tools/arm_gem5/gem5script.py&quot;, line 28, in &lt;module&gt;</i></div><div><i>    class MemBus(CoherentBus):</i></div><div><i>NameError: name &#39;CoherentBus&#39; is not defined</i></div>

<div><i>make: *** [arm_gem5] Error 1</i></div></div><div><br></div><div>I read the gem5 hg log, and find the <i>CoherentBus </i>is introduced since gem5 version 6385cf85bf12.</div><div><br></div><div><b>So my question is:</b></div>

<div><b>Which version of gem5 should I use to get a working environment with latest release of barrelfish?</b></div><div><br></div><div>Thank you very much!</div><div><br></div><div>Best regards!</div><div><br></div></div>

</blockquote></div><br></div>