Issues with 5Ghz on RT-AC3100

Hi, I installed OpenWRT in a Asus RT-AC3100, but the 5Ghz is not working. The 2.4 is fine.
I tried a few different versions and all had the same issue (listed by the firmware selector)
23.05.2 (r23630-842932a63d)
23.05.4 (r24012-d8dd03c46f)
and a recent snapshot.

With specific country code and channels It gets enabled. Currently US, channel 36.

It allows clients to connect, usually the client is able to get a DHCP address, but nothing else. A few seconds later, the device disconnects. I tried different clients and all had the same behavior.

I tested with a blank config (no configuration) and it also does not work.

The router is working without issues. If I go back to stock or install tomato, 5Ghz works fine.

Any suggestion on how to troubleshoot this issue?
brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4366b-pcie for chip BCM4366/3

iw phy1 info
Wiphy phy1
        wiphy index: 1
        max # scan SSIDs: 10
        max scan IEs length: 2048 bytes
        max # sched scan SSIDs: 0
        max # match sets: 0
        Retry short limit: 7
        Retry long limit: 4
        Coverage class: 0 (up to 0m)
        Device supports roaming.
        Available Antennas: TX 0 RX 0
        Supported interface modes:
                 * IBSS
                 * managed
                 * AP
                 * P2P-client
                 * P2P-GO
                 * P2P-device
        Band 2:
                Capabilities: 0x1062
                        HT20/HT40
                        Static SM Power Save
                        RX HT20 SGI
                        RX HT40 SGI
                        No RX STBC
                        Max AMSDU length: 3839 bytes
                        DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 16 usec (0x07)
                HT TX/RX MCS rate indexes supported: 0-31
                VHT Capabilities (0x0c0b5020):
                        Max MPDU length: 3895
                        Supported Channel Width: neither 160 nor 80+80
                        short GI (80 MHz)
                        SU Beamformee
                        MU Beamformer
                VHT RX MCS set:
                        1 streams: MCS 0-9
                        2 streams: MCS 0-9
                        3 streams: MCS 0-9
                        4 streams: MCS 0-9
                        5 streams: not supported
                        6 streams: not supported
                        7 streams: not supported
                        8 streams: not supported
                VHT RX highest supported: 0 Mbps
                VHT TX MCS set:
                        1 streams: MCS 0-9
                        2 streams: MCS 0-9
                        3 streams: MCS 0-9
                        4 streams: MCS 0-9
                        5 streams: not supported
                        6 streams: not supported
                        7 streams: not supported
                        8 streams: not supported
                VHT TX highest supported: 0 Mbps
                VHT extended NSS: not supported
                Frequencies:
                        * 5170 MHz [34] (20.0 dBm)
                        * 5180 MHz [36] (20.0 dBm)
                        * 5190 MHz [38] (20.0 dBm)
                        * 5200 MHz [40] (20.0 dBm)
                        * 5210 MHz [42] (20.0 dBm)
                        * 5220 MHz [44] (20.0 dBm)
                        * 5230 MHz [46] (20.0 dBm)
                        * 5240 MHz [48] (20.0 dBm)
                        * 5260 MHz [52] (20.0 dBm) (radar detection)
                        * 5280 MHz [56] (20.0 dBm) (radar detection)
                        * 5300 MHz [60] (20.0 dBm) (radar detection)
                        * 5320 MHz [64] (20.0 dBm) (radar detection)
                        * 5500 MHz [100] (20.0 dBm) (radar detection)
                        * 5520 MHz [104] (20.0 dBm) (radar detection)
                        * 5540 MHz [108] (20.0 dBm) (radar detection)
                        * 5560 MHz [112] (20.0 dBm) (radar detection)
                        * 5580 MHz [116] (20.0 dBm) (radar detection)
                        * 5600 MHz [120] (20.0 dBm) (radar detection)
                        * 5620 MHz [124] (20.0 dBm) (radar detection)
                        * 5640 MHz [128] (20.0 dBm) (radar detection)
                        * 5660 MHz [132] (20.0 dBm) (radar detection)
                        * 5680 MHz [136] (20.0 dBm) (radar detection)
                        * 5700 MHz [140] (20.0 dBm) (radar detection)
                        * 5720 MHz [144] (20.0 dBm) (radar detection)
                        * 5745 MHz [149] (20.0 dBm)
                        * 5765 MHz [153] (20.0 dBm)
                        * 5785 MHz [157] (20.0 dBm)
                        * 5805 MHz [161] (20.0 dBm)
                        * 5825 MHz [165] (20.0 dBm)
        valid interface combinations:
                 * #{ managed } <= 1, #{ P2P-device } <= 1, #{ P2P-client, P2P-GO } <= 1,
                   total <= 3, #channels <= 1
                 * #{ managed } <= 1, #{ AP } <= 1, #{ P2P-client } <= 1, #{ P2P-device } <= 1,
                   total <= 4, #channels <= 1
                 * #{ AP } <= 4,
                   total <= 4, #channels <= 1, STA/AP BI must match
        max # scan plans: 1
        max scan plan interval: -1
        max scan plan iterations: 0
        Supported extended features:
                * [ CQM_RSSI_LIST ]: multiple CQM_RSSI_THOLD records
                * [ DFS_OFFLOAD ]: DFS offload
Sat Aug  3 01:16:42 2024 daemon.info dnsmasq-dhcp[1]: DHCPDISCOVER(br-lan) 7e:07:cd:1c:5a:93
Sat Aug  3 01:16:42 2024 daemon.info dnsmasq-dhcp[1]: DHCPOFFER(br-lan) 192.168.10.221 7e:07:cd:1c:5a:93
Sat Aug  3 01:16:43 2024 daemon.info dnsmasq-dhcp[1]: DHCPDISCOVER(br-lan) 7e:07:cd:1c:5a:93
Sat Aug  3 01:16:43 2024 daemon.info dnsmasq-dhcp[1]: DHCPOFFER(br-lan) 192.168.10.221 7e:07:cd:1c:5a:93
Sat Aug  3 01:16:45 2024 daemon.info dnsmasq-dhcp[1]: DHCPDISCOVER(br-lan) 7e:07:cd:1c:5a:93
Sat Aug  3 01:16:45 2024 daemon.info dnsmasq-dhcp[1]: DHCPOFFER(br-lan) 192.168.10.221 7e:07:cd:1c:5a:93
Sat Aug  3 01:16:49 2024 daemon.info dnsmasq-dhcp[1]: DHCPDISCOVER(br-lan) 7e:07:cd:1c:5a:93
Sat Aug  3 01:16:49 2024 daemon.info dnsmasq-dhcp[1]: DHCPOFFER(br-lan) 192.168.10.221 7e:07:cd:1c:5a:93
Sat Aug  3 01:16:50 2024 daemon.warn odhcpd[1451]: No default route present, overriding ra_lifetime!
Sat Aug  3 01:16:55 2024 daemon.info hostapd: phy1-ap0: STA 7e:07:cd:1c:5a:93 IEEE 802.11: disassociated
Sat Aug  3 01:16:55 2024 daemon.notice hostapd: phy1-ap0: AP-STA-DISCONNECTED 7e:07:cd:1c:5a:93

Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button:
grafik
Remember to redact passwords, MAC addresses and any public IP addresses you may have:

