Netgear R6850 5GHz radio not possible to get up. "Wireless is not associated"

I'm not able to get 5GHz radio working. I've tried everything(i think) with no luck. The 2.4GHz work flawless.

At this moment, the radio1 is reset to default config, but still not able to get it up.

I'm most concern about this line in log:
daemon.err hostapd: Could not set interface wlan1 flags (UP): I/O error

Some info:

It's fresh install, only LuCi added and some generic linux tools.

root@OpenWrt:~# cat /etc/banner
  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r13487-712e00877d
 -----------------------------------------------------
root@OpenWrt:~# lsmod | grep mt76
cfg80211              275941  4 mt7615_common,mt7603e,mt76,mac80211
mac80211              526914  4 mt7615e,mt7615_common,mt7603e,mt76
mt76                   35116  3 mt7615e,mt7615_common,mt7603e
mt7603e                39996  0 
mt7615_common          65820  1 mt7615e
mt7615e                 8258  0 
root@OpenWrt:~# hostapd -dd -t -P /var/run/wifi-phy1.pid /var/run/hostapd-phy1.conf
1591353136.939019: Could not set interface wlan1 flags (UP): I/O error
1591353136.939102: nl80211: Could not set interface 'wlan1' UP
1591353136.939149: nl80211: deinit ifname=wlan1 disabled_11b_rates=0
1591353136.939533: nl80211 driver initialization failed.
1591353136.939590: wlan1: interface state UNINITIALIZED->DISABLED
1591353136.939644: wlan1: AP-DISABLED 
1591353136.939700: wlan1: CTRL-EVENT-TERMINATING 
1591353136.939731: hostapd_free_hapd_data: Interface wlan1 wasn't started
root@OpenWrt:~# cat /etc/config/wireless

config wifi-device 'radio0'
        option type 'mac80211'
        option hwmode '11g'
        option path '1e140000.pcie/pci0000:00/0000:00:01.0/0000:02:00.0'
        option disabled '0'
        option htmode 'HT40'
        option channel 'auto'
        option noscan '1'

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

config wifi-device 'radio1'
        option type 'mac80211'
        option channel '36'
        option hwmode '11a'
        option path '1e140000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0'
        option htmode 'VHT80'

config wifi-iface 'default_radio1'
        option device 'radio1'
        option network 'lan'
        option mode 'ap'
        option ssid 'OpenWrt'
        option encryption 'none'
root@OpenWrt:~# cat /var/run/hostapd-phy1.conf 
driver=nl80211
logger_syslog=127
logger_syslog_level=2
logger_stdout=127
logger_stdout_level=2
hw_mode=a
beacon_int=100
dtim_period=2
channel=36


tx_queue_data2_burst=2.0
ieee80211n=1
ht_coex=0
ht_capab=[HT40+][LDPC][SHORT-GI-20][SHORT-GI-40][TX-STBC][RX-STBC1]
vht_oper_chwidth=1
vht_oper_centr_freq_seg0_idx=42
ieee80211ac=1
vht_capab=[RXLDPC][SHORT-GI-80][SHORT-GI-160][TX-STBC-2BY1][RX-ANTENNA-PATTERN][TX-ANTENNA-PATTERN][RX-STBC-1][VHT160-80PLUS80][MAX-MPDU-11454][MAX-A-MPDU-LEN-EXP7]

radio_config_id=a62a54784816d20c0b3324dc42079010
interface=wlan1
ctrl_interface=/var/run/hostapd
ap_isolate=1
bss_load_update_period=60
chan_util_avg_period=600
disassoc_low_ack=1
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=OpenWrt
bridge=br-lan
config_id=755aa9cb931b2fc48d39f9b251f810c8
bssid=14:59:c0:xx:xx:xx
root@OpenWrt:~# wifi status radio1
{
        "radio1": {
                "up": true,
                "pending": false,
                "autostart": true,
                "disabled": false,
                "retry_setup_failed": false,
                "config": {
                        "channel": "36",
                        "hwmode": "11a",
                        "path": "1e140000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0",
                        "htmode": "VHT80"
                },
                "interfaces": [
                        {
                                "section": "default_radio1",
                                "config": {
                                        "mode": "ap",
                                        "ssid": "OpenWrt",
                                        "encryption": "none",
                                        "network": [
                                                "lan"
                                        ],
                                        "mode": "ap"
                                }
                        }
                ]
        }
}

part of log:

Fri Jun  5 09:12:51 2020 daemon.err hostapd: Could not set interface wlan1 flags (UP): I/O error
Fri Jun  5 09:12:51 2020 daemon.err hostapd: nl80211: Could not set interface 'wlan1' UP
Fri Jun  5 09:12:51 2020 daemon.notice hostapd: nl80211: deinit ifname=wlan1 disabled_11b_rates=0
Fri Jun  5 09:12:51 2020 daemon.err hostapd: nl80211 driver initialization failed.
Fri Jun  5 09:12:51 2020 daemon.notice hostapd: wlan1: CTRL-EVENT-TERMINATING
Fri Jun  5 09:12:51 2020 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan1 wasn't started
Fri Jun  5 09:12:51 2020 daemon.notice netifd: radio1 (1548): Command failed: Invalid argument
Fri Jun  5 09:12:51 2020 daemon.notice netifd: radio0 (1547): WARNING (wireless_add_process): executable path /usr/sbin/wpad does not match process  path (/proc/exe)
Fri Jun  5 09:12:51 2020 daemon.notice netifd: radio0 (1547): Command failed: Invalid argument
Fri Jun  5 09:12:51 2020 daemon.notice netifd: radio1 (1548): WARNING (wireless_add_process): executable path /usr/sbin/wpad does not match process  path (/proc/exe)
Fri Jun  5 09:12:51 2020 daemon.notice netifd: radio1 (1548): Command failed: Invalid argument
root@OpenWrt:~# iw phy phy1 info
Wiphy phy1
        max # scan SSIDs: 4
        max scan IEs length: 543 bytes
        max # sched scan SSIDs: 10
        max # match sets: 16
        max # scan plans: 1
        max scan plan interval: 10
        max scan plan iterations: 0
        Retry short limit: 7
        Retry long limit: 4
        Coverage class: 0 (up to 0m)
        Device supports T-DLS.
        Available Antennas: TX 0xf RX 0xf
        Configured Antennas: TX 0xf RX 0xf
        Supported interface modes:
                 * IBSS
                 * managed
                 * AP
                 * AP/VLAN
                 * monitor
                 * mesh point
                 * P2P-client
                 * P2P-GO
        Band 2:
                Capabilities: 0x1ff
                        RX LDPC
                        HT20/HT40
                        SM Power Save disabled
                        RX Greenfield
                        RX HT20 SGI
                        RX HT40 SGI
                        TX STBC
                        RX STBC 1-stream
                        Max AMSDU length: 3839 bytes
                        No DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: No restriction (0x00)
                HT TX/RX MCS rate indexes supported: 0-31
                VHT Capabilities (0x338001fa):
                        Max MPDU length: 11454
                        Supported Channel Width: 160 MHz, 80+80 MHz
                        RX LDPC
                        short GI (80 MHz)
                        short GI (160/80+80 MHz)
                        TX STBC
                        RX antenna pattern consistency
                        TX antenna pattern consistency
                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 TX highest supported: 0 Mbps
                Frequencies:
                        * 5180 MHz [36] (20.0 dBm)
                        * 5200 MHz [40] (20.0 dBm)
                        * 5220 MHz [44] (20.0 dBm)
                        * 5240 MHz [48] (20.0 dBm)
                        * 5260 MHz [52] (20.0 dBm) (no IR, radar detection)
                        * 5280 MHz [56] (20.0 dBm) (no IR, radar detection)
                        * 5300 MHz [60] (20.0 dBm) (no IR, radar detection)
                        * 5320 MHz [64] (20.0 dBm) (no IR, radar detection)
                        * 5500 MHz [100] (20.0 dBm) (no IR, radar detection)
                        * 5520 MHz [104] (20.0 dBm) (no IR, radar detection)
                        * 5540 MHz [108] (20.0 dBm) (no IR, radar detection)
                        * 5560 MHz [112] (20.0 dBm) (no IR, radar detection)
                        * 5580 MHz [116] (20.0 dBm) (no IR, radar detection)
                        * 5600 MHz [120] (20.0 dBm) (no IR, radar detection)
                        * 5620 MHz [124] (20.0 dBm) (no IR, radar detection)
                        * 5640 MHz [128] (20.0 dBm) (no IR, radar detection)
                        * 5660 MHz [132] (20.0 dBm) (no IR, radar detection)
                        * 5680 MHz [136] (20.0 dBm) (no IR, radar detection)
                        * 5700 MHz [140] (20.0 dBm) (no IR, radar detection)
                        * 5745 MHz [149] (20.0 dBm) (no IR)
                        * 5765 MHz [153] (20.0 dBm) (no IR)
                        * 5785 MHz [157] (20.0 dBm) (no IR)
                        * 5805 MHz [161] (20.0 dBm) (no IR)
                        * 5825 MHz [165] (20.0 dBm) (no IR)
        valid interface combinations:
                 * #{ IBSS } <= 1, #{ managed, AP, mesh point, P2P-client, P2P-GO } <= 4,
                   total <= 4, #channels <= 1, STA/AP BI must match, radar detect widths: { 20 MHz (no HT), 20 MHz, 4
