You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "lupyuen (via GitHub)" <gi...@apache.org> on 2024/05/04 01:06:00 UTC
Re: [I] regression of `rv-virt` kernel builds [nuttx]
lupyuen commented on issue #12275:
URL: https://github.com/apache/nuttx/issues/12275#issuecomment-2093935126
@inochisa Any idea why rv-virt:knsh64 crashes on startup? I tested on macOS with QEMU 7.0.0
https://gist.github.com/lupyuen/ce07dd0c21118cebe8e83a8d61439112
```text
→ qemu-system-riscv64 -nographic -semihosting -M virt,aclint=on -cpu rv64 -kernel nuttx
OpenSBI v1.0
...
ABC[ 0.000000] riscv_exception: EXCEPTION: Illegal instruction. MCAUSE: 0000000000000002, EPC: 000000008020853a, MTVAL: 0000000014d79073
[ 0.000000] riscv_exception: PANIC!!! Exception = 0000000000000002
[ 0.000000] _assert: Current Version: NuttX 12.5.1-RC0 0e67a79 May 4 2024 08:54:24 risc-v
[ 0.000000] _assert: Assertion failed panic: at file: common/riscv_exception.c:119 task: Idle_Task process: Kernel 0x80200dec
[ 0.000000] up_dump_register: EPC: 000000008020853a
[ 0.000000] up_dump_register: A0: 00000000804072c0 A1: 0000000000000000 A2: 0000000000000000 A3: 0000000000000001
[ 0.000000] up_dump_register: A4: 0000000000000000 A5: ffffffffffffffff A6: 0000000000000000 A7: fffffffffffffff8
[ 0.000000] up_dump_register: T0: 0000000080200050 T1: 0000000000000007 T2: 0000000000001000 T3: 00000000804072f8
[ 0.000000] up_dump_register: T4: 00000000804072f0 T5: 0000000000000027 T6: 0000000000000001
[ 0.000000] up_dump_register: S0: 00000000804072c0 S1: 0000000000000015 S2: 0000000000989680 S3: 0000000002004000
[ 0.000000] up_dump_register: S4: 000000000200bff8 S5: 0000000000000000 S6: 8000000a00006800 S7: 000000000000007f
[ 0.000000] up_dump_register: S8: 0000000080017038 S9: 0000000080038ea0 S10: 0000000000000000 S11: 0000000000000000
[ 0.000000] up_dump_register: SP: 0000000080406b50 FP: 00000000804072c0 TP: 000000008003e000 RA: 000000008020851e
[ 0.000000] dump_stack: User Stack:
[ 0.000000] dump_stack: base: 0x80406010
[ 0.000000] dump_stack: size: 00003056
[ 0.000000] dump_stack: sp: 0x80406b50
[ 0.000000] stack_dump: 0x80406b30: 80401b30 00000000 00000038 00000000 80400af8 00000000 8020851e 00000000
[ 0.000000] stack_dump: 0x80406b50: 80400c70 00000000 80400ae8 00000000 80401b30 00000000 80401b2c 00000000
[ 0.000000] stack_dump: 0x80406b70: 80400af8 00000000 8020835e 00000000 80400af8 00000000 802019b6 00000000
[ 0.000000] stack_dump: 0x80406b90: 80400af8 00000000 80200fd8 00000000 80600000 00000000 00400000 00000000
[ 0.000000] stack_dump: 0x80406bb0: 00000000 00000000 87000000 00000000 80200000 00000000 80406000 00000000
[ 0.000000] stack_dump: 0x80406bd0: 00000000 00000000 80200706 00000000 00000000 00000000 00000001 00000000
[ 0.000000] stack_dump: 0x80406bf0: 8003df30 00000000 8020004a 00000000 00000000 00000000 00000000 00000000
[ 0.000000] dump_tasks: PID GROUP PRI POLICY TYPE NPX STATE EVENT SIGMASK STACKBASE STACKSIZE USED FILLED COMMAND
[ 0.000000] dump_tasks: ---- --- --- -------- ------- --- ------- ---------- ---------------- 0x80400a80 2048 1016 49.6% irq
[ 0.000000] dump_task: 0 0 0 FIFO Kthread - Running 0000000000000000 0x80406010 3056 704 23.0% Idle_Task
QEMU: Terminated
→ qemu-system-riscv64 --version
QEMU emulator version 7.0.0
Copyright (c) 2003-2022 Fabrice Bellard and the QEMU Project developers
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org