Skip to contentSkip to conversation

more partition questions

DISCUSSION Tom Ammon 2 participants 10 messages Jul 19, 2010 – Jul 27, 2010 8 messages not in the archive InfiniBand

lore
Share & tools
lore

Tom Ammon

author
#0 lore raw

I'm trying to set up partitions in a little test environment, and I'm having trouble.

I have opensm running on a machine attached to the fabric, and sminfo on the other machines confirm that this is indeed the master SM. Here's my /etc/opensm/partitions.conf:

Default=0xffff , ipoib : ALL, SELF=full ;
PartitionBlue=0x8004, ipoib : 0x0002c9030009cb3f=full, 0x0002c90200252841=full, 0x0002c90200243471=full ; PartitionRed=0x8005, ipoib : 0x0002c90200252841=full, 0x0002c90200243591=full, 0x0002c9030009cb2b=full ;

But when I go to the machine with port GUID 0x0002c90200243471, it doesn't appear that it's getting the pkey I wanted:

[root@stagnate ~]# ibstat
CA 'mthca0'

        CA type: MT23108
        Number of ports: 2
        Firmware version: 3.3.5
        Hardware version: a1
        Node GUID: 0x0002c90200243470
        System image GUID: 0x0002c90200243473
        Port 1:
                State: Active
                Physical state: LinkUp
                Rate: 10
                Base lid: 10
                LMC: 0
                SM lid: 4
                Capability mask: 0x02510a68
                Port GUID: 0x0002c90200243471
        Port 2:
                State: Down
                Physical state: Polling
                Rate: 2
                Base lid: 0
                LMC: 0
                SM lid: 0
                Capability mask: 0x02510a68
                Port GUID: 0x0002c90200243472

[root@stagnate ~]# cat /sys/class/net/ib0/pkey
0xffff

I'm trying to run one ipoib subnet in each partition, and then eventually the goal is to have a different server that has 2 child interfaces, one on each subnet. But it doesn't appear that my partition configuration is even correct. Is there a syntax error, or something else I am missing?

Thanks,

Tom

Signature · 12 lines
Tom Ammon
Network Engineer
Office: 801.587.0976
Mobile: 801.674.9273

Center for High Performance Computing
University of Utah
http://www.chpc.utah.edu
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

Hi Tom,

Quoted 7 lines · Tom Ammon

I'm trying to set up partitions in a little test environment, and I'm having trouble.

I have opensm running on a machine attached to the fabric, and sminfo on the other machines confirm that this is indeed the master SM. Here's my /etc/opensm/partitions.conf:

Quoted 5 lines

Default=0xffff , ipoib : ALL, SELF=full ; PartitionBlue=0x8004, ipoib : 0x0002c9030009cb3f=full, 0x0002c90200252841=full, 0x0002c90200243471=full ; PartitionRed=0x8005, ipoib : 0x0002c90200252841=full, 0x0002c90200243591=full, 0x0002c9030009cb2b=full ;

You don't really need the 0x8000 bit on in the pkeys but I don't think it does any harm.

Quoted 30 lines

But when I go to the machine with port GUID 0x0002c90200243471, it doesn't appear that it's getting the pkey I wanted:

[root@stagnate ~]# ibstat
CA 'mthca0'

         CA type: MT23108
         Number of ports: 2
         Firmware version: 3.3.5
         Hardware version: a1
         Node GUID: 0x0002c90200243470
         System image GUID: 0x0002c90200243473
         Port 1:
                 State: Active
                 Physical state: LinkUp
                 Rate: 10
                 Base lid: 10
                 LMC: 0
                 SM lid: 4
                 Capability mask: 0x02510a68
                 Port GUID: 0x0002c90200243471
         Port 2:
                 State: Down
                 Physical state: Polling
                 Rate: 2
                 Base lid: 0
                 LMC: 0
                 SM lid: 0
                 Capability mask: 0x02510a68
                 Port GUID: 0x0002c90200243472
Quoted 2 lines

[root@stagnate ~]# cat /sys/class/net/ib0/pkey
0xffff

What does:

smpquery pkeys 10 1

say ? Do you see the other pkey(s) on that port ?

The pkey you are seeing is the only one for ib0 interface.

If you want to have IPoIB interfaces on the other partitions too, you need to set this up by creating a child interface on those nodes; you had asked about that in a previous email
(http://www.mail-archive.com/[email protected]/msg04728.html).

-- Hal

Quoted 19 lines

I'm trying to run one ipoib subnet in each partition, and then eventually the goal is to have a different server that has 2 child interfaces, one on each subnet. But it doesn't appear that my partition configuration is even correct. Is there a syntax error, or something else I am missing?

Thanks,

Tom

--
Tom Ammon
Network Engineer
Office: 801.587.0976
Mobile: 801.674.9273

Quoted 8 lines

Center for High Performance Computing
University of Utah
http://www.chpc.utah.edu
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): AANLkTikDh5Em28cj9WSy2nNC-vrcZe4MwFHOYt9OmeuU-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

author
#4 lore raw

Hal,

Quoted 49 lines · Hal Rosenstock

Hi Tom,

Quoted 7 lines · Tom Ammon

I'm trying to set up partitions in a little test environment, and I'm having trouble.

I have opensm running on a machine attached to the fabric, and sminfo on the other machines confirm that this is indeed the master SM. Here's my /etc/opensm/partitions.conf:

Quoted 5 lines

Default=0xffff , ipoib : ALL, SELF=full ; PartitionBlue=0x8004, ipoib : 0x0002c9030009cb3f=full, 0x0002c90200252841=full, 0x0002c90200243471=full ; PartitionRed=0x8005, ipoib : 0x0002c90200252841=full, 0x0002c90200243591=full, 0x0002c9030009cb2b=full ;

You don't really need the 0x8000 bit on in the pkeys but I don't think it does any harm.

Quoted 30 lines

But when I go to the machine with port GUID 0x0002c90200243471, it doesn't appear that it's getting the pkey I wanted:

[root@stagnate ~]# ibstat
CA 'mthca0'

          CA type: MT23108
          Number of ports: 2
          Firmware version: 3.3.5
          Hardware version: a1
          Node GUID: 0x0002c90200243470
          System image GUID: 0x0002c90200243473
          Port 1:
                  State: Active
                  Physical state: LinkUp
                  Rate: 10
                  Base lid: 10
                  LMC: 0
                  SM lid: 4
                  Capability mask: 0x02510a68
                  Port GUID: 0x0002c90200243471
          Port 2:
                  State: Down
                  Physical state: Polling
                  Rate: 2
                  Base lid: 0
                  LMC: 0
                  SM lid: 0
                  Capability mask: 0x02510a68
                  Port GUID: 0x0002c90200243472
Quoted 8 lines
Quoted 2 lines

[root@stagnate ~]# cat /sys/class/net/ib0/pkey
0xffff

What does:

smpquery pkeys 10 1

say ? Do you see the other pkey(s) on that port ?

[root@stagnate ~]# smpquery pkeys 10 1
0: 0x7fff 0x8004 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 8: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
16: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 24: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 32: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 40: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 48: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 56: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
64 pkeys capacity for this port

So I see that both 7fff and 8004 are being assigned to this port. Is that okay? Is there any problem with the machine also being in the default partition?

As I look around at all of the machines with smpquery, it appears that they are all being assigned 7fff and the pkey that I assigned in partitions.conf.

But the machine that I want to run 2 child interfaces on is having issues. It's at LID 7 and here's what smpquery says:

[root@stagnate ~]# smpquery pkeys 7 1
0: 0x7fff 0x8004 0x8005 0x0000 0x0000 0x0000 0x0000 0x0000 8: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
16: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 24: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 32: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 40: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 48: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 56: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
64 pkeys capacity for this port

So that's fine, but when I try to create a child interface I get this:

[root@labdisk01 ~]# echo 0x8004 > /sys/class/net/ib0/create_child -bash: echo: write error: Name not unique on network

My plan was to create two child interfaces (0x8004 and 0x8005) and then ifconfig ib0.8004 and ifconfig ib0.8005 to assign them to separate subnets.

Tom

Quoted 49 lines

The pkey you are seeing is the only one for ib0 interface.

If you want to have IPoIB interfaces on the other partitions too, you need to set this up by creating a child interface on those nodes; you had asked about that in a previous email
(http://www.mail-archive.com/[email protected]/msg04728.html).

-- Hal

Quoted 27 lines

I'm trying to run one ipoib subnet in each partition, and then eventually the goal is to have a different server that has 2 child interfaces, one on each subnet. But it doesn't appear that my partition configuration is even correct. Is there a syntax error, or something else I am missing?

Thanks,

Tom

--
Tom Ammon
Network Engineer
Office: 801.587.0976
Mobile: 801.674.9273

Center for High Performance Computing
University of Utah
http://www.chpc.utah.edu
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 12 lines
Tom Ammon
Network Engineer
Office: 801.587.0976
Mobile: 801.674.9273

Center for High Performance Computing
University of Utah
http://www.chpc.utah.edu
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): [email protected]

#6 lore raw

Tom,

Quoted 74 lines · Tom Ammon

Hal,

Quoted 51 lines · Hal Rosenstock

Hi Tom,

Quoted 8 lines · Tom Ammon

I'm trying to set up partitions in a little test environment, and I'm having trouble.

I have opensm running on a machine attached to the fabric, and sminfo on the other machines confirm that this is indeed the master SM. Here's my /etc/opensm/partitions.conf:

Quoted 5 lines

Default=0xffff , ipoib : ALL, SELF=full ; PartitionBlue=0x8004, ipoib : 0x0002c9030009cb3f=full, 0x0002c90200252841=full, 0x0002c90200243471=full ; PartitionRed=0x8005, ipoib : 0x0002c90200252841=full, 0x0002c90200243591=full, 0x0002c9030009cb2b=full ;

You don't really need the 0x8000 bit on in the pkeys but I don't think it does any harm.

Quoted 30 lines

But when I go to the machine with port GUID 0x0002c90200243471, it doesn't appear that it's getting the pkey I wanted:

[root@stagnate ~]# ibstat
CA 'mthca0'
         CA type: MT23108
         Number of ports: 2
         Firmware version: 3.3.5
         Hardware version: a1
         Node GUID: 0x0002c90200243470
         System image GUID: 0x0002c90200243473
         Port 1:
                 State: Active
                 Physical state: LinkUp
                 Rate: 10
                 Base lid: 10
                 LMC: 0
                 SM lid: 4
                 Capability mask: 0x02510a68
                 Port GUID: 0x0002c90200243471
         Port 2:
                 State: Down
                 Physical state: Polling
                 Rate: 2
                 Base lid: 0
                 LMC: 0
                 SM lid: 0
                 Capability mask: 0x02510a68
                 Port GUID: 0x0002c90200243472

Quoted 8 lines
Quoted 2 lines

[root@stagnate ~]# cat /sys/class/net/ib0/pkey
0xffff

What does:

smpquery pkeys 10 1

say ? Do you see the other pkey(s) on that port ?

[root@stagnate ~]# smpquery pkeys 10 1
  0: 0x7fff 0x8004 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 8: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 16: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 24: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 32: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 40: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 48: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 56: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 64 pkeys capacity for this port

Quoted 2 lines

So I see that both 7fff and 8004 are being assigned to this port. Is that okay?

Yes.

Quoted 2 lines

Is there any problem with the machine also being in the default
partition?

No.

Quoted 2 lines

