Zyxel nbg6817 - password not saving and config defaulted after reboot

Hello,
I have been using a Zyxel nbg6817 with self compiled Openwrt images for quite a while.
It was running r15452 for some weeks - yesterday I decided to flash a new image and compiled the latest trunk - flashing was successful and I can also configure the device but setting a new password via LUCI->system->administration isn't working->I'm getting a popup message that the system password could not be changed - when I use ssh and passwd the password seems to be changed but I can't login with the new one and the log says "authpriv.warn dropbear[31844]: User account 'root' is locked" after password change - when I do a reboot now the config is set to default after the reboot - I also tried r15452 that I was using befor without problems and some older images but the result is always the same - any kind of help is highly appreciated.

you should state whether you kept settings...

if you did... first point of call,... especially of master/trunk is involved is to re-flash and not keep settings...

Sorry, forgot to write that I didn't keep settings over flashing - with every additional attempt with different newer and older versions I unchecked the "keep settings" button

if you can get to a command line (probably more useful from the actual firstboot after flashing);

dmesg | grep -C23 mount; mount; df -h

or in luci would be under kernel log or something... paste ( in code tags ^</> 20 or so lines from around each mount command )

1 Like
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
tmpfs on /tmp/root type tmpfs (rw,noatime,mode=755)
overlayfs:/tmp/root on / type overlay (rw,noatime,lowerdir=/,upperdir=/tmp/root/upper,workdir=/tmp/root/work)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600,ptmxmode=000)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
none on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,noatime,mode=700)
mountd(pid4838) on /tmp/run/blockd type autofs (rw,relatime,fd=7,pgrp=1,timeout=30,minproto=5,maxproto=5,indirect)
Filesystem                Size      Used Available Use% Mounted on
/dev/root                20.8M     20.8M         0 100% /rom
tmpfs                   233.4M     10.6M    222.7M   5% /tmp
tmpfs                   233.4M    756.0K    232.6M   0% /tmp/root
overlayfs:/tmp/root     233.4M    756.0K    232.6M   0% /
tmpfs                   512.0K         0    512.0K   0% /dev

This is a part of the output

1 Like

overlayfs (where changes are stored) is mounted on /tmp/root/ which is the RAM and will be lost on reboot.

2 Likes

Ok, then that's why changes are lost after reboot - did I do something wrong when configuring my images for compilation? What can I do now? Flash an official image? Or is something not ok with the hardware?

