Hello,
Have you tried changing the path in configs/common/SysPath.py ?

Serhat
________________________________________
From: gem5-users [gem5-users-boun...@gem5.org] on behalf of Wang, Chenxu 
[wa...@rose-hulman.edu]
Sent: 10 February 2017 09:10
To: gem5-users@gem5.org
Subject: [gem5-users] Errors when running FS with fs.py

Hi everyone,

I was trying to run ARM full system simulation on Ubuntu 16.04 and get an error 
when I run


./build/ARM/gem5.opt configs/example/fs.py 
--disk-image=/opt/full_system_images/disks/arm-ubuntu-natty-headless.img


The error I got is

gem5 Simulator System.  http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.

gem5 compiled Jan 15 2017 15:06:17
gem5 started Feb 10 2017 00:57:03
gem5 executing on wangc-ThinkPad-W540, pid 23568
command line: build/ARM/gem5.opt configs/example/fs.py 
--disk-image=/home/full_system_image/disks/arm-ubuntu-natty-headless.img

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/wangc/gem5/src/python/m5/main.py", line 400, in main
    exec filecode in scope
  File "configs/example/fs.py", line 341, in <module>
    test_sys = build_test_system(np)
  File "configs/example/fs.py", line 103, in build_test_system
    ruby=options.ruby)
  File "/home/wangc/gem5/configs/common/FSConfig.py", line 269, in makeArmSystem
    self.cf0.childImage(mdesc.disk())
  File "/home/wangc/gem5/configs/common/Benchmarks.py", line 56, in disk
    return disk(self.diskname)
  File "/home/wangc/gem5/configs/common/SysPaths.py", line 44, in disk
    system()
  File "/home/wangc/gem5/configs/common/SysPaths.py", line 69, in system
    raise IOError, "Can't find a path to system files."
IOError: Can't find a path to system files.

I have double checked the M5_PATH and am sure it’s correct. Can you give me 
some advices on solving this?

Thanks,

John Wang


_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to