Re: [gem5-users] Create Checkpoint

2018-08-28 Thread Yunxia Zhu
Hi Serhat Gesoglu I run the gem5 for one night and the simulation still didn't end. It has the same result which I showed before. It seems like it hung. Did you have the same situation? Thank you. with best regards Yunxia Zhu On Tue, 28 Aug 2018 at 13:53, Serhat Gesoglu < serhat.geso...@manches

Re: [gem5-users] Create Checkpoint

2018-08-28 Thread Abbas Fairouz
You need to open another terminal to listen to the output port. You will see the output port number after running GEM5 at the following sentence: "Listening for com_1 connection on port *3456*" The "3456" is the port number. To open that, in a new terminal, run the following: telnet localhost 34

Re: [gem5-users] Autostart programms on Gem5 linux 16.04.1 OS

2018-08-28 Thread Ciro Santilli
On Tue, Aug 28, 2018 at 2:09 PM Yunxia Zhu wrote: > Hi everyone, > > I have some doubts about how to create an autostart programms on gem5 > linux 16.04.1 OS. > 1. Automatic login > When I start the linux by QEMU, it can automatically login without user > name and password on tty1. But when I sta

[gem5-users] Autostart programms on Gem5 linux 16.04.1 OS

2018-08-28 Thread Yunxia Zhu
Hi everyone, I have some doubts about how to create an autostart programms on gem5 linux 16.04.1 OS. 1. Automatic login When I start the linux by QEMU, it can automatically login without user name and password on tty1. But when I start it by Gem5 simulatior, it failed and it login on ttyS0. Why do

Re: [gem5-users] Questions about the detailed and useful comments in the Cache access related code

2018-08-28 Thread Nikos Nikoleris
Hi Gjins, Please see below for my response. On 27/08/2018 07:28, Gongjin Sun wrote: > > 1 BaseCache::access(PacketPtr pkt, CacheBlk *&blk, Cycles > &lat, PacketList &writebacks) (src/mem/cache/base.cc) > > (1) In the segment "if (pkt->isEviction()) { ...}", if I understand it > correctly, this c

Re: [gem5-users] Create Checkpoint

2018-08-28 Thread Yunxia Zhu
Hi Serhat Gesoglu, Ok. Thanks a lot. I will try again and wait it for long time until ends. I thought the command which was inputted was wrong. with best regards Yunxia Zhu On Tue, 28 Aug 2018 at 13:53, Serhat Gesoglu < serhat.geso...@manchester.ac.uk> wrote: > Hello,, > You should wait for the

Re: [gem5-users] Create Checkpoint

2018-08-28 Thread Serhat Gesoglu
Hello,, You should wait for the simulation to end. I am not sure which cpu type you are using but you might want to try --cpu-type=AtomicSimpleCPU if you are not already using it. Otherwise you should give it more time. Kind regards Serhat From: gem5-us

Re: [gem5-users] Create Checkpoint

2018-08-28 Thread Yunxia Zhu
Hello Serhat Gesoglu, I didn't get any error and I didn't get "checkpoint simulation" either. My output is as same as the output when I simulate gem5 OS without script. And it is attached below. gem5 Simulator System. http://gem5.org gem5 is copyrighted software; use the --copyright option for d

Re: [gem5-users] Create Checkpoint

2018-08-28 Thread Serhat Gesoglu
Hello, Do you get an error after running the first command? ($ build/X86/gem5.opt configs/example/fs.py --script=configs/boot/hack_back_ckpt.rcS). The output should say something like "Checkpointing simulation...". This command should create a folder starting with "cpt" in your m5out folder. An

Re: [gem5-users] Create Checkpoint

2018-08-28 Thread Yunxia Zhu
Hello Serhat Gesoglu, I used m5 commands but I still failed to create checkpoint. Here it is details: Create checkpoint: gem5 $ build/X86/gem5.opt configs/example/fs.py --script=configs/boot/hack_back_ckpt.rcS Restore checkpoint: gem5 $ build/X86/gem5.opt configs/example/fs.py -r 1 Then it show