[ofa-general] CentOS non-OFED opensm package needs /dev/infiniband

Sasha Khapyorsky sashak at voltaire.com
Thu Dec 4 11:04:50 PST 2008


On 11:01 Wed 03 Dec     , Cameron Harr wrote:
>
> It turns out the SM is looking for devices in /dev/infiniband (umad0, 
> uverbs0),

It is not OpenSM really but libibumad (which is used by OpenSM).

> but the kernel-provided ib_umad and ib_uverbs modules place the 
> devices in /dev. By creating a link "infiniband" in the /dev/ directory to 
> the /dev/ directory, things magically started to work.
>
> "cd /dev; ln -s . infiniband"

Another approach is to create file like (similar to one used in OFED):

[root at grumz m]# cat /etc/udev/rules.d/100-infiniband.rules 
KERNEL=="umad*", NAME="infiniband/%k"
KERNEL=="issm*", NAME="infiniband/%k"
KERNEL=="ucm*", NAME="infiniband/%k", MODE="0666"
KERNEL=="uverbs*", NAME="infiniband/%k", MODE="0666"
KERNEL=="ucma", NAME="infiniband/%k", MODE="0666"
KERNEL=="rdma_cm", NAME="infiniband/%k", MODE="0666"

Sasha



More information about the general mailing list