cancel
Showing results for 
Search instead for 
Did you mean: 

STM32MP135-DK: brcmf_sdio exception at boot time

OPetr.2
Associate II

We have an exception at boot time, I think it is due to the brcmf_sdio module (wifi).Do you confirm?

Could you explain me what is the cause from the following lines of dmesg?  

After rebooting the board, the problem disappear, but we discovered that the modules related to wifi and bluetooth are no more loaded. How it can be possible? The image is created from the distribution package and activating PWM timer and LSM6DSOX on I2C, both not related to Wifi.

[ 94.207699] ------------[ cut here ]------------
[ 94.210967] WARNING: CPU: 0 PID: 54 at lib/refcount.c:25 kthread_stop+0x178/0x1c8
[ 94.280542] refcount_t: addition on 0; use-after-free.
[ 94.284308] Modules linked in: snd_soc_audio_graph_card snd_soc_simple_card_utils brcmfmac stm32_dcmipp cfg80211 st_lsm6dsx_spi brcmutil stm32_crc32 gc2145 st_mipid02 v4l2_fwnode v4l2_async stm32_cryp libdes crypto_engine videodev snd[** ] (1 of 2) A start job is running for…ilable disk space (10s / no limit)
[ 94.635785] CPU: 0 PID: 54 Comm: kworker/0:3 Not tainted 5.15.67 #1
[ 94.667593] Hardware name: STM32 (Device Tree Support)
[ 94.671366] Workqueue: events request_firmware_work_func
[ 94.676641] [<c010e8ec>] (unwind_backtrace) from [<c010c158>] (show_stack+0x10/0x14)
[ 94.780409] [<c010c158>] (show_stack) from [<c0122404>] (__warn+0xec/0x148)
[ 94.786010] [<c0122404>] (__warn) from [<c0c32db4>] (warn_slowpath_fmt+0x78/0xac)
[ 94.855183] [<c0c32db4>] (warn_slowpath_fmt) from [<c01465bc>] (kthread_stop+0x178/0x1c8)
[ 94.906787] [<c01465bc>] (kthread_stop) from [<bf3b1568>] (brcmf_sdio_remove+0x2c/0x178 [brcmfmac])
[ 94.977618] [<bf3b1568>] (brcmf_sdio_remove [brcmfmac]) from [<bf3b2fcc>] (brcmf_sdiod_remove+0x20/0xc0 [brcmfmac])
[ 94.986851] [<bf3b2fcc>] (brcmf_sdiod_remove [brcmfmac]) from [<bf3b326c>] (brcmf_ops_sdio_remove+0x34/0x5c [brcmfmac])
[ 95.147652] [<bf3b326c>] (brcmf_ops_sdio_remove [brcmfmac]) from [<c09f3da8>] (sdio_bus_remove+0x30/0x11c)
[ 95.156107] [<c09f3da8>] (sdio_bus_remove) from [<c07518d8>] (__device_release_driver+0x154/0x228)
[*** ] (1 of 2) A start job is running for…ilable disk space (10s / no limit)
[ 95.263774] dcmipp 5a000000.dcmipp: bound dcmipp-byteproc.1.auto (ops dcmipp_byteproc_pdrv_exit [dcmipp_byteproc])
[ 95.290505] [<c07518d8>] (__device_release_driver) from [<c07519cc>] (device_release_driver+0x20/0x2c)
[ 95.332128] dcmipp 5a000000.dcmipp: bound dcmipp-bytecap.2.auto (ops dcmipp_bytecap_comp_ops [dcmipp_bytecap])
[ 95.347732] [<c07519cc>] (device_release_driver) from [<bf3b05c4>] (brcmf_sdio_firmware_callback+0x3c/0x514 [brcmfmac])
[ 95.392682] [<bf3b05c4>] (brcmf_sdio_firmware_callback [brcmfmac]) from [<bf3a6358>] (brcmf_fw_request_done+0xd0/0x16c [brcmfmac])
[ 95.466197] [<bf3a6358>] (brcmf_fw_request_done [brcmfmac]) from [<c077013c>] (request_firmware_work_func+0x50/0x98)
[ 95.514409] [<c077013c>] (request_firmware_work_func) from [<c01401b8>] (process_one_work+0x1cc/0x558)
[ 95.558952] [<c01401b8>] (process_one_work) from [<c01409b4>] (worker_thread+0x44/0x5d4)
[ 95.582402] [<c01409b4>] (worker_thread) from [<c0146aec>] (kthread+0x14c/0x168)
[ 95.602717] [<c0146aec>] (kthread) from [<c0100130>] (ret_from_fork+0x14/0x24)
[ 95.622739] Exception stack(0xc1a75fb0 to 0xc1a75ff8)
[ 95.636476] 5fa0: 00000000 00000000 00000000 00000000
[ 95.657998] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 95.688444] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 95.706598] ---[ end trace cf133433f4b601b4 ]---
[ 95.717595] ------------[ cut here ]------------

0 REPLIES 0