To whom it may concern,

I got segmentation fault when trying to create checkpoints for X86_FS with
ruby. Hereunder are the steps, please tell me if there is anything wrong:

1/ Compile Gem5 with RUBY and MOESI_hammer protocol:
    $  scons -j4 build/X86/gem5.fast PROTOCOL=MOESI_hammer RUBY=True

2/ Writing the mcf.rcS script with the checkpoint command. Here is the
script file:
   cd run/run_base_ref_x86.0000
   /sbin/m5 checkpoint 0 0
   /sbin/m5 checkpoint 100000000 200000000
   /sbin/m5 loadsymbol
   /sbin/m5 resetstats
   echo "i am reaching program itself"
   /spec06/429.mcf/exe/mcf_base.exe inp.in
   /sbin/m5 exit

3/ Running the program:
  $ build/X86/gem5.fast -d ruby-output configs/example/ruby_fs.py
--kernel=x86_64-vmlinux-2.6.22.9.smp --script=configs/boot/mcf.rcS
--cpu-type=detailed --caches --ruby --checkpoint-dir=checkpoint-dir

However, when it tried to write the checkpoint, it gave the following
output and exited:
-------------------------------------
info: Entering event queue @ 5169999496500.  Starting simulation...
Writing checkpoint
Segmentation fault
-------------------------------------

I also tried to create checkpoint using options like: --take-checkpoints
"10000000, 10000000", which also encountered the segmentation fault and
exited. Could you please tell me what the problem is? Did I give the wrong
options or any steps missing? Thank you in advance.


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

Reply via email to