Ipq806x NSS build (Netgear R7800 / TP-Link C2600 / Linksys EA8500)

Hard to tell what's happing:

  • What are the numbers you're getting with this build?
  • What's your advertised speed from your ISP?
  • What did you get in numbers before using this NSS enabled build?
  • How's your setup?

I've been out for a while, but i thought about you all this evening because i had to restart my router (since i could not restart ksmbd service..) and i had TWENTYSEVEN days uptime (on 5.10.136)
Incredible.
Sadly i did not manage to build 5.15 with qosmio code, just waiting for acwifidude's repository :slight_smile:

2 Likes

This morning I was able to compile a master rebase qosmio's code incorporating tishipp's modifications. I had to add and remove some patches to get it to compile the new kernel but it's not necessary to write any code. I finally got it. Right now I'm testing it to see its stability.


BusyBox v1.35.0 (2022-10-15 06:51:05 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r20871+125-c3b9f00aaa
 -----------------------------------------------------
root@NAS:~# uname -a
Linux NAS 5.15.72 #0 SMP Sat Oct 15 06:51:05 2022 armv7l GNU/Linux
root@NAS:~# uptime
 21:57:30 up 10:07,  load average: 0.00, 0.00, 0.00
root@NAS:~# lsmod | grep nss_
nss_ifb                16384  0
ppp_generic            40960  6 ecm,pptp,ppp_async,qca_nss_pppoe,pppoe,pppox
pppoe                  24576  2 ecm,qca_nss_pppoe
qca_nss_crypto         36864  0
qca_nss_drv           577536  6 nss_ifb,ecm,mac80211,qca_nss_qdisc,qca_nss_crypto,qca_nss_pppoe
qca_nss_gmac           65536  1 qca_nss_drv
qca_nss_pppoe          16384  0
qca_nss_qdisc         110592  5
root@NAS:~# opkg list | grep nss-
kmod-nss-ifb - 5.15.72-1
kmod-qca-nss-crypto - 5.15.72+2021-03-20-2271a3a-1
kmod-qca-nss-drv - 5.15.72+2020-03-20-3cfb9f43-1
kmod-qca-nss-drv-igs - 5.15.72+2020-10-29-ef082a73-2
kmod-qca-nss-drv-pppoe - 5.15.72+2020-10-29-ef082a73-2
kmod-qca-nss-drv-qdisc - 5.15.72+2020-10-29-ef082a73-2
kmod-qca-nss-ecm-standard - 5.15.72+2022-08-16-bc390e91-1
kmod-qca-nss-gmac - 5.15.72+2021-04-20-17176794-1
root@NAS:~# opkg list | grep ath10k
ath10k-board-qca9984 - 20220913-1
ath10k-firmware-qca9984-ct - 2020-11-08-1
kmod-ath10k-ct - 5.15.72+2022-05-13-f808496f-1
root@NAS:~# cat /sys/kernel/debug/ieee80211/phy0/aql_txq_limit
AC      AQL limit low   AQL limit high
VO      5000            12000
VI      5000            12000
BE      5000            12000
BK      5000            12000

Kernel log

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.15.72 (asvio@VM-MINT-PC01) (arm-openwrt-linux-muslgnueabi-gcc (OpenWrt GCC 11.3.0 r21051-5c076f9c01) 11.3.0, GNU ld (GNU Binutils) 2.37) #0 SMP Sat Oct 15 06:51:05 2022
[    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: Netgear Nighthawk X4S R7800
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000042000000-0x000000005fffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000042000000-0x000000005fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000042000000-0x000000005fffffff]
[    0.000000] percpu: Embedded 12 pages/cpu s16460 r8192 d24500 u49152
[    0.000000] pcpu-alloc: s16460 r8192 d24500 u49152 alloc=12*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: 
[    0.000000] Bootloader command line (ignored): console=ttyHSL1,115200n8
[    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: 473084K/491520K available (7325K kernel code, 661K rwdata, 1712K rodata, 1024K init, 239K bss, 18436K 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] 	Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] clocksource: dg_timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 305801671480 ns
[    0.000001] sched_clock: 32 bits at 6MHz, resolution 160ns, wraps every 343597383600ns
[    0.000027] Switching to timer-based delay loop, resolution 160ns
[    0.000364] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.50 BogoMIPS (lpj=62500)
[    0.000397] pid_max: default: 32768 minimum: 301
[    0.000651] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.000682] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001824] CPU: Testing write buffer coherency: ok
[    0.002158] qcom_scm: convention: smc legacy
[    0.003488] Setting up static identity map for 0x42300000 - 0x42300060
[    0.003685] rcu: Hierarchical SRCU implementation.
[    0.004661] smp: Bringing up secondary CPUs ...
[    0.006715] smp: Brought up 1 node, 2 CPUs
[    0.006743] SMP: Total of 2 processors activated (25.00 BogoMIPS).
[    0.006761] CPU: All CPU(s) started in SVC mode.
[    0.019147] VFP support v0.3: implementor 51 architecture 64 part 4d variant 2 rev 0
[    0.019306] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.019341] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.019498] pinctrl core: initialized pinctrl subsystem
[    0.021413] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.021753] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.023090] thermal_sys: Registered thermal governor 'step_wise'
[    0.025107] cpuidle: using governor ladder
[    0.025196] cpuidle: using governor menu
[    0.045431] qcom_rpm 108000.rpm: RPM firmware 3.0.16777364
[    0.082039] s1a: Bringing 0uV into 1050000-1050000uV
[    0.082285] s1a: supplied by regulator-dummy
[    0.082458] s1b: Bringing 0uV into 1050000-1050000uV
[    0.082677] s1b: supplied by regulator-dummy
[    0.082918] s2a: Bringing 0uV into 775000-775000uV
[    0.083135] s2a: supplied by regulator-dummy
[    0.083290] s2b: Bringing 0uV into 775000-775000uV
[    0.083513] s2b: supplied by regulator-dummy
[    0.084129] usbcore: registered new interface driver usbfs
[    0.084208] usbcore: registered new interface driver hub
[    0.084272] usbcore: registered new device driver usb
[    0.084329] pps_core: LinuxPPS API ver. 1 registered
[    0.084344] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.084379] PTP clock support registered
[    0.086486] clocksource: Switched to clocksource dg_timer
[    0.087453] NET: Registered PF_INET protocol family
[    0.087655] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.088424] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.088466] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.088496] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.088536] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.088594] TCP: Hash tables configured (established 4096 bind 4096)
[    0.088676] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.088713] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.088970] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.089023] PCI: CLS 0 bytes, default 64
[    0.089992] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.095752] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.095773] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.199651] qcom-pcie 1b500000.pci: supply vdda not found, using dummy regulator
[    0.199873] qcom-pcie 1b500000.pci: supply vdda_phy not found, using dummy regulator
[    0.199994] qcom-pcie 1b500000.pci: supply vdda_refclk not found, using dummy regulator
[    0.200250] qcom-pcie 1b500000.pci: host bridge /soc/pci@1b500000 ranges:
[    0.200298] qcom-pcie 1b500000.pci: Parsing ranges property...
[    0.200343] qcom-pcie 1b500000.pci:       IO 0x000fe00000..0x000fe0ffff -> 0x000fe00000
[    0.200385] qcom-pcie 1b500000.pci:      MEM 0x0008000000..0x000fdfffff -> 0x0008000000
[    0.320494] qcom-pcie 1b500000.pci: iATU unroll: disabled
[    0.320517] qcom-pcie 1b500000.pci: Detected iATU regions: 8 outbound, 8 inbound
[    0.423271] qcom-pcie 1b500000.pci: Link up
[    0.423424] qcom-pcie 1b500000.pci: PCI host bridge to bus 0000:00
[    0.423446] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.423472] pci_bus 0000:00: root bus resource [io  0x0000-0xffff] (bus address [0xfe00000-0xfe0ffff])
[    0.423491] pci_bus 0000:00: root bus resource [mem 0x08000000-0x0fdfffff]
[    0.423513] pci_bus 0000:00: scanning bus
[    0.423565] pci 0000:00:00.0: [17cb:0101] type 01 class 0x060400
[    0.423702] pci 0000:00:00.0: supports D1
[    0.423723] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.423743] pci 0000:00:00.0: PME# disabled
[    0.427506] pci_bus 0000:00: fixups for bus
[    0.427529] PCI: bus0: Fast back to back transfers disabled
[    0.427550] pci 0000:00:00.0: scanning [bus 01-ff] behind bridge, pass 0
[    0.427697] pci_bus 0000:01: scanning bus
[    0.427907] pci 0000:01:00.0: [168c:0046] type 00 class 0x028000
[    0.428092] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    0.428894] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    0.428937] pci 0000:01:00.0: PME# disabled
[    0.432645] pci_bus 0000:01: fixups for bus
[    0.432701] PCI: bus1: Fast back to back transfers disabled
[    0.432721] pci_bus 0000:01: bus scan returning with max=01
[    0.432741] pci 0000:00:00.0: scanning [bus 01-ff] behind bridge, pass 1
[    0.432762] pci_bus 0000:00: bus scan returning with max=ff
[    0.432793] pci 0000:00:00.0: BAR 8: assigned [mem 0x08000000-0x081fffff]
[    0.432825] pci 0000:01:00.0: BAR 0: assigned [mem 0x08000000-0x081fffff 64bit]
[    0.432924] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    0.432951] pci 0000:00:00.0:   bridge window [mem 0x08000000-0x081fffff]
[    0.433142] pcieport 0000:00:00.0: assign IRQ: got 47
[    0.433267] qcom-pcie 1b500000.pci: msi#0 address_hi 0x0 address_lo 0x43669098
[    0.434250] pcieport 0000:00:00.0: AER: enabled with IRQ 48
[    0.434357] pcieport 0000:00:00.0: saving config space at offset 0x0 (reading 0x10117cb)
[    0.434376] pcieport 0000:00:00.0: saving config space at offset 0x4 (reading 0x100547)
[    0.434393] pcieport 0000:00:00.0: saving config space at offset 0x8 (reading 0xff000000)
[    0.434409] pcieport 0000:00:00.0: saving config space at offset 0xc (reading 0x10010)
[    0.434424] pcieport 0000:00:00.0: saving config space at offset 0x10 (reading 0x0)
[    0.434439] pcieport 0000:00:00.0: saving config space at offset 0x14 (reading 0x0)
[    0.434453] pcieport 0000:00:00.0: saving config space at offset 0x18 (reading 0xff0100)
[    0.434469] pcieport 0000:00:00.0: saving config space at offset 0x1c (reading 0xf0)
[    0.434484] pcieport 0000:00:00.0: saving config space at offset 0x20 (reading 0x8100800)
[    0.434498] pcieport 0000:00:00.0: saving config space at offset 0x24 (reading 0x1fff1)
[    0.434514] pcieport 0000:00:00.0: saving config space at offset 0x28 (reading 0x0)
[    0.434528] pcieport 0000:00:00.0: saving config space at offset 0x2c (reading 0x0)
[    0.434542] pcieport 0000:00:00.0: saving config space at offset 0x30 (reading 0x0)
[    0.434557] pcieport 0000:00:00.0: saving config space at offset 0x34 (reading 0x40)
[    0.434573] pcieport 0000:00:00.0: saving config space at offset 0x38 (reading 0x0)
[    0.434587] pcieport 0000:00:00.0: saving config space at offset 0x3c (reading 0x3012f)
[    0.435262] qcom-pcie 1b700000.pci: supply vdda not found, using dummy regulator
[    0.435482] qcom-pcie 1b700000.pci: supply vdda_phy not found, using dummy regulator
[    0.435597] qcom-pcie 1b700000.pci: supply vdda_refclk not found, using dummy regulator
[    0.435881] qcom-pcie 1b700000.pci: host bridge /soc/pci@1b700000 ranges:
[    0.435930] qcom-pcie 1b700000.pci: Parsing ranges property...
[    0.435973] qcom-pcie 1b700000.pci:       IO 0x0031e00000..0x0031e0ffff -> 0x0031e00000
[    0.436015] qcom-pcie 1b700000.pci:      MEM 0x002e000000..0x0031dfffff -> 0x002e000000
[    0.561351] qcom-pcie 1b700000.pci: iATU unroll: disabled
[    0.561374] qcom-pcie 1b700000.pci: Detected iATU regions: 8 outbound, 8 inbound
[    0.664133] qcom-pcie 1b700000.pci: Link up
[    0.664287] qcom-pcie 1b700000.pci: PCI host bridge to bus 0001:00
[    0.664309] pci_bus 0001:00: root bus resource [bus 00-ff]
[    0.664333] pci_bus 0001:00: root bus resource [io  0x10000-0x1ffff] (bus address [0x31e00000-0x31e0ffff])
[    0.664352] pci_bus 0001:00: root bus resource [mem 0x2e000000-0x31dfffff]
[    0.664373] pci_bus 0001:00: scanning bus
[    0.664426] pci 0001:00:00.0: [17cb:0101] type 01 class 0x060400
[    0.664556] pci 0001:00:00.0: supports D1
[    0.664573] pci 0001:00:00.0: PME# supported from D0 D1 D3hot
[    0.664593] pci 0001:00:00.0: PME# disabled
[    0.668325] pci_bus 0001:00: fixups for bus
[    0.668347] PCI: bus0: Fast back to back transfers disabled
[    0.668367] pci 0001:00:00.0: scanning [bus 01-ff] behind bridge, pass 0
[    0.668501] pci_bus 0001:01: scanning bus
[    0.668725] pci 0001:01:00.0: [168c:0046] type 00 class 0x028000
[    0.668921] pci 0001:01:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    0.669798] pci 0001:01:00.0: PME# supported from D0 D3hot D3cold
[    0.669841] pci 0001:01:00.0: PME# disabled
[    0.670082] pci 0001:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0001:00:00.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[    0.673618] pci_bus 0001:01: fixups for bus
[    0.673680] PCI: bus1: Fast back to back transfers disabled
[    0.673697] pci_bus 0001:01: bus scan returning with max=01
[    0.673717] pci 0001:00:00.0: scanning [bus 01-ff] behind bridge, pass 1
[    0.673739] pci_bus 0001:00: bus scan returning with max=ff
[    0.673765] pci 0001:00:00.0: BAR 8: assigned [mem 0x2e000000-0x2e1fffff]
[    0.673793] pci 0001:01:00.0: BAR 0: assigned [mem 0x2e000000-0x2e1fffff 64bit]
[    0.673898] pci 0001:00:00.0: PCI bridge to [bus 01-ff]
[    0.673924] pci 0001:00:00.0:   bridge window [mem 0x2e000000-0x2e1fffff]
[    0.674102] pcieport 0001:00:00.0: assign IRQ: got 49
[    0.674213] qcom-pcie 1b700000.pci: msi#0 address_hi 0x0 address_lo 0x43668e98
[    0.675152] pcieport 0001:00:00.0: AER: enabled with IRQ 50
[    0.675264] pcieport 0001:00:00.0: saving config space at offset 0x0 (reading 0x10117cb)
[    0.675284] pcieport 0001:00:00.0: saving config space at offset 0x4 (reading 0x100547)
[    0.675300] pcieport 0001:00:00.0: saving config space at offset 0x8 (reading 0xff000000)
[    0.675315] pcieport 0001:00:00.0: saving config space at offset 0xc (reading 0x10010)
[    0.675331] pcieport 0001:00:00.0: saving config space at offset 0x10 (reading 0x0)
[    0.675347] pcieport 0001:00:00.0: saving config space at offset 0x14 (reading 0x0)
[    0.675361] pcieport 0001:00:00.0: saving config space at offset 0x18 (reading 0xff0100)
[    0.675377] pcieport 0001:00:00.0: saving config space at offset 0x1c (reading 0xf0)
[    0.675392] pcieport 0001:00:00.0: saving config space at offset 0x20 (reading 0x2e102e00)
[    0.675407] pcieport 0001:00:00.0: saving config space at offset 0x24 (reading 0x1fff1)
[    0.675422] pcieport 0001:00:00.0: saving config space at offset 0x28 (reading 0x0)
[    0.675438] pcieport 0001:00:00.0: saving config space at offset 0x2c (reading 0x0)
[    0.675453] pcieport 0001:00:00.0: saving config space at offset 0x30 (reading 0x0)
[    0.675468] pcieport 0001:00:00.0: saving config space at offset 0x34 (reading 0x40)
[    0.675482] pcieport 0001:00:00.0: saving config space at offset 0x38 (reading 0x0)
[    0.675496] pcieport 0001:00:00.0: saving config space at offset 0x3c (reading 0x30131)
[    0.679090] krait-cc soc:clock-controller: CPU0 @ 800000 KHz
[    0.679117] krait-cc soc:clock-controller: CPU1 @ PXO rate. Forcing new rate.
[    0.679256] krait-cc soc:clock-controller: CPU1 @ 384000 KHz
[    0.679276] krait-cc soc:clock-controller: L2 @ PXO rate. Forcing new rate.
[    0.679475] krait-cc soc:clock-controller: L2 @ 384000 KHz
[    0.683521] gsbi 16300000.gsbi: GSBI port protocol: 6 crci: 0
[    0.685386] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.686109] msm_serial 16340000.serial: msm_serial: detected port #0
[    0.686162] msm_serial 16340000.serial: uartclk = 7372800
[    0.686230] 16340000.serial: ttyMSM0 at MMIO 0x16340000 (irq = 51, base_baud = 460800) is a MSM
[    0.686272] msm_serial: console setup on port #0
[    1.596876] printk: console [ttyMSM0] enabled
[    1.601967] msm_serial: driver initialized
[    1.610663] loop: module loaded
[    1.612065] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xa1
[    1.612941] nand: AMD/Spansion S34MS01G2
[    1.619632] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.623535] 8 fixed-partitions partitions found on MTD device qcom_nand.0
[    1.630964] OF: Bad cell count for /soc/nand-controller@1ac00000/nand@0/partitions
[    1.637787] OF: Bad cell count for /soc/nand-controller@1ac00000/nand@0/partitions
[    1.645790] Creating 8 MTD partitions on "qcom_nand.0":
[    1.652781] 0x000000000000-0x000000c80000 : "qcadata"
[    1.676668] 0x000000c80000-0x000001180000 : "APPSBL"
[    1.684652] 0x000001180000-0x000001200000 : "APPSBLENV"
[    1.685894] 0x000001200000-0x000001340000 : "art"
[    1.691079] 0x000001340000-0x000001480000 : "artbak"
[    1.695810] 0x000001480000-0x000001880000 : "kernel"
[    1.704933] 0x000001880000-0x000007900000 : "ubi"
[    1.847088] 0x000007900000-0x000008000000 : "reserve"
[    1.879223] switch0: Atheros AR8337 rev. 2 switch registered on 37000000.mdio-mii
[    2.713164] ar8327: qca,phy-rgmii-en is not specified
[    2.714059] i2c_dev: i2c /dev entries driver
[    2.719967] failed to register cpuidle driver
[    2.721539] qcom-spm-cpuidle qcom-spm-cpuidle: Cannot register for CPU0: -22
[    2.725845] failed to register cpuidle driver
[    2.733004] qcom-spm-cpuidle qcom-spm-cpuidle: Cannot register for CPU1: -22
[    2.737744] sdhci: Secure Digital Host Controller Interface driver
[    2.744281] sdhci: Copyright(c) Pierre Ossman
[    2.750331] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.761796] NET: Registered PF_INET6 protocol family
[    2.763066] Segment Routing with IPv6
[    2.765865] In-situ OAM (IOAM) with IPv6
[    2.769545] NET: Registered PF_PACKET protocol family
[    2.773488] Bridge firewalling registered
[    2.778610] 8021q: 802.1Q VLAN Support v1.8
[    2.782363] Registering SWP/SWPB emulation handler
[    2.816884] thermal thermal_zone0: failed to read out thermal zone (-110)
[    2.831903] UBI: auto-attach mtd6
[    2.831944] ubi0: attaching mtd6
[    2.967242] random: crng init done
[    3.540832] ubi0: scanning is finished
[    3.550266] ubi0: attached mtd6 (name "ubi", size 96 MiB)
[    3.550291] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    3.554638] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    3.561480] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    3.568329] ubi0: good PEBs: 772, bad PEBs: 0, corrupted PEBs: 0
[    3.575037] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    3.581343] ubi0: max/mean erase counter: 4/2, WL threshold: 4096, image sequence number: 1663330314
[    3.588372] ubi0: available PEBs: 0, total reserved PEBs: 772, PEBs reserved for bad PEB handling: 20
[    3.597749] ubi0: background thread "ubi_bgt0d" started, PID 91
[    3.598421] block ubiblock0_0: created from ubi0:0(rootfs)
[    3.612540] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[    3.621934] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    3.622603] Freeing unused kernel image (initmem) memory: 1024K
[    3.657285] Run /sbin/init as init process
[    3.657317]   with arguments:
[    3.657330]     /sbin/init
[    3.657344]   with environment:
[    3.657355]     HOME=/
[    3.657365]     TERM=linux
[    4.290782] init: Console is alive
[    4.290928] init: - watchdog -
[    4.293147] init: Watchdog has previously reset the system
[    5.511098] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    5.665036] Key type encrypted registered
[    5.675132] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[    5.801980] pstore: Using crash dump compression: deflate
[    5.802010] pstore: Registered ramoops as persistent store backend
[    5.806368] ramoops: using 0x40000@0x42100000, ecc: 0
[    5.820163] **********************************************************
[    5.820193] * Driver    :NSS GMAC Driver - RTL v(3.72a)
[    5.825578] * Version   :1.0
[    5.830788] * Copyright :Copyright (c) 2013-2018 The Linux Foundation. All rights reserved.
[    5.833829] **********************************************************
[    5.846792] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdebb8000) + GMAC_COREn_CLK_FS(1)(0x3cd8): 0x8
[    5.848509] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdebb8000) + GMAC_COREn_CLK_SRC_CTL(1)(0x3cc0): 0x2
[    5.861368] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdebb8000) + GMAC_COREn_CLK_SRC0_MD(1)(0x3cc4): 0x7f0000
[    5.874455] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdebb8000) + GMAC_COREn_CLK_SRC1_MD(1)(0x3cc8): 0x7f0000
[    5.888325] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdebb8000) + GMAC_COREn_CLK_SRC0_NS(1)(0x3ccc): 0x142
[    5.901945] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdebb8000) + GMAC_COREn_CLK_SRC1_NS(1)(0x3cd0): 0x142
[    5.915222] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdebb8000) + CLK_HALT_NSSFAB0_NSSFAB1_STATEA(0x3c20): 0x5b00
[    5.928601] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdebb8000) + GMAC_COREn_CLK_CTL(1)(0x3cd4): 0x50
[    5.942652] (unnamed net_device) (uninitialized): nss_gmac_dev_init: nss_base(0xdf1c0000) + NSS_GMACn_CTL(1)(0x34): 0x90c0c
[    5.955584] (unnamed net_device) (uninitialized): nss_gmac_dev_init: nss_base(0xdf1c0000) + NSS_ETH_CLK_DIV0(0xc): 0x100
[    5.966468] (unnamed net_device) (uninitialized): ioremap OK. Size 0x4000. reg_base 0x37200000. mac_base 0xafc24a6f.
[    5.977574] (unnamed net_device) (uninitialized): mdio bus '37000000.mdio-mii' OK.
[    5.993458] ipq8064-mdio 37000000.mdio (unnamed net_device) (uninitialized): nss_gmac_ipc_offload_init: enable Rx checksum
[    5.996003] ipq8064-mdio 37000000.mdio eth0: Initialized NSS GMAC1 interface eth0: (base = 0x37200000, irq = 39, PhyId = 4, PollLink = 0)
[    6.007010] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdebb8000) + GMAC_COREn_CLK_FS(2)(0x3cf8): 0x8
[    6.018886] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdebb8000) + GMAC_COREn_CLK_SRC_CTL(2)(0x3ce0): 0x2
[    6.031563] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdebb8000) + GMAC_COREn_CLK_SRC0_MD(2)(0x3ce4): 0x7f0000
[    6.044651] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdebb8000) + GMAC_COREn_CLK_SRC1_MD(2)(0x3ce8): 0x7f0000
[    6.058561] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdebb8000) + GMAC_COREn_CLK_SRC0_NS(2)(0x3cec): 0x142
[    6.072172] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdebb8000) + GMAC_COREn_CLK_SRC1_NS(2)(0x3cf0): 0x142
[    6.085450] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdebb8000) + CLK_HALT_NSSFAB0_NSSFAB1_STATEA(0x3c20): 0x5b00
[    6.098821] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdebb8000) + GMAC_COREn_CLK_CTL(2)(0x3cf4): 0x50
[    6.112910] (unnamed net_device) (uninitialized): nss_gmac_dev_init: nss_base(0xdf1c0000) + NSS_GMACn_CTL(2)(0x38): 0x80c0c
[    6.125818] (unnamed net_device) (uninitialized): nss_gmac_dev_init: nss_base(0xdf1c0000) + NSS_ETH_CLK_DIV0(0xc): 0x100
[    6.136685] (unnamed net_device) (uninitialized): nss_gmac_qsgmii_dev_init: QSGMII_PHY_SGMII_1_CTL(0x13c) - 0xc09c408f
[    6.147774] (unnamed net_device) (uninitialized): nss_gmac_qsgmii_dev_init: NSS_QSGMII_CLK_CTL(0x2c) - 0x0
[    6.158301] (unnamed net_device) (uninitialized): SGMII Specific Init for GMAC2 Done!
[    6.167934] (unnamed net_device) (uninitialized): ioremap OK. Size 0x4000. reg_base 0x37400000. mac_base 0xe826057d.
[    6.175797] (unnamed net_device) (uninitialized): mdio bus '37000000.mdio-mii' OK.
[    6.191988] ipq8064-mdio 37000000.mdio (unnamed net_device) (uninitialized): nss_gmac_ipc_offload_init: enable Rx checksum
[    6.194266] ipq8064-mdio 37000000.mdio eth1: Initialized NSS GMAC2 interface eth1: (base = 0x37400000, irq = 40, PhyId = 0, PollLink = 0)
[    6.339278] nss_driver - fw of size 544712  bytes copied to load addr: 40000000, nss_id : 0
[    6.339737] nss_driver - Turbo Support 1
[    6.346433] Supported Frequencies - 
[    6.346437] 800Mhz 
[    6.350647] 800Mhz 
[    6.354155] 800Mhz 
[    6.355977] 
[    6.360358] bf23e500: meminfo init succeed
[    6.361917] (unnamed net_device) (dummy): netif_napi_add() called with weight 64
[    6.407079] node size 1 # items 2
[    6.407118] memory: 0 0 (avl 495165440) items 2 active_cores 2
[    6.416862] addr/size storage words 1 1 # words 2 in DTS, ddr size 1000000
[    6.416957] bf23e500: nss core 0 booted successfully
[    6.644819] nss_driver - fw of size 218860  bytes copied to load addr: 40800000, nss_id : 1
[    6.645061] bf242c00: meminfo init succeed
[    6.652112] debugfs: Directory 'dynamic_if' with parent 'stats' already present!
[    6.656152] debugfs: File 'n2h' in directory 'strings' already present!
[    6.663766] debugfs: File 'drv' in directory 'strings' already present!
[    6.671730] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    6.672763] node size 1 # items 2
[    6.679877] SCSI subsystem initialized
[    6.683258] memory: 0 0 (avl 495271936) items 2 active_cores 2
[    6.690318] addr/size storage words 1 1 # words 2 in DTS, ddr size 1000000
[    6.696092] bf242c00: nss core 1 booted successfully
[    6.697131] libata version 3.00 loaded.
[    6.707960] ahci 29000000.sata: supply ahci not found, using dummy regulator
[    6.708279] ahci 29000000.sata: supply phy not found, using dummy regulator
[    6.715388] ahci 29000000.sata: supply target not found, using dummy regulator
[    6.722363] ahci 29000000.sata: forcing port_map 0x0 -> 0x1
[    6.729211] ahci 29000000.sata: AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl platform mode
[    6.734541] ahci 29000000.sata: flags: ncq sntf pm led clo only pmp pio slum part ccc apst 
[    6.744146] scsi host0: ahci
[    6.759540] ata1: SATA max UDMA/133 mmio [mem 0x29000000-0x2900017f] port 0x100 irq 32
[    7.088728] ata1: SATA link down (SStatus 0 SControl 300)
[    7.094758] ehci-fsl: Freescale EHCI Host controller driver
[    7.097113] ehci-platform: EHCI generic platform driver
[    7.106031] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    7.106757] ohci-platform: OHCI generic platform driver
[    7.358914] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    7.358969] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[    7.363467] xhci-hcd xhci-hcd.0.auto: hcc params 0x0228f065 hci version 0x100 quirks 0x0000002002010010
[    7.371010] xhci-hcd xhci-hcd.0.auto: irq 55, io mem 0x10000000
[    7.380528] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    7.386140] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[    7.391759] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[    7.399988] hub 1-0:1.0: USB hub found
[    7.406033] hub 1-0:1.0: 1 port detected
[    7.416443] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    7.416840] hub 2-0:1.0: USB hub found
[    7.423615] hub 2-0:1.0: 1 port detected
[    7.427460] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    7.431240] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
[    7.436659] xhci-hcd xhci-hcd.1.auto: hcc params 0x0228f065 hci version 0x100 quirks 0x0000002002010010
[    7.444178] xhci-hcd xhci-hcd.1.auto: irq 56, io mem 0x11000000
[    7.453678] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    7.459431] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
[    7.464919] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[    7.474004] hub 3-0:1.0: USB hub found
[    7.479155] hub 3-0:1.0: 1 port detected
[    7.483032] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    7.487250] hub 4-0:1.0: USB hub found
[    7.494967] hub 4-0:1.0: 1 port detected
[    7.501704] usbcore: registered new interface driver usb-storage
[    7.503446] usbcore: registered new interface driver uas
[    7.508853] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    7.522336] init: - preinit -
[    7.947093] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
[    8.106653] scsi host1: uas
[    8.107587] scsi 1:0:0:0: Direct-Access     Seagate  Expansion        0502 PQ: 0 ANSI: 6
[    8.109568] sd 1:0:0:0: [sda] Spinning up disk...
[    9.206945] .
[   10.201753] ipq8064-mdio 37000000.mdio eth1: nss_gmac_start_up: Force link up
[   10.202323] ipq8064-mdio 37000000.mdio eth1: 1000 Mbps Full Duplex
[   10.209524] ipq8064-mdio 37000000.mdio eth1: nss_gmac_dev_set_speed:NSS_ETH_CLK_DIV0(0xc) - 0x100
[   10.215519] ipq8064-mdio 37000000.mdio eth1: nss_gmac_dev_set_speed: qsgmii_base(0xdf1e0000) + PCS_MODE_CTL(0x68): 0x80008082
[   10.224570] ipq8064-mdio 37000000.mdio eth1: nss_gmac_reset: eth1 resetting...
[   10.236892] ..
[   11.284746] ipq8064-mdio 37000000.mdio eth1: GMAC reset completed in 105 jiffies; dma_bus_mode - 0x20100
[   11.285681] ipq8064-mdio 37000000.mdio eth1: nss_gmac_change_mtu: Enabling Normal Frame MTU (Requested MTU [1500])
[   11.295084] ipq8064-mdio 37000000.mdio eth1: nss_gmac_change_mtu: Enabling Jumbo Frame MTU for eth1 (Requested MTU [1500])
[   11.305253] ipq8064-mdio 37000000.mdio eth1: Set addr dc:ef:09:f3:26:9a
[   11.316258] ipq8064-mdio 37000000.mdio eth1: nss_gmac_ipc_offload_init: enable Rx checksum
[   11.322753] ipq8064-mdio 37000000.mdio eth1: nss_gmac_config_flow_control:
[   11.331093] ipq8064-mdio 37000000.mdio eth1: nss_gmac_rx_pause_disable: disable Rx flow control
[   11.337951] ipq8064-mdio 37000000.mdio eth1: nss_gmac_tx_pause_disable: disable Tx flow control
[   11.346814] ipq8064-mdio 37000000.mdio eth1: nss_gmac_linkup: data plane open command successfully issued
[   11.356094] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   11.365244] IPv6: ADDRCONF(NETDEV_CHANGE): eth1.1: link becomes ready
[   12.316853] .ready
[   12.318721] sd 1:0:0:0: [sda] 3907029167 512-byte logical blocks: (2.00 TB/1.82 TiB)
[   12.318787] sd 1:0:0:0: [sda] 2048-byte physical blocks
[   12.518069] sd 1:0:0:0: [sda] Write Protect is off
[   12.518181] sd 1:0:0:0: [sda] Mode Sense: 4f 00 00 00
[   12.518801] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   12.522473] sd 1:0:0:0: [sda] Optimal transfer size 33553920 bytes not a multiple of physical block size (2048 bytes)
...................................................
5 Likes

Right now I'm getting about 500 down, and I have a gigabit connection. The numbers are a bit better now, they used to be 300 before this build. I'm running a Netgear R7800 which is directly connected to the ONT and makes use of PPPoE in a VLAN.

If you got to 300 Mbit/s before using this build and then got 500Mbit/s with this build then there are a few possible reasons you’re not getting around 900Mbit/s:

  • having SQM set to around 500Mbit/s
  • your Internet connection is (temporarily) not 1 Gbit/s
  • you have an older 22.03 build that doesn’t include a working PPPoE offload yet
  • possible hardware fault in your router
  • the tool you use to check your Internet speed isn’t capable of running 1Gbit/s (at the moment)

A quick check would be to flash the OEM firmware from Netgear and see which speed you get with that. My R7800 is also running directly on the ONT with PPPoE and I get around 850-900Mbit/s. If my ISP wouldn’t use PPPoE it would probably be a bit higher.

Awesome :+1:

I read this a few days ago and I see that referenced hostapd error message in my logs too. Are there more of us who see the same message? I haven’t checked the result of the proposed patch but it seems to make good sense to me.

I'm also missing a bunch of kmod to install cifsmount and pbr. A rebuild would be great :+1:

from another thread mentioned by @vochong :

Do you still have these?

I have these messages too. My network setup is a bit more complicated than yours if I remember correctly. I've got additional VLAN's for a guest WiFi network on a few dumb AP's throughout the house. There's a ton of people that have messages like these throughout the years. At first I thought I had these messages because of one of the following reasons:

  • IPv6 NDP proxy enabled on all interfaces on all dumb AP's
  • IGMP proxy installed (but not running) on all dumb AP's
  • Some misconfiguration on my part, which is the most likely cause
  • But then I stumbled upon your post about this particular message and thought: the NSS cores are also used to offload WiFi. The way the OS hands off packets to NSS cores and receives them back from the NSS cores sounds like a bridge, right? Does the OS communicate with NSS via virtual network interfaces? I believe it does. Could it be that in some cases traffic gets caught and throws this error? Yesterday the kid complained about "WiFi issues" and I checked the logs of the dumb AP's and found a lot of those messages on the most likely connected dumb AP. If NSS is accelerating WiFi and these messages have something to do with an "undefined hiccup", that might cause traffic from being stalled.

Curious about your recent experience with this message :sweat_smile:

1 Like

In my case, those messages first appeared when I enabled the 802.11r (Fast Transition) option on two different openwrt routers that share the same wifi4 wlan. One of the routers is an r7800 and the other is an Archer C7 v2.
Every time a device compatible with 802.11r changes from one router to the other one the message you mention appears in the log of the router to which it changed.
In my case it is an ipad, two iPhones and a xiaomi phone that cause these messages to appear in the system log.

please post a output of top while making a speedtest..

Yes i also have a ton of these.
All on wlan devices, nothing on wired.
It doesn't seem to be limited to one kind of clients (i have my phone, my laptop, my dyson purifier, so quite various)
It also seem a little bit worse than some time ago, but this could be a bias given i'm looking at it :slight_smile:

Do you have dumb AP's setup by any chance? Or running it on a single R7800?

I have them on a single R7800 with kernel 5.10. With kernel 5.15 and the same network settings and clients I didn't get even a single one.

NSS firmware coredump log.
NEC WG2600HP have gmac1 and gmac2.

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.15.71 (tishi@TP-P53) (arm-openwrt-linux-muslgnueabi-gcc (OpenWrt GCC 11.3.0 r21051-5c076f9c01) 11.3.0, GNU ld (GNU Binutils) 2.37) #0 SMP Wed Oct 12 13:16:35 2022
[    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: NEC Aterm WG2600HP
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000042000000-0x000000005fffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000042000000-0x000000005fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000042000000-0x000000005fffffff]
[    0.000000] percpu: Embedded 12 pages/cpu s16460 r8192 d24500 u49152
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 121800
[    0.000000] Kernel command line:
[    0.000000] Bootloader command line not present
[    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: 443432K/491520K available (7304K kernel code, 617K rwdata, 1768K rodata, 31744K init, 241K bss, 48088K 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]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] clocksource: dg_timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 305801671480 ns
[    0.000001] sched_clock: 32 bits at 6MHz, resolution 160ns, wraps every 343597383600ns
[    0.000026] Switching to timer-based delay loop, resolution 160ns
[    0.000396] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.50 BogoMIPS (lpj=62500)
[    0.000435] pid_max: default: 32768 minimum: 301
[    0.000699] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.000730] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001876] CPU: Testing write buffer coherency: ok
[    0.002220] qcom_scm: convention: smc legacy
[    0.003547] Setting up static identity map for 0x42300000 - 0x42300060
[    0.003750] rcu: Hierarchical SRCU implementation.
[    0.004095] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[    0.004363] smp: Bringing up secondary CPUs ...
[    0.006392] smp: Brought up 1 node, 2 CPUs
[    0.006420] SMP: Total of 2 processors activated (25.00 BogoMIPS).
[    0.006443] CPU: All CPU(s) started in SVC mode.
[    0.018450] VFP support v0.3: implementor 51 architecture 64 part 4d variant 2 rev 0
[    0.018624] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.018660] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.018822] pinctrl core: initialized pinctrl subsystem
[    0.020760] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.021089] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.022420] thermal_sys: Registered thermal governor 'step_wise'
[    0.024409] cpuidle: using governor ladder
[    0.024490] cpuidle: using governor menu
[    0.043505] qcom_rpm 108000.rpm: RPM firmware 3.0.16777342
[    0.078752] s1a: Bringing 0uV into 1050000-1050000uV
[    0.078983] s1a: supplied by regulator-dummy
[    0.079155] s1b: Bringing 0uV into 1050000-1050000uV
[    0.079379] s1b: supplied by regulator-dummy
[    0.079534] s2a: Bringing 0uV into 800000-800000uV
[    0.079732] s2a: supplied by regulator-dummy
[    0.079885] s2b: Bringing 0uV into 800000-800000uV
[    0.080095] s2b: supplied by regulator-dummy
[    0.080708] usbcore: registered new interface driver usbfs
[    0.080780] usbcore: registered new interface driver hub
[    0.080851] usbcore: registered new device driver usb
[    0.080906] pps_core: LinuxPPS API ver. 1 registered
[    0.080922] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.080954] PTP clock support registered
[    0.083120] clocksource: Switched to clocksource dg_timer
[    0.084029] NET: Registered PF_INET protocol family
[    0.084238] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.085108] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.085152] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.085180] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.085224] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.085285] TCP: Hash tables configured (established 4096 bind 4096)
[    0.085370] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.085408] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.085658] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.085710] PCI: CLS 0 bytes, default 64
[    0.086606] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.092178] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.092199] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.252514] qcom-pcie 1b500000.pci: supply vdda not found, using dummy regulator
[    0.252814] qcom-pcie 1b500000.pci: supply vdda_phy not found, using dummy regulator
[    0.252942] qcom-pcie 1b500000.pci: supply vdda_refclk not found, using dummy regulator
[    0.253259] qcom-pcie 1b500000.pci: host bridge /soc/pci@1b500000 ranges:
[    0.253377] qcom-pcie 1b500000.pci:       IO 0x000fe00000..0x000fe0ffff -> 0x000fe00000
[    0.253433] qcom-pcie 1b500000.pci:      MEM 0x0008000000..0x000fdfffff -> 0x0008000000
[    0.376328] qcom-pcie 1b500000.pci: iATU unroll: disabled
[    0.376363] qcom-pcie 1b500000.pci: Detected iATU regions: 8 outbound, 8 inbound
[    0.479074] qcom-pcie 1b500000.pci: Link up
[    0.479296] qcom-pcie 1b500000.pci: PCI host bridge to bus 0000:00
[    0.479324] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.479358] pci_bus 0000:00: root bus resource [io  0x0000-0xffff] (bus address [0xfe00000-0xfe0ffff])
[    0.479390] pci_bus 0000:00: root bus resource [mem 0x08000000-0x0fdfffff]
[    0.479484] pci 0000:00:00.0: [17cb:0101] type 01 class 0x060400
[    0.479647] pci 0000:00:00.0: supports D1
[    0.479674] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.484684] PCI: bus0: Fast back to back transfers disabled
[    0.485115] pci 0000:01:00.0: [168c:0040] type 00 class 0x028000
[    0.485313] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    0.486164] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    0.491164] PCI: bus1: Fast back to back transfers disabled
[    0.491285] pci 0000:00:00.0: BAR 8: assigned [mem 0x08000000-0x081fffff]
[    0.491324] pci 0000:01:00.0: BAR 0: assigned [mem 0x08000000-0x081fffff 64bit]
[    0.491436] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    0.491471] pci 0000:00:00.0:   bridge window [mem 0x08000000-0x081fffff]
[    0.492635] pcieport 0000:00:00.0: AER: enabled with IRQ 47
[    0.494055] qcom-pcie 1b700000.pci: supply vdda not found, using dummy regulator
[    0.494332] qcom-pcie 1b700000.pci: supply vdda_phy not found, using dummy regulator
[    0.494474] qcom-pcie 1b700000.pci: supply vdda_refclk not found, using dummy regulator
[    0.494807] qcom-pcie 1b700000.pci: host bridge /soc/pci@1b700000 ranges:
[    0.494919] qcom-pcie 1b700000.pci:       IO 0x0031e00000..0x0031e0ffff -> 0x0031e00000
[    0.494977] qcom-pcie 1b700000.pci:      MEM 0x002e000000..0x0031dfffff -> 0x002e000000
[    0.616372] qcom-pcie 1b700000.pci: iATU unroll: disabled
[    0.616401] qcom-pcie 1b700000.pci: Detected iATU regions: 8 outbound, 8 inbound
[    0.719180] qcom-pcie 1b700000.pci: Link up
[    0.719370] qcom-pcie 1b700000.pci: PCI host bridge to bus 0001:00
[    0.719398] pci_bus 0001:00: root bus resource [bus 00-ff]
[    0.719431] pci_bus 0001:00: root bus resource [io  0x10000-0x1ffff] (bus address [0x31e00000-0x31e0ffff])
[    0.719460] pci_bus 0001:00: root bus resource [mem 0x2e000000-0x31dfffff]
[    0.719546] pci 0001:00:00.0: [17cb:0101] type 01 class 0x060400
[    0.719703] pci 0001:00:00.0: supports D1
[    0.719727] pci 0001:00:00.0: PME# supported from D0 D1 D3hot
[    0.724668] PCI: bus0: Fast back to back transfers disabled
[    0.725105] pci 0001:01:00.0: [168c:0040] type 00 class 0x028000
[    0.725317] pci 0001:01:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    0.726234] pci 0001:01:00.0: PME# supported from D0 D3hot D3cold
[    0.726540] pci 0001:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0001:00:00.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[    0.731331] PCI: bus1: Fast back to back transfers disabled
[    0.731447] pci 0001:00:00.0: BAR 8: assigned [mem 0x2e000000-0x2e1fffff]
[    0.731485] pci 0001:01:00.0: BAR 0: assigned [mem 0x2e000000-0x2e1fffff 64bit]
[    0.731600] pci 0001:00:00.0: PCI bridge to [bus 01-ff]
[    0.731632] pci 0001:00:00.0:   bridge window [mem 0x2e000000-0x2e1fffff]
[    0.732769] pcieport 0001:00:00.0: AER: enabled with IRQ 49
[    0.737547] krait-cc soc:clock-controller: CPU0 @ 800000 KHz
[    0.737583] krait-cc soc:clock-controller: CPU1 @ PXO rate. Forcing new rate.
[    0.737908] krait-cc soc:clock-controller: CPU1 @ 384000 KHz
[    0.737936] krait-cc soc:clock-controller: L2 @ PXO rate. Forcing new rate.
[    0.738168] krait-cc soc:clock-controller: L2 @ 384000 KHz
[    0.743312] gsbi 16300000.gsbi: GSBI port protocol: 6 crci: 0
[    0.744500] gsbi 1a200000.gsbi: GSBI port protocol: 3 crci: 0
[    0.746398] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.747327] msm_serial 16340000.serial: msm_serial: detected port #0
[    0.747398] msm_serial 16340000.serial: uartclk = 7372800
[    0.747484] 16340000.serial: ttyMSM0 at MMIO 0x16340000 (irq = 50, base_baud = 460800) is a MSM
[    0.747536] msm_serial: console setup on port #0
[    1.668230] printk: console [ttyMSM0] enabled
[    1.673462] msm_serial: driver initialized
[    1.683503] loop: module loaded
[    1.685003] spi_qup 1a280000.spi: IN:block:16, fifo:64, OUT:block:16, fifo:64
[    1.687184] spi-nor spi0.0: s25fl256s1 (32768 Kbytes)
[    1.692893] 15 fixed-partitions partitions found on MTD device spi0.0
[    1.697925] OF: Bad cell count for /soc/gsbi@1a200000/spi@1a280000/flash@0/partitions
[    1.704339] OF: Bad cell count for /soc/gsbi@1a200000/spi@1a280000/flash@0/partitions
[    1.712893] OF: Bad cell count for /soc/gsbi@1a200000/spi@1a280000/flash@0/partitions
[    1.719955] OF: Bad cell count for /soc/gsbi@1a200000/spi@1a280000/flash@0/partitions
[    1.728273] OF: Bad cell count for /soc/gsbi@1a200000/spi@1a280000/flash@0/partitions
[    1.735573] OF: Bad cell count for /soc/gsbi@1a200000/spi@1a280000/flash@0/partitions
[    1.743645] Creating 15 MTD partitions on "spi0.0":
[    1.751087] 0x000000000000-0x000000020000 : "SBL1"
[    1.756510] 0x000000020000-0x000000040000 : "MIBIB"
[    1.761264] 0x000000040000-0x000000080000 : "SBL2"
[    1.766138] 0x000000080000-0x000000100000 : "SBL3"
[    1.770843] 0x000000100000-0x000000110000 : "DDRCONFIG"
[    1.775696] 0x000000110000-0x000000120000 : "SSD"
[    1.780775] 0x000000120000-0x0000001a0000 : "TZ"
[    1.785702] 0x0000001a0000-0x000000220000 : "RPM"
[    1.790293] 0x000000220000-0x0000002a0000 : "APPSBL"
[    1.794970] 0x0000002a0000-0x0000002b0000 : "APPSBLENV"
[    1.799941] 0x0000002b0000-0x0000002e0000 : "PRODUCTDATA"
[    1.805119] 0x0000002e0000-0x000000320000 : "ART"
[    1.810504] 0x000000320000-0x000000360000 : "TP"
[    1.815233] 0x000000360000-0x000000860000 : "TINY"
[    1.819800] 0x000000860000-0x000002000000 : "firmware"
[    1.825537] 2 uimage-fw partitions found on MTD device firmware
[    1.828952] Creating 2 MTD partitions on "firmware":
[    1.834857] 0x000000000000-0x000000329864 : "kernel"
[    1.839973] mtd: partition "kernel" doesn't end on an erase/write block -- force read-only
[    1.845623] 0x000000329864-0x0000017a0000 : "rootfs"
[    1.852995] mtd: partition "rootfs" doesn't start on an erase/write block boundary -- force read-only
[    1.858749] mtd: device 16 (rootfs) set to be root filesystem
[    1.867735] 1 squashfs-split partitions found on MTD device rootfs
[    1.872964] 0x0000010b0000-0x0000017a0000 : "rootfs_data"
[    1.941593] switch0: Atheros AR8337 rev. 2 switch registered on 37000000.mdio-mii
[    2.737223] ar8327: qca,phy-rgmii-en is not specified
[    2.738386] i2c_dev: i2c /dev entries driver
[    2.744803] failed to register cpuidle driver
[    2.745611] qcom-spm-cpuidle qcom-spm-cpuidle: Cannot register for CPU0: -22
[    2.749925] failed to register cpuidle driver
[    2.757072] qcom-spm-cpuidle qcom-spm-cpuidle: Cannot register for CPU1: -22
[    2.761851] sdhci: Secure Digital Host Controller Interface driver
[    2.768435] sdhci: Copyright(c) Pierre Ossman
[    2.774428] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.787140] NET: Registered PF_INET6 protocol family
[    2.788956] Segment Routing with IPv6
[    2.791263] In-situ OAM (IOAM) with IPv6
[    2.794990] NET: Registered PF_PACKET protocol family
[    2.798868] Bridge firewalling registered
[    2.804352] 8021q: 802.1Q VLAN Support v1.8
[    2.807720] Registering SWP/SWPB emulation handler
[    2.843462] thermal thermal_zone0: failed to read out thermal zone (-110)
[    2.913234] Freeing unused kernel image (initmem) memory: 31744K
[    2.943822] Run /init as init process
[    3.547518] init: Console is alive
[    3.547689] init: - watchdog -
[    3.549890] init: Watchdog has previously reset the system
[    3.579989] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.586882] **********************************************************
[    3.586918] * Driver    :NSS GMAC Driver - RTL v(3.72a)
[    3.592303] * Version   :1.0
[    3.597533] * Copyright :Copyright (c) 2013-2018 The Linux Foundation. All rights reserved.
[    3.600553] **********************************************************
[    3.610087] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdeb94000) + GMAC_COREn_CLK_FS(1)(0x3cd8): 0x8
[    3.615381] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdeb94000) + GMAC_COREn_CLK_SRC_CTL(1)(0x3cc0): 0x2
[    3.628058] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdeb94000) + GMAC_COREn_CLK_SRC0_MD(1)(0x3cc4): 0x7f0000
[    3.641169] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdeb94000) + GMAC_COREn_CLK_SRC1_MD(1)(0x3cc8): 0x7f0000
[    3.655042] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdeb94000) + GMAC_COREn_CLK_SRC0_NS(1)(0x3ccc): 0x142
[    3.668661] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdeb94000) + GMAC_COREn_CLK_SRC1_NS(1)(0x3cd0): 0x142
[    3.681969] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdeb94000) + CLK_HALT_NSSFAB0_NSSFAB1_STATEA(0x3c20): 0x5b00
[    3.695310] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdeb94000) + GMAC_COREn_CLK_CTL(1)(0x3cd4): 0x50
[    3.709399] (unnamed net_device) (uninitialized): nss_gmac_dev_init: nss_base(0xdeba0000) + NSS_GMACn_CTL(1)(0x34): 0x90c0c
[    3.722331] (unnamed net_device) (uninitialized): nss_gmac_dev_init: nss_base(0xdeba0000) + NSS_ETH_CLK_DIV0(0xc): 0x100
[    3.733184] (unnamed net_device) (uninitialized): ioremap OK. Size 0x4000. reg_base 0x37200000. mac_base 0x(ptrval).
[    3.744320] (unnamed net_device) (uninitialized): mdio bus '37000000.mdio-mii' OK.
[    3.760702] ipq8064-mdio 37000000.mdio (unnamed net_device) (uninitialized): nss_gmac_ipc_offload_init: enable Rx checksum
[    3.762581] ipq8064-mdio 37000000.mdio eth0: Initialized NSS GMAC1 interface eth0: (base = 0x37200000, irq = 38, PhyId = 4, PollLink = 0)
[    3.773729] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdeb94000) + GMAC_COREn_CLK_FS(2)(0x3cf8): 0x8
[    3.785609] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdeb94000) + GMAC_COREn_CLK_SRC_CTL(2)(0x3ce0): 0x2
[    3.798282] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdeb94000) + GMAC_COREn_CLK_SRC0_MD(2)(0x3ce4): 0x7f0000
[    3.811396] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdeb94000) + GMAC_COREn_CLK_SRC1_MD(2)(0x3ce8): 0x7f0000
[    3.825275] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdeb94000) + GMAC_COREn_CLK_SRC0_NS(2)(0x3cec): 0x142
[    3.838888] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdeb94000) + GMAC_COREn_CLK_SRC1_NS(2)(0x3cf0): 0x142
[    3.852196] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdeb94000) + CLK_HALT_NSSFAB0_NSSFAB1_STATEA(0x3c20): 0x5b00
[    3.865571] (unnamed net_device) (uninitialized): nss_gmac_clk_ctl_dev_init: ctx->clk_ctl_base(0xdeb94000) + GMAC_COREn_CLK_CTL(2)(0x3cf4): 0x50
[    3.879626] (unnamed net_device) (uninitialized): nss_gmac_dev_init: nss_base(0xdeba0000) + NSS_GMACn_CTL(2)(0x38): 0x80c0c
[    3.892564] (unnamed net_device) (uninitialized): nss_gmac_dev_init: nss_base(0xdeba0000) + NSS_ETH_CLK_DIV0(0xc): 0x100
[    3.903400] (unnamed net_device) (uninitialized): nss_gmac_qsgmii_dev_init: QSGMII_PHY_SGMII_1_CTL(0x13c) - 0xc09c408f
[    3.914520] (unnamed net_device) (uninitialized): nss_gmac_qsgmii_dev_init: NSS_QSGMII_CLK_CTL(0x2c) - 0x0
[    3.925016] (unnamed net_device) (uninitialized): SGMII Specific Init for GMAC2 Done!
[    3.934647] (unnamed net_device) (uninitialized): ioremap OK. Size 0x4000. reg_base 0x37400000. mac_base 0x(ptrval).
[    3.942510] (unnamed net_device) (uninitialized): mdio bus '37000000.mdio-mii' OK.
[    3.960511] ipq8064-mdio 37000000.mdio (unnamed net_device) (uninitialized): nss_gmac_ipc_offload_init: enable Rx checksum
[    3.960946] ipq8064-mdio 37000000.mdio eth1: Initialized NSS GMAC2 interface eth1: (base = 0x37400000, irq = 39, PhyId = 0, PollLink = 0)
[    3.984765] nss_init[639]:Init NSS driver
[    3.986766] __nss_hal_common_reset[786]:nss_hal_common_reset Done
[    3.992964] nss_hal_probe[245]:bf0ab3c0: NSS_DEV_ID 36000000.nss
[    3.996961] nss_driver - fw of size 621272  bytes copied to load addr: 40000000, nss_id : 0
[    4.002480] nss_driver - Turbo Support 1
[    4.010077] Supported Frequencies -
[    4.010083] 733Mhz
[    4.014213] 733Mhz
[    4.017697] 733Mhz
[    4.019520]
[    4.023904] nss_hal_probe[265]:bf0ab3c0: Setting NSS0 Firmware load address to 40000000
[    4.025432] nss_hal_probe[297]:0:ctx=bf0ab3c0, vphys=39000000, vmap=debe0000, nphys=36000000, nmap=de80a000
[    4.025453] __nss_hal_init_imem[1202]:bf0ab3c0: IMEM init: head: 0x39000000 end: 0x39010000 tail: 0x39000000
[    4.042962] bf0ab3c0: set sdma c3ce8000
[    4.053047] nss_meminfo_configure_n2h_h2n_rings[558]:bf0ab3c0: N2H ring 0, size 128, addr = 45f00000
[    4.056567] nss_meminfo_configure_n2h_h2n_rings[558]:bf0ab3c0: N2H ring 1, size 128, addr = 45f01040
[    4.065939] nss_meminfo_configure_n2h_h2n_rings[558]:bf0ab3c0: N2H ring 2, size 128, addr = 45f02080
[    4.075073] nss_meminfo_configure_n2h_h2n_rings[573]:bf0ab3c0: H2N ring 0, size 128, addr = 45ce0000
[    4.084188] nss_meminfo_configure_n2h_h2n_rings[573]:bf0ab3c0: H2N ring 1, size 128, addr = 45ce1040
[    4.093229] nss_meminfo_configure_n2h_h2n_rings[573]:bf0ab3c0: H2N ring 2, size 128, addr = 45ce2080
[    4.102396] nss_meminfo_configure_n2h_h2n_rings[573]:bf0ab3c0: H2N ring 3, size 128, addr = 45ce30c0
[    4.111551] nss_meminfo_init_debugfs[711]:nss meminfo user config:
[    4.120640] bf0ab3c0: meminfo init succeed
[    4.126648] (unnamed net_device) (dummy): netif_napi_add() called with weight 64
[    4.131151] nss_hal_probe[359]:0: NSS shaping is enabled
[    4.131272] nss_pptp_register_handler[449]:nss_pptp_register_handler
[    4.138375] nss_pppoe_register_handler[416]:nss_pppoe_register_handler
[    4.149944] nss_wifi_register_handler[186]:nss_wifi_register_handler
[    4.149967] nss_wifili_register_handler[592]:nss_wifili_register_handler
[    4.156388] nss_wifi_ext_vdev_register_handler[335]:nss_wifi_ext_vdev_handler
[    4.162838] nss_wifi_mac_db_register_handler[210]:wifi_mac_db_register_handler
[    4.169502] nss_mirror_register_handler[290]:nss_mirror_register_handler
[    4.176545] nss_hal_probe[691]:0: NSS mirror is enabled
[    4.183675] nss_hal_probe[730]:bf0ab3c0: Reseting NSS core 0 now
[    4.190488] nss_hal_probe[761]:bf0ab3c0: All resources initialized and nss core0 has been brought out of reset
[    4.198757] nss_hal_probe[245]:bf0af300: NSS_DEV_ID 36400000.nss
[    4.212632] nss_driver - fw of size 221444  bytes copied to load addr: 40800000, nss_id : 1
[    4.217879] nss_data_plane_schedule_registration[59]:Register data plane workqueue on core 1
[    4.217904] nss_data_plane_register_to_nss_gmac[182]:Platform don't have gmac0 enabled, don't bring up nss_phys_if and don't register to nss-gmac
[    4.225764] nss_ipv4_log_tx_msg[323]:c306bb18: type[10]:(null)
[    4.225784] nss_ipv6_log_tx_msg[355]:c306bb80: type[10]: (null)
[    4.234490] __nss_data_plane_register[253]:bf0ab3c0: Register data plane failed for gmac:0
[    4.247353] nss_send_ddr_info[605]:bf0ab3c0: send DDR info
[    4.247396] node size 1 # items 2
[    4.253037] __nss_data_plane_register[255]:bf0ab3c0: Register data plan to gmac:1 success
[    4.258909] memory: 0 0 (avl 561225728) items 2 active_cores 2
[    4.267263] __nss_data_plane_register[255]:bf0ab3c0: Register data plan to gmac:2 success
[    4.272664] nss_soc_mem_info[469]:ff8cdab8 addr cells 1
[    4.276091] nss_data_plane_register_to_nss_gmac[182]:Platform don't have gmac3 enabled, don't bring up nss_phys_if and don't register to nss-gmac
[    4.284244] nss_soc_mem_info[472]:ff8cdac8 size cells 1
[    4.289930] __nss_data_plane_register[253]:bf0ab3c0: Register data plane failed for gmac:3
[    4.298240] nss_soc_mem_info[478]:ddbacd40 snode nss fn nss@40000000
[    4.329824] addr/size storage words 1 1 # words 2 in DTS, ddr size 1000000
[    4.336358] bf0ab3c0: nss core 0 booted successfully
[    4.343082] NSS core 0 signal COREDUMP COMPLETE 4000
[    4.348132] nss_fw_coredump_notify[145]:bf0ab3c0: COREDUMP 4000 Baddr de80a000 stat 1
[    4.348147] bf0ab3c0: Starting NSS-FW logbuffer dump for core 0
[    4.360816] bf0ab3c0: Warn: trap[813]: Trap on CHIP ID 00050000
[    4.366531] bf0ab3c0: Warn: trap[620]: Trapped: TRAP_TD(00000004) DCAPT(3C000080)
[    4.372392] bf0ab3c0: Warn: trap[645]: Trapped: Thread: 2, reason: 00001000, PC: 400501A8, previous PC: 40050154
[    4.380089] bf0ab3c0: Warn: trap[594]: A0_3: 3F02FAAC 478E6540 3F02F8AC 40096800
[    4.390336] bf0ab3c0: Warn: trap[594]: A4_7: 40096800 4004E5E0 3F00C0A8 3F00AF30
[    4.397708] bf0ab3c0: Warn: trap[599]: D0_3: 00000000 23FFFFFC FFFFFFFF 00000000
[    4.405081] bf0ab3c0: Warn: trap[599]: D4_7: 00000001 00000000 00000000 00000000
[    4.412411] bf0ab3c0: Warn: trap[599]: D8_11: 00000000 00000000 00000000 00000000
[    4.419858] bf0ab3c0: Warn: trap[599]: D12_15: 00000000 00000000 00000000 00000000
[    4.427230] bf0ab3c0: Warn: trap[649]: Thread_2 has non-recoverable trap
[    4.434699] Kernel panic - not syncing: NSS FW coredump: bringing system down
[    4.441495] CPU1: stopping
[    4.448518] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.15.71 #0
[    4.451126] Hardware name: Generic DT based system
[    4.457295] [<c030e5b4>] (unwind_backtrace) from [<c030a130>] (show_stack+0x14/0x20)
[    4.461896] [<c030a130>] (show_stack) from [<c0641c3c>] (dump_stack_lvl+0x40/0x4c)
[    4.469795] [<c0641c3c>] (dump_stack_lvl) from [<c030cfdc>] (do_handle_IPI+0x144/0x184)
[    4.477173] [<c030cfdc>] (do_handle_IPI) from [<c030d038>] (ipi_handler+0x1c/0x2c)
[    4.485071] [<c030d038>] (ipi_handler) from [<c0379e9c>] (handle_percpu_devid_irq+0x84/0x16c)
[    4.492712] [<c0379e9c>] (handle_percpu_devid_irq) from [<c0373760>] (handle_domain_irq+0x68/0x94)
[    4.501307] [<c0373760>] (handle_domain_irq) from [<c065bd00>] (gic_handle_irq+0x8c/0xb4)
[    4.510160] [<c065bd00>] (gic_handle_irq) from [<c0300b7c>] (__irq_svc+0x5c/0x78)
[    4.518403] Exception stack(0xc306df58 to 0xc306dfa0)
[    4.525868] df40:                                                       000012e4 00000000
[    4.530910] df60: 00000001 c0314800 c306c000 00000001 c2c04f10 c2c04f54 00000000 00000000
[    4.539071] df80: 00000000 c2b836e8 00000000 c306dfa8 c03075ec c03075f0 60000013 ffffffff
[    4.547227] [<c0300b7c>] (__irq_svc) from [<c03075f0>] (arch_cpu_idle+0x44/0x50)
[    4.555383] [<c03075f0>] (arch_cpu_idle) from [<c035139c>] (do_idle+0x240/0x2a4)
[    4.562849] [<c035139c>] (do_idle) from [<c0351724>] (cpu_startup_entry+0x1c/0x20)
[    4.570226] [<c0351724>] (cpu_startup_entry) from [<42301530>] (0x42301530)
[    4.777607] nss_panic_handler[108]:NSS FW dump completed
[    4.777632] Rebooting in 1 seconds..


U-Boot 2012.07 [Standard IPQ806X.LN,local] (Mar 26 2015 - 13:53:09)


1 Like

In continuation of my post and the

my R7800 is currently running with performance governor kernel 5.15. Five days stable run.

I have them mostly on wireless devices, but also on wired ones.

It's been a few days, still "quiet" on 5.15 regarding these messages?

I'm not sure about NSS cores needing a bridge device to exchange packets with the OS, but do any of you guys have IPTV with multicast (IGMP) on your routers? I remember @pattagghiu uses something different than igmpproxy but with similar functionality to get an IPTV stream sent to the IPTV box.

In the case you need something like igmpproxy, do you have igmp_snooping enabled on the bridge devices?

Currently I have two Android 10 Smart TV boxes (manufactured by SDMC for a local ISP) that I use for Internet (IPv4) and TV service. I use one smart TV with Smart TV App installed on it for watching the TV service and I have 5 Smart Phones/Tablets with the same TV App, one PC and a Laptop (both Windows) that use a Web service and/or a dedicated TV Apps from the Microsoft Store.
I don't know what technology they use for IPTV service and if they use multicast (IGMP). I don't think so. Most probably they use OTT.
Actually the TV service looks very similar to the streaming technology used by HBO Max, AppleTV, both of which I do use too.
They are connected to the router and get internal IPs but they do work when bridged to the WAN too.
I have these settings

