From: Philippe Gerum <rpm@xenomai.org>
To: Jesper Christensen <jbc@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] kernel threads crash
Date: Tue, 19 Apr 2011 10:02:23 +0200 [thread overview]
Message-ID: <1303200143.2096.11.camel@domain.hid> (raw)
In-Reply-To: <4DAD40B7.5000803@domain.hid>
On Tue, 2011-04-19 at 09:58 +0200, Jesper Christensen wrote:
> Great thanks, but i can't help wondering if the problems i'm seeing are
> related to some of my userspace programs using fp.
I don't think so. The switchtest programs exercises the FPU hardware in
a certain way to make sure it is available in real-time mode from kernel
space (which is an utterly crappy legacy, but we will have to deal with
it until Xenomai 3.x). As far as I can see from your .config, you can't
have such support, so switchtest was basically trying to test an
inexistent feature.
>
> /Jesper
>
>
> On 2011-04-19 09:39, Philippe Gerum wrote:
> > On Tue, 2011-04-19 at 09:26 +0200, Jesper Christensen wrote:
> >
> >> If i run switchtest i get the following output:
> >>
> >>
> >
> > If still talking about the cpci6200, this patch should apply:
> > http://git.xenomai.org/?p=xenomai-rpm.git;a=commit;h=3d6fa118ef282c60dfeb0e690a579e8357bb7d13
> >
> >
> >> [root@domain.hid /bin]# switchtest
> >> == 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
> >> r8: 1 != 2
> >> r9: 1 != 2
> >> r10: 1 != 2
> >> r11: 1 != 2
> >> r12: 1 != 2
> >> r13: 1 != 2
> >> r14: 1 != 2
> >> r15: 1 != 2
> >> r16: 1 != 2
> >> r17: 1 != 2
> >> r18: 1 != 2
> >> r19: 1 != 2
> >> r20: 1 != 2
> >> r21: 1 != 2
> >> r22: 1 != 2
> >> r23: 1 != 2
> >> r24: 1 != 2
> >> r25: 1 != 2
> >> r26: 1 != 2
> >> r27: 1 != 2
> >> r28: 1 != 2
> >> r29: 1 != 2
> >> r30: 1 != 2
> >> r31: 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
> >>
> >>
> >>
> >> And then it halts. dmesg shows:
> >>
> >> Xenomai: suspending kernel thread ae819678 ('rtk5/0') at nip=0x80319aa0,
> >> lr=0x80319a70, r1=0xafa90510 after exception #1792
> >>
> >>
> >> switchtest -n runs normally, should i use some sort of soft float flag
> >> in my compilations?
> >>
> >> /Jesper
> >>
> >>
> >>
> >>
> >> _______________________________________________
> >> Xenomai-core mailing list
> >> Xenomai-core@domain.hid
> >> https://mail.gna.org/listinfo/xenomai-core
> >>
> >
>
--
Philippe.
next prev parent reply other threads:[~2011-04-19 8:02 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-08 12:58 [Xenomai-core] kernel threads crash Jesper Christensen
2011-04-08 13:12 ` Philippe Gerum
2011-04-08 13:20 ` Jesper Christensen
2011-04-08 13:39 ` Philippe Gerum
2011-04-08 13:47 ` Jesper Christensen
2011-04-08 14:33 ` Jesper Christensen
2011-04-11 14:13 ` Jesper Christensen
2011-04-11 14:18 ` Philippe Gerum
2011-04-11 14:20 ` Jesper Christensen
2011-04-11 14:27 ` Philippe Gerum
2011-04-11 14:32 ` Jesper Christensen
2011-04-11 14:39 ` Philippe Gerum
2011-04-11 14:49 ` Jesper Christensen
2011-04-11 15:31 ` Jesper Christensen
2011-04-12 13:31 ` Jesper Christensen
2011-04-12 13:39 ` Gilles Chanteperdrix
2011-04-12 13:40 ` Jesper Christensen
2011-04-12 13:40 ` Jan Kiszka
2011-04-12 13:45 ` Jesper Christensen
2011-04-12 14:09 ` Jesper Christensen
2011-04-12 14:14 ` Jan Kiszka
2011-04-12 14:21 ` Jesper Christensen
2011-04-12 15:24 ` Jan Kiszka
2011-04-12 15:50 ` Jesper Christensen
2011-04-19 7:26 ` Jesper Christensen
2011-04-19 7:39 ` Philippe Gerum
2011-04-19 7:58 ` Jesper Christensen
2011-04-19 8:02 ` Philippe Gerum [this message]
2011-04-19 8:42 ` Gilles Chanteperdrix
2011-04-19 9:29 ` Philippe Gerum
2011-04-19 9:30 ` Philippe Gerum
2011-04-19 9:34 ` Jesper Christensen
2011-04-11 14:34 ` Philippe Gerum
2011-04-11 14:35 ` Jesper Christensen
2011-04-11 14:23 ` Philippe Gerum
2011-04-11 14:36 ` Gilles Chanteperdrix
2011-04-08 19:15 ` Richard Cochran
2011-04-11 6:52 ` Jesper Christensen
2011-04-11 6:55 ` Richard Cochran
2011-04-11 6:59 ` Jesper Christensen
2011-04-11 9:18 ` Jan Kiszka
2011-04-11 9:26 ` Jesper Christensen
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=1303200143.2096.11.camel@domain.hid \
--to=rpm@xenomai.org \
--cc=jbc@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.