-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Labels
Arch: risc-vIssues related to the RISC-V (32-bit or 64-bit) architectureIssues related to the RISC-V (32-bit or 64-bit) architectureArea: DebuggingDebugging issuesDebugging issuesOS: LinuxIssues related to Linux (building system, etc)Issues related to Linux (building system, etc)Type: BugSomething isn't workingSomething isn't working
Description
Description / Steps to reproduce the issue
Hi folks,
I've tracked commit b8e30b5 (fs/vfs: Separate file descriptors from file descriptions) from #16499 to an issue on Espressif's CI.
Our QEMU tests on ESP32-C3 started failing on "ps" command.
Here's where it stops:
[...]
Attempting to boot anyway...
entry 0x4038383c
*** Booting NuttX ***
dram: lma 0x00000020 vma 0x3fc83c10 len 0x788 (1928)
iram: lma 0x000007b0 vma 0x40380000 len 0x3c04 (15364)
padd: lma 0x000043c8 vma 0x00000000 len 0xbc30 (48176)
imap: lma 0x00010000 vma 0x42000000 len 0x1ee54 (126548)
padd: lma 0x0002ee5c vma 0x00000000 len 0x119c (4508)
dmap: lma 0x00030000 vma 0x3c020000 len 0xbce0 (48352)
total segments stored 6
rtc_init(dbg): not burn core voltage in efuse or burn wrong voltage value in chip version: 03
ABC
NuttShell (NSH) NuttX-10.4.0
nsh> ps
PID GROUP PRI POLICY TYPE NPX STATE EVENT SIGMASK STACK COMMAND
0 0 0 FIFO Kthread - Ready 0000000000000000 0002032 Idle_Task
1 1 100 RR Task - Running 0000000000000000
I suspect something related to DEBUG_ASSERTIONS, but was not able to dig deeper.
And to reproduce:
- Checkout to said commit
- ./tools/configure.sh esp32c3-generic:ostest
- Enable:
CONFIG_ESPRESSIF_MERGE_BINS,CONFIG_DEBUG_FEATURES,CONFIG_DEBUG_ASSERTIONS - make
- Run QEMU with:
qemu-system-riscv32 -nographic -icount 3 -machine esp32c3 -drive file=nuttx.merged.bin,if=mtd,format=raw - Call
ps
Can we take a look at this?
I'm available to run any tests required.
Thanks!
On which OS does this issue occur?
[OS: Linux]
What is the version of your OS?
Mint 22.1
NuttX Version
master
Issue Architecture
[Arch: risc-v]
Issue Area
[Area: Debugging]
Host information
No response
Verification
- I have verified before submitting the report.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Arch: risc-vIssues related to the RISC-V (32-bit or 64-bit) architectureIssues related to the RISC-V (32-bit or 64-bit) architectureArea: DebuggingDebugging issuesDebugging issuesOS: LinuxIssues related to Linux (building system, etc)Issues related to Linux (building system, etc)Type: BugSomething isn't workingSomething isn't working