Busybox 'sh' segmentation fault

Venkatakrishnan Sutharsan venkatakrishnan.iitm at gmail.com
Fri Jul 16 12:05:20 UTC 2021


Hi,

I currently have a RISCV based processor for which I am compiling linux
with buildroot and busybox. I am using BusyBox v1.31.1 and using RISCV 64
toolchain for compilation. Once the bootloader starters the kernel I see
boot logs and all till buildroot login. Once I login and press any key it
shows the following error message.

Welcome to Buildrootbuildroot login: root

Password:

# [just press any key you get the below unhandled signal]
[ 4471.577178] sh[98]: unhandled signal 11 code 0x1 at 0x00000000656c6976
in busybox[10000+aa000]
[ 4471.903472] CPU: 0 PID: 98 Comm: sh Not tainted
5.5.0-rc1-00032-g264b43306b8c-dirty #2
[ 4472.208496] epc: 000000000004e3f2 ra : 000000000004e3b8 sp :
0000003fff8f3920
[ 4472.475585]  gp : 00000000000bbc90 tp : 0000003fdf386820 t0 :
0000003fdf3a3160
[ 4472.743682]  t1 : 0000000000017e3c t2 : 0000003fdf26e9fc s0 :
00000000000bd2a0
[ 4473.011749]  s1 : 0000000000000000 a0 : 00000000000c1f10 a1 :
0000000000000000
[ 4473.279785]  a2 : 0000000000000000 a3 : 0000000000000000 a4 :
00000000000bbe18
[ 4473.548950]  a5 : 00000000656c6966 a6 : 0000000000000000 a7 :
0000000000000000
[ 4473.817321]  s2 : 00000000000bbea0 s3 : 00000000000bd5e0 s4 :
0000000000000000
[ 4474.085784]  s5 : 0000000000000000 s6 : ffffffffffffffff s7 :
000000000009a000
[ 4474.354187]  s8 : 00000000000bd5e0 s9 : 0000000000090000 s10:
0000003fff8f3980
[ 4474.622222]  s11: 0000000000000015 t3 : 0000003fdf2d3a54 t4 :
0000000000000002
[ 4474.890136]  t5 : 0000000000000002 t6 : 00000000000bd808
[ 4475.072753] status: 0000000200000020 badaddr: 00000000656c6976 cause:
000000000000000d

Welcome to Buildrootbuildroot login:

Any body have idea how to solve this issue?

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20210716/d154580a/attachment-0001.html>


More information about the busybox mailing list