From: Jeff Webb <jeff.webb@domain.hid>
To: xenomai@xenomai.org
Subject: Re: [Xenomai-help] switchtest and Xenomai 2.2.4
Date: Wed, 25 Oct 2006 18:43:38 -0500 [thread overview]
Message-ID: <453FF6AA.6030406@domain.hid> (raw)
In-Reply-To: <453FC4C0.5070105@domain.hid>
Jeff Webb wrote:
> When I upgraded to Xenomai 2.2.4, I tried the switchtest program:
>
> cd /usr/xenomai/testsuite/switchtest
> ./run
>
> The program appeared to run properly, but <ctrl>-c would not stop the
> application. I was not able to kill the process cleanly, and
> /proc/xenomai/stat showed lots of processes still running.
I get the same result with svn trunk (rev 1749) plus this FPU patch:
https://mail.gna.org/public/xenomai-core/2006-10/msg00069.html
I think the bug may be SMP related. When I press <ctrl>-c the first time, I see no more references to CPU 0. When I press <ctrl>-c a second time, all output stops. I have attached the output below.
Thanks,
Jeff
[root switchtest]# ./run
*
*
* Type ^C to stop this application.
*
*
== Testing FPU check routines...
r0: 1 != 2
r1: 1 != 2
r2: 1 != 2
r3: 1 != 2
r4: 1 != 2
r5: 1 != 2
r6: 1 != 2
r7: 1 != 2
== FPU check routines: OK.
== Threads: sleeper_ufps0-0 rtk0-1 rtk0-2 rtk_fp0-3 rtk_fp0-4 rtk_fp_ufpp0-5 rtk_fp_ufpp0-6 rtup0-7 rtup0-8 rtup_ufpp0-9 rtup_ufpp0-10 rtus0-11 rtus0-12 rtus_ufps0-13 rtus_ufps0-14 rtuo0-15 rtuo0-16 rtuo_ufpp0-17 rtuo_ufpp0-18 rtuo_ufps0-19 rtuo_ufps0-20 rtuo_ufpp_ufps0-21 rtuo_ufpp_ufps0-22 sleeper_ufps1-0 rtk1-1 rtk1-2 rtk_fp1-3 rtk_fp1-4 rtk_fp_ufpp1-5 rtk_fp_ufpp1-6 rtup1-7 rtup1-8 rtup_ufpp1-9 rtup_ufpp1-10 rtus1-11 rtus1-12 rtus_ufps1-13 rtus_ufps1-14 rtuo1-15 rtuo1-16 rtuo_ufpp1-17 rtuo_ufpp1-18 rtuo_ufps1-19 rtuo_ufps1-20 rtuo_ufpp_ufps1-21 rtuo_ufpp_ufps1-22
RTT| 00:00:01
RTH|---------cpu|ctx switches|-------total
RTD| 1| 5750| 5750
RTD| 0| 5704| 5704
RTD| 1| 5773| 11523
RTD| 0| 5750| 11454
RTD| 1| 5773| 17296
RTD| 0| 5750| 17204
RTD| 1| 5773| 23069
RTD| 0| 5750| 22954
RTD| 1| 5773| 28842
RTD| 0| 5750| 28704
RTD| 1| 5773| 34615
RTD| 0| 5750| 34454
RTD| 1| 5773| 40388
RTD| 0| 5750| 40204
RTD| 0| 5750| 45954
RTD| 1| 5773| 46161
RTD| 1| 5773| 51934
RTD| 0| 5750| 51704
RTD| 1| 5773| 57707
RTD| 0| 5750| 57454
RTD| 1| 5773| 63480
RTT| 00:00:11
RTH|---------cpu|ctx switches|-------total
RTD| 0| 5750| 63204
RTD| 1| 5773| 69253
RTD| 0| 5750| 68954
RTD| 1| 5773| 75026
RTD| 0| 5750| 74704
RTD| 1| 5773| 80799
RTD| 0| 5750| 80454
RTD| 1| 5773| 86572
RTD| 0| 5750| 86204
RTD| 1| 5773| 92345
RTD| 1| 5773| 98118
RTD| 1| 5773| 103891
RTD| 1| 5773| 109664
RTD| 1| 5773| 115437
RTD| 1| 5773| 121210
RTD| 1| 5773| 126983
RTD| 1| 5773| 132756
RTD| 1| 5773| 138529
RTD| 1| 5773| 144302
next prev parent reply other threads:[~2006-10-25 23:43 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-15 21:32 [Xenomai-core] Xenomai v2.2.4 Philippe Gerum
2006-10-25 20:10 ` [Xenomai-help] switchtest and Xenomai 2.2.4 Jeff Webb
2006-10-25 23:43 ` Jeff Webb [this message]
2006-10-26 8:21 ` Gilles Chanteperdrix
2006-10-26 15:51 ` Jeff Webb
2006-10-26 15:56 ` Gilles Chanteperdrix
2006-10-26 16:44 ` Jeff Webb
2006-10-26 16:55 ` Jan Kiszka
2006-10-26 18:53 ` Jeff Webb
2006-10-26 7:35 ` Gilles Chanteperdrix
[not found] ` <454078AD.5000907@domain.hid>
[not found] ` <4540DE60.40209@domain.hid>
[not found] ` <4540E1AB.2040200@domain.hid>
[not found] ` <4540EABD.10403@domain.hid>
[not found] ` <4540ECA6.5000604@domain.hid>
2006-10-26 19:49 ` Jeff Webb
2006-10-27 8:18 ` Gilles Chanteperdrix
2006-10-27 14:45 ` Jeff Webb
2006-10-27 15:05 ` Gilles Chanteperdrix
2006-10-27 16:25 ` Jeff Webb
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=453FF6AA.6030406@domain.hid \
--to=jeff.webb@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.