GL-INET support, can you tell me why my router is crashing occasionally and suggest a fix please?
GL-AX1800
code 4.5.16
ChatGPT says..
It looks like you've shared a log excerpt that includes kernel panic messages and traces from a system running a Linux kernel (specifically version 4.4.60). The output suggests that there's a crash related to the ath11k driver, which is often used for Qualcomm Atheros Wi-Fi devices.
Panic#2 Part1
ip_set_bitmap_ip
<4>[65000.065586] ath11k c000000.wifi: bss channel survey timed out
<4>[65000.067609] ip_set nfnetlink ip6t_NPT ip6t_MASQUERADE nf_nat_masquerade_ipv6 nf_nat nf_conntrack nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 bonding ifb ip6_udp_tunnel udp_tunnel qca_nss_drv qca_nss_dp udp_diag tcp_diag raw_diag inet_diag tun qca_ssdk vfat fat ntfs nls_utf8 nls_iso8859_1 nls_cp437 mtdoops uas usb_storage xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_qcom dbm uhci_hcd ohci_platform ohci_hcd phy_msm_ssusb_qmp phy_msm_qusb ehci_platform sd_mod scsi_mod kmwan ehci_hcd gpio_button_hotplug gl_sdk4_tertf gl_sdk4_black_white_list usbcore nls_base usb_common mii gl_sdk4_hw_info
<4>[65000.129929] CPU: 1 PID: 121 Comm: kworker/1:1 Not tainted 4.4.60 #0
<4>[65000.130284] Hardware name: Generic DT based system
<4>[65000.136366] Workqueue: events rproc_crash_handler_work
<4>[65000.146331] task: 9deada00 ti: 9d9a8000 task.ti: 9d9a8000
<4>[65000.146473] PC is at ath11k_core_ssr_notifier_cb+0xa4/0xb4 [ath11k]
<4>[65000.151842] LR is at ath11k_hal_dump_srng_stats+0x248/0x2c0 [ath11k]
<4>[65000.157890] pc : [<7f7e6064>] lr : [<7f7e8764>] psr: 60000013
<4>[65000.157890] sp : 9d9a9e28 ip : 00000000 fp : 9d816428
<4>[65000.164495] r10: 8083a520 r9 : 9d816664 r8 : 00000000
<4>[65000.175681] r7 : 8075ff20 r6 : 9e5af210 r5 : 8075ff20 r4 : 97b9092c
<4>[65000.180893] r3 : 00000000 r2 : dc8ba63c r1 : 9eb4a324 r0 : 0000007c
<4>[65000.187491] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
<4>[65000.194001] Control: 10c0383d Table: 5339c06a DAC: 00000055
<0>[65000.201204] Process kworker/1:1 (pid: 121, stack limit = 0x9d9a8210)
<0>[65000.207107] Stack: (0x9d9a9e28 to 0x9d9aa000)
<0>[65000.213529] 9e20: 6d369112 97b9192c 00000000 fffffffd 00000000 80044da0
<0>[65000.217791] 9e40: 8087d520 00000000 8075ff20 ffffffff 9d816428 80045094 00000000 9d9a9e6c
<0>[65000.225951] 9e60: 00000000 9d816778 9d816604 00000001 9d816400 800450c8 00000000 803572ec
<0>[65000.234111] 9e80: 9d81662c 8044c40c 9d81662c 9d816664 9d816400 9d81662c 9d8165c0 8044df58
<0>[65000.242270] 9ea0: 00000001 80357180 8073f77c 8075f02c 9d802380 00000000 fe41e048 9d81662c
<0>[65000.250430] 9ec0: 9d816664 00000003 9d81662c 9d8165c0 9d816664 8083a520 9eb4cb40 8044e290
<0>[65000.258590] 9ee0: 8044e164 9d81662c 9df42780 9eb4cb40 9eb50000 00000000 00000000 8083a520
<0>[65000.266750] 9f00: 9eb4cb40 8003ed30 9eb4cb40 9eb4cb40 00000008 9df42780 9df42798 9eb4cb40
<0>[65000.274909] 9f20: 00000008 9eb4cb54 9d9a8000 8083a520 9eb4cb40 8003f1b0 80836100 9df42780
<0>[65000.283069] 9f40: 8003eec8 00000000 9df43340 9df42780 8003eec8 00000000 00000000 00000000
<0>[65000.291228] 9f60: 00000000 8004428c 00000000 00000000 00000000 9df42780 00000000 00000000
<0>[65000.299388] 9f80: 9d9a9f80 9d9a9f80 00000000 00000000 9d9a9f90 9d9a9f90 9d9a9fac 9df43340
<0>[65000.307548] 9fa0: 8004419c 00000000 00000000 80009c28 00000000 00000000 00000000 00000000
<0>[65000.315707] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<0>[65000.323867] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
<4>[65000.332152] [<7f7e6064>] (ath11k_core_ssr_notifier_cb [ath11k]) from [<80044da0>] (notifier_call_chain+0x2c/0x70)
<4>[65000.340194] [<80044da0>] (notifier_call_chain) from [<80045094>] (__blocking_notifier_call_chain+0x48/0x64)
<4>[65000.350435] [<80045094>] (__blocking_notifier_call_chain) from [<800450c8>] (blocking_notifier_call_chain+0x18/0x20)
<4>[65000.359988] [<800450c8>] (blocking_notifier_call_chain) from [<8044c40c>] (rproc_stop+0x2c/0xc4)
<4>[65000.370748] [<8044c40c>] (rproc_stop) from [<8044df58>] (rproc_trigger_recovery+0x4c/0x258)
<4>[65000.379512] [<8044df58>] (rproc_trigger_recovery) from [<8044e290>] (rproc_crash_handler_work+0x12c/0x1bc)
<4>[65000.387589] [<8044e290>] (rproc_crash_handler_work) from [<8003ed30>] (process_one_work+0x220/0x3b8)
<4>[65000.397309] [<8003ed30>] (process_one_work) from [<8003f1b0>] (worker_thread+0x2e8/0x4d0)
<4>[65000.406594] [<8003f1b0>] (worker_thread) from [<8004428c>] (kthread+0xf0/0xf8)
<4>[65000.414665] [<8004428c>] (kthread) from [<80009c28>] (ret_from_fork+0x14/0x2c)
<0>[65000.421784] Code: eb2a08eb e3500000 0affffe9 ea000000 (e7f001f2)
<4>[65000.428990] ---[ end trace e3650d4d3f64bd15 ]---
<0>[65000.438397] Kernel panic - not syncing: Fatal exception
<2>[65000.439835] CPU3: stopping
<4>[65000.444778] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G D 4.4.60 #0
<4>[65000.447559] Hardware name: Generic DT based system
<4>[65000.454770] [<8001f784>] (unwind_backtrace) from [<8001bad4>] (show_stack+0x10/0x14)
<4>[65000.459461] [<8001bad4>] (show_stack) from [<80260c10>] (dump_stack+0x8c/0xa0)
<4>[65000.467357] [<80260c10>] (dump_stack) from [<8001e6e0>] (handle_IPI+0x104/0x190)
<4>[65000.474387] [<8001e6e0>] (handle_IPI) from [<800093bc>] (gic_handle_irq+0x80/0x94)
<4>[65000.481939] [<800093bc>] (gic_handle_irq) from [<8000a4c0>] (__irq_svc+0x40/0x74)
<4>[65000.489315] Exception stack(0x9e48ff88 to 0x9e48ffd0)
<4>[65000.496864] ff80: 00000001 00000000 00000000 8000b400 9e48e000 808364a0
<4>[65000.501905] ffa0: 806d2f68 00000000 00000000 8082f30c 9e48ffe0 808364a8 60000013 9e48ffd8
<4>[65000.510063] ffc0: 80019394 80019398 60000013 ffffffff
<4>[65000.518220] [<8000a4c0>] (__irq_svc) from [<80019398>] (arch_cpu_idle+0x34/0x50)
<4>[65000.523261] [<80019398>] (arch_cpu_idle) from [<80063664>] (cpu_startup_entry+0x154/0x228)
<4>[65000.530727] [<80063664>] (cpu_startup_entry) from [<4100946c>] (0x4100946c)
<2>[65000.538792] CPU0: stopping
<4>[65000.545645] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G D 4.4.60 #0
<4>[65000.548427] Hardware name: Generic DT based system
<4>[65000.555634] [<8001f784>] (unwind_backtrace) from [<8001bad4>] (show_stack+0x10/0x14)
<4>[65000.560327] [<8001bad4>] (show_stack) from [<80260c10>] (dump_stack+0x8c/0xa0)
<4>[65000.568224] [<80260c10>] (dump_stack) from [<8001e6e0>] (handle_IPI+0x104/0x190)
<4>[65000.575256] [<8001e6e0>] (handle_IPI) from [<800093bc>] (gic_handle_irq+0x80/0x94)
<4>[65000.582808] [<800093bc>] (gic_handle_irq) from [<8000a4c0>] (__irq_svc+0x40/0x74)
<4>[65000.590182] Exception stack(0x80835f50 to 0x80835f98)
<4>[65000.597732] 5f40: 00000001 00000000 00000000 8000b400
<4>[65000.602774] 5f60: 80834000 808364a0 806d2f68 00000000 00000000 8082f30c 80835fa8 808364a8
<4>[65000.610932] 5f80: 80835f48 80835fa0 80019394 80019398 60000013 ffffffff
<4>[65000.619091] [<8000a4c0>] (__irq_svc) from [<80019398>] (arch_cpu_idle+0x34/0x50)
<4>[65000.625517] [<80019398>] (arch_cpu_idle) from [<80063664>] (cpu_startup_entry+0x154/0x228)
<4>[65000.633158] [<80063664>] (cpu_startup_entry) from [<807f7d28>] (start_kernel+0x430/0x43c)
<2>[65000.641225] CPU2: stopping
<4>[65000.649464] CPU: 2 PID: 0 Comm: swapper/2 Tainted: G D 4.4.60 #0
<4>[65000.652073] Hardware name: Generic DT based system
<4>[65000.659281] [<8001f784>] (unwind_backtrace) from [<8001bad4>] (show_stack+0x10/0x14)
<4>[65000.663971] [<8001bad4>] (show_stack) from [<80260c10>] (dump_stack+0x8c/0xa0)
<4>[65000.671869] [<80260c10>] (dump_stack) from [<8001e6e0>] (handle_IPI+0x104/0x190)
<4>[65000.678901] [<8001e6e0>] (handle_IPI) from [<800093bc>] (gic_handle_irq+0x80/0x94)
<4>[65000.686454] [<800093bc>] (gic_handle_irq) from [<8000a4c0>] (__irq_svc+0x40/0x74)
<4>[65000.693828] Exception stack(0x9e48df88 to 0x9e48dfd0)
<4>[65000.701377] df80: 00000001 00000000 00000000 8000b400 9e48c000 808364a0
<4>[65000.706419] dfa0: 806d2f68 00000000 00000000 8082f30c 9e48dfe0 808364a8 00000000 9e48dfd8
<4>[65000.714576] dfc0: 80019394 80019398 60000013 ffffffff
<4>[65000.722733] [<8000a4c0>] (__irq_svc) from [<80019398>] (arch_cpu_idle+0x34/0x50)
<4>[65000.727773] [<80019398>] (arch_cpu_idle) from [<80063664>] (cpu_startup_entry+0x154/0x228)
<4>[65000.735240] [<80063664>] (cpu_startup_entry) from [<4100946c>] (0x4100946c)
<0>[65000.743312] The reading for sensor 4 is 0x00204307
<0>[65000.750162] The reading for sensor 5 is 0x0020530a
<0>[65000.755023] The reading for sensor 7 is 0x002072fa
<0>[65000.759845] Couldn't get reading for sensor 8
<0>[65000.764572] The reading for sensor 13 is 0x0022d30a
<0>[65000.769046] Couldn't get reading for sensor 14
<0>[65000.773685] The reading for sensor 15 is 0x0020f30a
It looks like you're dealing with a kernel panic issue related to the ath11k driver on a device running Linux. Here’s a breakdown of the information you've shared, along with some potential steps for troubleshooting:
Key Points from the Log:
Crash Origin:
The kernel panic seems to be triggered by the ath11k_core_ssr_notifier_cb function. This is part of the ath11k driver, which is used for Qualcomm Atheros 11k wireless networking.
BSS Channel Survey Timeout:
The log indicates a timeout in the BSS channel survey (ath11k c000000.wifi: bss channel survey timed out). This might suggest issues with Wi-Fi scanning or initialization.
Stack Trace:
The stack trace shows several calls leading up to the panic, indicating where the fault occurred. Key functions include notifier_call_chain, rproc_stop, and rproc_trigger_recovery.