Hi,

I'm running Gem5 rev 9820:2f9aecba2362

I'm running Gem5 with the  following commandline
command line: build/ARM/gem5.opt --outdir=m5out/bbench/timing
configs/example/fs.py --checkpoint-restore=0 --kernel
/home/guru/gem5/kernel/linux-3.3-armdroid/vmlinux --disk-image
/home/guru/gem5/gem5-dev/system/disks/android_jb_pa_full.img
--machine-type=VExpress_EMM --mem-type=ddr3_1600_x64 --cpu-type=atomic
--num-cpus=1 --cpu-clock=200MHz

Upon trying to restore from a checkpoint that I took earlier, I end up
with the following output

Global frequency set at 1000000000000 ticks per second
info: Initialized simpleDRAM with name :system.physmem
info: kernel located at: /home/guru/gem5/kernel/linux-3.3-armdroid/vmlinux
Listening for system connection on port 5900
Listening for system connection on port 3456
0: system.remote_gdb.listener: listening for remote gdb #0 on port 7000
info: Using bootloader at address 0x10
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/guru/gem5/gem5-dev/src/python/m5/main.py", line 387, in main
    exec filecode in scope
  File "configs/example/fs.py", line 225, in <module>
    Simulation.run(options, root, test_sys, FutureClass)
  File "/home/guru/gem5/gem5-dev/configs/common/Simulation.py", line 442, in run
    if options.checkpoint_restore != None and maxtick < cpt_starttick:
UnboundLocalError: local variable 'cpt_starttick' referenced before assignment

Is there something that I'm doing wrong?

I am running the same kernel..
I have not modified Gem5 between simulations..
I literally just interrupted the previous simulation after checkpoint
and tried to restore it.

Please let me know if I'm using a wrong version of m5 (I built m5 from
the current revision)


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

Reply via email to