Re: [Gems-users] Error loading opal


Date: Fri, 29 May 2009 17:03:22 -0400
From: "Luo, Yan " <Yan_Luo@xxxxxxx>
Subject: Re: [Gems-users] Error loading opal
Thanks for all the replies. I just found out that the seg fault was due to my mistake (missing the configuration of ruby). 
This confirms that the previous solution indeed fixes the error of loading opal.

One minor issue about opal: It seems I cannot Ctrl-C to stop the "opal0.sim-step 10000000000" command. Is this expected?

Yan

-----Original Message-----
From: gems-users-bounces@xxxxxxxxxxx on behalf of Polina Dudnik
Sent: Fri 5/29/2009 16:15
To: Gems Users
Subject: Re: [Gems-users] Error loading opal
 
Good work!

The segmentation is probably independent of the compilation problems you had
before.

But yes, Ruby can work without Opal no problem. When Opal is turned off,
Simics acts as a processor. You do not need Ruby if you are focusing on
memory.

Polina

On Fri, May 29, 2009 at 3:11 PM, Luo, Yan <Yan_Luo@xxxxxxx> wrote:

> Hi Polina
>
> I found the previously posted solution to this problem (exactly the same).
> The link is
> https://lists.cs.wisc.edu/archive/gems-users/2009-March/msg00116.shtml .
> Then I followed the steps and recompiled opal. However, the result is even
> worse: simics seg fault (logs are below).
>
> Question: Can I use Ruby without Opal, if my focus is the cache/memory
> instead of OOO execution of processor? I just want to make sure that Ruby's
> stats are still valid without Opal.
>
> Thanks
> Yan
>
> == log from simics ==
> 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> load-module opal
> Queue registration cpu0
> successful installation of the opal queue.
> hfa_init_local done:
> simics> c
> Segmentation fault (SIGSEGV) in main thread
> The simulation state has been corrupted. Simulation cannot continue.
> Please restart Simics.
> [cpu0] v:0x00000000f00000c0 p:0x0003f8000c0  ba 0xf000c428
> simics> Command 'con0.wait-for-string' interrupted.
>
>
> -----Original Message-----
> From: gems-users-bounces@xxxxxxxxxxx on behalf of Polina Dudnik
> Sent: Fri 5/29/2009 12:05
> To: Gems Users
> Subject: Re: [Gems-users] Error loading opal
>
> Yan,
>
> This issue has come up before on the GEMS users mailing list. Please see if
> you can find those threads and maybe you can find the solution to your
> problem there. If nothing that you find works, please get back to us with
> what you've tried and how it failed.
>
> Polina
>
> On Fri, May 29, 2009 at 10:55 AM, Luo, Yan <Yan_Luo@xxxxxxx> wrote:
>
> > Hello,
> >
> > I am using Simics 3.0.31 and gems 2.1 on amd64-linux. I simulate a
> Solaris
> > 10 on serengeti/abisko target. The compilation of ruby and opal went
> well.
> > Loading ruby was OK. But I got the following error when loading opal.
> >
> > simics> load-module opal
> > Error loading module 'opal': Failed to load module 'opal'
> > ('/home/yluo/gems/simics_3_workspace/amd64-linux/lib/opal.so'):
> "undefined
> > symbol:
> >
> _ZN22generic_cache_templateI21generic_cache_block_tE18registerCheckpointEP8confio_t"
> >
> > Any hints? BTW, are Ruby's stats reliable without Opal loaded in the
> > simulation?
> >
> > Thanks
> > Yan
> >
> > ===== log from simics =====
> >
> > simics> read-configuration
> > /home/yluo/gems/simics/targets/serengeti/after-login-simicsfs.conf
> > 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> load-module opal
> > Error loading module 'opal': Failed to load module 'opal'
> > ('/home/yluo/gems/simics_3_workspace/amd64-linux/lib/opal.so'):
> "undefined
> > symbol:
> >
> _ZN22generic_cache_templateI21generic_cache_block_tE18registerCheckpointEP8confio_t"
> >
> > simics>
> >
> >
> > _______________________________________________
> > 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.
> >
> >
> >
>
>
> _______________________________________________
> 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.
>
>
>

<<winmail.dat>>

[← Prev in Thread] Current Thread [Next in Thread→]