[Barrelfish-users] Problems about Running ARM Barrelfish on Gem5

Wayne Zhang waynegatesv5 at gmail.com
Wed Oct 2 10:02:21 CEST 2013


Dear all,

To more specify my problem, I use the version 6385cf85bf12 of gem5 with
CoherentBus.

And when I run "make arm_gem5":
It shows:

*telnet 127.0.0.1 3456*
*Trying 127.0.0.1...*
*Connected to 127.0.0.1.*
*Escape character is '^]'.*
*==== m5 slave terminal: Terminal 0 ====*
*Kernel starting at address 0x82080000*
*Barrelfish CPU driver starting on ARMv7 Board id 0x000008e0*
*The address of paging_map_kernel_section is 0x82084bec*
*gic_enable_interrupt for id=0x22, offset=0x4, index=0x1*
*kernel PANIC! kernel assertion "int_id <= it_num_lines" failed at
../kernel/arch/armv7/gic.c:102*


I find that *it_num_lines *is set to be 3 (less than 0x22).
But when I manually initialize *it_num_lines  *to 128. There is another
problem:
In "make arm_gem5" shell:

*warn: Trying to access SPSR in an invalid mode: 31*
*warn: Trying to access SPSR in an invalid mode: 31*
*warn: Trying to access SPSR in an invalid mode: 31*
*warn: Trying to access SPSR in an invalid mode: 31*

In telnet shell:

*Can't deliver exception to thread: handler not set*
*kernel user undef fault WHILE DISABLED in 'init': IP 4673040*

I read through
https://lists.inf.ethz.ch/pipermail/barrelfish-users/2012-June/000694.html.
But I cannot solve the problem.

What should I do to solve this?

Thank you~


2013/10/2 Wayne Zhang <waynegatesv5 at gmail.com>

> Dear all,
>
> I follow the instructions on http://wiki.barrelfish.org/Running_on_gem5.
>
> In instructions, it recommends* hg clone hg clone
> http://repo.gem5.org/gem5 -r d45a02bd5391 gem5*.
>
> But when I use version *d45a02bd5391 *with the latest version of
> barrelfish from http://hg.barrelfish.org/barrelfish/.
>
> I get following problems when run "make arm_gem5":
> *gem5 Simulator System.  http://gem5.org*
> *gem5 is copyrighted software; use the --copyright option for details.*
> *
> *
> *gem5 compiled Oct  2 2013 15:08:18*
> *gem5 started Oct  2 2013 15:12:34*
> *gem5 executing on wayne-desktop*
> *command line: gem5.fast ../tools/arm_gem5/gem5script.py --caches
> --l2cache --n=2 --kernel=arm_gem5_image*
> *Barrelfish source-directory is assume to be ../tools/arm_gem5/../..*
> *Traceback (most recent call last):*
> *  File "<string>", line 1, in <module>*
> *  File
> "/home/wayne/learn/lab/simulator/gem5/gem5-barrel/gem5-stable/src/python/m5/main.py",
> line 359, in main*
> *    exec filecode in scope*
> *  File "../tools/arm_gem5/gem5script.py", line 28, in <module>*
> *    class MemBus(CoherentBus):*
> *NameError: name 'CoherentBus' is not defined*
> *make: *** [arm_gem5] Error 1*
>
> I read the gem5 hg log, and find the *CoherentBus *is introduced since
> gem5 version 6385cf85bf12.
>
> *So my question is:*
> *Which version of gem5 should I use to get a working environment with
> latest release of barrelfish?*
>
> Thank you very much!
>
> Best regards!
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.inf.ethz.ch/pipermail/barrelfish-users/attachments/20131002/994b0e66/attachment.html 


More information about the Barrelfish-users mailing list