Bnx2x Driver In Xen4 Kernel

Home » CentOS-Virt » Bnx2x Driver In Xen4 Kernel
CentOS-Virt 10 Comments

Hi,

After following the instructions here http://wiki.CentOS.org/HowTos/Xen/Xen4QuickStart and installing the kernel from Xen4 CentOS project
(kernel-3.4.61-9.el6.CentOS.alt.x86_64) I can’t use any networking because the firmware for my NIC is not available:

Bringing up interface eth0.3: bnx2x 0000:02:00.0: firmware:
requesting bnx2x/bnx2x-e1h-7.2.51.0.fw bnx2x: [bnx2x_init_firmware:11696(eth0)]Can’t load firmware file bnx2x/bnx2x-e1h-7.2.51.0.fw bnx2x: [bnx2x_func_hw_init:5476(eth0)]Error loading firmware bnx2x: [bnx2x_nic_load:2118(eth0)]HW init failed, aborting

This seems similar to http://bugs.CentOS.org/view.php?ide13 . Is this a bug? Is this a known issue?

Thanks, Dusty

10 thoughts on - Bnx2x Driver In Xen4 Kernel

  • Yeah, it looks like the kernel is missing the firmware for your NIC. Please open a bug on bugs.CentOS.org

    Thanks,

    — Pasi

  • Hi, I just got around to trying this. The fix does not seem to have worked because the particular firmware I need (bnx2x-e1h-7.2.51.0.fw)
    is still not provided.

    [root@localhost tmp]# rpm -qlp kernel-firmware-3.4.61-9.el6.CentOS.alt.noarch.rpm | grep bnx2x
    /lib/firmware/bnx2x
    /lib/firmware/bnx2x/bnx2x-e1-6.2.9.0.fw
    /lib/firmware/bnx2x/bnx2x-e1h-6.2.9.0.fw
    /lib/firmware/bnx2x/bnx2x-e2-6.2.9.0.fw
    /lib/firmware/bnx2x/bnx2x-e2-7.2.16.0.fw
    [root@localhost tmp]#
    [root@localhost tmp]#
    [root@localhost tmp]# rpm -qlp kernel-firmware-3.4.68-9.el6.CentOS.alt.noarch.rpm | grep bnx2x
    /lib/firmware/bnx2x
    /lib/firmware/bnx2x/bnx2x-e1-6.2.9.0.fw
    /lib/firmware/bnx2x/bnx2x-e1h-6.2.9.0.fw
    /lib/firmware/bnx2x/bnx2x-e2-6.2.9.0.fw
    /lib/firmware/bnx2x/bnx2x-e2-7.2.16.0.fw

    Dusty

  • I found an issue with the new firmware patch … it is fixed in testing now and I will push it on the next kernel update …

    If you want to test, the kernel here should work and has the new driver:

    http://dev.CentOS.org/CentOS/6/xen-c6-RC1/

    Note: that is a 3.10.18 kernel and is currently in testing, but should work on the xen4CentOS6 repo

    Thanks, Johnny Hughes

  • Looks like the new kernel is looking for a newer firmware:

    bnx2x: [bnx2x_init_firmware:12263(eth0)]Can’t load firmware file bnx2x/bnx2x-e1h-7.8.17.0.fw

    Dusty

  • It seems broadcom NICs and the kernel interact strangely indeed …

    I am going to go about this in a different way .. instead of doing it piecemeal (which means I need individual people to tell me theirs is not working), I am just going to put every FW Driver for bn2x and bnx2x into the new kernel … I am trying that now in a version that is
    3.10.20-10. I am not sure why this is not being done now upstream, but lets see what happens.

    I will send another email to the list if this builds .. when it is available.

    Thanks, Johnny Hughes

  • OK, there is a newer kernel (3.10.20-11) that has all bn2x and bnx2x firmware that is in the kernel.org firmware git tree enabled. This should work for you. Please give it a try and let me know.

    Thanks, Johnny Hughes

  • All necessary firmware seems to be included in the kernel-firmware rpm for kernel-3.10.20-11.el6.CentOS.alt.x86_64.

    Thanks

  • You may wish to consider having a separate firmware package and not including any firmware from the kernel.

    FWIW, this is what we do in XenServer.

    David

LEAVE A COMMENT