Hi there,
I just upgraded my ZyXEL NBG6716 to OpenWRT 21.02.0 via tftp upgrade and started from scratch, but 5 GHz wifi interface doesn't come up at all.
I did some researching on this issue and found several hints.
To be sure I reflashed the device to the latest ZyXEL stock firmware (V1.00(AAKG.12)C0) just to be sure the rf cal data is correct. Before I was running OpenWRT 19.07.8 without any issues and I will go back now to 19.07.8.
I found this on github:
with the last entry from Adrian Schmutzler:
Well, there is still this patch:
https://patchwork.ozlabs.org/project/openwrt/patch/20200408132229.3873-4-freifunk@adrianschmutzler.de/However, since it might only affect a fraction of people, let's just wait until somebody reports that problem.
Maybe my device is one of the mentioned devices @adrianschmutzler ?
Here are my logs with stock settings on 21.02.0 after tftp upgrade:
Kernel Log
[ 0.000000] Linux version 5.4.143 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16279-5cc0535800)) #0 Tue Aug 31 22:20:08 2021
[ 0.000000] printk: bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[ 0.000000] MIPS: machine is ZyXEL NBG6716
[ 0.000000] SoC: Qualcomm Atheros QCA9558 ver 1 rev 0
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x000000000fffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000000fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[ 0.000000] On node 0 totalpages: 65536
[ 0.000000] Normal zone: 576 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 65536 pages, LIFO batch:15
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 64960
[ 0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 251740K/262144K available (5512K kernel code, 178K rwdata, 708K rodata, 1208K init, 210K bss, 10404K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 51
[ 0.000000] random: get_random_bytes called from 0x806a2a28 with crng_init=0
[ 0.000000] CPU clock: 720.000 MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5309056796 ns
[ 0.000006] sched_clock: 32 bits at 360MHz, resolution 2ns, wraps every 5965232126ns
[ 0.008301] Calibrating delay loop... 359.42 BogoMIPS (lpj=718848)
[ 0.042884] pid_max: default: 32768 minimum: 301
[ 0.047928] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.055717] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.068261] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.078662] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[ 0.086008] pinctrl core: initialized pinctrl subsystem
[ 0.092693] NET: Registered protocol family 16
[ 0.099354] GPIO line 16 (nbg6716:power:usb) hogged as output/high
[ 0.126613] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[ 0.139523] clocksource: Switched to clocksource MIPS
[ 0.145717] thermal_sys: Registered thermal governor 'step_wise'
[ 0.146032] NET: Registered protocol family 2
[ 0.157254] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.165719] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.174677] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.182861] TCP bind hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.190386] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.197265] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.204268] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.211954] NET: Registered protocol family 1
[ 0.216649] PCI: CLS 0 bytes, default 32
[ 0.224128] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[ 0.237003] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.243244] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.265372] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 0.276560] pinctrl-single 1804002c.pinmux: 544 pins, size 68
[ 0.283684] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.292491] printk: console [ttyS0] disabled
[ 0.297119] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 2500000) is a 16550A
[ 0.306308] printk: console [ttyS0] enabled
[ 0.315208] printk: bootconsole [early0] disabled
[ 0.334530] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xda
[ 0.341022] nand: Hynix NAND 256MiB 3,3V 8-bit
[ 0.345542] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 0.353810] Scanning device for bad blocks
[ 0.362154] random: fast init done
[ 0.543667] 6 fixed-partitions partitions found on MTD device ar934x-nand
[ 0.550566] Creating 6 MTD partitions on "ar934x-nand":
[ 0.555885] 0x000000000000-0x000000200000 : "zyxel_rfsd"
[ 0.562091] 0x000000200000-0x000000400000 : "romd"
[ 0.567820] 0x000000400000-0x000000500000 : "header"
[ 0.573680] 0x000000500000-0x000008000000 : "firmware"
[ 0.580195] 0x000000500000-0x000000900000 : "kernel"
[ 0.586053] 0x000000900000-0x000008000000 : "ubi"
[ 0.596804] spi-nor spi0.0: mx25l12805d (16384 Kbytes)
[ 0.602098] 4 fixed-partitions partitions found on MTD device spi0.0
[ 0.608557] Creating 4 MTD partitions on "spi0.0":
[ 0.613435] 0x000000000000-0x000000040000 : "u-boot"
[ 0.619319] 0x000000040000-0x000000050000 : "u-boot-env"
[ 0.625530] 0x000000050000-0x000000060000 : "art"
[ 0.631149] 0x000000060000-0x000001000000 : "nbu"
[ 0.637465] libphy: Fixed MDIO Bus: probed
[ 0.642238] ag71xx 19000000.eth: invalid MAC address, using random address
[ 0.965321] libphy: ag71xx_mdio: probed
[ 0.971770] switch0: Atheros AR8327 rev. 2 switch registered on mdio.0
[ 1.557483] ag71xx 19000000.eth: connected to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY]
[ 1.567156] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: rgmii
[ 1.573742] ag71xx 1a000000.eth: invalid MAC address, using random address
[ 1.897310] libphy: ag71xx_mdio: probed
[ 1.902792] ag71xx 1a000000.eth: connected to PHY at fixed-0:01 [uid=00000000, driver=Generic PHY]
[ 1.912474] eth1: Atheros AG71xx at 0xba000000, irq 5, mode: sgmii
[ 1.921220] NET: Registered protocol family 10
[ 1.930674] Segment Routing with IPv6
[ 1.934539] NET: Registered protocol family 17
[ 1.939139] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 1.952302] 8021q: 802.1Q VLAN Support v1.8
[ 1.958549] PCI host bridge /ahb/pcie-controller@18250000 ranges:
[ 1.964800] MEM 0x0000000012000000..0x0000000013ffffff
[ 1.970116] IO 0x0000000000000001..0x0000000000000001
[ 1.975615] PCI host bridge to bus 0000:00
[ 1.979809] pci_bus 0000:00: root bus resource [mem 0x12000000-0x13ffffff]
[ 1.986795] pci_bus 0000:00: root bus resource [io 0x0001]
[ 1.992462] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 1.999362] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 2.007441] pci 0000:00:00.0: [168c:003c] type 00 class 0x028000
[ 2.013595] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[ 2.020539] pci 0000:00:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[ 2.027417] pci 0000:00:00.0: supports D1
[ 2.031500] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[ 2.038510] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[ 2.045272] pci 0000:00:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
[ 2.052721] pci 0000:00:00.0: BAR 6: assigned [mem 0x12200000-0x1220ffff pref]
[ 2.062225] UBI: auto-attach mtd5
[ 2.065647] ubi0: attaching mtd5
[ 2.981150] random: crng init done
[ 3.220344] ubi0: scanning is finished
[ 3.235881] ubi0: attached mtd5 (name "ubi", size 119 MiB)
[ 3.241488] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 3.248473] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 3.255364] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 3.262429] ubi0: good PEBs: 952, bad PEBs: 0, corrupted PEBs: 0
[ 3.268528] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[ 3.275859] ubi0: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 1630448408
[ 3.285124] ubi0: available PEBs: 0, total reserved PEBs: 952, PEBs reserved for bad PEB handling: 40
[ 3.294544] ubi0: background thread "ubi_bgt0d" started, PID 409
[ 3.301729] block ubiblock0_0: created from ubi0:0(rootfs)
[ 3.307344] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[ 3.318697] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[ 3.330303] Freeing unused kernel memory: 1208K
[ 3.334919] This architecture does not have kernel memory protection.
[ 3.341460] Run /sbin/init as init process
[ 3.830267] init: Console is alive
[ 3.833985] init: - watchdog -
[ 4.782773] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 4.876348] usbcore: registered new interface driver usbfs
[ 4.882025] usbcore: registered new interface driver hub
[ 4.887510] usbcore: registered new device driver usb
[ 4.899472] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 4.907557] ehci-fsl: Freescale EHCI Host controller driver
[ 4.914418] ehci-platform: EHCI generic platform driver
[ 4.919989] ehci-platform 1b000000.usb: EHCI Host Controller
[ 4.925810] ehci-platform 1b000000.usb: new USB bus registered, assigned bus number 1
[ 4.933867] ehci-platform 1b000000.usb: irq 14, io mem 0x1b000000
[ 4.955539] ehci-platform 1b000000.usb: USB 2.0 started, EHCI 1.00
[ 4.962628] hub 1-0:1.0: USB hub found
[ 4.966794] hub 1-0:1.0: 1 port detected
[ 4.971370] ehci-platform 1b400000.usb: EHCI Host Controller
[ 4.977196] ehci-platform 1b400000.usb: new USB bus registered, assigned bus number 2
[ 4.985259] ehci-platform 1b400000.usb: irq 15, io mem 0x1b400000
[ 5.003547] ehci-platform 1b400000.usb: USB 2.0 started, EHCI 1.00
[ 5.010552] hub 2-0:1.0: USB hub found
[ 5.014758] hub 2-0:1.0: 1 port detected
[ 5.021118] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 5.038852] init: - preinit -
[ 7.432354] eth0: link up (1000Mbps/Full duplex)
[ 7.443094] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 7.457918] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[ 11.628708] UBIFS (ubi0:1): Mounting in unauthenticated mode
[ 11.634630] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 559
[ 11.746363] UBIFS (ubi0:1): recovery needed
[ 11.932694] UBIFS (ubi0:1): recovery completed
[ 11.937310] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[ 11.945271] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 11.955339] UBIFS (ubi0:1): FS size: 110215168 bytes (105 MiB, 868 LEBs), journal size 5459968 bytes (5 MiB, 43 LEBs)
[ 11.966105] UBIFS (ubi0:1): reserved for root: 4952683 bytes (4836 KiB)
[ 11.972825] UBIFS (ubi0:1): media format: w5/r0 (latest is w5/r0), UUID F475BAC8-C596-4FC8-9562-FFFDDF017DC1, small LPT model
[ 11.990919] mount_root: switching to ubifs overlay
[ 12.008071] urandom-seed: Seeding with /etc/urandom.seed
[ 12.105193] eth0: link down
[ 12.125501] procd: - early -
[ 12.128558] procd: - watchdog -
[ 12.713364] procd: - watchdog -
[ 12.717072] procd: - ubus -
[ 12.785245] procd: - init -
[ 13.801569] kmodloader: loading kernel modules from /etc/modules.d/*
[ 13.841898] Loading modules backported from Linux version v5.10.42-0-g65859eca4dff
[ 13.849626] Backport generated by backports.git v5.10.42-1-0-gbee5c545
[ 13.908637] xt_time: kernel timezone is -0000
[ 14.134597] urngd: v1.0.2 started.
[ 14.140296] PPP generic driver version 2.4.2
[ 14.146651] NET: Registered protocol family 24
[ 14.222249] ath10k 5.10 driver, optimized for CT firmware, probing pci device: 0x3c.
[ 14.244187] ath10k_pci 0000:00:00.0: enabling device (0000 -> 0002)
[ 14.250748] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[ 16.769386] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[ 16.778791] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[ 16.791012] ath10k_pci 0000:00:00.0: firmware ver 10.1-ct-8x-__fW-022-ecad3248 api 2 features wmi-10.x,has-wmi-mgmt-tx,mfp,txstatus-noack,wmi-10.x-CT,ratemask-CT,txrate-CT,get-temp-CT,tx-rc-CT,cust-stats-CT,retry-gt2-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT crc32 3e4cf97f
[ 17.134453] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[ 18.063435] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16 peers: 127 tid: 256
[ 23.307535] ath10k_pci 0000:00:00.0: wmi unified ready event not received
[ 23.414803] ath10k_pci 0000:00:00.0: could not init core (-145)
[ 23.420983] ath10k_pci 0000:00:00.0: could not probe fw (-145)
[ 23.466216] ath: EEPROM regdomain sanitized
[ 23.466224] ath: EEPROM regdomain: 0x64
[ 23.466227] ath: EEPROM indicates we should expect a direct regpair map
[ 23.466246] ath: Country alpha2 being used: 00
[ 23.466249] ath: Regpair used: 0x64
[ 23.483121] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[ 23.484895] ieee80211 phy1: Atheros AR9550 Rev:0 mem=0xb8100000, irq=12
[ 23.507893] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 36.114780] eth0: link up (1000Mbps/Full duplex)
[ 36.126946] br-lan: port 1(eth0.1) entered blocking state
[ 36.132475] br-lan: port 1(eth0.1) entered disabled state
[ 36.138252] device eth0.1 entered promiscuous mode
[ 36.143155] device eth0 entered promiscuous mode
[ 36.151619] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 36.218754] br-lan: port 1(eth0.1) entered blocking state
[ 36.224284] br-lan: port 1(eth0.1) entered forwarding state
[ 36.311877] eth1: link up (1000Mbps/Full duplex)
[ 36.393270] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 37.178754] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready