Hi Max, Max Filippov wrote,
On Fri, May 3, 2024 at 5:55 AM Waldemar Brodkorb wbx@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.
You are right again. Now I could successfully run the test suite: Total skipped: 7 Total failed: 10 Total passed: 241
A lot of NPTL tests are using fork(), should we disable them for noMMU to get at least some coverage for the NPTL/TLS code in noMMU FDPIC case? At the moment all NPTL cases are disabled in OpenADK in the noMMU case.
How did you test NPTL/TLS?
Thanks Waldemar