Re: [Gems-users] Ruby module loading failed


Date: Wed, 02 Aug 2006 15:43:16 -0500
From: Dan Gibson <degibson@xxxxxxxx>
Subject: Re: [Gems-users] Ruby module loading failed
Yuho,

The error message you are seeing originates from $GEMS/ruby/module/ruby.c -- when Ruby is loaded, it attempts to install itself as the timing model for the "phys_mem0" object. When "phys_mem0" does not exist, indicated by a NULL return from SIM_get_object(), Ruby presents the error message.

Try the following:
simics> read-configuration <valid_configuration>
simics> phys_mem0.[tab]

That is, type "phys_mem0." and hit [tab] to expand the options. If simics doesn't expand the "phys_mem0." input, then phys_mem0 doesn't (yet) exist.

Check your configuration file to see if it contains an object called "phys_mem0". It may be named something else on abisko... it usually is something similar to phys_mem. Our local Simics 3.X checkpoints use the "sarek" configuration rather than "abisko" -- we suggest "sarek" be used in all cases.

Regards,
Dan

Yuho Jin wrote:
Hello,

I just started to run Simics-3.0.17 and GEMS 1.3 together.

I successfully installed Solaris 9 on abisko (Sun Serengeti)
configuration and compiled Ruby for MOESI_CMP_directory protocol.
However, when I tried to load the ruby module, it was failed with
this message.

simics> read-configuration ../../abisko-1p
simics> load-module ruby

/***************************************************************************\
Physical Memory object cannot be found. If you are NOT compiling Ruby
and <
you see this message, something is wrong.
<
This message is part of the normal compilation process.
<

\***************************************************************************/
simics>

The followings are software versions or names I used.
simics-3.0.17
GEMS 1.3
abisko (Sun Serengeti)
Ruby MOESI_CMP_directory protocol
gcc 3.3.3

Any suggestion?
Thank you,

Yuho
_______________________________________________
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.

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