and I disabled this in the firewall but they still work

I just remember that with the original Netgear firmware (used just for few months for testing) I had to enable
igmpproxy when the bridging and VLAN were used, otherwise the CPU load was very heavy with spikes even to 100% when watching two HD channels and the Internet dropping at that time. Wasn't really healthy at all for the CPU.

Is there a tool, command or utility that can be used to read/monitor the krait NSS CPU load and frequency transitions.

[ 4.372392] bf0ab3c0: Warn: trap[645]: Trapped: Thread: 2, reason: 00001000, PC: 400501A8, previous PC: 40050154

This is the exact core dump I've been getting as well. No clue how to tackle this one. Spoken with @Ansuel about it too. Very hard to decipher NSS FW errors as they're pretty cryptic in how the errors are worded and the little to no documentation.

I had suspected something to do with the memory reservation. Had the same error over 2 years with a discussion I had with @Gram (under Coredump 1). Disabling pstore/ramoops in this instance didn't help.

List of all the crashes trying different techniques to load it.

Core dump 1
crash8.txt:[    6.391559] bf1ade00: Warn: trap[813]: Trap on CHIP ID 00050000
crash8.txt:[    6.391574] bf1ade00: Warn: trap[620]: Trapped: TRAP_TD(00000004) DCAPT(3C000080)
crash8.txt:[    6.391587] bf1ade00: Warn: trap[645]: Trapped: Thread: 2, reason: 00001000, PC: 400501A8, previous PC: 40050154
crash8.txt:[    6.403687] bf1ade00: Warn: trap[594]: A0_3: 3F02FAAC 471AF740 3F02F8AC 40096800
crash8.txt:[    6.403700] bf1ade00: Warn: trap[594]: A4_7: 40096800 4004E5E0 3F00C0A8 3F00AF30
crash8.txt:[    6.403714] bf1ade00: Warn: trap[599]: D0_3: 00000000 27FFFFFC FFFFFFFF 00000000
crash8.txt:[    6.403728] bf1ade00: Warn: trap[599]: D4_7: 00000001 00000000 00000000 00000000
crash8.txt:[    6.403740] bf1ade00: Warn: trap[599]: D8_11: 00000000 00000000 00000000 00000000
crash8.txt:[    6.403753] bf1ade00: Warn: trap[599]: D12_15: 00000000 00000000 00000000 00000000
crash8.txt:[    6.415340] bf1ade00: Warn: trap[649]: Thread_2 has non-recoverable trap
Core dump 2
crash9.txt:[    5.885525] bf1a9e00: Warn: trap[813]: Trap on CHIP ID 00050000
crash9.txt:[    5.891227] bf1a9e00: Warn: trap[620]: Trapped: TRAP_TD(00000004) DCAPT(3C000080)
crash9.txt:[    5.897071] bf1a9e00: Warn: trap[645]: Trapped: Thread: 2, reason: 00001000, PC: 400501A8, previous PC: 40050154
crash9.txt:[    5.904785] bf1a9e00: Warn: trap[594]: A0_3: 3F02FAAC 4722F740 3F02F8AC 40096800
crash9.txt:[    5.904791] bf1a9e00: Warn: trap[594]: A4_7: 40096800 4004E5E0 3F00C0A8 3F00AF30
crash9.txt:[    5.904795] bf1a9e00: Warn: trap[599]: D0_3: 00000000 27FFFFFC FFFFFFFF 00000000
crash9.txt:[    5.904799] bf1a9e00: Warn: trap[599]: D4_7: 00000001 00000000 00000000 00000000
crash9.txt:[    5.904802] bf1a9e00: Warn: trap[599]: D8_11: 00000000 00000000 00000000 00000000
crash9.txt:[    5.922028] bf1a9e00: Warn: trap[599]: D12_15: 00000000 00000000 00000000 00000000
crash9.txt:[    5.936729] bf1a9e00: Warn: trap[649]: Thread_2 has non-recoverable trap
Core dump 3
crash.txt:[    8.009139] bf231100: Warn: trap[813]: Trap on CHIP ID 00050000
crash.txt:[    8.019733] bf231100: Warn: trap[620]: Trapped: TRAP_TD(00000004) DCAPT(3C000080)
crash.txt:[    8.032921] bf231100: Warn: trap[645]: Trapped: Thread: 2, reason: 00001000, PC: 400501A8, previous PC: 40050154
crash.txt:[    8.040291] bf231100: Warn: trap[594]: A0_3: 3F02FAAC 451B7740 3F02F8AC 40096800
crash.txt:[    8.050538] bf231100: Warn: trap[594]: A4_7: 40096800 4004E5E0 3F00C0A8 3F00AF30
crash.txt:[    8.057837] bf231100: Warn: trap[599]: D0_3: 00000000 27FFFFFC FFFFFFFF 00000000
crash.txt:[    8.065284] bf231100: Warn: trap[599]: D4_7: 00000001 00000000 00000000 00000000
crash.txt:[    8.072656] bf231100: Warn: trap[599]: D8_11: 00000000 00000000 00000000 00000000
crash.txt:[    8.080060] bf231100: Warn: trap[599]: D12_15: 00000000 00000000 00000000 00000000
crash.txt:[    8.087352] bf231100: Warn: trap[649]: Thread_2 has non-recoverable trap

