Re: [Gems-users] Opal from gems-2.0 does not load in Simics 3.0.30


Date: Sat, 2 Feb 2008 10:33:52 +0800
From: "Cihat Basol" <cihatbas@xxxxxxxxxxxxxxx>
Subject: Re: [Gems-users] Opal from gems-2.0 does not load in Simics 3.0.30
Hi,

I have had the same problem before. The Opal module is meant for sparc III or above architecture. You could use one of the serengeti configurations. The sunfire targets use sparc II architecture that doesn't have the registers appeared in the error message below.



On Feb 2, 2008 12:25 AM, Berkin Ozisikyilmaz <boz283@xxxxxxxxxxxxxxxxxxxx> wrote:

Hi,

 

I installed gcc-3.4.5 from scratch (gcc-3.4.6 that came with redhat seems to be troublesome).

Everything installed fine. I started doing the commands in quick start.

 

And I get the same pstate::getControl() post https://lists.cs.wisc.edu/archive/gems-users/2008-January/msg00092.shtml It happens

when I type

 

simics> opal0.init

 pstate_t: error: control register "safari_config" has improper mapping: -1.

Exception error message: Non-existing register name 'safari_config'

pstate_t: constructor: unable to get control register number.

: caught exception (#3).

pstate_t: error: control register "safari_address" has improper mapping: -1.

Exception error message: Non-existing register name 'safari_address'

pstate_t: constructor: unable to get control register number.

: caught exception (#3).

pstate_t: error: control register "in_intr_data3" has improper mapping: -1.

Exception error message: Non-existing register name 'in_intr_data3'

pstate_t: constructor: unable to get control register number.

: caught exception (#3).

pstate_t: error: control register "in_intr_data4" has improper mapping: -1.

Exception error message: Non-existing register name 'in_intr_data4'

pstate_t: constructor: unable to get control register number.

: caught exception (#3).

pstate_t: error: control register "in_intr_data5" has improper mapping: -1.

Exception error message: Non-existing register name 'in_intr_data5'

pstate_t: constructor: unable to get control register number.

: caught exception (#3).

pstate_t: error: control register "in_intr_data6" has improper mapping: -1.

Exception error message: Non-existing register name 'in_intr_data6'

pstate_t: constructor: unable to get control register number.

: caught exception (#3).

pstate_t: error: control register "in_intr_data7" has improper mapping: -1.

Exception error message: Non-existing register name 'in_intr_data7'

pstate_t: constructor: unable to get control register number.

: caught exception (#3).

pstate_t: warning: control register #0 == "(null)" has simics name "g0".

pstate_t: warning: control register #1 == "(null)" has simics name "g1".

pstate_t: warning: control register #2 == "(null)" has simics name "g2".

pstate_t: warning: control register #3 == "(null)" has simics name "g3".

pstate_t: warning: control register #4 == "(null)" has simics name "g4".

pstate_t: warning: control register #5 == "(null)" has simics name "g5".

pstate_t: warning: control register #6 == "(null)" has simics name "g6".

pstate_t: warning: control register #7 == "(null)" has simics name "g7".

pstate_t: warning: control register #8 == "(null)" has simics name "o0".

pstate_t: warning: control register #9 == "(null)" has simics name "o1".

pstate_t: warning: control register #10 == "(null)" has simics name "o2".

pstate_t: warning: control register #11 == "(null)" has simics name "o3".

pstate_t: warning: control register #12 == "(null)" has simics name "o4".

pstate_t: warning: control register #13 == "(null)" has simics name "o5".

pstate_t: warning: control register #14 == "(null)" has simics name "o6".

pstate_t: warning: control register #15 == "(null)" has simics name "o7".

pstate_t: warning: control register #16 == "(null)" has simics name "l0".

pstate_t: warning: control register #17 == "(null)" has simics name "l1".

pstate_t: warning: control register #18 == "(null)" has simics name "l2".

pstate_t: warning: control register #19 == "(null)" has simics name "l3".

pstate_t: warning: control register #20 == "(null)" has simics name "l4".

pstate_t: warning: control register #21 == "(null)" has simics name "l5".

pstate_t: warning: control register #22 == "(null)" has simics name "l6".

pstate_t: warning: control register #23 == "(null)" has simics name "l7".

pstate_t: warning: control register #24 == "(null)" has simics name "i0".

pstate_t: warning: control register #25 == "(null)" has simics name "i1".

pstate_t: warning: control register #26 == "(null)" has simics name "i2".

pstate_t: warning: control register #27 == "(null)" has simics name "i3".

pstate_t: warning: control register #28 == "(null)" has simics name "i4".

pstate_t: warning: control register #29 == "(null)" has simics name "i5".

pstate_t: warning: control register #30 == "(null)" has simics name "i6".

pstate_t: warning: control register #31 == "(null)" has simics name "i7".

pstate_t: warning: control register #95 == "(null)" has simics name "upa_config".

pstate_t: warning: control register #96 == "(null)" has simics name "ecache_error_enable".

pstate_t: warning: control register #97 == "(null)" has simics name "asynchronous_fault_status".

pstate_t: warning: control register #98 == "(null)" has simics name "asynchronous_fault_address".

pstate_t: warning: control register #99 == "(null)" has simics name "out_intr_data0".

pstate_t: warning: control register #100 == "(null)" has simics name "out_intr_data1".

pstate_t: warning: control register #101 == "(null)" has simics name "out_intr_data2".

Ruby: ruby-opal link established. removing timing_model.

opalinterface: doing notify callback

Opal: opal-ruby link established.

OpalInterface: installation successful.

 

 

Then when I do

simics> opal0.sim-start "results.opal"

 

pstate::getControl() ERROR trying to read ctrl reg not mapped by Opal to Simics

reg reg[ 42 ]

pstate::getControl() ERROR trying to read ctrl reg not mapped by Opal to Simics

reg reg[ 43 ]

pstate::getControl() ERROR trying to read ctrl reg not mapped by Opal to Simics

reg reg[ 45 ]

pstate::getControl() ERROR trying to read ctrl reg not mapped by Opal to Simics

reg reg[ 46 ]

pstate::getControl() ERROR trying to read ctrl reg not mapped by Opal to Simics

reg reg[ 52 ]

pstate::getControl() ERROR trying to read ctrl reg not mapped by Opal to Simics

reg reg[ 53 ]

pstate::getControl() ERROR trying to read ctrl reg not mapped by Opal to Simics

reg reg[ 54 ]

pstate::getControl() ERROR trying to read ctrl reg not mapped by Opal to Simics

reg reg[ 55 ]

pstate::getControl() ERROR trying to read ctrl reg not mapped by Opal to Simics

reg reg[ 56 ]

pstate::getControl() ERROR trying to read ctrl reg not mapped by Opal to Simics

reg reg[ 42 ]

pstate::getControl() ERROR trying to read ctrl reg not mapped by Opal to Simics

reg reg[ 43 ]

pstate::getControl() ERROR trying to read ctrl reg not mapped by Opal to Simics

reg reg[ 45 ]

pstate::getControl() ERROR trying to read ctrl reg not mapped by Opal to Simics

reg reg[ 46 ]

pstate::getControl() ERROR trying to read ctrl reg not mapped by Opal to Simics

reg reg[ 52 ]

pstate::getControl() ERROR trying to read ctrl reg not mapped by Opal to Simics

reg reg[ 53 ]

pstate::getControl() ERROR trying to read ctrl reg not mapped by Opal to Simics

reg reg[ 54 ]

pstate::getControl() ERROR trying to read ctrl reg not mapped by Opal to Simics

reg reg[ 55 ]

 

Any idea what the trouble may be?

 

 

Thank you,

Berkin

-----Original Message-----
From: gems-users-bounces@xxxxxxxxxxx [mailto:gems-users-bounces@xxxxxxxxxxx] On Behalf Of Berkin Ozisikyilmaz
Sent: 2008-01-31
17:47
To: 'Gems Users'
Subject: Re: [Gems-users] Opal from gems-2.0 does not load in Simics 3.0.30

 

Hi.

I will double check it, but when I was compiling ruby with gcc 3.4.6 it did not compile. There were some references to gcc 4.x librarires and I had to compile ruby with gcc 4.2.2 

 

Now I installed simics 3.0.30 with gcc 4.2.2, compiled ruby with gcc 4.2.2 and compiled opal with gcc 3.4.6. Hopefully everything will work fine.

 

 


_______________________________________________
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→]