CF-E385AC / OpenWrt 19.07.4, r11208-ce6496d796 / Kernel Crash

hi

There is some reason it crashes while it is booting up... and then comes back up again...

[   11.775346] pci 0000:00:00.0: using irq 40 for pin 1
[   11.780390] ath10k 4.19 driver, optimized for CT firmware, probing pci device: 0x46.
[   11.813633] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[   11.819641] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[   11.892319] random: crng init done
[   11.895800] random: 6 urandom warning(s) missed due to ratelimiting
[   12.043563] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/fwcfg-pci-0000:00:00.0.txt failed with error -2
[   12.054278] ath10k_pci 0000:00:00.0: Falling back to user helper
[   12.407985] firmware ath10k!fwcfg-pci-0000:00:00.0.txt: firmware_loading_store: map pages failed
[   12.421212] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA9984/hw1.0/ct-firmware-5.bin failed with error -2
[   12.432365] ath10k_pci 0000:00:00.0: Falling back to user helper
[   12.733700] firmware ath10k!QCA9984!hw1.0!ct-firmware-5.bin: firmware_loading_store: map pages failed
[   12.743928] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA9984/hw1.0/ct-firmware-2.bin failed with error -2
[   12.755074] ath10k_pci 0000:00:00.0: Falling back to user helper
[   13.048963] firmware ath10k!QCA9984!hw1.0!ct-firmware-2.bin: firmware_loading_store: map pages failed
[   13.058581] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA9984/hw1.0/firmware-6.bin failed with error -2
[   13.069460] ath10k_pci 0000:00:00.0: Falling back to user helper
[   13.453699] firmware ath10k!QCA9984!hw1.0!firmware-6.bin: firmware_loading_store: map pages failed
[   14.127840] ath10k_pci 0000:00:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe
[   14.137934] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   14.158062] ath10k_pci 0000:00:00.0: firmware ver 10.4b-ct-9984-fW-13-795874169 api 5 features mfp,peer-flow-ctrl,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,set-special-CT,tx-rc-CT,cust-stats-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT,wmi-bcn-rc-CT crc32 f3d4b769
[   16.514326] ath10k_pci 0000:00:00.0: board_file api 2 bmi_id 0:1 crc32 85498734
[   22.376980] ath10k_pci 0000:00:00.0: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
[   22.384613] ath10k_pci 0000:00:00.0: msdu-desc: 2500  skid: 32
[   22.466402] ath10k_pci 0000:00:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
[   22.477516] ath10k_pci 0000:00:00.0: wmi print 'free: 84920 iram: 13316 sram: 11224'
[   22.733447] ath10k_pci 0000:00:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 32 raw 0 hwcrypto 1
[   22.873228] CPU 0 Unable to handle kernel paging request at virtual address 04020404, epc == 800d5fe4, ra == 8021b4b4
[   22.884030] Oops[#1]:
[   22.886342] CPU: 0 PID: 555 Comm: kmodloader Not tainted 4.14.195 #0
[   22.892779] task: 8fdb72a0 task.stack: 8fff4000
[   22.897369] $ 0   : 00000000 00000062 00020000 04000400
[   22.902675] $ 4   : 8f2d3125 04020400 00008000 00000008
[   22.907982] $ 8   : 00260200 00000c00 04000000 001f0040
[   22.913288] $12   : 00000001 00000001 804d0160 00000000
[   22.918595] $16   : 00007fff 04020400 00004000 00000008
[   22.923900] $20   : 04000400 8f2d3125 800d5fe4 00000002
[   22.929206] $24   : 00000000 8007b48c
[   22.934514] $28   : 8fff4000 8fff5cd8 00000001 8021b4b4
[   22.939820] Hi    : 00000000
[   22.942733] Lo    : 00000000
[   22.945648] epc   : 800d5fe4 0x800d5fe4
[   22.949537] ra    : 8021b4b4 0x8021b4b4
[   22.953425] Status: 1100fc03 KERNEL EXL IE
[   22.957668] Cause : 00800008 (ExcCode 02)
[   22.961732] BadVA : 04020404
[   22.964646] PrId  : 00019750 (MIPS 74Kc)
[   22.968622] Modules linked in: ath10k_pci ath10k_core ath pppox ppp_generic nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_FLOWOFFLOAD xt_CT slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt compat nf_log_ipv6 nf_log_common(FCE) ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[   23.033914] Process kmodloader (pid: 555, threadinfo=8fff4000, task=8fdb72a0, tls=77f39efc)
[   23.042375] Stack : 00000000 00000001 00000001 c04f67a0 8fff5d4c 8fff5e14 800d6e28 8fff78e0
[   23.050857]         8fff5d88 804daf90 00000003 800d6e78 00000001 00000001 00000003 804796bc
[   23.059340]         800d5fe4 80541000 8f5c1a00 8fff78e0 8fff5d4c 800d6e28 8fff5e14 800d6ce0
[   23.067824]         000002a8 804e0000 00100000 001f0040 8fff4000 04000400 04040400 04000000
[   23.076308]         00000000 0012c174 00100400 20200400 00000c00 00000001 002d3600 000000ac
[   23.084789]         ...
[   23.087272] Call Trace:
[   23.087300] [<800d6e28>] 0x800d6e28
[   23.093322] [<800d6e78>] 0x800d6e78
[   23.096859] [<800d5fe4>] 0x800d5fe4
[   23.100408] [<800d6e28>] 0x800d6e28
[   23.103947] [<800d6ce0>] 0x800d6ce0
[   23.107493] [<800d6e28>] 0x800d6e28
[   23.111025] [<800d8c1c>] 0x800d8c1c
[   23.114570] [<8012abc4>] 0x8012abc4
[   23.118117] [<8007b48c>] 0x8007b48c
[   23.121659] [<800d93e4>] 0x800d93e4
[   23.125204] [<800714ac>] 0x800714ac
[   23.128745]
[   23.130252] Code: 00001025  03e00008  00000000 <8ca30004> 90820000  90610000  24840001  14220004  24630001
[   23.140150]
[   23.141689] ---[ end trace fbc691ada94a7467 ]---
[   23.147909] Kernel panic - not syncing: Fatal exception
[   23.153931] Rebooting in 1 seconds..

U-Boot 1.1.4-g93f29c3b-dirty (May  4 2018 - 11:10:12)

ap135 - Scorpion 1.0DRAM:
sri
Scorpion 1.0
ath_ddr_initial_config(200): (32bit) ddr2 init
tap = 0x00000003
Tap (low, high) = (0x4, 0x1e)
Tap values = (0x11, 0x11, 0x11, 0x11)
256 MB
flash size 16MB, sector count = 256
Flash: 16 MB
*** Warning - bad CRC, using default environment

*** Warning *** : PCIe WLAN Module not found !!!
ath_gmac_enet_initialize...
athrs_sgmii_res_cal: cal value = 0x1
Fetching MAC Address from 0x8ffea208
Fetching MAC Address from 0x8ffea208
ath_gmac_enet_initialize: reset mask:c02200
Scorpion  ----> S17 PHY *

Any hints as to why this is happening....

root@OpenWrt:/# lspci -v
00:00.0 Network controller: Qualcomm Atheros QCA9984 802.11ac Wave 2 Wireless Network Adapter
        Subsystem: Qualcomm Atheros Device cafe
        Flags: bus master, fast devsel, latency 0, IRQ 40
        Memory at 10000000 (64-bit, non-prefetchable) [size=2M]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable- Count=1/32 Maskable+ 64bit+
        Capabilities: [70] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [148] Device Serial Number 00-00-00-00-00-00-00-00
        Capabilities: [158] Latency Tolerance Reporting
        Capabilities: [160] L1 PM Substates
        Kernel driver in use: ath10k_pci
lspci: Unable to load libkmod resources: error -12
root@OpenWrt:/# lspci -nv
00:00.0 0280: 168c:0046
        Subsystem: 168c:cafe
        Flags: bus master, fast devsel, latency 0, IRQ 40
        Memory at 10000000 (64-bit, non-prefetchable) [size=2M]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable- Count=1/32 Maskable+ 64bit+
        Capabilities: [70] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [148] Device Serial Number 00-00-00-00-00-00-00-00
        Capabilities: [158] Latency Tolerance Reporting
        Capabilities: [160] L1 PM Substates
        Kernel driver in use: ath10k_pci
lspci: Unable to load libkmod resources: error -12

G

seems you're using the ath10k-ct package, try using the plain ath10k instead.