As I look around at all of the machines with smpquery, it appears that they are all being assigned 7fff and the pkey that I assigned in partitions.conf.

Good.

Quoted 14 lines

But the machine that I want to run 2 child interfaces on is having issues. It's at LID 7 and here's what smpquery says:

[root@stagnate ~]# smpquery pkeys 7 1
  0: 0x7fff 0x8004 0x8005 0x0000 0x0000 0x0000 0x0000 0x0000 8: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 16: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 24: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 32: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 40: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 48: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 56: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 64 pkeys capacity for this port

Quoted 4 lines

So that's fine, but when I try to create a child interface I get this:

[root@labdisk01 ~]# echo 0x8004 > /sys/class/net/ib0/create_child -bash: echo: write error: Name not unique on network

I don't know what cause that error. Maybe someone else can help here.

Are you sure the ib0 interface is OK ? What does ifconfig ib0 say ?

Quoted 2 lines

My plan was to create two child interfaces (0x8004 and 0x8005) and then ifconfig ib0.8004 and ifconfig ib0.8005 to assign them to separate subnets.

That should be fine.

-- Hal

Quoted 59 lines

Tom

Quoted 15 lines

The pkey you are seeing is the only one for ib0 interface.

Quoted 34 lines

If you want to have IPoIB interfaces on the other partitions too, you need to set this up by creating a child interface on those nodes; you had asked about that in a previous email
(http://www.mail-archive.com/[email protected]/msg04728.html).

-- Hal

Quoted 27 lines

I'm trying to run one ipoib subnet in each partition, and then eventually the goal is to have a different server that has 2 child interfaces, one on each subnet. But it doesn't appear that my partition configuration is even correct. Is there a syntax error, or something else I am missing?

Thanks,

Tom

--
Tom Ammon
Network Engineer
Office: 801.587.0976
Mobile: 801.674.9273

Center for High Performance Computing
University of Utah
http://www.chpc.utah.edu
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
Tom Ammon
Network Engineer
Office: 801.587.0976
Mobile: 801.674.9273

Quoted 4 lines

Center for High Performance Computing
University of Utah
http://www.chpc.utah.edu

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): AANLkTinqUs3CHKW42SWUVdqLr3vX-ixMc4M8u2ZRnQfr-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

author
#8 lore raw

Hal,

Thanks for looking at all of this with me. ifconfig output is below.

Quoted 106 lines · Hal Rosenstock

Tom,

Quoted 74 lines · Tom Ammon

Hal,

Quoted 51 lines · Hal Rosenstock

Hi Tom,

Quoted 8 lines · Tom Ammon

I'm trying to set up partitions in a little test environment, and I'm having trouble.

I have opensm running on a machine attached to the fabric, and sminfo on the other machines confirm that this is indeed the master SM. Here's my /etc/opensm/partitions.conf:

Quoted 5 lines

Default=0xffff , ipoib : ALL, SELF=full ; PartitionBlue=0x8004, ipoib : 0x0002c9030009cb3f=full, 0x0002c90200252841=full, 0x0002c90200243471=full ; PartitionRed=0x8005, ipoib : 0x0002c90200252841=full, 0x0002c90200243591=full, 0x0002c9030009cb2b=full ;

You don't really need the 0x8000 bit on in the pkeys but I don't think it does any harm.

Quoted 30 lines

But when I go to the machine with port GUID 0x0002c90200243471, it doesn't appear that it's getting the pkey I wanted:

[root@stagnate ~]# ibstat
CA 'mthca0'

          CA type: MT23108
          Number of ports: 2
          Firmware version: 3.3.5
          Hardware version: a1
          Node GUID: 0x0002c90200243470
          System image GUID: 0x0002c90200243473
          Port 1:
                  State: Active
                  Physical state: LinkUp
                  Rate: 10
                  Base lid: 10
                  LMC: 0
                  SM lid: 4
                  Capability mask: 0x02510a68
                  Port GUID: 0x0002c90200243471
          Port 2:
                  State: Down
                  Physical state: Polling
                  Rate: 2
                  Base lid: 0
                  LMC: 0
                  SM lid: 0
                  Capability mask: 0x02510a68
                  Port GUID: 0x0002c90200243472
Quoted 8 lines
Quoted 2 lines

[root@stagnate ~]# cat /sys/class/net/ib0/pkey
0xffff

What does:

smpquery pkeys 10 1

say ? Do you see the other pkey(s) on that port ?

[root@stagnate ~]# smpquery pkeys 10 1
0: 0x7fff 0x8004 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 8: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
16: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 24: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 32: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 40: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 48: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 56: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
64 pkeys capacity for this port

Quoted 2 lines

So I see that both 7fff and 8004 are being assigned to this port. Is that okay?

Yes.

Quoted 2 lines

Is there any problem with the machine also being in the default
partition?

No.

Quoted 2 lines

As I look around at all of the machines with smpquery, it appears that they are all being assigned 7fff and the pkey that I assigned in partitions.conf.

Good.

Quoted 14 lines

But the machine that I want to run 2 child interfaces on is having issues. It's at LID 7 and here's what smpquery says:

[root@stagnate ~]# smpquery pkeys 7 1
0: 0x7fff 0x8004 0x8005 0x0000 0x0000 0x0000 0x0000 0x0000 8: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
16: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 24: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 32: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 40: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 48: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 56: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
64 pkeys capacity for this port

Quoted 8 lines
Quoted 4 lines

So that's fine, but when I try to create a child interface I get this:

[root@labdisk01 ~]# echo 0x8004> /sys/class/net/ib0/create_child -bash: echo: write error: Name not unique on network

I don't know what cause that error. Maybe someone else can help here.

Are you sure the ib0 interface is OK ? What does ifconfig ib0 say ?

Here's ifconfig ib0:

ib0 Link encap:InfiniBand HWaddr 80:00:04:04:FE:80:00:00:00:00:00:00:00:00:00:00:00:00:00:00
inet6 addr: fe80::202:c902:25:2841/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:65520 Metric:1 RX packets:1 errors:0 dropped:0 overruns:0 frame:0 TX packets:17 errors:0 dropped:7 overruns:0 carrier:0 collisions:0 txqueuelen:256
RX bytes:56 (56.0 b) TX bytes:3529 (3.4 KiB)

Then I brought up the "sub"interfaces with "ifup ib0.8004" "ifup ib0.8005" . Still get the "Name not unique on network" message if I switch the order and do ifup followed by echo 0x8004....etc.

ib0.8004 Link encap:InfiniBand HWaddr 80:00:04:06:FE:80:00:00:00:00:00:00:00:00:00:00:00:00:00:00
inet addr:10.0.0.2 Bcast:10.0.0.255 Mask:255.255.255.0
inet6 addr: fe80::202:c902:25:2841/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:65520 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:78 errors:0 dropped:17 overruns:0 carrier:0
collisions:0 txqueuelen:256
RX bytes:0 (0.0 b) TX bytes:14620 (14.2 KiB)

ib0.8005 Link encap:InfiniBand HWaddr 80:00:04:07:FE:80:00:00:00:00:00:00:00:00:00:00:00:00:00:00
inet addr:192.168.10.2 Bcast:192.168.10.255 Mask:255.255.255.0
inet6 addr: fe80::202:c902:25:2841/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:65520 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:72 errors:0 dropped:18 overruns:0 carrier:0
collisions:0 txqueuelen:256
RX bytes:0 (0.0 b) TX bytes:14269 (13.9 KiB)

Also, here's some junk from /var/log/messages, seemed like it might be relevant, but maybe this is just IP stuff:

Jul 22 14:38:37 labdisk01 kernel: ADDRCONF(NETDEV_UP): ib0.8004: link is not ready
Jul 22 14:38:37 labdisk01 kernel: ADDRCONF(NETDEV_CHANGE): ib0.8004: link becomes ready
Jul 22 14:38:39 labdisk01 avahi-daemon[4056]: New relevant interface ib0.8004.IPv6 for mDNS.
Jul 22 14:38:39 labdisk01 avahi-daemon[4056]: Joining mDNS multicast group on interface ib0.8004.IPv6 with address fe80::202:c902:25:2841.
Jul 22 14:38:39 labdisk01 avahi-daemon[4056]: Registering new address record for fe80::202:c902:25:2841 on ib0.8004.
Jul 22 14:38:41 labdisk01 avahi-daemon[4056]: New relevant interface ib0.8004.IPv4 for mDNS.
Jul 22 14:38:41 labdisk01 avahi-daemon[4056]: Joining mDNS multicast group on interface ib0.8004.IPv4 with address 10.0.0.2.
Jul 22 14:38:41 labdisk01 avahi-daemon[4056]: Registering new address record for 10.0.0.2 on ib0.8004.
Jul 22 14:39:22 labdisk01 kernel: ADDRCONF(NETDEV_UP): ib0.8005: link is not ready
Jul 22 14:39:22 labdisk01 kernel: ADDRCONF(NETDEV_CHANGE): ib0.8005: link becomes ready
Jul 22 14:39:24 labdisk01 avahi-daemon[4056]: New relevant interface ib0.8005.IPv6 for mDNS.
Jul 22 14:39:24 labdisk01 avahi-daemon[4056]: Joining mDNS multicast group on interface ib0.8005.IPv6 with address fe80::202:c902:25:2841.
Jul 22 14:39:24 labdisk01 avahi-daemon[4056]: Registering new address record for fe80::202:c902:25:2841 on ib0.8005.
Jul 22 14:39:26 labdisk01 avahi-daemon[4056]: New relevant interface ib0.8005.IPv4 for mDNS.
Jul 22 14:39:26 labdisk01 avahi-daemon[4056]: Joining mDNS multicast group on interface ib0.8005.IPv4 with address 192.168.10.2.
Jul 22 14:39:26 labdisk01 avahi-daemon[4056]: Registering new address record for 192.168.10.2 on ib0.8005.
Quoted 71 lines
Quoted 3 lines

My plan was to create two child interfaces (0x8004 and 0x8005) and then ifconfig ib0.8004 and ifconfig ib0.8005 to assign them to separate subnets.

That should be fine.

-- Hal

Quoted 63 lines

Tom

Quoted 15 lines

The pkey you are seeing is the only one for ib0 interface.

Quoted 34 lines

If you want to have IPoIB interfaces on the other partitions too, you need to set this up by creating a child interface on those nodes; you had asked about that in a previous email
(http://www.mail-archive.com/[email protected]/msg04728.html).

-- Hal

Quoted 27 lines

I'm trying to run one ipoib subnet in each partition, and then eventually the goal is to have a different server that has 2 child interfaces, one on each subnet. But it doesn't appear that my partition configuration is even correct. Is there a syntax error, or something else I am missing?

Thanks,

Tom

--
Tom Ammon
Network Engineer
Office: 801.587.0976
Mobile: 801.674.9273

Center for High Performance Computing
University of Utah
http://www.chpc.utah.edu
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

--
Tom Ammon
Network Engineer
Office: 801.587.0976
Mobile: 801.674.9273

Center for High Performance Computing
University of Utah
http://www.chpc.utah.edu

Signature · 12 lines
Tom Ammon
Network Engineer
Office: 801.587.0976
Mobile: 801.674.9273

Center for High Performance Computing
University of Utah
http://www.chpc.utah.edu
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): [email protected]

author
#10 lore raw

Hi Hal,

I also found this in opensm.log on the SM machine (on a different server):

