All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [Xenomai-help] kernel 2.6.32.11 with xenomai 2.5.3 fails to boot on ubuntu lucid system [PATCH]
  2010-08-17 15:24           ` Stefan Kisdaroczi
@ 2010-08-18 18:45             ` Stefan Kisdaroczi
  2010-08-18 18:58               ` Stefan Kisdaroczi
  2010-08-18 21:08               ` Paul
  0 siblings, 2 replies; 4+ messages in thread
From: Stefan Kisdaroczi @ 2010-08-18 18:45 UTC (permalink / raw)
  To: xenomai


[-- Attachment #1.1: Type: text/plain, Size: 917 bytes --]

On 17.08.2010 17:24, Stefan Kisdaroczi wrote:
> On 17.08.2010 15:51, Hemal C.Bavishi wrote:
>   
>> When I tried to compile it with the latest version of kernel with xenomai 2.5.4, I am getting following errors in Xenomai (disable CONFIG_SMP, enable CONFIG_X86_UP_APIC and
>> CONFIG_X86_UP_IOAPIC (*).)
>>   
>>     
> Just tested, got the same build error with 2.6.34.
> If I patch 2.6.34 with prepare-kernel [1] it compiles,
> if I use the debian packaged patch generated with prepare-patch [2] it
> fails.
>
> I guess a fix is needed in prepare-patch for 2.6.34, but no time to look
> closer now.
>   

patch for prepare-patch.sh attached.
prepare-kernel.sh try's to find ipipe.h and uses the old or new tree
structure. Is it ok to change this unconditionally in prepare-patch.sh?
All adeos-patches in xenomai-2.5.git have ipipe.h in
arch/$linux_arch/include/asm/, so i think yes.

Stefan


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-debian-fix-asm-include-directory-linking-in-prepare-.patch --]
[-- Type: text/x-patch; name="0001-debian-fix-asm-include-directory-linking-in-prepare-.patch", Size: 926 bytes --]

From 8e792591e8c42a4c38d16514e02622f3398c9f22 Mon Sep 17 00:00:00 2001
From: Stefan Kisdaroczi <kisda@domain.hid>
Date: Wed, 18 Aug 2010 20:24:15 +0200
Subject: [PATCH] debian: fix asm include directory linking in prepare-patch.sh

---
 debian/prepare-patch.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/debian/prepare-patch.sh b/debian/prepare-patch.sh
index 296638d..6ca734b 100755
--- a/debian/prepare-patch.sh
+++ b/debian/prepare-patch.sh
@@ -112,7 +112,7 @@ for linux_arch in $supported_arch ; do
     esac
 
     patch_link r m ksrc/arch/$base_arch arch/$linux_arch/xenomai
-    patch_link r n include/asm-$base_arch include/asm-$linux_arch/xenomai
+    patch_link r n include/asm-$base_arch arch/$linux_arch/include/asm/xenomai
 
     p="+drivers-\$(CONFIG_XENOMAI)		+= arch/$linux_arch/xenomai/"
     echo $p | patch_append arch/$linux_arch/Makefile
-- 
1.7.1


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [Xenomai-help] kernel 2.6.32.11 with xenomai 2.5.3 fails to boot on ubuntu lucid system [PATCH]
  2010-08-18 18:45             ` [Xenomai-help] kernel 2.6.32.11 with xenomai 2.5.3 fails to boot on ubuntu lucid system [PATCH] Stefan Kisdaroczi
@ 2010-08-18 18:58               ` Stefan Kisdaroczi
  2010-08-18 21:08               ` Paul
  1 sibling, 0 replies; 4+ messages in thread
From: Stefan Kisdaroczi @ 2010-08-18 18:58 UTC (permalink / raw)
  To: xenomai

[-- Attachment #1: Type: text/plain, Size: 1419 bytes --]

On 18.08.2010 20:45, Stefan Kisdaroczi wrote:
> On 17.08.2010 17:24, Stefan Kisdaroczi wrote:
>   
>> On 17.08.2010 15:51, Hemal C.Bavishi wrote:
>>   
>>     
>>> When I tried to compile it with the latest version of kernel with xenomai 2.5.4, I am getting following errors in Xenomai (disable CONFIG_SMP, enable CONFIG_X86_UP_APIC and
>>> CONFIG_X86_UP_IOAPIC (*).)
>>>   
>>>     
>>>       
>> Just tested, got the same build error with 2.6.34.
>> If I patch 2.6.34 with prepare-kernel [1] it compiles,
>> if I use the debian packaged patch generated with prepare-patch [2] it
>> fails.
>>
>> I guess a fix is needed in prepare-patch for 2.6.34, but no time to look
>> closer now.
>>   
>>     
> patch for prepare-patch.sh attached.
> prepare-kernel.sh try's to find ipipe.h and uses the old or new tree
> structure. Is it ok to change this unconditionally in prepare-patch.sh?
> All adeos-patches in xenomai-2.5.git have ipipe.h in
> arch/$linux_arch/include/asm/, so i think yes.
>
>   

prepare-patch.sh worked with the wrong path until this commit for linux
2.6.33:

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=c95fa08a3e17c3f2983c4cbf409f5c9ae47b7dec

> Stefan
>
>   
>
>
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
>   



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Xenomai-help] kernel 2.6.32.11 with xenomai 2.5.3 fails to boot on ubuntu lucid system [PATCH]
  2010-08-18 18:45             ` [Xenomai-help] kernel 2.6.32.11 with xenomai 2.5.3 fails to boot on ubuntu lucid system [PATCH] Stefan Kisdaroczi
  2010-08-18 18:58               ` Stefan Kisdaroczi
@ 2010-08-18 21:08               ` Paul
  1 sibling, 0 replies; 4+ messages in thread
