Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 445022 - =sys-kernel/gentoo-sources-3.5.7/3.6.6 - Firmware missing for Broadcome NetXtreme II
Summary: =sys-kernel/gentoo-sources-3.5.7/3.6.6 - Firmware missing for Broadcome NetXt...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: http://git.kernel.org/?p=linux/kernel...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-28 01:14 UTC by lianqi wang
Modified: 2013-04-12 09:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
2b674047bef23d49a7ca8ec32f4b9e4e12588621.patch (file_445022.txt,667 bytes, text/plain)
2012-11-28 15:16 UTC, Tom Wijsman (TomWij) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lianqi wang 2012-11-28 01:14:30 UTC
bnx2x fails to load firmware. Kernel message is as follows:

bnx2x: Broadcom NetXtreme II 5771x/578xx 10/20-Gigabit Ethernet Driver bnx2x 1.72.51-0 (2012/06/18)
bnx2: Can't load firmware file "bnx2/bnx2-mips-06-6.2.3.fw" (repeat a few times)

In the linux source folder, however, there is
bnx2/bnx2-mips-06-6.2.1.fw

lspci shows
04:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet (rev 12)

This problem happens both with the stable gentoo-sources-3.5.7 and newest gentoo-sources-3.6.6. The 3.4.9 version works fine.

Reproducible: Always

Steps to Reproduce:
1. Use Broadcome NetXtreme II BCM5708 Gigabit Ethernet
2. Boot kernel 3.5.7 or 3.6.6
3. Network interface fails to start
Actual Results:  
can not bring eth0 up

Expected Results:  
can bring eth0 up
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2012-11-28 15:16:09 UTC
The only relevant commit that might fix this is

>commit 2b674047bef23d49a7ca8ec32f4b9e4e12588621
>Author: Dmitry Kravkov <dmitry@broadcom.com>
>Date:   Sun Oct 28 21:59:04 2012 +0000
>
>    bnx2x: fix HW initialization using fw 7.8.x
>    
>    Since commit 96bed4b9 (use FW 7.8.2) BRB HW block needs to be
>    initialized using fw values for all devices.
>    Otherwise ETS on 57712/578xx will not work.
>    
>    Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
>    Signed-off-by: Ariel Elior <ariele@broadcom.com>
>    Signed-off-by: David S. Miller <davem@davemloft.net>

This patch will land in 3.7, it was added in Linux 3.7-rc4.

Could you try the patch (apply to 3.6.6) I will attach after this comment?
Comment 2 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2012-11-28 15:16:47 UTC
Created attachment 330833 [details]
2b674047bef23d49a7ca8ec32f4b9e4e12588621.patch
Comment 3 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-03-06 11:13:37 UTC
Please reopen if the above patch that is present in recent kernels did not fix it for you.
Comment 4 schmitt953 2013-04-12 02:37:29 UTC
I had the same problem in 3.7.5-hardened-r1 The error message in kern.log is: bnx2: Can't load firmware file "bnx2/bnx2-mips-06-6.2.3.fw" The firmware shipped with the kernel is not version 6.2.3 and is in fact an older version. Please reopen the bug.
Comment 5 Anthony Basile gentoo-dev 2013-04-12 09:03:56 UTC
(In reply to comment #4)
> I had the same problem in 3.7.5-hardened-r1 The error message in kern.log
> is: bnx2: Can't load firmware file "bnx2/bnx2-mips-06-6.2.3.fw" The firmware
> shipped with the kernel is not version 6.2.3 and is in fact an older
> version. Please reopen the bug.

Install sys-kernel/linux-firmware and you should be fine.  We were not able to convince upstream to do the obvious thing.