Jul 22 14:39:29 646241 [4AD86940] 0x01 -> mcmr_rcv_join_mgrp: ERR 1B11: method = SubnAdmSet, scope_state = 0x1, component mask = 0x0000000000010083, expected comp mask = 0x00000000000130c7, MGID: ff12:401b:8005::16 from port 0x0002c90200252841 (labdisk01 HCA-1)
Jul 22 14:39:31 379196 [48582940] 0x01 -> mcmr_rcv_join_mgrp: ERR 1B11: method = SubnAdmSet, scope_state = 0x1, component mask = 0x0000000000010083, expected comp mask = 0x00000000000130c7, MGID: ff12:601b:8005::16 from port 0x0002c90200252841 (labdisk01 HCA-1)
Jul 22 14:39:32 015121 [4357A940] 0x01 -> mcmr_rcv_join_mgrp: ERR 1B11: method = SubnAdmSet, scope_state = 0x1, component mask = 0x0000000000010083, expected comp mask = 0x00000000000130c7, MGID: ff12:601b:8005::2 from port 0x0002c90200252841 (labdisk01 HCA-1)
Quoted 268 lines · Tom Ammon

Hal,

Thanks for looking at all of this with me. ifconfig output is below.

Quoted 106 lines · Hal Rosenstock

Tom,

Quoted 74 lines · Tom Ammon

Hal,

Quoted 51 lines · Hal Rosenstock

Hi Tom,

Quoted 8 lines · Tom Ammon

I'm trying to set up partitions in a little test environment, and I'm having trouble.

I have opensm running on a machine attached to the fabric, and sminfo on the other machines confirm that this is indeed the master SM. Here's my /etc/opensm/partitions.conf:

Quoted 5 lines

Default=0xffff , ipoib : ALL, SELF=full ; PartitionBlue=0x8004, ipoib : 0x0002c9030009cb3f=full, 0x0002c90200252841=full, 0x0002c90200243471=full ; PartitionRed=0x8005, ipoib : 0x0002c90200252841=full, 0x0002c90200243591=full, 0x0002c9030009cb2b=full ;

You don't really need the 0x8000 bit on in the pkeys but I don't think it does any harm.

Quoted 30 lines

But when I go to the machine with port GUID 0x0002c90200243471, it doesn't appear that it's getting the pkey I wanted:

[root@stagnate ~]# ibstat
CA 'mthca0'

           CA type: MT23108
           Number of ports: 2
           Firmware version: 3.3.5
           Hardware version: a1
           Node GUID: 0x0002c90200243470
           System image GUID: 0x0002c90200243473
           Port 1:
                   State: Active
                   Physical state: LinkUp
                   Rate: 10
                   Base lid: 10
                   LMC: 0
                   SM lid: 4
                   Capability mask: 0x02510a68
                   Port GUID: 0x0002c90200243471
           Port 2:
                   State: Down
                   Physical state: Polling
                   Rate: 2
                   Base lid: 0
                   LMC: 0
                   SM lid: 0
                   Capability mask: 0x02510a68
                   Port GUID: 0x0002c90200243472
Quoted 8 lines
Quoted 2 lines

[root@stagnate ~]# cat /sys/class/net/ib0/pkey
0xffff

What does:

smpquery pkeys 10 1

say ? Do you see the other pkey(s) on that port ?

[root@stagnate ~]# smpquery pkeys 10 1

    0: 0x7fff 0x8004 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    8: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000

16: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 24: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 32: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 40: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 48: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 56: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
64 pkeys capacity for this port

Quoted 2 lines

So I see that both 7fff and 8004 are being assigned to this port. Is that okay?

Yes.

Quoted 2 lines

Is there any problem with the machine also being in the default
partition?

No.

Quoted 2 lines

As I look around at all of the machines with smpquery, it appears that they are all being assigned 7fff and the pkey that I assigned in partitions.conf.

Good.

Quoted 14 lines

But the machine that I want to run 2 child interfaces on is having issues. It's at LID 7 and here's what smpquery says:

[root@stagnate ~]# smpquery pkeys 7 1

    0: 0x7fff 0x8004 0x8005 0x0000 0x0000 0x0000 0x0000 0x0000
    8: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000

16: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 24: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 32: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 40: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 48: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 56: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
64 pkeys capacity for this port

Quoted 8 lines
Quoted 4 lines

So that's fine, but when I try to create a child interface I get this:

[root@labdisk01 ~]# echo 0x8004> /sys/class/net/ib0/create_child
-bash: echo: write error: Name not unique on network

I don't know what cause that error. Maybe someone else can help here.

Are you sure the ib0 interface is OK ? What does ifconfig ib0 say ?

Here's ifconfig ib0:

ib0 Link encap:InfiniBand HWaddr
80:00:04:04:FE:80:00:00:00:00:00:00:00:00:00:00:00:00:00:00
inet6 addr: fe80::202:c902:25:2841/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:65520 Metric:1 RX packets:1 errors:0 dropped:0 overruns:0 frame:0 TX packets:17 errors:0 dropped:7 overruns:0 carrier:0 collisions:0 txqueuelen:256
RX bytes:56 (56.0 b) TX bytes:3529 (3.4 KiB)

Then I brought up the "sub"interfaces with "ifup ib0.8004" "ifup ib0.8005" . Still get the "Name not unique on network" message if I switch the order and do ifup followed by echo 0x8004....etc.

ib0.8004 Link encap:InfiniBand HWaddr 80:00:04:06:FE:80:00:00:00:00:00:00:00:00:00:00:00:00:00:00
inet addr:10.0.0.2 Bcast:10.0.0.255 Mask:255.255.255.0 inet6 addr: fe80::202:c902:25:2841/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:65520 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:78 errors:0 dropped:17 overruns:0 carrier:0 collisions:0 txqueuelen:256
RX bytes:0 (0.0 b) TX bytes:14620 (14.2 KiB)

ib0.8005 Link encap:InfiniBand HWaddr 80:00:04:07:FE:80:00:00:00:00:00:00:00:00:00:00:00:00:00:00
inet addr:192.168.10.2 Bcast:192.168.10.255 Mask:255.255.255.0 inet6 addr: fe80::202:c902:25:2841/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:65520 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:72 errors:0 dropped:18 overruns:0 carrier:0 collisions:0 txqueuelen:256
RX bytes:0 (0.0 b) TX bytes:14269 (13.9 KiB)

Also, here's some junk from /var/log/messages, seemed like it might be relevant, but maybe this is just IP stuff:

Jul 22 14:38:37 labdisk01 kernel: ADDRCONF(NETDEV_UP): ib0.8004: link is
not ready
Jul 22 14:38:37 labdisk01 kernel: ADDRCONF(NETDEV_CHANGE): ib0.8004:
link becomes ready
Jul 22 14:38:39 labdisk01 avahi-daemon[4056]: New relevant interface
ib0.8004.IPv6 for mDNS.
Jul 22 14:38:39 labdisk01 avahi-daemon[4056]: Joining mDNS multicast
group on interface ib0.8004.IPv6 with address fe80::202:c902:25:2841.
Jul 22 14:38:39 labdisk01 avahi-daemon[4056]: Registering new address
record for fe80::202:c902:25:2841 on ib0.8004.
Jul 22 14:38:41 labdisk01 avahi-daemon[4056]: New relevant interface
ib0.8004.IPv4 for mDNS.
Jul 22 14:38:41 labdisk01 avahi-daemon[4056]: Joining mDNS multicast
group on interface ib0.8004.IPv4 with address 10.0.0.2.
Jul 22 14:38:41 labdisk01 avahi-daemon[4056]: Registering new address
record for 10.0.0.2 on ib0.8004.
Jul 22 14:39:22 labdisk01 kernel: ADDRCONF(NETDEV_UP): ib0.8005: link is
not ready
Jul 22 14:39:22 labdisk01 kernel: ADDRCONF(NETDEV_CHANGE): ib0.8005:
link becomes ready
Jul 22 14:39:24 labdisk01 avahi-daemon[4056]: New relevant interface
ib0.8005.IPv6 for mDNS.
Jul 22 14:39:24 labdisk01 avahi-daemon[4056]: Joining mDNS multicast
group on interface ib0.8005.IPv6 with address fe80::202:c902:25:2841.
Jul 22 14:39:24 labdisk01 avahi-daemon[4056]: Registering new address
record for fe80::202:c902:25:2841 on ib0.8005.
Jul 22 14:39:26 labdisk01 avahi-daemon[4056]: New relevant interface
ib0.8005.IPv4 for mDNS.
Jul 22 14:39:26 labdisk01 avahi-daemon[4056]: Joining mDNS multicast
group on interface ib0.8005.IPv4 with address 192.168.10.2.
Jul 22 14:39:26 labdisk01 avahi-daemon[4056]: Registering new address

record for 192.168.10.2 on ib0.8005.

Quoted 71 lines
Quoted 3 lines

My plan was to create two child interfaces (0x8004 and 0x8005) and then ifconfig ib0.8004 and ifconfig ib0.8005 to assign them to separate subnets.

That should be fine.

-- Hal

Quoted 63 lines

Tom

Quoted 15 lines

The pkey you are seeing is the only one for ib0 interface.

Quoted 34 lines

If you want to have IPoIB interfaces on the other partitions too, you need to set this up by creating a child interface on those nodes; you had asked about that in a previous email
(http://www.mail-archive.com/[email protected]/msg04728.html).

-- Hal

Quoted 27 lines

I'm trying to run one ipoib subnet in each partition, and then eventually the goal is to have a different server that has 2 child interfaces, one on each subnet. But it doesn't appear that my partition configuration is even correct. Is there a syntax error, or something else I am missing?

Thanks,

Tom

--
Tom Ammon
Network Engineer
Office: 801.587.0976
Mobile: 801.674.9273

Center for High Performance Computing
University of Utah
http://www.chpc.utah.edu
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

--
Tom Ammon
Network Engineer
Office: 801.587.0976
Mobile: 801.674.9273

Center for High Performance Computing
University of Utah
http://www.chpc.utah.edu

Signature · 12 lines
Tom Ammon
Network Engineer
Office: 801.587.0976
Mobile: 801.674.9273

Center for High Performance Computing
University of Utah
http://www.chpc.utah.edu
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): [email protected]

#12 lore raw

Hi Tom,

Quoted 13 lines · Tom Ammon

Hi Hal,

I also found this in opensm.log on the SM machine (on a different server):

Jul 22 14:39:29 646241 [4AD86940] 0x01 -> mcmr_rcv_join_mgrp: ERR 1B11:
method = SubnAdmSet, scope_state = 0x1, component mask = 0x0000000000010083,
expected comp mask = 0x00000000000130c7, MGID: ff12:401b:8005::16 from port
0x0002c90200252841 (labdisk01 HCA-1)
Jul 22 14:39:31 379196 [48582940] 0x01 -> mcmr_rcv_join_mgrp: ERR 1B11:
method = SubnAdmSet, scope_state = 0x1, component mask = 0x0000000000010083,
expected comp mask = 0x00000000000130c7, MGID: ff12:601b:8005::16 from port
0x0002c90200252841 (labdisk01 HCA-1)
Jul 22 14:39:32 015121 [4357A940] 0x01 -> mcmr_rcv_join_mgrp: ERR 1B11:
Quoted 3 lines

method = SubnAdmSet, scope_state = 0x1, component mask = 0x0000000000010083, expected comp mask = 0x00000000000130c7, MGID: ff12:601b:8005::2 from port 0x0002c90200252841 (labdisk01 HCA-1)

Those are all benign.

Are there any other messages that might be of interest in the OpenSM log ?

-- Hal

Quoted 290 lines · Tom Ammon
Quoted 202 lines

Hal,

Thanks for looking at all of this with me. ifconfig output is below.

Quoted 114 lines · Hal Rosenstock

Tom,

Quoted 77 lines · Tom Ammon

Hal,

Quoted 53 lines · Hal Rosenstock

Hi Tom,

Quoted 10 lines · Tom Ammon

I'm trying to set up partitions in a little test environment, and I'm having trouble.

I have opensm running on a machine attached to the fabric, and sminfo on
the other machines confirm that this is indeed the master SM. Here's my
/etc/opensm/partitions.conf:

Quoted 5 lines

Default=0xffff , ipoib : ALL, SELF=full ; PartitionBlue=0x8004, ipoib : 0x0002c9030009cb3f=full, 0x0002c90200252841=full, 0x0002c90200243471=full ; PartitionRed=0x8005, ipoib : 0x0002c90200252841=full, 0x0002c90200243591=full, 0x0002c9030009cb2b=full ;

You don't really need the 0x8000 bit on in the pkeys but I don't think it does any harm.

Quoted 30 lines

But when I go to the machine with port GUID 0x0002c90200243471, it doesn't appear that it's getting the pkey I wanted:

[root@stagnate ~]# ibstat
CA 'mthca0'
          CA type: MT23108
          Number of ports: 2
          Firmware version: 3.3.5
          Hardware version: a1
          Node GUID: 0x0002c90200243470
          System image GUID: 0x0002c90200243473
          Port 1:
                  State: Active
                  Physical state: LinkUp
                  Rate: 10
                  Base lid: 10
                  LMC: 0
                  SM lid: 4
                  Capability mask: 0x02510a68
                  Port GUID: 0x0002c90200243471
          Port 2:
                  State: Down
                  Physical state: Polling
                  Rate: 2
                  Base lid: 0
                  LMC: 0
                  SM lid: 0
                  Capability mask: 0x02510a68
                  Port GUID: 0x0002c90200243472

Quoted 8 lines
Quoted 2 lines

[root@stagnate ~]# cat /sys/class/net/ib0/pkey
0xffff

What does:

smpquery pkeys 10 1

say ? Do you see the other pkey(s) on that port ?

[root@stagnate ~]# smpquery pkeys 10 1
   0: 0x7fff 0x8004 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 8: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 16: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 24: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 32: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 40: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 48: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 56: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 64 pkeys capacity for this port

Quoted 3 lines

So I see that both 7fff and 8004 are being assigned to this port. Is that
okay?

Yes.

Quoted 2 lines

  Is there any problem with the machine also being in the default partition?

No.

Quoted 4 lines

As I look around at all of the machines with smpquery, it appears that they
are all being assigned 7fff and the pkey that I assigned in partitions.conf.

Good.

Quoted 15 lines

But the machine that I want to run 2 child interfaces on is having issues.
It's at LID 7 and here's what smpquery says:

[root@stagnate ~]# smpquery pkeys 7 1
   0: 0x7fff 0x8004 0x8005 0x0000 0x0000 0x0000 0x0000 0x0000 8: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 16: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 24: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 32: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 40: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 48: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 56: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 64 pkeys capacity for this port

Quoted 8 lines
Quoted 4 lines

So that's fine, but when I try to create a child interface I get this:

[root@labdisk01 ~]# echo 0x8004>   /sys/class/net/ib0/create_child -bash: echo: write error: Name not unique on network

I don't know what cause that error. Maybe someone else can help here.

Are you sure the ib0 interface is OK ? What does ifconfig ib0 say ?

Here's ifconfig ib0:

ib0       Link encap:InfiniBand  HWaddr 80:00:04:04:FE:80:00:00:00:00:00:00:00:00:00:00:00:00:00:00 inet6 addr: fe80::202:c902:25:2841/64 Scope:Link UP BROADCAST RUNNING MULTICAST  MTU:65520  Metric:1 RX packets:1 errors:0 dropped:0 overruns:0 frame:0 TX packets:17 errors:0 dropped:7 overruns:0 carrier:0 collisions:0 txqueuelen:256
           RX bytes:56 (56.0 b)  TX bytes:3529 (3.4 KiB)

Then I brought up the "sub"interfaces with "ifup ib0.8004" "ifup ib0.8005" . Still get the "Name not unique on network" message if I switch the order and do ifup followed by echo 0x8004....etc.

ib0.8004  Link encap:InfiniBand  HWaddr 80:00:04:06:FE:80:00:00:00:00:00:00:00:00:00:00:00:00:00:00 inet addr:10.0.0.2  Bcast:10.0.0.255  Mask:255.255.255.0 inet6 addr: fe80::202:c902:25:2841/64 Scope:Link UP BROADCAST RUNNING MULTICAST  MTU:65520  Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:78 errors:0 dropped:17 overruns:0 carrier:0 collisions:0 txqueuelen:256
           RX bytes:0 (0.0 b)  TX bytes:14620 (14.2 KiB)

ib0.8005  Link encap:InfiniBand  HWaddr 80:00:04:07:FE:80:00:00:00:00:00:00:00:00:00:00:00:00:00:00 inet addr:192.168.10.2  Bcast:192.168.10.255 Mask:255.255.255.0
           inet6 addr: fe80::202:c902:25:2841/64 Scope:Link UP BROADCAST RUNNING MULTICAST  MTU:65520  Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:72 errors:0 dropped:18 overruns:0 carrier:0 collisions:0 txqueuelen:256
           RX bytes:0 (0.0 b)  TX bytes:14269 (13.9 KiB)

Also, here's some junk from /var/log/messages, seemed like it might be relevant, but maybe this is just IP stuff:

Jul 22 14:38:37 labdisk01 kernel: ADDRCONF(NETDEV_UP): ib0.8004: link is
not ready
Jul 22 14:38:37 labdisk01 kernel: ADDRCONF(NETDEV_CHANGE): ib0.8004:
link becomes ready
Jul 22 14:38:39 labdisk01 avahi-daemon[4056]: New relevant interface
ib0.8004.IPv6 for mDNS.
Jul 22 14:38:39 labdisk01 avahi-daemon[4056]: Joining mDNS multicast
group on interface ib0.8004.IPv6 with address fe80::202:c902:25:2841.
Jul 22 14:38:39 labdisk01 avahi-daemon[4056]: Registering new address
record for fe80::202:c902:25:2841 on ib0.8004.
Jul 22 14:38:41 labdisk01 avahi-daemon[4056]: New relevant interface
ib0.8004.IPv4 for mDNS.
Jul 22 14:38:41 labdisk01 avahi-daemon[4056]: Joining mDNS multicast
group on interface ib0.8004.IPv4 with address 10.0.0.2.
Jul 22 14:38:41 labdisk01 avahi-daemon[4056]: Registering new address
record for 10.0.0.2 on ib0.8004.
Jul 22 14:39:22 labdisk01 kernel: ADDRCONF(NETDEV_UP): ib0.8005: link is
not ready
Jul 22 14:39:22 labdisk01 kernel: ADDRCONF(NETDEV_CHANGE): ib0.8005:
link becomes ready
Jul 22 14:39:24 labdisk01 avahi-daemon[4056]: New relevant interface
ib0.8005.IPv6 for mDNS.
Jul 22 14:39:24 labdisk01 avahi-daemon[4056]: Joining mDNS multicast
group on interface ib0.8005.IPv6 with address fe80::202:c902:25:2841.
Jul 22 14:39:24 labdisk01 avahi-daemon[4056]: Registering new address
record for fe80::202:c902:25:2841 on ib0.8005.
Jul 22 14:39:26 labdisk01 avahi-daemon[4056]: New relevant interface
ib0.8005.IPv4 for mDNS.
Jul 22 14:39:26 labdisk01 avahi-daemon[4056]: Joining mDNS multicast
group on interface ib0.8005.IPv4 with address 192.168.10.2.
Jul 22 14:39:26 labdisk01 avahi-daemon[4056]: Registering new address
Quoted 79 lines

record for 192.168.10.2 on ib0.8005.

Quoted 74 lines
Quoted 4 lines

My plan was to create two child interfaces (0x8004 and 0x8005) and then ifconfig ib0.8004 and ifconfig ib0.8005 to assign them to separate subnets.

That should be fine.

-- Hal

Quoted 65 lines

Tom

Quoted 15 lines

The pkey you are seeing is the only one for ib0 interface.

Quoted 36 lines

If you want to have IPoIB interfaces on the other partitions too, you need to set this up by creating a child interface on those nodes; you had asked about that in a previous email
(http://www.mail-archive.com/[email protected]/msg04728.html).

-- Hal

Quoted 29 lines

I'm trying to run one ipoib subnet in each partition, and then eventually the goal is to have a different server that has 2 child interfaces, one on each subnet. But it doesn't appear that my partition
configuration is even correct. Is there a syntax error, or something else I am missing?

Thanks,

Tom

--
Tom Ammon
Network Engineer
Office: 801.587.0976
Mobile: 801.674.9273

Center for High Performance Computing
University of Utah
http://www.chpc.utah.edu
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected] More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
Tom Ammon
Network Engineer
Office: 801.587.0976
Mobile: 801.674.9273

Center for High Performance Computing
University of Utah
http://www.chpc.utah.edu

--
Tom Ammon
Network Engineer
Office: 801.587.0976
Mobile: 801.674.9273

Quoted 4 lines

Center for High Performance Computing
University of Utah
http://www.chpc.utah.edu

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#13 lore raw
In reply to a message not in the archive

Tom,

Quoted 152 lines · Tom Ammon

Hal,

Thanks for looking at all of this with me. ifconfig output is below.

Quoted 112 lines · Hal Rosenstock

Tom,

Quoted 76 lines · Tom Ammon

Hal,

Quoted 52 lines · Hal Rosenstock

Hi Tom,

Quoted 9 lines · Tom Ammon

I'm trying to set up partitions in a little test environment, and I'm having trouble.

I have opensm running on a machine attached to the fabric, and sminfo on
the other machines confirm that this is indeed the master SM. Here's my /etc/opensm/partitions.conf:

Quoted 5 lines

Default=0xffff , ipoib : ALL, SELF=full ; PartitionBlue=0x8004, ipoib : 0x0002c9030009cb3f=full, 0x0002c90200252841=full, 0x0002c90200243471=full ; PartitionRed=0x8005, ipoib : 0x0002c90200252841=full, 0x0002c90200243591=full, 0x0002c9030009cb2b=full ;

You don't really need the 0x8000 bit on in the pkeys but I don't think it does any harm.

Quoted 30 lines

But when I go to the machine with port GUID 0x0002c90200243471, it doesn't appear that it's getting the pkey I wanted:

[root@stagnate ~]# ibstat
CA 'mthca0'
         CA type: MT23108
         Number of ports: 2
         Firmware version: 3.3.5
         Hardware version: a1
         Node GUID: 0x0002c90200243470
         System image GUID: 0x0002c90200243473
         Port 1:
                 State: Active
                 Physical state: LinkUp
                 Rate: 10
                 Base lid: 10
                 LMC: 0
                 SM lid: 4
                 Capability mask: 0x02510a68
                 Port GUID: 0x0002c90200243471
         Port 2:
                 State: Down
                 Physical state: Polling
                 Rate: 2
                 Base lid: 0
                 LMC: 0
                 SM lid: 0
                 Capability mask: 0x02510a68
                 Port GUID: 0x0002c90200243472

