Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
The attached program cannot find any running IB devices, even though devices are running on the system. I think I loaded the relevant drivers (why don't they automatically load?).
Version-Release number of selected component (if applicable):
list of installed RPMs is in attachment.
How reproducible:
Very
Steps to Reproduce:
1. Bring up Infiniband interfaces, including subnet manager and IP interface, verify that these work as expected
2. try running the simple program in attachment that searches for IB devices
Actual results:
It finds no devices, program is attached:
[root@perf56 ~]# ./ibvls
libibverbs: Warning: no userspace device-specific driver found for /sys/class/infiniband_verbs/uverbs1
libibverbs: Warning: no userspace device-specific driver found for /sys/class/infiniband_verbs/uverbs0
ibv_get_device_list: list=0x1f08040 num_hcas=0
[
Expected results:
It should find every active IB interface.
Additional info:
I found this while trying to configure Gluster to use RDMA over this release, I'll fall back to 6.1 and see if it happens there. The attachment contains these files:
sys-class-infiniband-verbs.log -- output of ls -l on /sys/class/infiniband_verbs/*
rpms.log -- rpm -qa output
ibvls.c -- program to scan list of Infiniband devices usinb libibverbs
ib0.log -- interface was up and running
lsmod.log -- what drivers were loaded when test was run
This is not a bug. The error you are getting is because you haven't installed the user space hardware drivers to go along with the libibverbs package.
The RDMA stack is complex and requires quite a lot of packages to get up and running. There is rather good documentation on going from a bare machine to an up and running RDMA system in the knowledge base.