Skip to content

opensm partition.conf issues

Bernd Schubert linux-rdma 1 version In review

Get series with b4
b4 am 20131017111041.177713.61634.stgit@fsdevel2

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2reduce log level for missing partition configuration file.opensm/osm_prtn.c+1 -11 reply
2/2Try default parition config if parsing the partitions.conf failedopensm/osm_prtn.c opensm/osm_prtn_config.c+20 -21 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] opensm partition.conf issues

Without an partition.conf file opensm filled the log file with error messages on every sweep.

Sep 27 18:21:47 917409 [6A60D700] 0x01 -> osm_prtn_make_partitions: Partition configuration /etc/opensm/partitions.conf is not accessible (No such file or directory)
Sep 27 18:21:47 918994 [6A60D700] 0x02 -> SUBNET UP
Sep 27 18:22:07 917436 [6A60D700] 0x01 -> osm_prtn_make_partitions: Partition configuration /etc/opensm/partitions.conf is not accessible (No such file or directory)
Sep 27 18:22:07 918979 [6A60D700] 0x02 -> SUBNET UP

With an empty partition file opensm didn't bring up the fabric properly, resulting in endless kernel messages
ib0: multicast join failed for ff12:401b:ffff:0000:0000:0000:ffff:ffff, status -22

opensm.log file had lots of these message

Oct 17 09:31:38 461345 [67EC4700] 0x01 -> mcmr_rcv_join_mgrp: ERR 1B11: method = SubnAdmSet, scope_state = 0x1, component mask = 0x0000000000010083, expected comp mask = 0x000000
00000130c7, MGID: ff12:401b:ffff::ffff:ffff from port 0x0002c9030036dd21 (MT25408 ConnectX Mellanox Technologies)
Oct 17 09:31:38 505122 [66EC2700] 0x01 -> mcmr_rcv_join_mgrp: ERR 1B11: method = SubnAdmSet, scope_state = 0x1, component mask = 0x0000000000010083, expected comp mask = 0x000000
00000130c7, MGID: ff12:401b:ffff::ffff:ffff from port 0x0002c90300f4d6d1 (MT25408 ConnectX Mellanox Technologies)
Oct 17 09:31:46 294201 [5D6AF700] 0x02 -> SUBNET UP

So here are two patches to reduce the log level and to try the default partition configuration if there is not a single valid config line.

--
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