firmware for Broadcom 57810s NIC is missing

Bug #1416610 reported by Pavel Vaylov
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Medium
Aleksander Mogylchenko

Bug Description

Server with Broadcom BRCM 10GbE 2P 57810s bNDC NIC able to boot properly into bootstrap mode as well as boot into CentOS installer.

But on first boot after CentOS installation it complains about missing firmware for NIC:

bnx2x-e2-7.10.51.0.fw

According to RPM search this firmware lives in kernel-firmware-2.6.32-504.1.3.el6.x86_64.rpm package

But yum does not install this packag:

yum install kernel-firmware
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Setting up Install Process
Package kernel-firmware-2.6.32-504.1.3.el6.x86_64 is obsoleted by linux-firmware-20140317-35.gitdec41bce.mira1.noarch which is already installed
Nothing to do

Package linux-firmware installs during CentOS installation but does not has bnx2x-e2-7.10.51.0.fw in it.

Workaround:

- Unpack kernel-firmware-2.6.32-504.1.3.el6.x86_64.rpm

rpm2cpio kernel-firmware-2.6.32-504.1.3.el6.x86_64.rpm | cpio -idmv

- Put firmware on Nailgun web server:

cp ./lib/firmware/bnx2x/bnx2x-e2-7.10.51.0.fw /var/www/nailgun/2014.2-6.0/centos/fw/bnx2x-e2-7.10.51.0.fw

- Insert following command into kickstart's "%post" section:

dockerctl shell cobbler

vi /var/lib/cobbler/kickstarts/centos-x86_64.ks

%post
...
wget -O /lib/firmware/bnx2x/bnx2x-e2-7.10.51.0.fw http://10.20.16.13:8080/2014.2-6.0/centos/fw/bnx2x-e2-7.10.51.0.fw
...

- Run "cobbler sync" inside this cobbler's container.

We should rebuild linux-firmware-20140317-35.gitdec41bce.mira1.noarch with missing firmware file.

Changed in fuel:
assignee: nobody → Fuel OSCI Team (fuel-osci)
milestone: none → 6.1
Roman Vyalov (r0mikiam)
Changed in fuel:
importance: Undecided → Medium
assignee: Fuel OSCI Team (fuel-osci) → MOS Linux (mos-linux)
Changed in fuel:
assignee: MOS Linux (mos-linux) → Aleksander Mogylchenko (amogylchenko)
status: New → Confirmed
Revision history for this message
OSCI Robot (oscirobot) wrote :

RPM package linux-firmware has been built for project packages/centos6/linux-firmware
Package version == 20150115, package release == 44.git78535e88

Changeset: https://review.fuel-infra.org/2853
project: packages/centos6/linux-firmware
branch: 6.1
author: Aleksandr Mogylchenko
committer: Aleksandr Mogylchenko
subject: Update linux-formware package
status: patchset-created

Files placed on repository:
iwl100-firmware-39.31.5.1-44.git78535e88.mira1.noarch.rpm
iwl1000-firmware-39.31.5.1-44.git78535e88.mira1.noarch.rpm
iwl105-firmware-18.168.6.1-44.git78535e88.mira1.noarch.rpm
iwl135-firmware-18.168.6.1-44.git78535e88.mira1.noarch.rpm
iwl2000-firmware-18.168.6.1-44.git78535e88.mira1.noarch.rpm
iwl2030-firmware-18.168.6.1-44.git78535e88.mira1.noarch.rpm
iwl3160-firmware-23.11.10.0-44.git78535e88.mira1.noarch.rpm
iwl3945-firmware-15.32.2.9-44.git78535e88.mira1.noarch.rpm
iwl4965-firmware-228.61.2.24-44.git78535e88.mira1.noarch.rpm
iwl5000-firmware-8.83.5.1_1-44.git78535e88.mira1.noarch.rpm
iwl5150-firmware-8.24.2.2-44.git78535e88.mira1.noarch.rpm
iwl6000-firmware-9.221.4.1-44.git78535e88.mira1.noarch.rpm
iwl6000g2a-firmware-17.168.5.3-44.git78535e88.mira1.noarch.rpm
iwl6000g2b-firmware-17.168.5.2-44.git78535e88.mira1.noarch.rpm
iwl6050-firmware-41.28.5.1-44.git78535e88.mira1.noarch.rpm
iwl7260-firmware-23.11.10.0-44.git78535e88.mira1.noarch.rpm
libertas-sd8686-firmware-20150115-44.git78535e88.mira1.noarch.rpm
libertas-sd8787-firmware-20150115-44.git78535e88.mira1.noarch.rpm
libertas-usb8388-firmware-20150115-44.git78535e88.mira1.noarch.rpm
libertas-usb8388-olpc-firmware-20150115-44.git78535e88.mira1.noarch.rpm
linux-firmware-20150115-44.git78535e88.mira1.noarch.rpm

