[openib-general] uDAPL on OpenIB gen2

Aniruddha Bohra bohra at cs.rutgers.edu
Wed Jul 13 15:13:15 PDT 2005


Hello
    I enabled the DAT_DBG_TYPE=0xffff and DAPL_DBG_TYPE=0xffff.
That gave me the answer.

    Basically libibcm is not linked with dapltest and when the dat_provider
tries to load, and calls ib_cm_send_req, it fails.

    So, just adding -libcm to the dapltest link commands make it work.
It would be great if it could be added to the svn repo.

Thanks for your help.

Regards,
Aniruddha

James Lentini wrote:

>Hmm...That looks good to me. Let's start at the bottom of the stack 
>and work our way up. Have you checked your userspace IB configuration? 
>What is the output of ib_devices and ib_devinfo? Does ibv_ud_pingpong 
>work?
>
>On Wed, 13 Jul 2005, Aniruddha Bohra wrote:
>
>bohra> James Lentini wrote:
>bohra> 
>bohra> > 
>bohra> > On Wed, 13 Jul 2005, Aniruddha Bohra wrote:
>bohra> > 
>bohra> > > Hello,
>bohra> > >   Is there a HOWTO or README to set up uDAPL for the gen2 code?
>bohra> > 
>bohra> > 
>bohra> > 
>bohra> > There is one for kDAPL but not uDAPL.
>bohra> > 
>bohra> > > I have compiled and installed the libraries, however keep get the
>bohra> > > error :
>bohra> > > DT_cs_Server: Could not open  (DAT_PROVIDER_NOT_FOUND
>bohra> > > DAT_NAME_NOT_REGISTERED)
>bohra> > > 
>bohra> > > when I try to run dapltest.
>bohra> > > 
>bohra> > > Do I need to install the kernel bits before I use uDAPL?
>bohra> > 
>bohra> > 
>bohra> > 
>bohra> > You don't need the kDAPL code to use uDAPL. You will need the IB
>bohra> > drivers and userspace libraries though.
>bohra> > 
>bohra> > Does your system have the IB drivers loaded? To check:
>bohra> > 
>bohra> > # lsmod | grep ib_
>bohra> > 
>bohra> Hello,
>bohra>   Here is the relevant info :
>bohra> 
>bohra> > [bohra at hora-7 kdapl]$ lsmod | grep ib_
>bohra> > ib_mthca              105884  0
>bohra> > ib_uverbs              27152  0
>bohra> > ib_ucm                 19468  0
>bohra> > ib_cm                  36676  1 ib_ucm
>bohra> > ib_umad                18072  0
>bohra> > ib_ipoib               43524  0
>bohra> > ib_sa                  15124  1 ib_ipoib
>bohra> > ib_mad                 40224  4 ib_mthca,ib_cm,ib_umad,ib_sa
>bohra> > ib_core                45312  7
>bohra> > ib_mthca,ib_uverbs,ib_cm,ib_umad,ib_ipoib,ib_sa,ib_mad
>bohra> 
>bohra> 
>bohra> [bohra at hora-7 Target]$ pwd
>bohra> /home/bohra/jlentini/userspace/test/dapltest/udapl/Target
>bohra> [bohra at hora-7 Target]$ ldd dapltest
>bohra>       linux-gate.so.1 =>  (0xffffe000)
>bohra>       libdat.so => /usr/local/lib/libdat.so (0xb7ff6000)
>bohra>       libpthread.so.0 => /lib/tls/libpthread.so.0 (0x00498000)
>bohra>       libc.so.6 => /lib/tls/libc.so.6 (0x002f2000)
>bohra>       libdl.so.2 => /lib/libdl.so.2 (0x0041b000)
>bohra>       /lib/ld-linux.so.2 (0x002d9000)
>bohra> 
>bohra> [bohra at hora-7 Target]$ ./dapltest -T S -D mthca0a
>bohra> DT_cs_Server: Could not open mthca0a (DAT_PROVIDER_NOT_FOUND
>bohra> DAT_NAME_NOT_REGISTERED)
>bohra> DT_cs_Server (mthca0a):  Exiting.
>bohra> 
>bohra> 
>bohra> Thanks
>bohra> Aniruddha
>bohra> 
>bohra> 
>bohra> 
>bohra> _______________________________________________
>bohra> openib-general mailing list
>bohra> openib-general at openib.org
>bohra> http://openib.org/mailman/listinfo/openib-general
>bohra> 
>bohra> To unsubscribe, please visit
>bohra> http://openib.org/mailman/listinfo/openib-general
>bohra> 
>  
>




More information about the general mailing list