missing firmware for Brocade HBA

ashes

Member
Feb 1, 2010
33
0
6
root@server:~# update-initramfs -u
update-initramfs: Generating /boot/initrd.img-2.6.32-20-pve
W: Possible missing firmware /lib/firmware/ct2fw.bin for module bfa
W: Possible missing firmware /lib/firmware/ctfw.bin for module bfa
W: Possible missing firmware /lib/firmware/cbfw.bin for module bfa
root@server:~# aptitude install firmware-linux-nonfree
The following NEW packages will be installed:
firmware-linux-nonfree
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 978 kB of archives. After unpacking 2,162 kB will be used.
The following packages have unmet dependencies:
pve-firmware : Conflicts: firmware-linux-nonfree but 0.38~bpo70+1 is to be installed.
The following actions will resolve these dependencies:


Remove the following packages:
1) proxmox-ve-2.6.32
2) pve-firmware






Accept this solution? [Y/n/q/?]



http://wiki.debian.org/Firmware

.
.
.
bfa.koBrocade Fibre Channel HBA Driver fcpimcbfw.bin
ct2fw.bin
ctfw.bin


this is my old post here...
http://forum.proxmox.com/threads/8450-Missing-firmware-after-last-kernel-update
 
we maintain our own firmware package, you cannot install the firmware-linux-nonfree.

see this info about the current status and version of these packages (kernel and firmware from pvetest):

Code:
root@hp1:~# uname -a
Linux hp1 2.6.32-21-pve #1 SMP Tue Jul 2 17:01:15 CEST 2013 x86_64 GNU/Linux
root@hp1:~# modinfo bfa
filename:       /lib/modules/2.6.32-21-pve/kernel/drivers/scsi/bfa/bfa.ko
version:        3.0.23.0
author:         Brocade Communications Systems, Inc.
description:    Brocade Fibre Channel HBA Driver fcpim
license:        GPL
firmware:       ct2fw-3.0.3.1.bin
firmware:       ctfw-3.0.3.1.bin
firmware:       cbfw-3.0.3.1.bin
srcversion:     CDA17741BE069C17A912BDB
alias:          pci:v00001657d00000022sv*sd*bc0Csc04i00*
alias:          pci:v00001657d00000021sv*sd*bc0Csc04i00*
alias:          pci:v00001657d00000014sv*sd*bc0Csc04i00*
alias:          pci:v00001657d00000017sv*sd*bc*sc*i*
alias:          pci:v00001657d00000013sv*sd*bc*sc*i*
depends:        scsi_transport_fc
vermagic:       2.6.32-21-pve SMP mod_unload modversions
parm:           os_name:OS name of the hba host machine (charp)
parm:           os_patch:OS patch level of the hba host machine (charp)
parm:           host_name:Hostname of the hba host machine (charp)
parm:           num_rports:Max number of rports supported per port (physical/logical), default=1024 (int)
parm:           num_ios:Max number of ioim requests, default=2000 (int)
parm:           num_tms:Max number of task im requests, default=128 (int)
parm:           num_fcxps:Max number of fcxp requests, default=64 (int)
parm:           num_ufbufs:Max number of unsolicited frame buffers, default=64 (int)
parm:           reqq_size:Max number of request queue elements, default=256 (int)
parm:           rspq_size:Max number of response queue elements, default=64 (int)
parm:           num_sgpgs:Number of scatter/gather pages, default=2048 (int)
parm:           rport_del_timeout:Rport delete timeout, default=90 secs, Range[>0] (int)
parm:           bfa_lun_queue_depth:Lun queue depth, default=32, Range[>0] (int)
parm:           bfa_io_max_sge:Max io scatter/gather elements, default=255 (int)
parm:           bfa_log_level:Driver log level, default=3, Range[Critical:1|Error:2|Warning:3|Info:4] (int)
parm:           ioc_auto_recover:IOC auto recovery, default=1, Range[off:0|on:1] (int)
parm:           bfa_linkup_delay:Link up delay, default=30 secs for boot port. Otherwise 10 secs in RHEL4 & 0 for [RHEL5, SLES10, ESX40] Range[>0] (int)
parm:           msix_disable_cb:Disable Message Signaled Interrupts for Brocade-415/425/815/825 cards, default=0,  Range[false:0|true:1] (int)
parm:           msix_disable_ct:Disable Message Signaled Interrupts if possible for Brocade-1010/1020/804/1007/902/1741 cards, default=0, Range[false:0|true:1] (int)
parm:           fdmi_enable:Enables fdmi registration, default=1, Range[false:0|true:1] (int)
parm:           pcie_max_read_reqsz:PCIe max read request size, default=0 (use system setting), Range[128|256|512|1024|2048|4096] (int)
parm:           bfa_debugfs_enable:Enables debugfs feature, default=1, Range[false:0|true:1] (int)
parm:           max_xfer_size:default=32MB, Range[64k|128k|256k|512k|1024k|2048k] (int)
root@hp1:~#

please test this kernel/firmware.
 
still missing...

root@server:~# uname -a
Linux server 2.6.32-21-pve #1 SMP Tue Jul 2 17:01:15 CEST 2013 x86_64 GNU/Linux

