Closed Craft4Cube closed 3 months ago
Hi @Craft4Cube, we will check and get back..
Hello @kapilkedawat, any updates on this?
Hi @Craft4Cube, apologies for the delay, we will share the fix in some time.
Hey @Craft4Cube
esp_deinit_crash.zip
Please apply this patch and check if you are still facing the error
Steps to apply patch
1) Unzip the patch in esp_hosted directory
2) git apply esp_deinit_crash.patch
Hi,
your patch seems to have fixed the crash when shutting down. However now a warning about Flushing system-wide workqueues is still shown.
[ 21.109948] WARNING: Flushing system-wide workqueues will be prohibited in near future.
[ 21.118120] CPU: 0 PID: 233 Comm: modprobe Tainted: G O 6.8.7 #5
[ 21.125531] Hardware name: Allwinner sun8i Family
[ 21.130246] unwind_backtrace from show_stack+0x10/0x14
[ 21.135512] show_stack from dump_stack_lvl+0x68/0x74
[ 21.140587] dump_stack_lvl from esp_commands_teardown+0x38/0xc4 [esp32_sdio]
[ 21.147774] esp_commands_teardown [esp32_sdio] from esp_remove_card+0x20/0x80 [esp32_sdio]
[ 21.156162] esp_remove_card [esp32_sdio] from esp_remove+0x80/0xf8 [esp32_sdio]
[ 21.163592] esp_remove [esp32_sdio] from sdio_bus_remove+0x30/0x124
[ 21.169980] sdio_bus_remove from device_release_driver_internal+0x184/0x1f8
[ 21.177047] device_release_driver_internal from driver_detach+0x54/0xa0
[ 21.183759] driver_detach from bus_remove_driver+0x58/0xa4
[ 21.189342] bus_remove_driver from esp_exit+0x34/0x5a8 [esp32_sdio]
[ 21.195719] esp_exit [esp32_sdio] from sys_delete_module+0x144/0x250
[ 21.202188] sys_delete_module from ret_fast_syscall+0x0/0x54
[ 21.207941] Exception stack(0xc4995fa8 to 0xc4995ff0)
[ 21.212997] 5fa0: 00451e5c 00000002 00502d40 00000080 00000000 00502d18
[ 21.221171] 5fc0: 00451e5c 00000002 b6e7dc20 00000081 00502e58 00502870 00000001 005016bc
[ 21.229340] 5fe0: bee55b60 bee55b50 00452c04 b6ee0c00
wq.zip Hey @Craft4Cube can you please test the same with this patch?
Hey @Shreyas0-7,
Thanks for the patch. It seems that it fixed the second issue! Will you put those two patches into the source at some point, or will they stay as patches?
Hey @Craft4Cube we have raised internal MR which is under review this will be merged in source
Hey @Shreyas0-7,
Thanks for the Information. I think we can close this as fixed for now, as it seems to work!
I have a custom board, with Linux SoC and ESP32-Pico. The ESP32 is connected over SDIO to the Linux SoC.
I am using ESP32 Firmware Release 1.0.2 sdio_only, and kernel 6.8.7, module is commit 6a25417fc880fd744b3b0d93c11659c3e7d86384 as used in buildroot.
Loading the module and connecting to a network seems to work fine, bluetooth also is able to discover devices.
However when trying to remove the kernel-module I get a Segmentation fault:
Kernel module load:
ESP32 log:
Also if i have a stream running over WiFi it seems to just hang after a few minutes, and does not allow any Network Traffic afterwards. (Ping does not work either)
Do you know what the issue could be?