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.