[openib-general] Error in opening IB cm device

Matt Leininger mlleinin at hpcn.ca.sandia.gov
Thu Jul 14 23:36:17 PDT 2005


On Fri, 2005-07-15 at 01:47 -0400, amith rajith mamidala wrote:
> Hi,
> 
> We have installed the latest openib stack (Rev:2861) on the X86_64
> platform. While running the pingpong tests I am encountering the
> following error:
> 
> libucm: Error <-1:2> couldn't open IB cm device </dev/infiniband/ucm>
> [1] Abort: Error getting HCA context
> 
> I am not sure why this happening ?
> 

What does 'ls -l /dev/infiniband' say?  You should have:

[root at n64-81 ~]# ls -l /dev/infiniband/
total 0
crw-rw-rw-    1 root     root     231, 255 Jul 13 10:44 ucm
crw-rw-rw-    1 root     root     231, 192 Jul 13 10:45 uverbs0
crw-rw-rw-    1 root     root     231, 193 Jul 13 10:45 uverbs1

Try,

modprobe ib_uverbs
mknod -m 0666 /dev/infiniband/uverbs0 c 231 192
mknod -m 0666 /dev/infiniband/uverbs1 c 231 193


modprobe ib_ucm
mknod /dev/infiniband/ucm c 231 255

  - Matt





More information about the general mailing list