[openib-general] when executing sminfo with a port in down state, there is a retur n value 0
Dotan Barak
dotanb at mellanox.co.il
Mon Aug 22 23:33:37 PDT 2005
Hi.
I'm working with gen2 svn rev. 3155 with 2 Mellanox HCAs (23108) (1 on each
host; they are connected b2b: port 1 to port 1).
I executed opensm on host 1, port 1.
When i executed sminfo on host 2 port 1 everything was as expected (return
value = 0).
I killed the opensm
When i executed sminfo on host 2 port 1 everything was as expected (return
value = 255).
When i executed sminfo on host 2 port 2 everything i got 0 (i expected to
get return value = 255).
Port 2 in host 2 was down, so i don't know why i got the return value 0.
here is the output:
host2:~ # /usr/local/bin/sminfo -C mthca0 -P 2
sminfo: sm lid 0x0 sm guid 0x8200000000, activity count 0 priority 0 state
SMINFO_NOTACT 0
host2:~ # echo $?
0
host2:~ # /usr/local/bin/sminfo -C mthca0 -P 2
sminfo: sm lid 0x0 sm guid 0x0, activity count 0 priority 0 state
SMINFO_STANDBY 2
host2:~ # echo $?
0
host2:~ # vstat
hca_id: mthca0
phys_port_cnt: 2
port: 1
state: PORT_ACTIVE (4)
max_mtu: 0 (0)
active_mtu: 0 (0)
sm_lid: 1
port_lid: 2
port_lmc: 0x00
port: 2
state: PORT_DOWN (1)
max_mtu: 0 (0)
active_mtu: 0 (0)
sm_lid: 0
port_lid: 0
port_lmc: 0x00
can you please help me with this issue?
Dotan Barak
Software Verification Engineer
Mellanox Technologies LTD
Tel: +972-4-9097200 Ext: 231 Fax: +972-4-9593245
P.O. Box 86 Yokneam 20692 ISRAEL.
Home: +972-77-8841095 Cell: 052-4222383
[ May the fork be with you ]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20050823/ed591b24/attachment.html>
More information about the general
mailing list