Quoted 8 lines
Quoted 2 lines

[root@stagnate ~]# cat /sys/class/net/ib0/pkey
0xffff

What does:

smpquery pkeys 10 1

say ? Do you see the other pkey(s) on that port ?

[root@stagnate ~]# smpquery pkeys 10 1
  0: 0x7fff 0x8004 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 8: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 16: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 24: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 32: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 40: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 48: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 56: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 64 pkeys capacity for this port

Quoted 2 lines

So I see that both 7fff and 8004 are being assigned to this port. Is that okay?

Yes.

Quoted 2 lines

 Is there any problem with the machine also being in the default partition?

No.

Quoted 4 lines

As I look around at all of the machines with smpquery, it appears that they
are all being assigned 7fff and the pkey that I assigned in partitions.conf.

Good.

Quoted 15 lines

But the machine that I want to run 2 child interfaces on is having issues.
It's at LID 7 and here's what smpquery says:

[root@stagnate ~]# smpquery pkeys 7 1
  0: 0x7fff 0x8004 0x8005 0x0000 0x0000 0x0000 0x0000 0x0000 8: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 16: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 24: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 32: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 40: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 48: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 56: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 64 pkeys capacity for this port

Quoted 8 lines
Quoted 4 lines

So that's fine, but when I try to create a child interface I get this:

[root@labdisk01 ~]# echo 0x8004>  /sys/class/net/ib0/create_child -bash: echo: write error: Name not unique on network

I don't know what cause that error. Maybe someone else can help here.

Are you sure the ib0 interface is OK ? What does ifconfig ib0 say ?

Here's ifconfig ib0:

ib0       Link encap:InfiniBand  HWaddr 80:00:04:04:FE:80:00:00:00:00:00:00:00:00:00:00:00:00:00:00 inet6 addr: fe80::202:c902:25:2841/64 Scope:Link UP BROADCAST RUNNING MULTICAST  MTU:65520  Metric:1 RX packets:1 errors:0 dropped:0 overruns:0 frame:0 TX packets:17 errors:0 dropped:7 overruns:0 carrier:0 collisions:0 txqueuelen:256
         RX bytes:56 (56.0 b)  TX bytes:3529 (3.4 KiB)

Then I brought up the "sub"interfaces with "ifup ib0.8004" "ifup ib0.8005" . Still get the "Name not unique on network" message if I switch the order and do ifup followed by echo 0x8004....etc.

ib0.8004  Link encap:InfiniBand  HWaddr 80:00:04:06:FE:80:00:00:00:00:00:00:00:00:00:00:00:00:00:00 inet addr:10.0.0.2  Bcast:10.0.0.255  Mask:255.255.255.0 inet6 addr: fe80::202:c902:25:2841/64 Scope:Link UP BROADCAST RUNNING MULTICAST  MTU:65520  Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:78 errors:0 dropped:17 overruns:0 carrier:0 collisions:0 txqueuelen:256
         RX bytes:0 (0.0 b)  TX bytes:14620 (14.2 KiB)

Quoted 9 lines

ib0.8005  Link encap:InfiniBand  HWaddr 80:00:04:07:FE:80:00:00:00:00:00:00:00:00:00:00:00:00:00:00 inet addr:192.168.10.2  Bcast:192.168.10.255  Mask:255.255.255.0 inet6 addr: fe80::202:c902:25:2841/64 Scope:Link
         UP BROADCAST RUNNING MULTICAST  MTU:65520  Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:72 errors:0 dropped:18 overruns:0 carrier:0 collisions:0 txqueuelen:256
         RX bytes:0 (0.0 b)  TX bytes:14269 (13.9 KiB)

Looks like none of the subinterfaces are receiving and the primary interface only received 1 packet.

What does saquery -g show and then saquery -m <mlid> for each mlid shown in the MC groups dump.

-- Hal

Quoted 118 lines

Also, here's some junk from /var/log/messages, seemed like it might be relevant, but maybe this is just IP stuff:

Jul 22 14:38:37 labdisk01 kernel: ADDRCONF(NETDEV_UP): ib0.8004: link is not
ready
Jul 22 14:38:37 labdisk01 kernel: ADDRCONF(NETDEV_CHANGE): ib0.8004: link
becomes ready
Jul 22 14:38:39 labdisk01 avahi-daemon[4056]: New relevant interface
ib0.8004.IPv6 for mDNS.
Jul 22 14:38:39 labdisk01 avahi-daemon[4056]: Joining mDNS multicast group
on interface ib0.8004.IPv6 with address fe80::202:c902:25:2841.
Jul 22 14:38:39 labdisk01 avahi-daemon[4056]: Registering new address record
for fe80::202:c902:25:2841 on ib0.8004.
Jul 22 14:38:41 labdisk01 avahi-daemon[4056]: New relevant interface
ib0.8004.IPv4 for mDNS.
Jul 22 14:38:41 labdisk01 avahi-daemon[4056]: Joining mDNS multicast group
on interface ib0.8004.IPv4 with address 10.0.0.2.
Jul 22 14:38:41 labdisk01 avahi-daemon[4056]: Registering new address record
for 10.0.0.2 on ib0.8004.
Jul 22 14:39:22 labdisk01 kernel: ADDRCONF(NETDEV_UP): ib0.8005: link is not
ready
Jul 22 14:39:22 labdisk01 kernel: ADDRCONF(NETDEV_CHANGE): ib0.8005: link
becomes ready
Jul 22 14:39:24 labdisk01 avahi-daemon[4056]: New relevant interface
ib0.8005.IPv6 for mDNS.
Jul 22 14:39:24 labdisk01 avahi-daemon[4056]: Joining mDNS multicast group
on interface ib0.8005.IPv6 with address fe80::202:c902:25:2841.
Jul 22 14:39:24 labdisk01 avahi-daemon[4056]: Registering new address record
for fe80::202:c902:25:2841 on ib0.8005.
Jul 22 14:39:26 labdisk01 avahi-daemon[4056]: New relevant interface
ib0.8005.IPv4 for mDNS.
Jul 22 14:39:26 labdisk01 avahi-daemon[4056]: Joining mDNS multicast group
on interface ib0.8005.IPv4 with address 192.168.10.2.
Jul 22 14:39:26 labdisk01 avahi-daemon[4056]: Registering new address record

for 192.168.10.2 on ib0.8005.

Quoted 73 lines
Quoted 4 lines

My plan was to create two child interfaces (0x8004 and 0x8005) and then ifconfig ib0.8004 and ifconfig ib0.8005 to assign them to separate subnets.

That should be fine.

-- Hal

Quoted 64 lines

Tom

Quoted 15 lines

The pkey you are seeing is the only one for ib0 interface.

Quoted 35 lines

If you want to have IPoIB interfaces on the other partitions too, you need to set this up by creating a child interface on those nodes; you had asked about that in a previous email
(http://www.mail-archive.com/[email protected]/msg04728.html).

-- Hal

Quoted 28 lines

I'm trying to run one ipoib subnet in each partition, and then eventually the goal is to have a different server that has 2 child interfaces, one on each subnet. But it doesn't appear that my partition configuration is even correct. Is there a syntax error, or something else I am missing?

Thanks,

Tom

--
Tom Ammon
Network Engineer
Office: 801.587.0976
Mobile: 801.674.9273

Center for High Performance Computing
University of Utah
http://www.chpc.utah.edu
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected] More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
Tom Ammon
Network Engineer
Office: 801.587.0976
Mobile: 801.674.9273

Center for High Performance Computing
University of Utah
http://www.chpc.utah.edu

--
Tom Ammon
Network Engineer
Office: 801.587.0976
Mobile: 801.674.9273

Quoted 4 lines

Center for High Performance Computing
University of Utah
http://www.chpc.utah.edu

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): AANLkTim9BGa-eFxff2yVd4MTdL_Ahx-_g69ATkEa-lmn-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

author
#15 lore raw

Hal,

Quoted 165 lines · Hal Rosenstock

Tom,

Quoted 152 lines · Tom Ammon

Hal,

Thanks for looking at all of this with me. ifconfig output is below.

Quoted 112 lines · Hal Rosenstock

Tom,

Quoted 76 lines · Tom Ammon

Hal,

Quoted 52 lines · Hal Rosenstock

Hi Tom,

Quoted 9 lines · Tom Ammon

I'm trying to set up partitions in a little test environment, and I'm having trouble.

I have opensm running on a machine attached to the fabric, and sminfo on
the other machines confirm that this is indeed the master SM. Here's my /etc/opensm/partitions.conf:

Quoted 5 lines

Default=0xffff , ipoib : ALL, SELF=full ; PartitionBlue=0x8004, ipoib : 0x0002c9030009cb3f=full, 0x0002c90200252841=full, 0x0002c90200243471=full ; PartitionRed=0x8005, ipoib : 0x0002c90200252841=full, 0x0002c90200243591=full, 0x0002c9030009cb2b=full ;

You don't really need the 0x8000 bit on in the pkeys but I don't think it does any harm.

Quoted 30 lines

But when I go to the machine with port GUID 0x0002c90200243471, it doesn't appear that it's getting the pkey I wanted:

[root@stagnate ~]# ibstat
CA 'mthca0'

          CA type: MT23108
          Number of ports: 2
          Firmware version: 3.3.5
          Hardware version: a1
          Node GUID: 0x0002c90200243470
          System image GUID: 0x0002c90200243473
          Port 1:
                  State: Active
                  Physical state: LinkUp
                  Rate: 10
                  Base lid: 10
                  LMC: 0
                  SM lid: 4
                  Capability mask: 0x02510a68
                  Port GUID: 0x0002c90200243471
          Port 2:
                  State: Down
                  Physical state: Polling
                  Rate: 2
                  Base lid: 0
                  LMC: 0
                  SM lid: 0
                  Capability mask: 0x02510a68
                  Port GUID: 0x0002c90200243472
Quoted 8 lines
Quoted 2 lines

[root@stagnate ~]# cat /sys/class/net/ib0/pkey
0xffff

What does:

smpquery pkeys 10 1

say ? Do you see the other pkey(s) on that port ?

[root@stagnate ~]# smpquery pkeys 10 1
0: 0x7fff 0x8004 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 8: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
16: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 24: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 32: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 40: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 48: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 56: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
64 pkeys capacity for this port

Quoted 2 lines

So I see that both 7fff and 8004 are being assigned to this port. Is that okay?

Yes.

Quoted 2 lines

Is there any problem with the machine also being in the default
partition?

No.

Quoted 4 lines

As I look around at all of the machines with smpquery, it appears that they
are all being assigned 7fff and the pkey that I assigned in partitions.conf.

Good.

Quoted 15 lines

But the machine that I want to run 2 child interfaces on is having issues.
It's at LID 7 and here's what smpquery says:

[root@stagnate ~]# smpquery pkeys 7 1
0: 0x7fff 0x8004 0x8005 0x0000 0x0000 0x0000 0x0000 0x0000 8: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
16: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 24: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 32: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 40: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 48: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 56: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
64 pkeys capacity for this port

Quoted 8 lines
Quoted 4 lines

So that's fine, but when I try to create a child interface I get this:

[root@labdisk01 ~]# echo 0x8004> /sys/class/net/ib0/create_child
-bash: echo: write error: Name not unique on network

I don't know what cause that error. Maybe someone else can help here.

Are you sure the ib0 interface is OK ? What does ifconfig ib0 say ?

