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

!!
It is my mistake.
I will check it.
target/linux/ipq806x/patches-5.15/999-004-fix-socinfo.patch

1 Like

Still switchdev so you can update it without major hiccups. My two APs are running the 23.05 build right now.

@tishipp easy fix no worries!

2 Likes

Just a heads up, I flashed my R7800 with the 23.05 build and everything was initially working great but

  1. around 8-12 hours later, the router crashed and rebooted. I do not have any logs anything sorry :frowning: All I can say that even though multiple devices were wirelessly/wire connected to the router, no one was streaming or doing anything with the router.
  2. After it rebooted, my audio in my google meets was 5-10 seconds delayed but not my video. It occurred in chrome and firefox. It might have always been like this before the reboot because I never tried google meet before. Also, I did not test zoom or facetime or anything similar to google meet :frowning: but I can add I was wired connected to my router.

Neither of those issues has ever happened on 22.03 build. I've never used previous master builds before so I can't give a comparison to that.

I just wanted to give feedback in case anyone else has any similar issues

1 Like

Hm, seems it broke my 802.1x auth. Were there any major wpad changes between then and now?

edit: openssl 3 lmao

Hi, I made the 23.05 builds, they are working fine, but seem to miss the -upnp and -banip packages i specified in diffconfig, even though they reported as having been installed e.g. Installing package 'luci-app-upnp' from luci
Do i need to change something in diffconfig?

1 Like

I experience a crash as well on the 23.05 build Here is the log:

<4>[   59.405472]  crc32_generic
<1>[   59.428981] 8<--- cut here ---
<4>[   59.492267]  cbc encrypted_keys trusted tpm oid_registry asn1_encoder asn1_decoder
<4>[   59.492295] CPU: 0 PID: 3498 Comm: procd Not tainted 5.15.112 #0
<4>[   59.492302] Hardware name: Generic DT based system
<4>[   59.492306] PC is at eth_type_trans+0x14/0x1c8
<4>[   59.492324] LR is at nss_ifb_data_cb+0x1c/0x44 [nss_ifb]
<1>[   59.514566] Unable to handle kernel NULL pointer dereference at virtual address 00000150
<4>[   59.517012] pc : [<c083ce80>]    lr : [<bf9921e0>]    psr: 80000113
<1>[   59.520059] pgd = 4c1335a5
<4>[   59.527606] sp : c5f57c78  ip : bf260f28  fp : 00000001
<4>[   59.527611] r10: 0000002c  r9 : c1649000  r8 : bf256400
<4>[   59.527615] r7 : bf256a28  r6 : 00000022  r5 : 00000000  r4 : c2f63480
<4>[   59.527619] r3 : c1649000  r2 : bf256a28  r1 : 00000000  r0 : c2f63480
<4>[   59.527624] Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
<4>[   59.527630] Control: 10c5787d  Table: 4855806a  DAC: 00000051
<1>[   59.527634] Register r0 information: slab skbuff_head_cache start c2f63480 pointer offset 0 size 48
<1>[   59.527656] Register r1 information: NULL pointer
<1>[   59.527666] Register r2 information: 74-page vmalloc region starting at 0xbf228000 allocated at load_module+0xb78/0x255c
<1>[   59.527682] Register r3 information: slab kmalloc-cg-2k start c1649000
<1>[   59.533841] [00000150] *pgd=00000000
<4>[   59.538369]  pointer offset 0
<4>[   59.542870] 
<4>[   59.548269]  size 2048
<1>[   59.640622] Register r4 information: slab skbuff_head_cache start c2f63480 pointer offset 0 size 48
<1>[   59.642802] Register r5 information: NULL pointer
<1>[   59.651738] Register r6 information: non-paged memory
<1>[   59.656599] Register r7 information: 74-page vmalloc region starting at 0xbf228000 allocated at load_module+0xb78/0x255c
<1>[   59.661642] Register r8 information: 74-page vmalloc region starting at 0xbf228000 allocated at load_module+0xb78/0x255c
<1>[   59.672580] Register r9 information: slab kmalloc-cg-2k start c1649000 pointer offset 0 size 2048
<1>[   59.683428] Register r10 information: non-paged memory
<1>[   59.692189] Register r11 information: non-paged memory
<1>[   59.697223] Register r12 information: 74-page vmalloc region starting at 0xbf228000 allocated at load_module+0xb78/0x255c
<0>[   59.702355] Process procd (pid: 3498, stack limit = 0x9d8e9336)
<0>[   59.713371] Stack: (0xc5f57c78 to 0xc5f58000)
<0>[   59.719099] 7c60:                                                       00000001 c030f9c8
<0>[   59.723620] 7c80: c2f63480 bf256a28 00000022 bf9921e0 c2f63480 bf9921c4 00000022 bf22a3f8
<0>[   59.731780] 7ca0: 00000000 bf22a33c 00000000 00000000 c2489040 0000007f bf256418 0000000c
<0>[   59.739938] 7cc0: 00000001 bf256a18 00000001 c2257e00 00000000 00000001 00000001 c2257e04
<0>[   59.748097] 7ce0: 00000001 bf256a28 00000040 bf256400 bf2643c0 00000000 bf256a18 00000002
<0>[   59.756259] 7d00: 00000040 bf22b968 bf256a18 00000002 00000000 00000001 bf256a28 00000040
<0>[   59.764418] 7d20: c5f57d5f c5f57d60 c0d03d00 1cd4a000 c5f57d68 c07ed02c bf256a28 0000012c
<0>[   59.772579] 7d40: dd990e40 c0c46e40 c5f57d60 c07ed370 c5f57d68 ffffa1fe 00000000 00ffa1fe
<0>[   59.780738] 7d60: c5f57d60 c5f57d60 c5f57d68 c5f57d68 c5f57d70 00000000 c0d0308c c5f56000
<0>[   59.788897] 7d80: c0d03080 40000003 0000000c 00000100 c5f57d98 c03012f4 00000000 bf23e4e8
<0>[   59.797057] 7da0: c0d03080 c0c43230 0000000a c0c431b8 c0c46040 c0c46040 ffffa1fd c0d03d00
<0>[   59.805217] 7dc0: 00400040 ffffe000 c5f57e10 ffffe000 00000000 000000f5 00000000 c0c4533c
<0>[   59.813376] 7de0: de80200c c5f57e10 00000000 c03229d8 c0c45330 c036d204 c0d05330 c5f57e30
<0>[   59.821536] 7e00: c0d7ec1c de802000 c0c4533c c061ad3c c046e3cc 40000113 ffffffff c5f57e64
<0>[   59.829696] 7e20: 004fd000 c5f56000 00000005 c0300b7c dd9c6580 00000000 00000000 000051ac
<0>[   59.837856] 7e40: dd9c6580 4226059f dd9c6580 c5e4a660 004fd000 004fd000 00000005 00000000
<0>[   59.846015] 7e60: c4257364 c5f57e80 c044df78 c046e3cc 40000113 ffffffff 00000051 ffffffff
<0>[   59.854175] 7e80: dd9c6580 4226059f c5f57f04 c044df78 dd9c6580 c04432f4 c1a04b40 dd9c6580
<0>[   59.862334] 7ea0: 0000000f c5f57f04 00000100 c040bbc8 c1f86480 c1a04b40 c1a04b44 00000005
<0>[   59.870495] 7ec0: 00050000 c1a30390 00000000 00000000 00000001 c040ba78 00000254 0000000f
<0>[   59.878653] 7ee0: 00000000 c5f57f04 00000040 ffffe000 00000254 c0443fc4 00000000 00000000
<0>[   59.886814] 7f00: 00000000 c5e4a660 01100cca 00000004 004fc000 00000254 c6558010 c6558010
<0>[   59.894974] 7f20: 00000000 00000000 00000000 c5e483f4 c425723c 00000000 00000000 c5f57fb0
<0>[   59.903134] 7f40: 004fc6bc 80000007 c4257200 c5e4a660 c4257240 00000000 00000254 c030e7c8
<0>[   59.911293] 7f60: c030e6c0 00000007 004fc6bc c5f57fb0 c0d097c0 10c5387d 00000028 0050b278
<0>[   59.919452] 7f80: 00000014 c030ebc4 00000000 00000000 00000000 00000000 b6f5846c 004fc6bc
<0>[   59.927612] 7fa0: 60000010 ffffffff 10c5787d c0301108 00000000 bed4ab88 00000000 00000008
<0>[   59.935772] 7fc0: b6ea55d0 0050b2a0 0050b7b0 0050b180 0050b188 00000028 0050b278 00000014
<0>[   59.943931] 7fe0: 00000001 bed4ac30 b6f204a4 004fc6bc 60000010 ffffffff 00000000 00000000
<0>[   59.952093] [<c083ce80>] (eth_type_trans) from [<bf9921e0>] (nss_ifb_data_cb+0x1c/0x44 [nss_ifb])
<0>[   59.960323] [<bf9921e0>] (nss_ifb_data_cb [nss_ifb]) from [<bf22a3f8>] (nss_core_send_buffer+0x1644/0x204c [qca_nss_drv])
<0>[   59.969144] [<bf22a3f8>] (nss_core_send_buffer [qca_nss_drv]) from [<bf22b968>] (nss_core_handle_napi+0x188/0x274 [qca_nss_drv])
<0>[   59.980078] [<bf22b968>] (nss_core_handle_napi [qca_nss_drv]) from [<c07ed02c>] (__napi_poll+0x40/0x1b4)
<0>[   59.991678] [<c07ed02c>] (__napi_poll) from [<c07ed370>] (net_rx_action+0xd0/0x240)
<0>[   60.001135] [<c07ed370>] (net_rx_action) from [<c03012f4>] (__do_softirq+0x10c/0x2c4)
<0>[   60.008514] [<c03012f4>] (__do_softirq) from [<c03229d8>] (irq_exit+0xbc/0x100)
<0>[   60.016498] [<c03229d8>] (irq_exit) from [<c036d204>] (handle_domain_irq+0x60/0x78)
<0>[   60.023618] [<c036d204>] (handle_domain_irq) from [<c061ad3c>] (gic_handle_irq+0x7c/0x90)
<0>[   60.031259] [<c061ad3c>] (gic_handle_irq) from [<c0300b7c>] (__irq_svc+0x5c/0x78)
<0>[   60.039589] Exception stack(0xc5f57e30 to 0xc5f57e78)
<0>[   60.047051] 7e20:                                     dd9c6580 00000000 00000000 000051ac
<0>[   60.052092] 7e40: dd9c6580 4226059f dd9c6580 c5e4a660 004fd000 004fd000 00000005 00000000
<0>[   60.060251] 7e60: c4257364 c5f57e80 c044df78 c046e3cc 40000113 ffffffff
<0>[   60.068407] [<c0300b7c>] (__irq_svc) from [<c046e3cc>] (lock_page_memcg+0x18/0xa0)
<0>[   60.074833] [<c046e3cc>] (lock_page_memcg) from [<c044df78>] (page_add_file_rmap+0xc/0x54)
<0>[   60.082473] [<c044df78>] (page_add_file_rmap) from [<c04432f4>] (do_set_pte+0xc0/0x120)
<0>[   60.090719] [<c04432f4>] (do_set_pte) from [<c040bbc8>] (filemap_map_pages+0x150/0x354)
<0>[   60.098619] [<c040bbc8>] (filemap_map_pages) from [<c0443fc4>] (handle_mm_fault+0xa84/0xd00)
<0>[   60.106606] [<c0443fc4>] (handle_mm_fault) from [<c030e7c8>] (do_page_fault+0x108/0x290)
<0>[   60.115286] [<c030e7c8>] (do_page_fault) from [<c030ebc4>] (do_PrefetchAbort+0x3c/0x8c)
<0>[   60.123358] [<c030ebc4>] (do_PrefetchAbort) from [<c0301108>] (ret_from_exception+0x0/0x18)
<0>[   60.131083] Exception stack(0xc5f57fb0 to 0xc5f57ff8)
<0>[   60.139413] 7fa0:                                     00000000 bed4ab88 00000000 00000008
<0>[   60.144627] 7fc0: b6ea55d0 0050b2a0 0050b7b0 0050b180 0050b188 00000028 0050b278 00000014
<0>[   60.152785] 7fe0: 00000001 bed4ac30 b6f204a4 004fc6bc 60000010 ffffffff
<0>[   60.160944] Code: e1a04000 e1a05001 e5801008 e24dd008 (e5913150) 
<0>[   60.167369] Internal error: Oops: 5 [#2] SMP ARM
<4>[   60.167505] ---[ end trace 855937466b79fb2e ]---
<4>[   60.173612] Modules linked in: nss_ifb ecm nft_fib_inet nf_flow_table_ipv6 nf_flow_table_ipv4 nf_flow_table_inet ath10k_pci ath10k_core ath 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_compat nft_chain_nat nf_tables nf_nat nf_flow_table nf_conntrack mac80211 iptable_mangle iptable_filter ipt_REJECT ipt_ECN ip_tables cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_ecn xt_dscp xt_comment xt_TCPMSS xt_LOG xt_HL xt_DSCP xt_CLASSIFY x_tables usblp sch_cake ppp_async nfnetlink nf_reject_ipv6 nf_reject_ipv4 nf_log_syslog nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c crc_ccitt compat fuse sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_route cls_matchall cls_fw cls_flow cls_basic act_skbedit act_mirred act_gact qca_nss_qdisc qca_nss_crypto qca_nss_pptp pptp
<4>[   60.178560]  qca_nss_pppoe
<0>[   60.188049] Kernel panic - not syncing: Fatal exception in interrupt

1 Like

Some information i found in regards of that file in kernel 5.10:

+++ b/drivers/soc/qcom/socinfo.c
@@ -521,7 +521,7 @@ static int qcom_socinfo_probe(struct platform_device *pdev)
 	/* Feed the soc specific unique data into entropy pool */
 	add_device_randomness(info, item_size);
 
-	platform_set_drvdata(pdev, qs->soc_dev);
+	platform_set_drvdata(pdev, qs);
 
 	return 0;
 }

