Loading SFE classier causes Kernel Panic

Loading SFE classier causes Kernel Panic

Board:QCAIPQ406. Kernel: Linux OpenWrt 3.14.77. Following are the Logs:

root@OpenWrt:/tmp# ./shortcut-fe start
unloading the module failed
[ 6538.502043] fast-classifier: starting up
[ 6538.505479] fast-classifier: registered
[ 6538.509146] ------------[ cut here ]------------
[ 6538.513408] kernel BUG at /home/ubuntu/acctonteam_india/gerrit/open_wrt_acton/qca-networking-2017-spf-5-0_qca_oem/qsdk/build_dir/target-arm_cortex-a7_uClibc-1.0.14_eabi/linux-ipq806x/fast-classifier-glocal-dev/fast-classifier/fast-classifier.c:1778!
[ 6538.535447] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP ARM
[ 6538.541253] Modules linked in: fast_classifier(+) ecm smart_antenna(P) ath_pktlog(P) qca_ol umac ath_spectral(P) ath_dfs(P) qdf asf(P) mem_manager(P) iptable_nat nf_nat_pptp nf_nat_ipv4 nf_nat_amanda nf_conntrack_pptp nf_conntrack_ipv6 nf_conntrack_ipv4 nf_conntrack_amanda xt_time xt_tcpudp xt_tcpmss xt_string 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_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY ts_kmp ts_fsm ts_bm pppoe ppp_mppe ppp_async nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_rtsp nf_nat_proto_gre nf_nat_irc nf_nat_h323 nf_nat_ftp nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtsp nf_conntrack_proto_gre nf_conntrack_irc nf_conntrack_h323 nf_conntrack_ftp nf_conntrack_broadcast l2tp_ppp iptable_raw iptable_mangle iptable_filter ipt_ah ipt_REJECT ipt_MASQUERADE ipt_ECN ip_tables crc_ccitt arptable_filter arpt_mangle arp_tables fuse em_cmp sch_teql em_nbyte sch_htb sch_dsmark sch_tbf sch_pie sch_gred em_meta cls_basic act_ipt sch_prio sch_codel em_text sch_sfq act_police sch_fq sch_red act_connmark act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_hfsc sch_ingress qca_nss_tunipip6 qca_nss_tun6rd qca_nss_ipsec qca_nss_cfi_cryptoapi qca_nss_cfi_ocf qca_nss_qdisc qca_nss_ipsecmgr bootconfig qca_nss_macsec qca_nss_crypto_tool qca_nss_crypto qca_nss_pptp pptp pppox qca_nss_map_t qca_nss_lag_mgr qca_nss_l2tpv2 hyfi_bridging nf_nat_proto_sctp nf_nat libcrc32c ledtrig_usbdev nf_conntrack_proto_sctp essedma ip6t_REJECT ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables qca_mcs qca_85xx_sw hyfi_qdisc msdos bonding ip_gre gre ifb nat46 sit qca_nss_drv l2tp_netlink l2tp_core ipcomp6 xfrm6_tunnel xfrm6_mode_tunnel xfrm6_mode_transport xfrm6_mode_beet esp6 ah6 ipcomp xfrm4_tunnel xfrm4_mode_tunnel xfrm4_mode_transport xfrm4_mode_beet esp4 ah4 ip6_tunnel qca_nss_gmac tunnel6 tunnel4 ip_tunnel snd_pcm_oss snd_mixer_oss snd_rawmidi snd_seq_device snd_hwdep qca_ssdk ppp_generic slhc af_key xfrm_user xfrm_ipcomp xfrm_algo vfat fat ntfs qrfs nf_conntrack nls_iso8859_1 nls_cp437 shortcut_fe_drv aq_phy shortcut_fe_ipv6 shortcut_fe sha1_generic qcrypto cryptosoft cryptodev ocf md5 hmac ecb des_generic cbc authenc usb_storage leds_gpio xhci_hcd dwc3 udc_core phy_qcom_ssusb phy_qcom_hsusb phy_qca_uniphy phy_qca_baldur sd_mod ahci_platform gpio_button_hotplug button_hotplug input_core usbcore nls_base usb_common [last unloaded: ath_hal]
[ 6538.774004] CPU: 2 PID: 11743 Comm: insmod Tainted: P             3.14.77 #3
[ 6538.781026] task: cdd91b00 ti: cde2a000 task.ti: cde2a000
[ 6538.786433] PC is at init_module+0x2b4/0x3cc [fast_classifier]
[ 6538.792237] LR is at init_module+0x2a0/0x3cc [fast_classifier]
[ 6538.798048] pc : [<bfd8e2b4>]    lr : [<bfd8e2a0>]    psr: a0000013
[ 6538.798048] sp : cde2bde8  ip : 00000000  fp : bfd847a0
[ 6538.809517] r10: 00000000  r9 : bfd846fc  r8 : bfd8c8c4
[ 6538.814701] r7 : 00000001  r6 : bfd8469c  r5 : 00000000  r4 : bfd8c8c4
[ 6538.821233] r3 : c0847158  r2 : bf1215c8  r1 : 00000007  r0 : 0000001b
[ 6538.827741] Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[ 6538.834873] Control: 10c5387d  Table: 8d26006a  DAC: 00000015
[ 6538.840767]
[ 6538.840767] SP: 0xcde2bd68:
[ 6538.844821] bd68  60000013 ffffffff 00000000 00000000 00000000 00000000 c08c1396 0000001b
[ 6538.852969] bd88  60000013 bfd8e2b8 00000000 c0209858 00000000 c02095ec 0000001b 00000007
[ 6538.861178] bda8  bf1215c8 c0847158 bfd8c8c4 00000000 bfd8469c 00000001 bfd8c8c4 bfd846fc
[ 6538.869284] bdc8  00000000 bfd847a0 00000000 cde2bde8 bfd8e2a0 bfd8e2b4 a0000013 ffffffff
[ 6538.877444] bde8  bfd8e000 cde2a008 c08463c8 c5b12a9c bfd847dc 00000000 00000000 c0212da8
[ 6538.885605] be08  60000013 00000000 bfd847dc cac2c000 c08cacd8 00000004 cac2c00c cf80fc00
[ 6538.893765] be28  c03cceb4 c03cd48c 80000000 cff3d120 cfdfa000 00000000 ca0c0a40 c02b30f0
[ 6538.901924] be48  cfdde60c 00000005 ca0c0080 d2ddb000 c085ab60 bd943663 bfd84794 cde2bf54
[ 6538.910092]
[ 6538.910092] R3: 0xc08470d8:
[ 6538.914339] 70d8  bf76663c bf76663c bf766620 c0847458 c08470e8 c08470e8 c08484c8 c08484c8
[ 6538.922496] 70f8  c08470f8 c08470f8 c0847100 c0847100 ccfcef54 ccfcdf54 c0847110 c0847110
[ 6538.930657] 7118  c0847118 c0847118 c0847120 c0847120 ccfcc354 c0848670 ccf39b54 ccfcdb54
[ 6538.938817] 7138  c0847138 c0847138 00000000 00000000 d29cd000 000003e8 00000001 00000001
[ 6538.946977] 7158  bf1215c8 0000012c 00000040 00001000 00000000 c07b337c 00000030 00000004
[ 6538.955135] 7178  000001a4 00000000 c05a13f0 00000000 00000000 00000000 c07b338a 00000034
[ 6538.963296] 7198  00000004 000001a4 00000000 c05a13f0 00000000 00000000 00000000 c07b3398
[ 6538.971457] 71b8  00000038 00000004 000001a4 00000000 c05a13f0 00000000 00000000 00000000
[ 6538.979634] Process insmod (pid: 11743, stack limit = 0xcde2a238)
[ 6538.985707] Stack: (0xcde2bde8 to 0xcde2c000)
[ 6538.990067] bde0:                   bfd8e000 cde2a008 c08463c8 c5b12a9c bfd847dc 00000000
[ 6538.998235] be00: 00000000 c0212da8 60000013 00000000 bfd847dc cac2c000 c08cacd8 00000004
[ 6539.006399] be20: cac2c00c cf80fc00 c03cceb4 c03cd48c 80000000 cff3d120 cfdfa000 00000000
[ 6539.014518] be40: ca0c0a40 c02b30f0 cfdde60c 00000005 ca0c0080 d2ddb000 c085ab60 bd943663
[ 6539.022677] be60: bfd84794 cde2bf54 c5b12800 bfd84794 c5b12a9c bfd847dc 00000000 00000026
[ 6539.030837] be80: bfd847a0 c027e638 bfd847a0 00007fff c027bbf8 00000000 00000000 00000000
[ 6539.038997] bea0: cde2a008 c0846400 d2ddb000 000005c8 c070ccb8 d2dde45c bfd848d4 012f8348
[ 6539.047155] bec0: cde2bf04 000000d2 00000000 00000000 00000000 00000000 00000000 00000000
[ 6539.055325] bee0: 6e72656b 00006c65 00000000 00000000 00000000 00000000 00000000 00000000
[ 6539.063487] bf00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 bd943663
[ 6539.071635] bf20: 000000d2 012f8388 00004e54 012f8348 00000080 c0208dc4 cde2a000 00000000
[ 6539.079796] bf40: 00000000 c027ec80 cf4c0738 00000001 cb3f86c8 d2ddb000 00004e54 d2dddebc
[ 6539.087955] bf60: d2dddd3d d2ddeb9c 0000a988 0000aaa8 00000000 00000000 00000000 0000121c
[ 6539.096115] bf80: 00000024 00000025 0000001e 00000000 00000017 00000000 00000000 00000000
[ 6539.104273] bfa0: 00000224 c0208c40 00000000 00000000 012f8388 00004e54 012f8348 00001f0d
[ 6539.112433] bfc0: 00000000 00000000 00000224 00000080 012f8348 00000002 00000020 00000000
[ 6539.120616] bfe0: bec3bc30 bec3bc20 000119b4 b6ecd550 a0000010 012f8388 00000000 00000000
[ 6539.128900] [<bfd8e2b4>] (init_module [fast_classifier]) from [<c0212da8>] (do_one_initcall+0xc4/0x180)
[ 6539.138134] [<c0212da8>] (do_one_initcall) from [<c027e638>] (load_module+0x1608/0x1b60)
[ 6539.146202] [<c027e638>] (load_module) from [<c027ec80>] (SyS_init_module+0xf0/0x100)
[ 6539.154015] [<c027ec80>] (SyS_init_module) from [<c0208c40>] (ret_fast_syscall+0x0/0x38)
[ 6539.162086] Code: e588503c e5932000 e3520000 0a000000 (e7f001f2)
[ 6539.168157] ---[ end trace 07289c611b7d81f7 ]---
[ 6539.172756] Kernel panic - not syncing: Fatal exception
[ 6539.177971] CPU3: stopping
[ 6539.180662] CPU: 3 PID: 0 Comm: swapper/3 Tainted: P      D      3.14.77 #3
[ 6539.187622] [<c021e370>] (unwind_backtrace) from [<c021b2b4>] (show_stack+0x10/0x14)
[ 6539.195336] [<c021b2b4>] (show_stack) from [<c03ca198>] (dump_stack+0x78/0x98)
[ 6539.202540] [<c03ca198>] (dump_stack) from [<c021d628>] (handle_IPI+0xb8/0x140)
[ 6539.209829] [<c021d628>] (handle_IPI) from [<c02084dc>] (gic_handle_irq+0x54/0x5c)
[ 6539.217380] [<c02084dc>] (gic_handle_irq) from [<c0209540>] (__irq_svc+0x40/0x70)
[ 6539.224839] Exception stack(0xcf8b7fa0 to 0xcf8b7fe8)
[ 6539.229883] 7fa0: ffffffed 00000000 0f5a6000 00000000 cf8b6030 cf8b6000 10c0387d c089c2c4
[ 6539.238038] 7fc0: 8020406a 410fc075 00000000 00000000 00000001 cf8b7fe8 c0218a58 c0218a5c
[ 6539.246191] 7fe0: 60000013 ffffffff
[ 6539.249675] [<c0209540>] (__irq_svc) from [<c0218a5c>] (arch_cpu_idle+0x30/0x50)
[ 6539.257056] [<c0218a5c>] (arch_cpu_idle) from [<c02650dc>] (cpu_startup_entry+0xa4/0x108)
[ 6539.265276] [<c02650dc>] (cpu_startup_entry) from [<80208584>] (0x80208584)
[ 6539.272151] CPU0: stopping
[ 6539.274843] CPU: 0 PID: 0 Comm: swapper/0 Tainted: P      D      3.14.77 #3
[ 6539.281798] [<c021e370>] (unwind_backtrace) from [<c021b2b4>] (show_stack+0x10/0x14)
[ 6539.289517] [<c021b2b4>] (show_stack) from [<c03ca198>] (dump_stack+0x78/0x98)
[ 6539.296721] [<c03ca198>] (dump_stack) from [<c021d628>] (handle_IPI+0xb8/0x140)
[ 6539.304013] [<c021d628>] (handle_IPI) from [<c02084dc>] (gic_handle_irq+0x54/0x5c)
[ 6539.311565] [<c02084dc>] (gic_handle_irq) from [<c0209540>] (__irq_svc+0x40/0x70)
[ 6539.319022] Exception stack(0xc083ff60 to 0xc083ffa8)
[ 6539.324066] ff60: ffffffed 00000000 0f58e000 00000000 c083e030 c083e000 c08463c0 ffffffff
[ 6539.332225] ff80: c089c014 cfffc180 c0835038 c089c010 00000001 c083ffa8 c0218a58 c0218a5c
[ 6539.340375] ffa0: 60000013 ffffffff
[ 6539.343857] [<c0209540>] (__irq_svc) from [<c0218a5c>] (arch_cpu_idle+0x30/0x50)
[ 6539.351238] [<c0218a5c>] (arch_cpu_idle) from [<c02650dc>] (cpu_startup_entry+0xa4/0x108)
[ 6539.359397] [<c02650dc>] (cpu_startup_entry) from [<c0813b0c>] (start_kernel+0x340/0x3b4)
[ 6539.367548] CPU1: stopping
[ 6539.370243] CPU: 1 PID: 0 Comm: swapper/1 Tainted: P      D      3.14.77 #3
[ 6539.377196] [<c021e370>] (unwind_backtrace) from [<c021b2b4>] (show_stack+0x10/0x14)
[ 6539.384916] [<c021b2b4>] (show_stack) from [<c03ca198>] (dump_stack+0x78/0x98)
[ 6539.392122] [<c03ca198>] (dump_stack) from [<c021d628>] (handle_IPI+0xb8/0x140)
[ 6539.399410] [<c021d628>] (handle_IPI) from [<c02084dc>] (gic_handle_irq+0x54/0x5c)
[ 6539.406961] [<c02084dc>] (gic_handle_irq) from [<c0209540>] (__irq_svc+0x40/0x70)
[ 6539.414420] Exception stack(0xcf8b3fa0 to 0xcf8b3fe8)
[ 6539.419463] 3fa0: ffffffed 00000000 0f596000 00000000 cf8b2030 cf8b2000 10c0387d c089c2c4
[ 6539.427622] 3fc0: 8020406a 410fc075 00000000 00000000 00000001 cf8b3fe8 c0218a58 c0218a5c
[ 6539.435774] 3fe0: 60000013 ffffffff
[ 6539.439257] [<c0209540>] (__irq_svc) from [<c0218a5c>] (arch_cpu_idle+0x30/0x50)
[ 6539.446635] [<c0218a5c>] (arch_cpu_idle) from [<c02650dc>] (cpu_startup_entry+0xa4/0x108)
[ 6539.454818] [<c02650dc>] (cpu_startup_entry) from [<80208584>] (0x80208584)
[ 6539.461776] Rebooting in 3 seconds..
Format: Log Type - Time(microsec) - Message - Optional Info
Log Type: B - Since Boot(Power On Reset),  D - Delta,  S - Statistic
S - QC_IMAGE_VERSION_STRING=BOOT.BF.3.1.1-00117
S - IMAGE_VARIANT_STRING=DAABANAZA
S - OEM_IMAGE_VERSION_STRING=CRM
S - Boot Config, 0x00000020
S - Reset status Config, 0x00000012
S - Core 0 Frequency, 0 MHz
B -       261 - PBL, Start
B -      1338 - bootable_media_detect_entry, Start
B -      1678 - bootable_media_detect_success, Start
B -      1692 - elf_loader_entry, Start
B -      5068 - auth_hash_seg_entry, Start
B -      7211 - auth_hash_seg_exit, Start
B -    578930 - elf_segs_hash_verify_entry, Start
B -    696874 - PBL, End
B -    696898 - SBL1, Start
B -    787630 - pm_device_init, Start
D -         7 - pm_device_init, Delta
B -    789157 - boot_flash_init, Start
D -     54259 - boot_flash_init, Delta
B -    847557 - boot_config_data_table_init, Start
D -      3836 - boot_config_data_table_init, Delta - (419 Bytes)
B -    854769 - clock_init, Start
D -      7573 - clock_init, Delta
B -    866845 - CDT version:2,Platform ID:9,Major ID:0,Minor ID:0,Subtype:16
B -    870373 - sbl1_ddr_set_params, Start
B -    875363 - cpr_init, Start
D -         2 - cpr_init, Delta
B -    879802 - Pre_DDR_clock_init, Start
D -         5 - Pre_DDR_clock_init, Delta
D -     13233 - sbl1_ddr_set_params, Delta
B -    893536 - pm_driver_init, Start
D -         2 - pm_driver_init, Delta
B -    910636 - Image Load, Start
D -    140785 - QSEE Image Loaded, Delta - (274048 Bytes)
B -   1051901 - Image Load, Start
D -      1438 - SEC Image Loaded, Delta - (2048 Bytes)
B -   1062309 - Image Load, Start
D -    212999 - APPSBL Image Loaded, Delta - (435411 Bytes)
B -   1275759 - QSEE Execution, Start
D -        60 - QSEE Execution, Delta
B -   1281944 - SBL1, End
D -    587202 - SBL1, Delta
S - Flash Throughput, 2005 KB/s  (711926 Bytes,  355033 us)
S - DDR Frequency, 537 MHz