0 MHz, 80 MHz, 80+80 MHz, 160 MHz }

        HT Capability overrides:
                 * MCS: ff ff ff ff ff ff ff ff ff ff
                 * maximum A-MSDU length
                 * supported channel width
                 * short GI for 40 MHz
                 * max A-MPDU length exponent
                 * min MPDU start spacing
        Supported extended features:
                * [ VHT_IBSS ]: VHT-IBSS
                * [ RRM ]: RRM
                * [ SET_SCAN_DWELL ]: scan dwell setting
                * [ CQM_RSSI_LIST ]: multiple CQM_RSSI_THOLD records
                * [ CONTROL_PORT_OVER_NL80211 ]: control port over nl80211
                * [ TXQS ]: FQ-CoDel-enabled interm-pci 1e140000.pcie: Parsing DT failed
[    4.361808] mt7621-pci 1e140000.pcie: Error applying setting, reverse things back
[    4.376867] mt7621-pcediate TXQs
                * [ AIRTIME_FAIRNESS ]: airtime fairness scheduling

Any advice would be very appreciated.
Thank You.

So.

I did a dozens of attempts, thanks the nmrpflash bootloader is working fine and debricking is easy :wink:

So i did a whole bunch of tests:

  • Flashed factory image - 5G is working, but the firmware is shitty. (I didn't tried this before flashing openwrt) - i did that to confirm the hardware is not faulty.
  • flashed snapshot again - no luck
  • build my own image - no luck
  • tried drivers from this thread: Mt76 driver - replacement [for test] - no luck (likely because of 5.x kernel ?)

Finally i flashed firmware for R6350 - and it works flawless (at least as far as it was tested by me)

Thank you developers for your great work.

Maybe smoeone should consider officially use same firmware for both R6350 and R6850 ?

br
willy

Some system info:
root@192.168.1.1's password: 


BusyBox v1.30.1 () built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 19.07.3, r11063-85e04e9f46
 -----------------------------------------------------

root@router:~# cat /proc/version
Linux version 4.14.180 (builder@buildhost) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 r11063-85e04e9f46)) #0 SMP Sat May 16 18:32:20 2020

root@router:~# cat /proc/cpuinfo 
system type		: MediaTek MT7621 ver:1 eco:3
machine			: Netgear R6350
processor		: 0
cpu model		: MIPS 1004Kc V2.15
BogoMIPS		: 584.90
wait instruction	: yes
microsecond timers	: yes
tlb_entries		: 32
extra interrupt vector	: yes
hardware watchpoint	: yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa			: mips1 mips2 mips32r1 mips32r2
ASEs implemented	: mips16 dsp mt
Options implemented	: tlb 4kex 4k_cache prefetch mcheck ejtag llsc pindexed_dcache userlocal vint perf_cntr_intr_bit cdmm nan_legacy nan_2008 perf
shadow register sets	: 1
kscratch registers	: 0
package			: 0
core			: 0
VPE			: 0
VCED exceptions		: not available
VCEI exceptions		: not available

processor		: 1
cpu model		: MIPS 1004Kc V2.15
BogoMIPS		: 584.90
wait instruction	: yes
microsecond timers	: yes
tlb_entries		: 32
extra interrupt vector	: yes
hardware watchpoint	: yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa			: mips1 mips2 mips32r1 mips32r2
ASEs implemented	: mips16 dsp mt
Options implemented	: tlb 4kex 4k_cache prefetch mcheck ejtag llsc pindexed_dcache userlocal vint perf_cntr_intr_bit cdmm nan_legacy nan_2008 perf
shadow register sets	: 1
kscratch registers	: 0
package			: 0
core			: 0
VPE			: 1
VCED exceptions		: not available
VCEI exceptions		: not available

