Please take a look at this post: https://www.mail-archive.com/gem5-users@gem5.org/msg14957.html
Best, Mohammad On Fri, Jan 26, 2018 at 4:31 PM, Boyang Xu <boyan...@uvic.ca> wrote: > Hi, Mohammad > > I have run gem5 FS mode successfully and could take a checkpoint. But I > did not still run *apache-bench-ckpt.sh *following your introduction > video successfully. In the file testsys.terminal in the folder m5out.0, the > final output is as follow: > > All times in nanoseconds! > m5 initparam failed > usage: /sbin/m5 exit [delay] > /sbin/m5 fail <code> [delay] > /sbin/m5 resetstats [delay [period]] > /sbin/m5 dumpstats [delay [period]] > /sbin/m5 dumpresetstats [delay [period]] > /sbin/m5 readfile > /sbin/m5 writefile <filename> > /sbin/m5 execfile > /sbin/m5 checkpoint [delay [period]] > /sbin/m5 loadsymbol <address> <symbol> > /sbin/m5 initparam > /sbin/m5 sw99param > /sbin/m5 pin <cpu> <program> [args ...] > > All times in nanoseconds! > m5 initparam failed > [ 4.600561] CPU1: failed to come online > [ 5.600560] CPU2: failed to come online > [ 6.600561] CPU3: failed to come online > > The attachments are parts of the output files running > *apache-bench-ckpt.sh*. > > Looking forward to your reply. > > > On 2018-01-19 12:07 PM, Mohammad Alian wrote: > > Hi Boyang, > > That's weird! I don't see any error inside the log files. > Before you run dist-gem5, have you tried to run gem5 in FS mode > successfully? > > -Mohammad > > On Fri, Jan 19, 2018 at 1:16 PM, Boyang Xu <boyan...@uvic.ca> wrote: > >> Hi,Mohammad >> >> I am new to dist-gem5, even gem5. I failed to bash the >> *apache-bench-run.sh* when following the introduction in your video >> named 1-prepare a simple application on dist-gem5 (apache-bench). >> >> The result is as follow. >> >> boyang@panlab-macpro:~/dist-gem5/gem5/util/dist/apache-bench {74}$bash >> apache-bench-run.sh >> launch switch gem5 process on 127.0.0.1 ... >> waiting for switch to start >> ../home/boyang/dist-gem5/gem5/util/dist/gem5-dist.sh: >> line 287: kill: (27900) - No such process >> Failed to start switch >> >> The simulation just generated the folder rundir in which there >> were log.switch file and m5out.switch folder. And in the m5out.switch >> folder, there was only stats.txt file. No other files were generated >> when running bash apache-bench-run.sh. >> >> Besides, I seemed to failed to run the *apache-bench-ckpt.sh* following >> your introduction video after run it for the whole night. All the content >> in the log.0 file is as follow. >> >> gem5 compiled Dec 20 2017 11:07:49 >> gem5 started Jan 18 2018 16:51:07 >> gem5 executing on panlab-macpro, pid 24469 >> >> command line: /home/boyang/dist-gem5/gem5/build/ARM/gem5.opt -d >> /home/boyang/dist-gem5/gem5/util/dist/apache-bench/m5out.0 >> --debug-flags=DistEthernet /home/boyang/dist-gem5/gem5/configs/example/fs.py >> --cpu-type=AtomicSimpleCPU --num-cpus=1 --machine-type=VExpress_EMM64 >> --disk-image=/home/boyang/dist-gem5/gem5/disks/aarch64-ubuntu-trusty-headless.img >> --kernel=/home/boyang/dist-gem5/gem5/binaries/vmlinux.aarch64.20140821 >> --dtb-filename=/home/boyang/dist-gem5/gem5/binaries/vexpress.aarch64.20140821.dtb >> --script=/home/boyang/dist-gem5/gem5/util/dist/apache-bench/boot.easy.ckpt.rcS >> --checkpoint-dir=/home/boyang/dist-gem5/gem5/util/dist/apache-bench/m5out.0 >> --dist --dist-rank=0 --dist-size=2 --dist-server-name=127.0.0.1 >> --dist-server-port=2212 >> >> info: Standard input is not a terminal, disabling listeners. >> Global frequency set at 1000000000000 ticks per second >> 0: etherlink: DistEtherLink::DistEtherLink() link delay:10000000 >> ticksPerByte:800 >> 0: global: DistIface() ctor rank:0 >> warn: DRAM device capacity (8192 Mbytes) does not match the address range >> assigned (512 Mbytes) >> info: kernel located at: /home/boyang/dist-gem5/gem5/bi >> naries/vmlinux.aarch64.20140821 >> warn: Highest ARM exception-level set to AArch32 but bootloader is for >> AArch64. Assuming you wanted these to match. >> warn: Sockets disabled, not accepting vnc client connections >> warn: Sockets disabled, not accepting terminal connections >> 0: etherlink: DistEtherLink::init() called >> 0: global: Connecting to 127.0.0.1:2212 >> 0: global: Connected, waiting for ack (distIfaceId:0 >> info: Link okay (iface:0 -> switch iface:0) >> info: Next dist synchronisation tick is changed to 5200000000000. >> info: Dist synchronisation interval is changed to 10000000. >> warn: Sockets disabled, not accepting gdb connections >> info: Using bootloader at address 0x10 >> info: Using kernel entry physical address at 0x80080000 >> info: Loading DTB file: /home/boyang/dist-gem5/gem5/bi >> naries/vexpress.aarch64.20140821.dtb at address 0x88000000 >> >> **** REAL SIMULATION **** >> 0: etherlink: DistEtherLink::startup() called >> 0: global: DistIface::startup() started >> info: Dist sync scheduled at 5200000000000 and repeats 10000000 >> 0: global: DistIface::startup() done >> warn: Existing EnergyCtrl, but no enabled DVFSHandler found. >> info: Entering event queue @ 0. Starting simulation... >> warn: SCReg: Access to unknown device dcc0:site0:pos0:fn7:dev0 >> warn: Tried to read RealView I/O at offset 0x60 that doesn't exist >> warn: Tried to read RealView I/O at offset 0x48 that doesn't exist >> warn: Tried to read RealView I/O at offset 0x8 that doesn't exist >> warn: Tried to read RealView I/O at offset 0x48 that doesn't exist >> warn: Device specific PCI config space not implemented for >> testsys.realview.ethernet! >> >> The attachments are the file *log.0, log.1, log.switch* >> running apache-bench-ckpt.sh >> >> Looking forward to your reply. >> -- >> Best Regards, >> Boyang Xu >> >> A graduate student in UVIC >> >> _______________________________________________ >> gem5-users mailing list >> gem5-users@gem5.org >> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > > > _______________________________________________ > gem5-users mailing list > gem5-users@gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > > > -- > Best Regards, > Boyang Xu > > A graduate student in UVIC > > _______________________________________________ > gem5-users mailing list > gem5-users@gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users