Skip to content

boards/esp32c3-devkit/dropbear: enable SCHED_HAVE_PARENT#19474

Merged
xiaoxiang781216 merged 1 commit into
apache:masterfrom
FelipeMdeO:fix/esp32c3-dropbear-sched-have-parent
Jul 19, 2026
Merged

boards/esp32c3-devkit/dropbear: enable SCHED_HAVE_PARENT#19474
xiaoxiang781216 merged 1 commit into
apache:masterfrom
FelipeMdeO:fix/esp32c3-dropbear-sched-have-parent

Conversation

@FelipeMdeO

Copy link
Copy Markdown
Contributor

Summary

Dropbear's NSH PTY session reaps the child task with waitpid() and needs
CONFIG_SCHED_CHILD_STATUS, which depends on SCHED_HAVE_PARENT. The
netutils/dropbear Kconfig now depends on SCHED_HAVE_PARENT and selects
SCHED_CHILD_STATUS (apache/nuttx-apps#3648). SCHED_HAVE_PARENT cannot be
enabled via select, so it must come from the board defconfig — add it to the
esp32c3 dropbear config (the sim dropbear config already has it).

Without this, the SSH session fails with ECHILD right after authentication
(NSH session wait failed: Unknown error 10).

Impact

One line in the esp32c3 dropbear defconfig. Companion to apache/nuttx-apps#3648
merge this first so that PR's CI passes.

Testing

esp32c3-devkit:dropbear and sim:dropbear configure with a valid
SCHED_HAVE_PARENT=y + SCHED_CHILD_STATUS=y and pass savedefconfig
normalization (no diff).

Dropbear's NSH PTY session reaps the child task with waitpid() and needs
CONFIG_SCHED_CHILD_STATUS, which depends on SCHED_HAVE_PARENT.  The
netutils/dropbear Kconfig now depends on SCHED_HAVE_PARENT and selects
SCHED_CHILD_STATUS (apache/nuttx-apps#3648); set SCHED_HAVE_PARENT here so
the dropbear defconfig stays consistent and the session no longer fails
with ECHILD after authentication.

Signed-off-by: Felipe Moura <moura.fmo@gmail.com>
@github-actions github-actions Bot added Size: XS The size of the change in this PR is very small Board: risc-v labels Jul 18, 2026
@github-actions

Copy link
Copy Markdown

MemBrowse Memory Report

No memory changes detected for:

@xiaoxiang781216
xiaoxiang781216 merged commit 94ffa9c into apache:master Jul 19, 2026
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Board: risc-v Size: XS The size of the change in this PR is very small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants