Linux MIPS Architecture development
 help / color / mirror / Atom feed
* FTRACE makes the kernel not boot
@ 2013-03-30 23:29 Lluís Batlle i Rossell
  2013-04-01 16:48 ` David Daney
  0 siblings, 1 reply; 2+ messages in thread
From: Lluís Batlle i Rossell @ 2013-03-30 23:29 UTC (permalink / raw)
  To: linux-mips

Hello,

For a fuloong (loongson2f) I had two configs, one booted and the other not, on
a linux 3.8. I narrowed down the difference to enabling CONFIG_FTRACE.

Enabling CONFIG_FTRACE makes the kernel not load at all; it even does not print
any early printk to the serial port.

Do you agree there is a problem with FTRACE? Maybe it is solved already
in the mips git branch?

Regards,
Lluís.

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

* Re: FTRACE makes the kernel not boot
  2013-03-30 23:29 FTRACE makes the kernel not boot Lluís Batlle i Rossell
@ 2013-04-01 16:48 ` David Daney
  0 siblings, 0 replies; 2+ messages in thread
From: David Daney @ 2013-04-01 16:48 UTC (permalink / raw)
  To: Lluís Batlle i Rossell, Ralf Baechle, Al Cooper; +Cc: linux-mips

On 03/30/2013 04:29 PM, Lluís Batlle i Rossell wrote:
> Hello,
>
> For a fuloong (loongson2f) I had two configs, one booted and the other not, on
> a linux 3.8. I narrowed down the difference to enabling CONFIG_FTRACE.
>
> Enabling CONFIG_FTRACE makes the kernel not load at all; it even does not print
> any early printk to the serial port.
>
> Do you agree there is a problem with FTRACE? Maybe it is solved already
> in the mips git branch?
>

This is caused by 58b69401c797e (MIPS: Function tracer: Fix broken 
function tracing), which broke ftrace for 64-bit kernels.  The subject 
of the patch is a bit misleading in this respect, it probably should 
have been something like 'MIPS: Function tracer: Break function tracing 
that used to work'

David Daney

> Regards,
> Lluís.
>
>
>

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

end of thread, other threads:[~2013-04-01 16:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-30 23:29 FTRACE makes the kernel not boot Lluís Batlle i Rossell
2013-04-01 16:48 ` David Daney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox