[openib-general] opensm
Hal Rosenstock
halr at voltaire.com
Tue Dec 19 20:35:00 PST 2006
On Tue, 2006-12-19 at 18:22, Batwara, Ashish wrote:
> Hi,
> Please look towards the end of the attached file.
What options are you starting opensm with ? What is the command line ?
Also, it looks like (at least at one point) you have another SM on the
subnet. What is the make (vendor) for your switch ?
I see many SM port is DOWN. What is going on with this port ? Why is the
physical link not LinkUp and stable ? That is the main issue and is
likely why the SubnGet of NodeInfo is not being responded to.
-- Hal
> Thanks
> Ashish
>
> -----Original Message-----
> From: Hal Rosenstock [mailto:halr at voltaire.com]
> Sent: Tuesday, December 19, 2006 5:06 PM
> To: Batwara, Ashish
> Cc: Eitan Zahavi; ishai at mellanox.co.il; openib-general at openib.org
> Subject: Re: [openib-general] opensm
>
> Ashish,
>
> On Tue, 2006-12-19 at 17:43, Batwara, Ashish wrote:
> > Hi,
> >
> > Here is the info that you have asked. I am seeing the Subnet manager
> > is up now having the port active. But server is not able to discover
> > the target. I am seeing the error "Got failed path rec status -110" on
> > Linux console.
>
> That means the request for an SA PathRecord from the initiator to the
> target failed (-110 is ETIMEDOUT). Are you sure the target is up
> (ACTIVE) on the subnet ? If it is, can you send the opensm log ?
>
> -- Hal
>
> > Below are the output of different commands. I am using following to
> > discover the target:
> >
> >
> >
> > /etc/init.d/opensmd start
> >
> > /etc/init.d/openibd start
> >
> > modprobe ib_srp
> >
> > echo
> >
> id_ext=200300A0B811C847,ioc_guid=00a0b8020022cd27,dgid=fe800000000000000
> 002c9020022cd26,pkey=ffff,service_id=200300a0b811c847 >
> /sys/class/infiniband_srp/srp-mthca0-2/add_target
> >
> >
> >
> >
> >
> > [root at p49 ~]# ibv_devinfo
> >
> > hca_id: mthca0
> >
> > fw_ver: 5.1.400
> >
> > node_guid: 0002:c902:0022:cce0
> >
> > sys_image_guid: 0002:c902:0022:cce3
> >
> > vendor_id: 0x02c9
> >
> > vendor_part_id: 25218
> >
> > hw_ver: 0xA0
> >
> > board_id: MT_0370130002
> >
> > phys_port_cnt: 2
> >
> > port: 1
> >
> > state: PORT_DOWN (1)
> >
> > max_mtu: 2048 (4)
> >
> > active_mtu: 512 (2)
> >
> > sm_lid: 0
> >
> > port_lid: 0
> >
> > port_lmc: 0x00
> >
> >
> >
> > port: 2
> >
> > state: PORT_ACTIVE (4)
> >
> > max_mtu: 2048 (4)
> >
> > active_mtu: 2048 (4)
> >
> > sm_lid: 1
> >
> > port_lid: 1
> >
> > port_lmc: 0x00
> > hca_id: mthca1
> >
> > fw_ver: 5.1.400
> >
> > node_guid: 0002:c902:0022:cd2c
> >
> > sys_image_guid: 0002:c902:0022:cd2f
> >
> > vendor_id: 0x02c9
> >
> > vendor_part_id: 25218
> >
> > hw_ver: 0xA0
> >
> > board_id: MT_0370130002
> >
> > phys_port_cnt: 2
> >
> > port: 1
> >
> > state: PORT_DOWN (1)
> >
> > max_mtu: 2048 (4)
> >
> > active_mtu: 512 (2)
> >
> > sm_lid: 0
> >
> > port_lid: 0
> >
> > port_lmc: 0x00
> >
> >
> >
> > port: 2
> >
> > state: PORT_DOWN (1)
> >
> > max_mtu: 2048 (4)
> >
> > active_mtu: 512 (2)
> >
> > sm_lid: 0
> >
> > port_lid: 0
> >
> > port_lmc: 0x00
> >
> >
> >
> >
> >
> > [root at p49 ~]# uname -a
> >
> > Linux p49.ks.lsil.com 2.6.9-42.0.3.ELsmp #1 SMP Mon Sep 25 17:24:31
> > EDT 2006 x86_64 x86_64 x86_64 GNU/Linux
> >
> >
> >
> > [root at p49 ~]# cat /etc/infiniband/info
> >
> > #!/bin/bash
> >
> >
> >
> > echo prefix=/usr/local/ofed
> >
> > echo Kernel=2.6.9-42.0.3.ELsmp
> >
> > echo
> >
> > echo "Configure options: --with-dapl --with-ipoibtools --with-libibcm
> > --with-libibcommon --with-libibmad --with-libibumad --with-libibverbs
> > --with-libipathverbs --with-libmthca --with-opensm --with-librdmacm
> > --with-libsdp --with-openib-diags --with-srptools --with-mstflint
> > --with-perftest --with-tvflash --with-ipath_inf-mod --with-ipoib-mod
> > --with-mthca-mod --with-sdp-mod --with-srp-mod --with-core-mod
> > --with-user_mad-mod --with-user_access-mod --with-addr_trans-mod"
> >
> > echo
> >
> >
> >
> > OFED Version: OFED-1.1
>
>
>
> >
> > Thanks
> >
> > Ashish
> >
> > -----Original Message-----
> > From: Eitan Zahavi [mailto:eitan at mellanox.co.il]
> > Sent: Tuesday, December 19, 2006 5:18 AM
> > To: Batwara, Ashish
> > Cc: ishai at mellanox.co.il; openib-general at openib.org
> > Subject: Re: [openib-general] opensm
> >
> >
> >
> > Hi Ashish,
> >
> >
> >
> > SRP people say they have no such error message.
> >
> > OpenSM does. So I take it back.
> >
> >
> >
> > Ashish,
> >
> > Please provide more into:
> >
> >
> >
> > 1. ibv_devinfo
> >
> > 2. Version of code you are using
> >
> > 3. Command line you use for starting opensm
> >
> > 4. /var/log/osm.log
> >
> >
> >
> > Thanks and sorry for the confusion.
> >
> >
> >
> > EZ
> >
> >
> >
> > Eitan Zahavi wrote:
> >
> > > This is not an OpenSM issue.
> >
> > > Forwarded to the SRP people.
> >
> > >
> >
> > > EZ
> >
> > > Batwara, Ashish wrote:
> >
> > >
> >
> > >> Hi,
> >
> > >> I am trying to run opensm on Linux server. It has two HCAs
> > (4-ports) and
> >
> > >> connected to IB Switch. ibnodes command displays the information
> > about
> >
> > >> the Switch ports and HCA ports.
> >
> > >> When I start opensm, I see in /var/log/messages "Starting
> > srp_daemon"
> >
> > >> for all the 4 ports and immediately after I see "failed srp_daemon"
> > for
> >
> > >> all the ports and the displays "SM Port is down".
> >
> > >>
> >
> > >> I tried several times and even rebooted the server few times but no
> >
> > >> luck.
> >
> > >>
> >
> > >> Does anybody know what this problem is?
> >
> > >>
> >
> > >> Thanks
> >
> > >> Ashish
> >
> > >>
> >
> > >> _______________________________________________
> >
> > >> openib-general mailing list
> >
> > >> openib-general at openib.org
> >
> > >> http://openib.org/mailman/listinfo/openib-general
> >
> > >>
> >
> > >> To unsubscribe, please visit
> > http://openib.org/mailman/listinfo/openib-general
> >
> > >>
> >
> > >>
> >
> > >
> >
> > >
> >
> > > _______________________________________________
> >
> > > openib-general mailing list
> >
> > > openib-general at openib.org
> >
> > > http://openib.org/mailman/listinfo/openib-general
> >
> > >
> >
> > > To unsubscribe, please visit
> > http://openib.org/mailman/listinfo/openib-general
> >
> > >
> >
> >
> >
> >
> >
> > ______________________________________________________________________
> >
> > _______________________________________________
> > openib-general mailing list
> > openib-general at openib.org
> > http://openib.org/mailman/listinfo/openib-general
> >
> > To unsubscribe, please visit
> http://openib.org/mailman/listinfo/openib-general
>
More information about the general
mailing list