Repository navigation
[Nexthop][m4061nhp] Expect two channels on the MGMT card I2C mux - #1940
Closed
spandan-nexthop wants to merge 1 commit into
Closed
spandan-nexthop wants to merge 1 commit into
spandan-nexthop wants to merge 1 commit into
Conversation
Contributor
Author
Only two channels of the MGMT card mux reach a device, and the driver now creates only those (nexthop-ai/nexthop.fboss.bsp.kmods#26). Signed-off-by: Spandan Chowdhury <[email protected]>
spandan-nexthop
force-pushed
the
spandan-nexthop.m4061nhp-smb-mux2-two-channels
branch
from
November 9, 2026 23:40
157e3bd to
fcc9790
Compare
Contributor
|
@somasun has imported this pull request. If you are a Meta employee, you can view this in D131631629. |
Contributor
spandan-nexthop
added a commit
to nexthop-ai/nexthop.fboss.bsp.kmods
that referenced
this pull request
Nov 17, 2026
#26) # Summary Only channels 0 and 1 of the m4061nhp MGMT card I2C mux (SMB FPGA I2C master 3) reach a device. Channel 2 is unconnected and channel 3 leads to an unpowered SFP flyover, so every transfer on it waits out the controller timeout. Expose two channels so Linux only creates the buses that reach something. This must land together with the matching platform_manager config change, meta/fboss#1940, which sets `numOutgoingChannels` of `SMB_MUX_2` to 2. platform_manager fails to explore the mux if the two disagree. # Test Plan On an m4061nhp unit with the config change applied, platform_manager explores `SMB_MUX_2` with two channels, creates `/run/devmap/xcvrs/xcvr_io_65`, and every FBOSS service stays active. Before the change, `i2cdetect -y -r` on the fourth channel hit the 30 s timeout while the other three channels scanned in about 12 ms. Co-authored-by: lotus-nexthop <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pre-submission checklist
pip install -r requirements-dev.txt && pre-commit installpre-commit runSummary
On m4061nhp, only channels 0 and 1 of the MGMT card I2C mux (
SMB_MUX_2) reach a device. Channel 2 is unconnected and channel 3 leads to an unpowered SFP flyover where every transfer times out. nexthop-ai/nexthop.fboss.bsp.kmods#26 makes the driver create only those two channels, sonumOutgoingChannelsmust be 2 for platform_manager to explore the mux. The two changes need to land together, with anexthop_bsp_kmodsbuild that includes #26.Test Plan
pre-commit run --fileson the config passes. On an m4061nhp unit running the two-channel driver, platform_manager with this config exploresSMB_MUX_2with two channels, creates/run/devmap/xcvrs/xcvr_io_65, and reportsSuccessfully explored M4061NHP. With the old value it fails withUnexpected number mux channels for SMB_MUX_2. Expected 4. Actual 2.