lkml.org 
[lkml]   [2009]   [Sep]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH -tip tracing/kprobes 3/6] kprobes/x86: Fix to add __kprobes to in-kernel fault handing functions
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/

\
 
 \ /
  Last update: 2009-09-01 22:09    [W:0.150 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site