Broadcom BCM4306 wireless - bwi_v3_pcm4, firmware table full!



  • I can't seem to find the correct module/driver for my card. When I enable this interface all hell breaks lose. Upgrading to 2.0.3 causes system to crash/reboot upon loading WLAN…

    any help would be greatly appreciated.

    uname -a
    FreeBSD pfSense.localdomain 8.1-RELEASE-p13 FreeBSD 8.1-RELEASE-p13 #0: Fri Dec  7 23:04:01 EST 2012    root@snapshots-8_1-amd64.builders.pfsense.org:/usr/obj./usr/pfSensesrc/src/sys/pfSense_SMP.8  amd64

    dmesg
    pci5: <acpi pci="" bus="">on pcib1
    bwi0: <broadcom bcm4306="" 802.11b="" g="" wireless="" lan="">mem 0xd4004000-0xd4005fff irq 17 at device 7.0 on pci5
    bwi0: [ITHREAD]
    bwi0: BBP: id 0x4306, rev 0x2, pkg 0
    bwi0: MAC: rev 4
    bwi0: PHY: type 2, rev 1, ver 1
    bwi0: RF: manu 0x17f, type 0x2050, rev 2
    bwi0: invalid antenna gain in sprom
    bwi0: WARNING: using obsoleted if_watchdog interface
    pci5: <network, ethernet="">at device 8.0 (no driver attached)
    …..........................
    firmware_register: cannot register image bwi_v3_pcm4, firmware table full!
    module_register_init: MOD_LOAD (bwi_v3_ucode_fw, 0xffffffff81622000, 0) error 6
    bwi_v3_ucode: firmware image loaded, but did not register
    bwi0: request firmware bwi_v3_ucode failed
    bwi0: bwi_init_statechg: error 12 on MAC init

    pciconf -lvcb
    bwi0@pci0:5:7:0: class=0x028000 card=0x00131737 chip=0x432014e4 rev=0x02 hdr=0x00
        class      = network
        bar  [10] = type Memory, range 32, base 0xd4004000, size 8192, enabled
        cap 01[40] = powerspec 2  supports D0 D1 D2 D3  current D0

    ps: also annoying is this > ipw_monitor: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf.</network,></broadcom></acpi>


  • Netgate Administrator

    The bwi(4) driver certainly looks like the correct one for that card. Are those messages from normal boot up sequence? What else have you tried?

    @n00balert:

    ps: also annoying is this > ipw_monitor: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf.

    Like it says just add the acknowledgement line to /boot/loader.conf.local.
    From the command line:

    echo 'legal.intel_ipw.license_ack=1' > /boot/loader.conf.local
    

    That will create the file. It will also overwrite any existing file so if you've already made some custom loader changes just add the line manually.

    Steve



  • Hi Steve, thanks for replying. I haven't tried anything. yes, those messages appear at boot up…I don't want to enable the interface anymore until a proper module/driver is found...

    did you mean /boot/loader.conf OR /boot/loader.conf.local ?


  • Netgate Administrator

    I meant loader.conf.local.
    That file is copied across firmware updates where as the loader.conf file may be re-written. The idea is separate your own local changes while keeping loader.conf standard.

    Steve


  • Netgate Administrator

    Googling these errors the 'firmware table full' appears to be exclusive to pfSense. Also in this thread it was never resolved. I wonder of the firmware module is being built incorrectly?
    You could perhaps try overriding the in kernel module by loading something at boot time instead?

    In fact maybe the module is not in kernel at all and the error is misleading. Try adding this to /boot/loader.conf.local

    bwi_v3_ucode_load="YES"
    

    The module is already present in /boot/modules.

    Steve



  • Hi Steve,

    bwi_3 module can't load driver for this card, firmware table is full…when I run kldstat I see it loaded.

    I have googled and went thru these forums but there aren't any clear answers on this card, some have suggested using NDISwrapper but I'm unsure of how to go about it...also rebuilding my own kernel is also an option but I don't see much help on it either...I have spent a few hours trying to solve this problem but nothing yet...I don't think it's a big deal...I just need to be pointed in the right direction...

    thanks!



  • hey steve, thanks for trying to help. I realized it's a fruitless effort.

    cheers.



  • @stephenw10:

    I wonder of the firmware module is being built incorrectly?

    None of my systems has any trouble with the firmware for the run device (only one firmware file).

    @n00balert:

    firmware_register: cannot register image bwi_v3_pcm4, firmware table full!
    module_register_init: MOD_LOAD (bwi_v3_ucode_fw, 0xffffffff81622000, 0) error 6
    bwi_v3_ucode: firmware image loaded, but did not register
    bwi0: request firmware bwi_v3_ucode failed
    bwi0: bwi_init_statechg: error 12 on MAC init

    Perhaps bwi needs two or more "firmware" files (at least bwi_v3_ucode and bwi_v3_pcm4) and the firmware table is built for only one entry.


  • Netgate Administrator

    This post may offer some clue:
    http://forums.freebsd.org/showpost.php?p=113500&postcount=227
    But doesn't help us here much!
    This post is also interesting: http://forums.freebsd.org/showthread.php?t=10921
    Particularly this:

    bhavesh: bhavesh# dmesg | grep bwi
    Preloaded elf module "/boot/modules/bwi_v3_ucode.ko" at 0xc0f90284.
    firmware: 'bwi_v3_ucode' version 0: 0 bytes loaded at 0xc0f763d4
    firmware: 'bwi_v3_ucode11' version 0: 21680 bytes loaded at 0xc0f763d4
    firmware: 'bwi_v3_ucode2' version 0: 16360 bytes loaded at 0xc0f7b884
    firmware: 'bwi_v3_ucode4' version 0: 20096 bytes loaded at 0xc0f7f86c
    firmware: 'bwi_v3_ucode5' version 0: 22280 bytes loaded at 0xc0f846ec
    firmware: 'bwi_v3_a0g0bsinitvals2' version 0: 18 bytes loaded at 0xc0f89df4
    firmware: 'bwi_v3_a0g0bsinitvals5' version 0: 158 bytes loaded at 0xc0f89e06
    firmware: 'bwi_v3_a0g0initvals2' version 0: 2520 bytes loaded at 0xc0f89ea4
    firmware: 'bwi_v3_a0g0initvals5' version 0: 1818 bytes loaded at 0xc0f8a87c
    firmware: 'bwi_v3_a0g1bsinitvals5' version 0: 158 bytes loaded at 0xc0f8af96
    firmware: 'bwi_v3_a0g1initvals5' version 0: 1818 bytes loaded at 0xc0f8b034
    firmware: 'bwi_v3_b0g0bsinitvals2' version 0: 18 bytes loaded at 0xc0f8b74e
    firmware: 'bwi_v3_b0g0bsinitvals5' version 0: 158 bytes loaded at 0xc0f8b760
    firmware: 'bwi_v3_b0g0initvals2' version 0: 2520 bytes loaded at 0xc0f8b7fe
    firmware: 'bwi_v3_b0g0initvals5' version 0: 1818 bytes loaded at 0xc0f8c1d6
    firmware: 'bwi_v3_pcm4' version 0: 1320 bytes loaded at 0xc0f8c8f0
    firmware: 'bwi_v3_pcm5' version 0: 1320 bytes loaded at 0xc0f8ce18

    Are we loading all those firmwares? Do we need to?
    Perhaps try booting in verbose mode and see if that reveals anything.  :-\

    Steve



  • Hi guys, thanks for trying to help. I was managed to get the card working by recompiling kernel in bsd 9.1 with bwi device. Now the challenge is to setup pfsense as a VM with wireless support.


Log in to reply