Hi Nilay, The patch review I just submitted should fix this. The problem was that sometimes the RubySystem was created after the RubyMemoryController and hence g_system_ptr was null.
Jason On Wed, Aug 1, 2012 at 11:33 PM, Beckmann, Brad <[email protected]>wrote: > Hi Nilay, > > I suspect I won’t have a chance to look at it for a while, but I believe > you have an expert right there in Madison. Jason should know that patch > well, so hopefully he can help. If I had to guess, I suspect that the > problem involves specifying the num-dir to be greater than 1. We probably > haven’t tested that in a while. > > Brad > > > From: Nilay Vaish [mailto:[email protected]] On Behalf Of Nilay > Vaish > Sent: Wednesday, August 01, 2012 4:22 PM > To: Nilay Vaish; Beckmann, Brad; Default > Subject: Re: Review Request: ruby: adds reset function to Ruby memory > controllers > > This is an automatically generated e-mail. To reply, visit: > http://reviews.gem5.org/r/1288/ > > > > > I was trying to run the following command -- > > > > ./build/X86/gem5.fast ./configs/example/ruby_random_test.py -n 64 > --topology=Mesh --num-l2caches=64 --num-dir=64 > > > > but I got a segmentation fault while the memory controller was being > > registered. It first appears with revision 9103:956796e06b7f. Brad, can > you look into this issue? > > > - Nilay > > > On July 2nd, 2012, 10:43 p.m., Brad Beckmann wrote: > Review request for Default. > By Brad Beckmann. > > Updated July 2, 2012, 10:43 p.m. > > Description > > Changeset 9076:11422560e100 > > --------------------------- > > ruby: adds reset function to Ruby memory controllers > > > Diffs > > * src/mem/ruby/system/MemoryControl.hh > (d8e5ca139d7c24eeb665ac0aab41e180886278cb) > * src/mem/ruby/system/MemoryControl.cc > (d8e5ca139d7c24eeb665ac0aab41e180886278cb) > * src/mem/ruby/system/RubyMemoryControl.hh (PRE-CREATION) > * src/mem/ruby/system/RubyMemoryControl.cc (PRE-CREATION) > * src/mem/ruby/system/System.hh > (d8e5ca139d7c24eeb665ac0aab41e180886278cb) > * src/mem/ruby/system/System.cc > (d8e5ca139d7c24eeb665ac0aab41e180886278cb) > > View Diff<http://reviews.gem5.org/r/1288/diff/> > > > _______________________________________________ > gem5-dev mailing list > [email protected] > http://m5sim.org/mailman/listinfo/gem5-dev > _______________________________________________ gem5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/gem5-dev
