If I'm remembering correctly this is a bug that was introduced when curTick was changed from a global variable to a function. It should be fixed in the latest version of the code. The checkpoint files are basically just text, so if the new code is looking for something other than curTick (I'm not sure if it will or not) you should be able to adjust it pretty easily.

Gabe

Quoting Arpit Joshi <[email protected]>:

Hi,

I took checkpoint of M5 in FS mode. But when I try to load the checkpoint,
it fails with the following error :

-----------------------------------------------
fatal: Can't unserialize 'Globals:curTick'
 @ cycle 0
[paramIn:build/ALPHA_FS/sim/serialize.cc, line 211]
-----------------------------------------------------------------------------

I took checkpoint using following command :
----------
./build/ALPHA_FS/m5.opt -d /scratch/l configs/example/fs.py -n 4 -b fft
--take-checkpoints=2438845340000,1000000 --max-checkpoints=1
----------

And when try to load the check point I get the following output :
---------------------------------------------------------
M5 Simulator System

Copyright (c) 2001-2008
The Regents of The University of Michigan
All Rights Reserved


M5 compiled Feb 14 2011 09:18:57
M5 revision Unknown
M5 started Feb 18 2011 02:55:47
M5 executing on mand
command line: ./build/ALPHA_FS/m5.opt -d /scratch/l configs/example/fs.py -n
4 -b fft -r 1
Global frequency set at 1000000000000 ticks per second
info: kernel located at:
/scratch/m5_arpit/m5_simulator/system/binaries/vmlinux
Listening for system connection on port 3456
      0: system.tsunami.io.rtc: Real-time clock set to Thu Jan  1 00:00:00
2009
0: system.remote_gdb.listener: listening for remote gdb #0 on port 7000
0: system.remote_gdb.listener: listening for remote gdb #1 on port 7001
0: system.remote_gdb.listener: listening for remote gdb #2 on port 7002
0: system.remote_gdb.listener: listening for remote gdb #3 on port 7003
fatal: Can't unserialize 'Globals:curTick'
 @ cycle 0
[paramIn:build/ALPHA_FS/sim/serialize.cc, line 211]
Memory Usage: 682372 KBytes
For more information see: http://www.m5sim.org/fatal/60de9f5a
---------------------------------------------------------

Any ideas on where the problem is?

--
Thanks,
Arpit



_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

Reply via email to