Hi there
 
          I wonder that the command 'm5 checkpoint' does not work for a Alpha 
Ruby full system simulation!


        After I boot up a RUBY model ALPHA full system successfully, I use the 
command 'm5 checkpoint' in the sell of the simulated system, I encounter a  
RUNTIME ERROR below and the simulation fails. 


Runtime Error at MESI_CMP_directory-L1cache.sm:221, Ruby Time: 23014921238: 
Invalid RubyRequestType, PID...
     
     I check the .sm file above and I found the function below:


  Event mandatory_request_type_to_event(RubyRequestType type) {
    if (type == RubyRequestType:LD) {
      return Event:Load;
    } else if (type == RubyRequestType:IFETCH) {
      return Event:Ifetch;
    } else if ((type == RubyRequestType:ST) || (type == 
RubyRequestType:ATOMIC)) {
      return Event:Store;
    } else {
      error("Invalid RubyRequestType");   *****    HERE is the LINE 221  
********
    }
  }
         I guess this is because CPU send wrong type RubyRequest messages to L1 
caches when we run RUBY model checkpointing. 
         
         I also tried fs.py (non-Ruby) and the 'm5 checkpoint' works well. Does 
it mean we can not take checkpoint with the ruby model full system?
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to