All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfgang Mauerer <wolfgang.mauerer@domain.hid>
To: Philippe Gerum <rpm@xenomai.org>
Cc: "xenomai@xenomai.org" <xenomai@xenomai.org>,
	Jan Kiszka <jan.kiszka@domain.hid>
Subject: Re: [Xenomai-help] help with xenomai-2.5.0 on pure64bit linux x86_64
Date: Fri, 12 Feb 2010 09:50:14 +0100	[thread overview]
Message-ID: <4B751646.8070203@domain.hid> (raw)
In-Reply-To: <1265928949.7538.3.camel@domain.hid>

Philippe Gerum wrote:
> On Thu, 2010-02-11 at 18:15 +0100, Wolfgang Mauerer wrote:
>> Philippe Gerum wrote:
>>> On Sun, 2010-01-31 at 14:42 +0100, Jan Kiszka wrote:
>>>> Philippe Gerum wrote:
>>>>> On Sun, 2010-01-31 at 14:25 +0100, Jan Kiszka wrote:
>>>>>> Philippe Gerum wrote:
>>>>>>> On Sun, 2010-01-31 at 13:37 +0100, Jan Kiszka wrote:
>>>>>>>> lux-integ wrote:
>>>>>>>>> Greetings
>>>>>>>>>
>>>>>>>>>  I am new to xenomai and I am attempting to   install    a RT-kernel on a pure
>>>>>>>>> 64-bit  (not multilib) amd64 linux setup.  The machine has a Sempron CPU and
>>>>>>>>> 2 GBytes of RAM.  The distribution is cross-lfs  compiled from sources.  This
>>>>>>>>> is what I have done:-
>>>>>>>>>
>>>>>>>>> a) I   fetched fresh kernel2.6.32.2  source-code   and placed it
>>>>>>>>> in /usr/src/linux like so:-
>>>>>>>>> `linux' -> `linux-2.6.32.2'
>>>>>>>>>
>>>>>>>>> b) ..I then  applied  the  xenomai patch as such:-
>>>>>>>>> $SOURCES/xenomai-2.5.0/scripts/prepare-kernel.sh --linux=/usr/src/linux  --adeos=$SOURCES/xenomai-2.5.0/ksrc/arch/x86/patches/adeos-ipipe-2.6.32.2-x86-2.5-00.patch  --arch=x86_64
>>> <snip>
>>>
>>>>>>> This is likely our old friend CONFIG_SPARSE_IRQ which is at work. Just
>>>>>>> disable this, until we have introduced the required changes to support
>>>>>>> more than 1024 IRQs.
>>>>>> If that is true, then please include a simple "depends on !CONFIG_IPIPE"
>>>>>> in the x86 patch for the meantime.
>>>>>>
>>>>> No. Work to lift this limitation is in progress here.
>>>> That's even nicer (if 'lift' means removing any limitation of
>>>> CONFIG_NR_CPUS).
>>>>
>>>> Jan
>>>>
>>> Could someone gives this patch a go, with CONFIG_SPARSE_IRQ on (or some
>>> unreasonable number of CPUs in 64bit mode, whichever comes first)?
>>>
>>> http://download.gna.org/adeos/patches/v2.6/x86/adeos-ipipe-2.6.32.7-x86-2.6-00.patch
>> boots (and seems to work fine after a rather short test) w/o Xenomai and
>> the attached .config (SPARSE_IRQ, NR_CPUS=512). With Xenomai is compiled
>> in, it reboots right after registering the Xenomai domain with ipipe -
>> see the attached console logs. Did not dig any deeper so far.
>> The test was done on qemu 0.10.50  (-cpu core2duo, KVM)
>>
> 
> Thanks for testing. You need to run this patch over 2.5.1 when enabling
> SPARSE_IRQ. Was it the case?

yes - Wolfgang


  reply	other threads:[~2010-02-12  8:50 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-29 21:04 [Xenomai-help] help with xenomai-2.5.0 on pure64bit linux x86_64 lux-integ
2010-01-31 10:25 ` Gilles Chanteperdrix
2010-01-31 12:37 ` Jan Kiszka
2010-01-31 13:22   ` Philippe Gerum
2010-01-31 13:25     ` Jan Kiszka
2010-01-31 13:35       ` Philippe Gerum
2010-01-31 13:42         ` Jan Kiszka
2010-01-31 14:01           ` Philippe Gerum
2010-02-04 10:46           ` Philippe Gerum
2010-02-11 17:15             ` Wolfgang Mauerer
2010-02-11 22:55               ` Philippe Gerum
2010-02-12  8:50                 ` Wolfgang Mauerer [this message]
2010-02-12  9:48               ` Jan Kiszka
2010-02-17 11:40               ` lux-integ
2010-02-17 13:19                 ` Philippe Gerum
2010-01-31 14:26     ` lux-integ

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=4B751646.8070203@domain.hid \
    --to=wolfgang.mauerer@domain.hid \
    --cc=jan.kiszka@domain.hid \
    --cc=rpm@xenomai.org \
    --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.