Bug 1964108
| Summary: | Disable sniffing of rdma packets on s390x | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Prashanth Sundararaman <psundara> |
| Component: | rdma-core | Assignee: | Nobody <nobody> |
| Status: | CLOSED WONTFIX | QA Contact: | Afom T. Michael <tmichael> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 8.4 | CC: | dgilmore, dhorak, fhrdina, hwkernel-mgr, jwi, mruprich, mschmidt, psundara, rdma-dev-team, tmichael, tstaudt, wolfgang.voesch |
| Target Milestone: | beta | Keywords: | Triaged |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | s390x | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-11-24 07:27:47 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1782876 | ||
|
Description
Prashanth Sundararaman
2021-05-24 18:03:50 UTC
@mruprich - does the above proposed solution look good? Hi, thanks for the PR, I will propose this bug for next RHEL release. Hi Michal, Any updates on this? Thanks Prashanth I am planning to fix this in RHEL-8.6.0. from /boot/config-4.18.0-343.el8.s390x CONFIG_INFINIBAND=m # CONFIG_INFINIBAND_USER_MAD is not set CONFIG_INFINIBAND_USER_ACCESS=m CONFIG_INFINIBAND_USER_MEM=y # CONFIG_INFINIBAND_ON_DEMAND_PAGING is not set CONFIG_INFINIBAND_ADDR_TRANS=y CONFIG_INFINIBAND_ADDR_TRANS_CONFIGFS=y CONFIG_INFINIBAND_VIRT_DMA=y # CONFIG_INFINIBAND_MTHCA is not set CONFIG_MLX4_INFINIBAND=m CONFIG_MLX5_INFINIBAND=m # CONFIG_INFINIBAND_OCRDMA is not set CONFIG_RDMA_RXE=m CONFIG_RDMA_SIW=m # CONFIG_INFINIBAND_IPOIB is not set # CONFIG_INFINIBAND_SRP is not set # CONFIG_INFINIBAND_SRPT is not set # CONFIG_INFINIBAND_ISER is not set # CONFIG_INFINIBAND_ISERT is not set # CONFIG_DMADEVICES is not set so InfiniBand is enabled on s390x, but without IP over IB or SCSI RDMA Protocol over IB or iSCSI Extensions for RDMA. I believe the core RDMA is available and even used in eg. the SMC-R network protocol. Thus I am not sure we want the IB/RDMA parser to be removed from libpcap ... It would cause a regression within the RHEL-8 release. FWIW there is a request to enable SRP and iSER in the RHEL-9 kernels for s390x. I think that in the end this is not a problem of libpcap. Packaging point of view here is simple, libpcap added rdma-core as a dependency, you can easily install libpcap on s390x and it correctly pulls that dependency in and there is no error: # uname -a Linux s390x-kvm-002.lab.eng.rdu2.redhat.com 4.18.0-343.el8.s390x #1 SMP Thu Sep 16 18:17:01 EDT 2021 s390x s390x s390x GNU/Linux # cat /etc/redhat-release Red Hat Enterprise Linux release 8.6 Beta (Ootpa) # rpm -qa | grep -e libpcap -e rdma rdma-core-35.0-1.el8.s390x libpcap-1.9.1-5.el8.s390x # ldd /usr/lib64/libpcap.so.1 libibverbs.so.1 => /lib64/libibverbs.so.1 (0x000003ff80580000) libc.so.6 => /lib64/libc.so.6 (0x000003ff80380000) libnl-route-3.so.200 => /lib64/libnl-route-3.so.200 (0x000003ff80280000) libnl-3.so.200 => /lib64/libnl-3.so.200 (0x000003ff80200000) libpthread.so.0 => /lib64/libpthread.so.0 (0x000003ff80180000) libdl.so.2 => /lib64/libdl.so.2 (0x000003ff80100000) /lib/ld64.so.1 (0x000003ff80700000) So from libpcap point of view, everything works as expected. I agree that this is a RHEL issue, not upstream issue and if something needs to change, it would be rdma-core in RHEL8 since it owns the .service files that fail in the end: # rpm -ql rdma-core | grep service /usr/lib/systemd/system/rdma-load-modules@.service /usr/lib/systemd/system/rdma-ndd.service Switching this to rdma-core. Hi, Prashanth
=======================================================
commit b02de521022a1d377bf50e3776c48ed8bb564211
Author: Honggang Li <honli>
Date: Tue Jan 19 11:36:05 2021 +0800
redhat: Remove base package dependency from all sub-packages
Depends on base package is useful for RDMA users. Unfortunately,
it will pull unwanted packages for Cloud or Edge users who may
don't have RDMA hardware.
=========================================================
I think this commit addresses the issue for you. The rhel-8.4 rdma-core does not include it.
Can you please test rhel-8.5? rhel-8.5 rdma-core has this fix.
thanks
Hi Honggang, I can confirm that after pulling this fix: https://github.com/linux-rdma/rdma-core/pull/933 into http://pkgs.devel.redhat.com/cgit/rpms/rdma-core/tree/rdma-core.spec?h=rhel-8.5.0, it works. I do not see rdma-core included anymore. If you could also patch http://pkgs.devel.redhat.com/cgit/rpms/rdma-core/tree/rdma-core.spec?h=rhel-8.5.0, that would be great. Thanks Prashanth Hi, Prashanth You want rhel-8.5.0.z and rhel-8.4.0.z backport for https://github.com/linux-rdma/rdma-core/pull/933 . Is this right? correct. thanks! After evaluating this issue, there are no plans to address it further or fix it in an upcoming release. Therefore, it is being closed. If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened. |