Hi,

I am running into issues when using the script "hack_back_ckpt.rcS" to
create a checkpoint at the end of the disk image boot. I am running
parsec2.1 applications within the disk.
My script is as follows:
1. I am creating a checkpoint at the end of linux boot using the
"hack_back_ckpt.rcS"
script

>> build/X86/gem5.opt configs/example/fs.py
--kernel=kernel/x86_64-vmlinux-2.6.28.4-smp
--disk-image=disk_image/x86root-parsec.img --checkpoint-dir=checkpoint
--script=rcS/hack_back_ckpt.rcS
--caches --l2cache --l1i_size=32kB --l1d_size=32kB --l1d_assoc=2
--l1i_assoc=2 --l2_assoc=8 --l2_size=2MB --num-cpus=8
--mem-type=HBM_1000_4H_1x128

2. Now I am running "canneal" application as follows. I am restoring with
"AtomicSimpleCPU" and using "DerivO3CPU" for the simulation

>> build/X86/gem5.opt configs/example/fs.py
--kernel=kernel/x86_64-vmlinux-2.6.28.4-smp
--disk-image=disk_image/x86root-parsec.img --script=
rcS/canneal/canneal_8c_simmedium.rcS --checkpoint-restore=1
--checkpoint-dir=checkpoint --mem-type=HBM_1000_4H_1x128 --caches --l2cache
--l1i_size=32kB --l1d_size=32kB --l1d_assoc=2 --l1i_assoc=2 --l2_assoc=8
--l2_size=2MB -I 1000000000 --restore-with-cpu=AtomicSimpleCPU
--cpu-type=DerivO3CPU

I get an error stating

Traceback (most recent call last):

  File "<string>", line 1, in <module>

  File "build/X86/python/m5/main.py", line 457, in main

  File "/projectnb/hetero-sys/gem5_final/configs/example/fs.py", line 384,
in <module>

    Simulation.run(options, root, test_sys, FutureClass)

  File "/projectnb2/hetero-sys/gem5_final/configs/common/Simulation.py",
line 726, in run

    exit_event = benchCheckpoints(options, maxtick, cptdir)

  File "/projectnb2/hetero-sys/gem5_final/configs/common/Simulation.py",
line 269, in benchCheckpoints

    exit_event = m5.simulate(maxtick - m5.curTick())

  File "build/X86/python/m5/simulate.py", line 180, in simulate

RuntimeError: bad_function_call

I understand the curTick() is going above maxtick. What might cause this to
happen? Is there any problem with how I am using hack_back_ckpt.rcS script
to run the FS simulations?

Thanks,
Aditya
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to