Skip to content

Conversation

@rlubos
Copy link
Contributor

@rlubos rlubos commented Jun 5, 2025

<err> net_openthread_platform: Failed to submit work to queue, error: -19 error was printed on boot, as OpenThread tried to add a work item to an uninitialized work queue, this PR fixes it.

Also, lower the log level for OpenThread for echo samples, it was just too much noise.

rlubos added 2 commits June 5, 2025 15:55
OpenThread tries to signal pending tasklets during initialization, which
currently generate an error, as the work queue configured to handle
tasklets is initialized later. This is not a fatal issue, as the
initialization code on the Zephyr side triggers a work item immediately
after the work queue was initialized, but it doesn't look good to have
errors printed on boot.

Therefore, move the work queue initialization before the OpenThread
stack initialization, so that tasklets triggered from OT side can be
signalled properly w/o an error.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
OpenThread stack prints just too much data at the info log level,
completely obfuscating the output of the sample, which prints a lot on
its own. Therefore, lower the log level for OT logs.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
@sonarqubecloud
Copy link

sonarqubecloud bot commented Jun 5, 2025

@dkalowsk dkalowsk merged commit 00bd154 into zephyrproject-rtos:main Jun 9, 2025
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants