Re: [Gems-users] simulation state has been corrupted


Date: Thu, 16 Jul 2009 07:53:42 -0500
From: Dan Gibson <degibson@xxxxxxxx>
Subject: Re: [Gems-users] simulation state has been corrupted
Vidya,
Given your earlier post with the wrong Simics binary, I'd recommend that you remove your entire GEMS and Simics installs and start afresh -- obviously something out there is still configured for x86-linux and its going to be easier to just begin again.

Regards,
Dan

On Thu, Jul 16, 2009 at 4:16 AM, Srividya Ramanathan <vidya.education@xxxxxxxxx> wrote:
Hi,
I'm hitting the following error while trying to simulate with ruby with ATMTP enabled.

./simics -stall -c /home/vidya/aruns_gems/gems_other/checkpoints/first-sarek.check

Checking out a license... done: academic license.

  +----------------+    Copyright 1998-2007 by Virtutech, All Rights Reserved
  |   Virtutech    |    Version: Simics 3.0.31
  |     Simics     |    Build: 1406  Host: amd64-linux
  +----------------+
    www.simics.com      "Virtutech" and "Simics" are trademarks of Virtutech AB
...

simics> instruction-fetch-mode instruction-fetch-trace
[cpu0 info] Note that on this cpu, instruction-fetch-trace is implemented using instruction-cache-access-trace with a suitable cache line size.
simics> istc-disable
Turning I-STC off and flushing old data
simics> dstc-disable
Turning D-STC off and flushing old data
simics> cpu-switch-time 1
The switch time will change to 1 cycles (for CPU-0) once all processors have synchronized.
simics> load-module ruby
successful installation of the ruby timing model.

simics> ruby0.init
Ruby Timing Model
.....
Creating system done
Ruby initialization complete

simics> c
Segmentation fault (SIGSEGV) in main thread
The simulation state has been corrupted. Simulation cannot continue.
Please restart Simics.
[cpu0] v:0x00000000010486b8 p:0x00002c486b8  lduw [%l3 + 892], %g2

What could be the reason for this problem? I have enabled the flags for ATMTP as per the instructions in http://www.cs.wisc.edu/gems/doc/gems-wiki/moin.cgi/ATMTP.
The flags I've set in rubyconfig.defaults. One thing that I did notice is that after compiling ruby, the following symlink is broken:

[vidya@cmpl7 amd64-linux]$ pwd
/home/vidya/Project/gems/simics/home/MESI_CMP_filter_directory/amd64-linux
[vidya@cmpl7 amd64-linux]$ ll lib
lrwxrwxrwx 1 vidya vidya 22 2009-07-16 13:59 lib -> ../../../x86-linux/lib << this symlink is broken

I don't know why it is pointing to x86-linux/lib. Is there any flag I have to set in the GEMS make files? I've already set HOST_TYPE := amd64-linux in /home/vidya/Project/gems/common/Makefile.common

simics itself is 64 bit installation.

Thanks for any help!

Best Regards
Vidya

_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/" to your search.





--
http://www.cs.wisc.edu/~gibson [esc]:wq!
[← Prev in Thread] Current Thread [Next in Thread→]