Public bug reported: My desktop runs Ubuntu precise with linux kernel 3.2.0-24-generic-pae (i686), and I have installed the relevant linux-image-$(uname -r)-dbgsym package from the ddebs repository.
When I run the command "sudo stap --vp 00001 -e 'probe vfs.read { print("hello from read\n"); exit()}'" in bash, it finally gets an error in Pass 5, saying "ERROR: Build-id mismatch: "kernel" vs. "vmlinux-3.2.0-24-generic-pae" byte 0 (0x54 vs 0xc9) address 0xc15b0850 rc 0". Then I check the vmlinux-3.2.0-24-generic-pae file with the command "readelf -x .notes /usr/lib/debug/boot/vmlinux-3.2.0-24-generic-pae", which shows the value at the address 0xc15b0850 is 0x54. Seems this value (build-id) in vmlinux-3.2.0-24-generic-pae is not equal to that in the running kernel. BTW, when I try to run "sudo stap --vp 00001 -e 'probe vfs.read { print("hello from read\n"); exit()}'", it generates lots of WARNINGS, saying "WARNING: cannot find module sunrpc debuginfo: No DWARF information found" and "WARNING: cannot find module nfs debuginfo: No DWARF information found". Even after I setup the .debug-id folder under /usr/lib/debug/ as the instructions at http://sourceware.org/systemtap/wiki/SystemtapOnUbuntu, the WARNINGs remain. Seems systemtap doesn't look for the module debug info from /usr/lib/debug/ directory. ** Affects: systemtap (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996364 Title: systemtap reports error 'Build-id mismatch' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemtap/+bug/996364/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs