Hi Ciro I was debugging the X86, mutlticore issue as suggested by you. I could see that the simulation exits as expected by changing * if (activeContexts ==0)* at https://github.com/gem5/gem5/blob/9fc9c67b4242c03f165951775be5cd0812f2a705/src/sim/syscall_emul.cc#L212 to *if (activeContexts == 1).* This change is done as per the commit https://github.com/gem5/gem5/commit/bae0edb0d26dc6c4738855cf38e9a6a109ae8003 I want to ask, whether this change ie *if (activeContexts ==0) *was a bug or intentional for some other reason?
Thanks KP Arun On Tue, Feb 18, 2020 at 11:45 PM Abhishek Singh < abhishek.singh199...@gmail.com> wrote: > Hi, > > A ticket is already opened about this at Jira > https://gem5.atlassian.net/projects/GEM5/issues > > Arun: This repo (https://gem5.googlesource.com/amd/gem5/) will solve > your problem > > > On Tue, Feb 18, 2020 at 1:06 PM Ciro Santilli <ciro.santi...@gmail.com> > wrote: > >> Hi Arun, >> >> "I started using ruby memory model after reading from gem5 email >> archive that classic memory does not work with multicore DerivO3CPU.": >> I didn't know this, where was this mentioned? I have just run an ARM >> pthread hello world on DerivO3CPU 2 cores and it worked on master. >> >> I reproduce your problem on X86 DerivO3CPU classic but not ARM >> DerivO3CPU. But a pthread hello world (single binary under --cmd that >> spanws threads) with 2 CPUs worked, I don't know the cause. If no one >> knows about this issue, you need to try and debug it :-) >> >> I would also open a ticket for this bug at >> https://gem5.atlassian.net/browse/GEM5 and move all discussion there. >> >> >> >> >> On Tue, Feb 18, 2020 at 4:43 AM Arun Kavumkal <arunkp.onl...@gmail.com> >> wrote: >> > >> > Hi, >> > I am trying to run gem5 in SE mode with number of cpus 2, cpu type >> DerivO3CPU, and ruby memory model using following command, but the >> simulation does not stop even after results are produced , ie "Hello >> world!" is printed to stdout >> > >> > build/X86_MESI_Three_Level/gem5.opt configs/example/se.py -n 2 --ruby >> --cpu-type=DerivO3CPU -c >> 'tests/test-progs/hello/bin/x86/linux/hello;tests/test-progs/hello/bin/x86/linux/hello' >> > >> > I started using ruby memory model after reading from gem5 email archive >> that classic memory does not work with multicore DerivO3CPU. >> > >> > Thanks >> > Arun KP >> > _______________________________________________ >> > 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 > >
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users