Bug 1875265
Summary: | [mlx4] IB port cannot be enabled after disable | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Zhang Yi <yizhan> |
Component: | rdma-core | Assignee: | Honggang LI <honli> |
Status: | CLOSED ERRATA | QA Contact: | Zhang Yi <yizhan> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 8.3 | CC: | ahleihel, honli, rdma-dev-team |
Target Milestone: | rc | Keywords: | Triaged |
Target Release: | 8.4 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | rdma-core-32.0-2.el8 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-05-18 14:44:44 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: |
Description
Zhang Yi
2020-09-03 07:31:58 UTC
And I also found the second port cannot be directly disabled, I have to disable the first port, and the second port then can be disabled. [root@rdma-dev-11 ~]$ ibstat CA 'mlx4_0' CA type: MT4099 Number of ports: 2 Firmware version: 2.42.5000 Hardware version: 1 Node GUID: 0xf4521403007be0e0 System image GUID: 0xf4521403007be0e3 Port 1: State: Active Physical state: LinkUp Rate: 56 Base lid: 38 LMC: 0 SM lid: 13 Capability mask: 0x02594868 Port GUID: 0xf4521403007be0e1 Link layer: InfiniBand Port 2: State: Active Physical state: LinkUp Rate: 56 Base lid: 3 LMC: 0 SM lid: 1 Capability mask: 0x02594868 Port GUID: 0xf4521403007be0e2 Link layer: InfiniBand [root@rdma-dev-11 ~]$ ibportstate 3 2 disable Alaa, What can we do for these mlx specific bugs? Thanks I think it's now using the second port. what if you also specify the port number ? ibportstate 37 1 -P 1 enable (In reply to Alaa Hleihel (NVIDIA Mellanox) from comment #4) > I think it's now using the second port. > what if you also specify the port number ? > > ibportstate 37 1 -P 1 enable actually also specify the card: ibportstate 31 1 -C mlx4_0 -P 1 enable (In reply to Alaa Hleihel (NVIDIA Mellanox) from comment #5) > (In reply to Alaa Hleihel (NVIDIA Mellanox) from comment #4) > > I think it's now using the second port. > > what if you also specify the port number ? > > > > ibportstate 37 1 -P 1 enable > > actually also specify the card: > > ibportstate 31 1 -C mlx4_0 -P 1 enable Yeah, this method works well. I think it's better we can update the related Usage/Examples for ibportstate. [root@rdma-dev-11 ~]$ ibportstate Usage: ibportstate [options] <dest dr_path|lid|guid> <portnum> [<op>] Supported ops: enable, disable, on, off, reset, speed, espeed, fdr10, width, query, down, arm, active, vls, mtu, lid, smlid, lmc, mkey, mkeylease, mkeyprot Options: --config, -z <config> use config file, default: /etc/infiniband-diags/ibdiag.conf --Ca, -C <ca> Ca name to use --Port, -P <port> Ca port number to use --Direct, -D use Direct address argument --Lid, -L use LID address argument --Guid, -G use GUID address argument --timeout, -t <ms> timeout in ms --sm_port, -s <lid> SM port lid --show_keys, -K display security keys in output --m_key, -y <key> M_Key to use in request --errors, -e show send and receive errors --verbose, -v increase verbosity level --debug, -d raise debug level --help, -h help message --version, -V show version Examples: ibportstate 3 1 disable # by lid ibportstate -G 0x2C9000100D051 1 enable # by guid ibportstate -D 0 1 # (query) by direct route ibportstate 3 1 reset # by lid ibportstate 3 1 speed 1 # by lid ibportstate 3 1 width 1 # by lid ibportstate -D 0 1 lid 0x1234 arm # by direct route (In reply to Zhang Yi from comment #6) > (In reply to Alaa Hleihel (NVIDIA Mellanox) from comment #5) > > (In reply to Alaa Hleihel (NVIDIA Mellanox) from comment #4) > > > I think it's now using the second port. > > > what if you also specify the port number ? > > > > > > ibportstate 37 1 -P 1 enable > > > > actually also specify the card: > > > > ibportstate 31 1 -C mlx4_0 -P 1 enable > > Yeah, this method works well. > > I think it's better we can update the related Usage/Examples for ibportstate. https://github.com/linux-rdma/rdma-core/pull/847 PR merged into upstream: https://github.com/linux-rdma/rdma-core/pull/868 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (RDMA stack bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2021:1594 |