[openib-general] Re: Creation of multicast groups

Hal Rosenstock halr at voltaire.com
Wed Jan 25 11:48:46 PST 2006


Hi Amith,

On Wed, 2006-01-25 at 14:35, amith rajith mamidala wrote:
> Hi,
> 
> I am trying to run a program which creates multicast groups. I am using
> the libraries -losmcomp -losmvendor -lopensm for this purpose.
> I was facing a problem while running the program. However,
> the program runs if I execute it as a root. I am using the revision
> 4918 of the osm related libraries,
> 
> I am getting the following error messages:
> 
> -I- Creating Multicast Group
> -I- MGID 0xff12a01cfe800000:0000000000000000
> -I- Port Num:1
> Jan 25 14:25:54 283113 [AB00EB00] -> osm_vendor_bind: Binding to port
> 0x6270510000005.
> Jan 25 14:25:54 285850 [AB00EB00] -> osm_vendor_open_port: ERR 542C:
> umad_open_port() failed
> Jan 25 14:25:54 285873 [AB00EB00] -> osm_vendor_bind: ERR 5424: Unable to
> Open Port 0x6270510000005.
> Jan 25 14:25:54 285890 [AB00EB00] -> osmv_bind_sa: ERR 5506: Failed to
> bind to vendor GSI
> Jan 25 14:25:54 285901 [AB00EB00] -> ibmcgrp_bind: ERR 00137: Unable to
> bind to SA

If you want an ordinary user to be able to do this, you need to change
your udev rules to add permissions as follows:

KERNEL="umad*", NAME="infiniband/%k", MODE="0666"

-- Hal
> 
> Thanks,
> Amith
> 
> 




More information about the general mailing list