IPQ806x NSS Drivers

Ramoops is a linux kernel functionality since 2011 and designed for that particular purpose. It just seem it is not widely discussed in the forum.

My hunt for crash logs with the ramoops started after last Thursday router restart during the MS Teams conference call with customer (luckily was not presenting at the time) and my remote syslog server did not capture any related logs.

Basically you need to activate pstore/ramoops in the kernel using kernel_menuconfig or modifying dts file. As I've no knowledge of dts modifications, I modified kernel parameters (make kernel_menuconfig).

  1. Activate pstore with ramoops as backend (File systems --> Miscellaneous filesystems --> Persistent store support (x) --> Log panic/oops to a RAM buffer (x))
<*>   Persistent store support
<*>     Log panic/oops to a RAM buffer
  1. Define kernel cmdline parameters for ramoops (Boot options --> Default kernel command string)
mem=400M ramoops.mem_address=0x5BFFFFFF ramoops.mem_size=0x2C000 ramoops.record_size=0x4000
  1. After a crash you need to mount pstore to check if any logs captured. I've added below to /etc/fstab for easy mount after.
root@R7800:~# cat /etc/fstab 
# <file system> <mount point> <type> <options> <dump> <pass>
pstore /sys/fs/pstore pstore default 0 0

Obviously messing with kernel_menuconfig parameters may at least softbrick your device so a working factory image + backup is highly recommended.

I have now 3d uptime with above parameters so it is not causing at least any severe issues by itself.

Take note on the other observations/considerations in the above discussions with qosmio.

2 Likes

Thank you for sharing. I'll have to try it out.
In the mean time it seems that a simple daily reboot will have to do :slight_smile:

What about this Bug can this releated to the Random Reboots with the R7800 ?

The Workaround is to set the CPU governor to Performance.

I've been testing the latest availble code from Ansuals github. both original and rebased on top of the latest master.
I use the R7800 as a repeater where it is a client of my main workhorsee (Linksys WRT1900AC-V2)
it's connected via a dedicated SSID on 5GHZ. same radio has a second SSID that is identical to the one on the Linksys and thus i have the same SSID all around the house.
What i experience is that with the NSS offloading drivers enabled, wifi starts to stutter and speeds eventually drop to zero after about half a day. this happens when the client is on the linksys as well as on the R7800. First few minutes after connecting are ok, but after a few minutes the connections just slows and dies eventually.
An older Iphone 7 we have seems to suffer worse from it than the most recent Iphone, and the Laptop i have with an Intel AC chipset seems to be less effected, but eventually all show it.

Might anyone have a clue how to fix or tweak this. It might even be a bug in the linksys, that is triggered by some behavior of the NSS stack. no idea.

