[openib-general] ehca weirdness??

Troy Benjegerdes hozer at hozed.org
Thu Mar 23 10:39:10 PST 2006


I just built a fresh 2.6.16 kernel, and the ehca (and associated ibverbs
stuff) from the lastest stubversion (5988), and things like
'ibv_devices' fail..

p5l3:~# ibv_devices
libibverbs: Warning: no userspace device-specific driver found for
uverbs0
        driver search path: /usr/lib/infiniband
    device                 node GUID
    ------              ----------------


strace seems to indicate it can't find a 'vendor' file for the device in
sysfs?

lstat("/sys/devices/ibmebus/B.001.DNW4776-P1-C6/adapter_handle",
{st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
stat("/sys/devices/ibmebus/B.001.DNW4776-P1-C6/adapter_handle",
{st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
open("/sys/devices/ibmebus/B.001.DNW4776-P1-C6/adapter_handle",
O_RDONLY) = 4
read(4, "1000000103000004\n", 4096)     = 17
close(4)                                = 0
lstat("/sys/devices/ibmebus/B.001.DNW4776-P1-C6/uevent",
{st_mode=S_IFREG|0200, st_size=4096, ...}) = 0
stat("/sys/devices/ibmebus/B.001.DNW4776-P1-C6/uevent",
{st_mode=S_IFREG|0200, st_size=4096, ...}) = 0
getdents64(3, /* 0 entries */, 4096)    = 0
close(3)                                = 0

||||||||||||||||||||||||||||||||||||
lstat("/sys/devices/ibmebus/B.001.DNW4776-P1-C6/vendor", 0xfffff847220)
= -1 ENOENT (No such file or directory)
write(2, "libibverbs: Warning: no userspac"..., 96libibverbs: Warning:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

no userspace device-specific driver found for uverbs0
        driver search path: ) = 96
write(2, "/usr/lib/infiniband\n", 20/usr/lib/infiniband
)   = 20
fstat(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 1), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x4000001f000
write(1, "    device          \t   node GUI"..., 34    device
node GUID
) = 34
write(1, "    ------          \t-----------"..., 38    ------
----------------
) = 38
munmap(0x4000001f000, 4096)             = 0
exit_group(0)                           = ?




More information about the general mailing list