Hi All,

I have still not been able to resolve the above issue while checkpointing
the state after linux bootup in X86 FS with ruby. Can anyone help out?

Thanks
Prateek

On Sun, May 10, 2015 at 12:57 PM, Prats Gre <[email protected]> wrote:

> Hi All,
>
> I am trying to create a checkpoint running Gem5 (latest dev version) x86
> in FS mode with Ruby. I built Gem5 with MOESI hammer protocol using the
> following command (as I read in some past archive that Ruby can be
> checkpointed only with the MOESI_hammer protocol):-
> *scons build/X86_MOESI_hammer/gem5.opt RUBY=True PROTOCOL=MOESI_hammer*
>
> For checkpointing, I am using the hack_back_ckpt script as follows with
> timing CPU model:-
>
> *./build/X86_MOESI_hammer/gem5.opt ./configs/example/fs.py
> --kernel="path-to-full-system-images/binaries/x86_64-vmlinux-2.6.22.9"
> --disk-image="path-to-full-system-images/disks/linux-x86.img" --ruby
> --cpu-type=timing --num_cpus=1 --mem-size=1GB --caches --l2cache
> --num-dirs=1 --script="path-to-gem5/configs/boot/hack_back_ckpt.rcS*
>
> Linux boots fine, I can run commands in the simulated system too by
> connecting through m5term. But as soon as the hack_back script tries to
> write the checkpoint (using m5 checkpoint command), I get an abort:-
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ***** REAL SIMULATION ****info: Entering event queue @ 0.  Starting
> simulation...warn: Don't know what interrupt to clear for
> console.14533214000: system.pc.com_1.terminal: attach terminal 0warn: x86
> cpuid: unknown family 0x8086warn: Tried to clear PCI interrupt 14warn:
> Unknown mouse command 0xe1.warn: instruction 'wbinvd' unimplementedinfo:
> Entering event queue @ 5318230462000.  Starting simulation...Writing
> checkpointinfo: Entering event queue @ 5318230720750.  Starting
> simulation...panic: event not found! @ tick
> 5318230720750[remove:build/X86_MOESI_hammer/sim/eventq.cc, line 195]Memory
> Usage: 1895272 KBytesProgram aborted at cycle 5318230720750Aborted (core
> dumped)*
>
> I ran it with gdb and it seems that the abort happens in some raise.c as
> shown below.
>
>
>
>
>
>
>
>
>
>
>
>
> *(gdb) Writing checkpointinfo: Entering event queue @ 5318230720750.
> Starting simulation...panic: event not found! @ tick
> 5318230720750[remove:build/X86_MOESI_hammer/sim/eventq.cc, line 195]Memory
> Usage: 1895280 KBytesProgram received signal SIGABRT,
> Aborted.0x00007ffff665ce37 in __GI_raise (sig=sig@entry=6)    at
> ../nptl/sysdeps/unix/sysv/linux/raise.c:5656
> ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.(gdb) *
>
> The same problem arises with gem5-stable version as well.
>
> Can anyone help to point out what I am doing wrong or if someone has faced
> this issue before? Thanks for your help.
>
> Thanks,
> Prateek
>
>
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to