Failure in /etc/init.d/rdma in OVM 3.4.5
Hi all
/etc/init.d/rdma line 80 contains a failure:
mlx4_devices=`lspci | grep -i infiniband | grep -i mellanox | wc -l`
should be changed to
mlx4_devices=`lspci | grep -i -e infiniband -e mellanox | wc -l`
The former searches for "infiniband" and the in the result of the search for "mellanox" (logical AND).
The latter searches for "infiniband" or "mellanox" and this is the intention of the query (logical OR).
And the the line from lspci for an Infiniband controller from Mellanox
# lspci
...
5e:00.0 Network controller: Mellanox Technologies MT27500 Family [ConnectX-3]
...
"lspci | grep -i infiniband | grep -i mellanox" will never find an Inifnibase device and so module mlx4_ib will never be loaded.