opnsense / opnsense/src

Upgrade 26.1 to 26.7 - bnxt Driver fails

Open
#325 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
505
Forks
202
PR merge metrics
No merged PRs in 30d

Description

Hey,
we have a Dell PowerEdge R6625
with 540-BCRX : Broadcom 57504 10/25 GbE QuadPort Network Adapter Fw 38.11.38.06 and
Driver version 230.0.133.0 in OPNSense

After the update to 26.7 we see that the configuration could not be loaded:


bnxt0: <Broadcom BCM57504 NetXtreme-E 10Gb/25Gb/50Gb/100Gb/200Gb Ethernet> mem 0xef000000-0xef00ffff,0xeb000000-0xebffffff,0xef040000-0xef047fff at device 0.3 numa-domain 0 on pci1
[1] bnxt0: HWRM_FUNC_BACKING_STORE_CFG command returned INVALID_PARAMS error.
[1] bnxt0: Failed configuring context mem, rc = 22.
[1] bnxt0: attach: alloc_ctx_mem failed
[1] bnxt0: IFDI_ATTACH_PRE failed 22
[1] device_attach: bnxt0 attach returned 22

The gigabit adapters are working fine with the driver.

We had the Tunable if_bnxt_load = YES setted in the past.

After compiling and loading the Broadcom driver package with the version 238.1.136.0
we can see that the card is working after reboot.

Had anyone the same problem?

Is there an option to get the driver updated in OPNSense / FreeBSD?

Cheers & Thanks
Lex

From: https://forum.opnsense.org/index.php?topic=52907.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the bnxt device attach path reported in the log, focusing on the HWRM_FUNC_BACKING_STORE_CFG failure and context-memory setup. Compare the bundled driver with the working Broadcom driver version 238.1.136.0, then reproduce on the listed BCM57504 adapter. Done means the configuration loads and bnxt0 attaches successfully after the update.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
networking, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.