Here's ifconfig ib0:

ib0 Link encap:InfiniBand HWaddr
80:00:04:04:FE:80:00:00:00:00:00:00:00:00:00:00:00:00:00:00
inet6 addr: fe80::202:c902:25:2841/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:65520 Metric:1 RX packets:1 errors:0 dropped:0 overruns:0 frame:0 TX packets:17 errors:0 dropped:7 overruns:0 carrier:0 collisions:0 txqueuelen:256
RX bytes:56 (56.0 b) TX bytes:3529 (3.4 KiB)

Then I brought up the "sub"interfaces with "ifup ib0.8004" "ifup ib0.8005" . Still get the "Name not unique on network" message if I switch the order and do ifup followed by echo 0x8004....etc.

ib0.8004 Link encap:InfiniBand HWaddr 80:00:04:06:FE:80:00:00:00:00:00:00:00:00:00:00:00:00:00:00
inet addr:10.0.0.2 Bcast:10.0.0.255 Mask:255.255.255.0 inet6 addr: fe80::202:c902:25:2841/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:65520 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:78 errors:0 dropped:17 overruns:0 carrier:0 collisions:0 txqueuelen:256
RX bytes:0 (0.0 b) TX bytes:14620 (14.2 KiB)

Quoted 9 lines

ib0.8005 Link encap:InfiniBand HWaddr 80:00:04:07:FE:80:00:00:00:00:00:00:00:00:00:00:00:00:00:00
inet addr:192.168.10.2 Bcast:192.168.10.255 Mask:255.255.255.0 inet6 addr: fe80::202:c902:25:2841/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:65520 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:72 errors:0 dropped:18 overruns:0 carrier:0 collisions:0 txqueuelen:256
RX bytes:0 (0.0 b) TX bytes:14269 (13.9 KiB)

Quoted 6 lines

Looks like none of the subinterfaces are receiving and the primary interface only received 1 packet.

What does saquery -g show and then saquery -m<mlid> for each mlid shown in the MC groups dump.

Here's the saquery output:

[root@labdisk01 network-scripts]# saquery -g
MCMemberRecord group dump:

                MGID....................ff12:401b:8004::1
                Mlid....................0xC003
                Mtu.....................0x84
                pkey....................0x8004
                Rate....................0x83
                SL......................0x0
MCMemberRecord group dump:
                MGID....................ff12:401b:8004::fb
                Mlid....................0xC00C
                Mtu.....................0x84
                pkey....................0x8004
                Rate....................0x83
                SL......................0x0
MCMemberRecord group dump:
                MGID....................ff12:401b:8004::ffff:ffff
                Mlid....................0xC002
                Mtu.....................0x84
                pkey....................0x8004
                Rate....................0x83
                SL......................0x0
MCMemberRecord group dump:
                MGID....................ff12:401b:8005::1
                Mlid....................0xC005
                Mtu.....................0x84
                pkey....................0x8005
                Rate....................0x83
                SL......................0x0
MCMemberRecord group dump:
                MGID....................ff12:401b:8005::fb
                Mlid....................0xC00D
                Mtu.....................0x84
                pkey....................0x8005
                Rate....................0x83
                SL......................0x0
MCMemberRecord group dump:
                MGID....................ff12:401b:8005::ffff:ffff
                Mlid....................0xC004
                Mtu.....................0x84
                pkey....................0x8005
                Rate....................0x83
                SL......................0x0
MCMemberRecord group dump:
                MGID....................ff12:401b:ffff::1
                Mlid....................0xC001
                Mtu.....................0x84
                pkey....................0xFFFF
                Rate....................0x83
                SL......................0x0
MCMemberRecord group dump:
                MGID....................ff12:401b:ffff::fb
                Mlid....................0xC009
                Mtu.....................0x84
                pkey....................0xFFFF
                Rate....................0x83
                SL......................0x0
MCMemberRecord group dump:
                MGID....................ff12:401b:ffff::ffff:ffff
                Mlid....................0xC000
                Mtu.....................0x84
                pkey....................0xFFFF
                Rate....................0x83
                SL......................0x0
MCMemberRecord group dump:
                MGID....................ff12:601b:8004::1
                Mlid....................0xC013
                Mtu.....................0x84
                pkey....................0x8004
                Rate....................0x83
                SL......................0x0
MCMemberRecord group dump:
                MGID....................ff12:601b:8004::fb
                Mlid....................0xC00F
                Mtu.....................0x84
                pkey....................0x8004
                Rate....................0x83
                SL......................0x0
MCMemberRecord group dump:
                MGID....................ff12:601b:8004::1:ff25:2841
                Mlid....................0xC011
                Mtu.....................0x84
                pkey....................0x8004
                Rate....................0x83
                SL......................0x0
MCMemberRecord group dump:
                MGID....................ff12:601b:8005::1
                Mlid....................0xC014
                Mtu.....................0x84
                pkey....................0x8005
                Rate....................0x83
                SL......................0x0
MCMemberRecord group dump:
                MGID....................ff12:601b:8005::fb
                Mlid....................0xC010
                Mtu.....................0x84
                pkey....................0x8005
                Rate....................0x83
                SL......................0x0
MCMemberRecord group dump:
                MGID....................ff12:601b:8005::1:ff25:2841
                Mlid....................0xC012
                Mtu.....................0x84
                pkey....................0x8005
                Rate....................0x83
                SL......................0x0
MCMemberRecord group dump:
                MGID....................ff12:601b:ffff::1
                Mlid....................0xC008
                Mtu.....................0x84
                pkey....................0xFFFF
                Rate....................0x83
                SL......................0x0
MCMemberRecord group dump:
                MGID....................ff12:601b:ffff::fb
                Mlid....................0xC006
                Mtu.....................0x84
                pkey....................0xFFFF
                Rate....................0x83
                SL......................0x0
MCMemberRecord group dump:
                MGID....................ff12:601b:ffff::1:ff09:cb2b
                Mlid....................0xC007
                Mtu.....................0x84
                pkey....................0xFFFF
                Rate....................0x83
                SL......................0x0
MCMemberRecord group dump:
                MGID....................ff12:601b:ffff::1:ff24:3471
                Mlid....................0xC00B
                Mtu.....................0x84
                pkey....................0xFFFF
                Rate....................0x83
                SL......................0x0
MCMemberRecord group dump:
                MGID....................ff12:601b:ffff::1:ff24:3591
                Mlid....................0xC00A
                Mtu.....................0x84
                pkey....................0xFFFF
                Rate....................0x83
                SL......................0x0
MCMemberRecord group dump:
                MGID....................ff12:601b:ffff::1:ff25:2841
                Mlid....................0xC00E
                Mtu.....................0x84
                pkey....................0xFFFF
                Rate....................0x83
                SL......................0x0

And here's the mlid saquery information for each mlid:

[root@labdisk01 ~]# saquery -m 0xC003

                PortGid.................fe80::2:c902:25:2841 (labdisk01 
HCA-1)
[root@labdisk01 ~]# saquery -m 0xC00C
                PortGid.................fe80::2:c902:25:2841 (labdisk01 
HCA-1)
[root@labdisk01 ~]# saquery -m 0xC002
                PortGid.................fe80::2:c902:25:2841 (labdisk01 
HCA-1)
[root@labdisk01 ~]# saquery -m 0xC005
                PortGid.................fe80::2:c902:25:2841 (labdisk01 
HCA-1)
[root@labdisk01 ~]# saquery -m 0xC00D
                PortGid.................fe80::2:c902:25:2841 (labdisk01 
HCA-1)
[root@labdisk01 ~]# saquery -m 0xC004
                PortGid.................fe80::2:c902:25:2841 (labdisk01 
HCA-1)
[root@labdisk01 ~]# saquery -m 0xC001
                PortGid.................fe80::2:c903:9:cb2b (occupied 
HCA-1)
                PortGid.................fe80::2:c902:24:3471 (stagnate 
HCA-1)
                PortGid.................fe80::2:c902:24:3591 (innovate 
HCA-1)
[root@labdisk01 ~]# saquery -m 0xC009
                PortGid.................fe80::2:c903:9:cb2b (occupied 
HCA-1)
                PortGid.................fe80::2:c902:24:3471 (stagnate 
HCA-1)
                PortGid.................fe80::2:c902:24:3591 (innovate 
HCA-1)
[root@labdisk01 ~]# saquery -m 0xC000
                PortGid.................fe80::2:c903:9:cb2b (occupied 
HCA-1)
                PortGid.................fe80::2:c902:25:2841 (labdisk01 
HCA-1)
                PortGid.................fe80::2:c902:24:3471 (stagnate 
HCA-1)
                PortGid.................fe80::2:c902:24:3591 (innovate 
HCA-1)
[root@labdisk01 ~]# saquery -m 0xC013
                PortGid.................fe80::2:c902:25:2841 (labdisk01 
HCA-1)
[root@labdisk01 ~]# saquery -m 0xC00F
                PortGid.................fe80::2:c902:25:2841 (labdisk01 
HCA-1)
[root@labdisk01 ~]# saquery -m 0xC011
                PortGid.................fe80::2:c902:25:2841 (labdisk01 
HCA-1)
[root@labdisk01 ~]# saquery -m 0xC014
                PortGid.................fe80::2:c902:25:2841 (labdisk01 
HCA-1)
[root@labdisk01 ~]# saquery -m 0xC010
                PortGid.................fe80::2:c902:25:2841 (labdisk01 
HCA-1)
[root@labdisk01 ~]# saquery -m 0xC012
                PortGid.................fe80::2:c902:25:2841 (labdisk01 
HCA-1)
[root@labdisk01 ~]# saquery -m 0xC008
                PortGid.................fe80::2:c903:9:cb2b (occupied 
HCA-1)
                PortGid.................fe80::2:c902:25:2841 (labdisk01 
HCA-1)
                PortGid.................fe80::2:c902:24:3471 (stagnate 
HCA-1)
                PortGid.................fe80::2:c902:24:3591 (innovate 
HCA-1)
[root@labdisk01 ~]# saquery -m 0xC006
                PortGid.................fe80::2:c903:9:cb2b (occupied 
HCA-1)
                PortGid.................fe80::2:c902:25:2841 (labdisk01 
HCA-1)
                PortGid.................fe80::2:c902:24:3471 (stagnate 
HCA-1)
                PortGid.................fe80::2:c902:24:3591 (innovate 
HCA-1)
[root@labdisk01 ~]# saquery -m 0xC007
                PortGid.................fe80::2:c903:9:cb2b (occupied 
HCA-1)
[root@labdisk01 ~]# saquery -m 0xC00B
                PortGid.................fe80::2:c902:24:3471 (stagnate 
HCA-1)
[root@labdisk01 ~]# saquery -m 0xC00A
                PortGid.................fe80::2:c902:24:3591 (innovate 
HCA-1)
[root@labdisk01 ~]# saquery -m 0xC00E
                PortGid.................fe80::2:c902:25:2841 (labdisk01 

HCA-1)

What is it that we're we looking for in this output?

Tom

Quoted 124 lines

-- Hal

Quoted 122 lines

Also, here's some junk from /var/log/messages, seemed like it might be relevant, but maybe this is just IP stuff:

