[openib-general] OpenSM GET_TABLE path record question

Hal Rosenstock halr at voltaire.com
Tue Jan 24 13:27:31 PST 2006


On Tue, 2006-01-24 at 16:02, Sean Hefty wrote:
> >I didn't do the exact query you mentioned but a get all PathRecords
> >returned a loopback path in the very first record. Wouldn't madeye at
> >least print out some headers and some hex ? I could verify from that if
> >you want.
> 
> Here's a dump from madeye.  I see where the second path record is, and it looks
> correct.  I'm not sure where the 5a 5a 5a ... at the start of each MAD is coming
> from.

I'm not sure I trust the data output from madeye here. I've seen it on
the analyzer and the MAD coming from OpenSM is good.

> Jan 24 13:29:32 mshefty-linux2 kernel: Madeye:sent GMP
> Jan 24 13:29:32 mshefty-linux2 kernel: MAD version....0x1
> Jan 24 13:29:32 mshefty-linux2 kernel: Class..........0x3 (Subnet admin.)
> Jan 24 13:29:32 mshefty-linux2 kernel: Class version..0x2
> Jan 24 13:29:32 mshefty-linux2 kernel: Method.........0x12 (Get table)
> Jan 24 13:29:32 mshefty-linux2 kernel: Status.........0x00
> Jan 24 13:29:32 mshefty-linux2 kernel: Class specific.0x00
> Jan 24 13:29:32 mshefty-linux2 kernel: Trans ID.......0x9c5d7fe923000000
> Jan 24 13:29:32 mshefty-linux2 kernel: Attr ID........0x35 (Path Record)
> Jan 24 13:29:32 mshefty-linux2 kernel: Attr modifier..0x0000
> Jan 24 13:29:32 mshefty-linux2 kernel: RMPP version...0x1
> Jan 24 13:29:32 mshefty-linux2 kernel: RMPP type......0x0 (Unknown)
> Jan 24 13:29:32 mshefty-linux2 kernel: RMPP RRespTime.0x0
> Jan 24 13:29:32 mshefty-linux2 kernel: RMPP flags.....0x0 (Inactive)
> Jan 24 13:29:32 mshefty-linux2 kernel: RMPP status....0x0
> Jan 24 13:29:32 mshefty-linux2 kernel: Seg number.....0x0000
> Jan 24 13:29:32 mshefty-linux2 kernel: Data 2.........0x0000
> Jan 24 13:29:32 mshefty-linux2 kernel: Madeye:recv GMP
> Jan 24 13:29:32 mshefty-linux2 kernel: MAD version....0x1
> Jan 24 13:29:32 mshefty-linux2 kernel: Class..........0x3 (Subnet admin.)
> Jan 24 13:29:32 mshefty-linux2 kernel: Class version..0x2
> Jan 24 13:29:32 mshefty-linux2 kernel: Method.........0x92 (Get table response)
> Jan 24 13:29:32 mshefty-linux2 kernel: Status.........0x00
> Jan 24 13:29:32 mshefty-linux2 kernel: Class specific.0x00
> Jan 24 13:29:32 mshefty-linux2 kernel: Trans ID.......0x9c5d7fe923000000
> Jan 24 13:29:32 mshefty-linux2 kernel: Attr ID........0x35 (Path Record)
> Jan 24 13:29:32 mshefty-linux2 kernel: Attr modifier..0x0000
> Jan 24 13:29:32 mshefty-linux2 kernel: RMPP version...0x1
> Jan 24 13:29:32 mshefty-linux2 kernel: RMPP type......0x1 (Data)
> Jan 24 13:29:32 mshefty-linux2 kernel: RMPP RRespTime.0x0
> Jan 24 13:29:32 mshefty-linux2 kernel: RMPP flags.....0x3 (Active - First)
> Jan 24 13:29:32 mshefty-linux2 kernel: RMPP status....0x0
> Jan 24 13:29:32 mshefty-linux2 kernel: Seg number.....0x0001
> Jan 24 13:29:32 mshefty-linux2 kernel: Payload len....0x027c
> Jan 24 13:29:32 mshefty-linux2 kernel: 
> Jan 24 13:29:32 mshefty-linux2 kernel: Data...........0 0 1 0 0 0 0 0 5a 5a 5a
> 5a 5a 5a 5a 5a 
> Jan 24 13:29:32 mshefty-linux2 kernel: Data...........5a 5a 5a 5a 5a 5a 5a 5a 5a
> 5a 5a 5a 5a 5a 5a 5a 
> Jan 24 13:29:32 mshefty-linux2 kernel: Data...........5a 5a 5a 5a 5a 5a 5a 5a 5a
> 5a 5a 5a 5a 5a 5a 5a 
> Jan 24 13:29:32 mshefty-linux2 kernel: Data...........1 3 2 92 0 0 0 0 0 0 0 23
> e9 7f 5d 9c 