I'm not quite sure, if in your use case (AP repeater) NSS acceleration is actually involved.
But to make sure, you can disable the option "Enable NSS support for IPQ platform" (under kmod-mac80211) and give it a try.
Another possibility would be the debug mode of hostapd (https://openwrt.org/docs/guide-developer/debugging#wireless, loglevel)
Maybe there is something useful in the log.

Ansuel's changes accelerate wifi as well. I don't really need the acceleration, but i just wanted to test the code to be able to give some more feedback :slight_smile:

Anyone know if the port forwarding issue is still there? Do any of you have port forwards from wan to internal ip's active and working?

I never had any port forward issues. I can access my router from wan through Wireguard and I can also access several internal cameras without any problem.

I never had any issues accessing devices either. I used the forward rule for a little while but didn’t notice a difference. I’m no longer using any custom firewall config.

Installed the latest from @ACwifidude this morning.
I did not wipe the config and had a lot of issues trying to use previously generated configs. At one point I lost all ipv4 connectivity. I reset it and started over and am now back up with a proper config for this build.

I have attFiber and the speed test is 920/930 or thereabouts, so the same as ddwrt with a recent build.

The only thing I have issues with is the ddns script. I use duckdns. The ipv4 works fine, but the ipv6 does not. The error in the log is:

 125002       : verbose mode  : 0 - run normal, NO console output
 125002       : check interval: 600 seconds
 125002       : force interval: 4320 seconds
 125002       : retry interval: 60 seconds
 125002       : retry counter : 0 times
 125002       : No old process
 125003       : last update: never
 125003       : Detect registered/public IP
 125003       : #> /usr/bin/drill -V0 -u name.duckdns.org AAAA >/var/run/ddns/duckdns_v6.dat 2>/var/run/ddns/duckdns_v6.err
 125003       : Registered IP 'XXXX' detected
 125003  info : Starting main loop at 2020-11-01 12:50
 125003       : Detect local IP on 'network'
 125003       : Local IP 'XXXX' detected on network 'wan6'
 125003       : Update needed - L: 'XXXX' <> R: 'XXXX'
 125003       : Force communication via IP 'XXXX'
 125003       : #> /usr/bin/wget-ssl --hsts-file=/tmp/.wget-hsts -nv -t 1 -O /var/run/ddns/duckdns_v6.dat -o /var/run/ddns/duckdns_v6.err --bind-address=XXXX --no-proxy 'http://www.duckdns.org/update?domains=name&token=***PW***&ipv6=XXXX'
 125003 ERROR : GNU Wget Error: '4'
 125003       : failed: Address family not supported by protocol.
failed: Address family not supported by protocol.
 125003  WARN : Transfer failed - retry 1/0 in 60 seconds

Do I read this wrong? Does wget not understand ipv6?

I don’t use ddns so you might be missing some of the packages. :grin:

These should be the missing packages:


opkg update
opkg install ddns-scripts wget curl luci-app-ddns

not related to this... it's a problem of ddns so pls report on github

@Ansuel Got it. @ACwifidude the ipv4 works just fine, it is the ipv6 which doe snot. All the packages are installed.

This build is blazing fast. Even the WiFi is faster. Will monitor to see how the stability is, but everything seems to be OK so far with the exception of ddns. It is strange because it worked on either Kong's or Hnyman's build. No biggie as all I really need is the ipv4 anyway, which works fine.

The NSS hardware offloading is awesome - glad you like it. NSS offloading is definitely the way to go for the r7800. OEM-like speed with the advantages of OpenWRT firmware. :sunglasses:

It has been just as stable as master for me.

1 Like

I was cleaning up some logs and found this in the remote kernel log for my R7800
Seems to be work queue related, but I'm not an expert.
@Ansuel does this mean anything to you ?

Oct 23 14:29:31 owrt kernel: [81044.009804] ------------[ cut here ]------------
Oct 23 14:29:31 owrt kernel: [81044.009862] WARNING: CPU: 1 PID: 5176 at net/netfilter/nf_conntrack_rtcache.c:197 nf_rtcache_forward4+0x16c/0x1cc [nf_conntrack_rtcache]
Oct 23 14:29:31 owrt kernel: [81044.013493] Modules linked in: ecm pppoe ppp_async ath10k_pci ath10k_core ath pppox ppp_generic nf_conntrack_netlink mac80211 ipt_REJECT cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_quota xt_policy xt_pkttype xt_physdev xt_owner xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_esp xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_addrtype xt_TCPMSS xt_REDIRECT xt_MASQUERADE xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY slhc sch_cake nfnetlink nf_reject_ipv4 nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_conntrack_rtcache nf_conncount iptable_raw iptable_nat iptable_mangle iptable_filter ipt_ah ipt_ECN ip_tables exfat crc_ccitt compat fuse sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex cls_route cls_matchall cls_fw cls_flow cls_basic act_skbedit act_mirred qca_nss_qdisc ledtrig_usbport ledtrig_heartbeat ip6table_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6t_NPT nf_log_ipv6
Oct 23 14:29:31 owrt kernel: [81044.013640]  nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 msdos ifb ip6_vti ip_vti sit qca_nss_drv ipcomp6 xfrm6_tunnel esp6 ah6 xfrm4_tunnel ipcomp esp4 ah4 ip6_tunnel qca_nss_gmac tunnel6 tunnel4 ip_tunnel xfrm_user xfrm_ipcomp af_key xfrm_algo vfat fat hfsplus cifs nls_utf8 nls_iso8859_15 nls_iso8859_1 nls_cp850 nls_cp437 nls_cp1250 sha1_generic md5 md4 echainiv ecb des_generic libdes cbc authenc arc4 usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_qcom ohci_platform ohci_hcd phy_qcom_ipq806x_usb ahci fsl_mph_dr_of ehci_platform ehci_fsl sd_mod ahci_platform libahci_platform libahci libata scsi_mod ehci_hcd gpio_button_hotplug ext4 mbcache jbd2 crc32c_generic
Oct 23 14:29:31 owrt kernel: [81044.154955] CPU: 1 PID: 5176 Comm: kworker/1:1 Not tainted 5.4.72 #0
Oct 23 14:29:31 owrt kernel: [81044.177113] Hardware name: Generic DT based system
Oct 23 14:29:31 owrt kernel: [81044.183684] Workqueue: events_power_efficient gc_worker [nf_conntrack]
Oct 23 14:29:31 owrt kernel: [81044.188241] [<c030f974>] (unwind_backtrace) from [<c030b984>] (show_stack+0x14/0x20)
Oct 23 14:29:31 owrt kernel: [81044.194753] [<c030b984>] (show_stack) from [<c08e22e0>] (dump_stack+0x94/0xa8)
Oct 23 14:29:31 owrt kernel: [81044.202653] [<c08e22e0>] (dump_stack) from [<c031e780>] (__warn+0xb4/0xd0)
Oct 23 14:29:31 owrt kernel: [81044.209675] [<c031e780>] (__warn) from [<c031e7ec>] (warn_slowpath_fmt+0x50/0x90)
Oct 23 14:29:31 owrt kernel: [81044.216545] [<c031e7ec>] (warn_slowpath_fmt) from [<bf4fa254>] (nf_rtcache_forward4+0x16c/0x1cc [nf_conntrack_rtcache])
Oct 23 14:29:31 owrt kernel: [81044.224150] [<bf4fa254>] (nf_rtcache_forward4 [nf_conntrack_rtcache]) from [<c07df27c>] (nf_hook_slow+0x48/0xdc)
Oct 23 14:29:31 owrt kernel: [81044.234683] [<c07df27c>] (nf_hook_slow) from [<c08d173c>] (br_nf_forward_ip+0x31c/0x414)
Oct 23 14:29:31 owrt kernel: [81044.245092] [<c08d173c>] (br_nf_forward_ip) from [<c07df27c>] (nf_hook_slow+0x48/0xdc)
Oct 23 14:29:31 owrt kernel: [81044.253169] [<c07df27c>] (nf_hook_slow) from [<c08b9590>] (__br_forward+0xa0/0x12c)
Oct 23 14:29:31 owrt kernel: [81044.260889] [<c08b9590>] (__br_forward) from [<c08b9658>] (deliver_clone+0x3c/0x64)
Oct 23 14:29:31 owrt kernel: [81044.268443] [<c08b9658>] (deliver_clone) from [<c08b9884>] (maybe_deliver+0xc4/0xf0)
Oct 23 14:29:31 owrt kernel: [81044.276079] [<c08b9884>] (maybe_deliver) from [<c08b9960>] (br_flood+0xb0/0x16c)
Oct 23 14:29:31 owrt kernel: [81044.284067] [<c08b9960>] (br_flood) from [<c08bb700>] (br_handle_frame_finish+0x374/0x48c)
Oct 23 14:29:31 owrt kernel: [81044.291446] [<c08bb700>] (br_handle_frame_finish) from [<c08d1014>] (br_nf_hook_thresh+0xdc/0xf0)
Oct 23 14:29:31 owrt kernel: [81044.299518] [<c08d1014>] (br_nf_hook_thresh) from [<c08d196c>] (br_nf_pre_routing_finish+0x138/0x344)
Oct 23 14:29:31 owrt kernel: [81044.308461] [<c08d196c>] (br_nf_pre_routing_finish) from [<c08d1fd0>] (br_nf_pre_routing+0x458/0x478)
Oct 23 14:29:31 owrt kernel: [81044.317666] [<c08d1fd0>] (br_nf_pre_routing) from [<c08bb998>] (br_handle_frame+0x180/0x3d0)
Oct 23 14:29:31 owrt kernel: [81044.326873] [<c08bb998>] (br_handle_frame) from [<c077f130>] (__netif_receive_skb_core+0x240/0xb90)
Oct 23 14:29:31 owrt kernel: [81044.335372] [<c077f130>] (__netif_receive_skb_core) from [<c077fe80>] (__netif_receive_skb_list_core+0xe4/0x208)
Oct 23 14:29:31 owrt kernel: [81044.344136] [<c077fe80>] (__netif_receive_skb_list_core) from [<c0780170>] (netif_receive_skb_list_internal+0x1cc/0x2bc)
Oct 23 14:29:31 owrt kernel: [81044.354556] [<c0780170>] (netif_receive_skb_list_internal) from [<c0780290>] (gro_normal_list.part.42+0x1c/0x3c)
Oct 23 14:29:31 owrt kernel: [81044.365407] [<c0780290>] (gro_normal_list.part.42) from [<c0780f34>] (napi_complete_done+0x160/0x1d0)
Oct 23 14:29:31 owrt kernel: [81044.375688] [<c0780f34>] (napi_complete_done) from [<bf3470d0>] (nss_core_handle_napi+0x1f4/0x248 [qca_nss_drv])
Oct 23 14:29:31 owrt kernel: [81044.384781] [<bf3470d0>] (nss_core_handle_napi [qca_nss_drv]) from [<c0780fd8>] (__napi_poll+0x34/0x120)
Oct 23 14:29:31 owrt kernel: [81044.394918] [<c0780fd8>] (__napi_poll) from [<c078127c>] (net_rx_action+0x108/0x2a0)
Oct 23 14:29:31 owrt kernel: [81044.404380] [<c078127c>] (net_rx_action) from [<c0302298>] (__do_softirq+0x130/0x2d4)
Oct 23 14:29:31 owrt kernel: [81044.412107] [<c0302298>] (__do_softirq) from [<c0322b54>] (irq_exit+0xbc/0xe0)
Oct 23 14:29:31 owrt kernel: [81044.419830] [<c0322b54>] (irq_exit) from [<c036f2e0>] (__handle_domain_irq+0x6c/0xd0)
Oct 23 14:29:31 owrt kernel: [81044.426950] [<c036f2e0>] (__handle_domain_irq) from [<c05d2bd0>] (gic_handle_irq+0x5c/0xb8)
Oct 23 14:29:31 owrt kernel: [81044.434849] [<c05d2bd0>] (gic_handle_irq) from [<c0301a8c>] (__irq_svc+0x6c/0x90)
Oct 23 14:29:31 owrt kernel: [81044.443002] Exception stack(0xd6445df8 to 0xd6445e40)
Oct 23 14:29:31 owrt kernel: [81044.450642] 5de0:                                                       d96d4d80 00000000
Oct 23 14:29:31 owrt kernel: [81044.455690] 5e00: ffffffe0 00000000 d96d4d80 d6445e94 d96fc200 00000000 c0c2a200 00000002
Oct 23 14:29:31 owrt kernel: [81044.463848] 5e20: 00000102 00000003 d4cac720 d6445e48 c0763f14 bf72cda4 60000013 ffffffff
Oct 23 14:29:31 owrt kernel: [81044.472012] [<c0301a8c>] (__irq_svc) from [<bf72cda4>] (ctnetlink_conntrack_event+0xfc/0x484 [nf_conntrack_netlink])
Oct 23 14:29:31 owrt kernel: [81044.480257] [<bf72cda4>] (ctnetlink_conntrack_event [nf_conntrack_netlink]) from [<bf40dcb4>] (nf_conntrack_eventmask_report+0xc0/0x18c [nf_conntrack])
Oct 23 14:29:31 owrt kernel: [81044.490816] [<bf40dcb4>] (nf_conntrack_eventmask_report [nf_conntrack]) from [<bf403500>] (nf_ct_delete+0x5c/0x14c [nf_conntrack])
Oct 23 14:29:31 owrt kernel: [81044.504076] [<bf403500>] (nf_ct_delete [nf_conntrack]) from [<bf403758>] (nf_ct_kill_acct+0x168/0x19c [nf_conntrack])
Oct 23 14:29:31 owrt kernel: [81044.515883] [<bf403758>] (nf_ct_kill_acct [nf_conntrack]) from [<bf40474c>] (gc_worker+0x298/0x31c [nf_conntrack])
Oct 23 14:29:31 owrt kernel: [81044.526548] [<bf40474c>] (gc_worker [nf_conntrack]) from [<c033782c>] (process_one_work+0x234/0x4a0)
Oct 23 14:29:31 owrt kernel: [81044.536760] [<c033782c>] (process_one_work) from [<c0337aec>] (worker_thread+0x54/0x604)
Oct 23 14:29:31 owrt kernel: [81044.546049] [<c0337aec>] (worker_thread) from [<c033da90>] (kthread+0x160/0x164)
Oct 23 14:29:31 owrt kernel: [81044.554119] [<c033da90>] (kthread) from [<c03010e8>] (ret_from_fork+0x14/0x2c)
Oct 23 14:29:31 owrt kernel: [81044.561488] Exception stack(0xd6445fb0 to 0xd6445ff8)
Oct 23 14:29:31 owrt kernel: [81044.568528] 5fa0:                                     00000000 00000000 00000000 00000000
Oct 23 14:29:31 owrt kernel: [81044.573657] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Oct 23 14:29:31 owrt kernel: [81044.581812] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000
Oct 23 14:29:31 owrt kernel: [81044.590053] ---[ end trace 6ff10a8950f670dc ]---




Oct 23 14:29:31 owrt kernel: [81044.596416] ------------[ cut here ]------------
Oct 23 14:29:31 owrt kernel: [81044.601329] WARNING: CPU: 1 PID: 5176 at net/netfilter/nf_conntrack_rtcache.c:197 nf_rtcache_forward4+0x16c/0x1cc [nf_conntrack_rtcache]
Oct 23 14:29:31 owrt kernel: [81044.605854] Modules linked in: ecm pppoe ppp_async ath10k_pci ath10k_core ath pppox ppp_generic nf_conntrack_netlink mac80211 ipt_REJECT cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_quota xt_policy xt_pkttype xt_physdev xt_owner xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_esp xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_addrtype xt_TCPMSS xt_REDIRECT xt_MASQUERADE xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY slhc sch_cake nfnetlink nf_reject_ipv4 nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_conntrack_rtcache nf_conncount iptable_raw iptable_nat iptable_mangle iptable_filter ipt_ah ipt_ECN ip_tables exfat crc_ccitt compat fuse sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex cls_route cls_matchall cls_fw cls_flow cls_basic act_skbedit act_mirred qca_nss_qdisc ledtrig_usbport ledtrig_heartbeat ip6table_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6t_NPT nf_log_ipv6
Oct 23 14:29:31 owrt kernel: [81044.605999]  nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 msdos ifb ip6_vti ip_vti sit qca_nss_drv ipcomp6 xfrm6_tunnel esp6 ah6 xfrm4_tunnel ipcomp esp4 ah4 ip6_tunnel qca_nss_gmac tunnel6 tunnel4 ip_tunnel xfrm_user xfrm_ipcomp af_key xfrm_algo vfat fat hfsplus cifs nls_utf8 nls_iso8859_15 nls_iso8859_1 nls_cp850 nls_cp437 nls_cp1250 sha1_generic md5 md4 echainiv ecb des_generic libdes cbc authenc arc4 usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_qcom ohci_platform ohci_hcd phy_qcom_ipq806x_usb ahci fsl_mph_dr_of ehci_platform ehci_fsl sd_mod ahci_platform libahci_platform libahci libata scsi_mod ehci_hcd gpio_button_hotplug ext4 mbcache jbd2 crc32c_generic
Oct 23 14:29:32 owrt kernel: [81044.747327] CPU: 1 PID: 5176 Comm: kworker/1:1 Tainted: G        W         5.4.72 #0
Oct 23 14:29:32 owrt kernel: [81044.769478] Hardware name: Generic DT based system
Oct 23 14:29:32 owrt kernel: [81044.777431] Workqueue: events_power_efficient gc_worker [nf_conntrack]
Oct 23 14:29:32 owrt kernel: [81044.781990] [<c030f974>] (unwind_backtrace) from [<c030b984>] (show_stack+0x14/0x20)
Oct 23 14:29:32 owrt kernel: [81044.788498] [<c030b984>] (show_stack) from [<c08e22e0>] (dump_stack+0x94/0xa8)
Oct 23 14:29:32 owrt kernel: [81044.796398] [<c08e22e0>] (dump_stack) from [<c031e780>] (__warn+0xb4/0xd0)
Oct 23 14:29:32 owrt kernel: [81044.803422] [<c031e780>] (__warn) from [<c031e7ec>] (warn_slowpath_fmt+0x50/0x90)
Oct 23 14:29:32 owrt kernel: [81044.810289] [<c031e7ec>] (warn_slowpath_fmt) from [<bf4fa254>] (nf_rtcache_forward4+0x16c/0x1cc [nf_conntrack_rtcache])
Oct 23 14:29:32 owrt kernel: [81044.817853] [<bf4fa254>] (nf_rtcache_forward4 [nf_conntrack_rtcache]) from [<c07df27c>] (nf_hook_slow+0x48/0xdc)
Oct 23 14:29:32 owrt kernel: [81044.828430] [<c07df27c>] (nf_hook_slow) from [<c08d173c>] (br_nf_forward_ip+0x31c/0x414)
Oct 23 14:29:32 owrt kernel: [81044.838839] [<c08d173c>] (br_nf_forward_ip) from [<c07df27c>] (nf_hook_slow+0x48/0xdc)
Oct 23 14:29:32 owrt kernel: [81044.846915] [<c07df27c>] (nf_hook_slow) from [<c08b9590>] (__br_forward+0xa0/0x12c)
Oct 23 14:29:32 owrt kernel: [81044.854637] [<c08b9590>] (__br_forward) from [<c08b9658>] (deliver_clone+0x3c/0x64)
Oct 23 14:29:32 owrt kernel: [81044.862191] [<c08b9658>] (deliver_clone) from [<c08bb700>] (br_handle_frame_finish+0x374/0x48c)
Oct 23 14:29:32 owrt kernel: [81044.869831] [<c08bb700>] (br_handle_frame_finish) from [<c08d1014>] (br_nf_hook_thresh+0xdc/0xf0)
Oct 23 14:29:32 owrt kernel: [81044.878510] [<c08d1014>] (br_nf_hook_thresh) from [<c08d196c>] (br_nf_pre_routing_finish+0x138/0x344)
Oct 23 14:29:32 owrt kernel: [81044.887539] [<c08d196c>] (br_nf_pre_routing_finish) from [<c08d1fd0>] (br_nf_pre_routing+0x458/0x478)
Oct 23 14:29:32 owrt kernel: [81044.896740] [<c08d1fd0>] (br_nf_pre_routing) from [<c08bb998>] (br_handle_frame+0x180/0x3d0)
Oct 23 14:29:32 owrt kernel: [81044.905950] [<c08bb998>] (br_handle_frame) from [<c077f130>] (__netif_receive_skb_core+0x240/0xb90)
Oct 23 14:29:32 owrt kernel: [81044.914449] [<c077f130>] (__netif_receive_skb_core) from [<c077fe80>] (__netif_receive_skb_list_core+0xe4/0x208)
Oct 23 14:29:32 owrt kernel: [81044.923216] [<c077fe80>] (__netif_receive_skb_list_core) from [<c0780170>] (netif_receive_skb_list_internal+0x1cc/0x2bc)
Oct 23 14:29:32 owrt kernel: [81044.933633] [<c0780170>] (netif_receive_skb_list_internal) from [<c0780290>] (gro_normal_list.part.42+0x1c/0x3c)
Oct 23 14:29:32 owrt kernel: [81044.944483] [<c0780290>] (gro_normal_list.part.42) from [<c0780f34>] (napi_complete_done+0x160/0x1d0)
Oct 23 14:29:32 owrt kernel: [81044.954764] [<c0780f34>] (napi_complete_done) from [<bf3470d0>] (nss_core_handle_napi+0x1f4/0x248 [qca_nss_drv])
Oct 23 14:29:32 owrt kernel: [81044.963840] [<bf3470d0>] (nss_core_handle_napi [qca_nss_drv]) from [<c0780fd8>] (__napi_poll+0x34/0x120)
Oct 23 14:29:32 owrt kernel: [81044.973996] [<c0780fd8>] (__napi_poll) from [<c078127c>] (net_rx_action+0x108/0x2a0)
Oct 23 14:29:32 owrt kernel: [81044.983458] [<c078127c>] (net_rx_action) from [<c0302298>] (__do_softirq+0x130/0x2d4)
Oct 23 14:29:32 owrt kernel: [81044.991184] [<c0302298>] (__do_softirq) from [<c0322b54>] (irq_exit+0xbc/0xe0)
Oct 23 14:29:32 owrt kernel: [81044.998908] [<c0322b54>] (irq_exit) from [<c036f2e0>] (__handle_domain_irq+0x6c/0xd0)
Oct 23 14:29:32 owrt kernel: [81045.006029] [<c036f2e0>] (__handle_domain_irq) from [<c05d2bd0>] (gic_handle_irq+0x5c/0xb8)
Oct 23 14:29:32 owrt kernel: [81045.013925] [<c05d2bd0>] (gic_handle_irq) from [<c0301a8c>] (__irq_svc+0x6c/0x90)
Oct 23 14:29:32 owrt kernel: [81045.022079] Exception stack(0xd6445df8 to 0xd6445e40)
Oct 23 14:29:32 owrt kernel: [81045.029720] 5de0:                                                       d96d4d80 00000000
Oct 23 14:29:32 owrt kernel: [81045.034768] 5e00: ffffffe0 00000000 d96d4d80 d6445e94 d96fc200 00000000 c0c2a200 00000002
Oct 23 14:29:32 owrt kernel: [81045.042928] 5e20: 00000102 00000003 d4cac720 d6445e48 c0763f14 bf72cda4 60000013 ffffffff
Oct 23 14:29:32 owrt kernel: [81045.051089] [<c0301a8c>] (__irq_svc) from [<bf72cda4>] (ctnetlink_conntrack_event+0xfc/0x484 [nf_conntrack_netlink])
Oct 23 14:29:32 owrt kernel: [81045.059286] [<bf72cda4>] (ctnetlink_conntrack_event [nf_conntrack_netlink]) from [<bf40dcb4>] (nf_conntrack_eventmask_report+0xc0/0x18c [nf_conntrack])
Oct 23 14:29:32 owrt kernel: [81045.069873] [<bf40dcb4>] (nf_conntrack_eventmask_report [nf_conntrack]) from [<bf403500>] (nf_ct_delete+0x5c/0x14c [nf_conntrack])
Oct 23 14:29:32 owrt kernel: [81045.083154] [<bf403500>] (nf_ct_delete [nf_conntrack]) from [<bf403758>] (nf_ct_kill_acct+0x168/0x19c [nf_conntrack])
Oct 23 14:29:32 owrt kernel: [81045.094955] [<bf403758>] (nf_ct_kill_acct [nf_conntrack]) from [<bf40474c>] (gc_worker+0x298/0x31c [nf_conntrack])
Oct 23 14:29:32 owrt kernel: [81045.105628] [<bf40474c>] (gc_worker [nf_conntrack]) from [<c033782c>] (process_one_work+0x234/0x4a0)
Oct 23 14:29:32 owrt kernel: [81045.115840] [<c033782c>] (process_one_work) from [<c0337aec>] (worker_thread+0x54/0x604)
Oct 23 14:29:32 owrt kernel: [81045.125129] [<c0337aec>] (worker_thread) from [<c033da90>] (kthread+0x160/0x164)
Oct 23 14:29:32 owrt kernel: [81045.133196] [<c033da90>] (kthread) from [<c03010e8>] (ret_from_fork+0x14/0x2c)
Oct 23 14:29:32 owrt kernel: [81045.140568] Exception stack(0xd6445fb0 to 0xd6445ff8)
Oct 23 14:29:32 owrt kernel: [81045.147604] 5fa0:                                     00000000 00000000 00000000 00000000
Oct 23 14:29:32 owrt kernel: [81045.152736] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Oct 23 14:29:32 owrt kernel: [81045.160891] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000
Oct 23 14:29:32 owrt kernel: [81045.169120] ---[ end trace 6ff10a8950f670dd ]---

@ACwifidude I see your build is re-based to the latest kernel. Anything changed in the NSS code?
Wondering if it is worth a new build, or should I use your image :slight_smile:

My build is:

  1. all of the NSS commits on Ansuel’s branch
  2. rebased on the latest master
  3. with a simple set of packages (ex: luci, usb working, ipv6, stats)
  4. nothing extra added. KISS principle.
  5. easy, so that we can have a pool of quality testers to make the software better. :sunglasses:

I’ve been using git cherry-pick as Ansuel adds features:

git fetch Ansuel && git cherry-pick enterhashhere

I then rebase with master (OpenWRT git is my upstream) and build off the diffconfig on my GitHub:

git fetch upstream && git rebase upstream/master

hello @Ansuel
any good news for ea7500,I can't wait to get tested it :grinning:

Rebasing to master doesn't work anymore (at least I couldn't), seems like there are too many changes.

I rebased yesterday. Are you getting errors while rebasing or while compiling?