Because of the Thanksgiving holiday in the U.S., TI E2E design support forum responses may be delayed the week of Nov. 21. Thank you for your patience.

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

WL1831MOD: wl1271_sdio mmc1:0001:2: sdio write failed (-110) and hci0: command 0x0406 tx timeout

Part Number: WL1831MOD
Other Parts Discussed in Thread: WL1271

Environment

Device: SolidRun N6 Indoor (EU)

Board: Hummingboard 2

OS: Debian 10

Kernel: 5.10.0-0.deb10.16-armmp #1 SMP Debian 5.10.127-2~bpo10+1 (2022-07-28) armv7l GNU/Linux

[ 37.367306] wlcore: PHY firmware version: Rev 8.2.0.0.245
[ 37.432614] wlcore: firmware booted (Rev 8.9.0.0.88)


Description

We have few of these devices and the Wifi/BT module is causing problems after being running couple of days.

There are three types of installations:

Devices A) Connected to internet via wifi and constant Bluetooth connection to a node

Devices B) Connected to internet via Huawei 4G USB dongle and constant Bluetooth connection to a node, wifi is enabled (not connected)

Devices C) Connected to internet via Huawei 4G USB dongle and constant Bluetooth connection to a node, wifi is disabled

Devices D) Connected to internet via Ethernet and constant Bluetooth connection to a node, wifi is enabled (not connected)

Observations

Devices A are working without any issues. Connections are stable.

Devices B and D are working fine for couple days but then a kernel error happens (device_BD_kernel_error.txt)

Devices C are working fine for couple days but the Bluetooth suddenly stops working.

Actions on Devices C

The kernel log entries are

[66377.110327] Bluetooth: hci0: command 0x0406 tx timeout
[66389.141653] Bluetooth: hci0: command 0x0406 tx timeout

When checking hci0 status with hciconfig -a The status is: DOWN INIT RUNNING

When trying running hciconfig hci0 down and hciconfig hci0 up I get timeout response

When I tried rmmod and modprobe the hci_uart kernel module, the kernel log showed entries of registering the Bluetooth and loading the driver

Then unblocking bluetooth from rfkill and executing hciconfig hci0 up the Bluetooth came operational and hciconfig -a showed status UP RUNNING

Actions on devices B and D

When the kernel error happened I tried following:

rmmod and modprobe (in reverse order) modules: wlcore_sdio, hci_uart, wl18xx, wlcore, mac80211, cfg80211

The kernel showed following error:
kernel: [259780.864873] wl1271_sdio: probe of mmc1:0001:1 failed with error -16
kernel: [259780.879516] wl1271_sdio: probe of mmc1:0001:2 failed with error -16

When trying the same for the Bluetooth as did with devices C I got following error

kernel: [278120.054462] Bluetooth: HCI UART driver ver 2.3
kernel: [278120.059123] Bluetooth: HCI UART protocol H4 registered
kernel: [278120.083246] Bluetooth: HCI UART protocol LL registered
kernel: [278120.088622] Bluetooth: HCI UART protocol ATH3K registered
kernel: [278120.137792] Bluetooth: HCI UART protocol Three-wire (H5) registered
kernel: [278120.167498] Bluetooth: HCI UART protocol Intel registered
kernel: [278120.206318] Bluetooth: HCI UART protocol Broadcom registered
kernel: [278120.240479] Bluetooth: HCI UART protocol QCA registered
kernel: [278120.246033] Bluetooth: HCI UART protocol AG6XX registered
kernel: [278120.259502] Bluetooth: HCI UART protocol Marvell registered
kernel: [278120.287146] Bluetooth: hci0: Failed to get CTS
kernel: [278137.679614] Bluetooth: hci0: Failed to get CTS
kernel: [278137.951733] Bluetooth: hci0: Failed to get CTS

These are mmc clocks:

root@machina1:/# cat sys/kernel/debug/mmc0/ios
clock:          0 Hz
vdd:            0 (invalid)
bus mode:       2 (push-pull)
chip select:    0 (don't care)
power mode:     0 (off)
bus width:      0 (1 bits)
timing spec:    0 (legacy)
signal voltage: 0 (3.30 V)
driver type:    0 (driver type B)
root@machina1:/# cat sys/kernel/debug/mmc1/ios
clock:          400000 Hz
vdd:            21 (3.3 ~ 3.4 V)
bus mode:       2 (push-pull)
chip select:    0 (don't care)
power mode:     2 (on)
bus width:      0 (1 bits)
timing spec:    0 (legacy)
signal voltage: 0 (3.30 V)
driver type:    0 (driver type B)
root@machina1:/# cat sys/kernel/debug/mmc2/ios
clock:          52000000 Hz
vdd:            21 (3.3 ~ 3.4 V)
bus mode:       2 (push-pull)
chip select:    0 (don't care)
power mode:     2 (on)
bus width:      3 (8 bits)
timing spec:    8 (mmc DDR52)
signal voltage: 0 (3.30 V)
driver type:    0 (driver type B)

How to proceed with this problem?

Kernel error and decompiled dts file as an attachment.

device_BD_kernel_error.txt
[15317.287353] Bluetooth: received HCILL_WAKE_UP_ACK in state 0
[23199.690581] ------------[ cut here ]------------
[23199.695270] WARNING: CPU: 1 PID: 256 at drivers/net/wireless/ti/wlcore/sdio.c:123 wl12xx_sdio_raw_write+0x10c/0x1b8 [wlcore_sdio]
[23199.707002] Modules linked in: veth(E) xt_nat(E) xt_tcpudp(E) xt_conntrack(E) xt_MASQUERADE(E) nf_conntrack_netlink(E) xfrm_user(E) xfrm_algo(E) nft_counter(E) xt_addrtype(E) nft_compat(E) nft_chain_nat(E) nf_tables(E) nfnetlink(E) br_netfilter(E) bridge(E) 8021q(E) garp(E) mrp(E) stp(E) llc(E) cmac(E) rfcomm(E) wl18xx(E) wlcore(E) mac80211(E) bnep(E) cfg80211(E) libarc4(E) dw_hdmi_cec(E) imx6_media_csi(CE) dw_hdmi_ahb_audio(E) v4l2_fwnode(E) evdev(E) imx_thermal(E) snd_soc_simple_card(E) snd_soc_simple_card_utils(E) hci_uart(E) btqca(E) btrtl(E) btbcm(E) btintel(E) imx_vdoa(E) snd_soc_imx_audmux(E) nvmem_imx_ocotp(E) wlcore_sdio(E) mux_mmio(E) video_mux(E) mux_core(E) snd_soc_fsl_ssi(E) imx_pcm_dma(E) imx_pcm_fiq(E) snd_soc_core(E) snd_pcm_dmaengine(E) imx2_wdt(E) snd_pcm(E) snd_timer(E) snd(E) soundcore(E) imx6_media(CE) imx_media_common(CE) videobuf2_dma_contig(E) v4l2_mem2mem(E) dw_hdmi_imx(E) videobuf2_memops(E) dw_hdmi(E) cec(E) videobuf2_v4l2(E) videobuf2_common(E) imxdrm(E)
[23199.707405]  imx_ipu_v3(E) drm_kms_helper(E) ir_rc6_decoder(E) leds_gpio(E) rc_rc6_mce(E) gpio_ir_recv(E) rc_core(E) drm(E) iptable_nat(E) nf_nat(E) nf_conntrack(E) nf_defrag_ipv6(E) nf_defrag_ipv4(E) libcrc32c(E) imx6q_cpufreq(E) iptable_mangle(E) iptable_filter(E) bluetooth(E) jitterentropy_rng(E) overlay(E) cbc(E) aes_arm_bs(E) crypto_simd(E) cryptd(E) drbg(E) aes_arm(E) aes_generic(E) ansi_cprng(E) ecdh_generic(E) rfkill(E) ecc(E) libaes(E) ip_tables(E) x_tables(E) autofs4(E) ext4(E) crc16(E) mbcache(E) jbd2(E) crc32c_generic(E) phy_generic(E) ci_hdrc_imx(E) ci_hdrc(E) ulpi(E) roles(E) ehci_hcd(E) udc_core(E) sdhci_esdhc_imx(E) sdhci_pltfm(E) cqhci(E) usbcore(E) i2c_imx(E) sdhci(E) usbmisc_imx(E) phy_mxs_usb(E) at803x(E) anatop_regulator(E) gpio_mxc(E)
[23199.861926] CPU: 1 PID: 256 Comm: wpa_supplicant Tainted: G        WC  E     5.10.0-0.deb10.16-armmp #1 Debian 5.10.127-2~bpo10+1
[23199.873585] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[23199.880117] Backtrace:
[23199.882598] [<c0cc7fb4>] (dump_backtrace) from [<c0cc837c>] (show_stack+0x20/0x24)
[23199.890179]  r7:0000007b r6:60070013 r5:00000000 r4:c13cdd68
[23199.895873] [<c0cc835c>] (show_stack) from [<c0ccd2b0>] (dump_stack+0xd0/0xe4)
[23199.903118] [<c0ccd1e0>] (dump_stack) from [<c034d6b8>] (__warn+0xfc/0x114)
[23199.910088]  r7:0000007b r6:00000009 r5:bf4ee26c r4:bf4efbc8
[23199.915763] [<c034d5bc>] (__warn) from [<c0cc91c0>] (warn_slowpath_fmt+0x70/0xd8)
[23199.923253]  r7:0000007b r6:bf4efbc8 r5:c1305e4c r4:00000000
[23199.928933] [<c0cc9154>] (warn_slowpath_fmt) from [<bf4ee26c>] (wl12xx_sdio_raw_write+0x10c/0x1b8 [wlcore_sdio])
[23199.939115]  r9:c6f42d80 r8:00000004 r7:c3730010 r6:0001fffc r5:c1305e4c r4:c4566800
[23199.946935] [<bf4ee160>] (wl12xx_sdio_raw_write [wlcore_sdio]) from [<bf709244>] (wlcore_runtime_resume+0xdc/0x220 [wlcore])
[23199.958164]  r10:bf4ee160 r9:cc4f1818 r8:bf72cc40 r7:cc4f17ec r6:c1304d00 r5:c1305e4c
[23199.965998]  r4:cc4f17c0
[23199.968596] [<bf709168>] (wlcore_runtime_resume [wlcore]) from [<c0978bf4>] (pm_generic_runtime_resume+0x3c/0x48)[23199.978868]  r10:ffffe000 r9:c039ff78 r8:00000000 r7:00000000 r6:00400100 r5:c0978bb8
[23199.986702]  r4:c3730010
[23199.989253] [<c0978bb8>] (pm_generic_runtime_resume) from [<c097b338>] (__rpm_callback+0x108/0x1b8)
[23199.998312] [<c097b230>] (__rpm_callback) from [<c097b44c>] (rpm_callback+0x64/0x90)
[23200.006065]  r9:c039ff78 r8:00000000 r7:c373009c r6:00400100 r5:ffffe000 r4:c3730010
[23200.013820] [<c097b3e8>] (rpm_callback) from [<c097c0c0>] (rpm_resume+0x62c/0x808)
[23200.021394]  r7:c373009c r6:c4566808 r5:c0978bb8 r4:c3730010
[23200.027064] [<c097ba94>] (rpm_resume) from [<c097c30c>] (__pm_runtime_resume+0x70/0x9c)
[23200.035076]  r10:c8ae1cb0 r9:00000000 r8:00000000 r7:60010013 r6:c373009c r5:00000004
[23200.042909]  r4:c3730010
[23200.045500] [<c097c29c>] (__pm_runtime_resume) from [<bf704914>] (wl1271_op_sched_scan_stop+0x5c/0x124 [wlcore])
[23200.055684]  r7:cca4a000 r6:cc4f1804 r5:cca4b140 r4:cc4f17c0
[23200.061549] [<bf7048b8>] (wl1271_op_sched_scan_stop [wlcore]) from [<bf667f28>] (ieee80211_request_sched_scan_stop+0x7c/0x1d4 [mac80211])
[23200.073908]  r7:cca4a000 r6:cca4a600 r5:cc4f1478 r4:cc4f0520
[23200.079881] [<bf667eac>] (ieee80211_request_sched_scan_stop [mac80211]) from [<bf67cdcc>] (ieee80211_sched_scan_stop+0x34/0x44 [mac80211])
[23200.092325]  r6:cc4f01c0 r5:bf67cd98 r4:cc7e6a00
[23200.097309] [<bf67cd98>] (ieee80211_sched_scan_stop [mac80211]) from [<bf58b67c>] (cfg80211_stop_sched_scan_req+0x64/0x220 [cfg80211])
[23200.109696] [<bf58b618>] (cfg80211_stop_sched_scan_req [cfg80211]) from [<bf59064c>] (nl80211_stop_sched_scan+0xac/0x100 [cfg80211])
[23200.121620]  r9:c146eb00 r8:cb0c09c0 r7:cca44000 r6:c1305e4c r5:cc4f0000 r4:c1305e4c
[23200.129514] [<bf5905a0>] (nl80211_stop_sched_scan [cfg80211]) from [<c0b89fb4>] (genl_rcv_msg+0x1c0/0x370)
[23200.139176]  r5:bf5ef308 r4:00000000
[23200.142765] [<c0b89df4>] (genl_rcv_msg) from [<c0b8785c>] (netlink_rcv_skb+0xc8/0x120)
[23200.150691]  r10:c1305e4c r9:00000000 r8:0000001c r7:ccaf6a00 r6:c0b89df4 r5:c1305e4c
[23200.158526]  r4:cb0c09c0
[23200.161072] [<c0b87794>] (netlink_rcv_skb) from [<c0b88124>] (genl_rcv+0x34/0x44)
[23200.168563]  r8:c7b6b984 r7:cb0c09c0 r6:0000001c r5:cb0c09c0 r4:c1476b54
[23200.175276] [<c0b880f0>] (genl_rcv) from [<c0b86ea0>] (netlink_unicast+0x1a8/0x258)
[23200.182936]  r5:c7b6b800 r4:c1967c00
[23200.186523] [<c0b86cf8>] (netlink_unicast) from [<c0b87184>] (netlink_sendmsg+0x234/0x4bc)
[23200.194795]  r10:00000000 r9:c7b6b800 r8:0000001c r7:cb0c09c0 r6:c1305e4c r5:c8ae1f40
[23200.202627]  r4:ccaf6a00
[23200.205175] [<c0b86f50>] (netlink_sendmsg) from [<c0ae2844>] (sock_sendmsg+0x44/0x54)
[23200.213015]  r10:00000000 r9:c3ff1680 r8:c8ae1de4 r7:c1305e4c r6:00000000 r5:c3ff1680
[23200.220850]  r4:c8ae1f40
[23200.223394] [<c0ae2800>] (sock_sendmsg) from [<c0ae2f88>] (____sys_sendmsg+0x254/0x270)
[23200.231403]  r5:00000000 r4:c8ae1f40
[23200.234992] [<c0ae2d34>] (____sys_sendmsg) from [<c0ae4c00>] (___sys_sendmsg+0x7c/0xa8)
[23200.243004]  r10:00000128 r9:00000000 r8:00000000 r7:c3ff1680 r6:00000000 r5:c8ae1f40
[23200.250837]  r4:c1305e4c
[23200.253382] [<c0ae4b84>] (___sys_sendmsg) from [<c0ae5060>] (__sys_sendmsg+0x60/0x9c)
[23200.261222]  r9:c8ae0000 r8:c0300324 r7:c3ff1680 r6:00000000 r5:bebb7550 r4:c1305e4c
[23200.268976] [<c0ae5000>] (__sys_sendmsg) from [<c0ae50b8>] (sys_sendmsg+0x1c/0x20)
[23200.276553]  r7:00000128 r6:01d383b0 r5:01d89d60 r4:00000074
[23200.282226] [<c0ae509c>] (sys_sendmsg) from [<c03000c0>] (ret_fast_syscall+0x0/0x54)
[23200.289976] Exception stack(0xc8ae1fa8 to 0xc8ae1ff0)
[23200.295034] 1fa0:                   00000074 01d89d60 00000006 bebb7550 00000000 00000000
[23200.303220] 1fc0: 00000074 01d89d60 01d383b0 00000128 b6ec7000 00000000 00000001 00000004
[23200.311404] 1fe0: 00000128 bebb7500 b6ad005f b6a4c746
[23200.316661] ---[ end trace 918fd75c5c3dcb40 ]---
[23200.321366] wl1271_sdio mmc1:0001:2: sdio write failed (-110)
[23200.327328] wlcore: ERROR failed to send sched scan stop command
[23200.333568] wlcore: down
[23200.336230] wlcore: down
[23200.344652] ieee80211 phy0: Hardware restart was requested
[23200.631857] mmc1: tried to HW reset card, got error -110
[23200.850081] ------------[ cut here ]------------
[23200.854858] WARNING: CPU: 0 PID: 32763 at drivers/net/wireless/ti/wlcore/sdio.c:123 wl12xx_sdio_raw_write+0x10c/0x1b8 [wlcore_sdio]
[23200.866730] Modules linked in: veth(E) xt_nat(E) xt_tcpudp(E) xt_conntrack(E) xt_MASQUERADE(E) nf_conntrack_netlink(E) xfrm_user(E) xfrm_algo(E) nft_counter(E) xt_addrtype(E) nft_compat(E) nft_chain_nat(E) nf_tables(E) nfnetlink(E) br_netfilter(E) bridge(E) 8021q(E) garp(E) mrp(E) stp(E) llc(E) cmac(E) rfcomm(E) wl18xx(E) wlcore(E) mac80211(E) bnep(E) cfg80211(E) libarc4(E) dw_hdmi_cec(E) imx6_media_csi(CE) dw_hdmi_ahb_audio(E) v4l2_fwnode(E) evdev(E) imx_thermal(E) snd_soc_simple_card(E) snd_soc_simple_card_utils(E) hci_uart(E) btqca(E) btrtl(E) btbcm(E) btintel(E) imx_vdoa(E) snd_soc_imx_audmux(E) nvmem_imx_ocotp(E) wlcore_sdio(E) mux_mmio(E) video_mux(E) mux_core(E) snd_soc_fsl_ssi(E) imx_pcm_dma(E) imx_pcm_fiq(E) snd_soc_core(E) snd_pcm_dmaengine(E) imx2_wdt(E) snd_pcm(E) snd_timer(E) snd(E) soundcore(E) imx6_media(CE) imx_media_common(CE) videobuf2_dma_contig(E) v4l2_mem2mem(E) dw_hdmi_imx(E) videobuf2_memops(E) dw_hdmi(E) cec(E) videobuf2_v4l2(E) videobuf2_common(E) imxdrm(E)
[23200.867094]  imx_ipu_v3(E) drm_kms_helper(E) ir_rc6_decoder(E) leds_gpio(E) rc_rc6_mce(E) gpio_ir_recv(E) rc_core(E) drm(E) iptable_nat(E) nf_nat(E) nf_conntrack(E) nf_defrag_ipv6(E) nf_defrag_ipv4(E) libcrc32c(E) imx6q_cpufreq(E) iptable_mangle(E) iptable_filter(E) bluetooth(E) jitterentropy_rng(E) overlay(E) cbc(E) aes_arm_bs(E) crypto_simd(E) cryptd(E) drbg(E) aes_arm(E) aes_generic(E) ansi_cprng(E) ecdh_generic(E) rfkill(E) ecc(E) libaes(E) ip_tables(E) x_tables(E) autofs4(E) ext4(E) crc16(E) mbcache(E) jbd2(E) crc32c_generic(E) phy_generic(E) ci_hdrc_imx(E) ci_hdrc(E) ulpi(E) roles(E) ehci_hcd(E) udc_core(E) sdhci_esdhc_imx(E) sdhci_pltfm(E) cqhci(E) usbcore(E) i2c_imx(E) sdhci(E) usbmisc_imx(E) phy_mxs_usb(E) at803x(E) anatop_regulator(E) gpio_mxc(E)
[23201.021703] CPU: 0 PID: 32763 Comm: kworker/0:1 Tainted: G        WC  E     5.10.0-0.deb10.16-armmp #1 Debian 5.10.127-2~bpo10+1
[23201.033278] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[23201.040005] Workqueue: events_freezable ieee80211_restart_work [mac80211]
[23201.046813] Backtrace:
[23201.049293] [<c0cc7fb4>] (dump_backtrace) from [<c0cc837c>] (show_stack+0x20/0x24)
[23201.056875]  r7:0000007b r6:600f0013 r5:00000000 r4:c13cdd68
[23201.062548] [<c0cc835c>] (show_stack) from [<c0ccd2b0>] (dump_stack+0xd0/0xe4)
[23201.069790] [<c0ccd1e0>] (dump_stack) from [<c034d6b8>] (__warn+0xfc/0x114)
[23201.076761]  r7:0000007b r6:00000009 r5:bf4ee26c r4:bf4efbc8
[23201.082451] [<c034d5bc>] (__warn) from [<c0cc91c0>] (warn_slowpath_fmt+0x70/0xd8)
[23201.089947]  r7:0000007b r6:bf4efbc8 r5:c1305e4c r4:00000000
[23201.095625] [<c0cc9154>] (warn_slowpath_fmt) from [<bf4ee26c>] (wl12xx_sdio_raw_write+0x10c/0x1b8 [wlcore_sdio])
[23201.105810]  r9:c6f42d80 r8:00000004 r7:c3730010 r6:0001ffc4 r5:c1305e4c r4:c4566800
[23201.113623] [<bf4ee160>] (wl12xx_sdio_raw_write [wlcore_sdio]) from [<bf70fc8c>] (wlcore_set_partition+0xec/0x534 [wlcore])
[23201.124763]  r10:00000003 r9:c3369df0 r8:cc4f1804 r7:00000000 r6:bf4ee160 r5:bf622090
[23201.132595]  r4:cc4f17c0
[23201.135202] [<bf70fba0>] (wlcore_set_partition [wlcore]) from [<bf7035f8>] (wl12xx_set_power_on+0x7c/0x154 [wlcore])
[23201.145731]  r6:c1305e4c r5:00000000 r4:cc4f17c0
[23201.150410] [<bf70357c>] (wl12xx_set_power_on [wlcore]) from [<bf707cb0>] (wl12xx_chip_wakeup+0x34/0x22c [wlcore])
[23201.160764]  r5:c1305e4c r4:cc4f17c0
[23201.164414] [<bf707c7c>] (wl12xx_chip_wakeup [wlcore]) from [<bf7083f8>] (wl1271_op_add_interface+0x550/0x9b4 [wlcore])
[23201.175204]  r7:bf72cc40 r6:c1305e4c r5:cc4f17c0 r4:cca4ae88
[23201.181060] [<bf707ea8>] (wl1271_op_add_interface [wlcore]) from [<bf65b680>] (drv_add_interface+0x50/0x170 [mac80211])
[23201.191855]  r10:cc4f0520 r9:cc4f1440 r8:cc4f06d8 r7:cc4f1520 r6:00000000 r5:cc4f0520
[23201.199688]  r4:cca4a600
[23201.202481] [<bf65b630>] (drv_add_interface [mac80211]) from [<bf699ec4>] (ieee80211_reconfig+0x23c/0x1810 [mac80211])
[23201.213184]  r7:cc4f1520 r6:00000000 r5:cca4a600 r4:00000000
[23201.219086] [<bf699c88>] (ieee80211_reconfig [mac80211]) from [<bf657938>] (ieee80211_restart_work+0xc4/0xfc [mac80211])
[23201.229966]  r10:00000000 r9:00000000 r8:cc4f06d8 r7:cc4f0520 r6:cc4f0520 r5:cc4f1440
[23201.237797]  r4:cc4f1440
[23201.240477] [<bf657874>] (ieee80211_restart_work [mac80211]) from [<c036cf90>] (process_one_work+0x1dc/0x52c)
[23201.250402]  r8:00000000 r7:ed6afc00 r6:ed6ac580 r5:c8e57480 r4:cc4f16d8
[23201.257112] [<c036cdb4>] (process_one_work) from [<c036d340>] (worker_thread+0x60/0x550)
[23201.265212]  r10:ed6ac580 r9:c1304d00 r8:ed6ac598 r7:00000008 r6:ed6ac580 r5:c8e57494
[23201.273045]  r4:c8e57480
[23201.275591] [<c036d2e0>] (worker_thread) from [<c0374644>] (kthread+0x170/0x174)
[23201.282996]  r10:c4795e74 r9:c8e57480 r8:c036d2e0 r7:c3368000 r6:00000000 r5:ccf58bc0
[23201.290829]  r4:cc396240
[23201.293376] [<c03744d4>] (kthread) from [<c03001a8>] (ret_from_fork+0x14/0x2c)
[23201.300601] Exception stack(0xc3369fb0 to 0xc3369ff8)
[23201.305660] 9fa0:                                     00000000 00000000 00000000 00000000
[23201.313845] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[23201.322028] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[23201.328651]  r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c03744d4
[23201.336482]  r4:ccf58bc0
[23201.339245] ---[ end trace 918fd75c5c3dcb41 ]---
[23201.343941] wl1271_sdio mmc1:0001:2: sdio write failed (-110)
[23201.627328] wl1271_sdio mmc1:0001:2: wl12xx_sdio_power_on: failed to get_sync(-110)
[23201.663799] wl1271_sdio mmc1:0001:2: wl12xx_sdio_power_on: failed to get_sync(-22)
[23201.671526] wlcore: ERROR firmware boot failed despite 3 retries
[23201.677610] ------------[ cut here ]------------
[23201.682526] WARNING: CPU: 0 PID: 32763 at net/mac80211/util.c:2385 ieee80211_reconfig+0x260/0x1810 [mac80211]
[23201.692558] Modules linked in: veth(E) xt_nat(E) xt_tcpudp(E) xt_conntrack(E) xt_MASQUERADE(E) nf_conntrack_netlink(E) xfrm_user(E) xfrm_algo(E) nft_counter(E) xt_addrtype(E) nft_compat(E) nft_chain_nat(E) nf_tables(E) nfnetlink(E) br_netfilter(E) bridge(E) 8021q(E) garp(E) mrp(E) stp(E) llc(E) cmac(E) rfcomm(E) wl18xx(E) wlcore(E) mac80211(E) bnep(E) cfg80211(E) libarc4(E) dw_hdmi_cec(E) imx6_media_csi(CE) dw_hdmi_ahb_audio(E) v4l2_fwnode(E) evdev(E) imx_thermal(E) snd_soc_simple_card(E) snd_soc_simple_card_utils(E) hci_uart(E) btqca(E) btrtl(E) btbcm(E) btintel(E) imx_vdoa(E) snd_soc_imx_audmux(E) nvmem_imx_ocotp(E) wlcore_sdio(E) mux_mmio(E) video_mux(E) mux_core(E) snd_soc_fsl_ssi(E) imx_pcm_dma(E) imx_pcm_fiq(E) snd_soc_core(E) snd_pcm_dmaengine(E) imx2_wdt(E) snd_pcm(E) snd_timer(E) snd(E) soundcore(E) imx6_media(CE) imx_media_common(CE) videobuf2_dma_contig(E) v4l2_mem2mem(E) dw_hdmi_imx(E) videobuf2_memops(E) dw_hdmi(E) cec(E) videobuf2_v4l2(E) videobuf2_common(E) imxdrm(E)
[23201.692905]  imx_ipu_v3(E) drm_kms_helper(E) ir_rc6_decoder(E) leds_gpio(E) rc_rc6_mce(E) gpio_ir_recv(E) rc_core(E) drm(E) iptable_nat(E) nf_nat(E) nf_conntrack(E) nf_defrag_ipv6(E) nf_defrag_ipv4(E) libcrc32c(E) imx6q_cpufreq(E) iptable_mangle(E) iptable_filter(E) bluetooth(E) jitterentropy_rng(E) overlay(E) cbc(E) aes_arm_bs(E) crypto_simd(E) cryptd(E) drbg(E) aes_arm(E) aes_generic(E) ansi_cprng(E) ecdh_generic(E) rfkill(E) ecc(E) libaes(E) ip_tables(E) x_tables(E) autofs4(E) ext4(E) crc16(E) mbcache(E) jbd2(E) crc32c_generic(E) phy_generic(E) ci_hdrc_imx(E) ci_hdrc(E) ulpi(E) roles(E) ehci_hcd(E) udc_core(E) sdhci_esdhc_imx(E) sdhci_pltfm(E) cqhci(E) usbcore(E) i2c_imx(E) sdhci(E) usbmisc_imx(E) phy_mxs_usb(E) at803x(E) anatop_regulator(E) gpio_mxc(E)
[23201.847608] CPU: 0 PID: 32763 Comm: kworker/0:1 Tainted: G        WC  E     5.10.0-0.deb10.16-armmp #1 Debian 5.10.127-2~bpo10+1
[23201.859186] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[23201.865888] Workqueue: events_freezable ieee80211_restart_work [mac80211]
[23201.872692] Backtrace:
[23201.875168] [<c0cc7fb4>] (dump_backtrace) from [<c0cc837c>] (show_stack+0x20/0x24)
[23201.882748]  r7:00000951 r6:60000013 r5:00000000 r4:c13cdd68
[23201.888419] [<c0cc835c>] (show_stack) from [<c0ccd2b0>] (dump_stack+0xd0/0xe4)
[23201.895658] [<c0ccd1e0>] (dump_stack) from [<c034d6b8>] (__warn+0xfc/0x114)
[23201.902628]  r7:00000951 r6:00000009 r5:bf699ee8 r4:bf6d9e60
[23201.908298] [<c034d5bc>] (__warn) from [<c0cc91c0>] (warn_slowpath_fmt+0x70/0xd8)
[23201.915786]  r7:00000951 r6:bf6d9e60 r5:c1305e4c r4:00000000
[23201.921592] [<c0cc9154>] (warn_slowpath_fmt) from [<bf699ee8>] (ieee80211_reconfig+0x260/0x1810 [mac80211])
[23201.931343]  r9:cc4f1440 r8:cc4f06d8 r7:cc4f1520 r6:00000000 r5:cca4a600 r4:ffffffea
[23201.939340] [<bf699c88>] (ieee80211_reconfig [mac80211]) from [<bf657938>] (ieee80211_restart_work+0xc4/0xfc [mac80211])
[23201.950223]  r10:00000000 r9:00000000 r8:cc4f06d8 r7:cc4f0520 r6:cc4f0520 r5:cc4f1440
[23201.958055]  r4:cc4f1440
[23201.960745] [<bf657874>] (ieee80211_restart_work [mac80211]) from [<c036cf90>] (process_one_work+0x1dc/0x52c)
[23201.970673]  r8:00000000 r7:ed6afc00 r6:ed6ac580 r5:c8e57480 r4:cc4f16d8
[23201.977385] [<c036cdb4>] (process_one_work) from [<c036d340>] (worker_thread+0x60/0x550)
[23201.985486]  r10:ed6ac580 r9:c1304d00 r8:ed6ac598 r7:00000008 r6:ed6ac580 r5:c8e57494
[23201.993318]  r4:c8e57480
[23201.995867] [<c036d2e0>] (worker_thread) from [<c0374644>] (kthread+0x170/0x174)
[23202.003271]  r10:c4795e74 r9:c8e57480 r8:c036d2e0 r7:c3368000 r6:00000000 r5:ccf58bc0
[23202.011104]  r4:cc396240
[23202.013652] [<c03744d4>] (kthread) from [<c03001a8>] (ret_from_fork+0x14/0x2c)
[23202.020879] Exception stack(0xc3369fb0 to 0xc3369ff8)
[23202.025937] 9fa0:                                     00000000 00000000 00000000 00000000
[23202.034123] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[23202.042307] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[23202.048931]  r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c03744d4
[23202.056766]  r4:ccf58bc0
[23202.059435] ---[ end trace 918fd75c5c3dcb42 ]---
[23202.067258] ------------[ cut here ]------------
[23202.072243] WARNING: CPU: 0 PID: 32763 at net/mac80211/driver-ops.c:97 drv_remove_interface+0x178/0x17c [mac80211]
[23202.082841] p2p-dev-wlan0: Failed check-sdata-in-driver check, flags: 0x0
[23202.089730] Modules linked in: veth(E) xt_nat(E) xt_tcpudp(E) xt_conntrack(E) xt_MASQUERADE(E) nf_conntrack_netlink(E) xfrm_user(E) xfrm_algo(E) nft_counter(E) xt_addrtype(E) nft_compat(E) nft_chain_nat(E) nf_tables(E) nfnetlink(E) br_netfilter(E) bridge(E) 8021q(E) garp(E) mrp(E) stp(E) llc(E) cmac(E) rfcomm(E) wl18xx(E) wlcore(E) mac80211(E) bnep(E) cfg80211(E) libarc4(E) dw_hdmi_cec(E) imx6_media_csi(CE) dw_hdmi_ahb_audio(E) v4l2_fwnode(E) evdev(E) imx_thermal(E) snd_soc_simple_card(E) snd_soc_simple_card_utils(E) hci_uart(E) btqca(E) btrtl(E) btbcm(E) btintel(E) imx_vdoa(E) snd_soc_imx_audmux(E) nvmem_imx_ocotp(E) wlcore_sdio(E) mux_mmio(E) video_mux(E) mux_core(E) snd_soc_fsl_ssi(E) imx_pcm_dma(E) imx_pcm_fiq(E) snd_soc_core(E) snd_pcm_dmaengine(E) imx2_wdt(E) snd_pcm(E) snd_timer(E) snd(E) soundcore(E) imx6_media(CE) imx_media_common(CE) videobuf2_dma_contig(E) v4l2_mem2mem(E) dw_hdmi_imx(E) videobuf2_memops(E) dw_hdmi(E) cec(E) videobuf2_v4l2(E) videobuf2_common(E) imxdrm(E)
[23202.090116]  imx_ipu_v3(E) drm_kms_helper(E) ir_rc6_decoder(E) leds_gpio(E) rc_rc6_mce(E) gpio_ir_recv(E) rc_core(E) drm(E) iptable_nat(E) nf_nat(E) nf_conntrack(E) nf_defrag_ipv6(E) nf_defrag_ipv4(E) libcrc32c(E) imx6q_cpufreq(E) iptable_mangle(E) iptable_filter(E) bluetooth(E) jitterentropy_rng(E) overlay(E) cbc(E) aes_arm_bs(E) crypto_simd(E) cryptd(E) drbg(E) aes_arm(E) aes_generic(E) ansi_cprng(E) ecdh_generic(E) rfkill(E) ecc(E) libaes(E) ip_tables(E) x_tables(E) autofs4(E) ext4(E) crc16(E) mbcache(E) jbd2(E) crc32c_generic(E) phy_generic(E) ci_hdrc_imx(E) ci_hdrc(E) ulpi(E) roles(E) ehci_hcd(E) udc_core(E) sdhci_esdhc_imx(E) sdhci_pltfm(E) cqhci(E) usbcore(E) i2c_imx(E) sdhci(E) usbmisc_imx(E) phy_mxs_usb(E) at803x(E) anatop_regulator(E) gpio_mxc(E)
[23202.244504] CPU: 0 PID: 32763 Comm: kworker/0:1 Tainted: G        WC  E     5.10.0-0.deb10.16-armmp #1 Debian 5.10.127-2~bpo10+1
[23202.256078] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[23202.262779] Workqueue: events_freezable ieee80211_restart_work [mac80211]
[23202.269580] Backtrace:
[23202.272060] [<c0cc7fb4>] (dump_backtrace) from [<c0cc837c>] (show_stack+0x20/0x24)
[23202.279640]  r7:00000061 r6:60070013 r5:00000000 r4:c13cdd68
[23202.285311] [<c0cc835c>] (show_stack) from [<c0ccd2b0>] (dump_stack+0xd0/0xe4)
[23202.292550] [<c0ccd1e0>] (dump_stack) from [<c034d6b8>] (__warn+0xfc/0x114)
[23202.299518]  r7:00000061 r6:00000009 r5:bf65bab8 r4:bf6d8ab0
[23202.305187] [<c034d5bc>] (__warn) from [<c0cc91f4>] (warn_slowpath_fmt+0xa4/0xd8)
[23202.312677]  r7:00000061 r6:bf6d8ab0 r5:c1305e4c r4:bf6d8acc
[23202.318494] [<c0cc9154>] (warn_slowpath_fmt) from [<bf65bab8>] (drv_remove_interface+0x178/0x17c [mac80211])
[23202.328335]  r9:cc4f0ba4 r8:c1305e4c r7:cc4f1478 r6:c348c000 r5:cc4f0520 r4:c348c000
[23202.336335] [<bf65b940>] (drv_remove_interface [mac80211]) from [<bf673abc>] (ieee80211_do_stop+0x5bc/0x8ac [mac80211])
[23202.347123]  r5:cc4f0520 r4:c348c02c
[23202.350951] [<bf673500>] (ieee80211_do_stop [mac80211]) from [<bf675458>] (ieee80211_sdata_stop+0x28/0x60 [mac80211])
[23202.361570]  r10:cc4f0520 r9:cc4f1440 r8:cc4f06d8 r7:cc4f1520 r6:cc4f01c0 r5:cc4f0000
[23202.369402]  r4:c348c008
[23202.372224] [<bf675430>] (ieee80211_sdata_stop [mac80211]) from [<bf679460>] (ieee80211_stop_p2p_device+0x1c/0x20 [mac80211])
[23202.383828] [<bf679444>] (ieee80211_stop_p2p_device [mac80211]) from [<bf57c3ac>] (cfg80211_stop_p2p_device+0x70/0x228 [cfg80211])
[23202.395830] [<bf57c33c>] (cfg80211_stop_p2p_device [cfg80211]) from [<bf57c7c4>] (cfg80211_shutdown_all_interfaces+0xa8/0xf0 [cfg80211])
[23202.408095]  r6:cc4f0000 r5:cc4f04a8 r4:c348c008
[23202.412986] [<bf57c71c>] (cfg80211_shutdown_all_interfaces [cfg80211]) from [<bf6978c0>] (ieee80211_handle_reconfig_failure+0xe0/0xe4 [mac80211])
[23202.426036]  r6:00000000 r5:cc4f1580 r4:cc4f0520
[23202.430932] [<bf6977e0>] (ieee80211_handle_reconfig_failure [mac80211]) from [<bf699d48>] (ieee80211_reconfig+0xc0/0x1810 [mac80211])
[23202.442942]  r7:cc4f1520 r6:00000000 r5:cc4f1440 r4:ffffffea
[23202.448890] [<bf699c88>] (ieee80211_reconfig [mac80211]) from [<bf657938>] (ieee80211_restart_work+0xc4/0xfc [mac80211])
[23202.459772]  r10:00000000 r9:00000000 r8:cc4f06d8 r7:cc4f0520 r6:cc4f0520 r5:cc4f1440
[23202.467605]  r4:cc4f1440
[23202.470297] [<bf657874>] (ieee80211_restart_work [mac80211]) from [<c036cf90>] (process_one_work+0x1dc/0x52c)
[23202.480223]  r8:00000000 r7:ed6afc00 r6:ed6ac580 r5:c8e57480 r4:cc4f16d8
[23202.486934] [<c036cdb4>] (process_one_work) from [<c036d340>] (worker_thread+0x60/0x550)
[23202.495035]  r10:ed6ac580 r9:c1304d00 r8:ed6ac598 r7:00000008 r6:ed6ac580 r5:c8e57494
[23202.502867]  r4:c8e57480
[23202.505415] [<c036d2e0>] (worker_thread) from [<c0374644>] (kthread+0x170/0x174)
[23202.512820]  r10:c4795e74 r9:c8e57480 r8:c036d2e0 r7:c3368000 r6:00000000 r5:ccf58bc0
[23202.520653]  r4:cc396240
[23202.523200] [<c03744d4>] (kthread) from [<c03001a8>] (ret_from_fork+0x14/0x2c)
[23202.530427] Exception stack(0xc3369fb0 to 0xc3369ff8)
[23202.535485] 9fa0:                                     00000000 00000000 00000000 00000000
[23202.543672] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[23202.551856] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[23202.558480]  r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c03744d4
[23202.566314]  r4:ccf58bc0
[23202.568943] ---[ end trace 918fd75c5c3dcb43 ]---

imx6dl-hummingboard2-emmc-som-v15.dts.txt

  • Hi,

    It seems that this is a duplicate ticket that is closed.

    As mentioned, it is usually an integrity issue on SDIO lines.

    Let's start by Wi-Fi (B and D). Seems like reducing the clock does not help. can you make sure that the modules are all up and running after insmod?

    Just as a test, during regular runtime, can you trigger a recovery and report whether the system continues to run? The command to trigger a recovery is (assuming phy1):

    echo 1 > /sys/kernel/debug/ieee80211/phy1/wl12xx/start_recovery

    Regards,

    Shlomi

  • Hi,

    I will verify the module statuses once the crash happens again. 

    When executing following command:
    echo 1 > /sys/kernel/debug/ieee80211/phy0/wlcore/start_recovery

    The system continues to run, bt is still connected and the wifi scan goes through succesfully.

    Dmesg reveals following messages:

    [48502.485828] ------------[ cut here ]------------
    [48502.490650] WARNING: CPU: 1 PID: 14072 at drivers/net/wireless/ti/wlcore/main.c:802 wl12xx_queue_recovery_work+0x6c/0x70 [wlcore]
    [48502.502519] Modules linked in: algif_hash(E) algif_skcipher(E) af_alg(E) xt_nat(E) xt_tcpudp(E) veth(E) xt_conntrack(E) xt_MASQUERADE(E) nf_conntrack_netlink(E) xfrm_user(E) xfrm_algo(E) cmac(E) rfcomm(E) nft_counter(E) xt_addrtype(E) nft_compat(E) nft_chain_nat(E) nf_tables(E) nfnetlink(E) br_netfilter(E) bridge(E) wl18xx(E) wlcore(E) bnep(E) mac80211(E) cfg80211(E) libarc4(E) evdev(E) imx6_media_csi(CE) v4l2_fwnode(E) hci_uart(E) snd_soc_simple_card(E) imx_thermal(E) btqca(E) snd_soc_simple_card_utils(E) btrtl(E) btbcm(E) btintel(E) imx_vdoa(E) 8021q(E) garp(E) mrp(E) stp(E) llc(E) nvmem_imx_ocotp(E) snd_soc_imx_audmux(E) wlcore_sdio(E) mux_mmio(E) video_mux(E) mux_core(E) snd_soc_fsl_ssi(E) imx_pcm_dma(E) imx_pcm_fiq(E) snd_soc_core(E) snd_pcm_dmaengine(E) snd_pcm(E) snd_timer(E) snd(E) soundcore(E) imx2_wdt(E) imx6_media(CE) imx_media_common(CE) videobuf2_dma_contig(E) v4l2_mem2mem(E) videobuf2_memops(E) videobuf2_v4l2(E) videobuf2_common(E) imxdrm(E) imx_ipu_v3(E) drm_kms_helper(E)
    [48502.503249]  iptable_nat(E) nf_nat(E) nf_conntrack(E) nf_defrag_ipv6(E) nf_defrag_ipv4(E) libcrc32c(E) iptable_mangle(E) ir_rc6_decoder(E) drm(E) iptable_filter(E) rc_rc6_mce(E) gpio_ir_recv(E) rc_core(E) leds_gpio(E) imx6q_cpufreq(E) bluetooth(E) jitterentropy_rng(E) cbc(E) overlay(E) aes_arm_bs(E) crypto_simd(E) cryptd(E) drbg(E) aes_arm(E) aes_generic(E) ansi_cprng(E) ecdh_generic(E) rfkill(E) ecc(E) libaes(E) ip_tables(E) x_tables(E) autofs4(E) ext4(E) crc16(E) mbcache(E) jbd2(E) crc32c_generic(E) ci_hdrc_imx(E) ci_hdrc(E) phy_generic(E) ulpi(E) roles(E) ehci_hcd(E) udc_core(E) sdhci_esdhc_imx(E) sdhci_pltfm(E) cqhci(E) i2c_imx(E) sdhci(E) usbcore(E) usbmisc_imx(E) at803x(E) anatop_regulator(E) phy_mxs_usb(E) gpio_mxc(E)
    [48502.655562] CPU: 1 PID: 14072 Comm: bash Tainted: G        WC  E     5.10.0-0.deb10.16-armmp #1 Debian 5.10.127-2~bpo10+1
    [48502.666529] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
    [48502.673062] Backtrace:
    [48502.675552] [<c0cc7fb4>] (dump_backtrace) from [<c0cc837c>] (show_stack+0x20/0x24)
    [48502.683135]  r7:00000322 r6:60000013 r5:00000000 r4:c13cdd68
    [48502.688811] [<c0cc835c>] (show_stack) from [<c0ccd2b0>] (dump_stack+0xd0/0xe4)
    [48502.696051] [<c0ccd1e0>] (dump_stack) from [<c034d6b8>] (__warn+0xfc/0x114)
    [48502.703023]  r7:00000322 r6:00000009 r5:bf6fde20 r4:bf716e3c
    [48502.708694] [<c034d5bc>] (__warn) from [<c0cc91c0>] (warn_slowpath_fmt+0x70/0xd8)
    [48502.716184]  r7:00000322 r6:bf716e3c r5:c1305e4c r4:00000000
    [48502.721919] [<c0cc9154>] (warn_slowpath_fmt) from [<bf6fde20>] (wl12xx_queue_recovery_work+0x6c/0x70 [wlcore])
    [48502.731932]  r9:c2a69f58 r8:00000002 r7:00aac758 r6:00000002 r5:c2f197c0 r4:c2f197c0
    [48502.739761] [<bf6fddb4>] (wl12xx_queue_recovery_work [wlcore]) from [<bf70f368>] (start_recovery_write+0x30/0x40 [wlcore])
    [48502.750809]  r5:c2f197c0 r4:c2f19804
    [48502.754437] [<bf70f338>] (start_recovery_write [wlcore]) from [<c0655698>] (full_proxy_write+0x64/0x80)
    [48502.763838]  r7:00aac758 r6:cb818ee0 r5:bf70f338 r4:c342a780
    [48502.769513] [<c0655634>] (full_proxy_write) from [<c058b684>] (vfs_write+0xd4/0x434)
    [48502.777264]  r9:00000000 r8:c2a69f58 r7:00aac758 r6:c1305e4c r5:00000002 r4:c342a780
    [48502.785016] [<c058b5b0>] (vfs_write) from [<c058bb48>] (ksys_write+0x68/0xe0)
    [48502.792160]  r10:00000002 r9:00aac758 r8:c342a780 r7:00000000 r6:00000000 r5:c342a780
    [48502.799992]  r4:c1305e4c
    [48502.802535] [<c058bae0>] (ksys_write) from [<c058bbd8>] (sys_write+0x18/0x1c)
    [48502.809677]  r10:00000004 r9:c2a68000 r8:c0300324 r7:00000004 r6:b6f3adb0 r5:00aac758
    [48502.817510]  r4:00000074
    [48502.820053] [<c058bbc0>] (sys_write) from [<c03000c0>] (ret_fast_syscall+0x0/0x54)
    [48502.827626] Exception stack(0xc2a69fa8 to 0xc2a69ff0)
    [48502.832688] 9fa0:                   00000074 00aac758 00000001 00aac758 00000002 00000000
    [48502.840874] 9fc0: 00000074 00aac758 b6f3adb0 00000004 00000002 00000002 00000000 00000000
    [48502.849058] 9fe0: 00000004 bed01930 b6ed23b3 b6e5b746
    [48502.854225] ---[ end trace 9dbc4ce4140488bf ]---
    [48502.864099] wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.88
    [48502.886637] wlcore: pc: 0x0, hint_sts: 0x00000040 count: 2
    [48502.902885] wlcore: down
    [48502.905678] wlcore: down
    [48502.913651] ieee80211 phy0: Hardware restart was requested
    [48503.508817] wlcore: PHY firmware version: Rev 8.2.0.0.245
    [48503.562281] wlcore: firmware booted (Rev 8.9.0.0.88)

    Regards,

    Taneli

  • Thanks for the reply.

    I just wanted to make sure that reloading the firmware goes well.

    Just to make sure, reloading the modules also do not recover? only reboot?

    Shlomi

  • Hi,

    When the error: wl1271_sdio mmc1:0001:2: sdio write failed (-110)
    happens and trying to reload modules the following error happens:

    kernel: [259780.864873wl1271_sdioprobe of mmc1:0001:1 failed with error -16

    Only reboot recovers from this.

  • Hi,

    -16 error means that the device or resource is busy which ends up with the -110 error for SDIO failing to read/write.

    since BT is also problematic when it happens, it makes me believe that the chip may not get toggled.

    Can you make sure the BT_EN and WL_EN are working?

    another example where I got -16 with one of the customers is when they used the calibrator tool when the wlan0 interface was still up (and they needed to set it down before running the calibrator tool).

    Regards,

    Shlomi

  • Hi, thank you for your response.
    How can I make sure the BT_EN and WL_EN are working?

    We haven't ran the calibrator tool.

  • Hi,

    The calibrator tool is just an example of a similar behavior I had in the past. There is no need to run it.

    As for the BT_EN and WL_EN, you can probe it with an external logic analyzer.

    Regards,

    Shlomi