All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: John Sini <jhnsini@gmail.com>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] Section mismatch - Porting Xenomai to linux-xlnx-V14.5 zynq SoC
Date: Wed, 3 Dec 2014 14:34:50 +0100	[thread overview]
Message-ID: <20141203133450.GC30916@hermes> (raw)
In-Reply-To: <CAPozGf=LUUqpgqyH_T6=x0JBW2fm0wFj=m_1Vosec0OawkA4Tw@mail.gmail.com>

On Wed, Dec 03, 2014 at 02:32:12PM +0100, John Sini wrote:
> On Mon, Dec 1, 2014 at 5:15 PM, Gilles Chanteperdrix <
> gilles.chanteperdrix@xenomai.org> wrote:
> 
> > On Mon, Dec 01, 2014 at 04:45:03PM +0100, John Sini wrote:
> > > On Mon, Dec 1, 2014 at 4:29 PM, Gilles Chanteperdrix <
> > > gilles.chanteperdrix@xenomai.org> wrote:
> > >
> > > > On Mon, Dec 01, 2014 at 04:26:47PM +0100, John Sini wrote:
> > > > > On Mon, Dec 1, 2014 at 3:39 PM, Gilles Chanteperdrix <
> > > > > gilles.chanteperdrix@xenomai.org> wrote:
> > > > >
> > > > > > On Mon, Dec 01, 2014 at 03:35:51PM +0100, John Sini wrote:
> > > > > > >  Hi,
> > > > > > >
> > > > > > >
> > > > > > > Thank you for your reply. I have disabled lockdep by disabling
> > > > following
> > > > > > > two options in Kernel configuration :Lock debugging:prove locking
> > > > > > > correctness and  Lock debugging: detect incorrect freeing of live
> > > > locks.
> > > > > > > The problem that i am facing now is:
> > > > > >
> > > > > > Does the exact same .config file work on an unpatched kernel?
> > > > > >
> > > > > > Just checked and I got the same error.
> > > >
> > > > So, before trying and compiling Xenomai with a configuration file,
> > > > please try and get a working configuration for your kernel, without
> > > > Xenomai patch applied.
> > > >
> > > >   Ok, I will do it.
> > >
> > >
> > > > Also, since the Zynq patch is provided by a third party, and not
> > > > part of the patches supported by the mainline I-pipe patch, I do not
> > > > even compile test this patch, so have no working configuration to
> > > > propose.
> > > >
> > > > Maybe the people having proposed the patch could also propose a
> > > > working kernel configuration? That would be nice.
> > >
> > >
> > >
> > >    Can you maybe explain me the errors that *I got i.e. can they be due
> > to
> > > xenomai(kernel panic)*
> >
> > I do not know what you are talking about. If the same configuration
> > on an unpatched kernel has an issue, then the issue certainly has
> > nothing to do with Xenomai, don't you think ?
> >
> >
>   Yeah I do think :) I have just one question concerning this warning that
> I still have(I think it's due to Xenomai as it's about ipipe)
> 
> WARNING: vmlinux.o(.cpuinit.text+0xdc0): Section mismatch in reference from
> the function gt_setup.part.2.constprop.4() to the function
> .init.text:__ipipe_tsc_register()
> The function __cpuinit gt_setup.part.2.constprop.4() references
> a function __init __ipipe_tsc_register().
> If __ipipe_tsc_register is only used by gt_setup.part.2.constprop.4 then
> annotate __ipipe_tsc_register with a matching annotation.
> 
>  - I have already put __init attribute in front of __ipipe_tsc_register
> function in ipipe-core-3.8-arm-1.patch. If I put __init attribute in front
> of the name of  __cpuinit gt_setup function in the same patch - will that
> fix this warning that I have?

I would say so, probably yes.

-- 
					    Gilles.


  reply	other threads:[~2014-12-03 13:34 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-28 11:03 [Xenomai] Section mismatch - Porting Xenomai to linux-xlnx-V14.5 zynq SoC John Sini
2014-11-28 11:13 ` Gilles Chanteperdrix
2014-11-28 11:19   ` John Sini
2014-11-28 11:48     ` Gilles Chanteperdrix
2014-11-28 13:03   ` John Sini
2014-11-28 13:40     ` John Sini
2014-11-28 18:19       ` John Sini
2014-11-28 18:21         ` Gilles Chanteperdrix
2014-12-01 14:35           ` John Sini
2014-12-01 14:39             ` Gilles Chanteperdrix
2014-12-01 15:26               ` John Sini
2014-12-01 15:29                 ` Gilles Chanteperdrix
2014-12-01 15:45                   ` John Sini
2014-12-01 16:15                     ` Gilles Chanteperdrix
2014-12-03 13:32                       ` John Sini
2014-12-03 13:34                         ` Gilles Chanteperdrix [this message]
2014-12-03 13:36                           ` John Sini
2014-12-01 21:30                   ` Matthew Fornero

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=20141203133450.GC30916@hermes \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=jhnsini@gmail.com \
    --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.