This looks like the start of the MAD to me... I don't know what the
previous 48 bytes were...

> Jan 24 13:29:32 mshefty-linux2 kernel: Data...........0 35 0 0 0 0 0 0 1 1 3 0 0
> 0 0 1 
> Jan 24 13:29:32 mshefty-linux2 kernel: Data...........0 0 2 7c 0 0 0 0 0 0 0 0 0
> 8 0 0 
> Jan 24 13:29:32 mshefty-linux2 kernel: Data...........0 0 0 0 0 0 30 8 0 0 0 0 0
> 0 0 0 
> Jan 24 13:29:32 mshefty-linux2 kernel: Data...........fe 80 0 0 0 0 0 0 0 2 c9 1
> 7 fc 5e 11 
> Jan 24 13:29:32 mshefty-linux2 kernel: Data...........fe 80 0 0 0 0 0 0 0 2 c9 1
> 7 fc 5b e1 
> Jan 24 13:29:32 mshefty-linux2 kernel: Data...........0 7 0 8 0 0 0 0 0 80 ff ff
> 0 0 84 83 
> Jan 24 13:29:32 mshefty-linux2 kernel: Data...........92 0 0 0 0 0 0 0 0 0 0 0 0
> 0 0 0 
> Jan 24 13:29:32 mshefty-linux2 kernel: Data...........fe 80 0 0 0 0 0 0 0 2 c9 1
> 9 75 c4 11 
> Jan 24 13:29:32 mshefty-linux2 kernel: Data...........fe 80 0 0 0 0 0 0 
> Jan 24 13:29:32 mshefty-linux2 kernel: Madeye:sent GMP
> Jan 24 13:29:32 mshefty-linux2 kernel: MAD version....0x1
> Jan 24 13:29:32 mshefty-linux2 kernel: Class..........0x3 (Subnet admin.)
> Jan 24 13:29:32 mshefty-linux2 kernel: Class version..0x2
> Jan 24 13:29:32 mshefty-linux2 kernel: Method.........0x12 (Get table)
> Jan 24 13:29:32 mshefty-linux2 kernel: Status.........0x00
> Jan 24 13:29:32 mshefty-linux2 kernel: Class specific.0x00
> Jan 24 13:29:32 mshefty-linux2 kernel: Trans ID.......0x9c5d7fe923000000
> Jan 24 13:29:32 mshefty-linux2 kernel: Attr ID........0x35 (Path Record)
> Jan 24 13:29:32 mshefty-linux2 kernel: Attr modifier..0x0000
> Jan 24 13:29:32 mshefty-linux2 kernel: RMPP version...0x1
> Jan 24 13:29:32 mshefty-linux2 kernel: RMPP type......0x2 (Ack)
> Jan 24 13:29:32 mshefty-linux2 kernel: RMPP RRespTime.0x0
> Jan 24 13:29:32 mshefty-linux2 kernel: RMPP flags.....0x1 (Active)
> Jan 24 13:29:32 mshefty-linux2 kernel: RMPP status....0x0
> Jan 24 13:29:32 mshefty-linux2 kernel: Seg number.....0x0001
> Jan 24 13:29:32 mshefty-linux2 kernel: New window.....0x0041
> Jan 24 13:29:32 mshefty-linux2 kernel: Madeye:recv GMP
> Jan 24 13:29:32 mshefty-linux2 kernel: MAD version....0x1
> Jan 24 13:29:32 mshefty-linux2 kernel: Class..........0x3 (Subnet admin.)
> Jan 24 13:29:32 mshefty-linux2 kernel: Class version..0x2
> Jan 24 13:29:32 mshefty-linux2 kernel: Method.........0x92 (Get table response)
> Jan 24 13:29:32 mshefty-linux2 kernel: Status.........0x00
> Jan 24 13:29:32 mshefty-linux2 kernel: Class specific.0x00
> Jan 24 13:29:32 mshefty-linux2 kernel: Trans ID.......0x9c5d7fe923000000
> Jan 24 13:29:32 mshefty-linux2 kernel: Attr ID........0x35 (Path Record)
> Jan 24 13:29:32 mshefty-linux2 kernel: Attr modifier..0x0000
> Jan 24 13:29:32 mshefty-linux2 kernel: RMPP version...0x1
> Jan 24 13:29:32 mshefty-linux2 kernel: RMPP type......0x1 (Data)
> Jan 24 13:29:32 mshefty-linux2 kernel: RMPP RRespTime.0x0
> Jan 24 13:29:32 mshefty-linux2 kernel: RMPP flags.....0x1 (Active)
> Jan 24 13:29:32 mshefty-linux2 kernel: RMPP status....0x0
> Jan 24 13:29:32 mshefty-linux2 kernel: Seg number.....0x0002
> Jan 24 13:29:32 mshefty-linux2 kernel: Payload len....0x0000
> Jan 24 13:29:32 mshefty-linux2 kernel: 
> Jan 24 13:29:32 mshefty-linux2 kernel: Data...........0 0 1 0 0 0 0 0 5a 5a 5a
> 5a 5a 5a 5a 5a 
> Jan 24 13:29:32 mshefty-linux2 kernel: Data...........5a 5a 5a 5a 5a 5a 5a 5a 5a
> 5a 5a 5a 5a 5a 5a 5a 
> Jan 24 13:29:32 mshefty-linux2 kernel: Data...........5a 5a 5a 5a 5a 5a 5a 5a 5a
> 5a 5a 5a 5a 5a 5a 5a 
> Jan 24 13:29:32 mshefty-linux2 kernel: Data...........1 3 2 92 0 0 0 0 0 0 0 23
> e9 7f 5d 9c 
> Jan 24 13:29:32 mshefty-linux2 kernel: Data...........0 35 0 0 0 0 0 0 1 1 1 0 0
> 0 0 2 
> Jan 24 13:29:32 mshefty-linux2 kernel: Data...........0 0 0 0 0 0 0 0 0 0 0 0 0
> 8 0 0 
> Jan 24 13:29:32 mshefty-linux2 kernel: Data...........0 0 0 0 0 0 30 8 fe 80 0 0
> 0 0 0 0 
> Jan 24 13:29:32 mshefty-linux2 kernel: Data...........0 2 c9 1 9 75 c1 71 fe 80
> 0 0 0 0 0 0 
> Jan 24 13:29:32 mshefty-linux2 kernel: Data...........0 2 c9 1 7 fc 5b e1 0 e 0
> 8 0 0 0 0 
> Jan 24 13:29:32 mshefty-linux2 kernel: Data...........0 80 ff ff 0 0 84 83 92 0
> 0 0 0 0 0 0 
> Jan 24 13:29:32 mshefty-linux2 kernel: Data...........0 0 0 0 0 0 0 0 fe 80 0 0
> 0 0 0 0 
> Jan 24 13:29:32 mshefty-linux2 kernel: Data...........0 2 c9 1 a d2 5b 91 fe 80
> 0 0 0 0 0 0 
> Jan 24 13:29:32 mshefty-linux2 kernel: Data...........0 2 c9 1 7 fc 5b e1 
> Jan 24 13:29:32 mshefty-linux2 kernel: Madeye:recv GMP
> Jan 24 13:29:32 mshefty-linux2 kernel: MAD version....0x1
> Jan 24 13:29:32 mshefty-linux2 kernel: Class..........0x3 (Subnet admin.)
> Jan 24 13:29:32 mshefty-linux2 kernel: Class version..0x2
> Jan 24 13:29:32 mshefty-linux2 kernel: Method.........0x92 (Get table response)
> Jan 24 13:29:32 mshefty-linux2 kernel: Status.........0x00
> Jan 24 13:29:32 mshefty-linux2 kernel: Class specific.0x00
> Jan 24 13:29:32 mshefty-linux2 kernel: Trans ID.......0x9c5d7fe923000000
> Jan 24 13:29:32 mshefty-linux2 kernel: Attr ID........0x35 (Path Record)
> Jan 24 13:29:32 mshefty-linux2 kernel: Attr modifier..0x0000
> Jan 24 13:29:32 mshefty-linux2 kernel: RMPP version...0x1
> Jan 24 13:29:32 mshefty-linux2 kernel: RMPP type......0x1 (Data)
> Jan 24 13:29:32 mshefty-linux2 kernel: RMPP RRespTime.0x0
> Jan 24 13:29:32 mshefty-linux2 kernel: RMPP flags.....0x5 (Active - Last)
> Jan 24 13:29:32 mshefty-linux2 kernel: RMPP status....0x0
> Jan 24 13:29:32 mshefty-linux2 kernel: Seg number.....0x0003
> Jan 24 13:29:32 mshefty-linux2 kernel: Payload len....0x00c4
> Jan 24 13:29:32 mshefty-linux2 kernel: 
> Jan 24 13:29:32 mshefty-linux2 kernel: Data...........0 0 1 0 0 0 0 0 5a 5a 5a
> 5a 5a 5a 5a 5a 
> Jan 24 13:29:32 mshefty-linux2 kernel: Data...........5a 5a 5a 5a 5a 5a 5a 5a 5a
> 5a 5a 5a 5a 5a 5a 5a 
> Jan 24 13:29:32 mshefty-linux2 kernel: Data...........5a 5a 5a 5a 5a 5a 5a 5a 5a
> 5a 5a 5a 5a 5a 5a 5a 
> Jan 24 13:29:32 mshefty-linux2 kernel: Data...........1 3 2 92 0 0 0 0 0 0 0 23
> e9 7f 5d 9c 
> Jan 24 13:29:32 mshefty-linux2 kernel: Data...........0 35 0 0 0 0 0 0 1 1 5 0 0
> 0 0 3 
> Jan 24 13:29:32 mshefty-linux2 kernel: Data...........0 0 0 c4 0 0 0 0 0 0 0 0 0
> 8 0 0 
> Jan 24 13:29:32 mshefty-linux2 kernel: Data...........0 0 0 0 0 0 30 8 0 2 c9 1
> 9 75 c5 d1 
> Jan 24 13:29:32 mshefty-linux2 kernel: Data...........fe 80 0 0 0 0 0 0 0 2 c9 1
> 7 fc 5b e1 
> Jan 24 13:29:32 mshefty-linux2 kernel: Data...........0 1 0 8 0 0 0 0 0 80 ff ff
> 0 0 84 83 
> Jan 24 13:29:32 mshefty-linux2 kernel: Data...........92 0 0 0 0 0 0 0 0 0 0 0 0
> 0 0 0 
> Jan 24 13:29:32 mshefty-linux2 kernel: Data...........fe 80 0 0 0 0 0 0 0 2 c9 1
> 7 fc 5b e1 
> Jan 24 13:29:32 mshefty-linux2 kernel: Data...........fe 80 0 0 0 0 0 0 0 2 c9 1
> 7 fc 5b e1 

