Re: [xenomai-images] smokey with qemu-arm and qemu-arm64 stalls gdb test

2019-08-14 Thread Jan Kiszka via Xenomai

On 14.08.19 12:21, Quirin Gylstorff wrote:



On 8/14/19 11:46 AM, Jan Kiszka wrote:

On 14.08.19 10:02, Quirin Gylstorff wrote:

Hi,

I tested smokey with qemu-amd64, qemu-arm and qemu-arm64 from xenomai-images 
with the dh_strip patch active against master and had following results:

qemu-amd64 - smokey run
qemu-arm and qemu-arm64 stall with the attached output.

Kind regards,
Quirin


Which kernel version(s) are showing this issue on arm[64]?



On arm:
Linux demo 4.14.85+ #1 SMP Tue Aug 13 16:57:48 UTC 2019 armv7l GNU/Linux


We need ipipe-core-4.14.96-arm-6 at least.


On arm64:
Linux demo 4.14.78+ #1 SMP PREEMPT Wed Aug 14 07:11:31 UTC 2019 aarch64 
GNU/Linux



Yeah, and we still need patches for arm64 in fact, analogously to 
https://gitlab.denx.de/Xenomai/ipipe-arm/commit/d36ce64b54b9f763fc337e70ebb313fba63f944a.


Jan

--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux



Re: [xenomai-images] smokey with qemu-arm and qemu-arm64 stalls gdb test

2019-08-14 Thread Quirin Gylstorff via Xenomai




On 8/14/19 11:46 AM, Jan Kiszka wrote:

On 14.08.19 10:02, Quirin Gylstorff wrote:

Hi,

I tested smokey with qemu-amd64, qemu-arm and qemu-arm64 from 
xenomai-images with the dh_strip patch active against master and had 
following results:

qemu-amd64 - smokey run
qemu-arm and qemu-arm64 stall with the attached output.

Kind regards,
Quirin


Which kernel version(s) are showing this issue on arm[64]?



On arm:
Linux demo 4.14.85+ #1 SMP Tue Aug 13 16:57:48 UTC 2019 armv7l GNU/Linux
On arm64:
Linux demo 4.14.78+ #1 SMP PREEMPT Wed Aug 14 07:11:31 UTC 2019 aarch64 
GNU/Linux


Quirin



Re: [xenomai-images] smokey with qemu-arm and qemu-arm64 stalls gdb test

2019-08-14 Thread Jan Kiszka via Xenomai

On 14.08.19 10:02, Quirin Gylstorff wrote:

Hi,

I tested smokey with qemu-amd64, qemu-arm and qemu-arm64 from xenomai-images 
with the dh_strip patch active against master and had following results:

qemu-amd64 - smokey run
qemu-arm and qemu-arm64 stall with the attached output.

Kind regards,
Quirin


Which kernel version(s) are showing this issue on arm[64]?

Jan

--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux



[xenomai-images] smokey with qemu-arm and qemu-arm64 stalls gdb test

2019-08-14 Thread Quirin Gylstorff via Xenomai

Hi,

I tested smokey with qemu-amd64, qemu-arm and qemu-arm64 from 
xenomai-images with the dh_strip patch active against master and had 
following results:

qemu-amd64 - smokey run
qemu-arm and qemu-arm64 stall with the attached output.

Kind regards,
Quirin
-- next part --
root@demo:~# /usr/lib/xenomai/testsuite/smokey --run --verbose=7 --vm
mul: 0x79364d93, shft: 26

signed positive operation: 0x03ff * 10 / 3300
inline calibration: 0x: 133.825 ns, rejected 1/1
inlined llimd: 0x79364d9364d9362f: 29.692 ns, rejected 1/1
inlined llmulshft: 0x79364d92ffe1: 12.006 ns, rejected 19/1
out of line calibration: 0x: 158.547 ns, rejected 3/1
out of line llimd: 0x79364d9364d9362f: 27.067 ns, rejected 9/1
out of line llmulshft: 0x79364d92ffe1: 18.120 ns, rejected 8/1

