Ysurac / openmptcprouter

OpenMPTCProuter is an open source solution to aggregate multiple internet connections using Multipath TCP (MPTCP) on OpenWrt
https://www.openmptcprouter.com/
GNU General Public License v3.0
1.87k stars 271 forks source link

brcmfmac error #3526

Open bobradamus opened 2 months ago

bobradamus commented 2 months ago

Expected Behavior

After start-up no continuous errors

Current Behavior

continuous errors: [ 262.968760] brcmfmac: brcmf_dump_obss: dump_obss error (-52)

Possible Solution

no idea..

Steps to Reproduce the Problem

not able to list

Context (Environment)

Using Raspberry Pi5 on latest image from the repository ext4 image: openmptcprouter-v0.60-6.1-r0+24843-acf40c022e-bcm27xx-bcm2712-rpi-5-ext4-factory.img.gz

Specifications

[ 9.303555] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information. [ 9.311631] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld Jason@zx2c4.com. All Rights Reserved. [ 9.328305] brcmfmac mmc1:0001:2: no of_node; not parsing pinctrl DT [ 9.329393] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6 [ 9.338302] brcmfmac mmc1:0001:3: no of_node; not parsing pinctrl DT [ 9.338394] usbcore: registered new interface driver brcmfmac [ 9.344422] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,5-model-b.bin failed with error -2 [ 9.356356] brcmfmac mmc1:0001:1: Falling back to sysfs fallback for: brcm/brcmfmac43455-sdio.raspberrypi,5-model-b.bin [ 9.356451] usbcore: registered new interface driver cdc_mbim [ 9.373948] usbcore: registered new interface driver ipw [ 9.379562] usbserial: USB Serial support registered for IPWireless converter [ 9.387580] usbcore: registered new interface driver option [ 9.393425] usbserial: USB Serial support registered for GSM modem (1-port) [ 9.401233] usbcore: registered new interface driver qcserial [ 9.407260] usbserial: USB Serial support registered for Qualcomm USB modem [ 9.415713] usbcore: registered new interface driver rt2800usb [ 9.423076] usbcore: registered new interface driver rtl8192cu [ 9.430110] usbcore: registered new interface driver ath9k_htc [ 9.436983] kmodloader: done loading kernel modules from /etc/modules.d/* [ 9.503768] brcmfmac: brcmf_c_process_txcap_blob: no txcap_blob available (err=-2) [ 9.511865] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Jul 29 2022 02:15:20 version 7.45.250 (70e9766 CY) FWID 01-e53e306b [ 42.545289] macb 1f00100000.ethernet eth0: PHY [1f00100000.ethernet-ffffffff:01] driver [Broadcom BCM54213PE] (irq=POLL) [ 42.556479] macb 1f00100000.ethernet eth0: configuring for phy/rgmii-id link mode [ 42.566522] pps pps0: new PPS source ptp0 [ 42.570840] macb 1f00100000.ethernet: gem-ptp-timer ptp clock registered. [ 42.578972] device eth0 entered promiscuous mode [ 45.715702] macb 1f00100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off [ 45.724005] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 45.730882] IPv6: ADDRCONF(NETDEV_CHANGE): wan1: link becomes ready [ 45.737524] IPv6: ADDRCONF(NETDEV_CHANGE): wan2: link becomes ready [ 77.181754] ieee80211 phy0: brcmf_fw_crashed: Firmware has halted or crashed [ 79.634500] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout [ 79.640633] brcmfmac: brcmf_dump_obss: dump_obss error (-110) [ 79.734842] mmc1: card 0001 removed [ 79.966916] mmc1: new ultra high speed DDR50 SDIO card at address 0001 [ 79.973832] mmcblk mmc1:0001: no of_node; not parsing pinctrl DT [ 79.973987] brcmfmac mmc1:0001:2: no of_node; not parsing pinctrl DT [ 79.975191] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6 [ 79.984239] brcmfmac mmc1:0001:3: no of_node; not parsing pinctrl DT [ 79.984306] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,5-model-b.bin failed with error -2 [ 79.996340] brcmfmac mmc1:0001:1: Falling back to sysfs fallback for: brcm/brcmfmac43455-sdio.raspberrypi,5-model-b.bin [ 80.137203] brcmfmac: brcmf_c_process_txcap_blob: no txcap_blob available (err=-2) [ 80.145335] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Jul 29 2022 02:15:20 version 7.45.250 (70e9766 CY) FWID 01-e53e306b [ 84.016642] brcmfmac: brcmf_dump_obss: dump_obss error (-52) [ 85.083122] brcmfmac: brcmf_dump_obss: dump_obss error (-52) [ 86.141953] brcmfmac: brcmf_dump_obss: dump_obss error (-52) [ 87.198120] brcmfmac: brcmf_dump_obss: dump_obss error (-52)

bobradamus commented 2 months ago

in the directory: /lib/firmware/brcm added the missing symbolic link: ln -s ../cypress/cyfmac43455-sdio.bin brcmfmac43455-sdio.raspberrypi,4-model-b.bin

This now results in the following kernal output: [ 0.175189] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges: [ 0.175224] brcm-pcie fd500000.pcie: No bus range found for /scb/pcie@7d500000, using [bus 00-ff] [ 0.175274] brcm-pcie fd500000.pcie: MEM 0x0600000000..0x063fffffff -> 0x00c0000000 [ 0.175318] brcm-pcie fd500000.pcie: IB MEM 0x0000000000..0x01ffffffff -> 0x0400000000 [ 0.175821] brcm-pcie fd500000.pcie: setting SCB_ACCESS_EN, READ_UR_MODE, MAX_BURST_SIZE [ 0.176043] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00 [ 0.292526] brcm-pcie fd500000.pcie: link up, 5.0 GT/s PCIe x1 (SSC) [ 9.906376] brcmfmac mmc1:0001:1: no of_node; not parsing pinctrl DT [ 9.906478] brcmfmac mmc1:0001:2: no of_node; not parsing pinctrl DT [ 9.909437] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6 [ 9.918926] brcmfmac mmc1:0001:3: no of_node; not parsing pinctrl DT [ 9.919148] usbcore: registered new interface driver brcmfmac [ 10.115057] brcmfmac: brcmf_c_process_txcap_blob: no txcap_blob available (err=-2) [ 10.124108] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Jul 29 2022 02:15:20 version 7.45.250 (70e9766 CY) FWID 01-e53e306b

So, still an error: brcmfmac: brcmf_c_process_txcap_blob: no txcap_blob available (err=-2)

I also still get the constant error on the screen whenever I'm looking at the graphs on: Network > MPTCP > Bandwidth > Real-time graphs:-

[ 1508.745037] brcmfmac: brcmf_dump_obss: dump_obss error (-52) [ 1509.881126] brcmfmac: brcmf_dump_obss: dump_obss error (-52)

Ysurac commented 2 months ago

What version of OpenMPTCProuter are you using ? This should be fixed in v0.61rc1.

AndrewDufresne commented 1 month ago

Same issue for me as well. brcmfmac: brcmf_c_process_txcap_blob: no txcap_blob available (err=-2)