[Letux-kernel] trouble with wifi on pyra

H. Nikolaus Schaller hns at goldelico.com
Thu Dec 6 09:17:18 CET 2018


Hi,
I have never had such a report - but I haven't been using wifi on pyra for extended time. Mainly for scanning and overall testing.

Really interesting is this line:

> [42138.234894] wlcore: ERROR SW watchdog interrupt received! starting recovery.
...
> [42144.116958] wlcore: ERROR timeout waiting for the hardware to complete initialization

which means that the wifi module did not answer any more.
Either a bug in the module firmware or sdio on omap5 or in wlcore.

BR,
Nikolaus


> Am 05.12.2018 um 23:24 schrieb Andreas Kemnade <andreas at kemnade.info>:
> 
> Hi,
> 
> after having the pyra unattended for some time, this appreared on
> serial console and the pyra hangs (no flashing leds):
> Looks like mmc problems again. Maybe something really got bit-rotten
> there...
> 
> [39409.050781] wlan1: associate with 10:fe:ed:3b:29:41 (try 1/3)
> [39409.061337] wlan1: RX AssocResp from 10:fe:ed:3b:29:41 (capab=0x421 status=0 aid=1)
> [39409.086613] wlcore: Association completed.
> [39409.096525] wlan1: associated
> [39637.215826] wlan1: disassociated from 10:fe:ed:3b:29:41 (Reason: 34=DISASSOC_LOW_ACK)
> [42138.161028] wlan1: authenticate with 86:5c:44:cc:a2:37
> [42138.177166] wlan1: send auth to 86:5c:44:cc:a2:37 (try 1/3)
> [42138.234894] wlcore: ERROR SW watchdog interrupt received! starting recovery.
> [42138.242894] ------------[ cut here ]------------
> [42138.247852] WARNING: CPU: 1 PID: 1405 at /home/andi/gta04/pyra-kernel/drivers/net/wireless/ti/wlcore/main.c:809 wl12xx_queue_recovery_work+0x2c/0x54 [wlcore]
> [42138.262904] Modules linked in: omapdrm drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops bnep usb_f_ecm g_ether usb_f_rndis u_ether libcomposite configfs ipv6 arc4 snd_soc_omap_hdmi_audio wl18xx wlcore mac80211 panel_boe_ws
> [42138.263179]  snd_soc_omap_mcpdm snd_soc_omap_mcbsp snd_soc_sdma [last unloaded: syscopyarea]
> [42138.364183] CPU: 1 PID: 1405 Comm: irq/188-wl18xx Tainted: G        W         4.20.0-rc4-letux+ #3
> [42138.373603] Hardware name: Generic OMAP5 (Flattened Device Tree)
> [42138.379930] [<c01110e4>] (unwind_backtrace) from [<c010c664>] (show_stack+0x10/0x14)
> [42138.388064] [<c010c664>] (show_stack) from [<c0846f58>] (dump_stack+0x90/0xc4)
> [42138.395660] [<c0846f58>] (dump_stack) from [<c01332ec>] (__warn+0xf0/0x110)
> [42138.402983] [<c01332ec>] (__warn) from [<c013341c>] (warn_slowpath_null+0x38/0x44)
> [42138.411012] [<c013341c>] (warn_slowpath_null) from [<bf5ee328>] (wl12xx_queue_recovery_work+0x2c/0x54 [wlcore])
> [42138.421893] [<bf5ee328>] (wl12xx_queue_recovery_work [wlcore]) from [<bf5eea14>] (wlcore_irq+0xec/0x160 [wlcore])
> [42138.432732] [<bf5eea14>] (wlcore_irq [wlcore]) from [<c019c76c>] (irq_thread_fn+0x1c/0x58)
> [42138.441414] [<c019c76c>] (irq_thread_fn) from [<c019ca94>] (irq_thread+0x118/0x22c)
> [42138.449473] [<c019ca94>] (irq_thread) from [<c01574f8>] (kthread+0x13c/0x158)
> [42138.456979] [<c01574f8>] (kthread) from [<c01010b4>] (ret_from_fork+0x14/0x20)
> [42138.464553] Exception stack(0xea641fb0 to 0xea641ff8)
> [42138.469861] 1fa0:                                     00000000 00000000 00000000 00000000
> [42138.478456] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
> [42138.487040] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000
> [42138.494106] irq event stamp: 13390435
> [42138.498085] hardirqs last  enabled at (13390463): [<c0198040>] console_unlock+0x32c/0x5c0
> [42138.506749] hardirqs last disabled at (13390472): [<c0197d9c>] console_unlock+0x88/0x5c0
> [42138.515407] softirqs last  enabled at (13390488): [<c01022cc>] __do_softirq+0x1a4/0x5a4
> [42138.523957] softirqs last disabled at (13390499): [<c013acac>] irq_exit+0xc0/0x174
> [42138.532006] ---[ end trace b5955b25c8ba0604 ]---
> [42138.541502] wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.70
> [42138.558967] wlcore: pc: 0x11c32, hint_sts: 0x00000000 count: 1
> [42138.578397] wlcore: down
> [42138.582194] ieee80211 phy0: Hardware restart was requested
> [42138.591318] wlan1: send auth to 86:5c:44:cc:a2:37 (try 2/3)
> [42139.228056] wlan1: send auth to 86:5c:44:cc:a2:37 (try 3/3)
> [42140.187895] wlan1: authentication with 86:5c:44:cc:a2:37 timed out
> [42144.116958] wlcore: ERROR timeout waiting for the hardware to complete initialization
> [42145.853006] ------------[ cut here ]------------
> [42145.858090] WARNING: CPU: 0 PID: 32589 at /home/andi/gta04/pyra-kernel/drivers/net/wireless/ti/wlcore/sdio.c:145 wl12xx_sdio_raw_write+0xc0/0x140 [wlcore_sdio]
> [42145.874344] Modules linked in: omapdrm drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops bnep usb_f_ecm g_ether usb_f_rndis u_ether libcomposite configfs ipv6 arc4 snd_soc_omap_hdmi_audio wl18xx wlcore mac80211 panel_boe_ws
> [42145.874786]  snd_soc_omap_mcpdm snd_soc_omap_mcbsp snd_soc_sdma [last unloaded: syscopyarea]
> [42145.979797] CPU: 0 PID: 32589 Comm: kworker/0:2 Tainted: G        W         4.20.0-rc4-letux+ #3
> 
> [42145.989095] Hardware name: Generic OMAP5 (Flattened Device Tree)
> [42145.995768] Workqueue: events_freezable ieee80211_restart_work [mac80211]
> [42146.002998] [<c01110e4>] (unwind_backtrace) from [<c010c664>] (show_stack+0x10/0x14)
> [42146.011208] [<c010c664>] (show_stack) from [<c0846f58>] (dump_stack+0x90/0xc4)
> [42146.018861] [<c0846f58>] (dump_stack) from [<c01332ec>] (__warn+0xf0/0x110)
> [42146.026243] [<c01332ec>] (__warn) from [<c013341c>] (warn_slowpath_null+0x38/0x44)
> [42146.034279] [<c013341c>] (warn_slowpath_null) from [<bf2402c8>] (wl12xx_sdio_raw_write+0xc0/0x140 [wlcore_sdio])
> [42146.045233] [<bf2402c8>] (wl12xx_sdio_raw_write [wlcore_sdio]) from [<bf5fac18>] (wlcore_boot_upload_firmware+0x378/0x3f4 [wlcore])
> [42146.057896] [<bf5fac18>] (wlcore_boot_upload_firmware [wlcore]) from [<bf623de0>] (wl18xx_boot+0x8d0/0xb9c [wl18xx])
> [42146.069178] [<bf623de0>] (wl18xx_boot [wl18xx]) from [<bf5edff0>] (wl1271_op_add_interface+0x6a0/0x9ac [wlcore])
> [42146.080319] [<bf5edff0>] (wl1271_op_add_interface [wlcore]) from [<bf503f4c>] (drv_add_interface+0x224/0x388 [mac80211])
> [42146.092365] [<bf503f4c>] (drv_add_interface [mac80211]) from [<bf54ac38>] (ieee80211_reconfig+0x1478/0x2910 [mac80211])
> [42146.104323] [<bf54ac38>] (ieee80211_reconfig [mac80211]) from [<bf4ff684>] (ieee80211_restart_work+0x84/0xbc [mac80211])
> [42146.116104] [<bf4ff684>] (ieee80211_restart_work [mac80211]) from [<c0150d1c>] (process_one_work+0x384/0x710)
> [42146.126599] [<c0150d1c>] (process_one_work) from [<c0152214>] (worker_thread+0x290/0x3e4)
> [42146.135265] [<c0152214>] (worker_thread) from [<c01574f8>] (kthread+0x13c/0x158)
> [42146.143101] [<c01574f8>] (kthread) from [<c01010b4>] (ret_from_fork+0x14/0x20)
> [42146.150754] Exception stack(0xedd71fb0 to 0xedd71ff8)
> [42146.156104] 1fa0:                                     00000000 00000000 00000000 00000000
> [42146.164767] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
> [42146.173414] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000
> [42146.182880] irq event stamp: 1810789
> [42146.186971] hardirqs last  enabled at (1810811): [<c0864a54>] _raw_spin_unlock_irq+0x24/0x60
> [42146.196311] hardirqs last disabled at (1810838): [<c085e0c0>] __schedule+0x150/0xa14
> [42146.204759] softirqs last  enabled at (1810834): [<c01022cc>] __do_softirq+0x1a4/0x5a4
> [42146.213530] softirqs last disabled at (1810871): [<c013acac>] irq_exit+0xc0/0x174
> [42146.222509] ---[ end trace b5955b25c8ba0605 ]---
> [42146.227816] wl1271_sdio mmc4:0001:2: sdio write failed (-110)
> [42146.536931] ------------[ cut here ]------------
> [42146.541987] WARNING: CPU: 0 PID: 32589 at /home/andi/gta04/pyra-kernel/drivers/net/wireless/ti/wlcore/sdio.c:145 wl12xx_sdio_raw_write+0xc0/0x140 [wlcore_sdio]
> [42146.557584] Modules linked in: omapdrm drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops bnep usb_f_ecm g_ether usb_f_rndis u_ether libcomposite configfs ipv6 arc4 snd_soc_omap_hdmi_audio wl18xx wlcore mac80211 panel_boe_ws
> [42146.558469]  snd_soc_omap_mcpdm snd_soc_omap_mcbsp snd_soc_sdma [last unloaded: syscopyarea]
> [42146.661831] CPU: 0 PID: 32589 Comm: kworker/0:2 Tainted: G        W         4.20.0-rc4-letux+ #3
> [42146.671269] Hardware name: Generic OMAP5 (Flattened Device Tree)
> [42146.678355] Workqueue: events_freezable ieee80211_restart_work [mac80211]
> [42146.685704] [<c01110e4>] (unwind_backtrace) from [<c010c664>] (show_stack+0x10/0x14)
> [42146.694040] [<c010c664>] (show_stack) from [<c0846f58>] (dump_stack+0x90/0xc4)
> [42146.701831] [<c0846f58>] (dump_stack) from [<c01332ec>] (__warn+0xf0/0x110)
> [42146.709326] [<c01332ec>] (__warn) from [<c013341c>] (warn_slowpath_null+0x38/0x44)
> [42146.717505] [<c013341c>] (warn_slowpath_null) from [<bf2402c8>] (wl12xx_sdio_raw_write+0xc0/0x140 [wlcore_sdio])
> [42146.728650] [<bf2402c8>] (wl12xx_sdio_raw_write [wlcore_sdio]) from [<bf5f40e0>] (wlcore_set_partition+0x104/0x470 [wlcore])
> [42146.741049] [<bf5f40e0>] (wlcore_set_partition [wlcore]) from [<bf5e9fec>] (wl12xx_set_power_on+0x58/0x13c [wlcore])
> [42146.752711] [<bf5e9fec>] (wl12xx_set_power_on [wlcore]) from [<bf5edfc0>] (wl1271_op_add_interface+0x670/0x9ac [wlcore])
> [42146.765084] [<bf5edfc0>] (wl1271_op_add_interface [wlcore]) from [<bf503f4c>] (drv_add_interface+0x224/0x388 [mac80211])
> [42146.777842] [<bf503f4c>] (drv_add_interface [mac80211]) from [<bf54ac38>] (ieee80211_reconfig+0x1478/0x2910 [mac80211])
> [42146.790503] [<bf54ac38>] (ieee80211_reconfig [mac80211]) from [<bf4ff684>] (ieee80211_restart_work+0x84/0xbc [mac80211])
> [42146.802715] [<bf4ff684>] (ieee80211_restart_work [mac80211]) from [<c0150d1c>] (process_one_work+0x384/0x710)
> [42146.813369] [<c0150d1c>] (process_one_work) from [<c0152214>] (worker_thread+0x290/0x3e4)
> [42146.822175] [<c0152214>] (worker_thread) from [<c01574f8>] (kthread+0x13c/0x158)
> [42146.830153] [<c01574f8>] (kthread) from [<c01010b4>] (ret_from_fork+0x14/0x20)
> [42146.837924] Exception stack(0xedd71fb0 to 0xedd71ff8)
> [42146.843384] 1fa0:                                     00000000 00000000 00000000 00000000
> [42146.852184] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
> [42146.860980] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000
> [42146.869210] irq event stamp: 1813419
> [42146.873126] hardirqs last  enabled at (1813427): [<c0198040>] console_unlock+0x32c/0x5c0
> [42146.883093] hardirqs last disabled at (1813448): [<c085e0c0>] __schedule+0x150/0xa14
> [42146.894771] softirqs last  enabled at (1813490): [<c01022cc>] __do_softirq+0x1a4/0x5a4
> [42146.906353] softirqs last disabled at (1813481): [<c013acac>] irq_exit+0xc0/0x174
> [42146.916627] ---[ end trace b5955b25c8ba0606 ]---
> [42146.922628] wl1271_sdio mmc4:0001:2: sdio write failed (-84)
> [42146.930580] wlcore: ERROR firmware boot failed despite 3 retries
> [42146.938697] ------------[ cut here ]------------
> 
> [42146.946034] WARNING: CPU: 0 PID: 32589 at /home/andi/gta04/pyra-kernel/net/mac80211/util.c:2075 ieee80211_reconfig+0x148c/0x2910 [mac80211]
> [42146.960993] Modules linked in: omapdrm drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops bnep usb_f_ecm g_ether usb_f_rndis u_ether libcomposite configfs ipv6 arc4 snd_soc_omap_hdmi_audio wl18xx wlcore mac80211 panel_boe_ws
> [42146.961975]  snd_soc_omap_mcpdm snd_soc_omap_mcbsp snd_soc_sdma [last unloaded: syscopyarea]
> [42147.066883] CPU: 0 PID: 32589 Comm: kworker/0:2 Tainted: G        W         4.20.0-rc4-letux+ #3
> [42147.076301] Hardware name: Generic OMAP5 (Flattened Device Tree)
> [42147.083335] Workqueue: events_freezable ieee80211_restart_work [mac80211]
> [42147.090672] [<c01110e4>] (unwind_backtrace) from [<c010c664>] (show_stack+0x10/0x14)
> [42147.098981] [<c010c664>] (show_stack) from [<c0846f58>] (dump_stack+0x90/0xc4)
> [42147.106726] [<c0846f58>] (dump_stack) from [<c01332ec>] (__warn+0xf0/0x110)
> [42147.114198] [<c01332ec>] (__warn) from [<c013341c>] (warn_slowpath_null+0x38/0x44)
> [42147.122876] [<c013341c>] (warn_slowpath_null) from [<bf54ac4c>] (ieee80211_reconfig+0x148c/0x2910 [mac80211])
> [42147.134708] [<bf54ac4c>] (ieee80211_reconfig [mac80211]) from [<bf4ff684>] (ieee80211_restart_work+0x84/0xbc [mac80211])
> [42147.146878] [<bf4ff684>] (ieee80211_restart_work [mac80211]) from [<c0150d1c>] (process_one_work+0x384/0x710)
> [42147.157485] [<c0150d1c>] (process_one_work) from [<c0152214>] (worker_thread+0x290/0x3e4)
> [42147.166264] [<c0152214>] (worker_thread) from [<c01574f8>] (kthread+0x13c/0x158)
> [42147.174209] [<c01574f8>] (kthread) from [<c01010b4>] (ret_from_fork+0x14/0x20)
> [42147.181934] Exception stack(0xedd71fb0 to 0xedd71ff8)
> [42147.187367] 1fa0:                                     00000000 00000000 00000000 00000000
> [42147.196122] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
> [42147.204876] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000
> [42147.213088] irq event stamp: 1814009
> [42147.217876] hardirqs last  enabled at (1814031): [<c0864a54>] _raw_spin_unlock_irq+0x24/0x60
> [42147.228805] hardirqs last disabled at (1814068): [<c085e0c0>] __schedule+0x150/0xa14
> [42147.238076] softirqs last  enabled at (1814086): [<c01022cc>] __do_softirq+0x1a4/0x5a4
> [42147.247419] softirqs last disabled at (1814099): [<c013acac>] irq_exit+0xc0/0x174
> [42147.256910] ---[ end trace b5955b25c8ba0607 ]---
> [42147.282893] ------------[ cut here ]------------
> [42147.288111] WARNING: CPU: 0 PID: 32589 at /home/andi/gta04/pyra-kernel/net/mac80211/driver-ops.h:19 drv_remove_interface+0x48/0x378 [mac80211]
> [42147.301936] wlan1:  Failed check-sdata-in-driver check, flags: 0x4
> [42147.308864] Modules linked in: omapdrm drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops bnep usb_f_ecm g_ether usb_f_rndis u_ether libcomposite configfs ipv6 arc4 snd_soc_omap_hdmi_audio wl18xx wlcore mac80211 panel_boe_ws
> [42147.309143]  snd_soc_omap_mcpdm snd_soc_omap_mcbsp snd_soc_sdma [last unloaded: syscopyarea]
> [42147.410255] CPU: 0 PID: 32589 Comm: kworker/0:2 Tainted: G        W         4.20.0-rc4-letux+ #3
> [42147.419452] Hardware name: Generic OMAP5 (Flattened Device Tree)
> [42147.425893] Workqueue: events_freezable ieee80211_restart_work [mac80211]
> [42147.433015] [<c01110e4>] (unwind_backtrace) from [<c010c664>] (show_stack+0x10/0x14)
> [42147.441125] [<c010c664>] (show_stack) from [<c0846f58>] (dump_stack+0x90/0xc4)
> [42147.448695] [<c0846f58>] (dump_stack) from [<c01332ec>] (__warn+0xf0/0x110)
> [42147.456002] [<c01332ec>] (__warn) from [<c0133350>] (warn_slowpath_fmt+0x44/0x6c)
> [42147.463978] [<c0133350>] (warn_slowpath_fmt) from [<bf504488>] (drv_remove_interface+0x48/0x378 [mac80211])
> [42147.474454] [<bf504488>] (drv_remove_interface [mac80211]) from [<bf522710>] (ieee80211_do_stop+0x758/0x7d8 [mac80211])
> [42147.486020] [<bf522710>] (ieee80211_do_stop [mac80211]) from [<bf5227a0>] (ieee80211_stop+0x10/0x18 [mac80211])
> [42147.496729] [<bf5227a0>] (ieee80211_stop [mac80211]) from [<c075cd44>] (__dev_close_many+0xc8/0xe8)
> [42147.506197] [<c075cd44>] (__dev_close_many) from [<c075cd98>] (dev_close_many+0x34/0xd4)
> [42147.514674] [<c075cd98>] (dev_close_many) from [<c0761424>] (dev_close+0x44/0x70)
> [42147.522669] [<c0761424>] (dev_close) from [<bf41187c>] (cfg80211_shutdown_all_interfaces+0x7c/0xc4 [cfg80211])
> [42147.533424] [<bf41187c>] (cfg80211_shutdown_all_interfaces [cfg80211]) from [<bf549f88>] (ieee80211_reconfig+0x7c8/0x2910 [mac80211])
> [42147.546261] [<bf549f88>] (ieee80211_reconfig [mac80211]) from [<bf4ff684>] (ieee80211_restart_work+0x84/0xbc [mac80211])
> [42147.557779] [<bf4ff684>] (ieee80211_restart_work [mac80211]) from [<c0150d1c>] (process_one_work+0x384/0x710)
> [42147.568160] [<c0150d1c>] (process_one_work) from [<c0152214>] (worker_thread+0x290/0x3e4)
> [42147.576732] [<c0152214>] (worker_thread) from [<c01574f8>] (kthread+0x13c/0x158)
> [42147.584480] [<c01574f8>] (kthread) from [<c01010b4>] (ret_from_fork+0x14/0x20)
> [42147.592041] Exception stack(0xedd71fb0 to 0xedd71ff8)
> [42147.597329] 1fa0:                                     00000000 00000000 00000000 00000000
> [42147.605895] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
> [42147.614457] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000
> [42147.621658] irq event stamp: 1814785
> [42147.625794] hardirqs last  enabled at (1814805): [<c0864a54>] _raw_spin_unlock_irq+0x24/0x60
> [42147.635400] hardirqs last disabled at (1814828): [<c085e0c0>] __schedule+0x150/0xa14
> [42147.643713] softirqs last  enabled at (1814846): [<c01022cc>] __do_softirq+0x1a4/0x5a4
> [42147.652195] softirqs last disabled at (1814859): [<c013acac>] irq_exit+0xc0/0x174
> [42147.660201] ---[ end trace b5955b25c8ba0608 ]---
> _______________________________________________
> http://projects.goldelico.com/p/gta04-kernel/
> Letux-kernel mailing list
> Letux-kernel at openphoenux.org
> http://lists.goldelico.com/mailman/listinfo.cgi/letux-kernel



More information about the Letux-kernel mailing list