Hi,

I use the latest Gem5 to take a checkpoint with X86 FS (AtomicSimpleCPU or
TimingSimpleCPU), then I restore the checkpoint with DerivO3CPU.
An assertion error occurs:
gem5.opt: build/X86/cpu/o3/lsq_impl.hh:810: void
LSQ<Impl>::SplitDataRequest::finish(const Fault&, const RequestPtr&,
ThreadContext*, BaseTLB::Mode) [with Impl = O3CPUImpl; Fault =
std::shared_ptr<FaultBase>; RequestPtr = std::shared_ptr<Request>]:
Assertion `req == _requests[numTranslatedFragments] || this->isDelayed()'
failed.
Program aborted at tick 4754828488500

The kernel is x86_64-vmlinux-3.2.24, the disk is x86_64root.img.

The command for taking checkpoint is:
./build/X86/gem5.opt --outdir=test/outdir configs/example/fs.py
--kernel=x86_64-vmlinux-3.2.24
--disk-image=$HOME/private/gem5/image/disks/x86_64root.img
--mem-size=4096MB --cpu-type=AtomicSimpleCPU --cpu-clock=4GHz
--checkpoint-dir=test/checkpoint --caches --l2cache
 --script=configs/boot/test.rcS

The command for restoring checkpoint is:
./build/X86/gem5.opt --outdir=test/outdir configs/example/fs.py
--kernel=x86_64-vmlinux-3.2.24
--disk-image=$HOME/private/gem5/image/disks/x86_64root.img
--mem-size=4096MB --restore-with-cpu=DerivO3CPU --cpu-type=DerivO3CPU
--cpu-clock=4GHz --checkpoint-dir=test/checkpoint -r 1 --caches  --l2cache
--script=configs/boot/test.rcS

Is there anyone who has encountered the problem or knows how to solve the
problem?
Any help will be appreciated!


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

Reply via email to