Abbas Fairouz
2018-08-24 15:38:13 UTC
Hi there,
I'm trying to restore a checkpoint (created using "
configs/boot/hack_back_ckpt.rcS" script). The simulation hangs up after
restoring the simulation from the checkpoint.
Here are the details:
*creating a checkpoint command:*
gem5~> ./build/X86/gem5.opt -d m5out/cpt_general configs/example/fs.py
--script=configs/boot/hack_back_ckpt.rcS
*restoring a checkpoint command:*
gem5~> ./build/X86/gem5.opt -d m5out/test_restore_cpu
./configs/example/fs.py --checkpoint-dir=m5out/cpt_general -r 1
--cpu-clock=1GHz --caches --l2cache --l1d_size=64kB
--script=myscripts/test.rcS --mem-type=DDR4_2400_8x8
--restore-with-cpu=DerivO3CPU --cpu-type=DerivO3CPU
*terminal output:*
gem5~> telnet localhost 3457
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
==== m5 slave terminal: Terminal 0 ====
Loading new script...
Start
Bye
*test.rcS script:*
#!/bin/sh
echo "Start"
echo "Bye"
/sbin/m5 exit
Why the simulation is hanging and not exiting?
Best regards,
Abbas Fairouz
I'm trying to restore a checkpoint (created using "
configs/boot/hack_back_ckpt.rcS" script). The simulation hangs up after
restoring the simulation from the checkpoint.
Here are the details:
*creating a checkpoint command:*
gem5~> ./build/X86/gem5.opt -d m5out/cpt_general configs/example/fs.py
--script=configs/boot/hack_back_ckpt.rcS
*restoring a checkpoint command:*
gem5~> ./build/X86/gem5.opt -d m5out/test_restore_cpu
./configs/example/fs.py --checkpoint-dir=m5out/cpt_general -r 1
--cpu-clock=1GHz --caches --l2cache --l1d_size=64kB
--script=myscripts/test.rcS --mem-type=DDR4_2400_8x8
--restore-with-cpu=DerivO3CPU --cpu-type=DerivO3CPU
*terminal output:*
gem5~> telnet localhost 3457
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
==== m5 slave terminal: Terminal 0 ====
Loading new script...
Start
Bye
*test.rcS script:*
#!/bin/sh
echo "Start"
echo "Bye"
/sbin/m5 exit
Why the simulation is hanging and not exiting?
Best regards,
Abbas Fairouz