* [Xenomai-help] Problem compiling patched kernel: multiple definitions of mcount
@ 2008-11-13 5:48 James Doebbler
2008-11-13 16:51 ` Jan Kiszka
0 siblings, 1 reply; 4+ messages in thread
From: James Doebbler @ 2008-11-13 5:48 UTC (permalink / raw)
To: xenomai
Hello,
I am trying to patch and install a kernel using Xenomai (on Ubuntu
8.10). I am using a vanilla linux-2.6.27 kernel and the latest
xenomai version (2.4.6.1). I had some earlier problems that I
resolved by using the latest adeos patch (now I see that has been
fixed in 2.4.6.1), but I've been running into another problem. I get
an error when compiling due to multiple definitions of mcount in the
entry_32.S and mcount_32.S files. I looked at the code and decided
that disabling function tracing (CONFIG_FTRACE) in the kernel config
would eliminate the kernel function tracing and the ipipe function
tracing from stepping on each others' toes. The kernel seems to be
compiling okay now (still in progress). I just wanted to ask if this
is a bug or expected, and if the action I took was appropriate. Do I
lose anything by disabling kernel function tracing?
Thanks,
James
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Xenomai-help] Problem compiling patched kernel: multiple definitions of mcount
2008-11-13 5:48 [Xenomai-help] Problem compiling patched kernel: multiple definitions of mcount James Doebbler
@ 2008-11-13 16:51 ` Jan Kiszka
2008-11-13 17:18 ` James Doebbler
2008-11-13 17:49 ` Philippe Gerum
0 siblings, 2 replies; 4+ messages in thread
From: Jan Kiszka @ 2008-11-13 16:51 UTC (permalink / raw)
To: James Doebbler; +Cc: xenomai
James Doebbler wrote:
> Hello,
> I am trying to patch and install a kernel using Xenomai (on Ubuntu
> 8.10). I am using a vanilla linux-2.6.27 kernel and the latest
> xenomai version (2.4.6.1). I had some earlier problems that I
> resolved by using the latest adeos patch (now I see that has been
> fixed in 2.4.6.1), but I've been running into another problem. I get
> an error when compiling due to multiple definitions of mcount in the
> entry_32.S and mcount_32.S files. I looked at the code and decided
> that disabling function tracing (CONFIG_FTRACE) in the kernel config
> would eliminate the kernel function tracing and the ipipe function
> tracing from stepping on each others' toes. The kernel seems to be
> compiling okay now (still in progress). I just wanted to ask if this
> is a bug or expected, and if the action I took was appropriate. Do I
> lose anything by disabling kernel function tracing?
OK, that experience confirms my first glance on the latest patch /wrt
FTRACE integration: unfinished. The solution will be using the FTRACE
mcount functions for the ipipe tracer - should be feasible, except for
dynamic FRTRACE, ie. the thing that killed puppies and e1000 NICs. :)
Hope I'll find some time to look into this, but I can't promise when.
For now, if you want FTRACE (probably not, when you don't know it yet),
disable CONFIG_IPIPE_TRACE.
Jan
--
Siemens AG, Corporate Technology, CT SE 2 ES-OS
Corporate Competence Center Embedded Linux
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Xenomai-help] Problem compiling patched kernel: multiple definitions of mcount
2008-11-13 16:51 ` Jan Kiszka
@ 2008-11-13 17:18 ` James Doebbler
2008-11-13 17:49 ` Philippe Gerum
1 sibling, 0 replies; 4+ messages in thread
From: James Doebbler @ 2008-11-13 17:18 UTC (permalink / raw)
To: Jan Kiszka; +Cc: xenomai
Thanks for the reply, that clears things up nicely. The rest of the
kernel finished compiling just fine, so I'll just continue on without
FTRACE for now.
James
On Thu, Nov 13, 2008 at 10:51 AM, Jan Kiszka <jan.kiszka@domain.hid> wrote:
> James Doebbler wrote:
>> Hello,
>> I am trying to patch and install a kernel using Xenomai (on Ubuntu
>> 8.10). I am using a vanilla linux-2.6.27 kernel and the latest
>> xenomai version (2.4.6.1). I had some earlier problems that I
>> resolved by using the latest adeos patch (now I see that has been
>> fixed in 2.4.6.1), but I've been running into another problem. I get
>> an error when compiling due to multiple definitions of mcount in the
>> entry_32.S and mcount_32.S files. I looked at the code and decided
>> that disabling function tracing (CONFIG_FTRACE) in the kernel config
>> would eliminate the kernel function tracing and the ipipe function
>> tracing from stepping on each others' toes. The kernel seems to be
>> compiling okay now (still in progress). I just wanted to ask if this
>> is a bug or expected, and if the action I took was appropriate. Do I
>> lose anything by disabling kernel function tracing?
>
> OK, that experience confirms my first glance on the latest patch /wrt
> FTRACE integration: unfinished. The solution will be using the FTRACE
> mcount functions for the ipipe tracer - should be feasible, except for
> dynamic FRTRACE, ie. the thing that killed puppies and e1000 NICs. :)
>
> Hope I'll find some time to look into this, but I can't promise when.
> For now, if you want FTRACE (probably not, when you don't know it yet),
> disable CONFIG_IPIPE_TRACE.
>
> Jan
>
> --
> Siemens AG, Corporate Technology, CT SE 2 ES-OS
> Corporate Competence Center Embedded Linux
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Xenomai-help] Problem compiling patched kernel: multiple definitions of mcount
2008-11-13 16:51 ` Jan Kiszka
2008-11-13 17:18 ` James Doebbler
@ 2008-11-13 17:49 ` Philippe Gerum
1 sibling, 0 replies; 4+ messages in thread
From: Philippe Gerum @ 2008-11-13 17:49 UTC (permalink / raw)
To: Jan Kiszka; +Cc: James Doebbler, xenomai
Jan Kiszka wrote:
> James Doebbler wrote:
>> Hello,
>> I am trying to patch and install a kernel using Xenomai (on Ubuntu
>> 8.10). I am using a vanilla linux-2.6.27 kernel and the latest
>> xenomai version (2.4.6.1). I had some earlier problems that I
>> resolved by using the latest adeos patch (now I see that has been
>> fixed in 2.4.6.1), but I've been running into another problem. I get
>> an error when compiling due to multiple definitions of mcount in the
>> entry_32.S and mcount_32.S files. I looked at the code and decided
>> that disabling function tracing (CONFIG_FTRACE) in the kernel config
>> would eliminate the kernel function tracing and the ipipe function
>> tracing from stepping on each others' toes. The kernel seems to be
>> compiling okay now (still in progress). I just wanted to ask if this
>> is a bug or expected, and if the action I took was appropriate. Do I
>> lose anything by disabling kernel function tracing?
>
> OK, that experience confirms my first glance on the latest patch /wrt
> FTRACE integration: unfinished.
Not quite. Not addressed would be more appropriate.
The solution will be using the FTRACE
> mcount functions for the ipipe tracer - should be feasible, except for
> dynamic FRTRACE, ie. the thing that killed puppies and e1000 NICs. :)
>
> Hope I'll find some time to look into this, but I can't promise when.
> For now, if you want FTRACE (probably not, when you don't know it yet),
> disable CONFIG_IPIPE_TRACE.
>
> Jan
>
--
Philippe.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-11-13 17:49 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-13 5:48 [Xenomai-help] Problem compiling patched kernel: multiple definitions of mcount James Doebbler
2008-11-13 16:51 ` Jan Kiszka
2008-11-13 17:18 ` James Doebbler
2008-11-13 17:49 ` Philippe Gerum
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.