Could you also send output of 'eu-readelf -S' for both vmlinuz and
vmlinux? Are you using relocable kernel (CONFIG_RELOCATABLE)?

6 вересня 2009 о 21:36 +0200 Lucas Nussbaum написав(-ла):
> On 06/09/09 at 21:12 +0200, Eugeniy Meshcheryakov wrote:
> > 6 вересня 2009 о 20:33 +0200 Eugeniy Meshcheryakov написав(-ла):
> > > Hello,
> > > 
> > > Do you use 32-bit or 64-bit kernel? Also can you try to remove ~/.stap
> > > and recompile the probe. I this does not help, try to compile probe with
> > > -k and check build_id_bits in stap-symbols.h in the tmp directory.
> > Hmm, it looks like build_id_bits should be correct. Could you send
> > entire content of struct _stp_module for kernel?
> 
> Yes, it matches.
> 
> static struct _stp_section _stp_module_0_sections[] = {
> {
> .name = "_stext",
> .size = 0x50f000,
> .symbols = _stp_module_0_symbols_0,
> .num_symbols = 35969
> },
> };
> static struct _stp_module _stp_module_0 = {
> .name = "kernel", 
> .path = "/usr/lib/debug/lib/modules/2.6.31-rc8/vmlinux",
> .dwarf_module_base = 0xc1000000, 
> .eh_frame_addr = 0x0, 
> #if defined(STP_USE_DWARF_UNWINDER) && defined(STP_NEED_UNWIND_DATA)
> .debug_frame = _stp_module_0_debug_frame, 
> .debug_frame_len = 699760, 
> #else
> .debug_frame = NULL,
> .debug_frame_len = 0,
> #endif /* STP_USE_DWARF_UNWINDER && STP_NEED_UNWIND_DATA*/
> .eh_frame = NULL,
> .eh_frame_len = 0,
> .unwind_hdr = NULL,
> .unwind_hdr_len = 0,
> .sections = _stp_module_0_sections,
> .num_sections = sizeof(_stp_module_0_sections)/sizeof(struct _stp_section),
> .build_id_bits = 
> "\xb0\xf4\x53\xc4\x6a\xe8\x6\xae\x8d\x41\xf5\x72\x88\xc6\x4e\x3e\x72\x77\xe6\x48",
> .build_id_len = 20,
> .build_id_offset = 0xc1242bfc,
> .notes_sect = 0,
> };
> 
> 
> static struct _stp_module *_stp_modules [] = {
> & _stp_module_0,
> };
> static unsigned _stp_num_modules = 1;
> static unsigned long _stp_kretprobe_trampoline = 0x23f141;
> 
> > Also try to pass -DDEBUG_SYMBOLS=10 to stap, output may be useful. I
> > cannot reproduce this problem on amd64.
> 
> Gzipped output attached.
> 
> Strange ...
> -- 
> | Lucas Nussbaum
> | [email protected]   http://www.lucas-nussbaum.net/ |
> | jabber: [email protected]             GPG: 1024D/023B3F4F |


Attachment: signature.asc
Description: Digital signature

Reply via email to