processor		: 2
cpu model		: MIPS 1004Kc V2.15
BogoMIPS		: 584.90
wait instruction	: yes
microsecond timers	: yes
tlb_entries		: 32
extra interrupt vector	: yes
hardware watchpoint	: yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa			: mips1 mips2 mips32r1 mips32r2
ASEs implemented	: mips16 dsp mt
Options implemented	: tlb 4kex 4k_cache prefetch mcheck ejtag llsc pindexed_dcache userlocal vint perf_cntr_intr_bit cdmm nan_legacy nan_2008 perf
shadow register sets	: 1
kscratch registers	: 0
package			: 0
core			: 1
VPE			: 0
VCED exceptions		: not available
VCEI exceptions		: not available

processor		: 3
cpu model		: MIPS 1004Kc V2.15
BogoMIPS		: 584.90
wait instruction	: yes
microsecond timers	: yes
tlb_entries		: 32
extra interrupt vector	: yes
hardware watchpoint	: yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa			: mips1 mips2 mips32r1 mips32r2
ASEs implemented	: mips16 dsp mt
Options implemented	: tlb 4kex 4k_cache prefetch mcheck ejtag llsc pindexed_dcache userlocal vint perf_cntr_intr_bit cdmm nan_legacy nan_2008 perf
shadow register sets	: 1
kscratch registers	: 0
package			: 0
core			: 1
VPE			: 1
VCED exceptions		: not available
VCEI exceptions		: not available

