Page MenuHomeVyOS Platform

Please add current bnx2x firmware to image
Closed, ResolvedPublicBUG

Description

When booting with a bnx2x NIC (Broadcom 57810S, also called NetExtremeII), I receive a firmware error at boot time and the NIC does not function. I believe that this firmware binary needs to be added to the image. I will attach a screenshot of the error if I can.

I am operating virtualized on ESXi 6.7, using PCI passthrough to present the card directly to VyOS. I have confirmed that the error still happens with the latest rolling release (1.2.0-rolling+201806230458).

Details

Difficulty level
Unknown (require assessment)
Version
1.1.8
Why the issue appeared?
Will be filled on close

Event Timeline

syncer triaged this task as Wishlist priority.Jun 24 2018, 1:22 AM
syncer removed a project: VyOS 1.1.x (1.1.8).

@deafen

maybe you could assist us by trying the following steps on your system:

bash
$ sudo su
$ echo "deb http://ftp.de.debian.org/debian/ jessie main contrib non-free" >> /etc/apt/sources.list
$ echo "deb-src http://ftp.de.debian.org/debian/ jessie main contrib non-free" >> /etc/apt/sources.list
$ echo "deb http://security.debian.org/ jessie/updates main contrib non-free" >> /etc/apt/sources.list
$ echo "deb-src http://security.debian.org/ jessie/updates main contrib non-free" >> /etc/apt/sources.list
$ echo "deb http://ftp.de.debian.org/debian/ jessie-updates main contrib non-free" >> /etc/apt/sources.list
$ echo "deb-src http://ftp.de.debian.org/debian/ jessie-updates main contrib non-free" >> /etc/apt/sources.list
$ apt-get update
$ apt-get install firmware-bnx2x

This will install https://packages.debian.org/de/jessie/firmware-bnx2x onto your VyOS target.

If this does not work, you may please try jessie-backports package

bash
$ sudo su
$ dpkg --purge firmware-bnx2x
$ echo "deb http://ftp.debian.org/debian jessie-backports main non-free" >> /etc/apt/sources.list
$ echo "deb-src http://ftp.debian.org/debian jessie-backports main non-free" >> /etc/apt/sources.list
$ apt-get update
$ apt-get install firmware-bnx2x

c-po, thank you for the response. I did get it working, with the following comments:

  • In 1.1.8, the firmware-bnx2x package has a file conflict with the linux-firmware package, so I had to install it with the -o Dpkg::Options::="--force-overwrite" option to apt-get.
  • In 1.2.0-rolling, the package was already installed and up-to-date, but the kernel required an even newer firmware version (7.13.something)

Thanks again!

@deafen can you please retest with latest VyOS 1.2.0 rolling? We have the latest 4.18.11 Kernel now.

I am running VyOS 1.2.0-rc2. A restatement of the problem, which can be reproduced on any system. At least one of these files needs to exist for the kernel module to load:

# for i in $(sudo modinfo bnx2x | grep ^firmware | awk '{print $2}'); do ls /lib/firmware/$i; done
ls: cannot access /lib/firmware/bnx2x/bnx2x-e2-7.13.1.0.fw: No such file or directory
ls: cannot access /lib/firmware/bnx2x/bnx2x-e1h-7.13.1.0.fw: No such file or directory
ls: cannot access /lib/firmware/bnx2x/bnx2x-e1-7.13.1.0.fw: No such file or directory

The suggested commands do not fix it:

# echo "deb http://ftp.de.debian.org/debian/ jessie main contrib non-free" >> /etc/apt/sources.list
# echo "deb-src http://ftp.de.debian.org/debian/ jessie main contrib non-free" >> /etc/apt/sources.list
# echo "deb http://security.debian.org/ jessie/updates main contrib non-free" >> /etc/apt/sources.list
# echo "deb-src http://security.debian.org/ jessie/updates main contrib non-free" >> /etc/apt/sources.list
# echo "deb http://ftp.de.debian.org/debian/ jessie-updates main contrib non-free" >> /etc/apt/sources.list
# echo "deb-src http://ftp.de.debian.org/debian/ jessie-updates main contrib non-free" >> /etc/apt/sources.list
# apt-get update

# apt-get install firmware-bnx2x
Reading package lists... Done
Building dependency tree       
Reading state information... Done
firmware-bnx2x is already the newest version.
# dpkg --purge firmware-bnx2x
# echo "deb http://ftp.debian.org/debian jessie-backports main non-free" >> /etc/apt/sources.list
# echo "deb-src http://ftp.debian.org/debian jessie-backports main non-free" >> /etc/apt/sources.list
# apt-get update

# apt-get install firmware-bnx2x
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  firmware-bnx2x
0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded.
Need to get 1,861 kB of archives.
After this operation, 2,335 kB of additional disk space will be used.
Get:1 http://ftp.de.debian.org/debian/ jessie/non-free firmware-bnx2x all 0.43 [1,861 kB]

This leaves us with the same version we started with: firmware-bnx2x all 0.43. Sure enough:

# for i in $(sudo modinfo bnx2x | grep ^firmware | awk '{print $2}'); do ls /lib/firmware/$i; done
ls: cannot access /lib/firmware/bnx2x/bnx2x-e2-7.13.1.0.fw: No such file or directory
ls: cannot access /lib/firmware/bnx2x/bnx2x-e1h-7.13.1.0.fw: No such file or directory
ls: cannot access /lib/firmware/bnx2x/bnx2x-e1-7.13.1.0.fw: No such file or directory

All we need is the Stretch version of this package:

# wget http://ftp.us.debian.org/debian/pool/non-free/f/firmware-nonfree/firmware-bnx2x_20161130-3_all.deb

# dpkg -i firmware-bnx2x_20161130-3_all.deb 
(Reading database ... 52508 files and directories currently installed.)
Preparing to unpack firmware-bnx2x_20161130-3_all.deb ...
Unpacking firmware-bnx2x (20161130-3) over (0.43) ...
Setting up firmware-bnx2x (20161130-3) ...
I: update-initramfs is disabled (live system is running on read-only media).

# for i in $(sudo modinfo bnx2x | grep ^firmware | awk '{print $2}'); do ls /lib/firmware/$i; done
/lib/firmware/bnx2x/bnx2x-e2-7.13.1.0.fw
/lib/firmware/bnx2x/bnx2x-e1h-7.13.1.0.fw
/lib/firmware/bnx2x/bnx2x-e1-7.13.1.0.fw

I have the same problem here with 201810170747.
My router is without this firmware complete unuseable.

Please add it fast

hi,

this is now fixed in 201810180337. Please test!
On my system ist runs without problems

dmbaturin claimed this task.