Hi all,
I am a relatively new user of gem5. I am experimenting with DVFS. I have
followed the instructions as mentioned in the link :
http://www.gem5.org/Running_gem5#Experimenting_with_DVFS

When I run the following command:

M5_PATH=$(pwd)/.. ./build/ARM/gem5.opt --debug-flags=DVFS,EnergyCtrl \
  --debug-file=dfvs_debug.log configs/example/fs.py --cpu-type=AtomicSimpleCPU \
  -n 2 --machine-type=VExpress_EMM
--kernel=../linux-linaro-tracking-gem5/vmlinux \
  --dtb-filename=../linux-linaro-tracking-gem5/arch/arm/boot/dts/\
vexpress-v2p-ca15-tc1-gem5_dvfs_2cpus.dtb \
  --disk-image=../disks/arm-ubuntu-natty-headless.img \
  --cpu-clock=\['1 GHz','750 MHz','500 MHz'\] --maxinsts=1000000

The simulation runs fine. However, when I try to run a benchmark on the
system (by adding -b ValStream OR --benchmark=ValStream at the end of the
above command), I get the following error:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/umar/gem5/src/python/m5/main.py", line 397, in main
    exec filecode in scope
  File "configs/example/fs.py", line 343, in <module>
    test_sys = build_test_system(np)
  File "configs/example/fs.py", line 102, in build_test_system
    external_memory=options.external_memory_system)
  File "/home/umar/gem5/configs/common/FSConfig.py", line 335, in makeArmSystem
    if (os.path.split(mdesc.disk())[-1]).lower().count('android'):
  File "/usr/lib/python2.7/posixpath.py", line 85, in split
    i = p.rfind('/') + 1
AttributeError: 'NoneType' object has no attribute 'rfind'

I am clueless how to tackle this problem. Any help regarding this matter
would be greatly appreciated. Thanks in advance!

Umar Dastgir


_______________________________________________
gem5-dev mailing list
gem5-dev@gem5.org
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to