Re: [Gems-users] The problem to start simics3.0.31+Gems2.1


Date: Sun, 3 May 2009 23:23:13 -0400
From: Polina Dudnik <pdudnik@xxxxxxxxx>
Subject: Re: [Gems-users] The problem to start simics3.0.31+Gems2.1
Hi,

Ruby complains because something is wrong with the request vector. When Ruby intercepts a memory access it may have to stall the processor if it decided that there has been a miss. When a miss is served the processor gets unstalled and retries the access. To keep track of the state of memory requests, Ruby has the request vector. The request vector contains the active accesses and their current state.

Clearly, something is going wrong and I think that is because you are using ubuntu checkpoint. I personally have never tried to run Gems+Ruby on ubuntu. That might be causing the problem. Maybe other Gems users can comment on that.

Otherwise, you can attach gdb to Ruby and figure out what's happening.


Polina

2009/5/3 lianghua miao <mlianghua@xxxxxxxxx>
Hi,
  
     I am a newbie to GEMS. And I met a problem to start simulating(Ruby only) .The problem as follow:
Firstly,  I install simics3.0.31 and compile Ruby successfully.
secondly, I want to start simulating :
           >./simics
  -stall 
simics >
read-configure "../../checkpoins/ubuntu9.check"
simics > instruction-fetch-mode instruction-fetch-trace

simics > istc-disable        
simics > dstc-disable       
simics > cpu-switch-time 1

successful installation of the ruby timing model.
simics> ruby0.setparam g_NUM_PROCESSORS 1                    
simics> ruby0.setparam g_MEMORY_SIZE_BYTES 4294967296        
simics> ruby0.init                                           
Ruby Timing Mode
Creating event queue...
Creating event queue done
Creating system...
  Processors: 1
Creating system done
Ruby initialization complete
simics> c
failed assertion '(m_active_requests[i].size ==size)' at fn int SimicsProcessor::lookupRequest(Address, CacheRequestType, int) in simics/SimicsProcessor.C:169
failed assertion '(m_active_requests[i].size ==size)' at fn int SimicsProcessor::lookupRequest(Address, CacheRequestType, int) in simics/SimicsProcessor.C:169
At this point you might want to attach a debug to the running and get to the
crash site; otherwise press enter to continue
PID: 21542

Abort (SIGABRT) in main thread
The simulation state has been corrupted. Simulation cannot continue.
Please restart Simics.
[cpu0] cs:0x00000000b7f46a28 p:0x000ff01a28  cmpxchg lock [esi],ecx



I have no idea to solve this problem, Can someone help me with this? Thank your very much!

        



--
Sincerely,
Mlianghua(缪良华)
MSE, College of Software Technology,
Zhejiang University
&&Zhejiang University-Intel Technology Center
P. R. China

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