<html><body>
<p>Hi,  Yevgeny:<br>
<br>
Thanks for your answer.<br>
<br>
>This part is OK - opensm enters the stand-by state and<br>
>waits in this state indefinitely. This happened because<br>
>opensm detects other opensm in the subnet.<br>
>If you kill that other opensm, the stand-by opensm will<br>
>enter MASTER state after a short period.<br>
>You can see who's the master opensm in your subnet by<br>
>running 'sminfo' tool.<br>
<br>
Here is the output of sminfo<br>
[root@gaia-07 nodedef]# sminfo<br>
sminfo: sm lid 2 sm guid 0x5ad0000094038, activity count 4999946 priority 10 state 3 SMINFO_MASTER<br>
[root@gaia-07 nodedef]# ibnetdiscover |grep 0x5ad0000094038<br>
switchguid=0x5ad0000094038(5ad0000094038)<br>
[root@gaia-07 nodedef]# ibnetdiscover |grep "lid 2"<br>
Switch  24 "S-0005ad0000094038"         # "Topspin Switch" enhanced port 0 lid 2 lmc 0<br>
[1](2c903000134f5)      "S-0005ad0000094038"[13]                # lid 7 lmc 0 "Topspin Switch" lid 2 4xSDR<br>
[1](8f1040398b9f1)      "S-0005ad0000094038"[11]                # lid 8 lmc 0 "Topspin Switch" lid 2 4xSDR<br>
[1](8f104039955a5)      "S-0005ad0000094038"[10]                # lid 6 lmc 0 "Topspin Switch" lid 2 4xSDR<br>
[1](8f10403995879)      "S-0005ad0000094038"[9]         # lid 10 lmc 0 "Topspin Switch" lid 2 4xSDR<br>
[1](8f1040398ba19)      "S-0005ad0000094038"[7]         # lid 9 lmc 0 "Topspin Switch" lid 2 4xSDR<br>
[1](8f10403995861)      "S-0005ad0000094038"[4]         # lid 5 lmc 0 "Topspin Switch" lid 2 4xSDR<br>
[1](8f10403995875)      "S-0005ad0000094038"[3]         # lid 4 lmc 0 "Topspin Switch" lid 2 4xSDR<br>
[1](2c90300013371)      "S-0005ad0000094038"[14]                # lid 3 lmc 0 "Topspin Switch" lid 2 4xSDR<br>
<br>
It seems the Cisco switch has subnet manager running.<br>
<br>
<br>
<br>
>By default, osmtest runs all validation tests, which is similar<br>
>to 'osmtest -f a'. This flow expects to get an input inventory file.<br>
>You should first run 'osmtest -f c' to create such file, and then<br>
>'osmtest' or 'osmtest -f a' to run the tests.<br>
>See 'man osmtest' for more details.<br>
<br>
<br>
"osmtest -f c" failed to create the inventory file.<br>
[root@gaia-07 ~]# osmtest -f c<br>
<br>
Command Line Arguments<br>
Done with args<br>
        Flow = Create Inventory<br>
Aug 07 04:57:04 561325 [516EF3B0] 0x7f -> Setting log level to: 0x03<br>
Aug 07 04:57:04 579744 [516EF3B0] 0x02 -> osm_vendor_bind: Binding to port 0x2c90300013371<br>
Aug 07 04:57:04 602919 [516EF3B0] 0x02 -> osmtest_validate_sa_class_port_info:<br>
-----------------------------<br>
SA Class Port Info:<br>
 base_ver:1<br>
 class_ver:2<br>
 cap_mask:0x2601<br>
 cap_mask2:0x0<br>
 resp_time_val:0x14<br>
-----------------------------<br>
Aug 07 04:57:08 604366 [4236E940] 0x01 -> umad_receiver: ERR 5409: send completed with error (method=0x12 attr=0x35 trans_id=0x2a00000004) -- dropping<br>
Aug 07 04:57:08 604396 [4236E940] 0x01 -> umad_receiver: ERR 5410: class 0x3 LID 0x2<br>
Aug 07 04:57:08 604420 [4236E940] 0x01 -> osmtest_query_res_cb: ERR 0003: Error on query (IB_TIMEOUT)<br>
Aug 07 04:57:08 604454 [516EF3B0] 0x01 -> osmtest_get_all_recs: ERR 0004: ib_query failed (IB_TIMEOUT)<br>
Aug 07 04:57:08 604476 [516EF3B0] 0x01 -> osmtest_write_all_path_recs: ERR 0025: osmtest_get_all_recs failed (IB_TIMEOUT)<br>
Aug 07 04:57:08 604500 [516EF3B0] 0x01 -> osmtest_run: ERR 0139: Inventory file create failed (IB_TIMEOUT)<br>
OSMTEST: TEST "Create Inventory" FAIL<br>
<br>
Here attatch the output of "osmtest -f c -V".<br>
<i>(See attached file: output)</i><br>
<br>
-- Yevgeny<br>
<br>
<br>
Wen Hao Wang<br>
Email: wangwhao@cn.ibm.com<br>
</body></html>