if you can catch it on the way down, try to grab the memory around the PC and previous PC -- I'm assuming this is NSS code space.

Be interesting to disassemble that stuff.

also maybe cross check the address regs and the fail PCs to see if they match / are within / close-to areas reserved by the kernel, as logged in the kernel log.

-- could give a hint to who's stepping on NSS, if that's happening.

1 Like

We actually know where in physical memory the firmware is loaded from the logs printed by the qca-nss-drv. The log below shows the 11.2 firmware being loaded:

[ 15.966863] nss_driver - fw of size 544712 bytes copied to load addr: 40000000, nss_id : 0
[ 15.967581] nss_driver - Turbo Support 1
[ 15.974085] Supported Frequencies -
[ 15.974088] 110Mhz
[ 15.978175] 600Mhz
[ 15.981733] 800Mhz
[ 15.983553]
[ 15.987976] 2b3e489f: meminfo init succeed
[ 16.012210] nss_driver - fw of size 218860 bytes copied to load addr: 40800000, nss_id : 1

The NSS core-dumps are likely crashes encountered by the NSS firmware, so it's unlikely for us to do anything about it without the NSS firmware source code.

It would be cool tho. if we could build our own firmware to make use of the two UBI32 cores. Sadly it is beyond my competence to take on such a project.

2 Likes