U-Boot 2012.07 v2.0.0 [Chaos Calmer beta-test,r35193] (Feb 01 2018 - 13:17:44)

Have a Great Day!
Thanks,
Guruvenkatesh R.

is this backported to a 3.14 kernel ?
i thought SFE was ported on top of a newer kernel [4.4 or similar]

are there any other kmods that are ported ?

IIRC, kmod-sched-cake does not work well with SFE

it should work on 3.10 at least dd-wrt uses that
and also ubnt https://github.com/Lochnair/kernel_e100

I am seeing similar issue on "Linux(3.14.77) OpenWrt (CC) ". any fix for this issue?

[0.000003 0.000003] [186906.023671] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[0.034567 0.034564] [186906.030853] pgd = c0204000
[0.036431 0.001864] [186906.033714] [00000000] *pgd=00000000
[0.038810 0.002379] [186906.037297] Internal error: Oops: 80000007 [#1] PREEMPT SMP ARM
[0.043050 0.004240] [186906.043260] Modules linked in: ath9k ath9k_common iptable_nat ath9k_hw ath10k_pci ath10k_core ath pppoe nf_nat_pptp nf_nat_ipv4 nf_nat_amanda nf_conntrack_pptp nf_conntrack_ipv4 nf_conntrack_amanda mac80211 l2tp_ppp ftdi_sio cfg80211 xt_time xt_tcpudp xt_tcpmss xt_string 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_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY usbserial usbnet usbmon ts_kmp ts_fsm ts_bm r8152 pppox ppp_mppe ppp_async nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_rtsp nf_nat_proto_gre nf_nat_irc nf_nat_h323 nf_nat_ftp nf_defrag_ipv4 nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtsp nf_conntrack_proto_gre nf_conntrack_irc nf_conntrack_h323 nf_conntrack_ftp nf_conntrack_broadcast iptable_raw iptable_mangle iptable_filter ipt_ah ipt_REJECT ipt_MASQUERADE ipt_ECN ip_tables crc_ccitt compat cdc_acm arptable_filter arpt_mangle arp_tables sch_teql em_nbyte sch_tbf sch_pie em_meta sch_gred sch_htb em_cmp cls_basic act_ipt x_tables sch_prio sch_codel em_text act_police sch_fq sch_sfq sch_red sch_dsmark act_connmark act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_hfsc sch_ingress qca_nss_ipsec qca_nss_cfi_cryptoapi qca_nss_cfi_ocf qca_nss_qdisc qca_nss_ipsecmgr bootconfig gpio_pcf857x qca_nss_macsec qca_nss_crypto_tool qca_nss_crypto qca_nss_l2tpv2 ppp_generic slhc nf_nat_proto_sctp nf_nat libcrc32c nf_conntrack_proto_sctp essedma qca_85xx_sw msdos bonding ifb qca_nss_drv l2tp_netlink l2tp_core ipcomp xfrm4_tunnel xfrm4_mode_tunnel xfrm4_mode_transport xfrm4_mode_beet esp4 ah4 qca_nss_gmac tunnel4 snd_pcm_oss snd_mixer_oss snd_rawmidi snd_seq_device snd_hwdep qca_ssdk af_key xfrm_user xfrm_ipcomp xfrm_algo vfat fat ntfs qrfs nf_conntrack nls_iso8859_1 nls_cp437 aq_phy shortcut_fe_ipv6 shortcut_fe sha1_generic qcrypto cryptosoft cryptodev ocf md5 hmac ecb des_generic cbc authenc usb_storage leds_gpio xhci_hcd dwc3 dwc3_qcom dwc3_ipq40xx phy_qcom_ssusb phy_qcom_hsusb phy_qca_uniphy phy_qca_baldur ehci_platform ehci_hcd tpm_i2c_infineon sd_mod ahci_platform gpio_button_hotplug button_hotplug input_core usbcore nls_base usb_common mii tpm [last unloaded: shortcut_fe_drv]
[0.252214 0.209164] [186906.250573] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.14.77 #1
[0.258474 0.006260] [186906.256643] task: c080e6d0 ti: c0802000 task.ti: c0802000
[0.261537 0.003063] [186906.262164] PC is at 0x0
[0.262858 0.001321] [186906.264718] LR is at call_timer_fn+0x20/0x80
[0.266916 0.004058] [186906.269061] pc : [<00000000>]    lr : [<c0237a00>]    psr: 20000113
[0.272029 0.005113] [186906.269061] sp : c0803e98  ip : 0f5cb000  fp : 00000200
[0.274667 0.002638] [186906.280676] r10: 00000000  r9 : c0857714  r8 : 00000000
[0.289104 0.014437] [186906.285980] r7 : 00000000  r6 : c0802018  r5 : c0802000  r4 : 00000101
[0.293476 0.004372] [186906.292571] r3 : c0803e98  r2 : 00000000  r1 : 00000000  r0 : 00000000
[0.296760 0.003284] [186906.299176] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
[0.300994 0.004234] [186906.306553] Control: 10c5387d  Table: 8bec806a  DAC: 00000015
[0.304048 0.003054] [186906.312359]
[0.304824 0.000776] [186906.312359] LR: 0xc0237980:
[0.306222 0.001398] [186906.316778] 7980  e2800014 e5903004 e5801004 e8810009 e5831000 e12fff1e e92d40f8 e1a06000
[0.310315 0.004093] [186906.325025] 79a0  e1a07001 e596500c e3d54003 0a000008 e1a00004 ebff6aad e5870000 e1a01000
[0.334781 0.024466] [186906.333271] 79c0  e596200c e1a00004 e1550002 0a000001 ebff6b4d eafffff2 e8bd80f8 ea0068e0
[0.338814 0.004033] [186906.341517] 79e0  e92d41f3 e1a0300d e3c36d7f e1a00002 e3c6503f e1a08001 e5954004 e12fff31
[0.343026 0.004212] [186906.349763] 7a00  e5953004 e1540003 0a00000f e59f7040 e5d73000 e3530000 1a000009 e58d4000
[0.347661 0.004635] [186906.358010] 7a20  e3001464 e5953004 e59f0028 e59f2028 e58d3004 e1a03008 ebffdd90 e3a03001
[0.351839 0.004178] [186906.366258] 7a40  e5c73000 e3c6603f e5864004 e28dd008 e8bd81f0 c080e0a4 c06d6ef7 c06d7f59
[0.376688 0.024849] [186906.374504] 7a60  e92d4007 e1a0200d e3c23d7f e3a0effa e3c3303f e3a02002 e28dc008 e0601001
[0.382557 0.005869] [186906.382756]
[0.383647 0.001090] [186906.382756] SP: 0xc0803e18:
[0.385969 0.002322] [186906.387178] 3e18  d42d91e9 cfdcb900 c08040c0 cfdcb900 c08040c0 c080e6d0 00000000 00989680
[0.394261 0.008292] [186906.395425] 3e38  00000000 00000000 20000113 ffffffff c0803e84 c0209678 00000000 00000000
[0.398405 0.004144] [186906.403671] 3e58  00000000 c0803e98 00000101 c0802000 c0802018 00000000 00000000 c0857714
[0.402633 0.004228] [186906.411918] 3e78  00000000 00000200 0f5cb000 c0803e98 c0237a00 00000000 20000113 ffffffff
[0.421375 0.018742] [186906.420167] 3e98  cda8d260 00000000 c0856f00 cda8d260 c0803eb8 00000000 00000000 c02384b0
[0.425630 0.004255] [186906.428411] 3eb8  bf102e98 bf1173b8 0f5cb000 00000002 c0802028 c0804080 c0802000 c0804084
[0.429799 0.004169] [186906.436657] 3ed8  00000101 40000001 c0802000 c0232ab0 00000001 c0802000 0000000a 00200000
[0.434016 0.004217] [186906.444902] 3ef8  00000001 011cbcfb 00000000 00000002 c0854010 c0802000 c0802030 00000000
[0.438345 0.004329] [186906.453160]
[0.439117 0.000772] [186906.453160] R3: 0xc0803e18:
[0.460681 0.021564] [186906.457576] 3e18  d42d91e9 cfdcb900 c08040c0 cfdcb900 c08040c0 c080e6d0 00000000 00989680
[0.466704 0.006023] [186906.465824] 3e38  00000000 00000000 20000113 ffffffff c0803e84 c0209678 00000000 00000000
[0.470797 0.004093] [186906.474071] 3e58  00000000 c0803e98 00000101 c0802000 c0802018 00000000 00000000 c0857714
[0.474936 0.004139] [186906.482318] 3e78  00000000 00000200 0f5cb000 c0803e98 c0237a00 00000000 20000113 ffffffff
[0.479103 0.004167] [186906.490562] 3e98  cda8d260 00000000 c0856f00 cda8d260 c0803eb8 00000000 00000000 c02384b0
[0.483244 0.004141] [186906.498811] 3eb8  bf102e98 bf1173b8 0f5cb000 00000002 c0802028 c0804080 c0802000 c0804084
[0.507837 0.024593] [186906.507056] 3ed8  00000101 40000001 c0802000 c0232ab0 00000001 c0802000 0000000a 00200000
[0.512037 0.004200] [186906.515302] 3ef8  00000001 011cbcfb 00000000 00000002 c0854010 c0802000 c0802030 00000000
[0.516599 0.004562] [186906.523556]
[0.517578 0.000979] [186906.523556] R5: 0xc0801f80:
[0.519217 0.001639] [186906.527975] 1f80  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[0.523680 0.004463] [186906.536223] 1fa0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[0.547429 0.023749] [186906.544469] 1fc0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[0.551573 0.004144] [186906.552715] 1fe0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[0.555712 0.004139] [186906.560962] 2000  00000002 00000102 00000000 c080e6d0 c0810c08 00000000 00000015 c080e6d0
[0.559991 0.004279] [186906.569210] 2020  cfdcb900 cf879b00 ce959c80 c0802018 c0800900 00000000 c0803f9c c0803f18
[0.564166 0.004175] [186906.577454] 2040  c020f840 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[0.568207 0.004041] [186906.585701] 2060  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[0.593439 0.025232] [186906.593954]
[0.594307 0.000868] [186906.593954] R6: 0xc0801f98:
[0.595780 0.001473] [186906.598375] 1f98  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[0.600077 0.004297] [186906.606622] 1fb8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[0.604291 0.004214] [186906.614867] 1fd8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[0.608512 0.004221] [186906.623115] 1ff8  00000000 00000000 00000002 00000102 00000000 c080e6d0 c0810c08 00000000
[0.634271 0.025759] [186906.631361] 2018  00000015 c080e6d0 cfdcb900 cf879b00 ce959c80 c0802018 c0800900 00000000
[0.638546 0.004275] [186906.639608] 2038  c0803f9c c0803f18 c020f840 00000000 00000000 00000000 00000000 00000000
[0.642742 0.004196] [186906.647854] 2058  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[0.646954 0.004212] [186906.656102] 2078  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[0.650883 0.003929] [186906.664352]
[0.651609 0.000726] [186906.664352] R9: 0xc0857694:
[0.653242 0.001633] [186906.668774] 7694  c0857694 c0857694 c085769c c085769c c08576a4 c08576a4 c08576ac c08576ac
[0.678196 0.024954] [186906.677021] 76b4  c08576b4 c08576b4 c08576bc c08576bc c08576c4 c08576c4 c08576cc c08576cc
[0.682695 0.004499] [186906.685268] 76d4  c08576d4 c08576d4 c08576dc c08576dc c08576e4 c08576e4 c08576ec c08576ec
[0.687712 0.005017] [186906.693513] 76f4  c08576f4 c08576f4 c08576fc c08576fc c0857704 c0857704 c085770c c085770c
[0.691824 0.004112] [186906.701762] 7714  c08507d8 c08507d8 c085771c c085771c c0857724 c0857724 c085772c c085772c
[0.695908 0.004084] [186906.710007] 7734  c0857734 c0857734 c085773c c085773c c0857744 c0857744 c085774c c085774c
[0.720286 0.024378] [186906.718254] 7754  c0857754 c0857754 c085775c c085775c c0857764 c0857764 c085776c c085776c
[0.724833 0.004547] [186906.726500] 7774  c0857774 c0857774 c085777c c085777c c0857784 c0857784 c085778c c085778c
[0.729504 0.004671] [186906.734762] Process swapper/0 (pid: 0, stack limit = 0xc0802238)
[0.733468 0.003964] [186906.740838] Stack: (0xc0803e98 to 0xc0804000)
[0.735654 0.002186] [186906.745271] 3e80:                                                       cda8d260 00000000
[0.739766 0.004112] [186906.753538] 3ea0: c0856f00 cda8d260 c0803eb8 00000000 00000000 c02384b0 bf102e98 bf1173b8
[0.763439 0.023673] [186906.761784] 3ec0: 0f5cb000 00000002 c0802028 c0804080 c0802000 c0804084 00000101 40000001
[0.767711 0.004272] [186906.770028] 3ee0: c0802000 c0232ab0 00000001 c0802000 0000000a 00200000 00000001 011cbcfb
[0.779192 0.011481] [186906.778274] 3f00: 00000000 00000002 c0854010 c0802000 c0802030 00000000 c0803f94 c0854014
[0.784768 0.005576] [186906.786525] 3f20: c07f76c0 cfffc180 c0854010 c0232e8c c03e449c 00000014 c07ffdf8 c0218a18
[0.789557 0.004789] [186906.794773] 3f40: d0802000 c0803f60 c080a854 c02084e0 c0218de8 60000013 ffffffff c0209580
[0.805882 0.016325] [186906.803017] 3f60: ffffffed 00000000 0f5cb000 00000000 c0802000 c0802030 ffffffff c080a3c0
[0.810434 0.004552] [186906.811267] 3f80: c0854014 c07f76c0 cfffc180 c0854010 c0813148 c0803fa8 c0218de4 c0218de8
[0.814640 0.004206] [186906.819513] 3fa0: 60000013 ffffffff 05038758 c0264410 c06db4ac c07d4aac ffffffff ffffffff
[0.818840 0.004200] [186906.827754] 3fc0: c07d4570 00000000 00000000 c07f76c0 00000000 10c5387d c080a3e8 c07f76bc
[0.823118 0.004278] [186906.835999] 3fe0: c080d698 8020406a 410fc075 00000000 00000000 80208074 00000000 00000000
[0.827364 0.004246] [186906.844270] [<c0237a00>] (call_timer_fn) from [<c02384b0>] (run_timer_softirq+0x190/0x1bc)
[0.852060 0.024696] [186906.852591] [<c02384b0>] (run_timer_softirq) from [<c0232ab0>] (__do_softirq+0xf8/0x22c)
[0.856555 0.004495] [186906.860751] [<c0232ab0>] (__do_softirq) from [<c0232e8c>] (irq_exit+0x8c/0xe8)
[0.860408 0.003853] [186906.868038] [<c0232e8c>] (irq_exit) from [<c0218a18>] (handle_IRQ+0x6c/0x90)
[0.864027 0.003619] [186906.875156] [<c0218a18>] (handle_IRQ) from [<c02084e0>] (gic_handle_irq+0x3c/0x60)
[0.867894 0.003867] [186906.882793] [<c02084e0>] (gic_handle_irq) from [<c0209580>] (__irq_svc+0x40/0x70)
[0.892412 0.024518] [186906.890316] Exception stack(0xc0803f60 to 0xc0803fa8)
[0.894989 0.002577] [186906.895464] 3f60: ffffffed 00000000 0f5cb000 00000000 c0802000 c0802030 ffffffff c080a3c0
[0.899407 0.004418] [186906.903712] 3f80: c0854014 c07f76c0 cfffc180 c0854010 c0813148 c0803fa8 c0218de4 c0218de8
[0.903678 0.004271] [186906.911930] 3fa0: 60000013 ffffffff
[0.905677 0.001999] [186906.915517] [<c0209580>] (__irq_svc) from [<c0218de8>] (arch_cpu_idle+0x30/0x50)
[0.909525 0.003848] [186906.922995] [<c0218de8>] (arch_cpu_idle) from [<c0264410>] (cpu_startup_entry+0xa4/0x108)
[0.934624 0.025099] [186906.931243] [<c0264410>] (cpu_startup_entry) from [<c07d4aac>] (start_kernel+0x314/0x380)
[0.939897 0.005273] [186906.939449] Code: bad PC value
[0.941848 0.001951] [186906.942713] ---[ end trace f51f809aedef178d ]---
[0.946674 0.004826] [186906.947313] Kernel panic - not syncing: Fatal exception in interrupt
[0.951037 0.004363] [186906.953694] CPU3: stopping
[0.952806 0.001769] [186906.956482] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G      D      3.14.77 #1
[0.957260 0.004454] [186906.963547] [<c021e52c>] (unwind_backtrace) from [<c021b614>] (show_stack+0x10/0x14)
[0.962691 0.005431] [186906.971346] [<c021b614>] (show_stack) from [<c03bfa3c>] (dump_stack+0x80/0xa0)
[0.980469 0.017778] [186906.978636] [<c03bfa3c>] (dump_stack) from [<c021d990>] (handle_IPI+0xb8/0x140)
[0.985094 0.004625] [186906.986009] [<c021d990>] (handle_IPI) from [<c02084fc>] (gic_handle_irq+0x58/0x60)
[0.988952 0.003858] [186906.993639] [<c02084fc>] (gic_handle_irq) from [<c0209580>] (__irq_svc+0x40/0x70)
[0.992791 0.003839] [186907.001166] Exception stack(0xcf8b7fa0 to 0xcf8b7fe8)
[0.995387 0.002596] [186907.006315] 7fa0: ffffffed 00000000 0f5e3000 00000000 cf8b6000 cf8b6030 10c0387d c08542c8
[0.999844 0.004457] [186907.014559] 7fc0: 8020406a 410fc075 00000000 00000000 00000000 cf8b7fe8 c0218de4 c0218de8
[1.033193 0.033349] [186907.022783] 7fe0: 60000013 ffffffff
[1.035181 0.001988] [186907.026367] [<c0209580>] (__irq_svc) from [<c0218de8>] (arch_cpu_idle+0x30/0x50)
[1.039008 0.003827] [186907.033842] [<c0218de8>] (arch_cpu_idle) from [<c0264410>] (cpu_startup_entry+0xa4/0x108)
[1.047470 0.008462] [186907.042162] [<c0264410>] (cpu_startup_entry) from [<802085a4>] (0x802085a4)
[1.051061 0.003591] [186907.049085] CPU2: stopping
[1.052586 0.001525] [186907.051878] CPU: 2 PID: 0 Comm: swapper/2 Tainted: G      D      3.14.77 #1
[1.056136 0.003550] [186907.058941] [<c021e52c>] (unwind_backtrace) from [<c021b614>] (show_stack+0x10/0x14)
[1.073928 0.017792] [186907.066741] [<c021b614>] (show_stack) from [<c03bfa3c>] (dump_stack+0x80/0xa0)
[1.077612 0.003684] [186907.074030] [<c03bfa3c>] (dump_stack) from [<c021d990>] (handle_IPI+0xb8/0x140)
[1.081321 0.003709] [186907.081405] [<c021d990>] (handle_IPI) from [<c02084fc>] (gic_handle_irq+0x58/0x60)
[1.085141 0.003820] [186907.089038] [<c02084fc>] (gic_handle_irq) from [<c0209580>] (__irq_svc+0x40/0x70)
[1.089758 0.004617] [186907.096566] Exception stack(0xcf8b5fa0 to 0xcf8b5fe8)
[1.092364 0.002606] [186907.101715] 5fa0: ffffffed 00000000 0f5db000 00000000 cf8b4000 cf8b4030 10c0387d c08542c8
[1.110573 0.018209] [186907.109958] 5fc0: 8020406a 410fc075 00000000 00000000 00000000 cf8b5fe8 c0218de4 c0218de8
[1.114741 0.004168] [186907.118181] 5fe0: 60000013 ffffffff
[1.124110 0.009369] [186907.121765] [<c0209580>] (__irq_svc) from [<c0218de8>] (arch_cpu_idle+0x30/0x50)
[1.140885 0.016775] [186907.129241] [<c0218de8>] (arch_cpu_idle) from [<c0264410>] (cpu_startup_entry+0xa4/0x108)
[1.145121 0.004236] [186907.137543] [<c0264410>] (cpu_startup_entry) from [<802085a4>] (0x802085a4)
[1.148908 0.003787] [186907.144481] CPU1: stopping
[1.150400 0.001492] [186907.147278] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G      D      3.14.77 #1
[1.154097 0.003697] [186907.154338] [<c021e52c>] (unwind_backtrace) from [<c021b614>] (show_stack+0x10/0x14)
[1.158384 0.004287] [186907.162140] [<c021b614>] (show_stack) from [<c03bfa3c>] (dump_stack+0x80/0xa0)
[1.163054 0.004670] [186907.169432] [<c03bfa3c>] (dump_stack) from [<c021d990>] (handle_IPI+0xb8/0x140)
[1.166692 0.003638] [186907.176804] [<c021d990>] (handle_IPI) from [<c02084fc>] (gic_handle_irq+0x58/0x60)
[1.170541 0.003849] [186907.184436] [<c02084fc>] (gic_handle_irq) from [<c0209580>] (__irq_svc+0x40/0x70)
[1.194001 0.023460] [186907.191963] Exception stack(0xcf8b3fa0 to 0xcf8b3fe8)
[1.196616 0.002615] [186907.197114] 3fa0: ffffffed 00000000 0f5d3000 00000000 cf8b2000 cf8b2030 10c0387d c08542c8
[1.200876 0.004260] [186907.205359] 3fc0: 8020406a 410fc075 00000000 00000000 00000032 cf8b3fe8 c0218de4 c0218de8
[1.205053 0.004177] [186907.213581] 3fe0: 60000013 ffffffff
[1.206865 0.001812] [186907.217165] [<c0209580>] (__irq_svc) from [<c0218de8>] (arch_cpu_idle+0x30/0x50)
[1.210741 0.003876] [186907.224642] [<c0218de8>] (arch_cpu_idle) from [<c0264410>] (cpu_startup_entry+0xa4/0x108)
[1.225844 0.015103] [186907.232940] [<c0264410>] (cpu_startup_entry) from [<802085a4>] (0x802085a4)
[1.229431 0.003587] [186907.240003] Rebooting in 3 seconds..

QSDK, while it may contain source from the OpenWrt project, is not OpenWrt, is a proprietary product and cannot be supported here. Please use your Qualcomm Atheros channels for any support needs.

It could very well be. As we know QSDK is openwrt + QC.

As this thread talks about specifically shortcut_fe, Just checking if there was a solution for this in openwrt. If it is, i can patch it.

That is not accurate, in specific to this issue, nor in general.

A quick sanity check would reveal that

  • IPQ40xx was not supported by OpenWrt at the time Qualcomm took parts of OpenWrt
    ("CC" was a 2015 release)
  • IPQ40xx was never supported by OpenWrt on Linux 3.14

This certainly is not the right place to be asking about kernel-level support for a kernel that never existed under OpenWrt.

1 Like

Thank you for the information.

What is the kernel version that openwrt started to support on

Kernel 4.9.

I dont have a fix either on CC. As Jeff pointed out try the latest which has ipq80x/40x targets set in

@slh thank you for the information.

@guru Thank you. I have built openwrt18.06.02 and evaluating the same. In the mean time i am looking for a solution to support the existing system which has this bug.

  1. were you able to resolve the issue? as you started this thread.
  2. did the issue fixed for you when used latest openwrt builds?