That is, I have followed the instructions listed here: 
http://m5sim.org/BBench-gem5
I am trying to run with /path_to_gem5_root/build/ARM/m5.fast 
configs/example/fs.py -b bbench --kernel=vmlinux.smp.mouse.arm --frame-capture
And now I have also followed the instructions listed here: 
http://www.mail-archive.com/[email protected]/msg02886.html

And the error I now have is:
Traceback (most recent call last):
  File "<string>", line 1, in ?
  File "/home/amanda/Downloads/gem5-bbceb6297329/src/python/m5/main.py", line 
357, in main
    exec filecode in scope
  File "configs/example/fs.py", line 107, in ?
    bare_metal=options.bare_metal)
  File "/home/amanda/Downloads/gem5-bbceb6297329/configs/common/FSConfig.py", 
line 239, in makeArmSystem
    self.readfile = mdesc.script()
  File "/home/amanda/Downloads/gem5-bbceb6297329/configs/common/Benchmarks.py", 
line 41, in script
    return script(self.scriptname)
  File "/home/amanda/Downloads/gem5-bbceb6297329/configs/common/SysPaths.py", 
line 45, in script
    system()
  File "/home/amanda/Downloads/gem5-bbceb6297329/configs/common/SysPaths.py", 
line 59, in system
    raise ImportError, "Can't find a path to system files."
ImportError: Can't find a path to system files.


So I have downloaded the disk image and the full system files and placed them 
in their proper places in gem5/system/, which is where M5_PATH is pointing to.

What can I do to solve this?

-Amanda
________________________________________
From: [email protected] [[email protected]] on behalf of 
Thomas, Amanda J [[email protected]]
Sent: Thursday, April 26, 2012 10:13 AM
To: [email protected]; [email protected]
Subject: Re: [gem5-users] running bbench

Yes, that is what I'm trying to run.  I put the binaries and disks into the 
system folder just as the wiki said.

----- Reply message -----
From: "Sascha Bischoff" <[email protected]>
Date: Thu, Apr 26, 2012 9:42 am
Subject: [gem5-users] running bbench
To: "Thomas, Amanda J" <[email protected]>, "[email protected]" 
<[email protected]>

Hi,

It looks to me as if your M5_PATH variable is not pointing to the directory 
containing the gem5 system files. I assume you are trying to run 
configs/example/fs.py?

You should download the files for the architecture of interest from 
http://www.gem5.org/Download . These files should then be un-tarred into the 
directory referenced by M5_PATH. This should create a number of directories 
(disks, binaries etc) which contain the full system files.

There are more  instructions here: 
http://www.gem5.org/Compiling_M5#Installing_full_system_files

Sascha


From: Thomas, Amanda J [mailto:[email protected]]
Sent: 26 April 2012 13:39
To: Sascha Bischoff; [email protected]
Subject: Re: [gem5-users] running bbench

Thanks that fixed that problem but now there's an error for: ... Import Error: 
Can't find a path to system files.

I have added to PATH and LD_LIBRARY_PATH the directory of Python and M5_PATH 
set to gem5/system/.

Now what's wrong?

Thanks, Amanda
----- Reply message -----
From: "Sascha Bischoff" <[email protected]>
Date: Wed, Apr 25, 2012 3:50 am
Subject: [gem5-users] running bbench
To: "gem5 users mailing list" <[email protected]>
Hi,

It looks like you might have a non default python install.

Have a look at: http://www.mail-archive.com/[email protected]/msg02886.html
...and have a look at this wiki page: 
http://m5sim.org/wiki/index.php/Using_a_non-default_Python_installation

I hope this helps!

Sascha

-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Thomas, Amanda J
Sent: 24 April 2012 22:55
To: [email protected]
Subject: [gem5-users] running bbench

Hi,

I'm having trouble running bbench.  I followed the instructions on 
http://m5sim.org/BBench-gem5 and have everything installed.  I exported the 
M5_PATH variable.  When I try to run with
/path_to_gem5_root/build/ARM/m5.fast configs/example/fs.py -b bbench 
--kernel=vmlinux.smp.mouse.arm

the output I get is:

Traceback (most recent call last):
  File "<string>", line 1, in ?
  File "/home/amanda/Downloads/gem5-bbceb6297329/src/python/importer.py", line 
73, in load_module
    exec code in mod.__dict__
  File "/home/amanda/Downloads/gem5-bbceb6297329/src/python/m5/__init__.py", 
line 44, in ?
    import SimObject
  File "/home/amanda/Downloads/gem5-bbceb6297329/src/python/importer.py", line 
73, in load_module
    exec code in mod.__dict__
  File "/home/amanda/Downloads/gem5-bbceb6297329/src/python/m5/SimObject.py", 
line 58, in ?
    from m5.params import *
  File "/home/amanda/Downloads/gem5-bbceb6297329/src/python/importer.py", line 
73, in load_module
    exec code in mod.__dict__
  File "/home/amanda/Downloads/gem5-bbceb6297329/src/python/m5/params.py", line 
63, in ?
    import datetime
ImportError: /usr/local/lib/python2.4/lib-dynload/datetime.so: undefined 
symbol: _Py_ZeroStruct

What's wrong?

Thanks,
Amanda
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users


-- IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium.  Thank you.

_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

-- IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to