Hi Mohammad, 

"testsys.terminal" in the last email is for rank0. The content of
"m5out.1/testsys.terminal" is as follow:

> Loading new script... 
> 
> start apache bench 
> 
> /tmp/runscript1.sh: line 21: ab: command not found

I was trying to resolve the problem "ab: command not found" ,but failed.
:( 

At first, I checked out whether apache had installed. The result is as
follow.

> boyang@panlab-macpro:~/dist-gem5/gem5/testFS/outdir.Android {72}$apache2 -v 
> 
> Server version: Apache/2.4.7 (Ubuntu) 
> 
> Server built:   Sep 18 2017 16:37:54

And then, I tried to execute the command "ab -c 10 -n 1000
http://192.168.0.2/index.html"; [4], and the result is as follow.

> boyang@panlab-macpro:~/dist-gem5/gem5/util/dist/apache-bench-run {36}$ab -c 
> 10 -n 1000 http://192.168.0.2/index.html 
> 
> This is ApacheBench, Version 2.3 <$Revision: 1528965 $> 
> 
> Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ 
> 
> Licensed to The Apache Software Foundation, http://www.apache.org/ 
> 
> Benchmarking 192.168.0.2 (be patient) 
> 
> apr_pollset_poll: The timeout specified has expired (70007)

Finally, after having mounted image, I copied the folder "etc/apache2"
to mnt/. However, the content in "m5out.1/testsys.terminal" is the same
as the above one. 

Please give me some help. 

On 2018-01-31 11:19 AM, Mohammad Alian wrote:

> Is "testsys.terminal" for rank0 (i.e. is this "M5OUT.0/testsys.terminal")? 
> What is the content of "m5out.1/testsys.terminal"? 
> 
> You should look at "m5out.1/testsys.terminal" cause "m5 exit 1" is called on 
> rank1 based on log.1 content. 
> 
> Best, 
> Mohammad 
> 
> On Tue, Jan 30, 2018 at 7:19 PM, Boyang Xu <boyan...@uvic.ca> wrote:
> 
> Hi Mohammad, 
> 
> I have  run APACHE-BENCH-CKPT.SH successfully and taken checkpoint, but I 
> failed to get the same output run APACHE-BENCH-RUN.SH as your introcution 
> video. In the file testsys.terminal, the output is just as follow. the 
> attachments are the output files 
> 
> Loading new script...
> start apache bench 
> 
> Looking forward to your reply. 
> 
> On 2018-01-26 03:00 PM, Mohammad Alian wrote: 
> 
> Please take a look at this post: 
> https://www.mail-archive.com/gem5-users@gem5.org/msg14957.html [1]
> 
> 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/binaries/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 [2]
> 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/binaries/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 [3]

_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users [3] 

-- 
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 [3] 
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users [3] 

-- 
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 [3] 
_______________________________________________
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 

Links:
------
[1] https://www.mail-archive.com/gem5-users@gem5.org/msg14957.html
[2] http://127.0.0.1:2212
[3] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
[4] http://192.168.0.2/index.html&quot;
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to