Since they are self compiled, it is evident that you did something wrong (don't ask me what though).
Try the official image to have at least a working router before you try again with compiled ones.

2 Likes

@sam195 In your boot log you should see some JFFS2 related messages. Probably about not enough blocks left to format as writeable overlay, after which OpenWrt switches to an overlay in RAM (/tmp).

I have no idea what you crammed in your OpenWrt image but 20 MiB is a hell of a lot. Is there still space left at all for an overlay?

The most likely cause would be that you disabled ext4 support, which is needed for the overlay. Given that this is s dual-firmeare device, just switch to the old -known-working- partition set (luci-app-advanced-reboot or nbg6817-dualboot) and plan your next steps from there.

1 Like

ext4, not jffs2, for this router, the overlay is behind the squashfs rootfs, on a gpt partitioned 4 GiB eMMC (sharing one -split- partition). The nbg6817 offers 4+64 MB (kernel+rootfs) for each of the two partition sets, so a ~20 MiB sysupgrade image isn't a problem.

2 Likes

Ok,I flashed it and started from a different partition - now df gives:

/dev/root 20992 20992 0 100% /rom
tmpfs 238960 10812 228148 5% /tmp
/dev/loop0 39221 1667 34424 5% /overlay
overlayfs:/overlay 39221 1667 34424 5% /
tmpfs 512 0 512 0% /dev

kmod-ext4 is installed - but I am still having problems - when I change password from ssh with passwd (authpriv.info passwd[12305]: password for 'root' changed by 'root' ) and then try to login with a 2nd ssh session it fails - the log says "authpriv.warn dropbear[12339]: User account 'root' is locked" - Luci login also fails with the new password "daemon.err uhttpd[4966]: luci: failed login on / for root from".

The overlay now appears to be fine, why passwd is now causing troubles sounds weird.

I compiled a new image from scratch and now password saving through ssh/luci works and access is ok too - don't know what caused the issue - I also tried some older images that used to work before but these showed the same behaviour - but since it's working now with the new image it's all good.

Unfortunately I'm still having issues with the settings being reset to default after reboot because of the overlay issue - I'll have to test in the evening if it happens on both partitions - if yes what can I do to solve this - my current image is about 19MiB.

Anything usefull in the logs?

Some particular command in mind that I could check or dmesg? What is useful to find out why the router is behaving this way?

dmesg and logread would be the first aspects of interest, as we're currently looking for a needle in the hay stack.

I compiled a new image from scratch and didn't do any changes to the config, just added a few packages that I need

dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.102 (samx@nuc6i5) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16163-9dfc2b3ca4)) #0 SMP Thu Mar 11 16:24:53 2021
[    0.000000] CPU: ARMv7 Processor [512f04d0] revision 0 (ARMv7), cr=10c5787d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt: Machine model: ZyXEL NBG6817
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 122880
[    0.000000]   Normal zone: 1080 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 122880 pages, LIFO batch:31
[    0.000000] percpu: Embedded 15 pages/cpu s30220 r8192 d23028 u61440
[    0.000000] pcpu-alloc: s30220 r8192 d23028 u61440 alloc=15*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 121800
[    0.000000] Kernel command line: rootfstype=squashfs,ext4 rootwait noinitrd root=/dev/mmcblk0p8
[    0.000000] Bootloader command line (ignored): board=NBG6817 root=/dev/mmcblk0p8 rootwait zld_ver=2.07 console=ttyHSL1,115200n8 mtdparts=m25p80:0xC0000(SBL)ro,0x40000(TZ)ro,0x40000(RPM)ro,0x80000(u-boot)ro,0x10000(env)ro,0x10000(ART)ro,0x10000(dualflag),0x210000(reserved)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 476896K/491520K available (6230K kernel code, 195K rwdata, 1552K rodata, 1024K init, 231K bss, 14624K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    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] random: get_random_bytes called from start_kernel+0x340/0x4ec with crng_init=0
[    0.000000] clocksource: dg_timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 305801671480 ns
[    0.000006] sched_clock: 32 bits at 6MHz, resolution 160ns, wraps every 343597383600ns
[    0.000019] Switching to timer-based delay loop, resolution 160ns
[    0.000225] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.50 BogoMIPS (lpj=62500)
[    0.000244] pid_max: default: 32768 minimum: 301
[    0.000420] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.000437] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001374] CPU: Testing write buffer coherency: ok
[    0.002459] Setting up static identity map for 0x42300000 - 0x42300060
[    0.002628] rcu: Hierarchical SRCU implementation.
[    0.003093] smp: Bringing up secondary CPUs ...
[    0.004934] smp: Brought up 1 node, 2 CPUs
[    0.004948] SMP: Total of 2 processors activated (25.00 BogoMIPS).
[    0.004957] CPU: All CPU(s) started in SVC mode.
[    0.014616] VFP support v0.3: implementor 51 architecture 64 part 4d variant 2 rev 0
[    0.014757] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.014783] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.014914] pinctrl core: initialized pinctrl subsystem
[    0.015969] NET: Registered protocol family 16
[    0.016279] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.017568] cpuidle: using governor ladder
[    0.017632] cpuidle: using governor menu
[    0.047978] usbcore: registered new interface driver usbfs
[    0.048056] usbcore: registered new interface driver hub
[    0.048118] usbcore: registered new device driver usb
[    0.048175] pps_core: LinuxPPS API ver. 1 registered
[    0.048186] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.048223] PTP clock support registered
[    0.048956] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[    0.050023] clocksource: Switched to clocksource dg_timer
[    0.050830] thermal_sys: Registered thermal governor 'step_wise'
[    0.053251] NET: Registered protocol family 2
[    0.053968] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.054006] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.054054] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.054108] TCP: Hash tables configured (established 4096 bind 4096)
[    0.054202] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.054229] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.054454] NET: Registered protocol family 1
[    0.054504] PCI: CLS 0 bytes, default 64
[    0.055721] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.062589] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.062604] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.101824] qcom-pcie 1b500000.pci: 1b500000.pci supply vdda not found, using dummy regulator
[    0.101953] qcom-pcie 1b500000.pci: 1b500000.pci supply vdda_phy not found, using dummy regulator
[    0.102055] qcom-pcie 1b500000.pci: 1b500000.pci supply vdda_refclk not found, using dummy regulator
[    0.102306] qcom-pcie 1b500000.pci: host bridge /soc/pci@1b500000 ranges:
[    0.102328] qcom-pcie 1b500000.pci: Parsing ranges property...
[    0.102370] qcom-pcie 1b500000.pci:    IO 0x0fe00000..0x0fefffff -> 0x0fe00000
[    0.102408] qcom-pcie 1b500000.pci:   MEM 0x08000000..0x0fdfffff -> 0x08000000
[    0.325940] qcom-pcie 1b500000.pci: Link up
[    0.326091] qcom-pcie 1b500000.pci: PCI host bridge to bus 0000:00
[    0.326113] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.326132] pci_bus 0000:00: root bus resource [io  0x0000-0xfffff] (bus address [0xfe00000-0xfefffff])
[    0.326148] pci_bus 0000:00: root bus resource [mem 0x08000000-0x0fdfffff]
[    0.326162] pci_bus 0000:00: scanning bus
[    0.326207] pci 0000:00:00.0: [17cb:0101] type 01 class 0xff0000
[    0.326357] pci 0000:00:00.0: supports D1
[    0.326372] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.326389] pci 0000:00:00.0: PME# disabled
[    0.330171] pci_bus 0000:00: fixups for bus
[    0.330192] PCI: bus0: Fast back to back transfers disabled
[    0.330325] pci 0000:00:00.0: scanning [bus 01-ff] behind bridge, pass 0
[    0.330452] pci_bus 0000:01: scanning bus
[    0.330630] pci 0000:01:00.0: [168c:0046] type 00 class 0x028000
[    0.330983] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    0.332130] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    0.332177] pci 0000:01:00.0: PME# disabled
[    0.336109] pci_bus 0000:01: fixups for bus
[    0.336180] PCI: bus1: Fast back to back transfers disabled
[    0.336195] pci_bus 0000:01: bus scan returning with max=01
[    0.336211] pci 0000:00:00.0: scanning [bus 01-ff] behind bridge, pass 1
[    0.336229] pci_bus 0000:00: bus scan returning with max=ff
[    0.336260] pci 0000:00:00.0: BAR 8: assigned [mem 0x08000000-0x081fffff]
[    0.336284] pci 0000:01:00.0: BAR 0: assigned [mem 0x08000000-0x081fffff 64bit]
[    0.336409] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    0.336430] pci 0000:00:00.0:   bridge window [mem 0x08000000-0x081fffff]
[    0.336612] pcieport 0000:00:00.0: assign IRQ: got 35
[    0.337116] pcieport 0000:00:00.0: AER: enabled with IRQ 36
[    0.337623] qcom-pcie 1b700000.pci: 1b700000.pci supply vdda not found, using dummy regulator
[    0.337738] qcom-pcie 1b700000.pci: 1b700000.pci supply vdda_phy not found, using dummy regulator
[    0.337856] qcom-pcie 1b700000.pci: 1b700000.pci supply vdda_refclk not found, using dummy regulator
[    0.338091] qcom-pcie 1b700000.pci: host bridge /soc/pci@1b700000 ranges:
[    0.338113] qcom-pcie 1b700000.pci: Parsing ranges property...
[    0.338154] qcom-pcie 1b700000.pci:    IO 0x31e00000..0x31efffff -> 0x31e00000
[    0.338187] qcom-pcie 1b700000.pci:   MEM 0x2e000000..0x31dfffff -> 0x2e000000
[    0.567425] qcom-pcie 1b700000.pci: Link up
[    0.567565] qcom-pcie 1b700000.pci: PCI host bridge to bus 0001:00
[    0.567585] pci_bus 0001:00: root bus resource [bus 00-ff]
[    0.567607] pci_bus 0001:00: root bus resource [mem 0x2e000000-0x31dfffff]
[    0.567622] pci_bus 0001:00: scanning bus
[    0.567662] pci 0001:00:00.0: [17cb:0101] type 01 class 0xff0000
[    0.567808] pci 0001:00:00.0: supports D1
[    0.567822] pci 0001:00:00.0: PME# supported from D0 D1 D3hot
[    0.567840] pci 0001:00:00.0: PME# disabled
[    0.571682] pci_bus 0001:00: fixups for bus
[    0.571703] PCI: bus0: Fast back to back transfers disabled
[    0.571721] pci 0001:00:00.0: scanning [bus 01-ff] behind bridge, pass 0
[    0.571843] pci_bus 0001:01: scanning bus
[    0.572032] pci 0001:01:00.0: [168c:0046] type 00 class 0x028000
[    0.572410] pci 0001:01:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    0.573642] pci 0001:01:00.0: PME# supported from D0 D3hot D3cold
[    0.573691] pci 0001:01:00.0: PME# disabled
[    0.573940] pci 0001:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s x1 link at 0001:00:00.0 (capable of 4.000 Gb/s with 5 GT/s x1 link)
[    0.577667] pci_bus 0001:01: fixups for bus
[    0.577743] PCI: bus1: Fast back to back transfers disabled
[    0.577758] pci_bus 0001:01: bus scan returning with max=01
[    0.577775] pci 0001:00:00.0: scanning [bus 01-ff] behind bridge, pass 1
[    0.577792] pci_bus 0001:00: bus scan returning with max=ff
[    0.577816] pci 0001:00:00.0: BAR 8: assigned [mem 0x2e000000-0x2e1fffff]
[    0.577839] pci 0001:01:00.0: BAR 0: assigned [mem 0x2e000000-0x2e1fffff 64bit]
[    0.577972] pci 0001:00:00.0: PCI bridge to [bus 01-ff]
[    0.577992] pci 0001:00:00.0:   bridge window [mem 0x2e000000-0x2e1fffff]
[    0.578160] pcieport 0001:00:00.0: assign IRQ: got 37
[    0.578758] pcieport 0001:00:00.0: AER: enabled with IRQ 38
[    0.581176] L2 @ QSB rate. Forcing new rate.
[    0.581396] L2 @ 384000 KHz
[    0.581574] CPU0 @ 800000 KHz
[    0.581586] CPU1 @ QSB rate. Forcing new rate.
[    0.581714] CPU1 @ 384000 KHz
[    0.585222] gsbi 16300000.gsbi: GSBI port protocol: 6 crci: 0
[    0.586581] gsbi 1a200000.gsbi: GSBI port protocol: 3 crci: 0
[    0.588218] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.588955] msm_serial 16340000.serial: msm_serial: detected port #0
[    0.589004] msm_serial 16340000.serial: uartclk = 7372800
[    0.589069] 16340000.serial: ttyMSM0 at MMIO 0x16340000 (irq = 39, base_baud = 460800) is a MSM
[    0.589102] msm_serial: console setup on port #0
[    1.392082] printk: console [ttyMSM0] enabled
[    1.397038] msm_serial: driver initialized
[    1.406044] loop: module loaded
[    1.407101] spi_qup 1a280000.spi: IN:block:16, fifo:64, OUT:block:16, fifo:64
[    1.410227] spi-nor spi0.0: mx25u3235f (4096 Kbytes)
[    1.415472] 13 qcom-smem partitions found on MTD device spi0.0
[    1.420524] Creating 13 MTD partitions on "spi0.0":
[    1.426095] 0x000000000000-0x000000020000 : "0:SBL1"
[    1.431847] 0x000000020000-0x000000040000 : "0:MIBIB"
[    1.436945] 0x000000040000-0x000000060000 : "0:SBL2"
[    1.441995] 0x000000060000-0x0000000a0000 : "0:SBL3"
[    1.446925] 0x0000000a0000-0x0000000b0000 : "0:DDRCONFIG"
[    1.451942] 0x0000000b0000-0x0000000c0000 : "0:SSD"
[    1.457172] 0x0000000c0000-0x000000100000 : "0:TZ"
[    1.461944] 0x000000100000-0x000000140000 : "0:RPM"
[    1.466709] 0x000000140000-0x0000001c0000 : "0:APPSBL"
[    1.471554] 0x0000001c0000-0x0000001d0000 : "0:APPSBLENV"
[    1.476698] 0x0000001d0000-0x0000001e0000 : "0:ART"
[    1.482241] 0x0000001e0000-0x0000001f0000 : "0:DUAL_FLAG"
[    1.486866] 0x0000001f0000-0x000000400000 : "0:RESERVED"
[    1.493669] libphy: ipq8064_mdio_bus: probed
[    1.512109] switch0: Atheros AR8337 rev. 2 switch registered on 37000000.mdio-mii
[    2.356699] ar8327: qca,phy-rgmii-en is not specified
[    2.357223] libphy: Fixed MDIO Bus: probed
[    2.361502] ipq806x-gmac-dwmac 37200000.ethernet: IRQ eth_wake_irq not found
[    2.364729] ipq806x-gmac-dwmac 37200000.ethernet: IRQ eth_lpi not found
[    2.372221] ipq806x-gmac-dwmac 37200000.ethernet: PTP uses main clock
[    2.378831] ipq806x-gmac-dwmac 37200000.ethernet: User ID: 0x10, Synopsys ID: 0x37
[    2.384955] ipq806x-gmac-dwmac 37200000.ethernet:    DWMAC1000
[    2.392406] ipq806x-gmac-dwmac 37200000.ethernet: DMA HW capability register supported
[    2.398148] ipq806x-gmac-dwmac 37200000.ethernet: RX Checksum Offload Engine supported
[    2.405961] ipq806x-gmac-dwmac 37200000.ethernet: COE Type 2
[    2.413833] ipq806x-gmac-dwmac 37200000.ethernet: TX Checksum insertion supported
[    2.419589] ipq806x-gmac-dwmac 37200000.ethernet: Wake-Up On Lan supported
[    2.427047] ipq806x-gmac-dwmac 37200000.ethernet: Enhanced/Alternate descriptors
[    2.433795] ipq806x-gmac-dwmac 37200000.ethernet: Enabled extended descriptors
[    2.441355] ipq806x-gmac-dwmac 37200000.ethernet: Ring mode enabled
[    2.448319] ipq806x-gmac-dwmac 37200000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    2.454578] ipq806x-gmac-dwmac 37200000.ethernet: device MAC address 02:f6:13:8f:c9:58
[    2.464055] ipq806x-gmac-dwmac 37400000.ethernet: IRQ eth_wake_irq not found
[    2.470973] ipq806x-gmac-dwmac 37400000.ethernet: IRQ eth_lpi not found
[    2.478298] ipq806x-gmac-dwmac 37400000.ethernet: PTP uses main clock
[    2.484798] ipq806x-gmac-dwmac 37400000.ethernet: User ID: 0x10, Synopsys ID: 0x37
[    2.491106] ipq806x-gmac-dwmac 37400000.ethernet:    DWMAC1000
[    2.498494] ipq806x-gmac-dwmac 37400000.ethernet: DMA HW capability register supported
[    2.504412] ipq806x-gmac-dwmac 37400000.ethernet: RX Checksum Offload Engine supported
[    2.512114] ipq806x-gmac-dwmac 37400000.ethernet: COE Type 2
[    2.519932] ipq806x-gmac-dwmac 37400000.ethernet: TX Checksum insertion supported
[    2.525828] ipq806x-gmac-dwmac 37400000.ethernet: Wake-Up On Lan supported
[    2.533200] ipq806x-gmac-dwmac 37400000.ethernet: Enhanced/Alternate descriptors
[    2.539900] ipq806x-gmac-dwmac 37400000.ethernet: Enabled extended descriptors
[    2.547540] ipq806x-gmac-dwmac 37400000.ethernet: Ring mode enabled
[    2.554569] ipq806x-gmac-dwmac 37400000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    2.560739] ipq806x-gmac-dwmac 37400000.ethernet: device MAC address ee:08:2e:a9:a1:c6
[    2.570258] i2c /dev entries driver
[    2.579233] cpuidle: enable-method property 'qcom,kpss-acc-v1' found operations
[    2.580628] cpuidle: enable-method property 'qcom,kpss-acc-v1' found operations
[    2.588666] mmci-pl18x 12400000.sdcc: mmc0: PL180 manf 51 rev0 at 0x12400000 irq 34,0 (pio)
[    2.595227] mmci-pl18x 12400000.sdcc: DMA channels RX dma0chan1, TX dma0chan2
[    2.629562] sdhci: Secure Digital Host Controller Interface driver
[    2.629590] sdhci: Copyright(c) Pierre Ossman
[    2.634708] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.641595] NET: Registered protocol family 10
[    2.646119] Segment Routing with IPv6
[    2.649205] NET: Registered protocol family 17
[    2.653131] 8021q: 802.1Q VLAN Support v1.8
[    2.657211] Registering SWP/SWPB emulation handler
[    2.684408] qcom_rpm 108000.rpm: RPM firmware 3.0.16777364
[    2.697839] s1a: Bringing 0uV into 1050000-1050000uV
[    2.698110] s1a: supplied by regulator-dummy
[    2.702103] s1b: Bringing 0uV into 1050000-1050000uV
[    2.706341] s1b: supplied by regulator-dummy
[    2.711273] s2a: Bringing 0uV into 775000-775000uV
[    2.715529] s2a: supplied by regulator-dummy
[    2.720059] s2b: Bringing 0uV into 775000-775000uV
[    2.724656] s2b: supplied by regulator-dummy
[    2.738110] hctosys: unable to open rtc device (rtc0)
[    2.738542] Waiting for root device /dev/mmcblk0p8...
[    2.782768] mmc0: new high speed MMC card at address 0001
[    2.783499] mmcblk0: mmc0:0001 4FPD3R 3.64 GiB
[    2.787391] mmcblk0boot0: mmc0:0001 4FPD3R partition 1 4.00 MiB
[    2.791845] mmcblk0boot1: mmc0:0001 4FPD3R partition 2 4.00 MiB
[    2.797483] mmcblk0rpmb: mmc0:0001 4FPD3R partition 3 512 KiB, chardev (248:0)
[    2.805873]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10
[    2.833074] VFS: Mounted root (squashfs filesystem) readonly on device 179:8.
[    2.835078] Freeing unused kernel memory: 1024K
[    2.870649] Run /sbin/init as init process
[    2.963962] random: fast init done
[    3.023240] init: Console is alive
[    3.023364] init: - watchdog -
[    3.541967] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.568771] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.571456] SCSI subsystem initialized
[    3.577719] libata version 3.00 loaded.
[    3.580788] ehci-fsl: Freescale EHCI Host controller driver
[    3.581248] ehci-platform: EHCI generic platform driver
[    3.588004] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    3.591447] ohci-platform: OHCI generic platform driver
[    3.598601] dwc3-qcom 110f8800.usb3: IRQ hs_phy_irq not found
[    3.601796] dwc3-qcom 110f8800.usb3: IRQ dp_hs_phy_irq not found
[    3.607640] dwc3-qcom 110f8800.usb3: IRQ dm_hs_phy_irq not found
[    3.613792] dwc3-qcom 110f8800.usb3: IRQ ss_phy_irq not found
[    3.620345] dwc3-qcom 100f8800.usb3: IRQ hs_phy_irq not found
[    3.625349] dwc3-qcom 100f8800.usb3: IRQ dp_hs_phy_irq not found
[    3.631166] dwc3-qcom 100f8800.usb3: IRQ dm_hs_phy_irq not found
[    3.637155] dwc3-qcom 100f8800.usb3: IRQ ss_phy_irq not found
[    3.652734] dwc3 11000000.dwc3: Failed to get clk 'ref': -2
[    3.715041] dwc3 10000000.dwc3: Failed to get clk 'ref': -2
[    3.787755] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    3.787815] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[    3.792443] xhci-hcd xhci-hcd.0.auto: hcc params 0x0228f065 hci version 0x100 quirks 0x0000000002010010
[    3.799755] xhci-hcd xhci-hcd.0.auto: irq 44, io mem 0x11000000
[    3.809669] hub 1-0:1.0: USB hub found
[    3.815067] hub 1-0:1.0: 1 port detected
[    3.818958] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    3.822924] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[    3.828160] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[    3.836560] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    3.842678] hub 2-0:1.0: USB hub found
[    3.850656] hub 2-0:1.0: 1 port detected
[    3.854379] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    3.858198] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
[    3.863674] xhci-hcd xhci-hcd.1.auto: hcc params 0x0228f065 hci version 0x100 quirks 0x0000000002010010
[    3.871152] xhci-hcd xhci-hcd.1.auto: irq 45, io mem 0x10000000
[    3.882297] hub 3-0:1.0: USB hub found
[    3.886340] hub 3-0:1.0: 1 port detected
[    3.890305] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    3.894269] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
[    3.899514] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[    3.907214] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    3.914041] hub 4-0:1.0: USB hub found
[    3.922031] hub 4-0:1.0: 1 port detected
[    3.927734] usbcore: registered new interface driver usb-storage
[    3.929632] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    3.936478] init: - preinit -
[    4.293519] random: jshn: uninitialized urandom read (4 bytes read)
[    4.374069] random: jshn: uninitialized urandom read (4 bytes read)
[    4.540170] random: jshn: uninitialized urandom read (4 bytes read)
[    5.771149] dwmac1000: Master AXI performs any burst length
[    5.771193] ipq806x-gmac-dwmac 37400000.ethernet eth1: No Safety Features support found
[    5.775539] ipq806x-gmac-dwmac 37400000.ethernet eth1: IEEE 1588-2008 Advanced Timestamp supported
[    5.777570] urandom_read: 2 callbacks suppressed
[    5.777573] random: procd: uninitialized urandom read (4 bytes read)
[    5.783788] ipq806x-gmac-dwmac 37400000.ethernet eth1: registered PTP clock
[    5.803724] ipq806x-gmac-dwmac 37400000.ethernet eth1: configuring for fixed/sgmii link mode
[    5.811976] ipq806x-gmac-dwmac 37400000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off
[    5.819108] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[    9.992896] mount_root: overlay filesystem in /dev/mmcblk0p1 has not been formatted yet
[   10.010861] mount_root: no usable overlay filesystem found, using tmpfs overlay
[   10.022923] urandom-seed: Seed file not found (/etc/urandom.seed)
[   10.059716] ipq806x-gmac-dwmac 37400000.ethernet eth1: Link is Down
[   10.108024] procd: - early -
[   10.108160] procd: - watchdog -
[   10.662535] procd: - watchdog -
[   10.722452] procd: - ubus -
[   10.806167] random: ubusd: uninitialized urandom read (4 bytes read)
[   10.875761] random: ubusd: uninitialized urandom read (4 bytes read)
[   10.880440] random: ubusd: uninitialized urandom read (4 bytes read)
[   10.888772] procd: - init -
[   11.265840] urngd: v1.0.2 started.
[   11.270771] kmodloader: loading kernel modules from /etc/modules.d/*
[   11.280889] tun: Universal TUN/TAP device driver, 1.6
[   11.289082] random: crng init done
[   11.289098] random: 1 urandom warning(s) missed due to ratelimiting
[   11.389972] Mirror/redirect action on
[   11.393601] u32 classifier
[   11.393616]     input device check on
[   11.395204]     Actions configured
[   11.403446] usbcore: registered new interface driver cdc_wdm
[   11.404777] Loading modules backported from Linux version v5.10.16-0-gde53befa79cf
[   11.408162] Backport generated by backports.git v5.10.16-1-0-g21d2a1d2
[   11.575522] usbcore: registered new interface driver usbserial_generic
[   11.575615] usbserial: USB Serial support registered for generic
[   11.592588] xt_time: kernel timezone is -0000
[   11.593496] usbcore: registered new interface driver cdc_ncm
[   11.616507] usbcore: registered new interface driver huawei_cdc_ncm
[   11.656476] PPP generic driver version 2.4.2
[   11.657038] NET: Registered protocol family 24
[   11.660574] usbcore: registered new interface driver qmi_wwan
[   11.666387] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[   11.669874] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[   11.694586] ath10k_pci 0000:01:00.0: assign IRQ: got 35
[   11.694607] ath10k 5.10 driver, optimized for CT firmware, probing pci device: 0x46.
[   11.695824] ath10k_pci 0000:01:00.0: enabling device (0140 -> 0142)
[   11.701555] ath10k_pci 0000:01:00.0: enabling bus mastering
[   11.702051] ath10k_pci 0000:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[   12.346489] ath10k_pci 0000:01:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe
[   12.346519] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   12.356901] ath10k_pci 0000:01:00.0: firmware ver 10.4b-ct-9984-fW-13-5ae337bb1 api 5 features mfp,peer-flow-ctrl,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,set-special-CT,tx-rc-CT,cust-stats-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT,wmi-bcn-rc-CT crc32 7ea63dc5
[   14.673709] ath10k_pci 0000:01:00.0: board_file api 2 bmi_id 0:1 crc32 85498734
[   18.183936] ath10k_pci 0000:01:00.0: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
[   18.183962] ath10k_pci 0000:01:00.0: msdu-desc: 2500  skid: 32
[   18.264635] ath10k_pci 0000:01:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
[   18.265454] ath10k_pci 0000:01:00.0: wmi print 'free: 84920 iram: 13156 sram: 11224'
[   18.550349] ath10k_pci 0000:01:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 32 raw 0 hwcrypto 1
[   18.640141] ath: EEPROM regdomain sanitized
[   18.640156] ath: EEPROM regdomain: 0x64
[   18.640165] ath: EEPROM indicates we should expect a direct regpair map
[   18.640186] ath: Country alpha2 being used: 00
[   18.640196] ath: Regpair used: 0x64
[   18.645357] ath10k_pci 0001:01:00.0: assign IRQ: got 37
[   18.645394] ath10k 5.10 driver, optimized for CT firmware, probing pci device: 0x46.
[   18.646827] ath10k_pci 0001:01:00.0: enabling device (0140 -> 0142)
[   18.652463] ath10k_pci 0001:01:00.0: enabling bus mastering
[   18.653257] ath10k_pci 0001:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[   19.283827] ath10k_pci 0001:01:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe
[   19.283857] ath10k_pci 0001:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   19.294728] ath10k_pci 0001:01:00.0: firmware ver 10.4b-ct-9984-fW-13-5ae337bb1 api 5 features mfp,peer-flow-ctrl,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,set-special-CT,tx-rc-CT,cust-stats-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT,wmi-bcn-rc-CT crc32 7ea63dc5
[   21.613397] ath10k_pci 0001:01:00.0: board_file api 2 bmi_id 0:2 crc32 85498734
[   25.146321] ath10k_pci 0001:01:00.0: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
[   25.146347] ath10k_pci 0001:01:00.0: msdu-desc: 2500  skid: 32
[   25.228760] ath10k_pci 0001:01:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
[   25.229611] ath10k_pci 0001:01:00.0: wmi print 'free: 84920 iram: 13156 sram: 11224'
[   25.556015] ath10k_pci 0001:01:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 32 raw 0 hwcrypto 1
[   25.650402] ath: EEPROM regdomain sanitized
[   25.650416] ath: EEPROM regdomain: 0x64
[   25.650426] ath: EEPROM indicates we should expect a direct regpair map
[   25.650448] ath: Country alpha2 being used: 00
[   25.650457] ath: Regpair used: 0x64
[   25.661387] usbcore: registered new interface driver cdc_mbim
[   25.712866] usbcore: registered new interface driver option
[   25.712975] usbserial: USB Serial support registered for GSM modem (1-port)
[   25.722625] kmodloader: done loading kernel modules from /etc/modules.d/*
[   37.573151] dwmac1000: Master AXI performs any burst length
[   37.573191] ipq806x-gmac-dwmac 37400000.ethernet eth1: No Safety Features support found
[   37.577540] ipq806x-gmac-dwmac 37400000.ethernet eth1: IEEE 1588-2008 Advanced Timestamp supported
[   37.585711] ipq806x-gmac-dwmac 37400000.ethernet eth1: registered PTP clock
[   37.594604] ipq806x-gmac-dwmac 37400000.ethernet eth1: configuring for fixed/sgmii link mode
[   37.601720] ipq806x-gmac-dwmac 37400000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off
[   37.606942] br-lan: port 1(eth1.1) entered blocking state
[   37.618951] br-lan: port 1(eth1.1) entered disabled state
[   37.624505] device eth1.1 entered promiscuous mode
[   37.629608] device eth1 entered promiscuous mode
[   37.634844] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   37.639562] br-lan: port 1(eth1.1) entered blocking state
[   37.645146] br-lan: port 1(eth1.1) entered forwarding state
[   37.660652] dwmac1000: Master AXI performs any burst length
[   37.660684] ipq806x-gmac-dwmac 37200000.ethernet eth0: No Safety Features support found
[   37.665035] ipq806x-gmac-dwmac 37200000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported
[   37.673227] ipq806x-gmac-dwmac 37200000.ethernet eth0: registered PTP clock
[   37.682106] ipq806x-gmac-dwmac 37200000.ethernet eth0: configuring for fixed/rgmii link mode
[   37.689639] ipq806x-gmac-dwmac 37200000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   37.697779] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   38.652135] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   48.959614] MTD: Attempt to mount non-MTD device "/dev/mmcblk0p1"
[  368.905350] br-lan: port 1(eth1.1) entered disabled state
[  368.915999] device eth1.1 left promiscuous mode
[  368.916021] device eth1 left promiscuous mode
[  368.919513] br-lan: port 1(eth1.1) entered disabled state
[  368.999718] ipq806x-gmac-dwmac 37400000.ethernet eth1: Link is Down
[  369.140400] dwmac1000: Master AXI performs any burst length
[  369.140428] ipq806x-gmac-dwmac 37400000.ethernet eth1: No Safety Features support found
[  369.144777] ipq806x-gmac-dwmac 37400000.ethernet eth1: IEEE 1588-2008 Advanced Timestamp supported
[  369.152979] ipq806x-gmac-dwmac 37400000.ethernet eth1: registered PTP clock
[  369.161908] ipq806x-gmac-dwmac 37400000.ethernet eth1: configuring for fixed/sgmii link mode
[  369.169038] ipq806x-gmac-dwmac 37400000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off
[  369.177354] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[  369.193752] br-lan: port 1(eth1.1) entered blocking state
[  369.193777] br-lan: port 1(eth1.1) entered disabled state
[  369.198328] device eth1.1 entered promiscuous mode
[  369.203596] device eth1 entered promiscuous mode
[  369.211441] br-lan: port 1(eth1.1) entered blocking state
[  369.212982] br-lan: port 1(eth1.1) entered forwarding state
[  369.650043] ipq806x-gmac-dwmac 37200000.ethernet eth0: Link is Down
[  369.662074] dwmac1000: Master AXI performs any burst length
[  369.662102] ipq806x-gmac-dwmac 37200000.ethernet eth0: No Safety Features support found
[  369.666450] ipq806x-gmac-dwmac 37200000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported
[  369.674654] ipq806x-gmac-dwmac 37200000.ethernet eth0: registered PTP clock
[  369.683549] ipq806x-gmac-dwmac 37200000.ethernet eth0: configuring for fixed/rgmii link mode
[  369.690585] ipq806x-gmac-dwmac 37200000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[  369.706223] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  554.251875] ath10k_pci 0000:01:00.0: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
[  554.251901] ath10k_pci 0000:01:00.0: msdu-desc: 2500  skid: 32
[  554.332500] ath10k_pci 0000:01:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
[  554.333328] ath10k_pci 0000:01:00.0: wmi print 'free: 84920 iram: 13156 sram: 11224'
[  554.710942] ath10k_pci 0000:01:00.0: rts threshold -1
[  554.711333] ath10k_pci 0000:01:00.0: Firmware lacks feature flag indicating a retry limit of > 2 is OK, requested limit: 4
[  554.723048] br-lan: port 2(wlan0) entered blocking state
[  554.725927] br-lan: port 2(wlan0) entered disabled state

dmesg part 2

type or past[  554.732039] device wlan0 entered promiscuous mode
[  554.895790] ath10k_pci 0000:01:00.0: NOTE:  Firmware DBGLOG output disabled in debug_mask: 0x10000000
[  558.506351] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  558.506743] br-lan: port 2(wlan0) entered blocking state
[  558.511911] br-lan: port 2(wlan0) entered forwarding state
[  566.924893] ath10k_pci 0001:01:00.0: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
[  566.924921] ath10k_pci 0001:01:00.0: msdu-desc: 2500  skid: 32
[  567.007367] ath10k_pci 0001:01:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
[  567.008216] ath10k_pci 0001:01:00.0: wmi print 'free: 84920 iram: 13156 sram: 11224'
[  567.445180] ath10k_pci 0001:01:00.0: rts threshold -1
[  567.445590] ath10k_pci 0001:01:00.0: Firmware lacks feature flag indicating a retry limit of > 2 is OK, requested limit: 4
[  567.457305] br-lan: port 3(wlan1) entered blocking state
[  567.460256] br-lan: port 3(wlan1) entered disabled state
[  567.466123] device wlan1 entered promiscuous mode
[  576.415146] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[  576.415559] br-lan: port 3(wlan1) entered blocking state
[  576.420697] br-lan: port 3(wlan1) entered forwarding state
[  606.127341] ath10k_pci 0001:01:00.0: Invalid VHT mcs 15 peer stats
[ 5550.686584] ath10k_pci 0001:01:00.0: wmi: fixing invalid VHT TX rate code 0xffe code here