** Also affects: linux (Ubuntu Resolute)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Questing)
   Importance: Undecided
       Status: New

** Changed in: linux (Ubuntu)
       Status: New => Fix Released

** Changed in: linux (Ubuntu Questing)
       Status: New => In Progress

** Changed in: linux (Ubuntu Resolute)
       Status: New => In Progress

** Changed in: linux (Ubuntu Questing)
   Importance: Undecided => Medium

** Changed in: linux (Ubuntu Resolute)
   Importance: Undecided => Medium

** Changed in: linux (Ubuntu Resolute)
     Assignee: (unassigned) => Matthew Ruffell (mruffell)

** Changed in: linux (Ubuntu Questing)
     Assignee: (unassigned) => Matthew Ruffell (mruffell)

** Tags added: sts

** Description changed:

- Broadcom BCM57708 Thor Ultra (Thor3) drivers are present in Linux 7.0
- kernel released with Ubuntu Resolute (26.04 LTS), however they hang on
- load:
+ BugLink: https://bugs.launchpad.net/bugs/2154523
  
- [    1.496333] bng_en 0000:01:00.0: Broadcom BCM57708 ThorUltra 
50Gb/100Gb/200Gb/400Gb/800Gb Ethernet found at mem 18018010000
- [    1.496341] bng_en 0000:01:00.0: 1024.000 Gb/s available PCIe bandwidth 
(64.0 GT/s PCIe x16 link), in Flit mode
- [    1.498568] bng_en 0000:01:00.0: Default HWRM commands max timeout 
increased to 60 seconds
- [    1.508703] bng_en 0000:01:00.0: Failed to allocate ctx mem rc: -22
- [    1.514563] bng_en 0000:01:00.0: Failed to register with firmware rc = -22
- [    1.514712] bng_en 0000:01:00.0: probe with driver bng_en failed with 
error -22
- [    1.525193] bng_en 0000:01:00.1: Broadcom BCM57708 ThorUltra 
50Gb/100Gb/200Gb/400Gb/800Gb Ethernet found at mem 18018000000
- [    1.525199] bng_en 0000:01:00.1: 1024.000 Gb/s available PCIe bandwidth 
(64.0 GT/s PCIe x16 link), in Flit mode
- [    1.527128] bng_en 0000:01:00.1: Default HWRM commands max timeout 
increased to 60 seconds
- [    1.536024] bng_en 0000:01:00.1: Failed to allocate ctx mem rc: -22
- [    1.541309] bng_en 0000:01:00.1: Failed to register with firmware rc = -22
- [    1.546011] bng_en 0000:01:00.1: probe with driver bng_en failed with 
error -22
+ [Impact]
  
- The issue appears to be already fixed upstream in the 7.1 tree via the
- following commits (1),(2).
+ The bng_en driver on 7.0 and 6.17 fails to load when used with Broadcom 
BCM57708
+ Thor Ultra (Thor3) hardware, with the logs:
  
- We need to include this fix in the Ubuntu 2.6.04 LTS kernel to properly
- enable these devices.
+ [ 1.496333] bng_en 0000:01:00.0: Broadcom BCM57708 ThorUltra 
50Gb/100Gb/200Gb/400Gb/800Gb Ethernet found at mem 18018010000
+ [ 1.496341] bng_en 0000:01:00.0: 1024.000 Gb/s available PCIe bandwidth (64.0 
GT/s PCIe x16 link), in Flit mode
+ [ 1.498568] bng_en 0000:01:00.0: Default HWRM commands max timeout increased 
to 60 seconds
+ [ 1.508703] bng_en 0000:01:00.0: Failed to allocate ctx mem rc: -22
+ [ 1.514563] bng_en 0000:01:00.0: Failed to register with firmware rc = -22
+ [ 1.514712] bng_en 0000:01:00.0: probe with driver bng_en failed with error 
-22
+ [ 1.525193] bng_en 0000:01:00.1: Broadcom BCM57708 ThorUltra 
50Gb/100Gb/200Gb/400Gb/800Gb Ethernet found at mem 18018000000
+ [ 1.525199] bng_en 0000:01:00.1: 1024.000 Gb/s available PCIe bandwidth (64.0 
GT/s PCIe x16 link), in Flit mode
+ [ 1.527128] bng_en 0000:01:00.1: Default HWRM commands max timeout increased 
to 60 seconds
+ [ 1.536024] bng_en 0000:01:00.1: Failed to allocate ctx mem rc: -22
+ [ 1.541309] bng_en 0000:01:00.1: Failed to register with firmware rc = -22
+ [ 1.546011] bng_en 0000:01:00.1: probe with driver bng_en failed with error 
-22
  
- I tested and both of them do apply to the 7.0 in-tree drivers.
+ There is no workarounds.
  
- Thank you,
- Alan
+ [Fix]
  
- (1) 
https://github.com/torvalds/linux/commit/c6b34add67a5402f53359580956b5c318965a893.patch
- (2) 
https://github.com/torvalds/linux/commit/70d7c905a07ae8415b955569620bf2bf77423553.patch
+ This was fixed in 7.1-rc1 by:
+ 
+ commit 70d7c905a07ae8415b955569620bf2bf77423553
+ Author: Vikas Gupta <[email protected]>
+ Date:   Sat Apr 18 08:04:37 2026 +0530
+ Subject: bnge: fix initial HWRM sequence
+ Link: 
https://github.com/torvalds/linux/commit/70d7c905a07ae8415b955569620bf2bf77423553
+ 
+ commit c6b34add67a5402f53359580956b5c318965a893
+ Author: Vikas Gupta <[email protected]>
+ Date:   Sat Apr 18 08:04:38 2026 +0530
+ Subject: bnge: remove unsupported backing store type
+ Link: 
https://github.com/torvalds/linux/commit/c6b34add67a5402f53359580956b5c318965a893
+ 
+ These patches need to go to both questing and noble.
+ 
+ [Testcase]
+ 
+ Have a system with a Broadcom BCM57708 Thor Ultra (Thor3) NIC.
+ 
+ Boot, and check dmesg. See if the NIC comes up correctly.
+ 
+ There is a test kernel available in the following ppa:
+ 
+ https://launchpad.net/~mruffell/+archive/ubuntu/sf439664-test
+ 
+ If you install it, the Thor3 card should come up correctly.
+ 
+ [Where problems can occur]
+ 
+ The first patch changes the sequence of operations such that the backing store
+ is initialised before resource information gets queried.
+ 
+ The second patch removes BNGE_CTX_MRAV from the backing store configuration.
+ This could cause problems if existing hardware uses this type. I have searched
+ and from what I can find it is unused, but this is still a risk.
+ 
+ All changes are localised to the bng_en driver only, for specialised NIC
+ devices.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2154523

Title:
  [26.04] BCM57708 (Thor3) Hangs on Linux 7.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2154523/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to