gSpotx2f / luci-app-cpu-perf

CPU performance information and management for LuCI (OpenWrt webUI)
MIT License
22 stars 9 forks source link

Stability issues and crashes #2

Closed gericho closed 3 months ago

gericho commented 3 months ago

Thank you for your cpu-perf! I have a problem with it BTW, I installed it on a ZTE MF286D with 23.05.2 but I had major stability issues and it crash continuously. Removing it did not remove the problem, so I had to set it to performance with the highest CPU frequency (715Mhz) on all 4 cores, the only way to make it stable.

I also tried to erase all, deleting the NAND and reinstalling from serial/tftp port the initramfs, and then the sysupgrade, but the issue remains.

Is it possible to reset to the default governor values, so will be safe to uninstall it?

Thank you!

gSpotx2f commented 3 months ago

Is it possible to reset to the default governor values, so will be safe to uninstall it?

Yes, sure. Disable (or remove) luci-app-cpu-perf and reboot your router. After rebooting, all CPU settings will return to default values.

gericho commented 3 months ago

The router crashed probably due to a kernel panic when I changed something, so are these parameters applied only temporarily, or are they stored in the kernel? Because I was able to wipe all and put back the iniramfs, but it is still giving kernel panic sometimes:

(IPQ40xx) # bootm $loadaddr
## Booting kernel from FIT Image at 84000000 ...
   Using 'config@ap.dk04.1-c1' configuration
   Trying 'kernel-1' kernel subimage
     Description:  ARM OpenWrt Linux-5.15.137
     Type:         Kernel Image
     Compression:  uncompressed
     Data Start:   0x840000e4
     Data Size:    6612704 Bytes = 6.3 MiB
     Architecture: ARM
     OS:           Linux
     Load Address: 0x80208000
     Entry Point:  0x80208000
     Hash algo:    crc32
     Hash value:   838ffac3
     Hash algo:    sha1
     Hash value:   60f6c9c1abd236156152f3bcda8166857c762330
   Verifying Hash Integrity ... crc32+ sha1+ OK
## Flattened Device Tree from FIT Image at 84000000
   Using 'config@ap.dk04.1-c1' configuration
   Trying 'fdt-1' FDT blob subimage
     Description:  ARM OpenWrt zte_mf286d device tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x8464e8f8
     Data Size:    19105 Bytes = 18.7 KiB
     Architecture: ARM
     Hash algo:    crc32
     Hash value:   40fdc7b4
     Hash algo:    sha1
     Hash value:   1992cbaae5ebb80f2739e73ef7e793d6b34d7033
   Verifying Hash Integrity ... crc32+ sha1+ OK
   Booting using the fdt blob at 0x8464e8f8
   Loading Kernel Image ... OK
OK
   Loading Device Tree to 84ff8000, end 84fffaa0 ... OK
