Hi Rene De Jong,

 

         Thanks for your reply. I actually find out the problem. I
misunderstand the checkpoint mechanism in the gem5. I use scripts to do the
checkpoint and run benchmarks. However, the disk image specified to do the
checkpoint is not the same as that to run benchmarks. In my previous
opinion, if I use the checkpoint, the simulator would just use the
checkpoint disk image by default and be not aware of the disk image
specified by the benchmarks. Thus, the mismatch happens here.

 

Best regards,

 

Yongbing Huang

 

From: [email protected] [mailto:[email protected]] On
Behalf Of Rene De Jong
Sent: Friday, May 03, 2013 5:32 PM
To: gem5 users mailing list
Subject: Re: [gem5-users] ext2 blocks error while loading from the
checkpoint

 

Hi Yongbing Huang,

 

Are you sure you are restoring the same disk which you used to create the
checkpoint? The error suggests that there is some inconsistency between the
disk data, and how the system perceives the file system. I can imagine that
this might happen  when the CoW disk data in the checkpoint, or the
information about the file system in the physmem is not from the same image
as the image attached when restoring the checkpoint.

>From which point are you restoring; is it in the middle of a boot sequence,
or does this error occur while running one of your added applications?

What happens if you run a file system check on the image (e.g. e2fsck; you
should be able to do this on your host system)?

 

Could you please share a bit more information about what you are running
(simulated system/gem5 command) and the output of both the gem5 simulator as
the terminal when restoring the system from a checkpoint?

 

Regards,

 

René de Jong

 

From: [email protected] [mailto:[email protected]] On
Behalf Of huangyongbing
Sent: 03 May 2013 09:25
To: [email protected]
Subject: [gem5-users] ext2 blocks error while loading from the checkpoint

 

Hi all,

 

         I met problems while booting the simulator from the checkpoint. The
error shows that “EXT2-fs (sda1): error: ext2_free_blocks: Freeing blocks
not in datazone - block = 3856019482, count = 1”.

 

         By the way, I run the simulator using the ARM platform, and
modified the bbench disk image by adding more applications. However, the
changes have already been written into the disk image before doing the
checkpoint. So what may be the problem?

 

         Thanks.

 

Best regards,

 

Yongbing Huang

 

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

Reply via email to