[openib-general] Problems running IBMgtSim with OpenSM

Eitan Zahavi eitan at mellanox.co.il
Thu May 18 07:53:34 PDT 2006


Hi Sven,

I'm glad to hear you are interested in the simulator. 

In order to connect OpenSM to the simulator you need to build it with
special flags.
The best way to do it is:
1. Build the simulator code 
2. Checkout the management/osm tree (lets say to ~/osm); then cd ~/osm;
./autogen.sh
3. Go somewhere (like /tmp/osm_sim)  
   ~/osm/configure --with-osmv=sim --prefix=/tmp/osm_sim
4. make ; make install
5. run the simulator code as you did. But you do not need any sudo - the
simulation code can be run on the user account.


Eitan Zahavi


> -----Original Message-----
> From: openib-general-bounces at openib.org [mailto:openib-general-
> bounces at openib.org] On Behalf Of Sven-Arne Reinemo
> Sent: Thursday, May 18, 2006 3:11 PM
> To: openib-general at openib.org
> Subject: [openib-general] Problems running IBMgtSim with OpenSM
> 
> Hi,
> 
> I am trying to get the IBMgtSim running with OpenSM, but I only get an
> "Unable to find requested CA guid 0x2c90000000009" error (complete
dump
> included below). Any suggestions to what might be wrong?
> 
> I don't have any IBA hardware in the machine I'm running the simulator
> on as I thought it was unnecessary (?). The code is a recent checkout
> from <https://openib.org/svn/gen2/>.
> 
> Best regards,
> Sven-Arne
> 
> svenar at bricoleur:~/tmp$ sudo RunSimTest -o /usr/local/bin/opensm -t
>
/home/svenar/openib/utils/src/linux-user/ibmgtsim/tests/Gnu16NodeOsmTest
.topo
> Password:
> -I- Using random seed:53879
> -I- Simulation directory is: /tmp/ibmgtsim.26852
> -I- Calling IBMgtSim -s 53879 -V 0xA3 -t
>
/home/svenar/openib/utils/src/linux-user/ibmgtsim/tests/Gnu16NodeOsmTest
.topo
> -l /tmp/ibmgtsim.26852/sim.log
> -I- Simulator Ready
> -I- Connecting to the simulator control server:bricoleur.simula.no
> port:12450
> -I- Connected to the simulator control server
> -I- Defined 51 guids
> -I- Node H-1 data: 0x0002c90000000008 {0x0002c90000000009 1}
> {0x0002c9000000000a 2}
> -I- Starting: /usr/local/bin/opensm -D 0x43 -g 0x0002c90000000009  ...
> -I- Waiting for OpenSM subnet up ...
> -I- OpenSM Event:ERR May 18 13:57:45 161191 [B7E606C0] ->
> osm_vendor_open_port: ERR 5422: Unable to find requested CA guid
> 0x2c90000000009
> -I- New 1 events of /tmp/ibmgtsim.26852/osm.log
> -I- OpenSM Event:ERR May 18 13:57:45 161261 [B7E606C0] ->
> osm_vendor_bind: ERR 5424: Unable to Open Port 0x2c90000000009
> -I- New 1 events of /tmp/ibmgtsim.26852/osm.log
> -I- OpenSM Event:ERR May 18 13:57:45 161289 [B7E606C0] ->
> osm_sm_mad_ctrl_bind: ERR 3118: Vendor specific bind failed
> -I- New 1 events of /tmp/ibmgtsim.26852/osm.log
> -I- OpenSM Event:ERR May 18 13:57:45 161320 [B7E606C0] -> osm_sm_bind:
> ERR 2E10: SM MAD Controller bind failed (IB_ERROR)
> -I- New 1 events of /tmp/ibmgtsim.26852/osm.log
> -I- OpenSM Event:ERR May 18 13:57:45 161370 [B7E606C0] ->
> osm_sa_mad_ctrl_unbind: ERR 1A11: No previous bind
> -I- New 1 events of /tmp/ibmgtsim.26852/osm.log
> -I- OpenSM with log:/tmp/ibmgtsim.26852/osm.log died
> -I- New 1 events of /tmp/ibmgtsim.26852/osm.log
> -I- Closing SIM ...
> -I- Closing Sub Processes ...
> -I- Closing Pipes ...
> -I- Status = 1
> -I- Simulation dir left intact:/tmp/ibmgtsim.26852
> svenar at bricoleur:~/tmp$
> 
> --
> SAR
> ---- GnuPG public key - http://home.ifi.uio.no/~svenar/gpg.asc ----
>  "There are only 10 kinds of people in this world; those who know
>   binary and those who don't."
>                                            -- Unknown
> _______________________________________________
> 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