Hi Shadi,
On Mon, 3 Apr 2006, Shadi Harb wrote:
> Hi all,
>
> I have problem to get FLexus working under SUSE 8.1, I built my own test
> application linux on x86 arch by downloading an enterprise disk
> image(enterprise3-rh73.craff) from simics website.
<snip>
> Flexus-Simics simulator - Built as UniFlex v2.0
>
> terminate called after throwing an instance of
> 'Flexus::Simics::SimicsException'
> what(): While attempting to register Hap handler: Unable to install
> handler: Xterm_Break_String
> *** Simics getting shaky, switching to 'safe' mode.
> *** Simics (main thread) received an abort signal, probably an assertion.
> //////////////////////////////
When Flexus starts up, the MagicBreak component attempts to
identify the console object in Simics and connect to it. This feature
allows Flexus to stop the simulation when a certain string is printed to
the system console via the "console-tracker.add-break-string" command.
Apparently, the RedHat 7.3 checkpoint from Virtutech does not have an
Xterm console object, or that object works differently than in SPARC
systems. The particular error message you are seeing is actually coming
from Simics - we implement our console tracker by using the "break_string"
attribute of the console object, and Virtutech's implementation of that
attribute is throwing this error.
The quick workaround for this problem is to comment out the code in the
MagicBreak component that enables the console tracker feature. The
relevant lines are MagicBreakImpl.cpp:237-240. I reproduce them here:
boost::intrusive_ptr<ConsoleStringTracker>
con_tracker(BreakpointTracker::newConsoleStringTracker());
theTrackers.push_back(con_tracker);
theConsoleStringObject = theConBreakFactory.create("console-tracker");
theConsoleStringObject->setConsoleStringTracker(con_tracker);
If you comment these lines out, I believe the error will disappear.
Regards,
-Tom Wenisch
Computer Architecture Lab
Carnegie Mellon University
From sharb at ufl.edu Fri Apr 7 15:38:08 2006
From: sharb at ufl.edu (Shadi Harb)
List-Post: [email protected]
Date: Fri Apr 7 15:38:27 2006
Subject: [Simflex] Re: SimFlex Digest, Vol 11, Issue 2
Message-ID: <[email protected]>
Thanks Tom for the updates.
Actually I tried commenting out the lines but unfortunitely I
still have the same "Xterm_Break_String" PROBLEM, should I look
somewhere else in the code and comment out the lines related to
this.
Also this lead me to the question, do you think using CMPFlex-x86
with x86 instead of ultraSPARC III cause a problem during the
installation. Also One more question, should I strictly do the
checkpointing and run the interactive script as mentioned in the
tutorial, or I can do it manually by writing my own checkpoint and
then load the flexus module in simics using load-module command.
THANKS
SHADI
On Wed Apr 05 12:00:22 EDT 2006, [email protected]
wrote:
> Send SimFlex mailing list submissions to
> [email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://sos.ece.cmu.edu/mailman/listinfo/simflex
> or, via email, send a message with subject or body 'help' to
> [email protected]
>
> You can reach the person managing the list at
> [email protected]
>
> When replying, please edit your Subject line so it is more
> specific
> than "Re: Contents of SimFlex digest..."
>
>
> Today's Topics:
>
> 1. Re: SimFlex installation problem on SUSE 8.1 (Thomas
> Wenisch)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 4 Apr 2006 14:44:35 -0400 (EDT)
> From: Thomas Wenisch <[email protected]>
> Subject: Re: [Simflex] SimFlex installation problem on SUSE 8.1
> To: SimFlex software support <[email protected]>
> Message-ID:
> <[email protected]>
> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>
> Hi Shadi,
>
> On Mon, 3 Apr 2006, Shadi Harb wrote:
>
>> Hi all,
>>
>> I have problem to get FLexus working under SUSE 8.1, I built my
>> own test
>> application linux on x86 arch by downloading an enterprise disk
>> image(enterprise3-rh73.craff) from simics website.
>
> <snip>
>
>> Flexus-Simics simulator - Built as UniFlex v2.0
>>
>> terminate called after throwing an instance of
>> 'Flexus::Simics::SimicsException'
>> what(): While attempting to register Hap handler: Unable to
>> install
>> handler: Xterm_Break_String
>> *** Simics getting shaky, switching to 'safe' mode.
>> *** Simics (main thread) received an abort signal, probably an
>> assertion.
>> //////////////////////////////
>
> When Flexus starts up, the MagicBreak component attempts to
> identify the console object in Simics and connect to it. This
> feature allows Flexus to stop the simulation when a certain
> string is printed to the system console via the
> "console-tracker.add-break-string" command.
>
> Apparently, the RedHat 7.3 checkpoint from Virtutech does not
> have an Xterm console object, or that object works differently
> than in SPARC systems. The particular error message you are
> seeing is actually coming from Simics - we implement our console
> tracker by using the "break_string" attribute of the console
> object, and Virtutech's implementation of that attribute is
> throwing this error.
>
> The quick workaround for this problem is to comment out the code
> in the MagicBreak component that enables the console tracker
> feature. The relevant lines are MagicBreakImpl.cpp:237-240. I
> reproduce them here:
>
> boost::intrusive_ptr<ConsoleStringTracker>
> con_tracker(BreakpointTracker::newConsoleStringTracker());
> theTrackers.push_back(con_tracker);
> theConsoleStringObject =
> theConBreakFactory.create("console-tracker");
>
> theConsoleStringObject->setConsoleStringTracker(con_tracker);
>
> If you comment these lines out, I believe the error will
> disappear.
>
>
> Regards,
> -Tom Wenisch
> Computer Architecture Lab
> Carnegie Mellon University
>
>
> ------------------------------
>
> _______________________________________________
> SimFlex mailing list
> [email protected]
> https://sos.ece.cmu.edu/mailman/listinfo/simflex
> SimFlex web page: http://www.ece.cmu.edu/~simflex
>
>
> End of SimFlex Digest, Vol 11, Issue 2
> **************************************
>
>
********************************************
Shadi M Harb
PhD student
Electrical & Computer Engineering Dept.
University of Florida
Email: [email protected]
********************************************