ubus call system board
cat /etc/config/network
cat /etc/config/wireless
cat /etc/config/dhcp
cat /etc/config/firewall

Hi,

Here are the requested commands:

root@OpenWrt:~# ubus call system board
at /etc/config/network
cat /etc/config/wireless
cat /etc/config/dhcp
cat /etc/config/firewall{
        "kernel": "5.15.162",
        "hostname": "OpenWrt",
        "system": "ARMv7 Processor rev 0 (v7l)",
        "model": "ASUS RT-AC3100",
        "board_name": "asus,rt-ac3100",
        "rootfs_type": "squashfs",
        "release": {
                "distribution": "OpenWrt",
                "version": "23.05.4",
                "revision": "r24012-d8dd03c46f",
                "target": "bcm53xx/generic",
                "description": "OpenWrt 23.05.4 r24012-d8dd03c46f"
        }
}

root@OpenWrt:~# cat /etc/config/network

config interface 'loopback'
        option device 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option ula_prefix 'fd3b:f959:1021::/48'
        option packet_steering '1'

config device
        option name 'br-lan'
        option type 'bridge'
        list ports 'lan1'
        list ports 'lan2'
        list ports 'lan3'
        list ports 'lan4'

config interface 'lan'
        option device 'br-lan'
        option proto 'static'
        option ipaddr '192.168.10.1'
        option netmask '255.255.255.0'
        option ip6assign '60'

config interface 'wan'
        option device 'wan'
        option proto 'dhcp'

config interface 'wan6'
        option device 'wan'
        option proto 'dhcpv6'
root@OpenWrt:~# cat /etc/config/wireless

config wifi-device 'radio0'
        option type 'mac80211'
        option path '18000000.axi/bcma0:7/pci0000:00/0000:00:00.0/0000:01:00.0'
        option band '2g'
        option channel '1'
        option htmode 'HT20'
        option cell_density '0'

config wifi-iface 'default_radio0'
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option ssid 'OpenWrt2'
        option encryption 'none'

config wifi-device 'radio1'
        option type 'mac80211'
        option path '18000000.axi/bcma0:8/pci0001:00/0001:00:00.0/0001:01:00.0'
        option band '5g'
        option channel '36'
        option htmode 'VHT40'
        option cell_density '0'
        option country 'US'

config wifi-iface 'default_radio1'
        option device 'radio1'
        option network 'lan'
        option mode 'ap'
        option ssid 'OpenWrt5'
        option encryption 'none'
root@OpenWrt:~# cat /etc/config/dhcp

config dnsmasq
        option domainneeded '1'
        option boguspriv '1'
        option filterwin2k '0'
        option localise_queries '1'
        option rebind_protection '1'
        option rebind_localhost '1'
        option local '/lan/'
        option domain 'lan'
        option expandhosts '1'
        option nonegcache '0'
        option cachesize '1000'
        option authoritative '1'
        option readethers '1'
        option leasefile '/tmp/dhcp.leases'
        option resolvfile '/tmp/resolv.conf.d/resolv.conf.auto'
        option nonwildcard '1'
        option localservice '1'
        option ednspacket_max '1232'
        option filter_aaaa '0'
        option filter_a '0'

config dhcp 'lan'
        option interface 'lan'
        option start '100'
        option limit '150'
        option leasetime '12h'
        option dhcpv4 'server'
        option dhcpv6 'server'
        option ra 'server'
        option ra_slaac '1'
        list ra_flags 'managed-config'
        list ra_flags 'other-config'

config dhcp 'wan'
        option interface 'wan'
        option ignore '1'

config odhcpd 'odhcpd'
        option maindhcp '0'
        option leasefile '/tmp/hosts/odhcpd'
        option leasetrigger '/usr/sbin/odhcpd-update'
        option loglevel '4'
root@OpenWrt:~# cat /etc/config/firewall
config defaults
        option syn_flood        1
        option input            REJECT
        option output           ACCEPT
        option forward          REJECT
# Uncomment this line to disable ipv6 rules
#       option disable_ipv6     1

config zone
        option name             lan
        list   network          'lan'
        option input            ACCEPT
        option output           ACCEPT
        option forward          ACCEPT

config zone
        option name             wan
        list   network          'wan'
        list   network          'wan6'
        option input            REJECT
        option output           ACCEPT
        option forward          REJECT
        option masq             1
        option mtu_fix          1

config forwarding
        option src              lan
        option dest             wan

# We need to accept udp packets on port 68,
# see https://dev.openwrt.org/ticket/4108
config rule
        option name             Allow-DHCP-Renew
        option src              wan
        option proto            udp
        option dest_port        68
        option target           ACCEPT
        option family           ipv4

# Allow IPv4 ping
config rule
        option name             Allow-Ping
        option src              wan
        option proto            icmp
        option icmp_type        echo-request
        option family           ipv4
        option target           ACCEPT

config rule
        option name             Allow-IGMP
        option src              wan
        option proto            igmp
        option family           ipv4
        option target           ACCEPT

# Allow DHCPv6 replies
# see https://github.com/openwrt/openwrt/issues/5066
config rule
        option name             Allow-DHCPv6
        option src              wan
        option proto            udp
        option dest_port        546
        option family           ipv6
        option target           ACCEPT

config rule
        option name             Allow-MLD
        option src              wan
        option proto            icmp
        option src_ip           fe80::/10
        list icmp_type          '130/0'
        list icmp_type          '131/0'
        list icmp_type          '132/0'
        list icmp_type          '143/0'
        option family           ipv6
        option target           ACCEPT

# Allow essential incoming IPv6 ICMP traffic
config rule
        option name             Allow-ICMPv6-Input
        option src              wan
        option proto    icmp
        list icmp_type          echo-request
        list icmp_type          echo-reply
        list icmp_type          destination-unreachable
        list icmp_type          packet-too-big
        list icmp_type          time-exceeded
        list icmp_type          bad-header
        list icmp_type          unknown-header-type
        list icmp_type          router-solicitation
        list icmp_type          neighbour-solicitation
        list icmp_type          router-advertisement
        list icmp_type          neighbour-advertisement
        option limit            1000/sec
        option family           ipv6
        option target           ACCEPT

# Allow essential forwarded IPv6 ICMP traffic
config rule
        option name             Allow-ICMPv6-Forward
        option src              wan
        option dest             *
        option proto            icmp
        list icmp_type          echo-request
        list icmp_type          echo-reply
        list icmp_type          destination-unreachable
        list icmp_type          packet-too-big
        list icmp_type          time-exceeded
        list icmp_type          bad-header
        list icmp_type          unknown-header-type
        option limit            1000/sec
        option family           ipv6
        option target           ACCEPT

