At first blush, it appears your main problem is that you are checkpointing and restoring different runs.
When you checkpoint something, it's like saving the state so that when you restore, it's like you never checkpointed at all and just continue running...in your case, you've checkpointed a run that just went to a prompt and stopped, and restored trying to run a splash benchmark, which won't work. Lisa On Thu, Dec 30, 2010 at 3:58 AM, IC <[email protected]> wrote: > Hello: > > I want to use m5 checkpoint for my simulation. > > But the way of using checkpont confused me. > > Would checkpoint support TimingSimpleCPU ? > > First run, I entered command: > > ./build/ALPHA_FS/m5.fast ./configs/example/fs.py -n1 > > and then entered "m5 checkpoint" and "m5 exit" in OS. > > Second run, I entered ./build/ALPHA_FS/m5.fast ./configs/splash2_fs/run.py > -n1 -r1 -t > > but can not restore checkpoint. Error messenge show up below. > > > #################################################################################### > Listening for system connection on port 3456 > 0: system.remote_gdb.listener: listening for remote gdb on port 7000 > Switch at curTick count:10000 > info: Entering event queue @ 16479297751000. Starting simulation... > Switched CPUS @ cycle = 16479297761000 > Traceback (most recent call last): > File "<string>", line 1, in <module> > File "/home/ic/M5sim/M5_SVN/M5/trunk/src/python/m5/main.py", line 359, in > main > exec filecode in scope > File "./configs/splash2_fs/run.py", line 212, in <module> > Simulation.run(options, root, test_sys, FutureClass) > File "/home/ic/M5sim/M5_SVN/M5/trunk/configs/common/Simulation.py", line > 260, in run > m5.changeToTiming(testsys) > File "/home/ic/M5sim/M5_SVN/M5/trunk/src/python/m5/simulate.py", line > 188, in changeToTiming > if system.getMemoryMode() != objects.params.timing: > AttributeError: 'module' object has no attribute 'timing' > Error in sys.excepthook: > Traceback (most recent call last): > File "/usr/lib/python2.6/dist-packages/apport_python_hook.py", line 38, > in apport_excepthook > from apport.packaging_impl import impl as packaging > File "/usr/lib/python2.6/dist-packages/apport/__init__.py", line 1, in > <module> > from apport.report import Report > File "/usr/lib/python2.6/dist-packages/apport/report.py", line 14, in > <module> > import subprocess, tempfile, os.path, urllib, re, pwd, grp, os, sys > File "/usr/lib/python2.6/tempfile.py", line 34, in <module> > from random import Random as _Random > File "/usr/lib/python2.6/random.py", line 71, in <module> > class Random(_random.Random): > AttributeError: 'module' object has no attribute 'Random' > > Original exception was: > Traceback (most recent call last): > File "<string>", line 1, in <module> > File "/home/ic/M5sim/M5_SVN/M5/trunk/src/python/m5/main.py", line 359, in > main > exec filecode in scope > File "./configs/splash2_fs/run.py", line 212, in <module> > Simulation.run(options, root, test_sys, FutureClass) > File "/home/ic/M5sim/M5_SVN/M5/trunk/configs/common/Simulation.py", line > 260, in run > m5.changeToTiming(testsys) > File "/home/ic/M5sim/M5_SVN/M5/trunk/src/python/m5/simulate.py", line > 188, in changeToTiming > if system.getMemoryMode() != objects.params.timing: > AttributeError: 'module' object has no attribute 'timing' > > #################################################################################### > > Would the problem come up by my wrong way? or could anyone tell me how do I > solve the problem? > > Thanks. > > _______________________________________________ > 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
