Re: [Gems-users] Questions about load ruby in Simics and Power in opal


Date: Thu, 10 Jan 2008 23:03:08 -0600
From: Dan Gibson <degibson@xxxxxxxx>
Subject: Re: [Gems-users] Questions about load ruby in Simics and Power in opal
This class of error (undefined unmangled symbol) is often a case where a version flag somewhere in Gems is improperly set. Be sure that you set your SIMICS_VERSION flags appropriately like it says in the GEMS Wiki, and then be sure to make clean.

Regards,
Dan

Cihat Basol wrote:
Hi Yang,

I faced the exact same error. The thing is that in simics 3.0, SIM_hap_register_callback is obsolete. You can just go into ruby.c file and comment out the lines that includes that function. There are in fact 4 or 5 of those functions mostly about mmu. But I am not sure if it is the right thing to do. However, I haven't encountered any problem due to disabling those callback so far.

Thanks,
Cihat.


On Jan 11, 2008 5:49 AM, Guoqiang Yang <nkyangguoqiang@xxxxxxxxx> wrote:
Hi there,
I have two questions now, would anyone know these issues?
 
1. In fact I have posted this question two weeks ago, but didn't get any information, and I would like to post it a second time in case that some of you guys were on holidy at that time. 
 
I'm now using GEMS2.0. And I configured the simulation system using MOESI_CMP_directory protocol. And the system was configured as 4-processor 4-l2 banks and 4 memories. Now, I can run tester in ruby. But when I tried to load ruby into simics, the following error occured.
 
Error loading module 'ruby': Failed to load module 'ruby' ('/scratch/cerberus/guoyang/simulators/Gems/2.0GEMS/simics_3_workspace/x86-linux/lib/ruby.so'): "undefined symbol: SIM_hap_register_callback"
  
And I checked Gems1.4, there is no function call of SIM_hap_register_callback. Is there anyone know how to solve this problem or explain why would this happen?
 
2. I also noticed that there is a "power" directory in opal and I also found the wattch power in opal. My question is: is the power thing in opal the same as in Wattch, and does this piece of code work properly or tested properly?
 
Many thanks,
 
Guoqiang Yang

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

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