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

It seems here https://github.com/ACwifidude/openwrt/blob/kernel5.10-nss-qsdk11.0/include/kernel-version.mk actually .87
One time I've got strange bug with versions and I solved it by make clean

Installed latest Build for R7800 https://github.com/ACwifidude/openwrt/blob/kernel5.10-nss-qsdk11.0/bin/targets/ipq806x/generic/R7800-20211226-MasterNSS-sysupgrade.bin for first time,
performance it is awesome compared openwrt general build, I got on iperf3 over WAN 950mbps without cpu usage compared to the normal build!
But unfortunatelly I got random crashes every 6-48h :frowning:
I checked logs even enabled remote logging and nothing relevant on the log in the moment of the crash.
Any idea what i could try?

I had that problem, and it seems that all the problem came from using the promiscuous mode. I have disabled that and everything perfect

How I do that?

I guess this post should help.

If anyone's also wondering what promiscuous mode actually is, Wikipedia as usual offers a good explanation.

What I still don't really understand: Why has the br-lan interface to be in promiscuous mode in the first place?

It is a line that is added to the beginning, if you do not put it in promiscuous mode, you cannot access your servers in lan with your dynamic DNS. from wifi if it works, for example www.tudns.com, and you access your web server, but not from lan, why I don't know.

Thanks, I got v5.10.87 build. Do not know the differ.

Interesting, I just set it up on the startup of openwrt we will see if make everything stable or not.
Thanks :slight_smile:
Nevertheless I don't understand why this is related to the crashes.

EA8500 got issue.
branch openwrt-21.02-nss-qsdk11.0 got bootloop with either sysupgrade from official build or factory from stock firmware
branch openwrt-21.02-nss-qsdk10.0 and kernel5.4-nss-qsdk10.0 could flash and boot successful, but PC couldn't access the router's IP, neither DHCP nor static. And through the serial cable I found error during booting stage:

[   23.250495] blk_update_request: I/O error, dev mtdblock0, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 4 prio class 0
[   23.252115] blk_update_request: I/O error, dev mtdblock0, sector 8 op 0x0:(READ) flags 0x80700 phys_seg 3 prio class 0
[   23.261824] blk_update_request: I/O error, dev mtdblock0, sector 16 op 0x0:(READ) flags 0x80700 phys_seg 2 prio class 0
[   23.272704] blk_update_request: I/O error, dev mtdblock0, sector 24 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[   23.283173] blk_update_request: I/O error, dev mtdblock0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[   23.292315] Buffer I/O error on dev mtdblock0, logical block 0, async page read
[   23.310601] blk_update_request: I/O error, dev mtdblock0, sector 32 op 0x0:(READ) flags 0x80700 phys_seg 8 prio class 0
[   23.311676] blk_update_request: I/O error, dev mtdblock0, sector 40 op 0x0:(READ) flags 0x80700 phys_seg 7 prio class 0
[   23.321714] blk_update_request: I/O error, dev mtdblock0, sector 48 op 0x0:(READ) flags 0x80700 phys_seg 6 prio class 0
[   23.332458] blk_update_request: I/O error, dev mtdblock0, sector 56 op 0x0:(READ) flags 0x80700 phys_seg 5 prio class 0
[   23.343217] blk_update_request: I/O error, dev mtdblock0, sector 64 op 0x0:(READ) flags 0x80700 phys_seg 4 prio class 0
[   23.357077] Buffer I/O error on dev mtdblock0, logical block 1, async page read
[   23.368446] Buffer I/O error on dev mtdblock1, logical block 0, async page read
[   23.379165] Buffer I/O error on dev mtdblock1, logical block 1, async page read
[   23.632210] Buffer I/O error on dev mtdblock2, logical block 0, async page read
[   23.641850] Buffer I/O error on dev mtdblock2, logical block 1, async page read
[   23.647224] Buffer I/O error on dev mtdblock3, logical block 0, async page read
[   23.650937] Buffer I/O error on dev mtdblock3, logical block 0, async page read
[   23.660385] Buffer I/O error on dev mtdblock4, logical block 0, async page read
[   23.672981] Buffer I/O error on dev mtdblock4, logical block 0, async page read

Hi, please try @GloooM build:

You are a live saver dude. I'll try it.
Btw can I build a 21.02 branch in this way?

Hi, if @GloooM build worked on your set, then you have to use the modified es8500 driver (2 files).
I've done this on my ea8500 build, both 510 or 2102 code ok.

His build works well.
But what files do I need to edit?
I just modified the ea8500's dts and delete the gmac section
then the router could boot with new image but can't get IP address through DHCP

qcom-ipq8064-ea8500.dts

and

qcom-ipq8064-eax500.dtsi

Seems is no the solution :frowning:
I got another crash this night. Any Idea?

Just curious, what you exactly mean by "crash"? It is kernel panic and router rebooted by watchdog?
Is serial console still work? Wi-Fi SSID still broadcasting?
Does router respond to ping from WAN?

NSS firmware on r7800 suffer from such crashes. sudden restarts without explanation. I after thousands of tests it seems that disabling the promiscuous I fix those reboots. I used that configuration from the beginning since with firmware nss the internal dynamic DNS stopped working, as you already know, and I never thought it was the cause. I've been on for 12 days without a problem, that was unthinkable for me. it lasted 2 days, 2 hours, 5 min, etc ... nothing is ever logged in the log, even if you send the log to an external computer. Also try, if you use torrent, block UDP traffic on firewall, and use only tcp. it's another thing i did.

1 Like

is exactly the issue I having but as I said even disabling promiscuous is not helping :frowning:
I don't have any type of load, The router is at idle when crashes, some times is happening even when I'm sleeping.
UDP traffic for me it's important as I uses wireguard to connect 2 networks.

@GloooM as @xeonpj said, not expected reboots without any kind of logs.

try not to use it for a few days, to see if it is solved. to disable promiscuous, don't put anything in the startup

OK I will, btw I notice than even disabling HW and SW flow offloading on the firewall page I have same performance(I had enabled both) so i disabled it both now. How do you have them configured?