config rule
        option name             Allow-IPSec-ESP
        option src              wan
        option dest             lan
        option proto            esp
        option target           ACCEPT

config rule
        option name             Allow-ISAKMP
        option src              wan
        option dest             lan
        option dest_port        500
        option proto            udp
        option target           ACCEPT


### EXAMPLE CONFIG SECTIONS
# do not allow a specific ip to access wan
#config rule
#       option src              lan
#       option src_ip   192.168.45.2
#       option dest             wan
#       option proto    tcp
#       option target   REJECT

# block a specific mac on wan
#config rule
#       option dest             wan
#       option src_mac  00:11:22:33:44:66
#       option target   REJECT

# block incoming ICMP traffic on a zone
#config rule
#       option src              lan
#       option proto    ICMP
#       option target   DROP

# port redirect port coming in on wan to lan
#config redirect
#       option src                      wan
#       option src_dport        80
#       option dest                     lan
#       option dest_ip          192.168.16.235
#       option dest_port        80
#       option proto            tcp

# port redirect of remapped ssh port (22001) on wan
#config redirect
#       option src              wan
#       option src_dport        22001
#       option dest             lan
#       option dest_port        22
#       option proto            tcp

### FULL CONFIG SECTIONS
#config rule
#       option src              lan
#       option src_ip   192.168.45.2
#       option src_mac  00:11:22:33:44:55
#       option src_port 80
#       option dest             wan
#       option dest_ip  194.25.2.129
#       option dest_port        120
#       option proto    tcp
#       option target   REJECT

#config redirect
#       option src              lan
#       option src_ip   192.168.45.2
#       option src_mac  00:11:22:33:44:55
#       option src_port         1024
#       option src_dport        80
#       option dest_ip  194.25.2.129
#       option dest_port        120
#       option proto    tcp

Thanks

Set 5ghz channel to auto, and let the system deal with radars.

The radio interface gets disabled

Here are the system logs:

Sat Aug  3 17:13:05 2024 daemon.notice wpa_supplicant[1287]: Set new config for phy phy1
Sat Aug  3 17:13:05 2024 daemon.notice hostapd: Set new config for phy phy1: /var/run/hostapd-phy1.conf
Sat Aug  3 17:13:05 2024 daemon.notice hostapd: Restart interface for phy phy1
Sat Aug  3 17:13:05 2024 daemon.notice hostapd: Remove interface 'phy1'
Sat Aug  3 17:13:05 2024 daemon.notice hostapd: phy1-ap0: interface state ENABLED->DISABLED
Sat Aug  3 17:13:05 2024 daemon.notice hostapd: phy1-ap0: AP-DISABLED
Sat Aug  3 17:13:05 2024 daemon.notice hostapd: phy1-ap0: CTRL-EVENT-TERMINATING
Sat Aug  3 17:13:05 2024 daemon.err hostapd: rmdir[ctrl_interface=/var/run/hostapd]: Permission denied
Sat Aug  3 17:13:05 2024 daemon.notice hostapd: nl80211: deinit ifname=phy1-ap0 disabled_11b_rates=0
Sat Aug  3 17:13:06 2024 daemon.notice netifd: Network device 'phy1-ap0' link is down
Sat Aug  3 17:13:06 2024 kern.info kernel: [ 2594.840034] br-lan: port 6(phy1-ap0) entered disabled state
Sat Aug  3 17:13:06 2024 kern.info kernel: [ 2595.413232] br-lan: port 6(phy1-ap0) entered disabled state
Sat Aug  3 17:13:06 2024 kern.info kernel: [ 2595.420946] device phy1-ap0 left promiscuous mode
Sat Aug  3 17:13:06 2024 kern.info kernel: [ 2595.425822] br-lan: port 6(phy1-ap0) entered disabled state
Sat Aug  3 17:13:06 2024 daemon.notice hostapd: Configuration file: data: driver=nl80211 logger_syslog=127 logger_syslog_level=2 logger_stdout=127 logger_stdout_level=2 country_code=US ieee80211d=1 ieee80211h=1 hw_mode=a beacon_int=100 tx_queue_data2_burst=2.0 #num_global_macaddr=1 ieee80211n=1 ht_coex=0 ht_capab=[HT40+][SHORT-GI-20][SHORT-GI-40][DSSS_CCK-40] ieee80211ac=1 vht_oper_chwidth=0 vht_oper_centr_freq_seg0_idx=-2 vht_capab=[SHORT-GI-80][SU-BEAMFORMEE][MU-BEAMFORMER][BF-ANTENNA-3][MAX-A-MPDU-LEN-EXP0][VHT-LINK-ADAPT-3] channel=acs_survey  interface=phy1-ap0 bssid=2c:56:dc:54:d1:34 ctrl_interface=/var/run/hostapd ap_isolate=1 bss_load_update_period=60 chan_util_avg_period=600 disassoc_low_ack=1 skip_inactivity_poll=0 preamble=1 wmm_enabled=1 ignore_broadcast_ssid=0 uapsd_advertisement_enabled=1 utf8_ssid=1 multi_ap=0 auth_algs=1 wpa=0 ssid=OpenWrt5 bridge=br-lan wds_bridge= snoop_iface=br-lan qos_map_set=0,0,2,16,1,1,255,255,18,22,24,38,40,40,44,46,48,56 #default_macaddr nas_identifier=2c56dc54d134  (phy phy1) --> new
Sat Aug  3 17:13:06 2024 kern.info kernel: [ 2595.483921] br-lan: port 6(phy1-ap0) entered blocking state
Sat Aug  3 17:13:06 2024 kern.info kernel: [ 2595.489534] br-lan: port 6(phy1-ap0) entered disabled state
Sat Aug  3 17:13:06 2024 kern.info kernel: [ 2595.495415] device phy1-ap0 entered promiscuous mode
Sat Aug  3 17:13:06 2024 daemon.notice hostapd: phy1-ap0: interface state UNINITIALIZED->COUNTRY_UPDATE
Sat Aug  3 17:13:06 2024 daemon.notice hostapd: ACS: Automatic channel selection started, this may take a bit
Sat Aug  3 17:13:06 2024 daemon.notice hostapd: phy1-ap0: interface state COUNTRY_UPDATE->ACS
Sat Aug  3 17:13:06 2024 daemon.notice hostapd: phy1-ap0: ACS-STARTED
Sat Aug  3 17:13:06 2024 daemon.notice netifd: Wireless device 'radio1' is now up
Sat Aug  3 17:13:07 2024 daemon.info dnsmasq[1]: read /etc/hosts - 12 names
Sat Aug  3 17:13:07 2024 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 4 names
Sat Aug  3 17:13:07 2024 daemon.info dnsmasq[1]: read /tmp/hosts/odhcpd - 2 names
Sat Aug  3 17:13:07 2024 daemon.info dnsmasq-dhcp[1]: read /etc/ethers - 0 addresses
Sat Aug  3 17:13:08 2024 daemon.warn odhcpd[1439]: No default route present, overriding ra_lifetime!
Sat Aug  3 17:13:16 2024 daemon.err hostapd: ACS: Unable to collect survey data
Sat Aug  3 17:13:16 2024 daemon.err hostapd: ACS: All study options have failed
Sat Aug  3 17:13:16 2024 daemon.err hostapd: Interface initialization failed
Sat Aug  3 17:13:16 2024 daemon.notice hostapd: phy1-ap0: interface state ACS->DISABLED
Sat Aug  3 17:13:16 2024 daemon.notice hostapd: phy1-ap0: AP-DISABLED
Sat Aug  3 17:13:16 2024 daemon.err hostapd: ACS: Possibly channel configuration is invalid, please report this along with your config file.
Sat Aug  3 17:13:16 2024 daemon.err hostapd: ACS: Failed to start
Sat Aug  3 17:13:16 2024 daemon.notice hostapd: phy1-ap0: AP-DISABLED
Sat Aug  3 17:13:16 2024 daemon.err hostapd: hostapd_free_hapd_data: Interface phy1-ap0 wasn't started
Sat Aug  3 17:13:16 2024 daemon.notice hostapd: nl80211: deinit ifname=phy1-ap0 disabled_11b_rates=0
Sat Aug  3 17:13:16 2024 kern.info kernel: [ 2605.465066] device phy1-ap0 left promiscuous mode
Sat Aug  3 17:13:16 2024 kern.info kernel: [ 2605.469882] br-lan: port 6(phy1-ap0) entered disabled state
Sat Aug  3 17:13:17 2024 daemon.notice hostapd: phy1-ap0: interface state DISABLED->DISABLED

