Re: [Gems-users] Deadlock deteced in the start of simulation with ruby


Date: Sat, 8 Jul 2006 07:59:46 -0500 (CDT)
From: Mike Marty <mikem@xxxxxxxxxxx>
Subject: Re: [Gems-users] Deadlock deteced in the start of simulation with ruby
I recommend generating a trace of the protocol and then grepping for
"0x18ab580" to see what happened with your protocol.

Generating a trace has been covered before on the list so you can search
for more info.  ruby0.debug-start-time is what you want to use.

--Mike


> Hi,
>
> I am trying to write new cache protocol based on the broadcast protocol.
> After loading a checkpoint and ruby module (with the right init parameters),
> when trying to continue the simulation I get the following error messages:
>
> Warning: in fn virtual void Sequencer::wakeup() in system/Sequencer.C:103:
> Possible Deadlock detected
> Warning: in fn virtual void Sequencer::wakeup() in system/Sequencer.C:103:
> Possible Deadlock detected
> Warning: in fn virtual void Sequencer::wakeup() in system/Sequencer.C:104:
> request is [CacheMsg: Address=[0x18ab5a0, line 0x18ab580] Type=LD
> ProgramCounter=[0x10047198, line 0x10047180] AccessMode=SupervisorMode
> Size=8 Prefetch=No Version=0 Aborted=0 Time=1 ]
> Warning: in fn virtual void Sequencer::wakeup() in system/Sequencer.C:104:
> request is [CacheMsg: Address=[0x18ab5a0, line 0x18ab580] Type=LD
> ProgramCounter=[0x10047198, line 0x10047180] AccessMode=SupervisorMode
> Size=8 Prefetch=No Version=0 Aborted=0 Time=1 ]
> Warning: in fn virtual void Sequencer::wakeup() in system/Sequencer.C:105:
> m_chip_ptr->getID() is 10
> Warning: in fn virtual void Sequencer::wakeup() in system/Sequencer.C:105:
> m_chip_ptr->getID() is 10
> Warning: in fn virtual void Sequencer::wakeup() in system/Sequencer.C:106:
> m_version is 0
> Warning: in fn virtual void Sequencer::wakeup() in system/Sequencer.C:106:
> m_version is 0
> Warning: in fn virtual void Sequencer::wakeup() in system/Sequencer.C:107:
> keys.size() is 1
> Warning: in fn virtual void Sequencer::wakeup() in system/Sequencer.C:107:
> keys.size() is 1
> Warning: in fn virtual void Sequencer::wakeup() in system/Sequencer.C:108:
> current_time is 500001
> Warning: in fn virtual void Sequencer::wakeup() in system/Sequencer.C:108:
> current_time is 500001
> Warning: in fn virtual void Sequencer::wakeup() in system/Sequencer.C:109:
> request.getTime() is 1
> Warning: in fn virtual void Sequencer::wakeup() in system/Sequencer.C:109:
> request.getTime() is 1
> Warning: in fn virtual void Sequencer::wakeup() in system/Sequencer.C:110:
> current_time - request.getTime() is 500000
> Warning: in fn virtual void Sequencer::wakeup() in system/Sequencer.C:110:
> current_time - request.getTime() is 500000
> Warning: in fn virtual void Sequencer::wakeup() in system/Sequencer.C:111:
> *m_readRequestTable_ptr is [ [0x18ab580, line 0x18ab580]=[CacheMsg: Address=
> [0x18ab5a0, line 0x18ab580] Type=LD ProgramCounter=[0x10047198, line
> 0x10047180] AccessMode=SupervisorMode Size=8 Prefetch=No Version=0 Aborted=0
> Time=1 ] ]
> Warning: in fn virtual void Sequencer::wakeup() in system/Sequencer.C:111:
> *m_readRequestTable_ptr is [ [0x18ab580, line 0x18ab580]=[CacheMsg: Address=
> [0x18ab5a0, line 0x18ab580] Type=LD ProgramCounter=[0x10047198, line
> 0x10047180] AccessMode=SupervisorMode Size=8 Prefetch=No Version=0 Aborted=0
> Time=1 ] ]
> Fatal Error: in fn virtual void Sequencer::wakeup() in
> system/Sequencer.C:112: Aborting
> Fatal Error: in fn virtual void Sequencer::wakeup() in
> system/Sequencer.C:112: Aborting
> ***  Simics getting shaky, switching to 'safe' mode.
> ***  Simics (main thread) received an abort signal, probably an assertion.
>
> Can anyone help my what can be the problem?
>
> Thanks,
> Shachar Gang
> _______________________________________________
> 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→]