On Fri, May 3, 2024 at 5:55 AM Waldemar Brodkorb <wbx(a)openadk.org> wrote:
Now I am booting up the system in Qemu with
following command:
qemu-system-xtensa -nographic -M lx60 -cpu dc233c -kernel
qemu-xtensa-initramfspiggyback-kernel
Now every command f.e. ls or ps works but gives a Illegal
Instruction in dmesg after exit(0).
[ 12.727280] Illegal Instruction in 'hush' (pid = 26, pc = 0x01d52e30)
[ 57.203598] Illegal Instruction in 'hush' (pid = 29, pc = 0x01d52e30)
Looks like that kernel is built without call0 userspace ABI support.
CONFIG_USER_ABI_CALL0_ONLY or CONFIG_USER_ABI_CALL0_PROBE
need to be set in the kernel config for correct signal delivery to
call0 processes.
--
Thanks.
-- Max