Failed to load bnx2x firmware

Thomas Lange lange at informatik.uni-koeln.de
Mon Jun 11 17:53:38 CEST 2018


>>>>> On Mon, 11 Jun 2018 17:29:47 +0200 (CEST), Jean-mathieu CHANTREIN <jean-mathieu.chantrein at univ-angers.fr> said:

    > I use fai-make-nfsroot -k -N to install non-free packages defined in the NONFREE section of /etc/fai/NFSROOT.

    > dracut:/# ip link set eth0 up
    > [...] bnx2x 0000:01:00.0: firmware: failed to load bnx2x/bnx2x-e2-7.13.1.0.fw (-2)
    > [...] bnx2x 0000:01:00.0: Direct firmware load for bnx2x/bnx2x-e2-7.13.1.0.fw failed with error -2
    > [...] bnx2x: [bnx2x_func_hw_init:6003(eth0)]Error loading firmware
    > [...] bnx2x: [bnx2x_nic_load:2727(eth0)](eth0)HW init failed, aborting
    > RTNETLINK answers: No such file or directory

I've create a new nfsroot using fai-make-nfsroot -fvN (without -k) and
got an initrd inside the nfsroot which contains the bnx2x firmware.
I think you have to recreate the initrd after adding the packages to
your nfsroot, which fai-make-nfsroot -kN does not do.

# chroot /srv/fai/nfsroot bash
# dpkg-reconfigure dracut

then check the initrd while being inside the chroot
# lsinitrd /boot/initrd.img-4.9.0-6-amd64 |grep bnx
# exit


Do not forget to copy the new initrd into your tftp directory.
-- 
regards Thomas


More information about the linux-fai mailing list