masayuki2009 commented on PR #7318:
URL: https://github.com/apache/incubator-nuttx/pull/7318#issuecomment-1280111662

   @xiaoxiang781216 
   `rv-virt:knsh64` fails when booting. 
   
   NOTE: I tried to change ` CONFIG_ARCH_INTERRUPTSTACK` from 2048 to 4096 but 
the issue still happens.
   
   ```
   + /home/ishikawa/opensource/QEMU/qemu-7.1/build/qemu-system-riscv64 
-semihosting -nographic -cpu rv64 -smp 8 -M virt,aclint=on -bios none -kernel 
./nuttx
   ABC[    0.028000] up_assert: Assertion failed at file:init/nx_bringup.c 
line: 312 task: Idle Task
   [    0.031000] riscv_registerdump: EPC: 0000000080005ed2
   [    0.032000] riscv_registerdump: A0: 0000000000000000 A1: 0000000080201530 
A2: 0000000010000000 A3: 0000000080015502
   [    0.035000] riscv_registerdump: A4: 0000000000000001 A5: 0000000000000000 
A6: 000000000000006c A7: 0000000000000068
   [    0.037000] riscv_registerdump: T0: 0000000000000030 T1: 0000000000000009 
T2: 0000000000000020 T3: 000000000000002a
   [    0.038000] riscv_registerdump: T4: 000000000000002e T5: 00000000000001ff 
T6: 000000000000002d
   [    0.040000] riscv_registerdump: S0: 0000000080201530 S1: 0000000080200a58 
S2: 00000000802016a0 S3: 0000000080206b10
   [    0.042000] riscv_registerdump: S4: 0000000000000000 S5: 0000000000000000 
S6: 0000000000000000 S7: 0000000000000000
   [    0.043000] riscv_registerdump: S8: 0000000000000000 S9: 0000000000000000 
S10: 0000000000000000 S11: 0000000000000000
   [    0.044000] riscv_registerdump: SP: 0000000080206b00 FP: 0000000080201530 
TP: 0000000000000000 RA: 0000000080005ed2
   [    0.045000] riscv_dump_stack: IRQ Stack:
   [    0.046000] riscv_dump_stack: sp:     80206b10
   [    0.046000] riscv_dump_stack:   base: 802001f0
   [    0.047000] riscv_dump_stack:   size: 00000800
   [    0.048000] riscv_dump_stack: ERROR: IRQ Stack pointer is not within the 
stack
   [    0.050000] riscv_dump_stack: User Stack:
   [    0.051000] riscv_dump_stack: sp:     80206b10
   [    0.052000] riscv_dump_stack:   base: 80206030
   [    0.053000] riscv_dump_stack:   size: 00000bd0
   [    0.054000] riscv_stackdump: 0000000080206b00: 80201530 00000000 80005a3e 
00000000 00000138 00000000 80014930 00000000
   [    0.056000] riscv_stackdump: 0000000080206b20: 80207f08 00000000 80200a48 
00000000 802016b4 00000000 802016b8 00000000
   [    0.058000] riscv_stackdump: 0000000080206b40: 00000005 00000000 80003f6a 
00000000 00000005 00000000 800015d2 00000000
   [    0.059000] riscv_stackdump: 0000000080206b60: 802016b4 00000000 00000000 
00000000 00016400 00000000 800148f0 00000000
   [    0.060000] riscv_stackdump: 0000000080206b80: 800148f8 00000000 00000000 
00000000 00000005 00000000 8000151e 00000000
   [    0.063000] riscv_stackdump: 0000000080206ba0: 80400000 00000000 00400000 
00000000 00000000 00000000 00000000 00000000
   [    0.065000] riscv_stackdump: 0000000080206bc0: 00000000 00000000 00000000 
00000000 00000000 00000000 80000640 00000000
   [    0.067000] riscv_stackdump: 0000000080206be0: 00000000 00000000 800006ea 
00000000 00000000 00000000 8000004c 00000000
   [    0.069000] riscv_dump_stack: Kernel Stack:
   [    0.069000] riscv_dump_stack: sp:     80206b10
   [    0.071000] riscv_dump_stack:   base: 00000000
   [    0.072000] riscv_dump_stack:   size: 00000c00
   [    0.072000] riscv_dump_stack: ERROR: Kernel Stack pointer is not within 
the stack
   [    0.074000] riscv_showtasks:    PID    PRI     STACK      USED   FILLED   
 COMMAND
   [    0.076000] riscv_showtasks:   ----   ----      2048      2040    99.6%!  
 irq
   [    0.077000] riscv_dump_task:      0      0      3024      1376    45.5%   
 Idle Task
   ```


-- 
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-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to