This discussion is archived
2 Replies Latest reply: Oct 18, 2012 1:16 PM by 505655 RSS

build ID mismatch "kernel" vs. "vmlinux" byte 0 (0x8a vs 0x79)

505655 Newbie
Currently Being Moderated
Hi,

I am trying to use systemtap On OL6u3.

sh-4.1# uname -a
Linux sc14ia05 2.6.39-200.24.1.el6uek.x86_64 #1 SMP

I have the following rpms installed:

kernel-uek-debuginfo-2.6.39-200.24.1.el6uek.x86_64
kernel-uek-2.6.39-200.24.1.el6uek.x86_64
kernel-uek-debuginfo-common-2.6.39-200.24.1.el6uek.x86_64
kernel-uek-devel-2.6.39-200.24.1.el6uek.x86_64

systemtap-1.7-5.0.1.el6.x86_64
systemtap-client-1.7-5.0.1.el6.x86_64
systemtap-runtime-1.7-5.0.1.el6.x86_64
systemtap-devel-1.7-5.0.1.el6.x86_64

sh-4.1# stap --vp 00001  -e 'probe vfs.read {printf("read performed\n"); exit()}'
Pass 5: starting run.
ERROR: Build-id mismatch: "kernel" vs. "vmlinux" byte 0 (0x8a vs 0x79) address 0xffffffff81511cac rc 0
WARNING: /usr/bin/staprun exited with status: 1
Pass 5: run completed in 0usr/20sys/51real ms.
Pass 5: run failed. Try again with another '--vp 00001' option.

sh-4.1# rpm -qif /boot/vmlinuz-2.6.39-200.24.1.el6uek.x86_64 /usr/lib/debug/lib/modules/2.6.39-200.24.1.el6uek.x86_64/vmlinux
Name : kernel-uek Relocations: (not relocatable)
Version : 2.6.39 Vendor: Oracle America
Release : 200.24.1.el6uek Build Date: Sat 23 Jun 2012 12:21:53 AM PDT
Install Date: Mon 01 Oct 2012 11:56:01 AM PDT Build Host: build.oracle.com
Group : System Environment/Kernel Source RPM: kernel-uek-2.6.39-200.24.1.el6uek.src.rpm
Size : 103282710 License: GPLv2
Signature : RSA/8, Sat 23 Jun 2012 12:31:03 AM PDT, Key ID 72f97b74ec551f03
URL : http://www.kernel.org/
Summary : The Linux kernel
Description :
The kernel package contains the Linux kernel (vmlinuz), the core of any
Linux operating system. The kernel handles the basic functions
of the operating system: memory allocation, process allocation, device
input and output, etc.
Name : kernel-uek-debuginfo Relocations: (not relocatable)
Version : 2.6.39 Vendor: Oracle America
Release : 200.24.1.el6uek Build Date: Sat 23 Jun 2012 12:21:53 AM PDT
Install Date: Mon 01 Oct 2012 10:48:30 AM PDT Build Host: build.oracle.com
Group : Development/Debug Source RPM: kernel-uek-2.6.39-200.24.1.el6uek.src.rpm
Size : 1552990087 License: GPLv2
Signature : RSA/8, Sat 23 Jun 2012 12:30:50 AM PDT, Key ID 72f97b74ec551f03
URL : http://www.kernel.org/
Summary : Debug information for package kernel-uek
Description :
This package provides debug information for package kernel-uek.
This is required to use SystemTap with kernel-uek-2.6.39-200.24.1.el6uek.x86_64.

Though the version information for the 2 rpms are the same,

sh-4.1# eu-readelf -n /boot/vmlinuz-2.6.39-200.24.1.el6uek.x86_64 |grep Build
Build ID: 79133f454ed19e80f001b21df7a901b3552aebb4
sh-4.1# eu-readelf -n /usr/lib/debug/lib/modules/2.6.39-200.24.1.el6uek.x86_64/vmlinux |grep Build
Build ID: 8a02fa3dd503c6eba46981abcc2dc19d5de2c1e0

The build ID from eu-readelf is different.
Is this a packaging problem? Is there a way to work around this?

Thanks,

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points