Same problem on 22.03.4.

Switched to ACwifidude's 23.05 branch, both rick's nss sqm scripts and manual nss sqm commands work again.

@ACwifidude
Would love to have wireguard in your 23.05 builds going forwards.

Also had a crash on 23.05, at around 1:30 am with nothing much happening. Running on a C2600.

cat /sys/fs/pstore/console-ramoops-0

[30453.014423] ath10k_pci 0001:01:00.0: mac flush vdev 0 drop 0 queues 0x1 ar->paused: 0x0  arvif->paused: 0x0
[32706.339672] ath10k_pci 0001:01:00.0: mac flush vdev 0 drop 0 queues 0x1 ar->paused: 0x0  arvif->paused: 0x0
[45042.073169] 8<--- cut here ---
[45042.073205] Unable to handle kernel NULL pointer dereference at virtual address 00000001
[45042.075125] pgd = c65800c0
[45042.083364] [00000001] *pgd=00000000
[45042.085887] Internal error: Oops: 5 [#1] SMP ARM
[45042.089619] Modules linked in: nss_ifb ecm nft_fib_inet nf_flow_table_ipv6 nf_flow_table_ipv4 nf_flow_table_inet ath10k_pci ath10k_core ath 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_compat nft_chain_nat nf_tables nf_nat nf_flow_table nf_conntrack mac80211 iptable_mangle iptable_filter ipt_REJECT ipt_ECN ip_tables cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_ecn xt_dscp xt_comment xt_TCPMSS xt_LOG xt_HL xt_DSCP xt_CLASSIFY x_tables usblp sch_cake ppp_async nfnetlink nf_reject_ipv6 nf_reject_ipv4 nf_log_syslog nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c crc_ccitt compat fuse sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_route cls_matchall cls_fw cls_flow cls_basic act_skbedit act_mirred act_gact qca_nss_qdisc qca_nss_crypto qca_nss_pptp pptp
[45042.090123]  qca_nss_pppoe pppoe pppox ppp_generic slhc ledtrig_usbport cryptodev nfsv4 nfsv3 nfs msdos ip_gre gre ifb sit ip6_tunnel tunnel6 tunnel4 ip_tunnel tun lockd sunrpc grace hfsplus hfs cdrom dns_resolver nls_utf8 nls_iso8859_15 nls_iso8859_1 nls_cp850 nls_cp437 nls_cp1250 wp512 twofish_generic twofish_common tea serpent_generic khazad cast6_generic cast5_generic cast_common camellia_generic blowfish_generic blowfish_common anubis xts crypto_user algif_skcipher algif_rng algif_hash algif_aead af_alg sha512_arm sha1_generic sha1_arm seqiv ecb cmac authencesn authenc uas 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 scsi_common ehci_hcd qca_nss_drv qca_nss_gmac ramoops reed_solomon pstore gpio_button_hotplug vfat fat f2fs ext4 mbcache jbd2 exfat dm_mirror dm_region_hash dm_log dm_crypt dm_mod dax crc32c_generic
[45042.159111]  crc32_generic cbc encrypted_keys trusted tpm oid_registry asn1_encoder asn1_decoder
[45042.268096] CPU: 1 PID: 1177 Comm: kworker/1:0 Not tainted 5.15.112 #0
[45042.276859] Hardware name: Generic DT based system
[45042.283194] Workqueue: events dbs_work_handler
[45042.287968] PC is at krait_mux_set_parent+0xbc/0xfc
[45042.292394] LR is at krait_mux_set_parent+0x9c/0xfc
[45042.297168] pc : [<c0665d84>]    lr : [<c0665d64>]    psr: 60000093
[45042.302032] sp : c980dd68  ip : 00000000  fp : c15b3200
[45042.308280] r10: c1798f18  r9 : 00000000  r8 : c980ddb4
[45042.313487] r7 : 20000013  r6 : 00000101  r5 : 00000001  r4 : c158305c
[45042.318697] r3 : c0b053b8  r2 : c0d9b300  r1 : 20000093  r0 : 000046dc
[45042.325296] Flags: nZCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment none
[45042.331807] Control: 10c5787d  Table: 48f8c06a  DAC: 00000051
[45042.339010] Register r0 information: non-paged memory
[45042.344825] Register r1 information: non-paged memory
[45042.349859] Register r2 information: non-slab/vmalloc memory
[45042.354895] Register r3 information: non-slab/vmalloc memory
[45042.360624] Register r4 information: slab kmalloc-128 start c1583000 pointer offset 92 size 128
[45042.366271] Register r5 information: non-paged memory
[45042.374687] Register r6 information: non-paged memory
[45042.379895] Register r7 information: non-paged memory
[45042.384930] Register r8 information: non-slab/vmalloc memory
[45042.389967] Register r9 information: NULL pointer
[45042.395692] Register r10 information: slab kmalloc-256 start c1798f00 pointer offset 24 size 256
[45042.400300] Register r11 information: slab kmalloc-128 start c15b3200 pointer offset 0 size 128
[45042.409152] Register r12 information: NULL pointer
[45042.417567] Process kworker/1:0 (pid: 1177, stack limit = 0x5d485021)
[45042.422432] Stack: (0xc980dd68 to 0xc980e000)
[45042.428942] dd60:                   c1583068 c0d80b34 c0d9b300 c0b053b8 c980ddb4 c06671d0
[45042.433288] dd80: 00000000 c0d80b34 ffffffff c033f970 c1798f00 c0d80b34 c16669c0 00000002
[45042.441447] dda0: 23c34600 53724e00 00000000 c0655dd8 c158ca00 c1c1a200 23c34600 53724e00
[45042.449608] ddc0: c158ca00 53724e00 c16669c0 00000000 c15af180 c0659db8 c16668a8 c15af180
[45042.457768] dde0: c0666208 c140d000 23c34600 53724e00 00000000 c0659df0 c16669c0 53724e00
[45042.465928] de00: c15af180 c15b3100 ddb98010 53724e00 00000000 c065a000 0012d356 53724e00
[45042.474085] de20: 00000000 ffffffff 53724e00 c0d83814 c151cec0 c151b640 53724e00 00000000
[45042.482246] de40: c15b3100 ddb98010 53724e00 c065a194 c1601400 c151ce80 00000000 c15b3100
[45042.490406] de60: ddb98010 c0779b58 c16669c0 c15b3100 c0d05038 53724e00 00000000 c1601400
[45042.498566] de80: ddb98010 53724e00 00000006 c151ce80 00000005 00155cc0 00000000 c0779f64
[45042.506724] dea0: 00000000 c033f970 c1601000 53724e00 c1601000 c0dd1070 00000000 00000000
[45042.514885] dec0: 000927c0 c077e2b0 c1601000 000927c0 00155cc0 00000024 c1708600 c1601000
[45042.523044] dee0: c151cc80 c151c680 c151bc00 c151bc00 c151c680 ddb9e305 ca65df40 c07812c4
[45042.531205] df00: c151ccb8 00000000 c151cc84 c1601000 c0d90bb0 00000040 ddb9e305 c0781ec8
[45042.539363] df20: c151ccb8 ca65df00 ddb9b080 ddb9e300 00000000 c0336d4c c980c000 ddb9b080
[45042.547523] df40: c0d03d00 ca65df00 ddb9b080 ca65df18 c0d03d00 ddb9b098 c980c000 ddb9b240
[45042.555685] df60: ddb9b0c8 c03378c8 00000000 cb4b9400 cb4b94c0 c033787c ca65df00 c980c000
[45042.563843] df80: c9acfed8 cb4b94e0 00000000 c033e2b8 cb4b9400 c033e170 00000000 00000000
[45042.572001] dfa0: 00000000 00000000 00000000 c0300130 00000000 00000000 00000000 00000000
[45042.580161] dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[45042.588324] dfe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
[45042.596484] [<c0665d84>] (krait_mux_set_parent) from [<c06671d0>] (krait_notifier_cb+0x44/0xa0)
[45042.604641] [<c06671d0>] (krait_notifier_cb) from [<c033f970>] (srcu_notifier_call_chain+0x6c/0xd0)
[45042.613149] [<c033f970>] (srcu_notifier_call_chain) from [<c0655dd8>] (__clk_notify+0x68/0x80)
[45042.622177] [<c0655dd8>] (__clk_notify) from [<c0659db8>] (clk_change_rate+0xec/0x28c)
[45042.630856] [<c0659db8>] (clk_change_rate) from [<c0659df0>] (clk_change_rate+0x124/0x28c)
[45042.638755] [<c0659df0>] (clk_change_rate) from [<c065a000>] (clk_core_set_rate_nolock+0xa8/0x20c)
[45042.647001] [<c065a000>] (clk_core_set_rate_nolock) from [<c065a194>] (clk_set_rate+0x30/0x154)
[45042.655943] [<c065a194>] (clk_set_rate) from [<c0779b58>] (_set_opp+0x1d8/0x508)
[45042.664536] [<c0779b58>] (_set_opp) from [<c0779f64>] (dev_pm_opp_set_rate+0xdc/0x1fc)
[45042.672173] [<c0779f64>] (dev_pm_opp_set_rate) from [<c077e2b0>] (__cpufreq_driver_target+0xb8/0x20c)
[45042.679903] [<c077e2b0>] (__cpufreq_driver_target) from [<c07812c4>] (od_dbs_update+0x144/0x168)
[45042.689191] [<c07812c4>] (od_dbs_update) from [<c0781ec8>] (dbs_work_handler+0x2c/0x58)
[45042.698043] [<c0781ec8>] (dbs_work_handler) from [<c0336d4c>] (process_one_work+0x210/0x478)
[45042.705770] [<c0336d4c>] (process_one_work) from [<c03378c8>] (worker_thread+0x4c/0x598)
[45042.714449] [<c03378c8>] (worker_thread) from [<c033e2b8>] (kthread+0x148/0x164)
[45042.722522] [<c033e2b8>] (kthread) from [<c0300130>] (ret_from_fork+0x14/0x24)
[45042.729898] Exception stack(0xc980dfb0 to 0xc980dff8)
[45042.736929] dfa0:                                     00000000 00000000 00000000 00000000
[45042.742054] dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[45042.750214] dfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[45042.758375] Code: e30533b8 e34c30b0 e30406dc e3400003 (e5933004) 
[45042.764795] ---[ end trace d9716d9c1be13db8 ]---
[45042.783922] Kernel panic - not syncing: Fatal exception
[45042.783960] CPU0: stopping
[45042.787956] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G      D           5.15.112 #0
[45042.790734] Hardware name: Generic DT based system
[45042.798288] [<c030d9fc>] (unwind_backtrace) from [<c03098b4>] (show_stack+0x10/0x14)
[45042.802978] [<c03098b4>] (show_stack) from [<c0602840>] (dump_stack_lvl+0x40/0x4c)
[45042.810877] [<c0602840>] (dump_stack_lvl) from [<c030c374>] (do_handle_IPI+0xf8/0x12c)
[45042.818254] [<c030c374>] (do_handle_IPI) from [<c030c3c0>] (ipi_handler+0x18/0x20)
[45042.826151] [<c030c3c0>] (ipi_handler) from [<c037302c>] (handle_percpu_devid_irq+0x78/0x13c)
[45042.833708] [<c037302c>] (handle_percpu_devid_irq) from [<c036d200>] (handle_domain_irq+0x5c/0x78)
[45042.842301] [<c036d200>] (handle_domain_irq) from [<c061ad3c>] (gic_handle_irq+0x7c/0x90)
[45042.851156] [<c061ad3c>] (gic_handle_irq) from [<c0300b7c>] (__irq_svc+0x5c/0x78)
[45042.859397] Exception stack(0xc0d01f10 to 0xc0d01f58)
[45042.866862] 1f00:                                     16f84d88 00000000 00000001 c03134c0
[45042.871904] 1f20: 00000000 c0d04f28 c0d00000 00000000 00000000 ffffe000 c0d04ec8 c0d04f5c
[45042.880061] 1f40: c0d04fcc c0d01f60 c03070ec c03070f0 60000013 ffffffff
[45042.888216] [<c0300b7c>] (__irq_svc) from [<c03070f0>] (arch_cpu_idle+0x38/0x3c)
[45042.894640] [<c03070f0>] (arch_cpu_idle) from [<c034d690>] (do_idle+0x23c/0x29c)
[45042.902281] [<c034d690>] (do_idle) from [<c034d9f4>] (cpu_startup_entry+0x18/0x1c)
[45042.909659] [<c034d9f4>] (cpu_startup_entry) from [<c0c01188>] (start_kernel+0x6b0/0x6c0)
[45043.929881] Rebooting in 3 seconds..
cat /sys/fs/pstore/dmesg-ramoops-1

Panic#2 Part1
<6>[30453.014423] ath10k_pci 0001:01:00.0: mac flush vdev 0 drop 0 queues 0x1 ar->paused: 0x0  arvif->paused: 0x0
<6>[32706.339672] ath10k_pci 0001:01:00.0: mac flush vdev 0 drop 0 queues 0x1 ar->paused: 0x0  arvif->paused: 0x0
<1>[45042.073169] 8<--- cut here ---
<1>[45042.073205] Unable to handle kernel NULL pointer dereference at virtual address 00000001
<1>[45042.075125] pgd = c65800c0
<1>[45042.083364] [00000001] *pgd=00000000
<0>[45042.085887] Internal error: Oops: 5 [#1] SMP ARM
<4>[45042.089619] Modules linked in: nss_ifb ecm nft_fib_inet nf_flow_table_ipv6 nf_flow_table_ipv4 nf_flow_table_inet ath10k_pci ath10k_core ath 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_compat nft_chain_nat nf_tables nf_nat nf_flow_table nf_conntrack mac80211 iptable_mangle iptable_filter ipt_REJECT ipt_ECN ip_tables cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_ecn xt_dscp xt_comment xt_TCPMSS xt_LOG xt_HL xt_DSCP xt_CLASSIFY x_tables usblp sch_cake ppp_async nfnetlink nf_reject_ipv6 nf_reject_ipv4 nf_log_syslog nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c crc_ccitt compat fuse sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_route cls_matchall cls_fw cls_flow cls_basic act_skbedit act_mirred act_gact qca_nss_qdisc qca_nss_crypto qca_nss_pptp pptp
<4>[45042.090123]  qca_nss_pppoe pppoe pppox ppp_generic slhc ledtrig_usbport cryptodev nfsv4 nfsv3 nfs msdos ip_gre gre ifb sit ip6_tunnel tunnel6 tunnel4 ip_tunnel tun lockd sunrpc grace hfsplus hfs cdrom dns_resolver nls_utf8 nls_iso8859_15 nls_iso8859_1 nls_cp850 nls_cp437 nls_cp1250 wp512 twofish_generic twofish_common tea serpent_generic khazad cast6_generic cast5_generic cast_common camellia_generic blowfish_generic blowfish_common anubis xts crypto_user algif_skcipher algif_rng algif_hash algif_aead af_alg sha512_arm sha1_generic sha1_arm seqiv ecb cmac authencesn authenc uas 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 scsi_common ehci_hcd qca_nss_drv qca_nss_gmac ramoops reed_solomon pstore gpio_button_hotplug vfat fat f2fs ext4 mbcache jbd2 exfat dm_mirror dm_region_hash dm_log dm_crypt dm_mod dax crc32c_generic
<4>[45042.159111]  crc32_generic cbc encrypted_keys trusted tpm oid_registry asn1_encoder asn1_decoder
<4>[45042.268096] CPU: 1 PID: 1177 Comm: kworker/1:0 Not tainted 5.15.112 #0
<4>[45042.276859] Hardware name: Generic DT based system
<4>[45042.283194] Workqueue: events dbs_work_handler
<4>[45042.287968] PC is at krait_mux_set_parent+0xbc/0xfc
<4>[45042.292394] LR is at krait_mux_set_parent+0x9c/0xfc
<4>[45042.297168] pc : [<c0665d84>]    lr : [<c0665d64>]    psr: 60000093
<4>[45042.302032] sp : c980dd68  ip : 00000000  fp : c15b3200
<4>[45042.308280] r10: c1798f18  r9 : 00000000  r8 : c980ddb4
<4>[45042.313487] r7 : 20000013  r6 : 00000101  r5 : 00000001  r4 : c158305c
<4>[45042.318697] r3 : c0b053b8  r2 : c0d9b300  r1 : 20000093  r0 : 000046dc
<4>[45042.325296] Flags: nZCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment none
<4>[45042.331807] Control: 10c5787d  Table: 48f8c06a  DAC: 00000051
<1>[45042.339010] Register r0 information: non-paged memory
<1>[45042.344825] Register r1 information: non-paged memory
<1>[45042.349859] Register r2 information: non-slab/vmalloc memory
<1>[45042.354895] Register r3 information: non-slab/vmalloc memory
<1>[45042.360624] Register r4 information: slab kmalloc-128 start c1583000 pointer offset 92 size 128
<1>[45042.366271] Register r5 information: non-paged memory
<1>[45042.374687] Register r6 information: non-paged memory
<1>[45042.379895] Register r7 information: non-paged memory
<1>[45042.384930] Register r8 information: non-slab/vmalloc memory
<1>[45042.389967] Register r9 information: NULL pointer
<1>[45042.395692] Register r10 information: slab kmalloc-256 start c1798f00 pointer offset 24 size 256
<1>[45042.400300] Register r11 information: slab kmalloc-128 start c15b3200 pointer offset 0 size 128
<1>[45042.409152] Register r12 information: NULL pointer
<0>[45042.417567] Process kworker/1:0 (pid: 1177, stack limit = 0x5d485021)
<0>[45042.422432] Stack: (0xc980dd68 to 0xc980e000)
<0>[45042.428942] dd60:                   c1583068 c0d80b34 c0d9b300 c0b053b8 c980ddb4 c06671d0
<0>[45042.433288] dd80: 00000000 c0d80b34 ffffffff c033f970 c1798f00 c0d80b34 c16669c0 00000002
<0>[45042.441447] dda0: 23c34600 53724e00 00000000 c0655dd8 c158ca00 c1c1a200 23c34600 53724e00
<0>[45042.449608] ddc0: c158ca00 53724e00 c16669c0 00000000 c15af180 c0659db8 c16668a8 c15af180
<0>[45042.457768] dde0: c0666208 c140d000 23c34600 53724e00 00000000 c0659df0 c16669c0 53724e00
<0>[45042.465928] de00: c15af180 c15b3100 ddb98010 53724e00 00000000 c065a000 0012d356 53724e00
<0>[45042.474085] de20: 00000000 ffffffff 53724e00 c0d83814 c151cec0 c151b640 53724e00 00000000
<0>[45042.482246] de40: c15b3100 ddb98010 53724e00 c065a194 c1601400 c151ce80 00000000 c15b3100
<0>[45042.490406] de60: ddb98010 c0779b58 c16669c0 c15b3100 c0d05038 53724e00 00000000 c1601400
<0>[45042.498566] de80: ddb98010 53724e00 00000006 c151ce80 00000005 00155cc0 00000000 c0779f64
<0>[45042.506724] dea0: 00000000 c033f970 c1601000 53724e00 c1601000 c0dd1070 00000000 00000000
<0>[45042.514885] dec0: 000927c0 c077e2b0 c1601000 000927c0 00155cc0 00000024 c1708600 c1601000
<0>[45042.523044] dee0: c151cc80 c151c680 c151bc00 c151bc00 c151c680 ddb9e305 ca65df40 c07812c4
<0>[45042.531205] df00: c151ccb8 00000000 c151cc84 c1601000 c0d90bb0 00000040 ddb9e305 c0781ec8
<0>[45042.539363] df20: c151ccb8 ca65df00 ddb9b080 ddb9e300 00000000 c0336d4c c980c000 ddb9b080
<0>[45042.547523] df40: c0d03d00 ca65df00 ddb9b080 ca65df18 c0d03d00 ddb9b098 c980c000 ddb9b240
<0>[45042.555685] df60: ddb9b0c8 c03378c8 00000000 cb4b9400 cb4b94c0 c033787c ca65df00 c980c000
<0>[45042.563843] df80: c9acfed8 cb4b94e0 00000000 c033e2b8 cb4b9400 c033e170 00000000 00000000
<0>[45042.572001] dfa0: 00000000 00000000 00000000 c0300130 00000000 00000000 00000000 00000000
<0>[45042.580161] dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<0>[45042.588324] dfe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
<0>[45042.596484] [<c0665d84>] (krait_mux_set_parent) from [<c06671d0>] (krait_notifier_cb+0x44/0xa0)
<0>[45042.604641] [<c06671d0>] (krait_notifier_cb) from [<c033f970>] (srcu_notifier_call_chain+0x6c/0xd0)
<0>[45042.613149] [<c033f970>] (srcu_notifier_call_chain) from [<c0655dd8>] (__clk_notify+0x68/0x80)
<0>[45042.622177] [<c0655dd8>] (__clk_notify) from [<c0659db8>] (clk_change_rate+0xec/0x28c)
<0>[45042.630856] [<c0659db8>] (clk_change_rate) from [<c0659df0>] (clk_change_rate+0x124/0x28c)
<0>[45042.638755] [<c0659df0>] (clk_change_rate) from [<c065a000>] (clk_core_set_rate_nolock+0xa8/0x20c)
<0>[45042.647001] [<c065a000>] (clk_core_set_rate_nolock) from [<c065a194>] (clk_set_rate+0x30/0x154)
<0>[45042.655943] [<c065a194>] (clk_set_rate) from [<c0779b58>] (_set_opp+0x1d8/0x508)
<0>[45042.664536] [<c0779b58>] (_set_opp) from [<c0779f64>] (dev_pm_opp_set_rate+0xdc/0x1fc)
<0>[45042.672173] [<c0779f64>] (dev_pm_opp_set_rate) from [<c077e2b0>] (__cpufreq_driver_target+0xb8/0x20c)
<0>[45042.679903] [<c077e2b0>] (__cpufreq_driver_target) from [<c07812c4>] (od_dbs_update+0x144/0x168)
<0>[45042.689191] [<c07812c4>] (od_dbs_update) from [<c0781ec8>] (dbs_work_handler+0x2c/0x58)
<0>[45042.698043] [<c0781ec8>] (dbs_work_handler) from [<c0336d4c>] (process_one_work+0x210/0x478)
<0>[45042.705770] [<c0336d4c>] (process_one_work) from [<c03378c8>] (worker_thread+0x4c/0x598)
<0>[45042.714449] [<c03378c8>] (worker_thread) from [<c033e2b8>] (kthread+0x148/0x164)
<0>[45042.722522] [<c033e2b8>] (kthread) from [<c0300130>] (ret_from_fork+0x14/0x24)
<0>[45042.729898] Exception stack(0xc980dfb0 to 0xc980dff8)
<0>[45042.736929] dfa0:                                     00000000 00000000 00000000 00000000
<0>[45042.742054] dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<0>[45042.750214] dfe0: 00000000 00000000 00000000 00000000 00000013 00000000
<0>[45042.758375] Code: e30533b8 e34c30b0 e30406dc e3400003 (e5933004) 
<4>[45042.764795] ---[ end trace d9716d9c1be13db8 ]---
<0>[45042.783922] Kernel panic - not syncing: Fatal exception
<2>[45042.783960] CPU0: stopping
<4>[45042.787956] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G      D           5.15.112 #0
<4>[45042.790734] Hardware name: Generic DT based system
<4>[45042.798288] [<c030d9fc>] (unwind_backtrace) from [<c03098b4>] (show_stack+0x10/0x14)
<4>[45042.802978] [<c03098b4>] (show_stack) from [<c0602840>] (dump_stack_lvl+0x40/0x4c)
<4>[45042.810877] [<c0602840>] (dump_stack_lvl) from [<c030c374>] (do_handle_IPI+0xf8/0x12c)
<4>[45042.818254] [<c030c374>] (do_handle_IPI) from [<c030c3c0>] (ipi_handler+0x18/0x20)
<4>[45042.826151] [<c030c3c0>] (ipi_handler) from [<c037302c>] (handle_percpu_devid_irq+0x78/0x13c)
<4>[45042.833708] [<c037302c>] (handle_percpu_devid_irq) from [<c036d200>] (handle_domain_irq+0x5c/0x78)
<4>[45042.842301] [<c036d200>] (handle_domain_irq) from [<c061ad3c>] (gic_handle_irq+0x7c/0x90)
<4>[45042.851156] [<c061ad3c>] (gic_handle_irq) from [<c0300b7c>] (__irq_svc+0x5c/0x78)
<4>[45042.859397] Exception stack(0xc0d01f10 to 0xc0d01f58)
<4>[45042.866862] 1f00:                                     16f84d88 00000000 00000001 c03134c0
<4>[45042.871904] 1f20: 00000000 c0d04f28 c0d00000 00000000 00000000 ffffe000 c0d04ec8 c0d04f5c
<4>[45042.880061] 1f40: c0d04fcc c0d01f60 c03070ec c03070f0 60000013 ffffffff
<4>[45042.888216] [<c0300b7c>] (__irq_svc) from [<c03070f0>] (arch_cpu_idle+0x38/0x3c)
<4>[45042.894640] [<c03070f0>] (arch_cpu_idle) from [<c034d690>] (do_idle+0x23c/0x29c)
<4>[45042.902281] [<c034d690>] (do_idle) from [<c034d9f4>] (cpu_startup_entry+0x18/0x1c)
<4>[45042.909659] [<c034d9f4>] (cpu_startup_entry) from [<c0c01188>] (start_kernel+0x6b0/0x6c0)

Updated the master build. Enjoy!

12 Likes

FYI. Your diffconfig-ath10k_chromium is missing this line

CONFIG_PACKAGE_ath10k-firmware-qca988x=m
1 Like

friends, can you send me a functional configuration for SQM and an R7800 with 300MB download and 900MB upload?

Thank you.

PD: wireguard has a kernel compatibility bug

Were the NSS drivers fixed already? So that the trick with promiscuoous mode is not needed?
I'm not sure what other impact there is when doing this.
But without NSS Gbit LAN speed cannot be reached, right?

I don't have any custom internal DNS sites so I've never replicated this bug myself. There hasn't been a specific fix for this other than promiscuous mode. Every now an then someone reports they have custom internal sites and have issues, promiscuous mode fixes it.

NSS is the only was for ipq806x devices to consistently route at gig line speeds. Hope that helps!

2 Likes

Thanks! And what do you suggest at the moment, your 23.03 or 23.05 NSS .... I've read back a couple of months and issues seem to be mostly on 23.05. I'm looking for a reliable router, not per sé bleeding edge.
But with recent security updates. And a working Wireguard :wink:

You didn't ask me but I've got to jump in on this one.

<rant>

I really don't get why there is this misconception that 22.03.5 is "old" or "lacking security updates". It's the most recent stable release. It can be updated even after flashing to have most if not all security patches other than whatever is released into the kernel code after release. If your router or traffic gets compromised by an evil actor it will probably be due to a misconfiguration and not because of lacking a kernel or openssl security update. And that's the .5 release. 22.03.4 with manually updated (or repackaged with ImageBuilder) openssl and wpad packages is probably as secure as 22.03.5.

23.05 is not even a thing. It hasn't been announced. It will still get at least two RC releases if not more. 23.05 is really Snapshot. Don't expect a final 23.05.0 before summer is over.

Run Snapshot (or 23.05) if you must - as in you have devices or features that are not supported in a 5.10 kernel, or that need fixes that are only available in 5.15 and not backported, or if you just want to tinker. Power to you. It will always be inherently more unstable than 22.03.x; case in point are the crashes being posted and what seems a Wireguard issue. It will require constant reflashing as it gets updated with more fixes. changes, kernel bumps, and tremendously more wasteful, changes to architectures and devices other than ipq806x that do nothing for this build but yet make whatever you are running no longer "the latest". There is no guarantee that future builds/flashes will be more stable than what you have when you run Snapshot/23.05, but yet you can't keep the current flash for long because it's outdated as soon as a commit gets applied to the branch.

If SQM is not working on 22.03.x and you really need it then sure, run Snapshot/23.05 with the instability that represents and the burden/fun to keep reflashing/tinkering.

For "reliable and not per sé bleeding edge" IMO that's a slam dunk for 22.03.x

</RANT>

Just my 0.02.

2 Likes

Thanks a lot. Exactly what I need to know :slight_smile:
And I confused 23.03.5 with 23.05, my bad. Thought it was released (too) but it isn't.

1 Like

I have tried and without promismuco mode it does not work. Someone uploaded some improvements that solved it without that mode, but I don't have the knowledge for it, you would have to make your own image to insert it, since I think acwifidude has not implemented it in theirs.

agustin, your script has disappeared from the repository, any way to recover it?

I can see it here:
https://github.com/AgustinLorenzo/openwrt/blob/9c20f0ebb55972d75376c8594a096c49c868b46c/target/linux/ipq807x/base-files/etc/init.d/misc_fixes