Great, I made a PR to revert to previous FW version.
anyone still having the issue of the need to restore from a backup or redo the setup after a sysupgrade ? strangely ... after a sysupgrade the system comes back but it fails to load the firmware ... once I reboot the router is back to 192.168.1.1 and loading the firmware correctly ... restoring a back all is fine as before the sysupgrade
none of this happens on other devices that I have ... the qnap, ax9000 & ax36000
No idea as I have sysupgraded mine with the preserved config probably 50+ times so far
would you mind to share your output of fw_printenv ? it feels to me has to be something here ...thx in advance
I am just using the default one:
root@Dynalink:~# fw_printenv
baudrate=115200
bootargs=console=ttyMSM0,115200n8
bootdelay=2
eth1addr=a4:97:33:df:ae:af
eth2addr=a4:97:33:df:ae:af
eth3addr=a4:97:33:df:ae:af
eth4addr=a4:97:33:df:ae:af
ethact=eth0
ethaddr=a4:97:33:df:ae:ae
fdt_high=0x4A400000
fdtcontroladdr=4a971480
flash_type=2
ipaddr=192.168.10.10
machid=8850105
mtdids=nand0=nand0
mtdparts=mtdparts=nand0:0x6100000@0x1000000(fs)
netmask=255.255.255.0
serverip=192.168.10.1
soc_version_major=2
soc_version_minor=0
stderr=serial@78B3000
stdin=serial@78B3000
stdout=serial@78B3000
bootcmd=setenv bootargs console=ttyMSM0,115200n8 ubi.mtd=rootfs root=mtd:rootfs rootfstype=squashfs rootwait; ubi part fs; ubi read 0x44000000 kernel; bootm 0x44000000#config@rt5010w-d350-rev0
do you stop wpad service before flashing?
Any idea on how to avoid doing all the process again after every firmware flash?
In both wrx36 and ax3600, on the latest snapshot OpenWrt SNAPSHOT r23298-598e058080 / LuCI Master git-23.118.79121-6fb185f
, I noticed this on the kernel log that I don't remember seeing before:
[ 1.499877] i2c_dev: i2c /dev entries driver
[ 1.501325] thermal_sys: Failed to find 'trips' node
[ 1.503292] thermal_sys: Failed to find trip points for thermal-sensor id=4
[ 1.508245] thermal_sys: Failed to find 'trips' node
[ 1.514867] thermal_sys: Failed to find trip points for thermal-sensor id=5
[ 1.520138] thermal_sys: Failed to find 'trips' node
[ 1.526756] thermal_sys: Failed to find trip points for thermal-sensor id=6
[ 1.532033] thermal_sys: Failed to find 'trips' node
[ 1.538650] thermal_sys: Failed to find trip points for thermal-sensor id=7
[ 1.543937] thermal_sys: Failed to find 'trips' node
[ 1.550530] thermal_sys: Failed to find trip points for thermal-sensor id=8
[ 1.557130] thermal_sys: Failed to find 'trips' node
[ 1.562423] thermal_sys: Failed to find trip points for thermal-sensor id=14
[ 1.567750] thermal_sys: Failed to find 'trips' node
[ 1.574673] thermal_sys: Failed to find trip points for thermal-sensor id=15
[ 1.581636] sdhci: Secure Digital Host Controller Interface driver
I think just adding /etc/init.d/irqbalance-manual
to /etc/sysupgrade.conf
probably does the trick.
yeh i have the same messages ... it seems the dts needs to be updated in result of the 6.1 upgrade or the driver? wild guess though but it is a benign warning message
not really ...what makes you think interrups are messing with thermal?
Kernel started enforcing the bindings for thermal zones, so they must have a trip and we have thermal zones that are missing trips.
It's on the TODO list to add critical trips, but its benign.
I don't think I ever said that. The irqbalance-manual
script has nothing to do with thermal.
I'm trying to balance IRQs across more CPUs as when switching lots of traffic (1 ethernet port maxing out + 5 GHz network at full speed (~1.1 Gbps measured by netperf)), the first CPU where all IRQs are routed by default becomes overloaded and pegged at 100% servicing interrupts.
Hey @robimarko
I make a patch for thermal zone. It works on NBG7815.
https://github.com/asvio/openwrt/commit/d8e2194a2d477e8b91cedc7d705aac92011791ac
Take it if you want and/or modify it to your liking.
I've never done a PR and also I don't think I'll ever do one.
PD: I've made a patch over 0005-xxx patch so you can easily see the changes that I introduce.
The logical thing is to make a 0005-xxxxx-v2 patch. If you want me to do it you just have to say it.
Regards
Thanks, but I already have a PR and have sent a patch upstream to add critical trips on all zones.
I plan to upstream the passive CPU cooling once scaling is upstream
Would you maybe like to also upstream the amended vlan patch I posted here? I've been running it the past days and it works but it's unfortunately quite complicated to email that patch. git send-email with gmail needs an app password which needs 2FA which needs a phone number and Thunderbird needs an addon to not break the formatting etc.
I need to look at the patch and the comments on the original one.
Ping me in 2-3 days in case I forget.
There is a way to use git send-email with gmail without app password but it requires the less secure apps to be enabled and then you can login with email/password combo.
Thunderbird allows sending plain-text emails as well(Which is basically what git send-email does).
I know but you can't enable that anymore since 1 year ago so the only way is app passwords. And according to this, Thunderbird also needs some tweaks.
Just a quick PSA for anyone who was manually assigning IRQ's... the numbers have changed with the move to kernel 6.1. I'll post what I had to update for those that may be interested... this is from my startup script. And the new output is also listed below that.
#assign 4 rx interrupts to each core
echo 1 > /proc/irq/66/smp_affinity
echo 2 > /proc/irq/67/smp_affinity
echo 4 > /proc/irq/68/smp_affinity
echo 8 > /proc/irq/69/smp_affinity
#assign 3 tcl completions to 3 CPUs
echo 1 > /proc/irq/47/smp_affinity
echo 2 > /proc/irq/52/smp_affinity
echo 4 > /proc/irq/55/smp_affinity
root@OpenWrt:~# cat /proc/interrupts
CPU0 CPU1 CPU2 CPU3
9: 0 0 0 0 GIC-0 39 Level arch_mem_timer
13: 214785 54193 48961 79105 GIC-0 20 Level arch_timer
16: 0 0 0 0 GIC-0 239 Level bam_dma
17: 0 0 0 0 GIC-0 270 Level bam_dma
18: 51387 0 0 0 GIC-0 178 Level bam_dma
19: 2 0 0 0 GIC-0 354 Edge smp2p
20: 6 0 0 0 GIC-0 340 Level msm_serial0
22: 0 0 0 0 GIC-0 216 Level 4a9000.thermal-sensor
23: 0 0 0 0 GIC-0 35 Edge wdt_bark
24: 0 0 0 0 GIC-0 357 Edge q6v5 wdog
25: 0 0 0 0 pmic_arb 51380237 Edge pm-adc5
26: 21 0 0 0 GIC-0 47 Edge cpr3
27: 0 0 0 0 smp2p 0 Edge q6v5 fatal
28: 1 0 0 0 smp2p 1 Edge q6v5 ready
29: 0 0 0 0 smp2p 2 Edge q6v5 handover
30: 0 0 0 0 smp2p 3 Edge q6v5 stop
31: 101320 0 0 0 GIC-0 377 Level edma_txcmpl
32: 0 0 0 0 GIC-0 385 Level edma_rxfill
33: 144669 0 0 0 GIC-0 393 Level edma_rxdesc
34: 0 0 0 0 msmgpio 34 Edge keys
35: 0 0 0 0 GIC-0 376 Level edma_misc
36: 0 0 0 0 GIC-0 172 Level xhci-hcd:usb1
37: 64 0 0 0 GIC-0 353 Edge glink-native
38: 5 0 0 0 GIC-0 348 Edge ce0
39: 287408 0 0 0 GIC-0 347 Edge ce1
40: 28541 0 0 0 GIC-0 346 Edge ce2
41: 1185 0 0 0 GIC-0 343 Edge ce3
42: 0 0 0 0 GIC-0 443 Edge ce5
43: 854 0 0 0 GIC-0 72 Edge ce7
44: 0 0 0 0 GIC-0 334 Edge ce9
45: 0 0 0 0 GIC-0 333 Edge ce10
46: 0 0 0 0 GIC-0 69 Edge ce11
47: 60467 0 0 0 GIC-0 189 Edge wbm2host-tx-completions-ring1
48: 0 0 0 0 GIC-0 323 Edge reo2ost-exception
49: 12207 0 0 0 GIC-0 322 Edge wbm2host-rx-release
50: 0 0 0 0 GIC-0 209 Edge rxdma2host-destination-ring-mac1
51: 1 0 0 0 GIC-0 212 Edge host2rxdma-host-buf-ring-mac1
52: 0 1661 0 0 GIC-0 190 Edge wbm2host-tx-completions-ring2
53: 0 0 0 0 GIC-0 211 Edge rxdma2host-destination-ring-mac3
54: 0 0 0 0 GIC-0 235 Edge host2rxdma-host-buf-ring-mac3
55: 0 0 1690 0 GIC-0 191 Edge wbm2host-tx-completions-ring3
56: 0 0 0 0 GIC-0 210 Edge rxdma2host-destination-ring-mac2
57: 0 0 0 0 GIC-0 215 Edge host2rxdma-host-buf-ring-mac2
58: 71 0 0 0 GIC-0 321 Edge reo2host-status
59: 178567 0 0 0 GIC-0 261 Edge ppdu-end-interrupts-mac1
60: 1 0 0 0 GIC-0 255 Edge rxdma2host-monitor-status-ring-mac1
61: 21448 0 0 0 GIC-0 263 Edge ppdu-end-interrupts-mac3
62: 1 0 0 0 GIC-0 260 Edge rxdma2host-monitor-status-ring-mac3
63: 0 0 0 0 msmgpio 63 Edge keys
64: 0 0 0 0 GIC-0 262 Edge ppdu-end-interrupts-mac2
65: 0 0 0 0 GIC-0 256 Edge rxdma2host-monitor-status-ring-mac2
66: 4865 0 0 0 GIC-0 267 Edge reo2host-destination-ring1
67: 0 8991 0 0 GIC-0 268 Edge reo2host-destination-ring2
68: 0 0 4048 0 GIC-0 271 Edge reo2host-destination-ring3
69: 0 0 0 51365 GIC-0 320 Edge reo2host-destination-ring4
IPI0: 1607 2303 2049 2005 Rescheduling interrupts
IPI1: 22010 132672 84289 48486 Function call interrupts
IPI2: 0 0 0 0 CPU stop interrupts
IPI3: 0 0 0 0 CPU stop (for crash dump) interrupts
IPI4: 0 0 0 0 Timer broadcast interrupts
IPI5: 372 386 389 384 IRQ work interrupts
IPI6: 0 0 0 0 CPU wake-up interrupts
Err: 0
4 posts were split to a new topic: What SOC is used in the dynalink AXE10200 (WIFI 6E)