From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21832 invoked by alias); 1 Sep 2009 20:05:37 -0000 Received: (qmail 21825 invoked by uid 22791); 1 Sep 2009 20:05:37 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1-old.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 01 Sep 2009 20:05:30 +0000 Received: from int-mx03.intmail.prod.int.phx2.redhat.com ([10.11.47.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n81K5QHS007033 for ; Tue, 1 Sep 2009 16:05:27 -0400 Received: from [10.16.2.46] (dhcp-100-2-46.bos.redhat.com [10.16.2.46]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n81K5Ph2006829; Tue, 1 Sep 2009 16:05:25 -0400 Message-ID: <4A9D7F66.7030503@redhat.com> Date: Tue, 01 Sep 2009 20:05:00 -0000 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 X-IsSubscribed: yes Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2009-q3/txt/msg00523.txt.bz2 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