Hi All,

I'm trying to run the run_bench.py script, and I had created a checkpoint in
the ubuntu-natty.qcow2 by using the checkpoint_after.c (compiled at Ubuntu
host, and transferred to qemu guest OS by scp).

This is my configuration file:

[DEFAULT]
marss_dir = /home/max/marrs
util_dir = /home/max/marss/util
img_dir = /home/max/DiskImage
qemu_bin = /home/max/marss/qemu/qemu-system-x86_64
default_simconfig = -kill-after-run -quiet

[suite FFT]
checkpoints = First

[run FFT]
suite = FFT
images = /home/max/DiskImage/ubuntu-natty.qcow2
memory = 2G
simconfig = -logfile %(out_dir)s/%(bench)s.log
  -stats %(out_dir)s/%(bench)s.yml
  -machine atom_single_core
  %(default_simconfig)s

The "first" is a checkpoint at user instruction after 1000, and named first
created by the checkpoint_after.c

When I ran the ./run_bench.py, I'm getting a strange error:

Traceback (most recent call last):
  File "./util/run_bench.py", line 224, in <module>
    run_configs.extend(get_run_configs(arg, options, conf_parser))
  File "./util/run_bench.py", line 151, in get_run_configs
    output_dir = options.output_dir + "/"
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

Has anyone met this problem before?

By the way, when I run checkpoint_after, it crashes Qemu, but when I get
into Qemu again, the checkpoint_after turned green letters (it was white
before I called chmod and sudo to run the compiled program). Is this a
normal behavior?

Thanks all for your help, it might be a very stupid question, but I'm very
inexperienced with python and Linux.

Thanks again for your help!



_______________________________________________
http://www.marss86.org
Marss86-Devel mailing list
[email protected]
https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel

Reply via email to