[Top] [All Lists]

Re: FTRACE makes the kernel not boot

To: Lluís Batlle i Rossell <>, Ralf Baechle <>, Al Cooper <>
Subject: Re: FTRACE makes the kernel not boot
From: David Daney <>
Date: Mon, 01 Apr 2013 09:48:23 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=cqPDnXdzmSMdj5Q0TTdfmqRbnxXJ1bMX76v1ChCja2s=; b=i33ZQdOY9/uFDpOvsDEkZDleAz3YcnhjCWS7HjwVYX2v1LYWLSVUEEMide3B2Jr1FK R2/pkDxvnYSlzy6Goj+F1hJL7AfHwueLaDp3VVujF1JTmbIf68Msb++9XxyCMfbhEJog Ony1H6XBg9QbGUTZqw6eC2mFuNDeroo/ovSLuiEyMPA7UtbbCqNeG3no0Hh/mhSd9awS 9wErFjeydnI63k1WwVOWlRQMn1fygVYCDHwYJ870Rxkb7Ms09CGfLsGozIqUCpT/RbGd eIVtqwBuAaKGuIiOTkdcn/aci1nJ5rBH5oiRtccNIsyLVtDxihDWLKZp6nrt5Q6rVfT2 MWdQ==
In-reply-to: <>
List-archive: <>
List-help: <>
List-id: linux-mips <>
List-owner: <>
List-post: <>
List-software: Ecartis version 1.0.0
List-subscribe: <>
List-unsubscribe: <>
References: <>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4
On 03/30/2013 04:29 PM, Lluís Batlle i Rossell wrote:

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


<Prev in Thread] Current Thread [Next in Thread>
  • Re: FTRACE makes the kernel not boot, David Daney <=