Hi Korey, Thanks for replying. I tried doing a backtrace on gdb, but it says no stack.
0: system.remote_gdb.listener: listening for remote gdb #0 on port 7002 fatal: default_port: Unconnected port! @ cycle 0 [blowUp:build/ALPHA_SE/mem/port.cc, line 47] Memory Usage: 2160736 KBytes For more information see: http://www.m5sim.org/fatal/a98d4a8d Program exited with code 01. (gdb) backtrace No stack. Why is it so? Thanks On Sat, May 7, 2011 at 1:47 PM, Korey Sewell <[email protected]> wrote: > I havent done anything with InOrder and switchcpus so unless someone has a > patch you'll have to look into adding that code. > > I anticipate it's the same (or similar code) from O3CPU's "takeOverFrom" > function. You need to figure out what's the function call causing that fatal > command (gdb backtrace) and then figure out how to implement the > takeOverFrom function in InOrder. If you try, and have some problems, > forward those emails to m5-dev. > > Typically, what needs to happen is the cache ports in the AtomicCPU needs > to be reconnected to the ports in the InOrder so you can run successfully > after the switch. It sounds like this may be a symptom of that not working. > > On Sat, May 7, 2011 at 2:05 PM, reena panda <[email protected]> wrote: > >> Hi, >> I am trying to run m5 in the SE mode, for inorder CPU model. I am trying >> to run SPEC2k6 benchmarks. If I run the benchmark, with only max-insts >> option set like follows, it runs to the max insts and quits. >> ./build/ALPHA_SE/m5.opt ./configs/spec2006/se.py --inorder --caches >> --l2cache -n 1 --maxinsts 100 --bench mcf >> >> But, I want to be able to fast forward some number of instructions in >> atomic mode, then warm up in timing mode and then switch to inorder mode >> for simulation. If I use the command line :- >> ./build/ALPHA_SE/m5.opt --stats-file=mcf_inorder ./configs/spec2006/se.py >> --inorder --caches --l2cache -n 1 --fast-forward=5000 --maxinsts 100 -s >> --bench mcf >> >> I get the following error:- What might be the issue or what I am doing >> wrong here? >> >> *Global frequency set at 1000000000000 ticks per second >> 0: system.remote_gdb.listener: listening for remote gdb #0 on port 7002 >> fatal: default_port: Unconnected port! >> @ cycle 0 >> [blowUp:build/ALPHA_SE/mem/port.cc, line 47] >> Memory Usage: 2159556 KBytes >> For more information see: http://www.m5sim.org/fatal/a98d4a8d* >> >> The following changes were made to the Simulation.py file:- >> >> if options.standard_switch: >> switch_cpus = [TimingSimpleCPU(defer_ >> registration=True, cpu_id=(np+i)) >> for i in xrange(np)] >> switch_cpus_1 = [InOrderCPU(defer_registration=True, >> cpu_id=(2*np+i)) >> for i in xrange(np)] >> >> for i in xrange(np): >> switch_cpus[i].system = testsys >> switch_cpus_1[i].system = testsys >> >> ..... >> >> # simulation period >> if options.maxinsts: >> switch_cpus_1[i].max_insts_all_threads = options.maxinsts >> >> Thanks, >> Reena >> >> _______________________________________________ >> m5-users mailing list >> [email protected] >> http://m5sim.org/cgi-bin/mailman/listinfo/m5-users >> > > > > -- > - Korey > > _______________________________________________ > m5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/m5-users >
_______________________________________________ m5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
