From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Steve <sbxenomai@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] xeno-test hangs during latency test
Date: Thu, 28 May 2009 18:58:43 +0200 [thread overview]
Message-ID: <4A1EC2C3.1000405@domain.hid> (raw)
In-Reply-To: <abaf774b0905280853x23fe5bf2y68cd354ba6a787c9@domain.hid>
Steve wrote:
> On 28/05/2009, Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org> wrote:
>> Steve wrote:
>>> On 27/05/2009, Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
>>> wrote:
>>>> Philippe Gerum wrote:
>>>>> On Wed, 2009-05-27 at 18:48 +0200, Gilles Chanteperdrix wrote:
>>>>>> Steve wrote:
>>>>>>> After installing the latest version of Xenomai last week I have
>>>>>>> encountered a problem with Xenomai applications hanging linux
>>>>>>> completely, requiring restart. This has also occured while running
>>>>>>> xeno-test, during the latency tests.
>>>>>>>
>>>>>>> I have tried to follow the various suggestions on this board about
>>>>>>> preventing hanging of Xenomai, however I am still experiencing the
>>>>>>> problem.
>>>>>>>
>>>>>>> I am using:
>>>>>>> Vanilla Linux Kernel 2.6.24
>>>>>>> Adeos Patch 2.6.24-x86-2.0-07
>>>>> ^^^^^
>>>> Yeah, right, please try the latest version, Xenomai 2.4.7, and the
>>>> patches it contains. If you need debian packages, the package ship with
>>>> its own debian directory allowing to build the packages from sources. If
>>>> it does not work, then report bugs.
>>>>
>>>> Also, depending on your deadlines, 2.4.8 should be out soon, so you may
>>>> want to wait for this release.
>>>>
>>>> --
>>>> Gilles.
>>>>
>>> When I first installed Xenomai I used the latest Adeos patch (at the
>>> time) instead of the one corresponding directly to my kernel (eg
>>> 2.6.27 patch for 2.6.24 kernel). This did not work. Once I used the
>>> latest of the corresponding patches (2.6.24) it seemed to work, so I
>>> have been using that combination ever since, and there has not been a
>>> newer Adeos patch for that kernel since. Am I correct in thinking
>>> that you must use an Adeos patch that corresponds to your particular
>>> kernel (this makes sense, although it is not stated in the readme's)?
>> Yes, you are right, and it is stated in the readme: "Apply one of the
>> patches found into this directory against the corresponding kernel release."
>>
>>> If so, then I must use a newer linux kernel to use a later adeos
>>> patch, which is fine, I will try it after testing with a serial port.
>>> If not, then I'll use the latest adeos patch that comes with the 2.4.7
>>> release and let you kow the results.
>> Yes, please use a more recent version, there were fixes recently on x86.
>>
>> --
>> Gilles.
>>
>
> Ah, yes, in the patch folder readme, I somehow missed the all important word.
>
> More importantly, I am now running:
> Vanilla Linux Kernel: 2.6.29.4
> Adeos Patch: adeos-ipipe-2.6.29.4-x86-2.4-01.patch
> Xenomai Version: 2.4.7
>
> Due to the change in kernel my config file is now different. The
> primary change that may be relevant based on previous postings is that
> CONFIG_CPU_IDLE is now set, because it will not disable unless ACPI
> is completely disabled.
>
> The OS still hangs during the latency test of xeno-test, but I now
> have the attached output from the kernel console (including the final
> initialisation message ('boot scripts') before the hang).
Ok. Could you send us a disassembly of the xntimer_next_local_shot
function ? As well as the value of the cpu frequency and the APIC
frequency on your system ?
>
> Steve
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
--
Gilles.
next prev parent reply other threads:[~2009-05-28 16:58 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-27 15:31 [Xenomai-help] xeno-test hangs during latency test Steve
2009-05-27 16:48 ` Gilles Chanteperdrix
2009-05-27 17:00 ` Philippe Gerum
2009-05-27 17:09 ` Gilles Chanteperdrix
2009-05-28 6:54 ` Steve
2009-05-28 8:09 ` Gilles Chanteperdrix
2009-05-28 15:53 ` Steve
2009-05-28 16:58 ` Gilles Chanteperdrix [this message]
2009-05-29 8:32 ` Philippe Gerum
2009-06-03 10:41 ` Steve
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=4A1EC2C3.1000405@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=sbxenomai@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.