Messages in this thread | | | Date | Tue, 01 Sep 2009 16:09:10 -0400 | From | Masami Hiramatsu <> | Subject | Re: [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/
| |