Hey Marco, This looks like an analogous issue to what I was running into with the RubyPort child ports calling drainEvent->process() too many times. Could you run a test with gdb where you break in CountedDrainEvent::process and print the name of the SimObject that are calls process() each time gdb breaks? This should give us a starting point for where to look.
Thanks, Joel On Fri, Sep 14, 2012 at 3:26 PM, Marco Elver <[email protected]> wrote: > Hi all, > > I would like to report the following problem since changeset > 9206:f6483789d23a (Ruby System: Convert to Clocked Object). Additional > setup information: I am using Joel Hestness's changesets 9220, 9221, 9222 > and http://reviews.gem5.org/r/1386/ to get restoring to O3CPU working, > otherwise I would get assertion errors about the system having scheduled a > deadlock detection event while draining; all this worked before changeset > 9206. > > $ build/X86_MOESI_hammer/gem5.debug --debug-flags=Config,Drain > --outdir=m5out/rawdata/fluidanimate/2.6.32 configs/example/ruby_fs.py -n 16 > --kernel=system/x86_64-vmlinux-2.6.32.59.smp --num-l2caches 3 > 2 --l1d_size 32kB --l1i_size 32kB --l2_size 1MB --l1d_assoc 2 --l1i_assoc > 2 --l2_assoc 16 --cpu-type=detailed > --script=contrib/initscripts/parsec/fluidanimate.sh > --checkpoint-dir=m5out/checkpoints/fluidanimate/2. > 6.32 --max-checkpoints=1 -r 0 --restore-with-cpu=timing > [...] > gem5.debug: build/X86_MOESI_hammer/python/swig/pyevent.cc:84: void > cleanupCountedDrain(Event*): Assertion `event->getCount() == 0' failed. > (see attached gem5.log for full output) > > Gdb tells me event->getCount() at that point is "-1". > > I am also noticing with the "Drain" debug flag enabled, that there are > only 15 (instead of 16) CPUs listed for the drain events (see log file). Is > this normal? > > Any ideas? > > Thanks, > Marco. > > > The University of Edinburgh is a charitable body, registered in > Scotland, with registration number SC005336. > > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > -- Joel Hestness PhD Student, Computer Architecture Dept. of Computer Science, University of Wisconsin - Madison http://www.cs.utexas.edu/~hestness
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
