Package: systemtap
Version: 0.9.9-4
Severity: important

Hi,

I've built a kernel using make-kpkg to be able to use systemtap.
Build IDs for /boot/vmlinuz* and the debug match:
$ eu-readelf -n /boot/vmlinuz-2.6.31-rc8 

Note section [ 5] '.notes' of 36 bytes at offset 0x243bd8:
  Owner          Data size  Type
    GNU                   20  GNU_BUILD_ID
        Build ID: b0f453c46ae806ae8d41f57288c64e3e7277e648

lu...@star:/boot$ eu-readelf -n /usr/lib/debug/lib/modules/2.6.31-rc8/vmlinux
 
Note section [ 5] '.notes' of 36 bytes at offset 0x243bd8:
  Owner          Data size  Type
  GNU                   20  GNU_BUILD_ID
    Build ID: b0f453c46ae806ae8d41f57288c64e3e7277e648

However, when starting systemtap, I get:
ERROR: Build-id mismatch: "kernel" ffffffff90537dd13cc698f607008e00b82924c1 vs. 
"vmlinux" b0f453c46ae806ae8d41f57288c64e3e7277e648

If I hack sym.c to "return 0" at the beginning of the function, systemtap works 
fine.

- Lucas

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (800, 'stable'), (700, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.31-rc8 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages systemtap depends on:
ii  libc6                         2.9-25     GNU C Library: Shared libraries
ii  libdw1                        0.142-1    library that provides access to th
ii  libelf1                       0.142-1    library to read and write ELF file
ii  libgcc1                       1:4.4.1-1  GCC support library
ii  libnspr4-0d                   4.8-1      NetScape Portable Runtime Library
ii  libnss3-1d                    3.12.3.1-1 Network Security Service libraries
ii  libsqlite3-0                  3.6.17-2   SQLite 3 shared library
ii  libstdc++6                    4.4.1-1    The GNU Standard C++ Library v3
ii  systemtap-runtime             0.9.9-4    instrumentation system for Linux 2

systemtap recommends no packages.

Versions of packages systemtap suggests:
ii  linux-headers-2.6.24-1-686 [l 2.6.24-7   Header files for Linux 2.6.24 on P
ii  linux-headers-2.6.31-rc8 [lin 1          Header files related to Linux kern
ii  linux-image-2.6.24-1-686 [lin 2.6.24-7   Linux 2.6.24 image on PPro/Celeron
ii  linux-image-2.6.30-1-686 [lin 2.6.30-6   Linux 2.6.30 image on PPro/Celeron
ii  linux-image-2.6.31-rc8 [linux 1          Linux kernel binary image for vers
ii  linux-image-2.6.31-rc8-dbg [l 1          Linux kernel debug image for versi
ii  systemtap-doc                 0.9.9-4    documentation and examples for Sys
pn  vim-addon-manager             <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to