All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: "Schlägl Manfred jun." <manfred.schlaegl@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Adeos/Xenomai Arm Port
Date: Wed, 18 Oct 2006 12:25:05 +0200	[thread overview]
Message-ID: <1161167105.5053.34.camel@domain.hid> (raw)
In-Reply-To: <1161099585.5024.48.camel@domain.hid>

On Tue, 2006-10-17 at 17:39 +0200, Schlägl Manfred jun. wrote:

[...]

> 1. With enabled kernel-debugging (spin_debug), while loading xeno_native
> (built-in and as module) I get:

[...]

> Is this normal, or could this also depend on a "main-bug".
> 

No, that's absolutely abnormal. Switching the Linux kernel debug options
on is the usual way most of us work, and no warning should be emitted
under Xenomai operations. What you get on ARM, and which I cannot
reproduce on x86, ppc or blackfin, is worrying.

[...]

> 
> ./run -- -n 100 -p 100 (switchbench)
> 
> Most of time the system simply stands still (no more timer-activity),
> but here i've a kernel-fault with debug-symbols:
> 
> [   53.650000] Unable to handle kernel NULL pointer dereference at
> virtual address 00000004

We might have a stack overflow here, as a consequence of the shorter
sampling period.

[...]

> 4. cyclictest
> cyclictest runs, if i use the run script (built-in xenomai):
> 
> -sh-3.00# ./run 
> *
> *
> * Type ^C to stop this application.
> *
> *
> 0.10 0.04 0.01 1/26 94          
> 
> T: 0 (   94) P:99 I:    1000 C:   22508 Min:      49 Act:      82 Max:
> 121
> 
> 
> but is broken if i call it manually:
> 
> -sh-3.00# ./cyclictest 
> 0.10 0.04 0.01 2/23 103          
> 
> T: 0 (  103) P: 0 I:    1000 C:    1699 Min:-2660105 Act:-2660105 Max:
> -985769
> 

It's not actually broken, it's just that we have imported this code from
the PREEMPT_RT testsuite, and their default setup does not match our
testcase. You should at least pass -n to the test.

-- 
Philippe.




  parent reply	other threads:[~2006-10-18 10:25 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-17 15:39 [Xenomai-help] Adeos/Xenomai Arm Port Schlägl Manfred jun.
2006-10-18  7:52 ` Schlägl Manfred jun.
2006-10-18 10:35   ` Jan Kiszka
2006-10-18 12:24     ` Schlägl Manfred jun.
2006-10-18 12:33       ` Jan Kiszka
2006-10-18 12:48         ` Gilles Chanteperdrix
2006-10-21 14:56       ` Schlägl Manfred jun.
2006-10-21 16:44         ` Jan Kiszka
2006-10-25  8:03           ` Schlägl Manfred jun.
2006-10-18 10:25 ` Philippe Gerum [this message]
2006-10-18 12:05   ` Gilles Chanteperdrix
  -- strict thread matches above, loose matches on Subject: below --
2006-10-18 15:16 Schlägl Manfred jun.
2006-10-18 15:27 ` Jan Kiszka
2006-10-18 15:56   ` Schlägl Manfred jun.
2006-10-19  5:52     ` Jan Kiszka
2006-10-21 12:11   ` Schlägl Manfred jun.
2006-10-17  9:23 Schlägl Manfred jun.
2006-10-17  9:37 ` Jan Kiszka
2006-10-16 15:48 Schlägl Manfred jun.
2006-10-16 16:24 ` Jan Kiszka
2006-10-16 18:20 ` Gilles Chanteperdrix
2006-10-16 21:30 ` Philippe Gerum
2006-10-17  8:15   ` Gilles Chanteperdrix
2006-10-17  8:38     ` Gilles Chanteperdrix
2006-10-17  9:54       ` Philippe Gerum
2006-10-17 10:04     ` Philippe Gerum
2006-10-17 12:05       ` Gilles Chanteperdrix

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=1161167105.5053.34.camel@domain.hid \
    --to=rpm@xenomai.org \
    --cc=manfred.schlaegl@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.