Here's one loopback path (DGID = SGID).

> Jan 24 13:29:32 mshefty-linux2 kernel: Data...........0 8 0 8 0 0 0 0 
> Jan 24 13:29:32 mshefty-linux2 kernel: Madeye:sent GMP
> Jan 24 13:29:32 mshefty-linux2 kernel: MAD version....0x1
> Jan 24 13:29:32 mshefty-linux2 kernel: Class..........0x3 (Subnet admin.)
> Jan 24 13:29:32 mshefty-linux2 kernel: Class version..0x2
> Jan 24 13:29:32 mshefty-linux2 kernel: Method.........0x12 (Get table)
> Jan 24 13:29:32 mshefty-linux2 kernel: Status.........0x00
> Jan 24 13:29:32 mshefty-linux2 kernel: Class specific.0x00
> Jan 24 13:29:32 mshefty-linux2 kernel: Trans ID.......0x9c5d7fe923000000
> Jan 24 13:29:32 mshefty-linux2 kernel: Attr ID........0x35 (Path Record)
> Jan 24 13:29:32 mshefty-linux2 kernel: Attr modifier..0x0000
> Jan 24 13:29:32 mshefty-linux2 kernel: RMPP version...0x1
> Jan 24 13:29:32 mshefty-linux2 kernel: RMPP type......0x2 (Ack)
> Jan 24 13:29:32 mshefty-linux2 kernel: RMPP RRespTime.0x0
> Jan 24 13:29:32 mshefty-linux2 kernel: RMPP flags.....0x1 (Active)
> Jan 24 13:29:32 mshefty-linux2 kernel: RMPP status....0x0
> Jan 24 13:29:32 mshefty-linux2 kernel: Seg number.....0x0003
> Jan 24 13:29:32 mshefty-linux2 kernel: New window.....0x0041
> Jan 24 13:46:02 mshefty-linux2 su: (to root) mshefty on /dev/pts/3
> 
> 




More information about the general mailing list