Kernel logs

root@OpenWrt:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.15.162 (builder@buildhost) (arm-openwrt-linux-muslgnueabi-gcc (OpenWrt GCC 12.3.0 r24012-d8dd03c46f) 12.3.0, GNU ld (GNU Binutils) 2.40.0) #0 SMP Mon Jul 15 22:14:18 2024
[    0.000000] CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: ASUS RT-AC3100
[    0.000000] earlycon: ns16550 at MMIO 0x18000300 (options '115200n8')
[    0.000000] printk: bootconsole [ns16550] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Hit pending asynchronous external abort (FSR=0x00001c06) during first unmask, this is most likely caused by a firmware/bootloader bug.
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000]   HighMem  [mem 0x0000000008000000-0x000000009fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000]   node   0: [mem 0x0000000088000000-0x000000009fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000009fffffff]
[    0.000000] percpu: Embedded 11 pages/cpu s16140 r8192 d20724 u45056
[    0.000000] pcpu-alloc: s16140 r8192 d20724 u45056 alloc=11*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 130784
[    0.000000] Kernel command line: earlycon
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 509304K/524288K available (6477K kernel code, 571K rwdata, 860K rodata, 1024K init, 299K bss, 14984K reserved, 0K cma-reserved, 393216K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, 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: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] L2C: DT/platform modifies aux control register: 0x0a130000 -> 0x3a530000
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 ID prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB
[    0.000000] L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x7e530001
[    0.000001] sched_clock: 64 bits at 700MHz, resolution 1ns, wraps every 4398046511103ns
[    0.008090] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0xa17102bcf3, max_idle_ns: 440795224838 ns
[    0.019240] Switching to timer-based delay loop, resolution 1ns
[    0.025377] Calibrating delay loop (skipped), value calculated using timer frequency.. 1400.00 BogoMIPS (lpj=7000000)
[    0.036079] CPU: Testing write buffer coherency: ok
[    0.040980] CPU0: Spectre v2: using BPIALL workaround
[    0.046076] pid_max: default: 32768 minimum: 301
[    0.051125] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.058510] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.067404] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.073690] Setting up static identity map for 0x100000 - 0x10003c
[    0.080082] rcu: Hierarchical SRCU implementation.
[    0.085197] smp: Bringing up secondary CPUs ...
[    0.090319] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.090333] CPU1: Spectre v2: using BPIALL workaround
[    0.101242] smp: Brought up 1 node, 2 CPUs
[    0.105398] SMP: Total of 2 processors activated (2800.00 BogoMIPS).
[    0.111812] CPU: WARNING: CPU(s) started in wrong/inconsistent modes (primary CPU mode 0x13)
[    0.120276] CPU: This may indicate a broken bootloader or firmware.
[    0.128856] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.138797] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.145864] pinctrl core: initialized pinctrl subsystem
[    0.151750] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.158262] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.165757] thermal_sys: Registered thermal governor 'step_wise'
[    0.615819] clocksource: Switched to clocksource arm_global_timer
[    0.628817] NET: Registered PF_INET protocol family
[    0.633828] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.641606] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.650082] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.657914] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.665654] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.672786] TCP: Hash tables configured (established 1024 bind 1024)
[    0.679265] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.685901] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.693111] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.698882] PCI: CLS 0 bytes, default 64
[    0.703675] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.712760] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.718719] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.729313] bounce: pool size: 64 pages
[    0.733290] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.742540] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.750680] printk: console [ttyS0] disabled
[    0.755141] 18000300.serial: ttyS0 at MMIO 0x18000300 (irq = 28, base_baud = 7812500) is a 16550
[    0.764084] printk: console [ttyS0] enabled
[    0.772507] printk: bootconsole [ns16550] disabled
[    0.782746] bcm2835-rng 18004000.rng: hwrng registered
[    0.788603] nand: device found, Manufacturer ID: 0xc8, Chip ID: 0xd1
[    0.794983] nand: ESMT NAND 128MiB 3,3V 8-bit
[    0.799374] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    0.806986] iproc_nand 18028000.nand-controller: detected 128MiB total, 128KiB blocks, 2KiB pages, 16B OOB, 8-bit, BCH-8
[    0.817926] Scanning device for bad blocks
[    1.048750] Bad eraseblock 256 at 0x000002000000
[    1.421986] random: crng init done
[    1.730213] 3 fixed-partitions partitions found on MTD device brcmnand.0
[    1.737142] Creating 3 MTD partitions on "brcmnand.0":
[    1.742302] 0x000000000000-0x000000080000 : "boot"
[    1.747604] 0x000000080000-0x000000200000 : "nvram"
[    1.752995] 0x000000200000-0x000008000000 : "firmware"
[    1.759571] 2 trx partitions found on MTD device firmware
[    1.765002] Creating 2 MTD partitions on "firmware":
[    1.770015] 0x00000000001c-0x000000400000 : "linux"
[    1.774903] mtd: partition "linux" doesn't start on an erase/write block boundary -- force read-only
[    1.784560] 0x000000400000-0x000007e00000 : "ubi"
[    1.791867] bcm_iproc 18029200.spi: using bspi-mspi mode
[    1.799210] iproc-mdio 18003000.mdio: Broadcom iProc MDIO bus registered
[    1.807116] b53-srab-switch 18007000.ethernet-switch: found switch: BCM53012, rev 0
[    1.815017] bgmac_bcma: Broadcom 47xx GBit MAC driver loaded
[    1.821197] bcma-host-soc 18000000.axi: bus0: Found chip with id 53030, rev 0x00 and package 0x00
[    1.830189] bcma-host-soc 18000000.axi: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x2A, class 0x0)
[    1.840770] bcma-host-soc 18000000.axi: bus0: bcma_of_get_irq() failed with rc=-22
[    1.840778] bcma-host-soc 18000000.axi: bus0: Core 1 found: Chipcommon B (manuf 0x4BF, id 0x50B, rev 0x05, class 0x0)
[    1.851521] bcma-host-soc 18000000.axi: bus0: bcma_of_get_irq() failed with rc=-22
[    1.851530] bcma-host-soc 18000000.axi: bus0: Core 2 found: DMA (manuf 0x4BF, id 0x502, rev 0x04, class 0x0)
[    1.861516] bcma-host-soc 18000000.axi: bus0: Core 3 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0x07, class 0x0)
[    1.871936] bcma-host-soc 18000000.axi: bus0: Core 4 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0x07, class 0x0)
[    1.882338] bcma-host-soc 18000000.axi: bus0: Core 5 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0x07, class 0x0)
[    1.892749] bcma-host-soc 18000000.axi: bus0: Core 6 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0x07, class 0x0)
[    1.903107] bcma-host-soc 18000000.axi: bus0: Core 7 found: PCIe Gen 2 (manuf 0x4BF, id 0x501, rev 0x07, class 0x0)
[    1.913647] bcma-host-soc 18000000.axi: bus0: Core 8 found: PCIe Gen 2 (manuf 0x4BF, id 0x501, rev 0x07, class 0x0)
[    1.924187] bcma-host-soc 18000000.axi: bus0: Core 9 found: PCIe Gen 2 (manuf 0x4BF, id 0x501, rev 0x07, class 0x0)
[    1.934744] bcma-host-soc 18000000.axi: bus0: bcma_of_get_irq() failed with rc=-22
[    1.934751] bcma-host-soc 18000000.axi: bus0: Core 10 found: ARM Cortex A9 core (ihost) (manuf 0x4BF, id 0x510, rev 0x07, class 0x0)
[    1.946788] bcma-host-soc 18000000.axi: bus0: Core 11 found: USB 2.0 (manuf 0x4BF, id 0x504, rev 0x07, class 0x0)
[    1.957174] bcma-host-soc 18000000.axi: bus0: Core 12 found: USB 3.0 (manuf 0x4BF, id 0x505, rev 0x07, class 0x0)
[    1.967562] bcma-host-soc 18000000.axi: bus0: bcma_of_get_irq() failed with rc=-22
[    1.967569] bcma-host-soc 18000000.axi: bus0: Core 13 found: SDIO3 (manuf 0x4BF, id 0x503, rev 0x01, class 0x0)
[    1.977773] bcma-host-soc 18000000.axi: bus0: bcma_of_get_irq() failed with rc=-22
[    1.977781] bcma-host-soc 18000000.axi: bus0: Core 14 found: I2S (manuf 0x4BF, id 0x834, rev 0x03, class 0x0)
[    1.987808] bcma-host-soc 18000000.axi: bus0: bcma_of_get_irq() failed with rc=-22
[    1.987814] bcma-host-soc 18000000.axi: bus0: Core 15 found: ARM Cortex A9 JTAG (manuf 0x4BF, id 0x506, rev 0x01, class 0x0)
[    1.999152] bcma-host-soc 18000000.axi: bus0: bcma_of_get_irq() failed with rc=-22
[    1.999159] bcma-host-soc 18000000.axi: bus0: Core 16 found: Denali DDR2/DDR3 memory controller (manuf 0x4BF, id 0x507, rev 0x01, class 0x0)
[    2.011884] bcma-host-soc 18000000.axi: bus0: bcma_of_get_irq() failed with rc=-22
[    2.011891] bcma-host-soc 18000000.axi: bus0: Core 17 found: ROM (manuf 0x4BF, id 0x508, rev 0x08, class 0x0)
[    2.021954] bcma-host-soc 18000000.axi: bus0: Core 18 found: NAND flash controller (manuf 0x4BF, id 0x509, rev 0x01, class 0x0)
[    2.033566] bcma-host-soc 18000000.axi: bus0: bcma_of_get_irq() failed with rc=-22
[    2.033573] bcma-host-soc 18000000.axi: bus0: Core 19 found: SPI flash controller (manuf 0x4BF, id 0x50A, rev 0x01, class 0x0)
[    2.045015] bcma-host-soc 18000000.axi: bus0: Flash type not supported
[    2.062451] bcma-host-soc 18000000.axi: bus0: Using SPROM revision 8 provided by platform.
[    2.062775] bgmac_bcma bcma0:3: Found PHY addr: 30 (NOREGS)
[    2.068417] bgmac_bcma bcma0:3: Support for Roboswitch not implemented
[    2.075859] b53-srab-switch b53-srab-switch: invalid resource
[    2.081644] b53-srab-switch: probe of b53-srab-switch failed with error -22
[    2.089287] bgmac_bcma bcma0:4: Found PHY addr: 0
[    2.094024] bgmac_bcma bcma0:4: Support for Roboswitch not implemented
[    2.100618] bgmac_bcma bcma0:4: Invalid MAC addr: 00:00:00:00:00:00
[    2.106925] bgmac_bcma bcma0:4: Using random MAC: c2:18:9c:e5:a5:9b
[    2.114587] bgmac_bcma bcma0:5: Found PHY addr: 0
[    2.119368] bgmac_bcma bcma0:5: Support for Roboswitch not implemented
[    2.125958] bgmac_bcma bcma0:5: Invalid MAC addr: 00:00:00:00:00:00
[    2.132251] bgmac_bcma bcma0:5: Using random MAC: 42:0a:b8:e2:a6:bc
[    2.139913] bgmac_bcma bcma0:6: Unsupported core_unit 3
[    2.145184] bgmac_bcma: probe of bcma0:6 failed with error -524
[    2.151290] pcie_iproc_bcma bcma0:7: host bridge /axi@18000000/pcie@12000 ranges:
[    2.158855] pcie_iproc_bcma bcma0:7:   No bus range found for /axi@18000000/pcie@12000, using [bus 00-ff]
[    2.168481] OF: /axi@18000000/pcie@12000: Missing device_type
[    2.174244] pcie_iproc_bcma bcma0:7: non-prefetchable memory resource required
[    2.295805] pcie_iproc_bcma bcma0:7: link: UP
[    2.300262] pcie_iproc_bcma bcma0:7: PCI host bridge to bus 0000:00
[    2.306568] pci_bus 0000:00: root bus resource [bus 00-ff]
[    2.312072] pci_bus 0000:00: root bus resource [mem 0x08000000-0x0fffffff]
[    2.318997] pci 0000:00:00.0: [14e4:d612] type 01 class 0x060400
[    2.325025] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x4 may corrupt adjacent RW1C bits
[    2.334753] pci 0000:00:00.0: PME# supported from D0 D3hot D3cold
[    2.341574] PCI: bus0: Fast back to back transfers disabled
[    2.347189] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    2.355336] pci 0000:01:00.0: [14e4:4365] type 00 class 0x028000
[    2.361398] pci_bus 0000:01: 2-byte config write to 0000:01:00.0 offset 0x4 may corrupt adjacent RW1C bits
[    2.371109] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00007fff 64bit]
[    2.377931] pci 0000:01:00.0: reg 0x18: [mem 0x00000000-0x003fffff 64bit]
[    2.384826] pci 0000:01:00.0: supports D1 D2
[    2.389796] PCI: bus1: Fast back to back transfers disabled
[    2.395391] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    2.402068] pci 0000:00:00.0: BAR 8: assigned [mem 0x08000000-0x085fffff]
[    2.408891] pci 0000:01:00.0: BAR 2: assigned [mem 0x08000000-0x083fffff 64bit]
[    2.416236] pci 0000:01:00.0: BAR 0: assigned [mem 0x08400000-0x08407fff 64bit]
[    2.423569] pci 0000:00:00.0: PCI bridge to [bus 01]
[    2.428549] pci 0000:00:00.0:   bridge window [mem 0x08000000-0x085fffff]
[    2.435391] pci 0000:00:00.0: 4.000 Gb/s available PCIe bandwidth (5.0 GT/s PCIe x1 link)
[    2.443766] pcie_iproc_bcma bcma0:8: host bridge /axi@18000000/pcie@13000 ranges:
[    2.451306] pcie_iproc_bcma bcma0:8:   No bus range found for /axi@18000000/pcie@13000, using [bus 00-ff]
[    2.460926] pcie_iproc_bcma bcma0:8: non-prefetchable memory resource required
[    2.585803] pcie_iproc_bcma bcma0:8: link: UP
[    2.590258] pcie_iproc_bcma bcma0:8: PCI host bridge to bus 0001:00
[    2.596567] pci_bus 0001:00: root bus resource [bus 00-ff]
[    2.602072] pci_bus 0001:00: root bus resource [mem 0x20000000-0x27ffffff]
[    2.608998] pci 0001:00:00.0: [14e4:d612] type 01 class 0x060400
[    2.615024] pci_bus 0001:00: 2-byte config write to 0001:00:00.0 offset 0x4 may corrupt adjacent RW1C bits
[    2.624754] pci 0001:00:00.0: PME# supported from D0 D3hot D3cold
[    2.631556] PCI: bus0: Fast back to back transfers disabled
[    2.637171] pci 0001:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    2.645320] pci 0001:01:00.0: [14e4:4365] type 00 class 0x028000
[    2.651379] pci_bus 0001:01: 2-byte config write to 0001:01:00.0 offset 0x4 may corrupt adjacent RW1C bits
[    2.661082] pci 0001:01:00.0: reg 0x10: [mem 0x00000000-0x00007fff 64bit]
[    2.667904] pci 0001:01:00.0: reg 0x18: [mem 0x00000000-0x003fffff 64bit]
[    2.674799] pci 0001:01:00.0: supports D1 D2
[    2.679772] PCI: bus1: Fast back to back transfers disabled
[    2.685372] pci_bus 0001:01: busn_res: [bus 01-ff] end is updated to 01
[    2.692037] pci 0001:00:00.0: BAR 8: assigned [mem 0x20000000-0x205fffff]
[    2.698854] pci 0001:01:00.0: BAR 2: assigned [mem 0x20000000-0x203fffff 64bit]
[    2.706200] pci 0001:01:00.0: BAR 0: assigned [mem 0x20400000-0x20407fff 64bit]
[    2.713533] pci 0001:00:00.0: PCI bridge to [bus 01]
[    2.718512] pci 0001:00:00.0:   bridge window [mem 0x20000000-0x205fffff]
[    2.725357] pci 0001:00:00.0: 4.000 Gb/s available PCIe bandwidth (5.0 GT/s PCIe x1 link)
[    2.733712] pcie_iproc_bcma bcma0:9: host bridge /axi@18000000/pcie@14000 ranges:
[    2.741250] pcie_iproc_bcma bcma0:9:   No bus range found for /axi@18000000/pcie@14000, using [bus 00-ff]
[    2.750872] pcie_iproc_bcma bcma0:9: non-prefetchable memory resource required
[    2.875803] pcie_iproc_bcma bcma0:9: PHY or data link is INACTIVE!
[    2.882001] pcie_iproc_bcma bcma0:9: no PCIe EP device detected
[    2.888789] bcm47xx-wdt bcm47xx-wdt.0: BCM47xx Watchdog Timer enabled (30 seconds, Software Timer)
[    2.897870] bcma-host-soc 18000000.axi: bus0: Bus registered
[    2.904522] NET: Registered PF_INET6 protocol family
[    2.910635] Segment Routing with IPv6
[    2.914334] In-situ OAM (IOAM) with IPv6
[    2.918369] NET: Registered PF_PACKET protocol family
[    2.923498] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    2.936814] 8021q: 802.1Q VLAN Support v1.8
[    2.941057] Registering SWP/SWPB emulation handler
[    2.948719] b53-srab-switch 18007000.ethernet-switch: found switch: BCM53012, rev 0
[    3.098894] b53-srab-switch 18007000.ethernet-switch: Using legacy PHYLIB callbacks. Please migrate to PHYLINK!
[    3.109074] b53-srab-switch 18007000.ethernet-switch: Using legacy PHYLIB callbacks. Please migrate to PHYLINK!
[    3.119212] b53-srab-switch 18007000.ethernet-switch: Using legacy PHYLIB callbacks. Please migrate to PHYLINK!
[    3.130309] b53-srab-switch 18007000.ethernet-switch lan4 (uninitialized): PHY [dsa-0.0:00] driver [Generic PHY] (irq=POLL)
[    3.142770] b53-srab-switch 18007000.ethernet-switch lan3 (uninitialized): PHY [dsa-0.0:01] driver [Generic PHY] (irq=POLL)
[    3.155249] b53-srab-switch 18007000.ethernet-switch lan2 (uninitialized): PHY [dsa-0.0:02] driver [Generic PHY] (irq=POLL)
[    3.167686] b53-srab-switch 18007000.ethernet-switch lan1 (uninitialized): PHY [dsa-0.0:03] driver [Generic PHY] (irq=POLL)
[    3.180092] b53-srab-switch 18007000.ethernet-switch wan (uninitialized): PHY [dsa-0.0:04] driver [Generic PHY] (irq=POLL)
[    3.191919] DSA: tree 0 setup
[    3.195233] UBI: auto-attach mtd4
[    3.198618] ubi0: attaching mtd4
[    3.828076] ubi0: scanning is finished
[    3.840503] ubi0: attached mtd4 (name "ubi", size 122 MiB)
[    3.846060] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    3.852956] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    3.859765] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    3.866750] ubi0: good PEBs: 975, bad PEBs: 1, corrupted PEBs: 0
[    3.872768] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    3.880014] ubi0: max/mean erase counter: 3/1, WL threshold: 4096, image sequence number: 1801912543
[    3.889175] ubi0: available PEBs: 0, total reserved PEBs: 975, PEBs reserved for bad PEB handling: 19
[    3.898460] ubi0: background thread "ubi_bgt0d" started, PID 300
[    3.905208] block ubiblock0_0: created from ubi0:0(rootfs)
[    3.910767] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[    3.917888] clk: Disabling unused clocks
[    3.925176] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    3.933147] Freeing unused kernel image (initmem) memory: 1024K
[    3.939287] Run /sbin/init as init process
[    3.943392]   with arguments:
[    3.943395]     /sbin/init
[    3.943397]   with environment:
[    3.943399]     HOME=/
[    3.943402]     TERM=linux
[    4.142788] init: Console is alive
[    4.146494] init: - watchdog -
[    4.493636] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.564275] usbcore: registered new interface driver usbfs
[    4.569882] usbcore: registered new interface driver hub
[    4.575269] usbcore: registered new device driver usb
[    4.583923] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.591468] fsl-ehci: Freescale EHCI Host controller driver
[    4.597971] ehci-platform: EHCI generic platform driver
[    4.605711] ehci-platform 18021000.usb: EHCI Host Controller
[    4.607564] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.611514] ehci-platform 18021000.usb: new USB bus registered, assigned bus number 1
[    4.618232] ohci-platform: OHCI generic platform driver
[    4.625653] ehci-platform 18021000.usb: irq 45, io mem 0x18021000
[    4.630957] ohci-platform 18022000.usb: Generic Platform OHCI controller
[    4.643630] ohci-platform 18022000.usb: new USB bus registered, assigned bus number 2
[    4.651632] ohci-platform 18022000.usb: irq 45, io mem 0x18022000
[    4.665879] ehci-platform 18021000.usb: USB 2.0 started, EHCI 1.00
[    4.672626] hub 1-0:1.0: USB hub found
[    4.676566] hub 1-0:1.0: 2 ports detected
[    4.740286] hub 2-0:1.0: USB hub found
[    4.744104] hub 2-0:1.0: 2 ports detected
[    4.775843] xhci-hcd 18023000.usb: xHCI Host Controller
[    4.781123] xhci-hcd 18023000.usb: new USB bus registered, assigned bus number 3
[    4.788776] xhci-hcd 18023000.usb: hcc params 0x02501164 hci version 0x100 quirks 0x0000800000010010
[    4.798005] xhci-hcd 18023000.usb: irq 46, io mem 0x18023000
[    4.803791] xhci-hcd 18023000.usb: xHCI Host Controller
[    4.809058] xhci-hcd 18023000.usb: new USB bus registered, assigned bus number 4
[    4.816490] xhci-hcd 18023000.usb: Host supports USB 3.0 SuperSpeed
[    4.824904] hub 3-0:1.0: USB hub found
[    4.828746] hub 3-0:1.0: config failed, hub doesn't have any ports! (err -19)
[    4.836143] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.844661] hub 4-0:1.0: USB hub found
[    4.848508] hub 4-0:1.0: 1 port detected
[    4.855194] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.866611] init: - preinit -
[    5.288374] mtdblock: MTD device 'nvram' is NAND, please consider using UBI block devices instead.
[    5.558361] mtdblock: MTD device 'nvram' is NAND, please consider using UBI block devices instead.
[    5.928022] b53-srab-switch 18007000.ethernet-switch lan1: configuring for phy/gmii link mode
[    5.936689] bgmac_bcma bcma0:3 eth0: Link is Up - 1Gbps/Full - flow control off
[    5.944214] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    8.092691] UBIFS (ubi0:1): Mounting in unauthenticated mode
[    8.098576] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 473
[    8.139248] UBIFS (ubi0:1): recovery needed
[    8.293572] UBIFS (ubi0:1): recovery completed
[    8.298138] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[    8.306013] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    8.315968] UBIFS (ubi0:1): FS size: 114659328 bytes (109 MiB, 903 LEBs), max 914 LEBs, journal size 5713920 bytes (5 MiB, 45 LEBs)
[    8.327838] UBIFS (ubi0:1): reserved for root: 4952683 bytes (4836 KiB)
[    8.334475] UBIFS (ubi0:1): media format: w5/r0 (latest is w5/r0), UUID C6F2859A-7064-484B-A5FC-53B175FC1954, small LPT model
[    8.351603] mount_root: switching to ubifs overlay
[    8.366935] urandom-seed: Seeding with /etc/urandom.seed
[    8.467082] procd: - early -
[    8.470090] procd: - watchdog -
[    9.042388] procd: - watchdog -
[    9.047595] procd: - ubus -
[    9.106336] procd: - init -
[    9.563977] kmodloader: loading kernel modules from /etc/modules.d/*
[    9.630282] Loading modules backported from Linux version v6.1.97-0-g7753af06eebfb
[    9.637918] Backport generated by backports.git v6.1.97-1-0-g2431d56e
[    9.698817] PPP generic driver version 2.4.2
[    9.704809] NET: Registered PF_PPPOX protocol family
[    9.718236] usbcore: registered new interface driver brcmfmac
[    9.724153] pci 0000:00:00.0: enabling device (0140 -> 0142)
[    9.729865] brcmfmac 0000:01:00.0: enabling device (0140 -> 0142)
[    9.858628] urngd: v1.0.2 started.
[    9.866144] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4366b-pcie for chip BCM4366/3
[    9.875002] pci 0001:00:00.0: enabling device (0140 -> 0142)
[    9.880700] brcmfmac 0001:01:00.0: enabling device (0140 -> 0142)
[    9.890197] brcmfmac 0000:01:00.0: Direct firmware load for brcm/brcmfmac4366b-pcie.asus,rt-ac3100.bin failed with error -2
[   10.046322] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4366b-pcie for chip BCM4366/3
[   10.071361] kmodloader: done loading kernel modules from /etc/modules.d/*
[   10.087449] brcmfmac 0001:01:00.0: Direct firmware load for brcm/brcmfmac4366b-pcie.asus,rt-ac3100.bin failed with error -2
[   10.196159] brcmfmac 0000:01:00.0: Direct firmware load for brcm/brcmfmac4366b-pcie.txt failed with error -2
[   10.206707] brcmfmac 0001:01:00.0: Direct firmware load for brcm/brcmfmac4366b-pcie.clm_blob failed with error -2
[   10.265910] brcmfmac 0000:01:00.0: Direct firmware load for brcm/brcmfmac4366b-pcie.clm_blob failed with error -2
[   10.538445] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
[   10.549693] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
[   10.560975] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4366/3 wl0: Nov  5 2018 03:11:08 version 10.28.2 (r769115) FWID 01-801fb449
[   10.573174] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4366/3 wl0: Nov  5 2018 03:11:08 version 10.28.2 (r769115) FWID 01-801fb449
[   14.525499] bgmac_bcma bcma0:3 eth0: Link is Up - 1Gbps/Full - flow control off
[   14.531434] b53-srab-switch 18007000.ethernet-switch lan1: configuring for phy/gmii link mode
[   14.543692] br-lan: port 1(lan1) entered blocking state
[   14.549046] br-lan: port 1(lan1) entered disabled state
[   14.554575] device lan1 entered promiscuous mode
[   14.559233] device eth0 entered promiscuous mode
[   14.646219] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   14.664521] b53-srab-switch 18007000.ethernet-switch lan2: configuring for phy/gmii link mode
[   14.674898] br-lan: port 2(lan2) entered blocking state
[   14.680285] br-lan: port 2(lan2) entered disabled state
[   14.685969] device lan2 entered promiscuous mode
[   14.781980] b53-srab-switch 18007000.ethernet-switch lan3: configuring for phy/gmii link mode
[   14.797124] br-lan: port 3(lan3) entered blocking state
[   14.802396] br-lan: port 3(lan3) entered disabled state
[   14.808073] device lan3 entered promiscuous mode
[   14.901803] b53-srab-switch 18007000.ethernet-switch lan4: configuring for phy/gmii link mode
[   14.920223] br-lan: port 4(lan4) entered blocking state
[   14.925488] br-lan: port 4(lan4) entered disabled state
[   14.935084] device lan4 entered promiscuous mode
[   15.041719] b53-srab-switch 18007000.ethernet-switch wan: configuring for phy/gmii link mode
[   15.962763] brcmfmac 0000:01:00.0 phy0-ap0: renamed from wlan0
[   16.040793] br-lan: port 5(phy0-ap0) entered blocking state
[   16.046504] br-lan: port 5(phy0-ap0) entered disabled state
[   16.052391] device phy0-ap0 entered promiscuous mode
[   16.059285] device phy0-ap0 left promiscuous mode
[   16.064156] br-lan: port 5(phy0-ap0) entered disabled state
[   16.097811] br-lan: port 5(phy0-ap0) entered blocking state
[   16.103436] br-lan: port 5(phy0-ap0) entered disabled state
[   16.109465] device phy0-ap0 entered promiscuous mode
[   16.323848] IPv6: ADDRCONF(NETDEV_CHANGE): phy0-ap0: link becomes ready
[   16.330711] br-lan: port 5(phy0-ap0) entered blocking state
[   16.336338] br-lan: port 5(phy0-ap0) entered forwarding state
[   16.342521] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   16.634797] brcmfmac 0001:01:00.0 phy1-ap0: renamed from wlan1
[   16.705766] br-lan: port 6(phy1-ap0) entered blocking state
[   16.711462] br-lan: port 6(phy1-ap0) entered disabled state
[   16.717314] device phy1-ap0 entered promiscuous mode
[   18.919849] IPv6: ADDRCONF(NETDEV_CHANGE): phy1-ap0: link becomes ready
[   18.926670] br-lan: port 6(phy1-ap0) entered blocking state
[   18.932266] br-lan: port 6(phy1-ap0) entered forwarding state
[   19.226618] b53-srab-switch 18007000.ethernet-switch wan: Link is Up - 1Gbps/Full - flow control rx/tx
[   19.236005] IPv6: ADDRCONF(NETDEV_CHANGE): wan: link becomes ready
[ 2594.840034] br-lan: port 6(phy1-ap0) entered disabled state
[ 2595.413232] br-lan: port 6(phy1-ap0) entered disabled state
[ 2595.420946] device phy1-ap0 left promiscuous mode
[ 2595.425822] br-lan: port 6(phy1-ap0) entered disabled state
[ 2595.483921] br-lan: port 6(phy1-ap0) entered blocking state
[ 2595.489534] br-lan: port 6(phy1-ap0) entered disabled state
[ 2595.495415] device phy1-ap0 entered promiscuous mode
[ 2605.465066] device phy1-ap0 left promiscuous mode
[ 2605.469882] br-lan: port 6(phy1-ap0) entered disabled state

Change channel width to 80 ? The iwinfo says scan and dfs is supported, worst should be sitting 1min in each DFS channel before settling on best by scannable AP-s in there.

Changed to 80, but it made no difference...

As other have reported they had success with this firmware, I tried reflashing again. No change...

In another test, I went to a very old stock firmware and then reflashed with OpenWRT (same version). Things improved a bit. Now, clients are connecting to the router at 5Ghz and are not dropping! But traffic is not going thru.

It looks like a firmware issue....

Something else I just found... When you make some changes on the 5Ghz interface, it can changes the MAC address... (from :35 to :34). If you revert the change, the MAC goes back....

Channel 36 width 20

root@OpenWrt:~# ifconfig phy1-ap0
phy1-ap0  Link encap:Ethernet  HWaddr XX:XX:XX:54:D1:35
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5632 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12930 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:431087 (420.9 KiB)  TX bytes:1204178 (1.1 MiB)

Channel 36 width 80

root@OpenWrt:~# ifconfig phy1-ap0
phy1-ap0  Link encap:Ethernet  HWaddr XX:XX:XX:54:D1:34
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5632 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12930 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:431087 (420.9 KiB)  TX bytes:1204178 (1.1 MiB)

Found the issue...
The image is using a 'broken' firmware for the radio. It seems the same issue also occurs with other devices.

Solution is to replace the firmware with an older version.
The firmware in the openwrt image is:
BCM4366/3 wl0: Nov 5 2018 03:11:08 version 10.28.2 (r769115) FWID 01-801fb449

I replaced with an older one and everything is working fine:
BCM4366/3 wl0: May 31 2017 20:43:28 version 10.10.122.301 (r658909)

Instruction for the procedure and for the old firmware can be found at:
https://openwrt.org/toh/d-link/dir-885l#hw_vera1_50_ghz_issues

This should help anyone that faces the same issue.
Tks!!

Worth filing a bug on github

I will! Thanks for the help!

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