Enabling integrated adapter + USB Wi-Fi adapter for Raspberry pi 4 B simultaneously does not work

I had found and worked through Wi-Fi adapter for Raspberry pi 4 B

Im using: Rpi4 < $(community_build) - #1664 by swanson

This is my wireless config:

config wifi-device 'radio0'
        option type 'mac80211'
        option path 'scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1:1.0'
        option channel '36'
        option band '5g'
        option htmode 'VHT80'
        option disabled '0'
        option cell_density '0'

config wifi-iface 'default_radio0'
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option ssid 'wifi0'
        option encryption 'psk2'
        option key 'dadadadad1313131'

config wifi-device 'radio1'
        option type 'mac80211'
        option path 'platform/soc/fe300000.mmcnr/mmc_host/mmc1/mmc1:0001/mmc1:0001:1'
        option disabled '0'
        option band '2g'
        option channel 'auto'
        option cell_density '0'
        option country 'DE'

config wifi-iface 'default_radio1'
        option device 'radio1'
        option network 'lan'
        option mode 'ap'
        option ssid 'wifi1'
        option encryption 'psk2'
        option key 'dadadadada132131'

ssid wifi0 is discoverable and working fine but wifi1 is not. If I check in luci, its status keeps getting set to "disabled" quickly after doing wifi down; wifi up.

What am I missing here? I want both the MediaTek usb wifi dongle (running on 5g) as well as the integrated one (running on 24g) activated. The reason for this is, that I have two devices in my wifi (printer) which only supports 24g but I do want to use 5g on all other devices, that support it which was the reason I had purchased the MediaTek dongle.

might be relevant Wireless AP on Raspberry Pi 4B not working - #3 by cesarvog

I mean I had the wifi running before (on the integrated adapter), never used raspi config, went straight to wulfys community build. - Now after I had plugged in the MediaTek dongle, the integrated one stopped working. - Even if I disable wifi0 (which apparently is the usb dongle) and try to only use the integrated one mapped to wifi1 it will not work (keeps disabling itself).

Also I would probably have to install drivers for that usb dongle (which already works) on RaspOS and after that set the country. It doesn't make much sense to me as the dongle already works and if I disconnect the dongle the integrated one works again as well, they just dont work both at the same time.

Okay, so I flashed RPI OS, set the wifi country with the MediaTek dongle connected, reset the wifi settings once again, put back the openwrt sd card,
but still the same problem so it must be something else.

Alright enabled logging for wifi and was able to fetch the following:

Sat Nov 27 01:23:22 2021 daemon.notice netifd: Wireless device 'radio1' is now up
Sat Nov 27 01:23:29 2021 daemon.notice hostapd: ACS: Survey is missing channel time
Sat Nov 27 01:23:29 2021 daemon.notice hostapd: ACS: Survey is missing RX and busy time (at least one is required)
Sat Nov 27 01:23:29 2021 daemon.notice hostapd: ACS: Survey is missing channel time
Sat Nov 27 01:23:29 2021 daemon.notice hostapd: ACS: Survey is missing RX and busy time (at least one is required)
Sat Nov 27 01:23:29 2021 daemon.notice hostapd: ACS: Survey is missing channel time
Sat Nov 27 01:23:29 2021 daemon.notice hostapd: ACS: Survey is missing RX and busy time (at least one is required)
Sat Nov 27 01:23:29 2021 daemon.notice hostapd: ACS: Survey is missing channel time
Sat Nov 27 01:23:29 2021 daemon.notice hostapd: ACS: Survey is missing RX and busy time (at least one is required)
Sat Nov 27 01:23:29 2021 daemon.notice hostapd: ACS: Survey is missing channel time
Sat Nov 27 01:23:29 2021 daemon.notice hostapd: ACS: Survey is missing RX and busy time (at least one is required)
Sat Nov 27 01:23:29 2021 daemon.notice hostapd: ACS: Survey is missing channel time
Sat Nov 27 01:23:29 2021 daemon.notice hostapd: ACS: Survey is missing RX and busy time (at least one is required)
Sat Nov 27 01:23:29 2021 daemon.notice hostapd: ACS: Survey is missing channel time
Sat Nov 27 01:23:29 2021 daemon.notice hostapd: ACS: Survey is missing RX and busy time (at least one is required)
Sat Nov 27 01:23:29 2021 daemon.notice hostapd: ACS: Survey is missing channel time
Sat Nov 27 01:23:29 2021 daemon.notice hostapd: ACS: Survey is missing RX and busy time (at least one is required)
Sat Nov 27 01:23:29 2021 daemon.notice hostapd: ACS: Survey is missing channel time
Sat Nov 27 01:23:29 2021 daemon.notice hostapd: ACS: Survey is missing RX and busy time (at least one is required)
Sat Nov 27 01:23:29 2021 daemon.notice hostapd: ACS: Survey is missing channel time
Sat Nov 27 01:23:29 2021 daemon.notice hostapd: ACS: Survey is missing RX and busy time (at least one is required)
Sat Nov 27 01:23:29 2021 daemon.notice hostapd: ACS: Survey is missing channel time
Sat Nov 27 01:23:29 2021 daemon.notice hostapd: ACS: Survey is missing RX and busy time (at least one is required)
Sat Nov 27 01:23:29 2021 daemon.notice hostapd: ACS: Survey is missing channel time
Sat Nov 27 01:23:29 2021 daemon.notice hostapd: ACS: Survey is missing RX and busy time (at least one is required)
Sat Nov 27 01:23:29 2021 daemon.notice hostapd: ACS: Survey is missing channel time
Sat Nov 27 01:23:29 2021 daemon.notice hostapd: ACS: Survey is missing RX and busy time (at least one is required)
Sat Nov 27 01:23:29 2021 daemon.notice hostapd: ACS: Survey is missing channel time
Sat Nov 27 01:23:29 2021 daemon.notice hostapd: ACS: Survey is missing RX and busy time (at least one is required)
Sat Nov 27 01:23:29 2021 daemon.notice hostapd: ACS: Survey is missing channel time
Sat Nov 27 01:23:29 2021 daemon.notice hostapd: ACS: Survey is missing RX and busy time (at least one is required)
Sat Nov 27 01:23:29 2021 daemon.notice hostapd: ACS: Survey is missing channel time
Sat Nov 27 01:23:29 2021 daemon.notice hostapd: ACS: Survey is missing RX and busy time (at least one is required)
Sat Nov 27 01:23:29 2021 daemon.notice hostapd: ACS: Survey is missing channel time
Sat Nov 27 01:23:29 2021 daemon.notice hostapd: ACS: Survey is missing RX and busy time (at least one is required)
Sat Nov 27 01:23:29 2021 daemon.notice hostapd: ACS: Survey is missing channel time
Sat Nov 27 01:23:29 2021 daemon.notice hostapd: ACS: Survey is missing RX and busy time (at least one is required)
Sat Nov 27 01:23:29 2021 daemon.notice hostapd: ACS: Survey is missing channel time
Sat Nov 27 01:23:29 2021 daemon.notice hostapd: ACS: Survey is missing RX and busy time (at least one is required)
Sat Nov 27 01:23:29 2021 daemon.notice hostapd: ACS: Survey is missing channel time
Sat Nov 27 01:23:29 2021 daemon.notice hostapd: ACS: Survey is missing RX and busy time (at least one is required)
Sat Nov 27 01:23:29 2021 daemon.notice hostapd: ACS: Survey is missing channel time
Sat Nov 27 01:23:29 2021 daemon.notice hostapd: ACS: Survey is missing RX and busy time (at least one is required)
Sat Nov 27 01:23:29 2021 daemon.notice hostapd: ACS: Survey is missing channel time
Sat Nov 27 01:23:29 2021 daemon.notice hostapd: ACS: Survey is missing RX and busy time (at least one is required)
Sat Nov 27 01:23:29 2021 daemon.notice hostapd: ACS: Survey is missing channel time
Sat Nov 27 01:23:29 2021 daemon.notice hostapd: ACS: Survey is missing RX and busy time (at least one is required)
Sat Nov 27 01:23:29 2021 daemon.notice hostapd: wlan1: ACS-COMPLETED freq=2412 channel=1
Sat Nov 27 01:23:29 2021 daemon.err hostapd: Failed to initialize QoS Map
Sat Nov 27 01:23:29 2021 daemon.warn hostapd: wlan1: Could not connect to kernel driver
Sat Nov 27 01:23:29 2021 daemon.err hostapd: Interface initialization failed
Sat Nov 27 01:23:29 2021 daemon.notice hostapd: wlan1: interface state ACS->DISABLED
Sat Nov 27 01:23:29 2021 daemon.notice hostapd: wlan1: AP-DISABLED
Sat Nov 27 01:23:29 2021 daemon.err hostapd: ACS: Possibly channel configuration is invalid, please report this along with your config file.
Sat Nov 27 01:23:29 2021 daemon.err hostapd: ACS: Failed to start
Sat Nov 27 01:23:29 2021 daemon.notice hostapd: wlan1: AP-DISABLED
Sat Nov 27 01:23:29 2021 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan1 wasn't started
Sat Nov 27 01:23:29 2021 daemon.notice hostapd: nl80211: deinit ifname=wlan1 disabled_11b_rates=0
Sat Nov 27 01:23:29 2021 kern.info kernel: [  476.779528] device wlan1 left promiscuous mode
Sat Nov 27 01:23:29 2021 kern.info kernel: [  476.785160] br-lan: port 2(wlan1) entered disabled state
Sat Nov 27 01:23:30 2021 daemon.notice hostapd: wlan1: interface state DISABLED->DISABLED