root@router:~# cat /proc/modules
pppoe 9184 0 - Live 0x86d94000
ppp_async 7056 0 - Live 0x87162000
pppox 1200 1 pppoe, Live 0x87065000
ppp_generic 22896 3 pppoe,ppp_async,pppox, Live 0x86d98000
nf_conntrack_ipv6 5520 5 - Live 0x8695c000
mt7615e 35776 0 - Live 0x86950000
mt7603e 37120 0 - Live 0x86f30000
mt76 31200 2 mt7615e,mt7603e, Live 0x86f28000
mac80211 445152 3 mt7615e,mt7603e,mt76, Live 0x87180000
iptable_nat 704 1 - Live 0x8703a000
ipt_REJECT 960 2 - Live 0x86f95000
ipt_MASQUERADE 672 1 - Live 0x87714000
cfg80211 224288 4 mt7615e,mt7603e,mt76,mac80211, Live 0x87100000
xt_time 1760 0 - Live 0x870d9000
xt_tcpudp 1792 10 - Live 0x870d7000
xt_state 704 0 - Live 0x870d4000
xt_nat 1536 0 - Live 0x870cc000
xt_multiport 1280 0 - Live 0x870c9000
xt_mark 672 0 - Live 0x870c2000
xt_mac 608 0 - Live 0x870c0000
xt_limit 1184 20 - Live 0x870be000
xt_conntrack 2304 14 - Live 0x87093000
xt_comment 480 125 - Live 0x87099000
xt_TCPMSS 2784 2 - Live 0x87098000
xt_REDIRECT 704 0 - Live 0x8709b000
xt_LOG 768 0 - Live 0x877f4000
xt_FLOWOFFLOAD 3088 0 - Live 0x86fa9000
xt_CT 2656 0 - Live 0x86f97000
slhc 5120 1 ppp_generic, Live 0x86fde000
nf_reject_ipv4 2112 1 ipt_REJECT, Live 0x86fc5000
nf_nat_redirect 1408 1 xt_REDIRECT, Live 0x8709c000
nf_nat_masquerade_ipv4 1616 1 ipt_MASQUERADE, Live 0x87051000
nf_conntrack_ipv4 5152 11 - Live 0x870ae000
nf_nat_ipv4 3888 1 iptable_nat, Live 0x87056000
nf_nat 14288 4 xt_nat,nf_nat_redirect,nf_nat_masquerade_ipv4,nf_nat_ipv4, Live 0x870a4000
nf_log_ipv4 3424 0 - Live 0x8704e000
nf_flow_table_hw 2256 1 - Live 0x8705e000
nf_flow_table 13136 2 xt_FLOWOFFLOAD,nf_flow_table_hw, Live 0x87078000
nf_defrag_ipv6 4832 1 nf_conntrack_ipv6, Live 0x87074000
nf_defrag_ipv4 1088 1 nf_conntrack_ipv4, Live 0x87059000
nf_conntrack_rtcache 2720 0 - Live 0x8705b000
nf_conntrack 67440 13 nf_conntrack_ipv6,ipt_MASQUERADE,xt_state,xt_nat,xt_conntrack,xt_REDIRECT,xt_CT,nf_nat_masquerade_ipv4,nf_conntrack_ipv4,nf_nat_ipv4,nf_nat,nf_flow_table,nf_conntrack_rtcache, Live 0x87080000
iptable_mangle 896 1 - Live 0x87046000
iptable_filter 640 1 - Live 0x86f93000
ip_tables 11056 4 iptable_nat,iptable_mangle,iptable_filter, Live 0x86fbc000
crc_ccitt 992 1 ppp_async, Live 0x86f84000
compat 5952 2 mac80211,cfg80211, Live 0x86f82000
ledtrig_usbport 2736 0 - Live 0x86f85000
nf_log_ipv6 4128 0 - Live 0x8702c000
nf_log_common 2720 2 nf_log_ipv4,nf_log_ipv6, Live 0x86f96000
ip6table_mangle 1184 1 - Live 0x86fa0000
ip6table_filter 640 1 - Live 0x87764000
ip6_tables 10784 24 ip6table_mangle,ip6table_filter, Live 0x8703c000
ip6t_REJECT 1024 2 - Live 0x868ee000
x_tables 12944 24 ipt_REJECT,ipt_MASQUERADE,xt_time,xt_tcpudp,xt_state,xt_nat,xt_multiport,xt_mark,xt_mac,xt_limit,xt_conntrack,xt_comment,xt_TCPMSS,xt_REDIRECT,xt_LOG,xt_FLOWOFFLOAD,xt_CT,iptable_mangle,iptable_filter,ip_tables,ip6table_mangle,ip6table_filter,ip6_tables,ip6t_REJECT, Live 0x87034000
nf_reject_ipv6 2528 1 ip6t_REJECT, Live 0x86fa8000
leds_gpio 2912 0 - Live 0x877d8000
xhci_plat_hcd 5568 0 - Live 0x87778000
xhci_pci 3040 0 - Live 0x87775000
xhci_mtk 5216 0 - Live 0x87772000
xhci_hcd 90896 3 xhci_plat_hcd,xhci_pci,xhci_mtk, Live 0x877c0000
gpio_button_hotplug 6848 0 - Live 0x87750000
usbcore 130576 5 ledtrig_usbport,xhci_plat_hcd,xhci_pci,xhci_mtk,xhci_hcd, Live 0x877a0000
nls_base 5168 1 usbcore, Live 0x87754000
usb_common 2240 1 usbcore, Live 0x8774c000
root@router:~# dmesg
[    0.000000] Linux version 4.14.180 (builder@buildhost) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 r11063-85e04e9f46)) #0 SMP Sat May 16 18:32:20 2020
[    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[    0.000000] MIPS: machine is Netgear R6350
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] VPE topology {2,2} total 4
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] On node 0 totalpages: 32768
[    0.000000] free_area_init_node: node 0, pgdat 805727a0, node_mem_map 81003000
[    0.000000]   Normal zone: 256 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32768 pages, LIFO batch:7
[    0.000000] random: get_random_bytes called from 0x80575744 with crng_init=0
[    0.000000] percpu: Embedded 14 pages/cpu s26224 r8192 d22928 u57344
[    0.000000] pcpu-alloc: s26224 r8192 d22928 u57344 alloc=14*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Writing ErrCtl register=0003d820
[    0.000000] Readback ErrCtl register=0003d820
[    0.000000] Memory: 122512K/131072K available (4748K kernel code, 239K rwdata, 588K rodata, 1260K init, 255K bss, 8560K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS: 256
[    0.000000] CPU Clock: 880MHz
[    0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
[    0.000009] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns
[    0.015490] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[    0.087816] pid_max: default: 32768 minimum: 301
[    0.097123] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.110143] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.125795] Hierarchical SRCU implementation.
[    0.135190] smp: Bringing up secondary CPUs ...
[    0.157109] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.157118] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.157129] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.157256] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.204599] Synchronize counters for CPU 1: done.
[    0.280458] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.280467] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.280474] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.280543] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.325180] Synchronize counters for CPU 2: done.
[    0.397740] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.397748] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.397755] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.397832] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.444751] Synchronize counters for CPU 3: done.
[    0.504343] smp: Brought up 1 node, 4 CPUs
[    0.516095] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.535560] futex hash table entries: 1024 (order: 3, 32768 bytes)
[    0.547992] pinctrl core: initialized pinctrl subsystem
[    0.559675] NET: Registered protocol family 16
[    0.573511] FPU Affinity set after 11720 emulations
[    0.574178] pull PCIe RST: RALINK_RSTCTRL = 4000000
[    0.884232] release PCIe RST: RALINK_RSTCTRL = 7000000
[    0.894300] ***** Xtal 40MHz *****
[    0.901027] release PCIe RST: RALINK_RSTCTRL = 7000000
[    0.911236] Port 0 N_FTS = 1b102800
[    0.918130] Port 1 N_FTS = 1b102800
[    0.925056] Port 2 N_FTS = 1b102800
[    2.083553] PCIE2 no card, disable it(RST&CLK)
[    2.092243]  -> 21007f2
[    2.097062] PCIE0 enabled
[    2.102259] PCIE1 enabled
[    2.107440] PCI host bridge /pcie@1e140000 ranges:
[    2.116969]  MEM 0x0000000060000000..0x000000006fffffff
[    2.127327]   IO 0x000000001e160000..0x000000001e16ffff
[    2.137693] PCI coherence region base: 0xbfbf8000, mask/settings: 0x60000000
[    2.160518] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    2.171826] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    2.183054] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    2.195688] PCI host bridge to bus 0000:00
[    2.203702] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    2.217379] pci_bus 0000:00: root bus resource [io  0xffffffff]
[    2.229106] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    2.242597] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    2.258353] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    2.258390] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    2.258401] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[    2.258462] pci 0000:00:00.0: supports D1
[    2.258471] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    2.258722] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[    2.258760] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    2.258777] pci 0000:00:01.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[    2.258841] pci 0000:00:01.0: supports D1
[    2.258850] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    2.259102] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    2.274909] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    2.290982] pci 0000:01:00.0: [14c3:7615] type 00 class 0x000280
[    2.291045] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[    2.291369] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    2.291595] pci 0000:02:00.0: [14c3:7603] type 00 class 0x028000
[    2.291649] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[    2.291781] pci 0000:02:00.0: PME# supported from D0 D3hot D3cold
[    2.291978] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    2.292006] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 02
[    2.292102] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    2.305141] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    2.318947] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    2.332086] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    2.345904] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    2.359381] pci 0000:00:01.0: BAR 8: assigned [mem 0x60100000-0x601fffff]
[    2.372868] pci 0000:00:00.0: BAR 1: assigned [mem 0x60200000-0x6020ffff]
[    2.386344] pci 0000:00:01.0: BAR 1: assigned [mem 0x60210000-0x6021ffff]
[    2.399828] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
[    2.414345] pci 0000:00:00.0: PCI bridge to [bus 01]
[    2.424162] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    2.437673] pci 0000:02:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff]
[    2.451140] pci 0000:00:01.0: PCI bridge to [bus 02]
[    2.460972] pci 0000:00:01.0:   bridge window [mem 0x60100000-0x601fffff]
[    2.475801] clocksource: Switched to clocksource GIC
[    2.487192] NET: Registered protocol family 2
[    2.496546] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    2.510291] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    2.522895] TCP: Hash tables configured (established 1024 bind 1024)
[    2.535622] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    2.547129] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    2.559774] NET: Registered protocol family 1
[    2.568365] PCI: CLS 0 bytes, default 32
[    2.805747] 4 CPUs re-calibrate udelay(lpj = 2924544)
[    2.817155] Crashlog allocated RAM at address 0x3f00000
[    2.827640] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    2.847676] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.859159] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    2.879825] random: fast init done
[    2.888781] io scheduler noop registered
[    2.896517] io scheduler deadline registered (default)
[    2.907286] gpio-export gpio_export: 1 gpio(s) exported
[    2.918318] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    2.933590] console [ttyS0] disabled
[    2.940655] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
[    2.958579] console [ttyS0] enabled
[    2.972372] bootconsole [early0] disabled
[    2.990439] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
[    3.004518] Enable NFI Clock
[    3.010263] # MTK NAND # : Use HW ECC
[    3.017582] Device not found, ID: c2f1
[    3.025024] Not Support this Device! 
[    3.032483] chip_mode=00000001
[    3.038570] Support this Device in MTK table! c2f1 
[    3.048461] [NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
[    3.061335] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xf1
[    3.073982] nand: Macronix NAND 128MiB 3,3V 8-bit
[    3.083352] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    3.098438] Scanning device for bad blocks
[    3.249895] Bad eraseblock 607 at 0x000004be0000
[    3.334893] Bad eraseblock 929 at 0x000007420000
[    3.366356] 7 fixed-partitions partitions found on MTD device MT7621-NAND
[    3.379871] Creating 7 MTD partitions on "MT7621-NAND":
[    3.390281] 0x000000000000-0x000000100000 : "u-boot"
[    3.401229] 0x000000100000-0x000000200000 : "SC PART_MAP"
[    3.412975] 0x000000200000-0x000000600000 : "kernel"
[    3.423873] 0x000000600000-0x000002e00000 : "ubi"
[    3.434544] 0x000002e00000-0x000004600000 : "reserved0"
[    3.446266] 0x000004600000-0x000004800000 : "factory"
[    3.457357] 0x000004800000-0x000008000000 : "reserved1"
[    3.469226] [mtk_nand] probe successfully!
[    3.478108] Signature matched and data read!
[    3.486610] load_fact_bbt success 1023
[    3.494743] libphy: Fixed MDIO Bus: probed
[    3.568342] libphy: mdio: probed
[    4.974395] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
[    4.986932] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 21
[    5.006117] NET: Registered protocol family 10
[    5.016536] Segment Routing with IPv6
[    5.023902] NET: Registered protocol family 17
[    5.032826] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    5.058620] 8021q: 802.1Q VLAN Support v1.8
[    5.069858] UBI: auto-attach mtd3
[    5.076516] ubi0: attaching mtd3
[    5.113925] UBI: EOF marker found, PEBs from 27 will be erased
[    5.125971] ubi0: scanning is finished
[    5.171744] ubi0: volume 1 ("rootfs_data") re-sized from 9 to 271 LEBs
[    5.185548] ubi0: attached mtd3 (name "ubi", size 40 MiB)
[    5.196321] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    5.210006] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    5.223514] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    5.237373] ubi0: good PEBs: 320, bad PEBs: 0, corrupted PEBs: 0
[    5.249329] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    5.263703] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1526435312
[    5.281888] ubi0: available PEBs: 0, total reserved PEBs: 320, PEBs reserved for bad PEB handling: 20
[    5.300262] ubi0: background thread "ubi_bgt0d" started, PID 383
[    5.302200] block ubiblock0_0: created from ubi0:0(rootfs)
[    5.323177] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[    5.337060] hctosys: unable to open rtc device (rtc0)
[    5.363106] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    5.381672] Freeing unused kernel memory: 1260K
[    5.390712] This architecture does not have kernel memory protection.
[    5.992525] init: Console is alive
[    5.999576] init: - watchdog -
[    6.575418] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
[    6.610494] mtk_soc_eth 1e100000.ethernet eth0: port 4 link up
[    6.644936] mtk_soc_eth 1e100000.ethernet eth0: port 3 link up
[    6.655665] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    6.656908] mtk_soc_eth 1e100000.ethernet eth0: port 0 link up
[    6.782266] usbcore: registered new interface driver usbfs
[    6.793371] usbcore: registered new interface driver hub
[    6.804111] usbcore: registered new device driver usb
[    6.821032] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vbus not found, using dummy regulator
[    6.838324] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vusb33 not found, using dummy regulator
[    6.856010] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    6.866658] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
[    6.885931] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000210010
[    6.904201] xhci-mtk 1e1c0000.xhci: irq 20, io mem 0x1e1c0000
[    6.916701] hub 1-0:1.0: USB hub found
[    6.924234] hub 1-0:1.0: 2 ports detected
[    6.932871] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    6.943504] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
[    6.958425] xhci-mtk 1e1c0000.xhci: Host supports USB 3.0  SuperSpeed
[    6.971515] mtk_soc_eth 1e100000.ethernet eth0: port 4 link down
[    6.983688] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    7.000659] hub 2-0:1.0: USB hub found
[    7.008224] hub 2-0:1.0: 1 port detected
[    7.020713] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    7.046105] init: - preinit -
[    7.737113] mtk_soc_eth 1e100000.ethernet: PPE started
[    7.814189] random: procd: uninitialized urandom read (4 bytes read)
[   10.132831] mtk_soc_eth 1e100000.ethernet eth0: port 4 link up
[   10.970302] UBIFS (ubi0:1): default file-system created
[   10.982158] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 487
[   11.093625] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[   11.109238] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   11.128976] UBIFS (ubi0:1): FS size: 33140736 bytes (31 MiB, 261 LEBs), journal size 1650688 bytes (1 MiB, 13 LEBs)
[   11.149747] UBIFS (ubi0:1): reserved for root: 1565318 bytes (1528 KiB)
[   11.162918] UBIFS (ubi0:1): media format: w4/r0 (latest is w5/r0), UUID 0F997C32-50F8-4D31-A56C-0F95D9B144A1, small LPT model
[   11.188332] mount_root: overlay filesystem has not been fully initialized yet
[   11.203054] mount_root: switching to ubifs overlay
[   11.231188] urandom-seed: Seed file not found (/etc/urandom.seed)
[   11.319798] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x6060000c, 0x10c = 0x80818
[   11.341723] procd: - early -
[   11.347598] procd: - watchdog -
[   12.015952] procd: - watchdog -
[   12.022513] procd: - ubus -
[   12.094165] random: ubusd: uninitialized urandom read (4 bytes read)
[   12.161125] random: ubusd: uninitialized urandom read (4 bytes read)
[   12.174247] random: ubusd: uninitialized urandom read (4 bytes read)
[   12.187784] procd: - init -
[   12.701904] kmodloader: loading kernel modules from /etc/modules.d/*
[   12.772723] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   12.790632] Loading modules backported from Linux version v4.19.120-0-gfdc072324f3c
[   12.805914] Backport generated by backports.git v4.19.120-1-0-g60c3a249
[   12.820808] ip_tables: (C) 2000-2006 Netfilter Core Team
[   12.837779] nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
[   12.888244] xt_time: kernel timezone is -0000
[   12.921318] urngd: v1.0.2 started.
[   12.951961] bus=0x2, slot = 0x1, irq=0xff
[   12.960013] PCI: Enabling device 0000:00:01.0 (0004 -> 0006)
[   12.971496] mt7603e 0000:02:00.0: ASIC revision: 76030010
[   13.090179] random: crng init done
[   13.096958] random: 6 urandom warning(s) missed due to ratelimiting
[   14.007063] mt7603e 0000:02:00.0: Firmware Version: ap_pcie
[   14.018236] mt7603e 0000:02:00.0: Build Time: 20160107100755
[   14.065794] mt7603e 0000:02:00.0: firmware init done
[   14.244764] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   14.250247] bus=0x1, slot = 0x0, irq=0x0
[   14.258172] PCI: Enabling device 0000:00:00.0 (0004 -> 0006)
[   14.286586] mt7615e 0000:01:00.0: HW/SW Version: 0x8a108a10, Build Time: 20180518100604a
[   14.286586] 
[   14.531629] mt7615e 0000:01:00.0: N9 Firmware Version: _reserved_, Build Time: 20190103180756
[   14.615279] mt7615e 0000:01:00.0: CR4 Firmware Version: _reserved_, Build Time: 20181207140436
[   22.273143] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   22.279876] PPP generic driver version 2.4.2
[   22.290144] NET: Registered protocol family 24
[   22.301965] kmodloader: done loading kernel modules from /etc/modules.d/*
[   33.558986] mtk_soc_eth 1e100000.ethernet: PPE started
[   33.576762] br-lan: port 1(eth0.1) entered blocking state
[   33.587596] br-lan: port 1(eth0.1) entered disabled state
[   33.599375] device eth0.1 entered promiscuous mode
[   33.608994] device eth0 entered promiscuous mode
[   33.623585] br-lan: port 1(eth0.1) entered blocking state
[   33.634407] br-lan: port 1(eth0.1) entered forwarding state
[   33.646364] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   34.616505] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   39.106552] IPv6: eth0.2: IPv6 duplicate address 2a02:aa7:4023:abb7:44d7:9145:5cba:2 detected!
[  597.081581] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  597.102889] br-lan: port 2(wlan0) entered blocking state
[  597.113604] br-lan: port 2(wlan0) entered disabled state
[  597.124748] device wlan0 entered promiscuous mode
[  605.240073] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[  605.255392] br-lan: port 3(wlan1) entered blocking state
[  605.266023] br-lan: port 3(wlan1) entered disabled state
[  605.277101] device wlan1 entered promiscuous mode
[  607.037823] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  607.050899] br-lan: port 2(wlan0) entered blocking state
[  607.061585] br-lan: port 2(wlan0) entered forwarding state
[  671.786246] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[  671.799231] br-lan: port 3(wlan1) entered blocking state
[  671.809860] br-lan: port 3(wlan1) entered forwarding state