Jul 22 14:38:37 labdisk01 kernel: ADDRCONF(NETDEV_UP): ib0.8004: link is not
ready
Jul 22 14:38:37 labdisk01 kernel: ADDRCONF(NETDEV_CHANGE): ib0.8004: link
becomes ready
Jul 22 14:38:39 labdisk01 avahi-daemon[4056]: New relevant interface
ib0.8004.IPv6 for mDNS.
Jul 22 14:38:39 labdisk01 avahi-daemon[4056]: Joining mDNS multicast group
on interface ib0.8004.IPv6 with address fe80::202:c902:25:2841.
Jul 22 14:38:39 labdisk01 avahi-daemon[4056]: Registering new address record
for fe80::202:c902:25:2841 on ib0.8004.
Jul 22 14:38:41 labdisk01 avahi-daemon[4056]: New relevant interface
ib0.8004.IPv4 for mDNS.
Jul 22 14:38:41 labdisk01 avahi-daemon[4056]: Joining mDNS multicast group
on interface ib0.8004.IPv4 with address 10.0.0.2.
Jul 22 14:38:41 labdisk01 avahi-daemon[4056]: Registering new address record
for 10.0.0.2 on ib0.8004.
Jul 22 14:39:22 labdisk01 kernel: ADDRCONF(NETDEV_UP): ib0.8005: link is not
ready
Jul 22 14:39:22 labdisk01 kernel: ADDRCONF(NETDEV_CHANGE): ib0.8005: link
becomes ready
Jul 22 14:39:24 labdisk01 avahi-daemon[4056]: New relevant interface
ib0.8005.IPv6 for mDNS.
Jul 22 14:39:24 labdisk01 avahi-daemon[4056]: Joining mDNS multicast group
on interface ib0.8005.IPv6 with address fe80::202:c902:25:2841.
Jul 22 14:39:24 labdisk01 avahi-daemon[4056]: Registering new address record
for fe80::202:c902:25:2841 on ib0.8005.
Jul 22 14:39:26 labdisk01 avahi-daemon[4056]: New relevant interface
ib0.8005.IPv4 for mDNS.
Jul 22 14:39:26 labdisk01 avahi-daemon[4056]: Joining mDNS multicast group
on interface ib0.8005.IPv4 with address 192.168.10.2.
Jul 22 14:39:26 labdisk01 avahi-daemon[4056]: Registering new address record

for 192.168.10.2 on ib0.8005.

Quoted 73 lines
Quoted 4 lines

My plan was to create two child interfaces (0x8004 and 0x8005) and then ifconfig ib0.8004 and ifconfig ib0.8005 to assign them to separate subnets.

That should be fine.

-- Hal

Quoted 64 lines

Tom

Quoted 15 lines

The pkey you are seeing is the only one for ib0 interface.

Quoted 35 lines

If you want to have IPoIB interfaces on the other partitions too, you need to set this up by creating a child interface on those nodes; you had asked about that in a previous email
(http://www.mail-archive.com/[email protected]/msg04728.html).

-- Hal

Quoted 28 lines

I'm trying to run one ipoib subnet in each partition, and then eventually the goal is to have a different server that has 2 child interfaces, one on each subnet. But it doesn't appear that my partition configuration is even correct. Is there a syntax error, or something else I am missing?

Thanks,

Tom

--
Tom Ammon
Network Engineer
Office: 801.587.0976
Mobile: 801.674.9273

Center for High Performance Computing
University of Utah
http://www.chpc.utah.edu
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

--
Tom Ammon
Network Engineer
Office: 801.587.0976
Mobile: 801.674.9273

Center for High Performance Computing
University of Utah
http://www.chpc.utah.edu

--
Tom Ammon
Network Engineer
Office: 801.587.0976
Mobile: 801.674.9273

Center for High Performance Computing
University of Utah
http://www.chpc.utah.edu

Signature · 12 lines
Tom Ammon
Network Engineer
Office: 801.587.0976
Mobile: 801.674.9273

Center for High Performance Computing
University of Utah
http://www.chpc.utah.edu
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): [email protected]

#17 lore raw

Tom,

Quoted 408 lines · Tom Ammon

Hal,

Quoted 171 lines · Hal Rosenstock

Tom,

Quoted 157 lines · Tom Ammon

Hal,

Thanks for looking at all of this with me. ifconfig output is below.

Quoted 114 lines · Hal Rosenstock

Tom,

Quoted 77 lines · Tom Ammon

Hal,

Quoted 53 lines · Hal Rosenstock

Hi Tom,

Quoted 10 lines · Tom Ammon

I'm trying to set up partitions in a little test environment, and I'm having trouble.

I have opensm running on a machine attached to the fabric, and sminfo on
the other machines confirm that this is indeed the master SM. Here's my
/etc/opensm/partitions.conf:

Quoted 5 lines

Default=0xffff , ipoib : ALL, SELF=full ; PartitionBlue=0x8004, ipoib : 0x0002c9030009cb3f=full, 0x0002c90200252841=full, 0x0002c90200243471=full ; PartitionRed=0x8005, ipoib : 0x0002c90200252841=full, 0x0002c90200243591=full, 0x0002c9030009cb2b=full ;

You don't really need the 0x8000 bit on in the pkeys but I don't think it does any harm.

Quoted 30 lines

But when I go to the machine with port GUID 0x0002c90200243471, it doesn't appear that it's getting the pkey I wanted:

[root@stagnate ~]# ibstat
CA 'mthca0'
         CA type: MT23108
         Number of ports: 2
         Firmware version: 3.3.5
         Hardware version: a1
         Node GUID: 0x0002c90200243470
         System image GUID: 0x0002c90200243473
         Port 1:
                 State: Active
                 Physical state: LinkUp
                 Rate: 10
                 Base lid: 10
                 LMC: 0
                 SM lid: 4
                 Capability mask: 0x02510a68
                 Port GUID: 0x0002c90200243471
         Port 2:
                 State: Down
                 Physical state: Polling
                 Rate: 2
                 Base lid: 0
                 LMC: 0
                 SM lid: 0
                 Capability mask: 0x02510a68
                 Port GUID: 0x0002c90200243472

Quoted 8 lines
Quoted 2 lines

[root@stagnate ~]# cat /sys/class/net/ib0/pkey
0xffff

What does:

smpquery pkeys 10 1

say ? Do you see the other pkey(s) on that port ?

[root@stagnate ~]# smpquery pkeys 10 1
  0: 0x7fff 0x8004 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 8: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 16: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 24: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 32: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 40: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 48: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 56: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 64 pkeys capacity for this port

Quoted 3 lines

So I see that both 7fff and 8004 are being assigned to this port. Is that
okay?

Yes.

Quoted 2 lines

 Is there any problem with the machine also being in the default partition?

No.

Quoted 4 lines

As I look around at all of the machines with smpquery, it appears that they
are all being assigned 7fff and the pkey that I assigned in partitions.conf.

Good.

Quoted 15 lines

But the machine that I want to run 2 child interfaces on is having issues.
It's at LID 7 and here's what smpquery says:

[root@stagnate ~]# smpquery pkeys 7 1
  0: 0x7fff 0x8004 0x8005 0x0000 0x0000 0x0000 0x0000 0x0000 8: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 16: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 24: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 32: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 40: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 48: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 56: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 64 pkeys capacity for this port

Quoted 8 lines
Quoted 4 lines

So that's fine, but when I try to create a child interface I get this:

[root@labdisk01 ~]# echo 0x8004>    /sys/class/net/ib0/create_child -bash: echo: write error: Name not unique on network

I don't know what cause that error. Maybe someone else can help here.

Are you sure the ib0 interface is OK ? What does ifconfig ib0 say ?

Here's ifconfig ib0:

ib0       Link encap:InfiniBand  HWaddr 80:00:04:04:FE:80:00:00:00:00:00:00:00:00:00:00:00:00:00:00 inet6 addr: fe80::202:c902:25:2841/64 Scope:Link UP BROADCAST RUNNING MULTICAST  MTU:65520  Metric:1 RX packets:1 errors:0 dropped:0 overruns:0 frame:0 TX packets:17 errors:0 dropped:7 overruns:0 carrier:0 collisions:0 txqueuelen:256
         RX bytes:56 (56.0 b)  TX bytes:3529 (3.4 KiB)

Then I brought up the "sub"interfaces with "ifup ib0.8004" "ifup ib0.8005" .
Still get the "Name not unique on network" message if I switch the order and
do ifup followed by echo 0x8004....etc.

ib0.8004  Link encap:InfiniBand  HWaddr 80:00:04:06:FE:80:00:00:00:00:00:00:00:00:00:00:00:00:00:00 inet addr:10.0.0.2  Bcast:10.0.0.255  Mask:255.255.255.0 inet6 addr: fe80::202:c902:25:2841/64 Scope:Link UP BROADCAST RUNNING MULTICAST  MTU:65520  Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:78 errors:0 dropped:17 overruns:0 carrier:0 collisions:0 txqueuelen:256
         RX bytes:0 (0.0 b)  TX bytes:14620 (14.2 KiB)

Quoted 9 lines

ib0.8005  Link encap:InfiniBand  HWaddr 80:00:04:07:FE:80:00:00:00:00:00:00:00:00:00:00:00:00:00:00 inet addr:192.168.10.2  Bcast:192.168.10.255  Mask:255.255.255.0 inet6 addr: fe80::202:c902:25:2841/64 Scope:Link
         UP BROADCAST RUNNING MULTICAST  MTU:65520  Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:72 errors:0 dropped:18 overruns:0 carrier:0 collisions:0 txqueuelen:256
         RX bytes:0 (0.0 b)  TX bytes:14269 (13.9 KiB)

Quoted 6 lines

Looks like none of the subinterfaces are receiving and the primary interface only received 1 packet.

What does saquery -g show and then saquery -m<mlid>  for each mlid shown in the MC groups dump.

Here's the saquery output:

