Feedback: 22.03.2 TP-Link Archer C7 v4 boot

Just flashed 22.03.2 on a TP-Link Archer C7 v4

Kernel log below.

  1. [ 0.409954] - are the bad cell count messages something to be concerned about?
  2. [ 0.484742] - are the partitions not ending on erase/write blocks something to be concerned about?
  3. [ 1.972984] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. - AFAIK, I'm not doing any filtering on the bridge. Is this cruft?
  4. [ 81.975011] ath10k_pci 0000:00:00.0: pdev param 0 not supported by firmware - is this a problem?

L.

[    0.000000] Linux version 5.10.146 (builder@buildhost) (mips-openwrt-linux-musl-gcc (OpenWrt GCC 11.2.0 r19803-9a599fee93) 11.2.0, GNU ld (GNU Binutils) 2.37) #0 Fri Oct 14 22:44:41 2022
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[    0.000000] MIPS: machine is TP-Link Archer C7 v4
[    0.000000] SoC: Qualcomm Atheros QCA956X 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-0x0000000007ffffff]
[    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]   Normal zone: 288 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32768 pages, LIFO batch:7
[    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: 32480
[    0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[    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] 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: 121084K/131072K available (5850K kernel code, 611K rwdata, 744K rodata, 1232K init, 209K bss, 9988K 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] CPU clock: 775.000 MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4932285024 ns
[    0.000007] sched_clock: 32 bits at 387MHz, resolution 2ns, wraps every 5541893118ns
[    0.008273] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[    0.074802] pid_max: default: 32768 minimum: 301
[    0.079798] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.087513] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.097630] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[    0.108342] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.118753] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.126018] pinctrl core: initialized pinctrl subsystem
[    0.135467] NET: Registered protocol family 16
[    0.140868] thermal_sys: Registered thermal governor 'step_wise'
[    0.192089] clocksource: Switched to clocksource MIPS
[    0.204888] NET: Registered protocol family 2
[    0.209686] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.218058] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.226982] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.235083] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.242532] TCP: Hash tables configured (established 1024 bind 1024)
[    0.249353] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.256292] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.263938] NET: Registered protocol family 1
[    0.268556] PCI: CLS 0 bytes, default 32
[    0.278457] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[    0.288769] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.294977] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.306994] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.317355] pinctrl-single 1804002c.pinmux: 544 pins, size 68
[    0.324034] gpio-export gpio-export: 2 gpio(s) exported
[    0.330327] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.339159] printk: console [ttyS0] disabled
[    0.343778] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 1562500) is a 16550A
[    0.352890] printk: console [ttyS0] enabled
[    0.361935] printk: bootconsole [early0] disabled
[    0.387559] led_gpio@0 enforce active low on chipselect handle
[    0.398295] spi-nor spi0.0: w25q128 (16384 Kbytes)
[    0.403355] 5 fixed-partitions partitions found on MTD device spi0.0
[    0.409954] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[    0.416840] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[    0.424115] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[    0.430965] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[    0.438418] Creating 5 MTD partitions on "spi0.0":
[    0.443435] 0x000000000000-0x000000020000 : "factory-uboot"
[    0.454380] 0x000000020000-0x000000040000 : "u-boot"
[    0.460447] 0x000000040000-0x000000f00000 : "firmware"
[    0.468285] 2 uimage-fw partitions found on MTD device firmware
[    0.474462] Creating 2 MTD partitions on "firmware":
[    0.479598] 0x000000000000-0x000000223e5c : "kernel"
[    0.484742] mtd: partition "kernel" doesn't end on an erase/write block -- force read-only
[    0.494951] 0x000000223e5c-0x000000ec0000 : "rootfs"
[    0.500093] mtd: partition "rootfs" doesn't start on an erase/write block boundary -- force read-only
[    0.510473] mtd: device 4 (rootfs) set to be root filesystem
[    0.517257] 1 squashfs-split partitions found on MTD device rootfs
[    0.523701] 0x000000610000-0x000000ec0000 : "rootfs_data"
[    0.530182] 0x000000f00000-0x000000ff0000 : "info"
[    0.537617] 0x000000ff0000-0x000001000000 : "art"
[    1.266152] switch0: Atheros AR8337 rev. 2 switch registered on mdio.0
[    1.923652] ag71xx 19000000.eth: connected to PHY at mdio.0:00 [uid=004dd036, driver=Atheros AR8216/AR8236/AR8316]
[    1.934921] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: sgmii
[    1.941754] i2c /dev entries driver
[    1.955169] NET: Registered protocol family 10
[    1.964370] Segment Routing with IPv6
[    1.968257] NET: Registered protocol family 17
[    1.972984] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.986388] 8021q: 802.1Q VLAN Support v1.8
[    1.991538] PCI host bridge /ahb/pcie-controller@18250000 ranges:
[    1.997917]  MEM 0x0000000012000000..0x0000000013ffffff
[    2.003328]   IO 0x0000000000000000..0x0000000000000000
[    2.008897] PCI host bridge to bus 0000:00
[    2.013174] pci_bus 0000:00: root bus resource [mem 0x12000000-0x13ffffff]
[    2.020274] pci_bus 0000:00: root bus resource [io  0x0000]
[    2.026042] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    2.033063] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    2.041288] pci 0000:00:00.0: [168c:003c] type 00 class 0x028000
[    2.047537] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    2.054604] pci 0000:00:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    2.061595] pci 0000:00:00.0: supports D1 D2
[    2.067026] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    2.073915] pci 0000:00:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
[    2.081479] pci 0000:00:00.0: BAR 6: assigned [mem 0x12200000-0x1220ffff pref]
[    2.101342] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    2.115425] Freeing unused kernel memory: 1232K
[    2.120104] This architecture does not have kernel memory protection.
[    2.126791] Run /sbin/init as init process
[    2.131015]   with arguments:
[    2.131019]     /sbin/init
[    2.131023]   with environment:
[    2.131027]     HOME=/
[    2.131030]     TERM=linux
[    2.857206] init: Console is alive
[    2.861152] init: - watchdog -
[    4.345939] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.401116] usbcore: registered new interface driver usbfs
[    4.406891] usbcore: registered new interface driver hub
[    4.412505] usbcore: registered new device driver usb
[    4.424870] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.434641] ehci-fsl: Freescale EHCI Host controller driver
[    4.442544] ehci-platform: EHCI generic platform driver
[    4.448271] ehci-platform 1b000000.usb: EHCI Host Controller
[    4.454203] ehci-platform 1b000000.usb: new USB bus registered, assigned bus number 1
[    4.462423] ehci-platform 1b000000.usb: irq 13, io mem 0x1b000000
[    4.492115] ehci-platform 1b000000.usb: USB 2.0 started, EHCI 1.00
[    4.499378] hub 1-0:1.0: USB hub found
[    4.504024] hub 1-0:1.0: 1 port detected
[    4.508865] ehci-platform 1b400000.usb: EHCI Host Controller
[    4.514797] ehci-platform 1b400000.usb: new USB bus registered, assigned bus number 2
[    4.523053] ehci-platform 1b400000.usb: irq 14, io mem 0x1b400000
[    4.552115] ehci-platform 1b400000.usb: USB 2.0 started, EHCI 1.00
[    4.559311] hub 2-0:1.0: USB hub found
[    4.564007] hub 2-0:1.0: 1 port detected
[    4.571346] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.589320] init: - preinit -
[    6.527661] random: jshn: uninitialized urandom read (4 bytes read)
[    7.009170] random: jshn: uninitialized urandom read (4 bytes read)
[    7.256946] random: jshn: uninitialized urandom read (4 bytes read)
[    7.543617] random: jshn: uninitialized urandom read (4 bytes read)
[    7.724283] random: jshn: uninitialized urandom read (4 bytes read)
[    8.902012] Atheros AR8216/AR8236/AR8316 mdio.0:00: Port 1 is up
[    8.916608] eth0: link up (1000Mbps/Full duplex)
[    8.921425] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    8.943872] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[    8.972547] random: procd: uninitialized urandom read (4 bytes read)
[   13.335800] jffs2_scan_eraseblock(): End of filesystem marker found at 0x10000
[   13.343311] jffs2_build_filesystem(): unlocking the mtd device... 
[   13.343315] done.
[   13.351668] jffs2_build_filesystem(): erasing all blocks after the end marker... 
[   40.229644] done.
[   40.239428] jffs2: notice: (556) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   40.256926] mount_root: overlay filesystem has not been fully initialized yet
[   40.271631] mount_root: switching to jffs2 overlay
[   40.279637] overlayfs: upper fs does not support tmpfile.
[   40.925496] urandom-seed: Seed file not found (/etc/urandom.seed)
[   41.050924] eth0: link down
[   41.073749] procd: - early -
[   41.077059] procd: - watchdog -
[   41.699061] procd: - watchdog -
[   41.703012] procd: - ubus -
[   41.806882] random: ubusd: uninitialized urandom read (4 bytes read)
[   41.816079] random: ubusd: uninitialized urandom read (4 bytes read)
[   41.823248] random: ubusd: uninitialized urandom read (4 bytes read)
[   41.837819] procd: - init -
[   43.096805] random: jshn: uninitialized urandom read (4 bytes read)
[   43.198040] kmodloader: loading kernel modules from /etc/modules.d/*
[   43.596985] urngd: v1.0.2 started.
[   43.722804] Loading modules backported from Linux version v5.15.58-0-g7d8048d4e064
[   43.730631] Backport generated by backports.git v5.15.58-1-0-g42a95ce7
[   43.797374] random: crng init done
[   43.800905] random: 24 urandom warning(s) missed due to ratelimiting
[   44.128612] PPP generic driver version 2.4.2
[   44.136525] NET: Registered protocol family 24
[   44.175448] ath10k 5.15 driver, optimized for CT firmware, probing pci device: 0x3c.
[   44.185247] ath10k_pci 0000:00:00.0: enabling device (0000 -> 0002)
[   44.194022] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[   48.027195] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[   48.036782] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   48.048730] 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
[   48.163983] ath10k_pci 0000:00:00.0: Loading BDF type 0
[   49.052758] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[   50.055890] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16  peers: 127  tid: 256
[   50.072641] ath10k_pci 0000:00:00.0: wmi print 'P 128 V 8 T 410'
[   50.079075] ath10k_pci 0000:00:00.0: wmi print 'msdu-desc: 1424  sw-crypt: 0 ct-sta: 0'
[   50.087375] ath10k_pci 0000:00:00.0: wmi print 'alloc rem: 24984 iram: 38672'
[   50.137208] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 2 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1
[   50.150062] ath10k_pci 0000:00:00.0: NOTE:  Firmware DBGLOG output disabled in debug_mask: 0x10000000
[   50.285771] ath: EEPROM regdomain: 0x0
[   50.285783] ath: EEPROM indicates default country code should be used
[   50.285787] ath: doing EEPROM country->regdmn map search
[   50.285800] ath: country maps to regdmn code: 0x3a
[   50.285806] ath: Country alpha2 being used: US
[   50.285810] ath: Regpair used: 0x3a
[   50.388925] ath: EEPROM regdomain: 0x0
[   50.388938] ath: EEPROM indicates default country code should be used
[   50.388942] ath: doing EEPROM country->regdmn map search
[   50.388955] ath: country maps to regdmn code: 0x3a
[   50.388962] ath: Country alpha2 being used: US
[   50.388966] ath: Regpair used: 0x3a
[   50.400518] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   50.402467] ieee80211 phy1: Atheros AR9561 Rev:0 mem=0xb8100000, irq=2
[   50.442664] kmodloader: done loading kernel modules from /etc/modules.d/*
[   72.619730] eth0: link up (1000Mbps/Full duplex)
[   72.642643] br-lan: port 1(eth0.1) entered blocking state
[   72.648298] br-lan: port 1(eth0.1) entered disabled state
[   72.654202] device eth0.1 entered promiscuous mode
[   72.659156] device eth0 entered promiscuous mode
[   72.671120] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   72.748543] br-lan: port 1(eth0.1) entered blocking state
[   72.754180] br-lan: port 1(eth0.1) entered forwarding state
[   73.692180] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   76.628428] ath: EEPROM regdomain: 0x<redacted>
[   76.632628] ath: EEPROM indicates we should expect a country code
[   76.638918] ath: doing EEPROM country->regdmn map search
[   76.644423] ath: country maps to regdmn code: 0x<redacted>
[   76.649365] ath: Country alpha2 being used: <redacted>
[   76.653962] ath: Regpair used: 0x<redacted>
[   76.657562] ath: regdomain 0x<redacted> dynamically updated by user
[   76.663584] ath: EEPROM regdomain: 0x<redacted>
[   76.667721] ath: EEPROM indicates we should expect a country code
[   76.674022] ath: doing EEPROM country->regdmn map search
[   76.679505] ath: country maps to regdmn code: 0x<redacted>
[   76.684461] ath: Country alpha2 being used: <redacted>
[   76.689045] ath: Regpair used: 0x<redacted>
[   76.692648] ath: regdomain 0x<redacted> dynamically updated by user
[   78.490306] br-lan: port 2(wlan1) entered blocking state
[   78.495948] br-lan: port 2(wlan1) entered disabled state
[   78.501755] device wlan1 entered promiscuous mode
[   79.025567] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[   79.032384] br-lan: port 2(wlan1) entered blocking state
[   79.037880] br-lan: port 2(wlan1) entered forwarding state
[   81.878587] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16  peers: 127  tid: 256
[   81.895677] ath10k_pci 0000:00:00.0: wmi print 'P 128 V 8 T 410'
[   81.902195] ath10k_pci 0000:00:00.0: wmi print 'msdu-desc: 1424  sw-crypt: 0 ct-sta: 0'
[   81.910486] ath10k_pci 0000:00:00.0: wmi print 'alloc rem: 24984 iram: 38672'
[   81.975011] ath10k_pci 0000:00:00.0: pdev param 0 not supported by firmware
[   81.989387] ath10k_pci 0000:00:00.0: rts threshold -1
[   82.015533] br-lan: port 3(wlan0) entered blocking state
[   82.021030] br-lan: port 3(wlan0) entered disabled state
[   82.026923] device wlan0 entered promiscuous mode
[   82.443642] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   82.450623] br-lan: port 3(wlan0) entered blocking state
[   82.456174] br-lan: port 3(wlan0) entered forwarding state

I also have these messages (bad cell count) on my tp-link archer c2 v3.