@illumiN8i @th3voic3 I just swapped over to Master 5.10 on an R7800 I manage - and can confirm stubby is NOT available in opkg. Weird.
For anyone interested: stubby is back in Master
Yep I've installed stubby via opkg and I've upgraded the last NSS master to the last kernel (5.10.91) and everything is working
@ACwifidude I loaded 5.10 again on the Zyxel today... just to tinker some more. Question - does Kernel 5.10 do something different to balance the load across the two primary cores -vs- 5.4? When I run the command "cat /proc/interrupts/" - it appears to have a lot more NSS activity on CPU1 versus CPU0 when compared to 5.4 Kernel. Luci Statistics - Processor page shows a lot more balance across the two as well. Global Packet Steering and irqbalance have been enabled on both builds - so no difference there. When I run a wireless speedtest - on 5.4 only CPU0 would load up and show the IRQ spike in luci stats... whereas in 5.10 both will load up. On 5.4 with little-to-no load, I'd see CPU0 hovering between 6-10% and CPU1 around 2-3% constant... whereas on 5.10 I see both hovering in the 3-6% range rather equally.
Here's a log from 5.10. Lines 39 and 41 are the curious ones to me as they only appear to be operating on CPU1 after initial boot.
root@OpenWrt:~# cat /proc/interrupts
CPU0 CPU1
24: 95342 59931 GIC-0 18 Edge gp_timer
26: 6332 7293 GIC-0 51 Edge qcom_rpm_ack
27: 0 0 GIC-0 53 Edge qcom_rpm_err
28: 0 0 GIC-0 54 Edge qcom_rpm_wakeup
38: 0 0 GIC-0 202 Level adm_dma
39: 126989 1174506 GIC-0 245 Level nss
40: 98777 28 GIC-0 264 Level nss_queue1
41: 126140 960701 GIC-0 246 Level nss
42: 0 0 GIC-0 265 Level nss_queue1
43: 8917 154 GIC-0 130 Level bam_dma
44: 0 0 GIC-0 128 Level bam_dma
45: 27618 462 GIC-0 136 Level mmci-pl18x (cmd)
46: 0 0 GIC-0 210 Edge 900000.clock-controller:thermal-sensor@900000
48: 0 0 PCI-MSI 0 Edge aerdrv
50: 0 0 PCI-MSI 134217728 Edge aerdrv
51: 10 0 GIC-0 184 Level msm_serial0
52: 3154405 0 GIC-0 187 Level 1a280000.spi
53: 1 0 msmgpio 53 Edge keys
54: 0 0 msmgpio 54 Edge keys
55: 0 0 msmgpio 65 Edge keys
56: 0 0 GIC-0 142 Level xhci-hcd:usb1
57: 0 0 GIC-0 237 Level xhci-hcd:usb3
58: 314405 0 PCI-MSI 524288 Edge ath10k_pci
59: 127488 0 PCI-MSI 134742016 Edge ath10k_pci
IPI0: 0 0 CPU wakeup interrupts
IPI1: 0 0 Timer broadcast interrupts
IPI2: 2802 2832 Rescheduling interrupts
IPI3: 59725 198283 Function call interrupts
IPI4: 0 0 CPU stop interrupts
IPI5: 48412 27634 IRQ work interrupts
IPI6: 0 0 completion interrupts
Err: 0
Still couldn't pin down the random reboots on 5.10 w/ the Zyxel. Kept doing it today... first one about an hour after initial setup... second about the same... but then it a third after approx 15min... fourth about 35min later. Family got home, so I reverted back to NSS Stable 21.02... otherwise I'd have an unhappy family at me. haha.
For comparison - here's a snap of the interrupts on 5.4. Again - this is with IRQBalance and Packet Steering enabled. Big difference between 5.10 and 5.4.
root@OpenWrt:~# cat /proc/interrupts
CPU0 CPU1
16: 31304 23804 GIC-0 18 Edge gp_timer
18: 3637 0 GIC-0 51 Edge qcom_rpm_ack
19: 0 0 GIC-0 53 Edge qcom_rpm_err
20: 0 0 GIC-0 54 Edge qcom_rpm_wakeup
26: 0 0 GIC-0 210 Edge tsens_interrupt
29: 0 0 GIC-0 202 Level adm_dma
32: 487356 0 GIC-0 245 Level nss
33: 0 57740 GIC-0 264 Level nss_queue1
34: 396357 0 GIC-0 246 Level nss
35: 0 0 GIC-0 265 Level nss_queue1
36: 8354 0 GIC-0 130 Level bam_dma
37: 0 0 GIC-0 128 Level bam_dma
38: 28237 0 GIC-0 136 Level mmci-pl18x (cmd)
40: 0 0 PCI-MSI 0 Edge aerdrv
42: 0 0 PCI-MSI 134217728 Edge aerdrv
43: 12 0 GIC-0 184 Level msm_serial0
44: 259784 0 GIC-0 187 Level 1a280000.spi
45: 1 0 msmgpio 53 Edge keys
46: 2 0 msmgpio 54 Edge keys
47: 2 0 msmgpio 65 Edge keys
48: 0 0 GIC-0 142 Level xhci-hcd:usb1
49: 0 0 GIC-0 237 Level xhci-hcd:usb3
50: 144466 0 PCI-MSI 524288 Edge ath10k_pci
51: 47993 0 PCI-MSI 134742016 Edge ath10k_pci
IPI0: 0 0 CPU wakeup interrupts
IPI1: 0 0 Timer broadcast interrupts
IPI2: 11257 62387 Rescheduling interrupts
IPI3: 2288 5063 Function call interrupts
IPI4: 0 0 CPU stop interrupts
IPI5: 12354 12044 IRQ work interrupts
IPI6: 0 0 completion interrupts
Err: 0
tp link c2600 is rebooting too, 4-5x per day
Just for comparison... here's an R7800 I support as well on your NSS Master 5.10. Interrupts look quite a bit different from the Zyxel's I posted earlier. Very strange. Luci Stats - Processor looks more normal to me on the R7800 too, with more load on CPU0 -vs- CPU1. Wondering if something within the Zyxel is causing affinities to be bugged. Would definitely explain the random reboots. @ACwifidude - any thoughts?
root@OpenWrt:~# cat /proc/interrupts
CPU0 CPU1
24: 59405 43753 GIC-0 18 Edge gp_timer
26: 9912 0 GIC-0 51 Edge qcom_rpm_ack
27: 0 0 GIC-0 53 Edge qcom_rpm_err
28: 0 0 GIC-0 54 Edge qcom_rpm_wakeup
34: 0 0 GIC-0 241 Level ahci[29000000.sata]
39: 782505 78232 GIC-0 202 Level adm_dma
40: 557765 0 GIC-0 245 Level nss
41: 0 27582 GIC-0 264 Level nss_queue1
42: 478622 0 GIC-0 246 Level nss
43: 0 0 GIC-0 265 Level nss_queue1
44: 0 0 GIC-0 130 Level bam_dma
45: 0 0 GIC-0 128 Level bam_dma
46: 0 0 GIC-0 210 Edge 900000.clock-controller:thermal-sensor@900000
48: 0 0 PCI-MSI 0 Edge aerdrv
50: 0 0 PCI-MSI 134217728 Edge aerdrv
51: 15 0 GIC-0 184 Level msm_serial0
52: 0 0 msmgpio 6 Edge keys
53: 0 0 msmgpio 54 Edge keys
54: 0 0 msmgpio 65 Edge keys
55: 0 0 GIC-0 142 Level xhci-hcd:usb1
56: 0 0 GIC-0 237 Level xhci-hcd:usb3
57: 127396 0 PCI-MSI 524288 Edge ath10k_pci
58: 54953 0 PCI-MSI 134742016 Edge ath10k_pci
IPI0: 0 0 CPU wakeup interrupts
IPI1: 0 0 Timer broadcast interrupts
IPI2: 3790 4314 Rescheduling interrupts
IPI3: 33793 61411 Function call interrupts
IPI4: 0 0 CPU stop interrupts
IPI5: 17051 10593 IRQ work interrupts
IPI6: 0 0 completion interrupts
Err: 0
sorry guys, i feel a little bit confused
all these stability issues are for master on 5.10 "in general" or only for some targets?
is R7800 master stable?
Thanks
Interesting. I’ll look in to it more this weekend. R7800 and zyxel have the exact same .dts settings so there must be something else.
@pattagghiu r7800 is working well with 5.10. The rest seem to be having issues. 21.02 is working well across the board.
@ACwifidude If there's anything I can do to assist you - let me know. I may not have the same level as ability as you and others, but I can certainly follow instructions really well!
@pattagghiu NSS 21.02 is rock solid stable on all my devices. NSS Master 5.10 is stable on the R7800 only... struggling (work in progress) on my Zyxel.
ok, i'll try to build a new master 5.10, since i have some problems with 5GHz wifi with my NSS 21.02..
Thanks
Out of curiosity - what kind of issues are you having?
basically, i found out that my router is no longer able to take up the 5GHz bandwidth at all and if i try to take it up manually, the router reboots.
i haven't looked very deeply into this, but i assume it's a problem of the specific build since i used for ages the 5GHz band with the very same setup (and i'm using plain old ath10k drivers and firmware)
That's what i see, i have no error in kernel log (i know, i'd have to look at the system log..)
Hello,
the stable version works fine. Does the acceleration really works on 5.10 - kernel5.10-nss-qsdk11.0? I see the connections with ecm_dump, but they are not accelerated on my r7800. With throughput I have high load and with tcpdump I see the packets. With 5.4 all is fine.
Bye
Celle
I'll take a peek next time I'm around one of the R7800's. I thought it was, but I'll admit I didn't do as much investigating into that... my focus was on stability for the user. I agree with you though - for sure 5.4 does and works perfectly.
After flashing a build a second reboot is needed on some setups, this has to do with the cal data extraction at first boot after flash. From the second boot on 5G should work.
wow a reply from kong himself
Thanks for the try, but my actual build is some months old and i restarted the router much more than 2 times
What output do you get with:
dmesg | grep ath
On my end R7800 with stable NSS image is not working fine, random reboots every 1-2days also WIfi is not stable, Tried to play with ath10k and the CT bot same, as soon I come back to non NSS openwrt, all works rock solid but of course I just can get 300mbps of download speed saturating the router CPU
It's a pitty I can not use NSS build but stability > speed
@segator , have you tried the new builds (10 jan)? I had reboot problem, and it seems to be gone after last upgrade. (2.5 days for now, 5.10 master) They are strange because there is no log output before them.
I also replaced my power supply recently to 5A / 12V, maybe it was it.
To be sure I need to try it for week or longer, but current results provide some hope. It can also be hardware problem, because i bought my device(R7800) used.