[root@labdisk01 network-scripts]# saquery -g MCMemberRecord group dump:
               MGID....................ff12:401b:8004::1 Mlid....................0xC003 Mtu.....................0x84 pkey....................0x8004 Rate....................0x83 SL......................0x0 MCMemberRecord group dump:
               MGID....................ff12:401b:8004::fb Mlid....................0xC00C Mtu.....................0x84 pkey....................0x8004 Rate....................0x83 SL......................0x0 MCMemberRecord group dump:
               MGID....................ff12:401b:8004::ffff:ffff Mlid....................0xC002 Mtu.....................0x84 pkey....................0x8004 Rate....................0x83 SL......................0x0 MCMemberRecord group dump:
               MGID....................ff12:401b:8005::1 Mlid....................0xC005 Mtu.....................0x84 pkey....................0x8005 Rate....................0x83 SL......................0x0 MCMemberRecord group dump:
               MGID....................ff12:401b:8005::fb Mlid....................0xC00D Mtu.....................0x84 pkey....................0x8005 Rate....................0x83 SL......................0x0 MCMemberRecord group dump:
               MGID....................ff12:401b:8005::ffff:ffff Mlid....................0xC004 Mtu.....................0x84 pkey....................0x8005 Rate....................0x83 SL......................0x0 MCMemberRecord group dump:
               MGID....................ff12:401b:ffff::1 Mlid....................0xC001 Mtu.....................0x84 pkey....................0xFFFF Rate....................0x83 SL......................0x0 MCMemberRecord group dump:
               MGID....................ff12:401b:ffff::fb Mlid....................0xC009 Mtu.....................0x84 pkey....................0xFFFF Rate....................0x83 SL......................0x0 MCMemberRecord group dump:
               MGID....................ff12:401b:ffff::ffff:ffff Mlid....................0xC000 Mtu.....................0x84 pkey....................0xFFFF Rate....................0x83 SL......................0x0 MCMemberRecord group dump:
               MGID....................ff12:601b:8004::1 Mlid....................0xC013 Mtu.....................0x84 pkey....................0x8004 Rate....................0x83 SL......................0x0 MCMemberRecord group dump:
               MGID....................ff12:601b:8004::fb Mlid....................0xC00F Mtu.....................0x84 pkey....................0x8004 Rate....................0x83 SL......................0x0 MCMemberRecord group dump:
               MGID....................ff12:601b:8004::1:ff25:2841 Mlid....................0xC011 Mtu.....................0x84 pkey....................0x8004 Rate....................0x83 SL......................0x0 MCMemberRecord group dump:
               MGID....................ff12:601b:8005::1 Mlid....................0xC014 Mtu.....................0x84 pkey....................0x8005 Rate....................0x83 SL......................0x0 MCMemberRecord group dump:
               MGID....................ff12:601b:8005::fb Mlid....................0xC010 Mtu.....................0x84 pkey....................0x8005 Rate....................0x83 SL......................0x0 MCMemberRecord group dump:
               MGID....................ff12:601b:8005::1:ff25:2841 Mlid....................0xC012 Mtu.....................0x84 pkey....................0x8005 Rate....................0x83 SL......................0x0 MCMemberRecord group dump:
               MGID....................ff12:601b:ffff::1 Mlid....................0xC008 Mtu.....................0x84 pkey....................0xFFFF Rate....................0x83 SL......................0x0 MCMemberRecord group dump:
               MGID....................ff12:601b:ffff::fb Mlid....................0xC006 Mtu.....................0x84 pkey....................0xFFFF Rate....................0x83 SL......................0x0 MCMemberRecord group dump:
               MGID....................ff12:601b:ffff::1:ff09:cb2b Mlid....................0xC007 Mtu.....................0x84 pkey....................0xFFFF Rate....................0x83 SL......................0x0 MCMemberRecord group dump:
               MGID....................ff12:601b:ffff::1:ff24:3471 Mlid....................0xC00B Mtu.....................0x84 pkey....................0xFFFF Rate....................0x83 SL......................0x0 MCMemberRecord group dump:
               MGID....................ff12:601b:ffff::1:ff24:3591 Mlid....................0xC00A Mtu.....................0x84 pkey....................0xFFFF Rate....................0x83 SL......................0x0 MCMemberRecord group dump:
               MGID....................ff12:601b:ffff::1:ff25:2841 Mlid....................0xC00E Mtu.....................0x84 pkey....................0xFFFF Rate....................0x83 SL......................0x0

And here's the mlid saquery information for each mlid:

[root@labdisk01 ~]# saquery -m 0xC003 PortGid.................fe80::2:c902:25:2841 (labdisk01 HCA-1)
[root@labdisk01 ~]# saquery -m 0xC00C PortGid.................fe80::2:c902:25:2841 (labdisk01 HCA-1)
[root@labdisk01 ~]# saquery -m 0xC002 PortGid.................fe80::2:c902:25:2841 (labdisk01 HCA-1)
[root@labdisk01 ~]# saquery -m 0xC005 PortGid.................fe80::2:c902:25:2841 (labdisk01 HCA-1)
[root@labdisk01 ~]# saquery -m 0xC00D PortGid.................fe80::2:c902:25:2841 (labdisk01 HCA-1)
[root@labdisk01 ~]# saquery -m 0xC004 PortGid.................fe80::2:c902:25:2841 (labdisk01 HCA-1)
[root@labdisk01 ~]# saquery -m 0xC001 PortGid.................fe80::2:c903:9:cb2b (occupied HCA-1) PortGid.................fe80::2:c902:24:3471 (stagnate HCA-1) PortGid.................fe80::2:c902:24:3591 (innovate HCA-1) [root@labdisk01 ~]# saquery -m 0xC009 PortGid.................fe80::2:c903:9:cb2b (occupied HCA-1) PortGid.................fe80::2:c902:24:3471 (stagnate HCA-1) PortGid.................fe80::2:c902:24:3591 (innovate HCA-1) [root@labdisk01 ~]# saquery -m 0xC000 PortGid.................fe80::2:c903:9:cb2b (occupied HCA-1) PortGid.................fe80::2:c902:25:2841 (labdisk01 HCA-1)
               PortGid.................fe80::2:c902:24:3471 (stagnate HCA-1) PortGid.................fe80::2:c902:24:3591 (innovate HCA-1) [root@labdisk01 ~]# saquery -m 0xC013 PortGid.................fe80::2:c902:25:2841 (labdisk01 HCA-1)
[root@labdisk01 ~]# saquery -m 0xC00F PortGid.................fe80::2:c902:25:2841 (labdisk01 HCA-1)
[root@labdisk01 ~]# saquery -m 0xC011 PortGid.................fe80::2:c902:25:2841 (labdisk01 HCA-1)
[root@labdisk01 ~]# saquery -m 0xC014 PortGid.................fe80::2:c902:25:2841 (labdisk01 HCA-1)
[root@labdisk01 ~]# saquery -m 0xC010 PortGid.................fe80::2:c902:25:2841 (labdisk01 HCA-1)
[root@labdisk01 ~]# saquery -m 0xC012 PortGid.................fe80::2:c902:25:2841 (labdisk01 HCA-1)
[root@labdisk01 ~]# saquery -m 0xC008 PortGid.................fe80::2:c903:9:cb2b (occupied HCA-1) PortGid.................fe80::2:c902:25:2841 (labdisk01 HCA-1)
               PortGid.................fe80::2:c902:24:3471 (stagnate HCA-1) PortGid.................fe80::2:c902:24:3591 (innovate HCA-1) [root@labdisk01 ~]# saquery -m 0xC006 PortGid.................fe80::2:c903:9:cb2b (occupied HCA-1) PortGid.................fe80::2:c902:25:2841 (labdisk01 HCA-1)
               PortGid.................fe80::2:c902:24:3471 (stagnate HCA-1) PortGid.................fe80::2:c902:24:3591 (innovate HCA-1) [root@labdisk01 ~]# saquery -m 0xC007 PortGid.................fe80::2:c903:9:cb2b (occupied HCA-1) [root@labdisk01 ~]# saquery -m 0xC00B PortGid.................fe80::2:c902:24:3471 (stagnate HCA-1) [root@labdisk01 ~]# saquery -m 0xC00A PortGid.................fe80::2:c902:24:3591 (innovate HCA-1) [root@labdisk01 ~]# saquery -m 0xC00E PortGid.................fe80::2:c902:25:2841 (labdisk01 HCA-1)

Quoted 1 line

What is it that we're we looking for in this output?

The main thing was seeing whether the IPv4 broadcast group was formed properly, what the members were, what the rate and MTU were, and whether the other groups were properly inheriting those parameters and this all looks fine to me.

So unless there's some other interesting messages in the OpenSM log, I suggest thyat you retitle an email to ask about the ipoib create child "Name not unique on network" error and lack of receive on the subinterface. Looks to me like it may be that ipoib_vlan_add is returning -ENOTUNIQ because it found a duplicate pkey on a subinterface but then I don't understand where the subinterface came from originally. I also don't understand why the subinterface isn't receiving. Maybe try delete_child followed by create_child to see what happens.

-- Hal

Quoted 147 lines

Tom

Quoted 136 lines

-- Hal

Quoted 134 lines

Also, here's some junk from /var/log/messages, seemed like it might be relevant, but maybe this is just IP stuff:

Jul 22 14:38:37 labdisk01 kernel: ADDRCONF(NETDEV_UP): ib0.8004: link is
not
ready
Jul 22 14:38:37 labdisk01 kernel: ADDRCONF(NETDEV_CHANGE): ib0.8004: link
becomes ready
Jul 22 14:38:39 labdisk01 avahi-daemon[4056]: New relevant interface
ib0.8004.IPv6 for mDNS.
Jul 22 14:38:39 labdisk01 avahi-daemon[4056]: Joining mDNS multicast
group
on interface ib0.8004.IPv6 with address fe80::202:c902:25:2841.
Jul 22 14:38:39 labdisk01 avahi-daemon[4056]: Registering new address
record
for fe80::202:c902:25:2841 on ib0.8004.
Jul 22 14:38:41 labdisk01 avahi-daemon[4056]: New relevant interface
ib0.8004.IPv4 for mDNS.
Jul 22 14:38:41 labdisk01 avahi-daemon[4056]: Joining mDNS multicast
group
on interface ib0.8004.IPv4 with address 10.0.0.2.
Jul 22 14:38:41 labdisk01 avahi-daemon[4056]: Registering new address
record
for 10.0.0.2 on ib0.8004.
Jul 22 14:39:22 labdisk01 kernel: ADDRCONF(NETDEV_UP): ib0.8005: link is
not
ready
Jul 22 14:39:22 labdisk01 kernel: ADDRCONF(NETDEV_CHANGE): ib0.8005: link
becomes ready
Jul 22 14:39:24 labdisk01 avahi-daemon[4056]: New relevant interface
ib0.8005.IPv6 for mDNS.
Jul 22 14:39:24 labdisk01 avahi-daemon[4056]: Joining mDNS multicast
group
on interface ib0.8005.IPv6 with address fe80::202:c902:25:2841.
Jul 22 14:39:24 labdisk01 avahi-daemon[4056]: Registering new address
record
for fe80::202:c902:25:2841 on ib0.8005.
Jul 22 14:39:26 labdisk01 avahi-daemon[4056]: New relevant interface
ib0.8005.IPv4 for mDNS.
Jul 22 14:39:26 labdisk01 avahi-daemon[4056]: Joining mDNS multicast
group
on interface ib0.8005.IPv4 with address 192.168.10.2.
Jul 22 14:39:26 labdisk01 avahi-daemon[4056]: Registering new address

record
for 192.168.10.2 on ib0.8005.

Quoted 75 lines
Quoted 4 lines

My plan was to create two child interfaces (0x8004 and 0x8005) and then ifconfig ib0.8004 and ifconfig ib0.8005 to assign them to separate subnets.

That should be fine.

-- Hal

Quoted 66 lines

Tom

Quoted 15 lines

The pkey you are seeing is the only one for ib0 interface.

Quoted 37 lines

If you want to have IPoIB interfaces on the other partitions too, you need to set this up by creating a child interface on those nodes; you had asked about that in a previous email

(http://www.mail-archive.com/[email protected]/msg04728.html).

-- Hal

Quoted 29 lines

I'm trying to run one ipoib subnet in each partition, and then eventually the goal is to have a different server that has 2 child interfaces, one on each subnet. But it doesn't appear that my partition
configuration is even correct. Is there a syntax error, or something else I am missing?

Thanks,

Tom

--
Tom Ammon
Network Engineer
Office: 801.587.0976
Mobile: 801.674.9273

Center for High Performance Computing
University of Utah
http://www.chpc.utah.edu
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected] More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
Tom Ammon
Network Engineer
Office: 801.587.0976
Mobile: 801.674.9273

Center for High Performance Computing
University of Utah
http://www.chpc.utah.edu

--
Tom Ammon
Network Engineer
Office: 801.587.0976
Mobile: 801.674.9273

Center for High Performance Computing
University of Utah
http://www.chpc.utah.edu

--
Tom Ammon
Network Engineer
Office: 801.587.0976
Mobile: 801.674.9273

Quoted 8 lines

Center for High Performance Computing
University of Utah
http://www.chpc.utah.edu
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html