All of lore.kernel.org
 help / color / mirror / Atom feed
From: Barry Mavin <Barry.Mavin@recital.com>
To: OFED mailing list <general@lists.openfabrics.org>
Cc: OFED mailing list <linux-rdma@vger.kernel.org>
Subject: Re: [ofa-general] Re: [PATCH v2] infiniband-diags/scripts: Add 'ibcheckspeed' and 'ibcheckportspeed' to scripts
Date: Fri, 11 Sep 2009 11:08:15 +0530	[thread overview]
Message-ID: <C6CFE01F.1561C%Barry.Mavin@recital.com> (raw)
In-Reply-To: <829ded920909102102o49f037cbhc53a849f1fcfdaa4@mail.gmail.com>

I use mellanox connectx cards and switches in a cluster.

When I try and use ibtracert I get this output.

# ibtracert 10.10.10.1 10.10.10.3
ibwarn: [6998] _do_madrpc: recv failed: Connection timed out
ibwarn: [6998] mad_rpc: _do_madrpc failed; dport (Lid 10)
ibwarn: [6998] find_route: can't reach to/from ports
ibtracert: iberror: failed: can't find a route to the src port

Does anyone have any idea why this would be happening?

---
Regards
Barry Mavin
Recital Corporation



> From: Keshetti Mahesh <keshetti.mahesh@gmail.com>
> Date: Fri, 11 Sep 2009 09:32:39 +0530
> To: Ira Weiny <weiny2@llnl.gov>
> Cc: OFED mailing list <linux-rdma@vger.kernel.org>, OFED mailing list
> <general@lists.openfabrics.org>
> Subject: Re: [ofa-general] Re: [PATCH v2] infiniband-diags/scripts: Add
> 'ibcheckspeed' and 'ibcheckportspeed' to scripts
> 
> My badness. I have not used 'iblinkinfo' before.
> So, I guess there is no need for the above script. Apart from that, I feel
> there should be a program/script which will first scan the fabric to find the
> maximum common supported width/speed and then report the warning messages
> of the links/ports which are configured with active width/speed less
> than the found
> value. Is there any tool already exists which does the same ?
> 
> -
> Keshetti Mahesh
> 
> On Thu, Sep 10, 2009 at 9:32 PM, Ira Weiny <weiny2@llnl.gov> wrote:
>> Also, iblinkinfo will report links which it finds capable of either faster or
>> wider operation.  iblinkinfo checks both ends of the link as Hal mentions.
>>  It reports this with output like.
>> 
>> Switch 0x0005ad0000092106 Cisco Switch SFS7000D:
>> ...
>>           7    8[  ] ==( 4X 2.5 Gbps Active/  LinkUp)==>       8   12[  ]
>> "MT47396 Infiniscale-III Mellanox Technologies" ( Could be 5.0 Gbps)
>> ...
>> 
>> Also the portstatus console command in OpenSM will report links which are
>> running at "reduced speed or width".  Although this does not check the remote
>> port.
>> 
>> OpenSM $ help portstatus
>> portstatus [ca|switch|router]
>> summarize port status
>>   [ca|switch|router] -- limit the results to the node type specified
>> OpenSM $ portstatus
>> "ALL" port status:
>>   115 port(s) scanned on 9 nodes in 26 us
>>   85 down
>>   30 active
>>   32 at 4X
>>   22 at 2.5 Gbps
>>   8 at 5.0 Gbps
>>   2 at 10.0 Gbps
>> 
>> Possible issues:
>>   2 disabled
>>      0x0008f10400411b18 5 (ISR9024D Voltaire)
>>      0x0005ad0000092106 13 (Cisco Switch SFS7000D)
>>   6 with reduced speed
>>      0x0008f10500200220 33 (Voltaire 4036 - 36 QDR ports switch)
>>      0x0008f10500200220 19 (Voltaire 4036 - 36 QDR ports switch)
>>      0x0005ad0000092106 21 (Cisco Switch SFS7000D)
>>      0x0005ad0000092106 20 (Cisco Switch SFS7000D)
>>      0x0005ad0000092106 9 (Cisco Switch SFS7000D)
>>      0x0005ad0000092106 8 (Cisco Switch SFS7000D)
>> 
>> 
>> Ira
>> 
>> On Thu, 10 Sep 2009 09:23:35 -0400
>> Hal Rosenstock <hal.rosenstock@gmail.com> wrote:
>> 
>>> On Thu, Sep 10, 2009 at 9:02 AM, Keshetti Mahesh
>>> <keshetti.mahesh@gmail.com>wrote:
>>> 
>>>> Added 'ibcheckspeed' and 'ibcheckportspeed': Similar to
>>>> 'ibcheckwidth/ibcheckportwidth' in functionality and implementation.
>>>> Reports error/warning messages if the LinkSpeedActive is configured as
>>>> 2.5 Gbps when the LinkSpeedSupported is more than 2.5 Gbps.
>>>> 
>>> 
>>> ibportstate checks for more than this in terms of speed (and width)
>>> anomalies.
>>> 
>>> Would it be better for these scripts to use that tool now ? Alternatively,
>>> the additional speed/width anomaly checks could be implemented in these
>>> scripts but it does involve checking the peer port so there's a little more
>>> to it.
>>> 
>>> -- Hal
>>> 
>>> 
>>>> 
>>>> Signed-off-by: Keshetti Mahesh < keshetti.mahesh@gmail.com>
>>>> ---
>>>>  infiniband-diags/scripts/ibcheckportspeed.in |  146
>>>> ++++++++++++++++++++++++++
>>>>  infiniband-diags/scripts/ibcheckportwidth.in |    2 +-
>>>>  infiniband-diags/scripts/ibcheckspeed.in     |  135
>>>> ++++++++++++++++++++++++
>>>>  3 files changed, 282 insertions(+), 1 deletions(-)
>>>>  create mode 100644 infiniband-diags/scripts/ibcheckportspeed.in
>>>>  create mode 100644 infiniband-diags/scripts/ibcheckspeed.in
>>>> 
>>> <snip...>
>>> 
>> 
>> 
>> --
>> Ira Weiny
>> Math Programmer/Computer Scientist
>> Lawrence Livermore National Lab
>> 925-423-8008
>> weiny2@llnl.gov
>> 
> _______________________________________________
> general mailing list
> general@lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
> 
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

  reply	other threads:[~2009-09-11  5:38 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-10 13:02 [PATCH v2] infiniband-diags/scripts: Add 'ibcheckspeed' and 'ibcheckportspeed' to scripts Keshetti Mahesh
2009-09-10 13:23 ` [ofa-general] " Hal Rosenstock
2009-09-10 16:02   ` Ira Weiny
2009-09-11  4:02     ` Keshetti Mahesh
2009-09-11  5:38       ` Barry Mavin [this message]
     [not found]       ` <829ded920909102102o49f037cbhc53a849f1fcfdaa4-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-09-11  5:46         ` Keshetti Mahesh
     [not found]           ` <829ded920909102246o18b25caagf84bfe352f699a82-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-09-11  6:13             ` Barry Mavin
2009-09-11 13:20               ` Hal Rosenstock
2009-09-11 13:34                 ` Barry Mavin
2009-09-14 18:02       ` Ira Weiny
2009-09-14 18:51         ` Hal Rosenstock
     [not found]           ` <f0e08f230909141151g6e0df176tcb9bca2c040c06c7-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-09-15 12:28             ` Eli Dorfman (Voltaire)
2009-09-15 12:41               ` Keshetti Mahesh
     [not found]                 ` <829ded920909150541l5505ac0etf18d1937cb54eff1-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-09-15 13:04                   ` Eli Dorfman (Voltaire)
     [not found]                     ` <4AAF90D8.6070403-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-09-15 16:41                       ` Ira Weiny
     [not found]     ` <20090910090213.6888b7d5.weiny2-i2BcT+NCU+M@public.gmane.org>
2009-09-14  6:20       ` Keshetti Mahesh
2009-09-14 13:19         ` Hal Rosenstock
     [not found]           ` <f0e08f230909140619o342758cdq79e00cc04071a33c-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-09-14 17:48             ` Ira Weiny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C6CFE01F.1561C%Barry.Mavin@recital.com \
    --to=barry.mavin@recital.com \
    --cc=general@lists.openfabrics.org \
    --cc=linux-rdma@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.