This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ERROR: Build-id mismatch: "kernel" vs. "vmlinux" byte 0 (0x00 vs 0x00)


Hi -

karl@hiramoto.org wrote:

> dump_unwindsyms kernel index=0 base=0xc1000000
> Found build-id in kernel, length 20, end at 0xc146d654
> Found kernel _stext extra offset 0x10e8
> [...]
> ERROR: Build-id mismatch: "kernel" vs. "vmlinux" byte 0 (0x00 vs 0x00) rc -14 -14

-14 is -EFAULT.  This should not happen unless our address
calculations have gotten messed up somehow.  Try rerunning stap with
-DDEBUG_TRANS -DDEBUG_SYMBOLS.

> readelf -x .notes /usr/src/linux/vmlinux
> Hex dump of section '.notes':
>   0xc146d630 04000000 14000000 03000000 474e5500 ............GNU.
>   0xc146d640 274c0491 926a1565 cd7728cd aa8aaa84 'L...j.e.w(.....
>   0xc146d650 fd38e5a8                            .8..

This looks fine; does it match `od -t x4 /sys/kernel/notes` ?


- FChE


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]