Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 390225 - All kernels missing cbfw_fc.bin file.
Summary: All kernels missing cbfw_fc.bin file.
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-11 23:12 UTC by Marek Królikowski
Modified: 2011-11-13 04:58 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Królikowski 2011-11-11 23:12:45 UTC
After compile 2.6.32 and try modprobe bfa i get info:
Can't locate firmware cbfw_fc.bin
Can't locate firmware cbfw_fc.bin
so i change to newlatest version 3.X and got exacly this same error..


Reproducible: Always

Steps to Reproduce:
1. Compile kernel with bfa module
2. try modprobe bfa
3.
Actual Results:  
Can't locate firmware cbfw_fc.bin
Can't locate firmware cbfw_fc.bin

Expected Results:  
Start module without error

I check on webpage brocade there is source module on GPL licence who don`t need any firmware:
http://www.brocade.com/forms/getFile?p=documents/downloads/HBA/Linux/Drivers/NOARCH/brocade_driver_linux_v3-0-0-0.tar.gz

But when i try compile this module on kernel 3.X got errors:
POCZTA2 bfa # make
make -C /lib/modules/3.0.4-hardened-r4/build M=`pwd` CONFIG_DEBUG_INFO=
make[1]: Wej▒cie do katalogu `/usr/src/linux-3.0.4-hardened-r4'
  LD      /usr/src/bfa/built-in.o
  CC [M]  /usr/src/bfa/bfad.o
In file included from /usr/src/bfa/include/bfa/bfa.h:18:0,
                 from /usr/src/bfa/include/bfa/bfa_modules.h:17,
                 from /usr/src/bfa/bfad_drv.h:24,
                 from /usr/src/bfa/bfad.c:14:
/usr/src/bfa/include/aen/bfa_aen.h: In function 'bfa_aen_fetch_count':
/usr/src/bfa/include/aen/bfa_aen.h:70:2: warning: comparison of unsigned expression >= 0 is always true
/usr/src/bfa/bfad.c: In function 'bfad_register':
/usr/src/bfa/bfad.c:2016:2: error: assignment of read-only variable 'ipfc_ops'
/usr/src/bfa/bfad.c: In function 'bfad_unregister':
/usr/src/bfa/bfad.c:2051:2: warning: passing argument 1 of '__builtin_memset' discards qualifiers from pointer target type
/usr/src/bfa/bfad.c:2051:2: note: expected 'void *' but argument is of type 'const struct bfad_ipfc_ops *'
/usr/src/bfa/bfad.c: In function 'bfad_tm_register':
/usr/src/bfa/bfad.c:2106:2: error: assignment of read-only variable 'tm_ops'
/usr/src/bfa/bfad.c: In function 'bfad_tm_unregister':
/usr/src/bfa/bfad.c:2114:2: warning: passing argument 1 of '__builtin_memset' discards qualifiers from pointer target type
/usr/src/bfa/bfad.c:2114:2: note: expected 'void *' but argument is of type 'const struct bfad_tm_ops_s *'
make[2]: *** [/usr/src/bfa/bfad.o] error 1
make[1]: *** [_module_/usr/src/bfa] error 2
make[1]: Opuszczenie katalogu `/usr/src/linux-3.0.4-hardened-r4'
make: *** [all] error 2


For now i can`t mount my EMC storage...
Any solution? i don`t want download cbfw_fc.bin from other distro....

Thanks
Comment 1 Rafał Mużyło 2011-11-12 02:53:25 UTC
It would have been nice of you if you had at very least named the kernel option in question.

Now, on the site, you've mentioned, there are at least two more link:
http://www.brocade.com/forms/getFile?p=documents/downloads/HBA/Linux/Drivers/NOARCH/bfa_firmware_linux-2.3.2.3-0.src.rpm
http://www.brocade.com/forms/getFile?p=documents/downloads/HBA/Linux/Drivers/NOARCH/bfa_firmware_linux-3.0.0.0-0.tgz

The first surprise: there's a "cbfw.bin" file in the first archive (as seemingly required by 3.1 kernel).
The second surprise: there's a "cbfw_fc.bin" file in the second archive (probably required by older kernels).

Thank you.
Comment 2 Rafał Mużyło 2011-11-12 02:54:59 UTC
A typo: switch the order of archives.
Comment 3 Marek Królikowski 2011-11-12 20:37:12 UTC
SO mayby we add new ebuild name: bfa-firmware or something like this with this firmware? i see other distro got package like this so mayby we add to gentoo too?
Comment 4 Rafał Mużyło 2011-11-13 04:58:26 UTC
You'd need a maintainer a maintainer for this and unless I'm missing something, the license is an EULA (at least the links suggest so).

Given the above, unless one of the devs has the hardware, quite unlikely.