Hi Divya, 

I've never seen this issue before and a fresh copy of
the repository compiles and runs fine for me. I'd guess that something
weird is going on with python or swig and the scoping rulses, but I'm
not sure what it could be. What versions of python and swig are you
using? 

Thanks, 

Ali 

On 20.05.2013 22:23, Diviya Jain wrote: 

> Hi,

> 
> I have installed gem5 after cloning from gem5 reporsitory. [The
latest repository] 
> 
> I am trying to boot up arm ubuntu linux using
full system emulation mode, which is also shown in the demo videos on
arm site. 
> 
> I have setup M5 _PATH environment variable as well .
Command line used to run full system simulation: 
> 
>
./build/ARM/gem5.opt configs/example/fs.py
--disk-image=system/arm/disks/arm-ubuntu-natty-headless.img 
> 
>
However I keep on getting error message like: 
> 
> gem5 Simulator
System. http://gem5.org [2] 
> 
> gem5 is copyrighted software; use the
--copyright option for details. 
> 
> gem5 compiled May 20 2013 13:54:28

> 
> gem5 started May 20 2013 13:55:15 
> 
> gem5 executing on ld1009

> 
> command line: ./build/ARM/gem5.opt configs/example/fs.py
--disk-image=/project/sysperf_idc/users/diviya/simit-arm/gem5/gem5/system/arm/disks/arm-ubuntu-natty-headless.img

> 
> **** REAL SIMULATION **** 
> 
> Traceback (most recent call
last): 
> 
> File "<string>", line 1, in <module> 
> 
> File
"/project/sysperf_idc/users/diviya/simit-arm/gem5/gem5/src/python/m5/main.py",
line 387, in main 
> 
> exec filecode in scope 
> 
> File
"configs/example/fs.py", line 207, in <module> 
> 
>
Simulation.run(options, root, test_sys, FutureClass) 
> 
> File
"/project/sysperf_idc/users/diviya/simit-arm/gem5/gem5/configs/common/Simulation.py",
line 485, in run 
> 
> exit_event = benchCheckpoints(options, maxtick,
cptdir) 
> 
> File
"/project/sysperf_idc/users/diviya/simit-arm/gem5/gem5/configs/common/Simulation.py",
line 224, in benchCheckpoints 
> 
> exit_event = m5.simulate(maxtick -
m5.curTick()) 
> 
> File
"/project/sysperf_idc/users/diviya/simit-arm/gem5/gem5/src/python/m5/simulate.py",
line 147, in simulate 
> 
> for obj in root.descendants():
obj.startup() 
> 
> File
"/project/sysperf_idc/users/diviya/simit-arm/gem5/gem5/src/python/m5/SimObject.py",
line 725, in __getattr__ 
> 
> % (self.__class__.__name__, attr) 
> 
>
AttributeError: object 'Root' has no attribute 'startup' 
> 
> I have
tried to search through documentation and faqs. I have tried to modify
atomic.cc as well. But I have not been able to solve the problem. Can
anybody please help? 
> 
> Thank you, 
> 
> diviya 
> 
>
_______________________________________________
> gem5-users mailing
list
> gem5-users@gem5.org
>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users [1]




Links:
------
[1]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
[2]
http://gem5.org
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to