[openib-general] Re: opensm failure

Michael S. Tsirkin mst at mellanox.co.il
Tue Dec 28 10:21:12 PST 2004


Hello!
Quoting r. Michael S. Tsirkin (mst at mellanox.co.il) "Re: [openib-general] Re: opensm failure":
> Hello!
> Quoting r. shaharf (shaharf at voltaire.com) "RE: [openib-general] Re: opensm failure":
> > > 
> > > Hello!
> > > Quoting r. Michael S. Tsirkin (mst at mellanox.co.il) "[openib-general]
> > Re:
> > > opensm failure":
> > > > warn: [32666] umad_open_port: open
> > /dev/infiniband/mthca0/ports/1/mad
> > > failed
> > > 
> > > Oh. Is that a udev problem then?
> > 
> > Yes. I Forgot to modify umad.c for the new udev scheme. I will do it
> > soon.
> > 
> > Shahar
> 
> Why cant I give the udev device path on a command line to opensm?
> that would solve this once and for all, and let the user play with
> udev names all he wants.

What I had in mind was something like:

./opensm --dev /devinfiniband/umad0 

to work on port 1 only

and 

./opensm --dev /dev/infiniband/umad*

to work on all ports of all devices.

/dev/infiniband/umad* could be a default (maybe set at configure time
or by varibale in makefile), but otherwise I really think *forcing* a specific
udev scheme is a problem, since this makes udev scheme part of abi,
but not checkable by abiversion.

mst



More information about the general mailing list