From: lux-integ Date: Wed, 17 Feb 2010 11:40:02 +0000 References: <201001292104.42395.lux-integ@domain.hid> <1265280370.2348.130.camel@domain.hid> <4B743B4E.3060703@domain.hid> In-Reply-To: <4B743B4E.3060703@domain.hid> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201002171140.02726.lux-integ@domain.hid> Subject: Re: [Xenomai-help] help with xenomai-2.5.0 on pure64bit linux x86_64 List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org Cc: Wolfgang Mauerer , Jan Kiszka On Thursday 11 February 2010 05:15:58 pm 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 > > > > > > > >>>>> 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) > > Cheers, Wolfgang I am back after short break. I am using a machine with a single AMD Sempron CPU and planning to use xenomai-2.5.1. QUESTION: is the above patch namely: {adeos-ipipe-2.6.32.7-x86-2.6-00.patch } to be used or is the old patch that is shipped with the xenomai-2.5.1 tarball namely: {adeos-ipipe-2.6.32.7-x86-2.5-01.patch } to be used ? Or to put it another way; is the patch {adeos-ipipe-2.6.32.7-x86-2.6-00.patch} available from the link above only uable on multiprocessor-based machines? advice will be welcomed sincerely lux-integ