From: Paul @ 2010-08-18 21:08 UTC (permalink / raw)
  To: xenomai

On Wednesday 18 August 2010, Stefan Kisdaroczi wrote:
> On 17.08.2010 17:24, Stefan Kisdaroczi wrote:
> > On 17.08.2010 15:51, Hemal C.Bavishi wrote:
> >> When I tried to compile it with the latest version of kernel with
> >> xenomai 2.5.4, I am getting following errors in Xenomai (disable
> >> CONFIG_SMP, enable CONFIG_X86_UP_APIC and CONFIG_X86_UP_IOAPIC
> >> (*).)
> >
> > Just tested, got the same build error with 2.6.34.
> > If I patch 2.6.34 with prepare-kernel [1] it compiles,
> > if I use the debian packaged patch generated with prepare-patch [2]
> > it fails.
> >
> > I guess a fix is needed in prepare-patch for 2.6.34, but no time to
> > look closer now.
>
> patch for prepare-patch.sh attached.
> prepare-kernel.sh try's to find ipipe.h and uses the old or new tree
> structure. Is it ok to change this unconditionally in
> prepare-patch.sh? All adeos-patches in xenomai-2.5.git have ipipe.h
> in
> arch/$linux_arch/include/asm/, so i think yes.

As long as no one tries to include a patch for anything prior to 2.6.28 
(I think that is when everything moved to arch/*/include/asm) - There 
is only one ipipe patch in head currently for 2.6.25-ppc, but I doubt 
if anyone would be using it on a Debian build.

For that one case, I don't think it worth adding any additional 
complexity to generate a patch with a limited life span.


Regards, Paul.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Xenomai-help] kernel 2.6.32.11 with xenomai 2.5.3 fails to boot on ubuntu lucid system [PATCH]
@ 2010-08-18 21:47 kisda
  0 siblings, 0 replies; 4+ messages in thread
From: kisda @ 2010-08-18 21:47 UTC (permalink / raw)
  To: xenomai

---- Paul <paul_c@domain.hid> schrieb:
> On Wednesday 18 August 2010, Stefan Kisdaroczi wrote:
> > On 17.08.2010 17:24, Stefan Kisdaroczi wrote:
> > > On 17.08.2010 15:51, Hemal C.Bavishi wrote:
> > >> When I tried to compile it with the latest version of kernel with
> > >> xenomai 2.5.4, I am getting following errors in Xenomai (disable
> > >> CONFIG_SMP, enable CONFIG_X86_UP_APIC and CONFIG_X86_UP_IOAPIC
> > >> (*).)
> > >
> > > Just tested, got the same build error with 2.6.34.
> > > If I patch 2.6.34 with prepare-kernel [1] it compiles,
> > > if I use the debian packaged patch generated with prepare-patch [2]
> > > it fails.
> > >
> > > I guess a fix is needed in prepare-patch for 2.6.34, but no time to
> > > look closer now.
> >
> > patch for prepare-patch.sh attached.
> > prepare-kernel.sh try's to find ipipe.h and uses the old or new tree
> > structure. Is it ok to change this unconditionally in
> > prepare-patch.sh? All adeos-patches in xenomai-2.5.git have ipipe.h
> > in
> > arch/$linux_arch/include/asm/, so i think yes.
> 
> As long as no one tries to include a patch for anything prior to 2.6.28 
> (I think that is when everything moved to arch/*/include/asm) - There 
> is only one ipipe patch in head currently for 2.6.25-ppc, but I doubt 
> if anyone would be using it on a Debian build.
> For that one case, I don't think it worth adding any additional 
> complexity to generate a patch with a limited life span.

It's a 2.4.25-ppc patch (note the 4) and the debian build includes only 2.6.* patches. from prepare-patch.sh:
find $xenomai_root/ksrc/ -name "adeos-ipipe-2.6.*-$supported_arch-*.patch"

Regards, 
Stefan



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-08-18 21:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-18 21:47 [Xenomai-help] kernel 2.6.32.11 with xenomai 2.5.3 fails to boot on ubuntu lucid system [PATCH] kisda
  -- strict thread matches above, loose matches on Subject: below --
2010-07-20  7:43 [Xenomai-help] kernel 2.6.32.11 with xenomai 2.5.3 fails to boot on ubuntu lucid system Theo Veenker
2010-08-16 12:45 ` Gilles Chanteperdrix
2010-08-16 14:26   ` Theo Veenker
2010-08-16 19:14     ` Theo Veenker
2010-08-17 10:27       ` Philippe Gerum
2010-08-17 13:51         ` Hemal C.Bavishi
2010-08-17 15:24           ` Stefan Kisdaroczi
2010-08-18 18:45             ` [Xenomai-help] kernel 2.6.32.11 with xenomai 2.5.3 fails to boot on ubuntu lucid system [PATCH] Stefan Kisdaroczi
2010-08-18 18:58               ` Stefan Kisdaroczi
2010-08-18 21:08               ` Paul

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.