Re: [Gems-users] Trouble with MOESI_CMP_token


Date: Wed, 26 Apr 2006 17:22:11 -0500 (CDT)
From: Bradford Beckmann <beckmann@xxxxxxxxxxx>
Subject: Re: [Gems-users] Trouble with MOESI_CMP_token
Legion,

One thing you may want to do before trying to stiff through the tremendous
amount of debug info that the network&queue can generate, is verify the
destination of the persistent request message is correct.  In the
transition:

1517412   0   8    L1Cache     Request_Timeout     IS>IS     [0x4d73d80,
line 0x4d73d80]

add a debug message print out for "out_msg.Destination" and make sure all
the correct destinations are set.  We have noticed a problem with
OptBigSet if your compiler doesn't correct set "__32BITS__".

Brad



On Wed, 26 Apr 2006, Mike Marty wrote:

> Oops.  This is because I fail initialize all fields of certain
> messages.  What I always do is hack the autogenerated MachineType.C file
> to never call ERROR_MSG.  In fact I usually modify Slicc to do this
> because MachineType.C is auto-generated (change symbols/Type.C)
>
> --Mike
>
>
> Liqun Cheng wrote:
>
> > Mike,
> >
> > After I turn on the debug flags "nq" with median verbosity, it
> > generates a "Invalid range for type MachineType" error. Is it a
> > different bug?? Any advisor on how to debug this? It's very painful to
> > debug without gdb. :(
> >
> > thanks
> > Legion
> >
> > 1517000   1  -1        Seq                Done       >
> > [0x2d0f4c, line 0x2d0f40] 0 cycles L1Cache No
> > 1517000   1  -1        Seq                Done       >
> > [0xf304020, line 0xf304000] 0 cycles L1Cache No
> > 1517000   2  -1        Seq                Done       >
> > [0x5a5d76c, line 0x5a5d740] 0 cycles L1Cache No
> > 1517000   2  -1        Seq                Done       >
> > [0x5a5d770, line 0x5a5d740] 0 cycles L1Cache No
> > 1517000   2  -1        Seq                Done       >
> > [0x5a5d774, line 0x5a5d740] 0 cycles L1Cache No
> > 1517000   2  -1        Seq                Done       >
> > [0x5a5d778, line 0x5a5d740] 0 cycles L1Cache No
> > 1517000   2  -1        Seq                Done       >
> > [0x5a5d77c, line 0x5a5d740] 0 cycles L1Cache No
> > 1517000   2  -1        Seq               Begin       >
> > [0x5a5d780, line 0x5a5d780]
> >
> > Debug: in fn void MessageBuffer::enqueue(const MsgPtr&, long long int)
> > in buffers/MessageBuffer.C:194: enqueue [Chip 0 2, L1Cache,
> > mandatoryQueue_in] time: 1517000.
> > Debug: in fn void MessageBuffer::enqueue(const MsgPtr&, long long int)
> > in buffers/MessageBuffer.C:195: message is [RefCnt: [CacheMsg:
> > Address=[0x5a5d780, line 0x5a5d780] Type=ST ProgramCounter=[0x40952c,
> > line 0x409500] AccessMode=SupervisorMode Size=4 Prefetch=No Version=0
> > Aborted=0 Time=1517000 ]]
> >
> > Debug: in fn void MessageBuffer::enqueue(const MsgPtr&, long long int)
> > in buffers/MessageBuffer.C:270: enqueue [Chip 0 2, L1Cache,
> > mandatoryQueue_in] with arrival_time 1517004 cur_time: 1517000.
> > Debug: in fn void MessageBuffer::enqueue(const MsgPtr&, long long int)
> > in buffers/MessageBuffer.C:271: message is [RefCnt: [CacheMsg:
> > Address=[0x5a5d780, line 0x5a5d780] Type=ST ProgramCounter=[0x40952c,
> > line 0x409500] AccessMode=SupervisorMode Size=4 Prefetch=No Version=0
> > Aborted=0 Time=1517000 ]]
> >
> > 1517000   4  -1        Seq                Done       >
> > [0x2d11cc, line 0x2d11c0] 0 cycles L1Cache No
> > 1517000   4  -1        Seq                Done       >
> > [0x2d11cc, line 0x2d11c0] 0 cycles L1Cache No
> > 1517000   4  -1        Seq                Done       >
> > [0x2d11cc, line 0x2d11c0] 0 cycles L1Cache No
> > 1517000   4  -1        Seq                Done       >
> > [0x2d11cc, line 0x2d11c0] 0 cycles L1Cache No
> > 1517000   6  -1        Seq                Done       >
> > [0x2d12cc, line 0x2d12c0] 0 cycles L1Cache No
> > 1517000   6  -1        Seq                Done       >
> > [0xf298020, line 0xf298000] 0 cycles L1Cache No
> > 1517000   7  -1        Seq                Done       >
> > [0xf29404c, line 0xf294040] 0 cycles L1Cache No
> > 1517000   8  -1        Seq                Done       >
> > [0x5b338c0, line 0x5b338c0] 0 cycles L1Cache No
> > 1517000   8  -1        Seq                Done       >
> > [0x5b34040, line 0x5b34040] 0 cycles L1Cache No
> > 1517000   8  -1        Seq                Done       >
> > [0x5b34044, line 0x5b34040] 0 cycles L1Cache No
> > 1517000   8  -1        Seq                Done       >
> > [0x5b34048, line 0x5b34040] 0 cycles L1Cache No
> > 1517000   8  -1        Seq                Done       >
> > [0x5b0e0a4, line 0x5b0e080] 0 cycles L1Cache No
> > 1517000   8  -1        Seq                Done       >
> > [0x5b34034, line 0x5b34000] 0 cycles L1Cache No
> > 1517000   8  -1        Seq                Done       >
> > [0x5b34038, line 0x5b34000] 0 cycles L1Cache No
> > 1517000   8  -1        Seq                Done       >
> > [0x5b3403c, line 0x5b34000] 0 cycles L1Cache No
> > 1517000   8  -1        Seq                Done       >
> > [0x5b3003c, line 0x5b30000] 0 cycles L1Cache No
> > 1517000   8  -1        Seq                Done       >
> > [0x5b3403c, line 0x5b34000] 0 cycles L1Cache No
> > 1517000   8  -1        Seq                Done       >
> > [0x5a69808, line 0x5a69800] 0 cycles L1Cache No
> > 1517000   8  -1        Seq               Begin       >
> > [0x4d73d80, line 0x4d73d80]
> >
> > Debug: in fn void MessageBuffer::enqueue(const MsgPtr&, long long int)
> > in buffers/MessageBuffer.C:194: enqueue [Chip 0 8, L1Cache,
> > mandatoryQueue_in] time: 1517000.
> > Debug: in fn void MessageBuffer::enqueue(const MsgPtr&, long long int)
> > in buffers/MessageBuffer.C:195: message is [RefCnt: [CacheMsg:
> > Address=[0x4d73d80, line 0x4d73d80] Type=LD ProgramCounter=[0x14d00,
> > line 0x14d00] AccessMode=UserMode Size=8 Prefetch=No Version=0
> > Aborted=0 Time=1517000 ]]
> >
> > Debug: in fn void MessageBuffer::enqueue(const MsgPtr&, long long int)
> > in buffers/MessageBuffer.C:270: enqueue [Chip 0 8, L1Cache,
> > mandatoryQueue_in] with arrival_time 1517004 cur_time: 1517000.
> > Debug: in fn void MessageBuffer::enqueue(const MsgPtr&, long long int)
> > in buffers/MessageBuffer.C:271: message is [RefCnt: [CacheMsg:
> > Address=[0x4d73d80, line 0x4d73d80] Type=LD ProgramCounter=[0x14d00,
> > line 0x14d00] AccessMode=UserMode Size=8 Prefetch=No Version=0
> > Aborted=0 Time=1517000 ]]
> >
> > 1517000  12  -1        Seq                Done       >
> > [0xf23c04c, line 0xf23c040] 0 cycles L1Cache No
> > 1517000  13  -1        Seq                Done       >
> > [0x2d164c, line 0x2d1640] 0 cycles L1Cache No
> > 1517000  13  -1        Seq                Done       >
> > [0x2d164c, line 0x2d1640] 0 cycles L1Cache No
> > 1517000  13  -1        Seq                Done       >
> > [0x2d164c, line 0x2d1640] 0 cycles L1Cache No
> > 1517000  13  -1        Seq                Done       >
> > [0x2d164c, line 0x2d1640] 0 cycles L1Cache No
> > 1517000  14  -1        Seq                Done       >
> > [0x2d16cc, line 0x2d16c0] 0 cycles L1Cache No
> > 1517000  14  -1        Seq                Done       >
> > [0xf230020, line 0xf230000] 0 cycles L1Cache No
> > 1517000  15  -1        Seq                Done       >
> > [0x2d174c, line 0x2d1740] 0 cycles L1Cache No
> > 1517000  15  -1        Seq                Done       >
> > [0x2d174c, line 0x2d1740] 0 cycles L1Cache No
> > 1517000  15  -1        Seq                Done       >
> > [0x2d174c, line 0x2d1740] 0 cycles L1Cache No
> > 1517000  15  -1        Seq                Done       >
> > [0x2d174c, line 0x2d1740] 0 cycles L1Cache No
> >
> > Debug: in fn const Message* MessageBuffer::peekAtHeadOfQueue() const
> > in buffers/MessageBuffer.C:168: Peeking at head of queue [Chip 0 8,
> > L1Cache, mandatoryQueue_in] time: 1517004.
> > Debug: in fn const Message* MessageBuffer::peekAtHeadOfQueue() const
> > in buffers/MessageBuffer.C:174: *msg_ptr is [CacheMsg:
> > Address=[0x4d73d80, line 0x4d73d80] Type=LD ProgramCounter=[0x14d00,
> > line 0x14d00] AccessMode=UserMode Size=8 Prefetch=No Version=0
> > Aborted=0 Time=1517000 ]
> >
> > Debug: in fn void MessageBuffer::enqueue(const MsgPtr&, long long int)
> > in buffers/MessageBuffer.C:194: enqueue [Queue from port 8 0 2 to
> > PerfectSwitch] time: 1517004.
> > Debug: in fn void MessageBuffer::enqueue(const MsgPtr&, long long int)
> > in buffers/MessageBuffer.C:195: message is [RefCnt: [ResponseMsg:
> > Address=[0x5ad7d80, line 0x5ad7d80] Type=WB_OWNED Sender=L1Cache-8
> > SenderMachine=L1Cache Destination=[NetDest (3) 0 0 0 0 0 0 0 0 0 0 0 0
> > 0 0 0 0  - 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0  - 0 0 0 0 0 0 0 0 0 0 0 0
> > 0 0 0 0  - ] DestMachine=Fatal Error: in fn std::string
> > MachineType_to_string(const MachineType&) in
> > generated/MOESI_CMP_token/MachineType.C:23: Invalid range for type
> > MachineType
> >
> >
> >------------------------------------------------------------------------
> >
> >_______________________________________________
> >Gems-users mailing list
> >Gems-users@xxxxxxxxxxx
> >https://lists.cs.wisc.edu/mailman/listinfo/gems-users
> >
>
> _______________________________________________
> Gems-users mailing list
> Gems-users@xxxxxxxxxxx
> https://lists.cs.wisc.edu/mailman/listinfo/gems-users
>

-----------------------------------------------------------------
 Department of Computer Science         Residence
 University of Wisconsin
 1210 W. Dayton St. #6366               608 Eagle Heights Apt. L
 Madison, WI 53706                      Madison, WI 53705
 (608)265-2702				(608)852-6133
-----------------------------------------------------------------
[← Prev in Thread] Current Thread [Next in Thread→]