eth0 MAC Address from ART is not valid
eth1 MAC Address from ART is not valid
Using machid 0x8010001 from environment

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.15.137 (builder@buildhost) (arm-openwrt-linux-mus                      lgnueabi-gcc (OpenWrt GCC 12.3.0 r23630-842932a63d) 12.3.0, GNU ld (GNU Binutils                      ) 2.40.0) #0 SMP Tue Nov 14 13:38:11 2023
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructio                      n cache
[    0.000000] OF: fdt: Machine model: ZTE MF286D
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000080000000-0x000000008fffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x0000000087dfffff]
[    0.000000]   node   0: [mem 0x0000000087e00000-0x0000000087ffffff]
[    0.000000]   node   0: [mem 0x0000000088000000-0x000000008fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000008fffffff]
[    0.000000] percpu: Embedded 12 pages/cpu s16588 r8192 d24372 u49152
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64960
[    0.000000] Kernel command line: ubi.mtd=rootfs root=mtd:ubi_rootfs rootfstyp                      e=squashfs rootwait ubi.mtd=rootfs root=mtd:ubi_rootfs rootfstype=squashfs rootw                      ait ubi.mtd=rootfs root=mtd:ubi_rootfs rootfstype=squashfs rootwait root=/dev/ub                      iblock0_1
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, l                      inear)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, lin                      ear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 234912K/262144K available (6746K kernel code, 610K rwdata                      , 1020K rodata, 13312K init, 247K bss, 27232K reserved, 0K cma-reserved, 0K high                      mem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, 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 jif                      fies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] arch_timer: cp15 timer(s) running at 48.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles:                       0xb11fd3bfb, max_idle_ns: 440795203732 ns
[    0.000001] sched_clock: 56 bits at 48MHz, resolution 20ns, wraps every 43980                      46511096ns
[    0.000023] Switching to timer-based delay loop, resolution 20ns
[    0.000326] Calibrating delay loop (skipped), value calculated using timer fr                      equency.. 96.00 BogoMIPS (lpj=480000)
[    0.000353] CPU: Testing write buffer coherency: ok
[    0.000405] pid_max: default: 32768 minimum: 301
[    0.001254] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linea                      r)
[    0.001283] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes,                       linear)
[    0.003230] qcom_scm: convention: smc legacy
[    0.004420] Setting up static identity map for 0x80300000 - 0x8030003c
[    0.004593] rcu: Hierarchical SRCU implementation.
[    0.005175] smp: Bringing up secondary CPUs ...
[    0.008580] smp: Brought up 1 node, 4 CPUs
[    0.008615] SMP: Total of 4 processors activated (384.00 BogoMIPS).
[    0.008631] CPU: All CPU(s) started in SVC mode.
[    0.015288] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7                       rev 5
[    0.015451] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma                      x_idle_ns: 19112604462750000 ns
[    0.015486] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.015846] pinctrl core: initialized pinctrl subsystem
[    0.017871] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.018338] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.019652] thermal_sys: Registered thermal governor 'step_wise'
[    0.020133] cpuidle: using governor ladder
[    0.020195] cpuidle: using governor menu
[    0.049327] cryptd: max_cpu_qlen set to 1000
[    0.053996] usbcore: registered new interface driver usbfs
[    0.054075] usbcore: registered new interface driver hub
[    0.054137] usbcore: registered new device driver usb
[    0.054226] pps_core: LinuxPPS API ver. 1 registered
[    0.054241] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giome                      tti <giometti@linux.it>
[    0.054271] PTP clock support registered
[    0.056520] clocksource: Switched to clocksource arch_sys_counter
[    0.058029] NET: Registered PF_INET protocol family
[    0.058257] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear                      )
[    0.059226] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144                       bytes, linear)
[    0.059282] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes,                       linear)
[    0.059307] TCP established hash table entries: 2048 (order: 1, 8192 bytes, l                      inear)
[    0.059349] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.059404] TCP: Hash tables configured (established 2048 bind 2048)
[    0.059549] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.059595] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.059920] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.059974] PCI: CLS 0 bytes, default 64
[    0.062530] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[    0.068834] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.068870] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORIT                      Y) (c) 2001-2006 Red Hat, Inc.
[    0.202225] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2                      48)
[    0.207177] bam-dma-engine 8e04000.dma: num-channels unspecified in dt
[    0.207212] bam-dma-engine 8e04000.dma: num-ees unspecified in dt
[    0.208760] tcsr 1949000.tcsr: setting wifi_glb_cfg = 41000000
[    0.208874] tcsr 194b000.tcsr: setting usb hs phy mode select = e700e7
[    0.209011] tcsr 1953000.ess_tcsr: setting ess interface select = 0
[    0.209138] tcsr 1957000.tcsr: setting wifi_noc_memtype_m0_m2 = 2222222
[    0.209469] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.211517] msm_serial 78af000.serial: msm_serial: detected port #0
[    0.211572] msm_serial 78af000.serial: uartclk = 1843200
[    0.211629] 78af000.serial: ttyMSM0 at MMIO 0x78af000 (irq = 33, base_baud =                       115200) is a MSM
[    0.211667] msm_serial: console setup on port #0
[    0.774101] printk: console [ttyMSM0] enabled
[    0.779221] msm_serial: driver initialized
[    0.789053] loop: module loaded
[    0.790750] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xf1
[    0.791013] nand: Micron MT29F1G08ABAEAWP
[    0.797669] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB siz                      e: 64
[    0.801640] 12 fixed-partitions partitions found on MTD device qcom_nand.0
[    0.809037] OF: Bad cell count for /soc/nand-controller@79b0000/nand@0/partit                      ions
[    0.815862] OF: Bad cell count for /soc/nand-controller@79b0000/nand@0/partit                      ions
[    0.823860] OF: Bad cell count for /soc/nand-controller@79b0000/nand@0/partit                      ions
[    0.830912] OF: Bad cell count for /soc/nand-controller@79b0000/nand@0/partit                      ions
[    0.838889] Creating 12 MTD partitions on "qcom_nand.0":
[    0.845787] 0x000000000000-0x0000000a0000 : "fota-flag"
[    0.852855] 0x0000000a0000-0x000000120000 : "ART"
[    0.857582] 0x000000120000-0x0000001a0000 : "mac"
[    0.862399] 0x0000001a0000-0x000000260000 : "reserved2"
[    0.867468] 0x000000260000-0x000000660000 : "cfg-param"
[    0.877442] 0x000000660000-0x000000a60000 : "log"
[    0.884307] 0x000000a60000-0x000000b00000 : "oops"
[    0.885904] 0x000000b00000-0x000001000000 : "reserved3"
[    0.896467] 0x000001000000-0x000001800000 : "web"
[    0.909583] 0x000001800000-0x000003500000 : "rootfs"
[    0.955373] mtd: setting mtd9 (rootfs) as root device
[    0.956049] mtdsplit: no squashfs found in "rootfs"
[    0.959470] 0x000003500000-0x000004e00000 : "data"
[    1.003627] 0x000004e00000-0x000008000000 : "fota"
[    1.087858] spi_qup 78b5000.spi: IN:block:16, fifo:64, OUT:block:16, fifo:64
[    1.089497] spi-nor spi0.0: gd25q16 (2048 Kbytes)
[    1.094043] 8 fixed-partitions partitions found on MTD device spi0.0
[    1.098649] Creating 8 MTD partitions on "spi0.0":
[    1.105020] 0x000000000000-0x000000040000 : "0:SBL1"
[    1.110255] 0x000000040000-0x000000060000 : "0:MIBIB"
[    1.115257] 0x000000060000-0x0000000c0000 : "0:QSEE"
[    1.120433] 0x0000000c0000-0x0000000d0000 : "0:CDT"
[    1.125300] 0x0000000d0000-0x0000000e0000 : "0:DDRPARAMS"
[    1.129950] 0x0000000e0000-0x0000000f0000 : "0:APPSBLENV"
[    1.135471] 0x0000000f0000-0x0000001b0000 : "0:APPSBL"
[    1.140986] 0x0000001b0000-0x000000200000 : "0:reserved1"
[    1.259762] i2c_dev: i2c /dev entries driver
[    1.261960] sdhci: Secure Digital Host Controller Interface driver
[    1.263112] sdhci: Copyright(c) Pierre Ossman
[    1.269138] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.277609] NET: Registered PF_INET6 protocol family
[    1.280962] Segment Routing with IPv6
[    1.284266] In-situ OAM (IOAM) with IPv6
[    1.287928] NET: Registered PF_PACKET protocol family
[    1.291821] bridge: filtering via arp/ip/ip6tables is no longer available by                       default. Update your scripts to load br_netfilter if you need this.
[    1.297114] 8021q: 802.1Q VLAN Support v1.8
[    1.309956] Registering SWP/SWPB emulation handler
[    1.344763] qca8k-ipq4019 c000000.switch: configuring for fixed/internal link                       mode
[    1.345093] qca8k-ipq4019 c000000.switch: Link is Up - 1Gbps/Full - flow cont                      rol rx/tx
[    1.429833] qca8k-ipq4019 c000000.switch lan4 (uninitialized): PHY [90000.mdi                      o-1:01] driver [Qualcomm QCA8075] (irq=POLL)
[    1.509729] qca8k-ipq4019 c000000.switch lan3 (uninitialized): PHY [90000.mdi                      o-1:02] driver [Qualcomm QCA8075] (irq=POLL)
[    1.589780] qca8k-ipq4019 c000000.switch lan2 (uninitialized): PHY [90000.mdi                      o-1:03] driver [Qualcomm QCA8075] (irq=POLL)
[    1.671161] qca8k-ipq4019 c000000.switch wan (uninitialized): PHY [90000.mdio                      -1:04] driver [Qualcomm QCA8075] (irq=POLL)
[    1.672111] DSA: tree 0 setup
[    1.681738] ubi0: attaching mtd9
[    1.863504] ubi0: scanning is finished
[    1.863545] ubi0: empty MTD device detected
[    1.886915] ubi0: attached mtd9 (name "rootfs", size 29 MiB)
[    1.886965] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    1.891661] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    1.898379] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    1.905201] ubi0: good PEBs: 232, bad PEBs: 0, corrupted PEBs: 0
[    1.911996] ubi0: user volume: 0, internal volumes: 1, max. volumes count: 12                      8
[    1.918239] ubi0: max/mean erase counter: 0/0, WL threshold: 4096, image sequ                      ence number: 999954581
[    1.925258] ubi0: available PEBs: 208, total reserved PEBs: 24, PEBs reserved                       for bad PEB handling: 20
[    1.934232] ubi: mtd9 is already attached to ubi0
[    1.934233] ubi0: background thread "ubi_bgt0d" started, PID 133
[    1.943595] UBI error: cannot attach mtd9
[    1.943607] ubi: mtd9 is already attached to ubi0
[  ▒[    1.988940] Freeing unused kernel image (initmem) memory: 13312K
[    1.989290] Run /init as init process
[    2.451132] init: Console is alive
[    2.451519] init: - watchdog -
[    2.463151] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    2.835108] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    2.835190] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus nu                      mber 1
[    2.839795] xhci-hcd xhci-hcd.0.auto: hcc params 0x0228f665 hci version 0x100                       quirks 0x0000000002010010
[    2.847202] xhci-hcd xhci-hcd.0.auto: irq 104, io mem 0x08a00000
[    2.856645] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    2.862701] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus nu                      mber 2
[    2.868010] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[    2.876284] hub 1-0:1.0: USB hub found
[    2.882204] hub 1-0:1.0: 1 port detected
[    2.886346] usb usb2: We don't know the algorithms for LPM for this host, dis                      abling LPM.
[    2.893295] hub 2-0:1.0: USB hub found
[    2.898089] hub 2-0:1.0: 1 port detected
[    2.902195] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    2.905678] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus nu                      mber 3
[    2.911253] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f665 hci version 0x100                       quirks 0x0000000002010010
[    2.918594] xhci-hcd xhci-hcd.1.auto: irq 105, io mem 0x06000000
[    2.928058] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    2.934141] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus nu                      mber 4
[    2.939453] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[    2.947756] hub 3-0:1.0: USB hub found
[    2.953615] hub 3-0:1.0: 1 port detected
[    2.957805] usb usb4: We don't know the algorithms for LPM for this host, dis                      abling LPM.
[    2.961995] hub 4-0:1.0: USB hub found
[    2.970791] hub 4-0:1.0: config failed, hub doesn't have any ports! (err -19)
[    2.975363] kmodloader: done loading kernel modules from /etc/modules-boot.d/                      *
[    2.988720] init: - preinit -
[    3.166222] random: jshn: uninitialized urandom read (4 bytes read)
[    3.211698] random: jshn: uninitialized urandom read (4 bytes read)
[    3.239471] random: jshn: uninitialized urandom read (4 bytes read)
[    3.462231] ipqess-edma c080000.ethernet eth0: configuring for fixed/internal                       link mode
[    3.462969] qca8k-ipq4019 c000000.switch lan2: configuring for phy/psgmii lin                      k mode
[    3.469494] ipqess-edma c080000.ethernet eth0: Link is Up - 1Gbps/Full - flow                       control rx/tx
[    4.166790] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
[    4.199566] random: procd: uninitialized urandom read (4 bytes read)
[    4.386017] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    6.506279] procd: - early -
[    6.506552] procd: - watchdog -
[    7.067702] procd: - watchdog -
[    7.068198] procd: - ubus -
[    7.075686] random: ubusd: uninitialized urandom read (4 bytes read)
[    7.120213] random: ubusd: uninitialized urandom read (4 bytes read)
[    7.120618] random: ubusd: uninitialized urandom read (4 bytes read)
[    7.128318] procd: - init -
Please press Enter to activate this console.
[    7.438087] kmodloader: loading kernel modules from /etc/modules.d/*
[    7.447760] Loading modules backported from Linux version v6.1.24-0-g0102425ac76b
[    7.447813] Backport generated by backports.git v5.15.92-1-44-gd6ea70fafd36
[    7.546565] PPP generic driver version 2.4.2
[    7.548357] NET: Registered PF_PPPOX protocol family
[    8.258453] urngd: v1.0.2 started.
[    8.355034] ath10k_ahb a000000.wifi: qca4019 hw1.0 target 0x01000000 chip_id 0x003b00ff sub 0000:0000
[    8.355102] ath10k_ahb a000000.wifi: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[    8.366975] ath10k_ahb a000000.wifi: firmware ver 10.4b-ct-4019-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 6b2b5c5b
[    8.422802] ath10k_ahb a000000.wifi: Loading BDF type 0
[    8.438812] ath10k_ahb a000000.wifi: board_file api 2 bmi_id 0:20 crc32 d140cd7d
[    8.787011] random: crng init done
[    8.787057] random: 29 urandom warning(s) missed due to ratelimiting
[    9.734033] ath10k_ahb a000000.wifi: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
[    9.734100] ath10k_ahb a000000.wifi: msdu-desc: 2500  skid: 32
[    9.782725] ath10k_ahb a000000.wifi: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
[    9.783679] ath10k_ahb a000000.wifi: wmi print 'free: 53252 iram: 13432 sram: 35752'
[    9.923625] ath10k_ahb a000000.wifi: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-nvmem max-sta 32 raw 0 hwcrypto 1
[   10.855651] ath10k_ahb a800000.wifi: qca4019 hw1.0 target 0x01000000 chip_id 0x003b00ff sub 0000:0000
[   10.855718] ath10k_ahb a800000.wifi: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   10.867661] ath10k_ahb a800000.wifi: firmware ver 10.4b-ct-4019-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 6b2b5c5b
[   10.922668] ath10k_ahb a800000.wifi: Loading BDF type 0
[   10.934659] ath10k_ahb a800000.wifi: board_file api 2 bmi_id 0:21 crc32 d140cd7d
[   12.226206] ath10k_ahb a800000.wifi: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
[   12.226279] ath10k_ahb a800000.wifi: msdu-desc: 2500  skid: 32
[   12.273336] ath10k_ahb a800000.wifi: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
[   12.274280] ath10k_ahb a800000.wifi: wmi print 'free: 53252 iram: 13432 sram: 35752'
[   12.409898] ath10k_ahb a800000.wifi: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-nvmem max-sta 32 raw 0 hwcrypto 1
[   12.531256] kmodloader: done loading kernel modules from /etc/modules.d/*
[   12.878879] 8<--- cut here ---
[   12.878944] Unhandled fault: external abort on non-linefetch (0x1008) at 0xc7d49f50
[   12.880876] pgd = 547260c3
[   12.888416] [c7d49f50] *pgd=87c1141e(bad)
[   12.891193] Internal error: : 1008 [#1] SMP ARM
[   12.895277] Modules linked in: pppoe ppp_async nft_fib_inet nf_flow_table_ipv6 nf_flow_table_ipv4 nf_flow_table_inet ath10k_pci ath10k_core ath pppox ppp_generic nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_redir nft_quota nft_objref nft_numgen nft_nat nft_masq nft_log nft_limit nft_hash nft_flow_offload nft_fib_ipv6 nft_fib_ipv4 nft_fib nft_ct nft_counter nft_chain_nat nf_tables nf_nat nf_flow_table nf_conntrack mac80211 cfg80211 slhc nfnetlink nf_reject_ipv6 nf_reject_ipv4 nf_log_syslog nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c hwmon crc_ccitt compat sha512_arm ghash_arm_ce cmac leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_qcom gpio_button_hotplug crc32c_generic
[   12.938151] CPU: 1 PID: 584 Comm: hotplug-call Not tainted 5.15.137 #0
[   12.960385] Hardware name: Generic DT based system
[   12.966980] PC is at 0xc06095a0
[   12.971742] LR is at 0x6ffffffa
[   12.974786] pc : [<c06095a0>]    lr : [<6ffffffa>]    psr: 20000113
[   12.977919] sp : c2ea7e98  ip : 00000001  fp : 00000255
[   12.984166] r10: 00000800  r9 : c30b3ea0  r8 : c0312794
[   12.989376] r7 : cfed1290  r6 : c7c84000  r5 : c7d49000  r4 : 6ffffffb
[   12.994584] r3 : 00000000  r2 : 00000001  r1 : c7d49f50  r0 : c7c84f50
[   13.001176] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[   13.007701] Control: 10c5387d  Table: 830b406a  DAC: 00000051
[   13.014895] Register r0 information: non-slab/vmalloc memory
[   13.020627] Register r1 information: non-slab/vmalloc memory
[   13.026354] Register r2 information: non-paged memory
[   13.031989] Register r3 information: NULL pointer
[   13.036936] Register r4 information: non-paged memory
[   13.041624] Register r5 information: non-slab/vmalloc memory
[   13.046660] Register r6 information: non-slab/vmalloc memory
[   13.052396] Register r7 information: non-slab/vmalloc memory
[   13.058038] Register r8 information: non-slab/vmalloc memory
[   13.063681] Register r9 information: slab vm_area_struct start c30b3ea0 pointer offset 0
[   13.069329] Register r10 information: non-paged memory
[   13.077395] Register r11 information: non-paged memory
[   13.082344] Register r12 information: non-paged memory
[   13.087464] Process hotplug-call (pid: 584, stack limit = 0x7b4534ca)
[   13.092587] Stack: (0xc2ea7e98 to 0xc2ea8000)
[   13.099103] 7e80:                                                       ffffe000 c031280c
[   13.103460] 7ea0: c2ea7f04 cfed1290 cfed2e44 c30b3ea0 c0312794 c0441514 c386ea7c 00000030
[   13.111638] 7ec0: 00300000 c3a93200 87cfe7df c1f691e0 00000001 c30b3ea0 c2ea6000 00000255
[   13.119779] 7ee0: 00000c73 c1876344 00000040 00000800 00000255 c0445d8c 00000000 c0457c34
[   13.127938] 7f00: 80000013 c30b3ea0 01100cca 00000073 b6fbc000 00000255 c30b6db8 c30b6db8
[   13.136099] 7f20: 87d497dd 00000000 cfed2e44 c2b546f0 cfe1a7e4 00000000 c099bab0 c2ea7fb0
[   13.144264] 7f40: b6fbc204 00000817 c3a93200 c30b3ea0 c3a93240 00000800 00000255 c030e168
[   13.152418] 7f60: c030e060 00000817 b6fbc204 c2ea7fb0 c1809a40 10c5387d b6f3552c 000786f4
[   13.160577] 7f80: b6f35cb4 c030e4a8 00000000 00000000 00000000 00000000 00032ef8 60000010
[   13.168738] 7fa0: ffffffff 10c5387d 10c5387d c0300e1c b6fbcac0 b6f3558c 00000000 b6fbc020
[   13.176881] 7fc0: b6fbcac0 00000000 00000000 b6f3558c 00000000 b6f3552c 000786f4 b6f35cb4
[   13.185070] 7fe0: 00000001 be8d4870 b6f8739c 00032ef8 60000010 ffffffff 00000000 00000000
[   13.193220] Code: e8b15018 e8a05018 e8b15018 e8a05018 (e8b15018)
[   13.201362] ---[ end trace 8b811f1fd0baef4b ]---
[   13.207434] Kernel panic - not syncing: Fatal exception
[   13.212118] CPU2: stopping
[   13.217058] CPU: 2 PID: 0 Comm: swapper/2 Tainted: G      D           5.15.137 #0
[   13.219842] Hardware name: Generic DT based system
[   13.227397] Function entered at [<c030d3a8>] from [<c0309784>]
[   13.232079] Function entered at [<c0309784>] from [<c060cd44>]
[   13.237895] Function entered at [<c060cd44>] from [<c030bf40>]
[   13.243712] Function entered at [<c030bf40>] from [<c030bf8c>]
[   13.249525] Function entered at [<c030bf8c>] from [<c03763b4>]
[   13.255344] Function entered at [<c03763b4>] from [<c0370588>]
[   13.261159] Function entered at [<c0370588>] from [<c0625194>]
[   13.266976] Function entered at [<c0625194>] from [<c0300b3c>]
[   13.272791] Exception stack(0xc1c73f58 to 0xc1c73fa0)
[   13.278608] 3f40:                                                       000024ca 00000000
[   13.283737] 3f60: 00000001 c0312e60 00000002 c1804f28 c1c72000 00000000 00000000 ffffe000
[   13.291897] 3f80: 00000000 c1804f5c c18bef40 c1c73fa8 c0306fdc c0306fe0 60000013 ffffffff
[   13.300052] Function entered at [<c0300b3c>] from [<c0306fe0>]
[   13.308207] Function entered at [<c0306fe0>] from [<c0351804>]
[   13.313938] Function entered at [<c0351804>] from [<c0351b68>]
[   13.319751] Function entered at [<c0351b68>] from [<80301510>]
[   13.325570] CPU3: stopping
[   13.331380] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G      D           5.15.137 #0
[   13.334077] Hardware name: Generic DT based system
[   13.341627] Function entered at [<c030d3a8>] from [<c0309784>]
[   13.346313] Function entered at [<c0309784>] from [<c060cd44>]
[   13.352130] Function entered at [<c060cd44>] from [<c030bf40>]
[   13.357945] Function entered at [<c030bf40>] from [<c030bf8c>]
[   13.363761] Function entered at [<c030bf8c>] from [<c03763b4>]
[   13.369578] Function entered at [<c03763b4>] from [<c0370588>]
[   13.375394] Function entered at [<c0370588>] from [<c0625194>]
[   13.381210] Function entered at [<c0625194>] from [<c0300b3c>]
[   13.387025] Exception stack(0xc1c75f58 to 0xc1c75fa0)
[   13.392843] 5f40:                                                       0000453c 00000000
[   13.397973] 5f60: 00000001 c0312e60 00000003 c1804f28 c1c74000 00000000 00000000 ffffe000
[   13.406134] 5f80: 00000000 c1804f5c c18bef40 c1c75fa8 c0306fdc c0306fe0 60000013 ffffffff
[   13.414286] Function entered at [<c0300b3c>] from [<c0306fe0>]
[   13.422442] Function entered at [<c0306fe0>] from [<c0351804>]
[   13.428171] Function entered at [<c0351804>] from [<c0351b68>]
[   13.433987] Function entered at [<c0351b68>] from [<80301510>]
[   13.439804] CPU0: stopping
[   13.445614] CPU: 0 PID: 612 Comm: uhttpd Tainted: G      D           5.15.137 #0
[   13.448313] Hardware name: Generic DT based system
[   13.455864] Function entered at [<c030d3a8>] from [<c0309784>]
[   13.460463] Function entered at [<c0309784>] from [<c060cd44>]
[   13.466279] Function entered at [<c060cd44>] from [<c030bf40>]
[   13.472095] Function entered at [<c030bf40>] from [<c030bf8c>]
[   13.477911] Function entered at [<c030bf8c>] from [<c03763b4>]
[   13.483726] Function entered at [<c03763b4>] from [<c0370588>]
[   13.489542] Function entered at [<c0370588>] from [<c0625194>]
[   13.495358] Function entered at [<c0625194>] from [<c0300e70>]
[   13.501174] Exception stack(0xc315bfb0 to 0xc315bff8)
[   13.506993] bfa0:                                     b6ea483c 0000002f 00000010 befc0fb5
[   13.512124] bfc0: 0000002f befb7638 00000010 b6ea483c 0007216c 00000000 b6ecbc80 b6ea4814
[   13.520280] bfe0: 00077d28 befb7508 0003ecdc b6f1d8c8 a0000010 ffffffff
[   13.528441] Rebooting in 1 seconds..
gSpotx2f commented 3 months ago

so are these parameters applied only temporarily, or are they stored in the kernel?

Of course it's temporary (until reboot). Kernel only stores the parameters it was compiled with. Performance settings are applied when the cpu-perf service starts. If service is disabled (does not start at system startup), then the performance parameters do not change. All service settings are stored in UCI (/etc/config/cpu-perf). Remove luci-app-cpu-perf and reboot the router.

gericho commented 3 months ago

Thank you very much for clarifying this point!