[openib-general] newbie to openib

Lamia M.Youseff lyouseff at cs.ucsb.edu
Mon Feb 13 23:42:57 PST 2006


Dear list,
I am having much trouble on getting openib stack to work. I am always 
getting the error that "No IB devices found." I am using 2.6.14 kernel 
for em64t, I am sure that i configured the kernel with infiniband device 
driver (as portion of .config shows below). I also got all of the 
modules correctly build and installed. However, I have no clue why it is 
not working.

Any help or hint will be greatly appreciated,
-- Lamia


-bash-3.0# cat .config
.............
#
# InfiniBand support
#
CONFIG_INFINIBAND=m
CONFIG_INFINIBAND_USER_MAD=m
CONFIG_INFINIBAND_USER_ACCESS=m
CONFIG_INFINIBAND_MTHCA=m
# CONFIG_INFINIBAND_MTHCA_DEBUG is not set
CONFIG_INFINIBAND_IPOIB=m
# CONFIG_INFINIBAND_IPOIB_DEBUG is not set
............................
======================
-bash-3.00# ibv_devinfo
libibverbs: Fatal: no infiniband class devices found.
No IB devices found
=======================
-bash-3.00# opensm
-------------------------------------------------
OpenSM Rev:openib-1.1.0
Based on OpenIB svn 5372
Command Line Arguments:
 Log File: /var/log/osm.log
-------------------------------------------------
OpenSM Rev:openib-1.1.0 OpenIB svn 5372


No local ports detected!
Error: Could not get port guid
Exiting SM
=========================
-bash-3.00# lsmod
Module                  Size  Used by
ib_ucm                 18296  0
ib_cm                  33904  1 ib_ucm
ib_uverbs              30872  0
ib_umad                15776  0
ib_mthca               93600  0
ib_mad                 39208  3 ib_cm,ib_umad,ib_mthca
ib_core                44544  5 ib_cm,ib_uverbs,ib_umad,ib_mthca,ib_mad
==========================
-bash-3.00# ls /sys/class/infiniband* -al
/sys/class/infiniband:
total 0
drwxr-xr-x   2 root root 0 Feb 14 02:11 .
drwxr-xr-x  25 root root 0 Feb 14 02:11 ..

/sys/class/infiniband_cm:
total 0
drwxr-xr-x   3 root root 0 Feb 14 02:11 .
drwxr-xr-x  25 root root 0 Feb 14 02:11 ..
drwxr-xr-x   2 root root 0 Feb 14 02:12 ucm

/sys/class/infiniband_mad:
total 0
drwxr-xr-x   2 root root    0 Feb 14 02:12 .
drwxr-xr-x  25 root root    0 Feb 14 02:11 ..
-r--r--r--   1 root root 4096 Feb 14 02:12 abi_version

/sys/class/infiniband_verbs:
total 0
drwxr-xr-x   2 root root    0 Feb 14 02:12 .
drwxr-xr-x  25 root root    0 Feb 14 02:11 ..
-r--r--r--   1 root root 4096 Feb 14 02:12 abi_version
==========================
-bash-3.00# cat /sys/class/infiniband_cm/ucm/dev
231:255
=========================



More information about the general mailing list