<table cellspacing="0" cellpadding="0" border="0"><tr><td valign="top"><p><font size ="4"><font size ="2">Thanks for all the help.</font></font><br></p>
<p><font size ="4"><font size ="2">Was finally able to boot barrelfish :)</font></font></p>
<p><font size ="4"><font size ="2">I was able to get around the gem5 issue using below patch.</font></font></p>
<p><font size ="4"><font size ="2"><a href="http://reviews.gem5.org/r/2003/">http://reviews.gem5.org/r/2003/</a></font></font></p>
<p><font size ="4"><font size ="2">Regards</font></font><br>
<font size ="4"><font size ="2">Nagendra</font></font><br></p>
<p><font size ="4"><font size ="2">----- Original Message -----</font></font><br>
<font size ="4"><font size ="2">From: Simon Gerber <</font></font><font size ="4"><font size ="2"><a href="javascript:return">simon.gerber@inf.ethz.ch</a></font></font><font size ="4"><font size ="2">></font></font><br>
<font size ="4"><font size ="2">To: Timothy Roscoe <</font></font><font size ="4"><font size ="2"><a href="javascript:return">troscoe@inf.ethz.ch</a></font></font><font size ="4"><font size ="2">>; Nagendra <</font></font><font size ="4"><font size ="2"><a href="javascript:return">k2nag@yahoo.com</a></font></font><font size ="4"><font size ="2">></font></font><br>
<font size ="4"><font size ="2">Cc: "</font></font><font size ="4"><font size ="2"><a href="javascript:return">barrelfish-users@lists.inf.ethz.ch</a></font></font><font size ="4"><font size ="2">" <</font></font><font size ="4"><font size ="2"><a href="javascript:return">barrelfish-users@lists.inf.ethz.ch</a></font></font><font size ="4"><font size ="2">></font></font><br>
<font size ="4"><font size ="2">Sent: Wednesday, 21 January 2015 3:25 AM</font></font><br>
<font size ="4"><font size ="2">Subject: Re: [Barrelfish-users] ARM Build</font></font></p>
<p><font size ="4"><font size ="2">Hi,</font></font></p>
<p><font size ="4"><font size ="2">Also note that we are currently testing our arm_gem5 build using a gem5 </font></font><br>
<font size ="4"><font size ="2">version from November 2012 (revision 0fea324c832c from </font></font><br>
<font size ="4"><font size ="2">repo.gem5.org/gem5 to be exact). See tools/arm_gem5/README in the </font></font><br>
<font size ="4"><font size ="2">Barrelfish source tree for details on how we compile and use gem5 for armv7.</font></font></p>
<p><font size ="4"><font size ="2">Best Regards,</font></font><br>
<font size ="4"><font size ="2">-- Simon</font></font><br></p>
<p><font size ="4"><font size ="2">On 20.01.2015 16:56, Timothy Roscoe wrote:</font></font><br>
<font size ="4"><font size ="2">></font></font><br>
<font size ="4"><font size ="2">> Dear Nagendra,</font></font><br>
<font size ="4"><font size ="2">></font></font><br>
<font size ="4"><font size ="2">> This doesn't look like a Barrelfish error - it seems like you have an</font></font><br>
<font size ="4"><font size ="2">> problem with your installation of GEM5.  I suggest you check that you</font></font><br>
<font size ="4"><font size ="2">> are using a stable version, and also that you have the right version</font></font><br>
<font size ="4"><font size ="2">> of Python to run it.</font></font><br>
<font size ="4"><font size ="2">></font></font><br>
<font size ="4"><font size ="2">>  -- Timothy Roscoe</font></font><br>
<font size ="4"><font size ="2">></font></font><br>
<font size ="4"><font size ="2">> At Tue, 20 Jan 2015 14:41:12 +0000, Nagendra <</font></font><font size ="4"><font size ="2"><a href="javascript:return">k2nag@yahoo.com</a></font></font><font size ="4"><font size ="2">> wrote:</font></font><br>
<font size ="4"><font size ="2">>> Thanks. I was able to build arm_gem5 successfully. I could also build gem5 without any issues.</font></font><br>
<font size ="4"><font size ="2">>></font></font><br>
<font size ="4"><font size ="2">>> But I am getting errors while running 'make arm_gem5'</font></font><br>
<font size ="4"><font size ="2">>></font></font><br>
<font size ="4"><font size ="2">>> gem5.fast ..//tools/arm_gem5/gem5script.py --caches --l2cache --n=2 --kernel=arm_gem5_image</font></font><br>
<font size ="4"><font size ="2">>> Traceback (most recent call last):</font></font><br>
<font size ="4"><font size ="2">>> File "<string>", line 1, in <module></font></font><br>
<font size ="4"><font size ="2">>> File "/home/nag/gem5/src/python/importer.py", line 73, in load_module</font></font><br>
<font size ="4"><font size ="2">>> exec code in mod.__dict__</font></font><br>
<font size ="4"><font size ="2">>> File "/home/nag/gem5/src/python/m5/__init__.py", line 35, in <module></font></font><br>
<font size ="4"><font size ="2">>> import internal</font></font><br>
<font size ="4"><font size ="2">>> File "/home/nag/gem5/src/python/importer.py", line 73, in load_module</font></font><br>
<font size ="4"><font size ="2">>> exec code in mod.__dict__</font></font><br>
<font size ="4"><font size ="2">>> File "/home/nag/gem5/src/python/m5/internal/__init__.py", line 31, in <module></font></font><br>
<font size ="4"><font size ="2">>> import event</font></font><br>
<font size ="4"><font size ="2">>> File "/home/nag/gem5/src/python/importer.py", line 73, in load_module</font></font><br>
<font size ="4"><font size ="2">>> exec code in mod.__dict__</font></font><br>
<font size ="4"><font size ="2">>> File "/home/nag/gem5/build/ARM/python/swig/event.py", line 109, in <module></font></font><br>
<font size ="4"><font size ="2">>> class Event(m5.internal.serialize.Serializable):</font></font><br>
<font size ="4"><font size ="2">>> AttributeError: 'module' object has no attribute 'internal'</font></font><br>
<font size ="4"><font size ="2">>> make: *** [arm_gem5] Error 1</font></font><br>
<font size ="4"><font size ="2">>></font></font><br>
<font size ="4"><font size ="2">>></font></font><br>
<font size ="4"><font size ="2">>> Any particular Python and Swig version that I have to use?</font></font><br>
<font size ="4"><font size ="2">>></font></font><br>
<font size ="4"><font size ="2">>> I am using SWIG 2.0.11 and Python 2.7.6</font></font><br>
<font size ="4"><font size ="2">>></font></font><br>
<font size ="4"><font size ="2">>> Regards</font></font><br>
<font size ="4"><font size ="2">>> Nagendra</font></font><br>
<font size ="4"><font size ="2">>></font></font><br>
<font size ="4"><font size ="2">>></font></font><br>
<font size ="4"><font size ="2">>></font></font><br>
<font size ="4"><font size ="2">>> ----- Original Message -----</font></font><br>
<font size ="4"><font size ="2">>> From: Simon Gerber <</font></font><font size ="4"><font size ="2"><a href="javascript:return">simon.gerber@inf.ethz.ch</a></font></font><font size ="4"><font size ="2">></font></font><br>
<font size ="4"><font size ="2">>> To: </font></font><font size ="4"><font size ="2"><a href="javascript:return">k2nag@yahoo.com</a></font></font><font size ="4"><font size ="2">; Timothy Roscoe <</font></font><font size ="4"><font size ="2"><a href="javascript:return">troscoe@inf.ethz.ch</a></font></font><font size ="4"><font size ="2">></font></font><br>
<font size ="4"><font size ="2">>> Cc: "</font></font><font size ="4"><font size ="2"><a href="javascript:return">barrelfish-users@lists.inf.ethz.ch</a></font></font><font size ="4"><font size ="2">" <</font></font><font size ="4"><font size ="2"><a href="javascript:return">barrelfish-users@lists.inf.ethz.ch</a></font></font><font size ="4"><font size ="2">></font></font><br>
<font size ="4"><font size ="2">>> Sent: Monday, 19 January 2015 3:08 PM</font></font><br>
<font size ="4"><font size ="2">>> Subject: Re: [Barrelfish-users] ARM Build</font></font><br>
<font size ="4"><font size ="2">>></font></font><br>
<font size ="4"><font size ="2">>> Hi Nagendra,</font></font><br>
<font size ="4"><font size ="2">>></font></font><br>
<font size ="4"><font size ="2">>> On 19.01.2015 06:42, Nagendra wrote:</font></font><br>
<font size ="4"><font size ="2">>>> Thanks for pointer.</font></font><br>
<font size ="4"><font size ="2">>>></font></font><br>
<font size ="4"><font size ="2">>>> I installed Ubuntu 14.04 and I am trying to build arm_gem5_image</font></font><br>
<font size ="4"><font size ="2">>>> (../hake/hake.sh -s .. -a armv7 followed by make arm_gem5_image).</font></font><br>
<font size ="4"><font size ="2">>>></font></font><br>
<font size ="4"><font size ="2">>>> With this I am getting following error.</font></font><br>
<font size ="4"><font size ="2">>>></font></font><br>
<font size ="4"><font size ="2">>>> /home/nag/barrelfish/build/../kernel/arch/arm/syscall.c:1024: undefined</font></font><br>
<font size ="4"><font size ="2">>>> reference to `gt_read_high'</font></font><br>
<font size ="4"><font size ="2">>>> /home/nag/barrelfish/build/../kernel/arch/arm/syscall.c:1020: undefined</font></font><br>
<font size ="4"><font size ="2">>>> reference to `gt_read_low'</font></font><br>
<font size ="4"><font size ="2">>>></font></font><br>
<font size ="4"><font size ="2">>>> I see these are only used in case of pandaboard. Not sure why</font></font><br>
<font size ="4"><font size ="2">>>> "__pandaboard__" is getting defined for gem5 build.</font></font><br>
<font size ="4"><font size ="2">>></font></font><br>
<font size ="4"><font size ="2">>> The pandaboard is the default armv7 platform for Barrelfish. You need to</font></font><br>
<font size ="4"><font size ="2">>> change the variable armv7_platform in hake/Config.hs in the build</font></font><br>
<font size ="4"><font size ="2">>> directory to "gem5" when building for the gem5 simulator.</font></font><br>
<font size ="4"><font size ="2">>></font></font><br>
<font size ="4"><font size ="2">>> Best,</font></font><br>
<font size ="4"><font size ="2">>> -- Simon</font></font><br>
<font size ="4"><font size ="2">>></font></font><br>
<font size ="4"><font size ="2">>>></font></font><br>
<font size ="4"><font size ="2">>>> Am I missing something?</font></font><br>
<font size ="4"><font size ="2">>>></font></font><br>
<font size ="4"><font size ="2">>>> Regards</font></font><br>
<font size ="4"><font size ="2">>>> Nagendra</font></font><br>
<font size ="4"><font size ="2">>>></font></font><br>
<font size ="4"><font size ="2">>>> ----- Original Message -----</font></font><br>
<font size ="4"><font size ="2">>>> From: Timothy Roscoe <</font></font><font size ="4"><font size ="2"><a href="javascript:return">troscoe@inf.ethz.ch</a></font></font><font size ="4"><font size ="2"> <javascript:return>></font></font><br>
<font size ="4"><font size ="2">>>> To: Nagendra <</font></font><font size ="4"><font size ="2"><a href="javascript:return">k2nag@yahoo.com</a></font></font><font size ="4"><font size ="2"> <javascript:return>></font></font><br>
<font size ="4"><font size ="2">>>> Cc: </font></font><font size ="4"><font size ="2"><a href="javascript:return">barrelfish-users@lists.inf.ethz.ch</a></font></font><font size ="4"><font size ="2"> <javascript:return></font></font><br>
<font size ="4"><font size ="2">>>> Sent: Wednesday, 14 January 2015 1:47 PM</font></font><br>
<font size ="4"><font size ="2">>>> Subject: Re: [Barrelfish-users] ARM Build</font></font><br>
<font size ="4"><font size ="2">>>></font></font><br>
<font size ="4"><font size ="2">>>> Dear Nagendra,</font></font><br>
<font size ="4"><font size ="2">>>></font></font><br>
<font size ="4"><font size ="2">>>> It would be helpful if you could let us know what make command you are</font></font><br>
<font size ="4"><font size ="2">>>> using to build Barrelfish, and also what image you are trying to</font></font><br>
<font size ="4"><font size ="2">>>> build.  For example, have you tried 'make pandaboard_image', or 'make</font></font><br>
<font size ="4"><font size ="2">>>> arm_gem5_image'?</font></font><br>
<font size ="4"><font size ="2">>>></font></font><br>
<font size ="4"><font size ="2">>>> The place to look is in symbolictargets.mk, which will give you a list</font></font><br>
<font size ="4"><font size ="2">>>> of the kind of platforms we supply complete make targets for.</font></font><br>
<font size ="4"><font size ="2">>>></font></font><br>
<font size ="4"><font size ="2">>>> Also, be aware that we support Ubuntu 14.04 (i.e. LTS), but not</font></font><br>
<font size ="4"><font size ="2">>>> 14.10.  Non-long-term-support versions of Ubuntu might work, but we</font></font><br>
<font size ="4"><font size ="2">>>> make no guarantees.</font></font><br>
<font size ="4"><font size ="2">>>></font></font><br>
<font size ="4"><font size ="2">>>> Hope this helps.</font></font><br>
<font size ="4"><font size ="2">>>></font></font><br>
<font size ="4"><font size ="2">>>> -- Mothy</font></font><br>
<font size ="4"><font size ="2">>>></font></font><br>
<font size ="4"><font size ="2">>>> At Wed, 14 Jan 2015 03:54:29 +0000, Nagendra <</font></font><font size ="4"><font size ="2"><a href="javascript:return">k2nag@yahoo.com</a></font></font><br>
<font size ="4"><font size ="2">>>> <javascript:return>> wrote:</font></font><br>
<font size ="4"><font size ="2">>>>  > Hi Kornilios,</font></font><br>
<font size ="4"><font size ="2">>>>  ></font></font><br>
<font size ="4"><font size ="2">>>>  > Thanks for responding.</font></font><br>
<font size ="4"><font size ="2">>>>  ></font></font><br>
<font size ="4"><font size ="2">>>>  > Initially I tried ../hake/hake.sh -s .. -a arm, as mentioned in</font></font><br>
<font size ="4"><font size ="2">>>> getting started guide. But this failed with following error.</font></font><br>
<font size ="4"><font size ="2">>>>  ></font></font><br>
<font size ="4"><font size ="2">>>>  >    Error in configuration: unknown architecture(s) specified: arm</font></font><br>
<font size ="4"><font size ="2">>>>  ></font></font><br>
<font size ="4"><font size ="2">>>>  ></font></font><br>
<font size ="4"><font size ="2">>>>  > Then i tried building for armv7</font></font><br>
<font size ="4"><font size ="2">>>>  ></font></font><br>
<font size ="4"><font size ="2">>>>  >    ../hake/hake.sh -s .. -a armv7</font></font><br>
<font size ="4"><font size ="2">>>>  ></font></font><br>
<font size ="4"><font size ="2">>>>  > This went fine without any issues.</font></font><br>
<font size ="4"><font size ="2">>>>  ></font></font><br>
<font size ="4"><font size ="2">>>>  > but make failed with following error,</font></font><br>
<font size ="4"><font size ="2">>>>  ></font></font><br>
<font size ="4"><font size ="2">>>>  >    make: *** No rule to make target '../hake/menu.lst.armv7', needed</font></font><br>
<font size ="4"><font size ="2">>>> by 'menu.lst'.  Stop.</font></font><br>
<font size ="4"><font size ="2">>>>  ></font></font><br>
<font size ="4"><font size ="2">>>>  > Regards</font></font><br>
<font size ="4"><font size ="2">>>>  ></font></font><br>
<font size ="4"><font size ="2">>>>  > Nagendra</font></font><br>
<font size ="4"><font size ="2">>>>  ></font></font><br>
<font size ="4"><font size ="2">>>>  > PS : I am using Ubuntu 14.10</font></font><br>
<font size ="4"><font size ="2">>>>  ></font></font><br>
<font size ="4"><font size ="2">>>>  ></font></font><br>
<font size ="4"><font size ="2">>>>  > On Tuesday, 13 January 2015 6:15 PM, Kornilios Kourtis</font></font><br>
<font size ="4"><font size ="2">>>> <</font></font><font size ="4"><font size ="2"><a href="javascript:return">kornilios.kourtis@inf.ethz.ch</a></font></font><font size ="4"><font size ="2"> <javascript:return>> wrote:</font></font><br>
<font size ="4"><font size ="2">>>>  > Hi Nagendra,</font></font><br>
<font size ="4"><font size ="2">>>>  ></font></font><br>
<font size ="4"><font size ="2">>>>  ></font></font><br>
<font size ="4"><font size ="2">>>>  > On Tue, Jan 13, 2015 at 11:23:53AM +0800, Nagendra wrote:</font></font><br>
<font size ="4"><font size ="2">>>>  > > I am trying to build barrelfish for armv7. The build is failing as</font></font><br>
<font size ="4"><font size ="2">>>>  > > menu.lst.armv7 is missing.</font></font><br>
<font size ="4"><font size ="2">>>>  > ></font></font><br>
<font size ="4"><font size ="2">>>>  > > Anyone tried building barrelfish on ARM recently? Can you please post</font></font><br>
<font size ="4"><font size ="2">>>>  > > the steps to build barrelfish for ARM and run it on qemu.</font></font><br>
<font size ="4"><font size ="2">>>>  ></font></font><br>
<font size ="4"><font size ="2">>>>  > Can you please provide us with the commands you try to execute for</font></font><br>
<font size ="4"><font size ="2">>>>  > building Barrelfish and any relevant error messages?</font></font><br>
<font size ="4"><font size ="2">>>>  ></font></font><br>
<font size ="4"><font size ="2">>>>  > cheers,</font></font><br>
<font size ="4"><font size ="2">>>>  > Kornilios.</font></font><br>
<font size ="4"><font size ="2">>>>  ></font></font><br>
<font size ="4"><font size ="2">>>>  > --</font></font><br>
<font size ="4"><font size ="2">>>>  > Kornilios Kourtis</font></font><br>
<font size ="4"><font size ="2">>>>  ></font></font><br>
<font size ="4"><font size ="2">>>>  > _______________________________________________</font></font><br>
<font size ="4"><font size ="2">>>>  > Barrelfish-users mailing list</font></font><br>
<font size ="4"><font size ="2">>>>  > </font></font><font size ="4"><font size ="2"><a href="javascript:return">Barrelfish-users@lists.inf.ethz.ch</a></font></font><font size ="4"><font size ="2"> <javascript:return></font></font><br>
<font size ="4"><font size ="2">>>>  > </font></font><font size ="4"><font size ="2"><a href="https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users">https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users</a></font></font><br>
<font size ="4"><font size ="2">>></font></font><br>
<font size ="4"><font size ="2">>>></font></font><br>
<font size ="4"><font size ="2">>>>  ></font></font><br>
<font size ="4"><font size ="2">>>>  ></font></font><br>
<font size ="4"><font size ="2">>>>  ></font></font><br>
<font size ="4"><font size ="2">>>></font></font><br>
<font size ="4"><font size ="2">>>></font></font><br>
<font size ="4"><font size ="2">>>></font></font><br>
<font size ="4"><font size ="2">>>> _______________________________________________</font></font><br>
<font size ="4"><font size ="2">>>> Barrelfish-users mailing list</font></font><br>
<font size ="4"><font size ="2">>>> </font></font><font size ="4"><font size ="2"><a href="javascript:return">Barrelfish-users@lists.inf.ethz.ch</a></font></font><br>
<font size ="4"><font size ="2">>>> </font></font><font size ="4"><font size ="2"><a href="https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users">https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users</a></font></font><br>
<font size ="4"><font size ="2">>>></font></font><br>
<font size ="4"><font size ="2">>></font></font><br>
<font size ="4"><font size ="2">>></font></font><br>
<font size ="4"><font size ="2">>></font></font></p>
</td></tr></table>