signed negative operation: 0xfc01 * 10 / 3300
inline calibration: 0x: 137.803 ns, rejected 8/1
inlined llimd: 0x86c9b26c9b26c9d1: 32.240 ns, rejected 2/1
inlined llmulshft: 0x86c9b26d001e: 12.976 ns, rejected 13/1
out of line calibration: 0x: 164.960 ns, rejected 14/1
out of line llimd: 0x86c9b26c9b26c9d1: 21.379 ns, rejected 1/1
out of line llmulshft: 0x86c9b26d001e: 7.305 ns, rejected 11/1
arith OK
bufp skipped (no kernel support)
.. CPU0 is available
.. CPU1 is available
.. CPU2 is available
.. CPU3 is available
no CPU restriction with xenomai.supported_cpus
cpu_affinity skipped (no kernel support)
running for 3 seconds
fpu_stress OK
GNU gdb (Debian 7.12-6) 7.12.0.20161007-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "aarch64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/lib/xenomai/testsuite/smokey...done.
(gdb) Breakpoint 1 at 0xa6bc: file gdb.c, line 168.
(gdb) Starting program: /usr/lib/xenomai/testsuite/smokey --run=4 run_target
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".
[New Thread 0xbf247200 (LWP 1548)]
-- next part --
root@demo:~# /usr/lib/xenomai/testsuite/smokey --run --vm --verbose=7
mul: 0x79364d93, shft: 26
integ: 30, frac: 0x4d9364d9364d9364

signed positive operation: 0x03ff * 10 / 3300
inline calibration: 0x: 152.640 ns, rejected 2/1
inlined llimd: 0x79364d9364d9362f: 924.195 ns, rejected 8/1
inlined llmulshft: 0x79364d92ffe1: 35.678 ns, rejected 7/1
inlined nodiv_llimd: 0x79364d9364d9362f: 36.872 ns, rejected 25/1
out of line calibration: 0x: 203.620 ns, rejected 9/1
out of line llimd: 0x79364d9364d9362f: 866.105 ns, rejected 6/1
out of line llmulshft: 0x79364d92ffe1: 21.792 ns, rejected 3/1
out of line nodiv_llimd: 0x79364d9364d9362f: 47.353 ns, rejected 5/1

signed negative operation: 0xfc01 * 10 / 3300
inline calibration: 0x: 150.280 ns, rejected 0/1
inlined llimd: 0x86c9b26c9b26c9d1: 791.769 ns, rejected 8/1
inlined llmulshft: 0x86c9b26d001e: 20.446 ns, rejected 6/1
inlined nodiv_llimd: 0x86c9b26c9b26c9d1: 39.472 ns, rejected 5/1
out of line calibration: 0x: 202.985 ns, rejected 9/1
out of line llimd: 0x86c9b26c9b26c9d1: 931.355 ns, rejected 7/1
out of line llmulshft: 0x86c9b26d001e: 8.812 ns, rejected 11/1
out of line nodiv_llimd: 0x86c9b26c9b26c9d1: 39.187 ns, rejected 18/1

unsigned operation: 0x03ff * 10 / 3300
inline calibration: 0x: 159.776 ns, rejected 11/1
inlined nodiv_ullimd: 0x79364d9364d9362f: 25.969 ns, rejected 7/1
out of line calibration: 0x: 199.057 ns, rejected 7/1
out of line nodiv_ullimd: 0x79364d9364d9362f: 30.038 ns, rejected 8/1
arith OK
bufp skipped (no kernel support)
.. CPU0 is available
.. CPU1 is available
.. CPU2 is available
.. CPU3 is available
no CPU restriction with xenomai.supported_cpus
cpu_affinity skipped (no kernel support)
running for 3 seconds
fpu_stress OK
GNU gdb (Debian 7.12-6) 7.12.0.20161007-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the