[openib-general] [osm] segfault in libibumad

Bernhard Fischer rep.nop at aon.at
Fri Jun 10 15:04:49 PDT 2005


On Fri, Jun 10, 2005 at 01:59:49PM -0700, Tom Duffy wrote:
>On Fri, 2005-06-10 at 21:46 +0200, Bernhard Fischer wrote:
>> Yes, but should it work? I don't know if its possible and implemented
>> (in the long run) to get to and query the respective API versions in
>> order not to rely on sysfs.
>
>Do you have a system without sysfs?  Is there a reason why you would
>not?
For normal small systems, i do not see a requirements for sysfs.
Artifical use case (i don't own HCAs nor euid==0 access to them):
/me builds a well-connected firewall/router/whatever. I don't want
to waste RAM/ROM for sysfs or sysfs support.

I do, however, agree that normal nodes will have sysfs support enabled
in the mid/short run.
>
>The behavior /could/ be that if it didn't find the sysfs entry, opensm
>would continue on its merry way and just assume the API was correct.

As Hal expressed, sysfs is a requirement for OpenIB; so be it.

-- 
Bernhard



More information about the general mailing list