NOTE: Changeset is not merged, created temporary package repository.
RPM repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-6.1-stable-2853/centos

Revision history for this message
OSCI Robot (oscirobot) wrote :

package linux-firmware has been built for project packages/centos6/linux-firmware
Package version == 20150115, package release == 44.git78535e88

Changeset: https://review.fuel-infra.org/2853
project: packages/centos6/linux-firmware
branch: 6.1
author: Aleksandr Mogylchenko
committer: Aleksandr Mogylchenko
subject: Update linux-formware package
status: patchset-created

Files placed on repository:

NOTE: Changeset is not merged, created temporary package repository.
 repository URL: /centos-fuel-6.1-stable-2853/

Revision history for this message
Aleksander Mogylchenko (amogylchenko) wrote :

I've updated linux-firware package to latest available (they are just snapshots from GIT, and do not bring any new dependencies).
Could you please recheck it?

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OSCI Robot (oscirobot) wrote :

package linux-firmware has been built for project packages/centos6/linux-firmware
Package version == 20150115, package release == 44.git78535e88

Changeset: https://review.fuel-infra.org/2853
project: packages/centos6/linux-firmware
branch: 6.1
author: Aleksandr Mogylchenko
committer: Aleksandr Mogylchenko
subject: Update linux-formware package
status: change-merged

Files placed on repository:

Changeset merged. Package placed on primary repository
 repository URL: /centos-fuel-6.1-stable/

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Alexander Bozhenko (alexbozhenko) wrote :

On installed 6.0 it is possible to install drivers using following commands:
yum remove ql2400-firmware-20140317-35.gitdec41bce.mira1.noarch ql2500-firmware-20140317-35.gitdec41bce.mira1.noarch
wget http://osci-obs.vm.mirantis.net:82/centos-fuel-6.1-stable/centos/noarch/linux-firmware-20150115-45.git78535e88.mira2.noarch.rpm
yum localinstall linux-firmware-20150115-45.git78535e88.mira2.noarch.rpm
Reboot the node, and interface should be UP.

Revision history for this message
Alexander Bozhenko (alexbozhenko) wrote :

To provision new nodes with the driver, on fuel 6.0 you can do the following:
1) mkdir -p /root/centos_firmware_rpm_backup
2) cd /var/www/nailgun/centos/x86_64/Packages
3) mv /var/www/nailgun/centos/x86_64/Packages/linux-firmware-20140317-35.gitdec41bce.mira1.noarch.rpm /root/centos_firmware_rpm_backup/
4) mv /var/www/nailgun/centos/x86_64/Packages/ql2400-firmware-20140317-35.gitdec41bce.mira1.noarch.rpm /root/centos_firmware_rpm_backup/
5) mv /var/www/nailgun/centos/x86_64/Packages/ql2500-firmware-20140317-35.gitdec41bce.mira1.noarch.rpm /root/centos_firmware_rpm_backup/
6) cp -r /var/www/nailgun/centos/x86_64/repodata/ /root/centos_firmware_rpm_backup/

7) Download package linux-firmware-20150115-45.git78535e88.mira2.noarch.rpm and place it to
/var/www/nailgun/centos/x86_64/Packages

8) chmod 755 /var/www/nailgun/centos/x86_64/Packages/linux-firmware-20150115-45.git78535e88.mira2.noarch.rpm

9) Verify that package new package is in place, it is the only linux-firmware package, and permissions are 755:
ls -la /var/www/nailgun/centos/x86_64/Packages/linux-firmware*
-rwxr-xr-x 1 root root 27535832 Mar 12 15:51 /var/www/nailgun/centos/x86_64/Packages/linux-firmware-20150115-45.git78535e88.mira2.noarch.rpm

10) yum -y install createrepo

11) cd /var/www/nailgun/centos/x86_64
12) createrepo --update -g repodata/b4e0b9342ef85d3059ff095fa7f140f654c2cb492837de689a58c581207d9632-comps.xml .
13) Redeploy the environment to get nodes with bnx2x firmware.

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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