Firmware for NetXtreme II BCM57810 10 Gigabit Ethernet missing from initrd and ephemeral image

Bug #2023936 reported by Joao Andre Simioni
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
MAAS
Invalid
High
Unassigned
initramfs-tools
New
Undecided
Unassigned
maas-images
Invalid
High
Alexsander de Souza

Bug Description

[Description]

During commissioning, it was detected that some interfaces were not listed in the Machine Network configuration. After some inspection, adding linux-firmware using a commissioning script would fix the issue.

The NIC model is: NetXtreme II BCM57810 10

Since these servers had multiple NIC models, another NIC was used to PXE boot and download the ephemeral image, but if only that model were available, MAAS would fail to enlist, commission, and deploy.

These messages are seen in dmesg when commissioning without the linux-firmare package:

[ 144.693733] bnx2x 0000:04:00.1: Direct firmware load for bnx2x/bnx2x-e2-7.13.11.0.fw failed with error -2
[ 144.693738] bnx2x: [bnx2x_init_firmware:13556(enp4s0f1)]Can't load firmware file bnx2x/bnx2x-e2-7.13.11.0.fw
[ 144.693877] bnx2x: [bnx2x_func_hw_init:6002(enp4s0f1)]Error loading firmware
[ 144.693990] bnx2x: [bnx2x_nic_load:2732(enp4s0f1)]HW init failed, aborting

[Request]

Please add the missing firmware to MAAS initrd and ephemeral image.

[Workaround]

If other interfaces are available, use a commissioning script to install linux-firmware package:

https://maas.io/docs/comm-scripts-reference

Revision history for this message
Alexsander de Souza (alexsander-souza) wrote :

this firmware is part of the linux-firmware package:

  $ apt-file search bnx2x-e2-7.13.11.0.fw
  linux-firmware: /lib/firmware/bnx2x/bnx2x-e2-7.13.11.0.fw

but for some reason is not present in the initrd:

  /lib/firmware/bnx2x$ ls -lh
  -rw-r--r-- 1 ubuntu ubuntu 167K Apr 21 05:36 bnx2x-e1-7.13.15.0.fw
  -rw-r--r-- 1 ubuntu ubuntu 167K Apr 21 05:36 bnx2x-e1-7.13.21.0.fw
  -rw-r--r-- 1 ubuntu ubuntu 175K Apr 21 05:36 bnx2x-e1h-7.13.15.0.fw
  -rw-r--r-- 1 ubuntu ubuntu 175K Apr 21 05:36 bnx2x-e1h-7.13.21.0.fw
  -rw-r--r-- 1 ubuntu ubuntu 316K Apr 21 05:36 bnx2x-e2-7.13.15.0.fw
  -rw-r--r-- 1 ubuntu ubuntu 316K Apr 21 05:36 bnx2x-e2-7.13.21.0.fw

Changed in maas:
status: New → Triaged
importance: Undecided → Critical
milestone: none → 3.4.0
Alberto Donato (ack)
Changed in maas:
importance: Critical → High
milestone: 3.4.0 → 3.4.x
Changed in maas-images:
status: New → Triaged
importance: Undecided → High
Changed in maas:
milestone: 3.4.x → 3.5.x
Revision history for this message
Thorsten Merten (thorsten-merten) wrote :

Looks like this needs to be added to the configuration and forwarded to CPC for inclusion in the next builds.

Changed in maas-images:
assignee: nobody → Alexsander de Souza (alexsander-souza)
Revision history for this message
Alexsander de Souza (alexsander-souza) wrote :

the firmware is not copied by update-initramfs because the driver doesn't declare it uses this firmware:

$ modinfo /lib/modules/5.15.0-100-generic/kernel/drivers/net/ethernet/broadcom/bnx2x/bnx2x.ko
filename: /lib/modules/5.15.0-100-generic/kernel/drivers/net/ethernet/broadcom/bnx2x/bnx2x.ko
firmware: bnx2x/bnx2x-e2-7.13.15.0.fw
firmware: bnx2x/bnx2x-e1h-7.13.15.0.fw
firmware: bnx2x/bnx2x-e1-7.13.15.0.fw
firmware: bnx2x/bnx2x-e2-7.13.21.0.fw
firmware: bnx2x/bnx2x-e1h-7.13.21.0.fw
firmware: bnx2x/bnx2x-e1-7.13.21.0.fw

we need to check whether we can force the inclusion of this file

Changed in maas-images:
status: Triaged → Invalid
Changed in maas:
status: Triaged → Invalid
Revision history for this message
Joao Andre Simioni (jasimioni) wrote :

Commands executed before / after installing the linux-firmware package.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.