All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Leopold Palomo-Avellaneda <leo@alaxarxa.net>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] Xenomai-3 booting problems
Date: Thu, 22 Jan 2015 11:48:13 +0100	[thread overview]
Message-ID: <20150122104813.GA23461@hermes.click-hack.org> (raw)
In-Reply-To: <5878976.hoeVIdWPhU@soho>

On Thu, Jan 22, 2015 at 11:40:57AM +0100, Leopold Palomo-Avellaneda wrote:
> El Dijous, 22 de gener de 2015, a les 11:24:55, Gilles Chanteperdrix va 
> escriure:
> > On Thu, Jan 22, 2015 at 11:17:41AM +0100, Leopold Palomo-Avellaneda wrote:
> > > El Dijous, 22 de gener de 2015, a les 10:56:35, Gilles Chanteperdrix va
> > > 
> > > escriure:
> > > > > > What about the ARCH problem with make-kpkg, is it solved ?
> > > > > 
> > > > > As I said yesterday [1], there's a question of the ARCH var, used in
> > > > > the
> > > > > prepare-kernel script.
> > > > 
> > > > No, yesterday you said that the prepare-kernel script probably was
> > > > not the problem
> > > 
> > > I said a lot of things yesterday :-D and yes, I thought that probably it
> > > wasn't.
> > > 
> > > > because you can compile the prepared kernel
> > > > manually. Or did I misunderstand?
> > > 
> > > Yes, it's true. I can compile the kernel manually but I can create the
> > > debian package if I modify the result obtained by the prepare-kernel
> > > script.> 
> > > > > Any idea to solve this?
> > > > 
> > > > As I already said, you have to execute what make-kpkg does, by hand,
> > > > step by step, to understand which step goes wrong.
> > > :
> > > :-D
> > > 
> > > It's no easy, at least by my, check why make-kpkg does. But, I think that
> > > there's a collision with that var (ARCH). I think that debian use that var
> > > for some internal proposes and it's different (in the x86 platform x86 vs
> > > x86_64), or has some troubles.
> > > 
> > > Really I don't know if it's a mix of prepare-kernel problem, make-kpkg
> > > problem or user problem.
> > 
> > As you said, if you can compile the prepared kernel manually, it is
> > not a prepare-kernel problem.
> > 
> > > If you see clearly that it's make-kpkg problem, I concentrate my efforts
> > > on
> > > that.
> > 
> > Well, the fact that the compilation error happens when trying to
> > compile a Xenomai file would seem to indicate that prepare-kernel.sh
> > has put the wrong link into init/Kconfig.
> > 
> > You pass --arch=x86 to prepare-kernel.sh, right, not --arch=x86_64 ?
> 
> yes, I have tried both, but I put --arch=x86 or the default option as I said 
> it in my email from yesterday ( :-P)

Well, maybe the default option does not work, so please try
specifying --arch=x86. The error you have is not in the compiled
files, but in the Kconfig files. So, the fact that you can compile
does not really prove that prepare-kernel.sh did not fail.

Now, prepare-kernel.sh adds the scripts/Kconfig.frag file to
init/Kconfig. Kconfig.frag contains:

source "arch/@LINUX_ARCH@/xenomai/Kconfig"

With @LINUX_ARCH@ being substituted by prepare-kernel.sh. Could you
check init/Kconfig to see by what @LINUX_ARCH@ has been substituted
in your case?

If it is x86_64, then it is clearly wrong. It should be x86.

-- 
					    Gilles.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 811 bytes
Desc: not available
URL: <http://www.xenomai.org/pipermail/xenomai/attachments/20150122/c8a05a43/attachment.sig>

  reply	other threads:[~2015-01-22 10:48 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-22  7:47 [Xenomai] Xenomai-3 booting problems Leopold Palomo-Avellaneda
2015-01-22  7:54 ` Gilles Chanteperdrix
2015-01-22  8:34   ` Leopold Palomo-Avellaneda
2015-01-22  8:57     ` Gilles Chanteperdrix
2015-01-22  9:52       ` Leopold Palomo-Avellaneda
2015-01-22  9:56         ` Gilles Chanteperdrix
2015-01-22 10:17           ` Leopold Palomo-Avellaneda
2015-01-22 10:24             ` Gilles Chanteperdrix
2015-01-22 10:40               ` Leopold Palomo-Avellaneda
2015-01-22 10:48                 ` Gilles Chanteperdrix [this message]
2015-01-22 11:17                   ` [Xenomai] Xenomai-3 creating debian packages (was: Re: Xenomai-3 booting problems) Leopold Palomo-Avellaneda
2015-01-22 11:31                     ` Gilles Chanteperdrix
2015-01-22 11:39                       ` Leopold Palomo-Avellaneda
2015-01-22 11:40                         ` Gilles Chanteperdrix
2015-01-22 11:59                           ` Leopold Palomo-Avellaneda
2015-01-22 12:51                             ` [Xenomai] Xenomai-3 creating debian packages Jan Kiszka
2015-01-22 13:44                               ` Gilles Chanteperdrix
2015-01-22 13:50                                 ` Jan Kiszka
2015-01-22 13:58                                   ` Gilles Chanteperdrix
2015-01-22 14:22                                     ` Jan Kiszka
2015-01-22 14:26                                       ` Gilles Chanteperdrix
2015-01-22 14:13                                   ` Gilles Chanteperdrix
2015-01-22 13:53                               ` Leopold Palomo-Avellaneda
2015-01-22 13:57                                 ` Jan Kiszka
2015-01-22 14:49                               ` Lennart Sorensen
2015-01-22 14:56                                 ` Gilles Chanteperdrix
2015-01-22 15:02                                   ` Jan Kiszka
2015-01-22 15:06                                     ` Gilles Chanteperdrix
2015-01-22 15:10                                       ` Jan Kiszka
2015-01-22 17:21                                   ` Lennart Sorensen
2015-01-22 19:16                                     ` Gilles Chanteperdrix
2015-01-22 19:27                                       ` Lennart Sorensen
2015-01-22 19:33                                         ` Gilles Chanteperdrix
2015-01-22 20:15                                           ` Lennart Sorensen
2015-01-22 11:39                       ` [Xenomai] Xenomai-3 creating debian packages (was: Re: Xenomai-3 booting problems) Gilles Chanteperdrix
2015-01-22 11:43                       ` [Xenomai] Xenomai-3 creating debian packages Jan Kiszka
2015-01-22 14:42     ` [Xenomai] Xenomai-3 booting problems Lennart Sorensen
2015-01-22 15:08       ` Jan Kiszka
2015-01-22 15:53         ` Gilles Chanteperdrix
2015-01-22  8:03 ` Jan Kiszka
2015-01-22  8:36   ` 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=20150122104813.GA23461@hermes.click-hack.org \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=leo@alaxarxa.net \
    --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.