[openib-general] Re: newbie to openib

Lamia M.Youseff lyouseff at cs.ucsb.edu
Tue Feb 14 00:04:19 PST 2006


Hi Michael,
Thank you for reply. The way I created the character device was by 
adding /etc/udev/rules.d/90-ib.rules, unloading the ib kernel modules, 
reloading them again, and restarting the udev, which is the same way 
described in the wiki (detailed sequence of commands is shown below). I 
am not sure what i am doing wrong. Please advise.

Thank you,
Lamia

-bash-3.00# uname -a
Linux xen2 2.6.14test2 #3 SMP Tue Feb 14 02:01:05 EST 2006 x86_64 x86_64 
x86_64 GNU/Linux
-bash-3.00# cat /etc/udev/rules.d/90-ib.rules
KERNEL="umad*", NAME="infiniband/%k"
KERNEL="issm*", NAME="infiniband/%k"
KERNEL="uverbs*", NAME="infiniband/%k", MODE="0666"
KERNEL="ucm*", NAME="infiniband/%k", MODE="0666"
KERNEL="rdma_cm", NAME="infiniband/%k", MODE="0666"
-bash-3.00# modprobe -r ib_mthca
-bash-3.00# modprobe -r ib_umad
-bash-3.00# modprobe -r ib_uverbs
-bash-3.00# modprobe -r ib_ucm
-bash-3.00# modprobe  ib_mthca
-bash-3.00# modprobe  ib_umad
-bash-3.00# modprobe ib_uverbs
-bash-3.00# modprobe  ib_ucm
-bash-3.00# udevstart 2>&1 > /dev/null
-bash-3.00# ls -al  /dev/infiniband/ucm
crw-rw-rw-  1 root root 231, 255 Feb 14 02:12 /dev/infiniband/ucm




Michael S. Tsirkin wrote:

>Quoting r. Lamia M.Youseff <lyouseff at cs.ucsb.edu>:
>  
>
>>-bash-3.00# ibv_devinfo
>>libibverbs: Fatal: no infiniband class devices found.
>>No IB devices found
>>    
>>
>
>My guess is you dont have the character devices in /dev/infiniband created
>properly. One way to create them is with udev rules. Look it up in openib wiki.
>
>
>  
>



More information about the general mailing list