From: Jan Kiszka <jan.kiszka@domain.hid>
To: Jim Cromie <jim.cromie@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] Support for 2.6.22/x86
Date: Sun, 08 Jul 2007 12:13:05 +0200 [thread overview]
Message-ID: <4690B8B1.10303@domain.hid> (raw)
In-Reply-To: <4690B062.4090000@domain.hid>
[-- Attachment #1: Type: text/plain, Size: 3499 bytes --]
Jim Cromie wrote:
> Philippe Gerum wrote:
>> Hi Jim,
>>
>> On Sun, 2007-07-08 at 01:00 -0600, Jim Cromie wrote:
>>
>>> Philippe Gerum wrote:
>>>
>>>> Our development trunk now contains the necessary support for running
>>>> Xenomai over 2.6.22/x86. This work boils down to enabling Xenomai to use
>>>> the generic clock event device abstraction that comes with newest
>>>> kernels. Other archs / kernel versions still work the older way, until
>>>> all archs eventually catch up with clockevents upstream.
>>>>
>>>> This support won't be backported to 2.3.x, because it has some
>>>> significant impact on the nucleus. Tested as thoroughly as possible here
>>>> on low-end and mid-range x86 boxen, including SMP.
>>>>
>>>> Please give this hell.
>>>>
>>>> http://download.gna.org/adeos/patches/v2.6/i386/adeos-ipipe-2.6.22-rc6-i386-1.9-00.patch
>>>>
>>>>
>>>>
>>> Ive been running 22-rc7 on my Sony VAIO with this patch applied since
>>> July 3,
>>>
>>> the only thing wrong Ive seen is that perl ( both bleed and maint )
>>> is failing its time related regression tests.
>>> ie
>>> rsync -avz rsync://public.activestate.com/perl-current/ .
>>> rsync -avz rsync://public.activestate.com/perl-5.8.x .
>>>
>>> Failed 3 tests out of 1429, 99.79% okay.
>>> ../ext/Time/HiRes/t/HiRes.t
>>> ../lib/Benchmark.t
>>> op/time.t
>>>
>>> the lib/Benchmark.t test is hanging, and must be killed manually
>>>
>> Thanks for the feedback.
>>
>> Does this happen with the I-pipe switched off too?
>> Also, is Xenomai patched in your kernel with any of the skins statically
>> enabled, or just the I-pipe?
>>
>>
>
> Im not sure what 'switched off' means, so heres the 'relevant' parts of
There are a few stages of Xenomai/I-pipe support we usually test when
weird this come up:
1. Xenomai fully enabled and running (like you probably did)
2. Xenomai enabled, but no skin loaded (=> all skins must be modular)
3. Xenomai disabled in the .config, only I-pipe
4. I-pipe patched in but disabled (under "Processor types and features")
5. Vanilla kernel (but otherwise identical .config)
There is no strict order what to try first. It rather depends on
intuition and the compilation time you want to invest (fiddling with
CONFIG_IPIPE means full kernel rebuild).
> the .config
> Now that I look at it, Ive obviously not attended to the advice in
> README.INSTALL.
>
> This config worked nicely with ntp, FWIW.
>
> Given that this is a laptop, Id like to keep ACPI and/or CPU-freq if
> possible,
ACPI is OK (except ACPI_PROCESSOR), but CPU_FREQ is a no-go for Xenomai
unless you force the frequency governor into the fixed maximum
performance mode (which means at least temporary CPU_FREQ off).
Otherwise, Xenomai timing will by totally screwed up.
> but I'll try some combos to see if any work for both the battery,
> and for the perl tests. I'll try a conservative/recommended config too.
> Any suggestions or test-requests are welcome.
>
First of all, it would be good to identify which stage of Xenomai
support (see above) breaks your test case. Then, as it seems to be some
timer issue, you could try to use kernel timer debugging features. E.g.
have a look /proc/timer_list. Is there your perl test stalled on some
timer, maybe with a silly expiry date? What does strace report if you
let your test run over it, ie. which syscall does not return?
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]
prev parent reply other threads:[~2007-07-08 10:13 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-29 19:14 [Xenomai-core] Support for 2.6.22/x86 Philippe Gerum
2007-06-30 7:48 ` Jan Kiszka
2007-06-30 10:18 ` Philippe Gerum
2007-06-30 10:42 ` Philippe Gerum
2007-06-30 11:02 ` Philippe Gerum
2007-06-30 14:25 ` Philippe Gerum
2007-06-30 17:43 ` Philippe Gerum
2007-07-08 7:00 ` Jim Cromie
2007-07-08 8:16 ` Philippe Gerum
2007-07-08 9:37 ` Jim Cromie
2007-07-08 10:13 ` Jan Kiszka [this message]
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=4690B8B1.10303@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=jim.cromie@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.