root@server:~# update-initramfs -u
update-initramfs: Generating /boot/initrd.img-2.6.32-21-pve
W: Possible missing firmware /lib/firmware/ct2fw-3.0.3.1.bin for module bfa
W: Possible missing firmware /lib/firmware/ctfw-3.0.3.1.bin for module bfa
W: Possible missing firmware /lib/firmware/cbfw-3.0.3.1.bin for module bfa

root@server:~# modinfo bfa
filename: /lib/modules/2.6.32-21-pve/kernel/drivers/scsi/bfa/bfa.ko
version: 3.0.23.0
author: Brocade Communications Systems, Inc.
description: Brocade Fibre Channel HBA Driver fcpim
license: GPL
firmware: ct2fw-3.0.3.1.bin
firmware: ctfw-3.0.3.1.bin
firmware: cbfw-3.0.3.1.bin
srcversion: CDA17741BE069C17A912BDB
alias: pci:v00001657d00000022sv*sd*bc0Csc04i00*
alias: pci:v00001657d00000021sv*sd*bc0Csc04i00*
alias: pci:v00001657d00000014sv*sd*bc0Csc04i00*
alias: pci:v00001657d00000017sv*sd*bc*sc*i*
alias: pci:v00001657d00000013sv*sd*bc*sc*i*
depends: scsi_transport_fc
vermagic: 2.6.32-21-pve SMP mod_unload modversions
parm: os_name:OS name of the hba host machine (charp)
parm: os_patch:OS patch level of the hba host machine (charp)
parm: host_name:Hostname of the hba host machine (charp)
parm: num_rports:Max number of rports supported per port (physical/logical), default=1024 (int)
parm: num_ios:Max number of ioim requests, default=2000 (int)
parm: num_tms:Max number of task im requests, default=128 (int)
parm: num_fcxps:Max number of fcxp requests, default=64 (int)
parm: num_ufbufs:Max number of unsolicited frame buffers, default=64 (int)
parm: reqq_size:Max number of request queue elements, default=256 (int)
parm: rspq_size:Max number of response queue elements, default=64 (int)
parm: num_sgpgs:Number of scatter/gather pages, default=2048 (int)
parm: rport_del_timeout:Rport delete timeout, default=90 secs, Range[>0] (int)
parm: bfa_lun_queue_depth:Lun queue depth, default=32, Range[>0] (int)
parm: bfa_io_max_sge:Max io scatter/gather elements, default=255 (int)
parm: bfa_log_level:Driver log level, default=3, Range[Critical:1|Error:2|Warning:3|Info:4] (int)
parm: ioc_auto_recover:IOC auto recovery, default=1, Range[off:0|on:1] (int)
parm: bfa_linkup_delay:Link up delay, default=30 secs for boot port. Otherwise 10 secs in RHEL4 & 0 for [RHEL5, SLES10, ESX40] Range[>0] (int)
parm: msix_disable_cb:Disable Message Signaled Interrupts for Brocade-415/425/815/825 cards, default=0, Range[false:0|true:1] (int)
parm: msix_disable_ct:Disable Message Signaled Interrupts if possible for Brocade-1010/1020/804/1007/902/1741 cards, default=0, Range[false:0|true:1] (int)
parm: fdmi_enable:Enables fdmi registration, default=1, Range[false:0|true:1] (int)
parm: pcie_max_read_reqsz:pCIe max read request size, default=0 (use system setting), Range[128|256|512|1024|2048|4096] (int)
parm: bfa_debugfs_enable:Enables debugfs feature, default=1, Range[false:0|true:1] (int)
parm: max_xfer_size:default=32MB, Range[64k|128k|256k|512k|1024k|2048k] (int)

root@server:~# dpkg -l pve-firmware
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-===================================================-==============================-==============================
ii pve-firmware 1.0-23 all Binary firmware code for the pve-kernel
 
root@server:~# update-initramfs -u
update-initramfs: Generating /boot/initrd.img-2.6.32-20-pve
W: Possible missing firmware /lib/firmware/ct2fw.bin for module bfa
W: Possible missing firmware /lib/firmware/ctfw.bin for module bfa
W: Possible missing firmware /lib/firmware/cbfw.bin for module bfa
root@server:~# aptitude install firmware-linux-nonfree
The following NEW packages will be installed:
firmware-linux-nonfree
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 978 kB of archives. After unpacking 2,162 kB will be used.
The following packages have unmet dependencies:
pve-firmware : Conflicts: firmware-linux-nonfree but 0.38~bpo70+1 is to be installed.
The following actions will resolve these dependencies:


Remove the following packages:
1) proxmox-ve-2.6.32
2) pve-firmware






Accept this solution? [Y/n/q/?]



http://wiki.debian.org/Firmware

.
.
.
bfa.koBrocade Fibre Channel HBA Driver fcpimcbfw.bin
ct2fw.bin
ctfw.bin


...

these firmware files are not available in the net. your links do not point to these files.
also the Debian package firmware-linux-nonfree does not contain them (afaik).
 
We have exactly the same issue right now. We have the firmware (http://rpmfind.net/linux/rpm2html/search.php?query=bfa-firmware) - we used the latest CentOS 6.6 package, extracted it with rpm2cpio and copied to /lib/firmware, we've confirmed it all works, just not at boot time. Even though we've told it to update the initramfs it still complains about missing firmware. We can do: modprbe -r bna; modprobe bna after it has booted and all is good.

We have a lot of boxes with these adaptors so for us it's essential to get them to work if we're to consider Proxmox to replace other systems.

Thanks.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!