dmesg

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd083]
[    0.000000] Linux version 5.10.80 (builder@buildhost) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 11.2.0 r18161-00ce13490a) 11.2.0, GNU ld (GNU Binutils) 2.37) #0 SMP Sun Nov 21 17:18:01 2021
[    0.000000] Machine model: Raspberry Pi 4 Model B Rev 1.4
[    0.000000] Reserved memory: created CMA memory pool at 0x000000002ac00000, size 64 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x000000003fffffff]
[    0.000000]   DMA32    [mem 0x0000000040000000-0x000000007fffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000003b3fffff]
[    0.000000]   node   0: [mem 0x0000000040000000-0x000000007fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000] On node 0 totalpages: 504832
[    0.000000]   DMA zone: 3792 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 242688 pages, LIFO batch:63
[    0.000000]   DMA32 zone: 4096 pages used for memmap
[    0.000000]   DMA32 zone: 262144 pages, LIFO batch:63
[    0.000000] percpu: Embedded 21 pages/cpu s45336 r8192 d32488 u86016
[    0.000000] pcpu-alloc: s45336 r8192 d32488 u86016 alloc=21*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] CPU features: detected: Spectre-v2
[    0.000000] CPU features: detected: Spectre-v4
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 496944
[    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=984 bcm2708_fb.fbswap=1 smsc95xx.macaddr=E4:5F:01:3B:09:72 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyAMA0,115200 console=tty1 root=PARTUUID=07022009-02 rootfstype=squashfs,ext4 rootwait pci=pcie_bus_perf fsckparts
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0x0000000037400000-0x000000003b400000] (64MB)
[    0.000000] Memory: 1835656K/2019328K available (7806K kernel code, 892K rwdata, 2012K rodata, 448K init, 548K bss, 118136K reserved, 65536K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] random: get_random_bytes called from start_kernel+0x2d0/0x454 with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns
[    0.000006] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
[    0.000182] Console: colour dummy device 80x25
[    0.000475] printk: console [tty1] enabled
[    0.000512] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=540000)
[    0.000537] pid_max: default: 32768 minimum: 301
[    0.000696] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.000747] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.001391] cgroup: Disabling memory control group subsystem
[    0.002312] rcu: Hierarchical SRCU implementation.
[    0.002479] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[    0.002984] smp: Bringing up secondary CPUs ...
[    0.003382] Detected PIPT I-cache on CPU1
[    0.003446] CPU1: Booted secondary processor 0x0000000001 [0x410fd083]
[    0.003922] Detected PIPT I-cache on CPU2
[    0.003963] CPU2: Booted secondary processor 0x0000000002 [0x410fd083]
[    0.004412] Detected PIPT I-cache on CPU3
[    0.004452] CPU3: Booted secondary processor 0x0000000003 [0x410fd083]
[    0.004527] smp: Brought up 1 node, 4 CPUs
[    0.004582] SMP: Total of 4 processors activated.
[    0.004596] CPU features: detected: 32-bit EL0 Support
[    0.004611] CPU features: detected: CRC32 instructions
[    0.004679] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[    0.004697] CPU: All CPU(s) started at EL2
[    0.004729] alternatives: patching kernel code
[    0.012964] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.013013] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.014822] pinctrl core: initialized pinctrl subsystem
[    0.015887] NET: Registered protocol family 16
[    0.017487] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
[    0.017735] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.018220] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.018613] thermal_sys: Registered thermal governor 'step_wise'
[    0.018930] cpuidle: using governor ladder
[    0.018971] cpuidle: using governor menu
[    0.019208] ASID allocator initialised with 65536 entries
[    0.019293] Serial: AMBA PL011 UART driver
[    0.031643] bcm2835-mbox fe00b880.mailbox: mailbox enabled
[    0.050018] raspberrypi-firmware soc:firmware: Attached to firmware from 2021-10-19T11:50:10, variant start
[    0.060029] raspberrypi-firmware soc:firmware: Firmware hash is 0403e22018aafab833d0a16374ac773f66fd7be9
[    0.087959] bcm2835-dma fe007000.dma: DMA legacy API manager, dmachans=0x1
[    0.089868] SCSI subsystem initialized
[    0.090015] usbcore: registered new interface driver usbfs
[    0.090105] usbcore: registered new interface driver hub
[    0.090148] usbcore: registered new device driver usb
[    0.090278] usb_phy_generic phy: supply vcc not found, using dummy regulator
[    0.091486] clocksource: Switched to clocksource arch_sys_counter
[    0.094775] NET: Registered protocol family 2
[    0.095123] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.096902] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    0.096944] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.097079] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
[    0.097347] TCP: Hash tables configured (established 16384 bind 16384)
[    0.097552] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.097600] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.097787] NET: Registered protocol family 1
[    0.097826] PCI: CLS 0 bytes, default 64
[    0.099027] workingset: timestamp_bits=46 max_order=19 bucket_order=0
[    0.103025] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.170544] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.172707] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[    0.172741] brcm-pcie fd500000.pcie:   No bus range found for /scb/pcie@7d500000, using [bus 00-ff]
[    0.172780] brcm-pcie fd500000.pcie:      MEM 0x0600000000..0x063fffffff -> 0x00c0000000
[    0.172819] brcm-pcie fd500000.pcie:   IB MEM 0x0000000000..0x007fffffff -> 0x0400000000
[    0.233563] brcm-pcie fd500000.pcie: link up, 5.0 GT/s PCIe x1 (SSC)
[    0.233738] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[    0.233759] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.233778] pci_bus 0000:00: root bus resource [mem 0x600000000-0x63fffffff] (bus address [0xc0000000-0xffffffff])
[    0.233831] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
[    0.233911] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.237599] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
[    0.237679] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[    0.237859] pci 0000:01:00.0: PME# supported from D0 D3hot
[    0.241335] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
[    0.241358] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit]
[    0.241418] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.241434] pci 0000:00:00.0:   bridge window [mem 0x600000000-0x6000fffff]
[    0.241459] pci 0000:00:00.0: Max Payload Size set to  512/ 512 (was  128), Max Read Rq  512
[    0.241551] pci 0000:01:00.0: Max Payload Size set to  256/ 256 (was  256), Max Read Rq  256
[    0.241732] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
[    0.241860] pcieport 0000:00:00.0: PME: Signaling with IRQ 45
[    0.242086] pcieport 0000:00:00.0: AER: enabled with IRQ 45
[    0.242500] bcm2708_fb soc:fb: FB found 1 display(s)
[    0.268003] Console: switching to colour frame buffer device 228x61
[    0.278104] bcm2708_fb soc:fb: Registered framebuffer for display 0, size 1824x984
[    0.280478] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
[    0.281459] iproc-rng200 fe104000.rng: hwrng registered
[    0.281649] random: fast init done
[    0.281657] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[    0.282031] random: crng init done
[    0.282144] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
[    0.282460] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.289349] brd: module loaded
[    0.292820] loop: module loaded
[    0.293523] Loading iSCSI transport class v2.0-870.
[    0.295089] libphy: Fixed MDIO Bus: probed
[    0.295589] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000
[    0.311496] libphy: bcmgenet MII bus: probed
[    0.391545] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus
[    0.444214] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    0.444299] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[    0.444941] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x00000c0000000890
[    0.445738] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    0.445829] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.445906] usb usb1: Product: xHCI Host Controller
[    0.445961] usb usb1: Manufacturer: Linux 5.10.80 xhci-hcd
[    0.446022] usb usb1: SerialNumber: 0000:01:00.0
[    0.446423] hub 1-0:1.0: USB hub found
[    0.446534] hub 1-0:1.0: 1 port detected
[    0.447013] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    0.447082] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[    0.447170] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[    0.447451] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
[    0.447543] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.447618] usb usb2: Product: xHCI Host Controller
[    0.450207] usb usb2: Manufacturer: Linux 5.10.80 xhci-hcd
[    0.452763] usb usb2: SerialNumber: 0000:01:00.0
[    0.455597] hub 2-0:1.0: USB hub found
[    0.458157] hub 2-0:1.0: 4 ports detected
[    0.461426] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    0.464041] dwc_otg: FIQ enabled
[    0.464046] dwc_otg: NAK holdoff enabled
[    0.464052] dwc_otg: FIQ split-transaction FSM enabled
[    0.464060] Module dwc_common_port init
[    0.464356] usbcore: registered new interface driver uas
[    0.466901] usbcore: registered new interface driver usb-storage
[    0.469440] mousedev: PS/2 mouse device common for all mice
[    0.472491] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    0.476522] sdhci: Secure Digital Host Controller Interface driver
[    0.479008] sdhci: Copyright(c) Pierre Ossman
[    0.481922] mmc-bcm2835 fe300000.mmcnr: could not get clk, deferring probe
[    0.484882] Error: Driver 'sdhost-bcm2835' is already registered, aborting...
[    0.487439] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.492857] NET: Registered protocol family 10
[    0.494505] Segment Routing with IPv6
[    0.495821] NET: Registered protocol family 17
[    0.497091] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    0.498473] 8021q: 802.1Q VLAN Support v1.8
[    0.500110] Key type ._fscrypt registered
[    0.501592] Key type .fscrypt registered
[    0.502868] Key type fscrypt-provisioning registered
[    0.508487] uart-pl011 fe201000.serial: there is not valid maps for state default
[    0.509819] uart-pl011 fe201000.serial: cts_event_workaround enabled
[    0.511110] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 21, base_baud = 0) is a PL011 rev2
[    0.731482] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[    0.736768] printk: console [ttyAMA0] enabled
[    0.976464] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21
[    0.987320] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[    0.991670] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    0.991673] usb 1-1: Product: USB2.0 Hub
[    1.017452] hub 1-1:1.0: USB hub found
[    1.022947] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
[    1.034824] hub 1-1:1.0: 4 ports detected
[    1.040901] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
[    1.124922] usb 2-2: new SuperSpeed Gen 1 USB device number 2 using xhci_hcd
[    1.157860] of_cfs_init
[    1.227170] mmc0: SDHCI controller on fe340000.mmc [fe340000.mmc] using ADMA
[    1.229907] of_cfs_init: OK
[    1.301375] usb 2-2: New USB device found, idVendor=2357, idProduct=0601, bcdDevice=30.00
[    1.326136] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    1.329183] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=6
[    1.336747] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.338309] usb 2-2: Product: USB 10/100/1000 LAN
[    1.342914] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.346305] usb 2-2: Manufacturer: TP-LINK
[    1.353044] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    1.356212] usb 2-2: SerialNumber: 000001000000
[    1.361939] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.501479] usb 1-1.1: new high-speed USB device number 3 using xhci_hcd
[    1.559254] mmc1: new high speed SDIO card at address 0001
[    1.785582] usb 1-1.1: New USB device found, idVendor=0e8d, idProduct=7612, bcdDevice= 1.00
[    1.795302] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    1.796349] Waiting for root device PARTUUID=07022009-02...
[    1.803940] usb 1-1.1: Product: 802.11ac WLAN
[    1.816501] usb 1-1.1: Manufacturer: MediaTek Inc.
[    1.822599] usb 1-1.1: SerialNumber: 000000000
[    1.849493] mmc0: new ultra high speed DDR50 SDHC card at address aaaa
[    1.857891] mmcblk0: mmc0:aaaa SP32G 29.7 GiB
[    1.866128]  mmcblk0: p1 p2
[    1.900042] EXT4-fs (mmcblk0p2): mounted filesystem without journal. Opts: (null)
[    1.909323] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    1.918113] Freeing unused kernel memory: 448K
[    1.941658] Run /sbin/init as init process
[    1.948456]   with arguments:
[    1.948461]     /sbin/init
[    1.948467]     fsckparts
[    1.948471]   with environment:
[    1.948476]     HOME=/
[    1.948481]     TERM=linux
[    1.995742] init: Console is alive
[    2.001920] init: - watchdog -
[    2.383519] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    2.440101] Key type encrypted registered
[    2.454855] raid6: skip pq benchmark and using algorithm neonx8
[    2.462315] raid6: using neon recovery algorithm
[    2.471224] xor: measuring software checksum speed
[    2.479222]    8regs           :  5885 MB/sec
[    2.486420]    32regs          :  6769 MB/sec
[    2.493662]    arm64_neon      :  6672 MB/sec
[    2.499255] xor: using function: 32regs (6769 MB/sec)
[    2.543006] Btrfs loaded, crc32c=crc32c-generic
[    2.556662] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.565742] ehci-fsl: Freescale EHCI Host controller driver
[    2.573155] ehci-platform: EHCI generic platform driver
[    2.583474] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.591402] ohci-platform: OHCI generic platform driver
[    2.600610] uhci_hcd: USB Universal Host Controller Interface driver
[    2.614235] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    2.632722] init: - preinit -
[    2.715060] 79_move_config> BOOTPART: /dev/mmcblk0p1
[    2.956586] fsckparts bootpart:/dev/mmcblk0p1 [clean]
[    4.204724] fsckparts rootfspart:/dev/mmcblk0p2 [clean]
[    4.263555] bcmgenet fd580000.ethernet: configuring instance for external RGMII (RX delay)
[    4.274372] bcmgenet fd580000.ethernet eth0: Link is Down
[    7.355795] mount_root: mounting /dev/root
[    7.362712] EXT4-fs (mmcblk0p2): warning: mounting unchecked fs, running e2fsck is recommended
[    7.375521] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    7.382431] mount_root: loading kmods from internal overlay
[    7.408215] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[    7.418001] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[    7.472008] block: attempting to load /etc/config/fstab
[    7.482289] block: extroot: device not present, retrying in 5 seconds
[    8.471691] bcmgenet fd580000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    8.482535] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   12.511114] block: extroot: cannot find device with UUID 061525fe-9ae7-46a0-927d-d33c64c030aa
[   12.547538] 79_move_config> BOOTPART: /dev/mmcblk0p1 /boot/sysupgrade.tgz [nope]
[   12.557033] urandom-seed: Seeding with /etc/urandom.seed
[   12.693507] bcmgenet fd580000.ethernet eth0: Link is Down
[   12.704264] procd: - early -
[   12.708827] procd: - watchdog -
[   13.244821] procd: - watchdog -
[   13.252121] procd: - ubus -
[   13.308048] procd: - init -
[   13.315550] uart-pl011 fe201000.serial: no DMA platform data
[   14.898990] kmodloader: loading kernel modules from /etc/modules.d/*
[   14.925685] NET: Registered protocol family 38
[   14.941568] device-mapper: ioctl: 4.43.0-ioctl (2020-10-01) initialised: dm-devel@redhat.com
[   14.969386] Key type cifs.idmap registered
[   14.997246] tun: Universal TUN/TAP device driver, 1.6
[   15.012988] ipip: IPv4 and MPLS over IPv4 tunneling driver
[   15.024725] l2tp_core: L2TP core driver, V2.0
[   15.031163] l2tp_netlink: L2TP netlink interface
[   15.040219] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[   15.053791] gre: GRE over IPv4 demultiplexor driver
[   15.061019] ip_gre: GRE over IPv4 tunneling driver
[   15.071191] ip6_gre: GRE over IPv6 tunneling driver
[   15.109747] cryptodev: driver 1.12 loaded.
[   15.121107] i2c /dev entries driver
[   15.139465] hid: raw HID events driver (C) Jiri Kosina
[   15.146973] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[   15.162292] GACT probability on
[   15.167403] Mirror/redirect action on
[   15.176082] u32 classifier
[   15.180300]     input device check on
[   15.185372]     Actions configured
[   15.199644] Simple TC action Loaded
[   15.215111] fuse: init (API version 7.32)
[   15.250984] Bridge firewalling registered
[   15.258856] usbcore: registered new interface driver cdc_acm
[   15.266105] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[   15.276877] usbcore: registered new interface driver cdc_wdm
[   15.284882] Loading modules backported from Linux version v5.15-rc6-0-g519d81956ee2
[   15.293948] Backport generated by backports.git v5.15-rc6-1-0-gd44432d6
[   15.329048] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver
[   15.337954] usbcore: registered new interface driver pegasus
[   15.348299] usbcore: registered new interface driver r8152
[   15.358043] usbcore: registered new interface driver rtl8150
[   15.367488] usbcore: registered new interface driver ums-alauda
[   15.375718] usbcore: registered new interface driver ums-cypress
[   15.383551] usbcore: registered new interface driver ums-datafab
[   15.391535] usbcore: registered new interface driver ums-freecom
[   15.399424] usbcore: registered new interface driver ums-isd200
[   15.407311] usbcore: registered new interface driver ums-jumpshot
[   15.415119] usbcore: registered new interface driver ums-karma
[   15.422941] usbcore: registered new interface driver ums-sddr09
[   15.430759] usbcore: registered new interface driver ums-sddr55
[   15.438585] usbcore: registered new interface driver ums-usbat
[   15.446916] usbcore: registered new interface driver usbhid
[   15.453547] usbhid: USB HID core driver
[   15.462865] usbcore: registered new interface driver usbserial_generic
[   15.470669] usbserial: USB Serial support registered for generic
[   15.494352] xt_time: kernel timezone is -0000
[   15.501910] usbcore: registered new interface driver aqc111
[   15.509678] usbcore: registered new interface driver asix
[   15.517072] usbcore: registered new interface driver ax88179_178a
[   15.525517] usb 2-2: reset SuperSpeed Gen 1 USB device number 2 using xhci_hcd
[   15.531856] usbcore: registered new interface driver cdc_ether
[   15.542390] usbcore: registered new interface driver cdc_ncm
[   15.566194] usbcore: registered new interface driver ch341
[   15.573022] usbserial: USB Serial support registered for ch341-uart
[   15.582725] usbcore: registered new interface driver dm9601
[   15.590306] usbcore: registered new interface driver ftdi_sio
[   15.597330] usbserial: USB Serial support registered for FTDI USB Serial Device
[   15.600510] r8152 2-2:1.0: load rtl8153a-3 v2 02/07/20 successfully
[   15.613456] usbcore: registered new interface driver huawei_cdc_ncm
[   15.622670] iscsi: registered transport (tcp)
[   15.663209] r8152 2-2:1.0 eth1: v1.12.11
[   15.782096] usb 1-1.1: reset high-speed USB device number 3 using xhci_hcd
[   15.934145] mt76x2u 1-1.1:1.0: ASIC revision: 76120044
[   15.975835] mt76x2u 1-1.1:1.0: ROM patch build: 20141115060606a
[   16.145955] mt76x2u 1-1.1:1.0: Firmware Version: 0.0.00
[   16.152349] mt76x2u 1-1.1:1.0: Build: 1
[   16.157190] mt76x2u 1-1.1:1.0: Build Time: 201507311614____
[   17.075194] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   17.076516] usbcore: registered new interface driver mt76x2u
[   17.087519] usbcore: registered new interface driver pl2303
[   17.094634] usbserial: USB Serial support registered for pl2303
[   17.104302] PPP generic driver version 2.4.2
[   17.112652] NET: Registered protocol family 24
[   17.119083] usbcore: registered new interface driver qmi_wwan
[   17.127247] usbcore: registered new interface driver rndis_host
[   17.135292] usbcore: registered new interface driver smsc95xx
[   17.142968] usbcore: registered new interface driver sr9700
[   17.152645] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[   17.161432] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[   17.183719] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[   17.198679] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.bin failed with error -2
[   17.211436] brcmfmac mmc1:0001:1: Falling back to sysfs fallback for: brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.bin
[   17.598848] partition> system: mmcblk0p1 s:786432 l:boot u:FA2B-580A p:07022009-01 t:vfat
[   18.808768] partition> system: mmcblk0p2 s:61531136 l:rootfs u:ff313567-e9f1-5a5d-9895-3ba130b4a864 p:07022009-02 t:ext4
[   20.553006] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[   20.573957] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Mar 23 2020 02:20:01 version 7.45.206 (r725000 CY) FWID 01-febaba43
[   20.616097] usbcore: registered new interface driver brcmfmac
[   20.627324] usbcore: registered new interface driver cdc_mbim
[   20.636251] l2tp_ppp: PPPoL2TP kernel driver, V2.0
[   20.643416] usbcore: registered new interface driver option
[   20.650373] usbserial: USB Serial support registered for GSM modem (1-port)
[   20.661324] usbcore: registered new interface driver qcserial
[   20.668477] usbserial: USB Serial support registered for Qualcomm USB modem
[   20.676988] kmodloader: done loading kernel modules from /etc/modules.d/*
[   20.946309] /etc/init.d/bootstatus: sh bin/bootwait.sh & [ok] ucidef
[   21.037460] ip_local_port_range: prefer different parity for start/end values.
[   22.613306] bcmgenet fd580000.ethernet: configuring instance for external RGMII (RX delay)
[   22.623252] bcmgenet fd580000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   22.632822] br-lan: port 1(eth0) entered blocking state
[   22.639489] br-lan: port 1(eth0) entered disabled state
[   22.646293] device eth0 entered promiscuous mode
[   22.653536] br-lan: port 1(eth0) entered blocking state
[   22.660394] br-lan: port 1(eth0) entered forwarding state
[   23.315168] /etc/init.d/persistentdata: boot> shutdown.sh plog boot notupgraded
[   23.376206] plog-saved-to: /boot/plog /boot/plog/plogread-202111271200-boot-3.5.151-26.log
[   23.548383] /etc/init.d/persistentlucistatistics: boot> /boot/psave/rrd > /tmp/rrd [ok:1.3M:1:1]
[   23.573662] br-lan: port 2(wlan0) entered blocking state
[   23.580713] br-lan: port 2(wlan0) entered disabled state
[   23.587784] device wlan0 entered promiscuous mode
[   23.594424] br-lan: port 2(wlan0) entered blocking state
[   23.601388] br-lan: port 2(wlan0) entered forwarding state
[   23.671530] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   23.680871] br-lan: port 2(wlan0) entered disabled state
[   23.793144] /etc/init.d/persistentnlbwmon: boot> pri&alt-data-ok [isrunning:1]
[   23.815996] /etc/init.d/persistentnlbwmon: boot-or-> nlbwmoncleanstop [1] pid: 6212
[   23.883342] /etc/init.d/persistentnlbwmon: boot> cleanstop-complete stop-ok
[   23.900772] /etc/init.d/persistentnlbwmon: boot> nlbwmon STOP [ok:1:8]
[   23.923500] /etc/init.d/persistentnlbwmon: boot-restore-pri> /boot/psave/nlbwmon(8)
[   23.953920] /etc/init.d/persistentnlbwmon: boot> start-as-wasrunning nlbwmon
[   24.080431] /etc/init.d/persistentnlbwmon: boot> complete  ok.S [running:7588 - wasrunning: 1]
[   24.167273] rc.local> ############################################################## start rc.local
[   24.311709] rc.custom>  ################################### startup init 20211127-1200
[   24.342002] rc.custom> /etc/custom/startup/* [run]
[   24.388968] 11-tap-opK> tapping opK
[   24.418106] 11-tap-opK> tapping snapstate.sh
[   24.482868] 32-spindown> SPINDOWN_TIME [notset]
[   24.536718] 35-masqaddrouter> entry router@192.168.1.1 [ok]
[   24.588540] 71-macrunstartup> /etc/custom/d22506ef2dd8.sh startup [ok]
[   24.637631] d22506ef2dd8.sh> board MAC private SAMPLE: startup (firstboot|startup|shutdown|upgrade)
[   24.691145] 99-try-packagerepeat> retrytxt:/root/.99-try-packageinstalltxt.retry [dbg-nope]
[   24.747371] 996-boardrunstartup> Model:4-model-b /etc/custom/startup/4-model-b [ok:2]
[   24.780618] 996-boardrunstartup> /etc/custom/startup/4-model-b/17-rpi-4-startup-sample [run]
[   24.836809] 996-boardrunstartup> /etc/custom/startup/4-model-b/30-experimentalonboot [run]
[   24.894681] 30-experimentalonboot> config.txt dtparam=sd_poll_once live-plug-disabled reboot for card change
[   24.930457] rc.custom>  ################################### startup end 20211127-1200
[   24.996091] rc.custom> raspberrypi,4-model-b perftweaks /bin/rpi-perftweaks.sh [run]
[   25.051547] rc.custom> /etc/custom/everyboot/* [run]
[   25.065262] br-lan: port 3(wlan1) entered blocking state
[   25.072270] br-lan: port 3(wlan1) entered disabled state
[   25.079407] device wlan1 entered promiscuous mode
[   25.143580] 55-dummy> placeholder
[   25.189250] 71-macruneveryboot> /etc/custom/d22506ef2dd8.sh everyboot [ok]
[   25.285148] rc.custom> running mount-cmds: /bin/mountcmds.sh [mount]
[   25.345564] rc.local> no commit: nothing or nochanges
[   25.378220] rc.local> ############################################################## end rc.local
[   26.122800] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   26.131045] r8152 2-2:1.0 eth1: carrier on
[   33.271670] device wlan1 left promiscuous mode
[   33.278305] br-lan: port 3(wlan1) entered disabled state
[   37.201880] br-dcd626a67eeb: port 1(veth7f005e1) entered blocking state
[   37.210273] br-dcd626a67eeb: port 1(veth7f005e1) entered disabled state
[   37.218512] device veth7f005e1 entered promiscuous mode
[   37.226596] br-dcd626a67eeb: port 1(veth7f005e1) entered blocking state
[   37.235078] br-dcd626a67eeb: port 1(veth7f005e1) entered forwarding state
[   37.243690] br-dcd626a67eeb: port 1(veth7f005e1) entered disabled state
[   38.703527] eth0: renamed from vethc417925
[   38.763240] IPv6: ADDRCONF(NETDEV_CHANGE): veth7f005e1: link becomes ready
[   38.772192] br-dcd626a67eeb: port 1(veth7f005e1) entered blocking state
[   38.780811] br-dcd626a67eeb: port 1(veth7f005e1) entered forwarding state
[   38.789926] IPv6: ADDRCONF(NETDEV_CHANGE): br-dcd626a67eeb: link becomes ready
[   41.418293] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   41.426541] br-lan: port 2(wlan0) entered blocking state
[   41.433530] br-lan: port 2(wlan0) entered forwarding state
[   62.177428] tailroom_fix: ethtool -K eth0 rx off [skip_notailroomindmesg]
[   62.185776] EEE_DISABLE [off]
[  541.461066] br-lan: port 3(wlan1) entered blocking state
[  541.467626] br-lan: port 3(wlan1) entered disabled state
[  541.474279] device wlan1 entered promiscuous mode
[  549.594217] device wlan1 left promiscuous mode
[  549.599933] br-lan: port 3(wlan1) entered disabled state

rpi-support.sh; uci show wireless; iw reg get

################################# root-dev: /dev/mmcblk0p2:07022009-02 boot-dev: /dev/mmcblk0p1
root@boot: PARTUUID=07022009-02
root@cmdline: PARTUUID=07022009-02
################################## 4B 1.4 2GB Sony_UK b03114
############ buildid:r18161-00ce13490a localversion:3.5.151-26 files:65316b783 variant:fullest
############ fwV:Feb162021 vlV:000138a1
############ fwWIFI: Firmware: BCM4345/6 wl0: Mar 23 2020 02:20:01 version 7.45.206 (r725000 CY) FWID 01-febaba43
raspberrypi-firmware: 2021-10-19T11:50:10, 0403e22018aafab833d0a16374ac773f66fd7be9
################################# wrt.ini brief
ENABLEDSERVICES="banip adblock dbus modemanager" #[fboot/upgrade] enable+start
LUCIQRCODES=1
WIFIAUTOSETUP=1
POWERPROFILE="quick"
RPI_EEPROM_CONFIG_HOOK_FILE_RECOMMENDED="/etc/custom/4-model-b/eeprom.config.recommended"
RPI4CMDLINEOPTS="fsckparts"
ROOTFSEXPAND=1
#################################
  UPTIME: 11:46:0810:30,  0.10, 0.05, 0.00
   DISKS: 4%:/ 0%:/tmp 35%:/boot 4%:/opt/docker 4%:/opt/docker/overlay2/6ddb4ae061c3bc72ee111574228ee2c4002da36a4858712385cc7a149561226e/merged 
################################# hardware info
Revision        : b03114
Serial          : 10000000e12648b2
Model           : Raspberry Pi 4 Model B Rev 1.4
################################# cmdline.txt
console=serial0,115200 console=tty1 root=PARTUUID=07022009-02 rootfstype=squashfs,ext4 rootwait pci=pcie_bus_perf fsckparts
################################# config.txt
dtparam=sd_poll_once
#################################
BOOTORDER: 
### uptime:  11:46:08 up 10:30,  load average: 0.10, 0.05, 0.00
### network CT:262 LP:47
### Mem: 542176K used, 1359464K free, 3268K shrd, 21528K buff, 219516K cached
### CPU:   0% usr   2% sys   0% nic  97% idle   0% io   0% irq   0% sirq
### Time       Temp     CPU     Core         Health           Vcore    PMIC
### 11:46:09  34.0'C  1500MHz  500MHz  00000000000000000000  0.8600V  37.3'C
SCALING:ondemand thresh:21 min:1100000 max:1500000 cur:1500000 TIME:1100000:3440358 1200000:437 1300000:566 1400000:595 1500000:338511 
################################# opkg-repos
/etc/opkg/customfeeds.conf:src/gz git_core https://github.com/wulfy23/rpi4-opkg/raw/master/r18161-00ce13490a/core
/etc/opkg/customfeeds.conf:src/gz git_base https://github.com/wulfy23/rpi4-opkg/raw/master/r18161-00ce13490a/base
/etc/opkg/customfeeds.conf:src/gz git_luci https://github.com/wulfy23/rpi4-opkg/raw/master/r18161-00ce13490a/luci
/etc/opkg/distfeeds.conf:src/gz openwrt_kmods http://downloads.openwrt.org/snapshots/targets/bcm27xx/bcm2711/kmods/5.10.80-1-c607de81a52d4ba7e116a2343b96ea4f
/etc/opkg/distfeeds.conf:src/gz openwrt_packages http://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a72/packages
/etc/opkg/distfeeds.conf:src/gz openwrt_routing http://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a72/routing
/etc/opkg/distfeeds.conf:src/gz openwrt_telephony http://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a72/telephony
########################################## GPIO
gpiochip0: GPIOs 0-57, parent: platform/fe200000.gpio, pinctrl-bcm2711:
 gpio-0   (ID_SDA              )
 gpio-1   (ID_SCL              )
 gpio-2   (SDA1                )
 gpio-3   (SCL1                )
 gpio-4   (GPIO_GCLK           )
 gpio-5   (GPIO5               )
 gpio-6   (GPIO6               )
 gpio-7   (SPI_CE1_N           )
 gpio-8   (SPI_CE0_N           )
 gpio-9   (SPI_MISO            )
 gpio-10  (SPI_MOSI            )
 gpio-11  (SPI_SCLK            )
 gpio-12  (GPIO12              )
 gpio-13  (GPIO13              )
 gpio-14  (TXD1                )
 gpio-15  (RXD1                )
 gpio-16  (GPIO16              )
 gpio-17  (GPIO17              )
 gpio-18  (GPIO18              )
 gpio-19  (GPIO19              )
 gpio-20  (GPIO20              )
 gpio-21  (GPIO21              )
 gpio-22  (GPIO22              )
 gpio-23  (GPIO23              )
 gpio-24  (GPIO24              )
 gpio-25  (GPIO25              )
 gpio-26  (GPIO26              )
 gpio-27  (GPIO27              )
 gpio-28  (RGMII_MDIO          )
 gpio-29  (RGMIO_MDC           )
 gpio-30  (CTS0                )
 gpio-31  (RTS0                )
 gpio-32  (TXD0                )
 gpio-33  (RXD0                )
 gpio-34  (SD1_CLK             )
 gpio-35  (SD1_CMD             )
 gpio-36  (SD1_DATA0           )
 gpio-37  (SD1_DATA1           )
 gpio-38  (SD1_DATA2           )
 gpio-39  (SD1_DATA3           )
 gpio-40  (PWM0_MISO           )
 gpio-41  (PWM1_MOSI           )
 gpio-42  (STATUS_LED_G_CLK    |led0                ) out lo 
 gpio-43  (SPIFLASH_CE_N       )
 gpio-44  (SDA0                )
 gpio-45  (SCL0                )
 gpio-46  (RGMII_RXCLK         )
 gpio-47  (RGMII_RXCTL         )
 gpio-48  (RGMII_RXD0          )
 gpio-49  (RGMII_RXD1          )
 gpio-50  (RGMII_RXD2          )
 gpio-51  (RGMII_RXD3          )
 gpio-52  (RGMII_TXCLK         )
 gpio-53  (RGMII_TXCTL         )
 gpio-54  (RGMII_TXD0          )
 gpio-55  (RGMII_TXD1          )
 gpio-56  (RGMII_TXD2          )
 gpio-57  (RGMII_TXD3          )

gpiochip1: GPIOs 504-511, parent: platform/soc:firmware:gpio, raspberrypi-exp-gpio, can sleep:
 gpio-504 (BT_ON               )
 gpio-505 (WL_ON               )
 gpio-506 (PWR_LED_OFF         |led1                ) out hi ACTIVE LOW
 gpio-507 (GLOBAL_RESET        )
 gpio-508 (VDD_SD_IO_SEL       |vdd-sd-io           ) out hi 
 gpio-509 (CAM_GPIO            )
 gpio-510 (SD_PWR_ON           |sd_vcc_reg          ) out hi 
 gpio-511 (SD_OC_N             )
################################# interface-report
############### lo [ok]  yes 
############### eth0 err:     rx_pause: 8199987 bcmgenet yes 1000Mb/s
############### eth1 [ok] r8152 yes 1000Mb/s
############### br-lan [ok] bridge yes 1000Mb/s
############### br-dcd626a67eeb [ok] bridge yes 10000Mb/s
############### vethfd3b4a4 [ok] veth yes 10000Mb/s
################################# packages-restore-actions
################################# packages-restored-RAWDIRECT
################################################ firstboot  pkgpending 202111262000
################################### Added... 49
btrfs-progs
containerd
docker
docker-compose
dockerd
findutils-find
findutils-locate
kmod-br-netfilter
kmod-dax
kmod-dm
kmod-fs-btrfs
kmod-keys-encrypted
kmod-keys-trusted
kmod-lib-lzo
kmod-lib-raid6
kmod-lib-xor
kmod-lib-zlib-deflate
kmod-lib-zstd
kmod-mt76-core
kmod-mt76-usb
kmod-mt76x02-common
kmod-mt76x02-usb
kmod-mt76x2-common
kmod-mt76x2u
kmod-nf-ipvs
kmod-random-core
kmod-tpm
libdevmapper
libnetwork
libseccomp
libyaml
luci-lib-docker
python3-attrs
python3-bcrypt
python3-cached-property
python3-cryptography
python3-distro
python3-docker
python3-dockerpty
python3-docopt
python3-dotenv
python3-jsonschema
python3-paramiko
python3-pyrsistent
python3-texttable
python3-websocket-client
python3-yaml
runc
tini
################################### Removed... 0
################################################ firstboot  pkgpending 202111262000
################################### Added... 49
btrfs-progs
containerd
docker
docker-compose
dockerd
findutils-find
findutils-locate
kmod-br-netfilter
kmod-dax
kmod-dm
kmod-fs-btrfs
kmod-keys-encrypted
kmod-keys-trusted
kmod-lib-lzo
kmod-lib-raid6
kmod-lib-xor
kmod-lib-zlib-deflate
kmod-lib-zstd
kmod-mt76-core
kmod-mt76-usb
kmod-mt76x02-common
kmod-mt76x02-usb
kmod-mt76x2-common
kmod-mt76x2u
kmod-nf-ipvs
kmod-random-core
kmod-tpm
libdevmapper
libnetwork
libseccomp
libyaml
luci-lib-docker
python3-attrs
python3-bcrypt
python3-cached-property
python3-cryptography
python3-distro
python3-docker
python3-dockerpty
python3-docopt
python3-dotenv
python3-jsonschema
python3-paramiko
python3-pyrsistent
python3-texttable
python3-websocket-client
python3-yaml
runc
tini
################################### Removed... 0
################################# autorestore-running-RAWDIRECT
#opkg install --force-checksum btrfs-progs #[ok-firstboot]#opK-R
#opkg install --force-checksum containerd #[ok-firstboot]#opK-R
#opkg install --force-checksum docker #[ok-firstboot]#opK-R
#opkg install --force-checksum docker-compose #[ok-firstboot]#opK-R
#opkg install --force-checksum dockerd #[ok-firstboot]#opK-R
#opkg install --force-checksum findutils-find #[ok-firstboot]#opK-R
#opkg install --force-checksum findutils-locate #[ok-firstboot]#opK-R
#opkg install --force-checksum kmod-br-netfilter #[ok-instonsys-firstboot]#opK-R
#opkg install --force-checksum kmod-dax #[ok-instonsys-firstboot]#opK-R
#opkg install --force-checksum kmod-dm #[ok-instonsys-firstboot]#opK-R
#opkg install --force-checksum kmod-fs-btrfs #[ok-instonsys-firstboot]#opK-R
#opkg install --force-checksum kmod-keys-encrypted #[ok-instonsys-firstboot]#opK-R
#opkg install --force-checksum kmod-keys-trusted #[ok-instonsys-firstboot]#opK-R
#opkg install --force-checksum kmod-lib-lzo #[ok-instonsys-firstboot]#opK-R
#opkg install --force-checksum kmod-lib-raid6 #[ok-instonsys-firstboot]#opK-R
#opkg install --force-checksum kmod-lib-xor #[ok-instonsys-firstboot]#opK-R
#opkg install --force-checksum kmod-lib-zlib-deflate #[ok-instonsys-firstboot]#opK-R
#opkg install --force-checksum kmod-lib-zstd #[ok-instonsys-firstboot]#opK-R
#opkg install --force-checksum kmod-mt76-core #[ok-firstboot]#opK-R
#opkg install --force-checksum kmod-mt76-usb #[ok-firstboot]#opK-R
#opkg install --force-checksum kmod-mt76x02-common #[ok-firstboot]#opK-R
#opkg install --force-checksum kmod-mt76x02-usb #[ok-firstboot]#opK-R
#opkg install --force-checksum kmod-mt76x2-common #[ok-firstboot]#opK-R
#opkg install --force-checksum kmod-mt76x2u #[ok-firstboot]#opK-R
#opkg install --force-checksum kmod-nf-ipvs #[ok-instonsys-firstboot]#opK-R
#opkg install --force-checksum kmod-random-core #[ok-instonsys-firstboot]#opK-R
#opkg install --force-checksum kmod-tpm #[ok-instonsys-firstboot]#opK-R
#opkg install --force-checksum libdevmapper #[ok-instonsys-firstboot]#opK-R
#opkg install --force-checksum libnetwork #[ok-instonsys-firstboot]#opK-R
#opkg install --force-checksum libseccomp #[ok-instonsys-firstboot]#opK-R
opkg install --force-checksum libwebsockets-full #[fail-firstboot]#[fail-firstboot]#opK-R
#opkg install --force-checksum libyaml #[ok-firstboot]#opK-R
opkg install --force-checksum luci-app-argon-config #[unknown-firstboot]#[unknown-firstboot]#opK-R
opkg install --force-checksum luci-app-dockerman #[fail-firstboot]#[fail-firstboot]#opK-R
#opkg install --force-checksum luci-lib-docker #[ok-instonsys-firstboot]#opK-R
#opkg install --force-checksum python3-attrs #[ok-firstboot]#opK-R
#opkg install --force-checksum python3-bcrypt #[ok-firstboot]#opK-R
#opkg install --force-checksum python3-cached-property #[ok-firstboot]#opK-R
#opkg install --force-checksum python3-cryptography #[ok-firstboot]#opK-R
#opkg install --force-checksum python3-distro #[ok-firstboot]#opK-R
#opkg install --force-checksum python3-docker #[ok-firstboot]#opK-R
#opkg install --force-checksum python3-dockerpty #[ok-firstboot]#opK-R
#opkg install --force-checksum python3-docopt #[ok-firstboot]#opK-R
#opkg install --force-checksum python3-dotenv #[ok-firstboot]#opK-R
#opkg install --force-checksum python3-jsonschema #[ok-firstboot]#opK-R
#opkg install --force-checksum python3-paramiko #[ok-instonsys-firstboot]#opK-R
#opkg install --force-checksum python3-pyrsistent #[ok-instonsys-firstboot]#opK-R
#opkg install --force-checksum python3-texttable #[ok-firstboot]#opK-R
#opkg install --force-checksum python3-websocket-client #[ok-instonsys-firstboot]#opK-R
#opkg install --force-checksum python3-yaml #[ok-firstboot]#opK-R
#opkg install --force-checksum runc #[ok-instonsys-firstboot]#opK-R
#opkg install --force-checksum tini #[ok-instonsys-firstboot]#opK-R
opkg install --force-checksum ttyd #[fail-firstboot]#[fail-firstboot]#opK-R
wireless.radio0=wifi-device
wireless.radio0.type='mac80211'
wireless.radio0.path='scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1:1.0'
wireless.radio0.cell_density='0'
wireless.radio0.channel='auto'
wireless.radio0.band='5g'
wireless.radio0.htmode='VHT80'
wireless.radio0.log_level='1'
wireless.radio0.disabled='1'
wireless.default_radio0=wifi-iface
wireless.default_radio0.device='radio0'
wireless.default_radio0.network='lan'
wireless.default_radio0.mode='ap'
wireless.default_radio0.ssid='wifi0'
wireless.default_radio0.encryption='psk2'
wireless.default_radio0.key='abcd12345'
wireless.default_radio0.disabled='1'
wireless.radio1=wifi-device
wireless.radio1.type='mac80211'
wireless.radio1.path='platform/soc/fe300000.mmcnr/mmc_host/mmc1/mmc1:0001/mmc1:0001:1'
wireless.radio1.band='2g'
wireless.radio1.cell_density='0'
wireless.radio1.country='DE'
wireless.radio1.log_level='1'
wireless.radio1.legacy_rates='1'
wireless.radio1.channel='auto'
wireless.default_radio1=wifi-iface
wireless.default_radio1.device='radio1'
wireless.default_radio1.network='lan'
wireless.default_radio1.mode='ap'
wireless.default_radio1.ssid='wifi1'
wireless.default_radio1.encryption='psk2'
wireless.default_radio1.key='dadadadada132131'
wireless.default_radio1.wmm='0'
global
country DE: DFS-ETSI
        (2400 - 2483 @ 40), (N/A, 20), (N/A)
        (5150 - 5250 @ 80), (N/A, 23), (N/A), NO-OUTDOOR, AUTO-BW
        (5250 - 5350 @ 80), (N/A, 20), (0 ms), NO-OUTDOOR, DFS, AUTO-BW
        (5470 - 5725 @ 160), (N/A, 26), (0 ms), DFS
        (5725 - 5875 @ 80), (N/A, 13), (N/A)
        (5945 - 6425 @ 160), (N/A, 23), (N/A), NO-OUTDOOR, AUTO-BW
        (57000 - 66000 @ 2160), (N/A, 40), (N/A)

phy#1
country 99: DFS-UNSET
        (2402 - 2482 @ 40), (6, 20), (N/A)
        (2474 - 2494 @ 20), (6, 20), (N/A)
        (5140 - 5360 @ 160), (6, 20), (N/A)
        (5460 - 5860 @ 160), (6, 20), (N/A)

1 Like

this is not really needed/correct. the advise/requirement is to set the
OTP once for the built in brcm chipset via raspiOS... it has no relation
to the mediatek dongle, if it's been done once... then that is all
users are advised to do


IMHO, there are two or more issues here;

  • the /etc/config/wireless in general
  • how the OS handles wifi interfaces (specifically teardown and bring up) on this board1
  • r18161 issues if any that may be complicating the current setup
  • (edit: build specific firmware blobs which we are now excluding to simplify troubleshooting)

My advice is to use 21.02 or builds prior to r17699 AND either reboot or use;
wifi down; /etc/init.d/wpad stop; sleep 20; /etc/init.d/wpad start; sleep 11; wifi up
when restarting wireless (making any changes to wireless settings)...

We will then be much closer to having something known that we can troubleshoot...

The first order of affairs would likely to be;

  • disabling of the external wifi config
  • fine tuning the settings and ensuring proper function
  • bringing back the external card... possibly as wlan1 and taking it from there

1

i'm particularly interested in assisting / troubleshooting / isolating any anomalies on this point... i've seen odd things regarding wlan iface bring up / teardown from before 21.02... and the points you make about having two interfaces may have some interaction / validity here...

I have a spare external usb wlan interface so should may be able to duplicate / assist in troubleshooting once we are on a stabler release

2 Likes

Is this what I did here?

cd /
wget http://rpi4.wulfy23.info/misc/lib-firmware-brcm-r18161_orig.tar.gz
rm /lib/firmware/brcm/*
tar -xzf lib-firmware-brcm-r18161_orig.tar.gz
reboot

or must I do additinal steps?

no... that was to flush any build specific brcm blobs/bins/txt from the firmware directory and replace them with official OpenWrt files...

for 21.02 on this build...

installing 21.02 release
rpi-sysup-online.sh -R release

or

cd /tmp/
wget http://rpi4.wulfy23.info/builds/rpi-4_21.02.1_1.0.7-3_r16325_extra/rpi4.64-21.02.1-27006-1.0.7-3-r16325-ext4-sys.img.gz
sysupgrade -R rpi4.64-21.02.1-27006-1.0.7-3-r16325-ext4-sys.img.gz

then repeat the firmware replacement once on 21.02

1 Like

Done. I used

cd /tmp/
wget http://rpi4.wulfy23.info/builds/rpi-4_21.02.1_1.0.7-3_r16325_extra/rpi4.64-21.02.1-27006-1.0.7-3-r16325-ext4-sys.img.gz
sysupgrade -R rpi4.64-21.02.1-27006-1.0.7-3-r16325-ext4-sys.img.gz

as rpi-sysup-online.sh -R release dropped:

   flavour:release online:1.0.7-3[older] onsys:3.5.151-26 
use> 'downgrade'

And now it actually works, both wifis are discoverable :open_mouth:

1 Like

Alright, so after it ran over night the 2.4ghz (integrated) is still working fine but the 5ghz MediaTek apparently is not reachable anymore. On looking at the WIFI configuration in luci it states, that it is still active but no device can connect to it - It is discoverable but on attempting to connect on the phone or tablet I get "No connection to the network" after it attempted to connect to it.

On doing logread the only thing I can see is:
Sun Nov 28 16:59:51 2021 daemon.warn odhcpd[5192]: A default route is present but there is no public prefix on lan thus we don't announce a default route!

I think the problem with the logging is, that I had activated logging for WIFI and not it kind of spams the log with everything related, so probably the actual error is not being fetched by doing logread (I guess?)

So for now I followed https://openwrt.org/docs/guide-developer/debugging and have done:

uci set wireless.radio1.log_level=4
uci set wireless.radio0.log_level=0
uci commit wireless
wifi down
wifi up

radio1 is the stable integrated WIFI
radio 0 is the MediaTek device

As soon as I did wifi down; wifi up; the device became somewhat unresponsive (wasn't even able to do logread anymore via ssh). So I rebooted now and after the reboot the 5ghz was reachable again. - Please do let me know how to configure logging properly so the next time 5ghz crashes I will have the logs about what happened.

This made it "work" but its not stable yet, after running over night the 5ghz is not reachable anymore.

ok... suspect this is 'semi-normal'... in other words, you are not doing anything specifically 'wrong'...

keep checking logread/dmesg when it fails and see if you can identify a common anomaly...
(5Ghz falling over is often attributed to DFS conflict etc.)

Yeah, I cant really monitor it 24/7 and I am suspecting the relevant log message is being "overflowed" by everything else going on - Anything specific I could do to prevent that from happening? Because its likely going to happen while I am not actively watching it.

Alright I could find something in dmesg:

[ 4329.656032] mt76x2u 1-1.1:1.0: error: mt76x02u_mcu_wait_resp failed with -110
[ 4332.280075] mt76x2u 1-1.1:1.0: error: mt76x02u_mcu_wait_resp failed with -110
[10924.823817] mt76x2u 1-1.1:1.0: timed out waiting for pending tx

which pointed me at https://github.com/openwrt/mt76/issues/405, tried setting echo 1 > /sys/module/mt76_usb/parameters/disable_usb_sg

its interesting, that the PR was merged but it apparently actually fix it, /sys/module/mt76_usb/parameters/disable_usb_sg was set to N - after writing 1 in there it magically switched to Y (whatever is going on there)

sure on normal openwrt you can log to file also... but on this build you will find the full log filename in this file;

cat /tmp/.plogname

which changes every boot

1 Like

It seems echo 1 > /sys/module/mt76_usb/parameters/disable_usb_sg in combination with upgrading to release fixes it - no problems wifi is stable now

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.