All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Kisdaroczi <kisda@domain.hid>
To: Leopold Palomo-Avellaneda <leo@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Xenomai patches
Date: Thu, 29 Oct 2009 13:17:26 +0100	[thread overview]
Message-ID: <4AE987D6.2030501@domain.hid> (raw)
In-Reply-To: <200910291225.27382.leo@domain.hid>

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

Leopold Palomo-Avellaneda schrieb:
> A Dijous 29 Octubre 2009, Gilles Chanteperdrix va escriure:
>> Leopold Palomo-Avellaneda wrote:
>>> A Dijous 29 Octubre 2009, Gilles Chanteperdrix va escriure:
>>>> Gilles Chanteperdrix wrote:
>>>>> Leopold Palomo-Avellaneda wrote:
>>>>>> OTOH, the debian package has a bug. I cannot compile xenomai, using
>>>>>> the debian way on kernels 2.6.28, 2.6.29 and 2.6.30 because the
>>>>>> package add something that fails with make menuconfig. I should write
>>>>>> a bug. Just for information, it's not a xenomai upstream related
>>>>>> question. ;-)
>>>>> Please check xenomai-2.4.9.1. It may happen that the bug has been
>>>>> already solved.
>>>> 2.4.10
>>> nops, sorry again my fingers were so fast ...
>>>
>>> we are talking about the same? I got:
>>>
>>> cripts/kconfig/conf -o arch/x86/Kconfig
>>> arch/x86/Kconfig:74: unexpected option "select"
>>> arch/x86/Kconfig:75: unexpected option "select"
>>> make[3]: *** [oldconfig] Error 1
>>> make[2]: *** [oldconfig] Error 2
>> I am not talking about any specific bug. It was just a general advice.
>> In any case, we are not responsible for the Xenomai packages made by the
>> Debian team, but if you find bugs in the debian directory which is part
>> of the Xenomai package, we are interested in fixing them, of course.
> 
> well, I have found two things:
> 
> 1) the debian directory is very similar in both (upstream and debian 
> official). The method to create the package is described in the xenomai wiki 

I diffed the two debian directories 3 weeks ago. There are some changes in
the debian version which are not in the xenomai repository. And there are
some fixes in the xenomai debian directory which are not in the official
debian package.

The official debian version in testing is targeted for Debian 6.0 Squeeze
and as far as i remember there are small changes which will break the build
for Debian 5.0 Lenny. This changes shouldnt get merged IMHO to the xenomai
debian version. I will try to create patches to synchronize the two versions.

> and have been working so well till now (at least in my case). The script or 
> the patch applied in the versions of the kernel 2.6.28>= introduces something 
> that make fail the make menuconfig step. If you apply the patch with the 
> script (scripts/prepare-kernel.sh) the make menuconfig works

The following commit fixed (at least for 2.6.28) the patching of init/Kconfig.
This fix is not in the official debian package, only in the xenomai repository.

debian: fix kernel patch preparation script not to truncate init/Kconfig
http://git.xenomai.org/?p=xenomai-2.4.git;a=commit;h=e35614ad0050e660a9784092e5a4062b5861659c

regards, StefaN

> 2) after the step of preparing the kernel, (with xenomai 2.4.10) when I 
> compile the kernel (2.6.30., it fails in:
> 
>  CC      arch/x86/xenomai/hal-common.o
> arch/x86/xenomai/hal_32.c: In function ‘rthal_latency_above_max’:
> arch/x86/xenomai/hal_32.c:139: warning: passing argument 1 of ‘die_nmi’ from 
> incompatible pointer type
> arch/x86/xenomai/hal_32.c:139: warning: passing argument 2 of ‘die_nmi’ from 
> incompatible pointer type
> arch/x86/xenomai/hal_32.c:139: error: too few arguments to function ‘die_nmi’
> make[2]: *** [arch/x86/xenomai/hal_32.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
>   LD      arch/x86/oprofile/built-in.o
>   CC      net/socket.o
> 
> 
> Now, I'm compiling 2.6.29 with 2.4.10 ...
> 
> Leo
> 
> 
> 
> 
> _______________________________________________
> 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: 251 bytes --]

  parent reply	other threads:[~2009-10-29 12:17 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-28 12:13 [Xenomai-help] Xenomai patches Leopold Palomo-Avellaneda
2009-10-28 13:45 ` Gilles Chanteperdrix
2009-10-28 14:53   ` Leopold Palomo Avellaneda
2009-10-28 15:10 ` Stefan Kisdaroczi
2009-10-29 10:05   ` Leopold Palomo-Avellaneda
2009-10-29 10:13     ` Gilles Chanteperdrix
2009-10-29 10:14       ` Gilles Chanteperdrix
2009-10-29 10:21         ` Leopold Palomo-Avellaneda
2009-10-29 10:23         ` Leopold Palomo-Avellaneda
2009-10-29 10:55           ` Gilles Chanteperdrix
2009-10-29 11:25             ` Leopold Palomo-Avellaneda
2009-10-29 11:40               ` Jan Kiszka
2009-10-29 12:17               ` Stefan Kisdaroczi [this message]
2009-10-29 14:00                 ` Leopold Palomo-Avellaneda

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=4AE987D6.2030501@domain.hid \
    --to=kisda@domain.hid \
    --cc=leo@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.