Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754350AbZIAUFw (ORCPT ); Tue, 1 Sep 2009 16:05:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754045AbZIAUFw (ORCPT ); Tue, 1 Sep 2009 16:05:52 -0400 Received: from mx1.redhat.com ([209.132.183.28]:49197 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751102AbZIAUFv (ORCPT ); Tue, 1 Sep 2009 16:05:51 -0400 Message-ID: <4A9D7F66.7030503@redhat.com> Date: Tue, 01 Sep 2009 16:09:10 -0400 From: Masami Hiramatsu User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.1) Gecko/20090814 Fedora/3.0-2.6.b3.fc11 Thunderbird/3.0b3 MIME-Version: 1.0 To: Frederic Weisbecker CC: Ingo Molnar , lkml , systemtap , DLE , Ananth N Mavinakayanahalli Subject: Re: [PATCH -tip tracing/kprobes 3/6] kprobes/x86: Fix to add __kprobes to in-kernel fault handing functions References: <20090827152539.GE6058@nowhere> <20090827172311.8246.92725.stgit@localhost.localdomain> <20090830005355.GB387@nowhere> <4A99E8CB.1040600@redhat.com> <20090830160939.GA6131@nowhere> <4A9B4AEE.1000307@redhat.com> In-Reply-To: <4A9B4AEE.1000307@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1778 Lines: 62 Masami Hiramatsu wrote: > Frederic Weisbecker wrote: >> BTW, after your patchset: >> >> TEST posttest >> Building modules, stage 2. >> Error: c0101038: 2e a1 f8 b0 9e c0 mov %cs:0xc09eb0f8,%eax >> Error: objdump says 6 bytes, but insn_get_length() says 10 (attr:40000) >> make[1]: *** [posttest] Erreur 2 >> make: *** [bzImage] Erreur 2 >> make: *** Attente des tâches non terminées.... >> MODPOST 4 modules >> >> >> I'm cross compiling from 64 to 32 using: >> >> make ARCH=x86 >> >> I've attached my config. > > Hmm, if you can, could you tell me the output of kernel build with V=1? > I'd like to know whether posttest passed $(CONFIG_64BIT) or not. > > Thank you, > >> >> Thanks. > Here is my result of 'make ARCH=x86' with your config-32 on x86-64. --- TEST posttest Succeed: decoded and checked 1735629 instructions --- And also, I've tested test_get_len manually. $ echo -e 'c0101038:\t2e a1 f8 b0 9e c0\t mov %cs:0xc09eb0f8,%eax' | arch/x86/tools/test_get_len Succeed: decoded and checked 1 instructions $ echo -e 'c0101038:\t2e a1 f8 b0 9e c0\t mov %cs:0xc09eb0f8,%eax' | arch/x86/tools/test_get_len y Error: c0101038: 2e a1 f8 b0 9e c0 mov %cs:0xc09eb0f8,%eax Error: objdump says 6 bytes, but insn_get_length() says 10 (attr:40000) So, I assume that CONFIG_64BIT=y in your test environment. (I'm not sure why...) Thank you, -- Masami Hiramatsu Software Engineer Hitachi Computer Products (America), Inc. Software Solutions Division e-mail: mhiramat@redhat.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/