I tried several different configurations. It works in atomic mode even with caches. But segmentation fault occurs for both arm_detailed and detailed cpu type. The checkpoint is taken in atomic mode. Should the checkpoint be taken with the same cpu type as it runs by restoring the checkpoint?
________________________________ From: gem5-users-boun...@gem5.org [gem5-users-boun...@gem5.org] on behalf of Fangfei Liu [fangf...@princeton.edu] Sent: Sunday, September 30, 2012 4:16 PM To: gem5 users mailing list Subject: Re: [gem5-users] questions on running benchmark on gem5 Hi, This is the information I got from running it in gdb: Switch at curTick count:10000 info: Entering event queue @ 19318968082000. Starting simulation... gem5.opt: build/ARM/sim/simulate.cc:66: SimLoopExitEvent* simulate(Tick): Assertion `curTick() <= mainEventQueue.nextTick() && "event scheduled in the past"' failed. Program received signal SIGABRT, Aborted. 0x0000003127430285 in raise () from /lib64/libc.so.6 It seems that it failed at the assertion. Do you have any idea what's wrong with it? Thanks! Best regards Fangfei ________________________________ From: gem5-users-boun...@gem5.org [gem5-users-boun...@gem5.org] on behalf of Anthony Gutierrez [atgut...@umich.edu] Sent: Sunday, September 30, 2012 3:32 PM To: gem5 users mailing list Subject: Re: [gem5-users] questions on running benchmark on gem5 You will need to use gdb or a similar tool to find out where that seg fault is coming from. -Tony On Sun, Sep 30, 2012 at 3:29 PM, Fangfei Liu <fangf...@princeton.edu<mailto:fangf...@princeton.edu>> wrote: I didn't use caches when taking a checkpoint. This is the command line I used to take the checkpoint. build/ARM/gem5.opt --outdir=bbench configs/example/fs.py -b bbench-gb --kernel=vmlinux.smp.mouse.arm --frame-capture --checkpoint-dir=bbench ________________________________ From: gem5-users-boun...@gem5.org<mailto:gem5-users-boun...@gem5.org> [gem5-users-boun...@gem5.org<mailto:gem5-users-boun...@gem5.org>] on behalf of Anthony Gutierrez [atgut...@umich.edu<mailto:atgut...@umich.edu>] Sent: Sunday, September 30, 2012 3:04 PM To: gem5 users mailing list Subject: Re: [gem5-users] questions on running benchmark on gem5 Did you take a checkpoint with caches? If so, you must take a checkpoint without caches. -Tony On Sun, Sep 30, 2012 at 2:58 PM, Fangfei Liu <fangf...@princeton.edu<mailto:fangf...@princeton.edu>> wrote: I see, probably I had some interacting with vncviewer with the mouse when the keyboard is open. I tried to run the benchmark again and now it can run to completion. Thank you very much for your kind help! I have another problem. I took a checkpoint after booting the OS in atomic mode with the default configuration. I did this by inserting a m5 instruction in the bbench-gb.rcS file: /sbin/m5 checkpoint (right after sleep 10). The checkpoint can be taken correctly. Then I want to resume the checkpoint and simulate BBench in arm_detailed mode, but I got segmentation fault. The command line and output is as follows: command line: build/ARM/gem5.opt --outdir=bbench2 configs/example/fs.py -b bbench-gb --kernel=vmlinux.smp.mouse.arm --frame-capture --checkpoint-dir=bbench -r 1 --caches --cpu-type=arm_detailed --l2cache --cacheline_size=64 --l1d_size=32kB --l1d_assoc=4 --l2_size=512kB --l2_assoc=8 Global frequency set at 1000000000000 ticks per second info: kernel located at: /tigress-hsm/fangfeil/gem5/system/binaries/vmlinux.smp.mouse.arm Switch at curTick count:10000 info: Entering event queue @ 19318968082000. Starting simulation... Switched CPUS @ tick 19318968092000 Changing memory mode to timing switching cpus **** REAL SIMULATION **** info: Entering event queue @ 19318968092000. Starting simulation... Segmentation fault I still use the same rcS file except comment the checkpoint command. I was wondering whether I did this correctly. Thanks in advance! Best regards Fangfei ________________________________ From: gem5-users-boun...@gem5.org<mailto:gem5-users-boun...@gem5.org> [gem5-users-boun...@gem5.org<mailto:gem5-users-boun...@gem5.org>] on behalf of Anthony Gutierrez [atgut...@umich.edu<mailto:atgut...@umich.edu>] Sent: Sunday, September 30, 2012 12:59 PM To: gem5 users mailing list Subject: Re: [gem5-users] questions on running benchmark on gem5 BBench is a web-page rendering benchmark, however, it shouldn't interact with the web-pages in any way. It's doing a google search for something called ewbay and the keyboard is open, that shouldn't happen. Were you interacting with the vncviewer with the mouse? Is it possible that this query could have been entered in error? There is nothing in the BBench source called "ewbay", so it's hard to tell how that url is being produced otherwise. -Tony On Sat, Sep 29, 2012 at 2:15 PM, Fangfei Liu <fangf...@princeton.edu<mailto:fangf...@princeton.edu>> wrote: Thanks for your reply. I didn’t change anything and the command line I used was exactly the same as that in the BBench instruction page. The exact URL is http://www.google.com/m?hl=md&gl=us&source=android-browser-type&q=ewbay<https://owa.princeton.edu/owa/redir.aspx?C=7HmSRhGXSk2J12xsesLMwH3TuxeMcc8IjThnd3hkIWuO2qoM84GhCA0ZlhUlBjlhcqAIq2Ta4iw.&URL=http%3a%2f%2fwww.google.com%2fm%3fhl%3dmd%26gl%3dus%26source%3dandroid-browser-type%26q%3dewbay>. It is actually doing google search for ebay. Please find attached a snapshot for this page. Best regards Fangfei Date: Fri, 28 Sep 2012 14:49:55 -0400 From: Anthony Gutierrez <atgut...@umich.edu<mailto:atgut...@umich.edu>> To: gem5 users mailing list <gem5-users@gem5.org<mailto:gem5-users@gem5.org>> Subject: Re: [gem5-users] questions on running benchmark on gem5 Message-ID: <caeqebpsxtdzuouczrvt6q1-3ckj5mkwzgicnwdo9qbpwume...@mail.gmail.com<mailto:caeqebpsxtdzuouczrvt6q1-3ckj5mkwzgicnwdo9qbpwume...@mail.gmail.com>> Content-Type: text/plain; charset="iso-8859-1" I started a BBench run this morning with a fresh check out of the latest dev repo, the Android kernel and an unmodified Gingerbread disk image with BBench, both from gem5.org/bbench-gem5<http://gem5.org/bbench-gem5>. I do not see this problem, eBay renders fine and the simulation continues. I will need more info on your setup/how you're running the simulation if you'd like help with this problem. -Tony On Fri, Sep 28, 2012 at 11:31 AM, Anthony Gutierrez <atgut...@umich.edu<mailto:atgut...@umich.edu>>wrote: > I've never seen this problem before, and the BBench source for eBay does > not show anything called ewbay in the source, so I don't know how it's > getting redirected to that URL. Did you modify the BBench source in any > way? Can you send me your exact command line? And, can you tell me the > exact URL that the browser shows when it hangs? > > -Tony > > On Thu, Sep 27, 2012 at 10:25 AM, Fangfei Liu > <fangf...@princeton.edu<mailto:fangf...@princeton.edu>>wrote: > >> Hi,**** >> >> ** ** >> >> I tried to run Bbench on gem5 with Gingerbread disk image (atomic mode >> and default configuration). The simulator took about 140 minutes to boot >> Android and start running the benchmark. But it seems that the benchmark >> stalled at certain web page after running for a while. I find that it is >> supposed to render a web page in ebay but used the wrong url with ewbay. I >> terminated the simulation manually after 97 hours but find that the >> statistics shows only 87 billion instructions were simulated. I was >> wondering what caused the problem and what is supposed to be the end of >> running of Bbench? Will the simulation exit automatically? How many >> instructions are there if I want to run Bbench to completion? I also >> downloaded an EEMBC benchmark: AndEbench, which is an Android app (.apk >> file). Can I run this app directly on gem5? If so, does anyone know how to >> install and run it on gem5? Thanks!**** >> >> ** ** >> >> ** ** >> >> Best regards**** >> >> Fangfei**** >> >> ** ** >> >> _______________________________________________ >> gem5-users mailing list >> gem5-users@gem5.org<mailto:gem5-users@gem5.org> >> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >> > > _______________________________________________ gem5-users mailing list gem5-users@gem5.org<mailto:gem5-users@gem5.org> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users _______________________________________________ gem5-users mailing list gem5-users@gem5.org<mailto:gem5-users@gem5.org> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users _______________________________________________ gem5-users mailing list gem5-users@gem5.org<mailto: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