linux-mips
[Top] [All Lists]

Re: FTRACE makes the kernel not boot

To: Lluís Batlle i Rossell <viric@viric.name>, Ralf Baechle <ralf@linux-mips.org>, Al Cooper <alcooperx@gmail.com>
Subject: Re: FTRACE makes the kernel not boot
From: David Daney <ddaney.cavm@gmail.com>
Date: Mon, 01 Apr 2013 09:48:23 -0700
Cc: linux-mips@linux-mips.org
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; 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: <20130330232944.GR10445@vicerveza.homeunix.net>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
References: <20130330232944.GR10445@vicerveza.homeunix.net>
Sender: linux-mips-bounce@linux-mips.org
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:
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.





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