Build-id mismatch: "kernel" vs. "vmlinux" byte 0 (0x82 vs 0x47)

zhenzhong.duan zhenzhong.duan@oracle.com
Tue Jul 24 06:10:00 GMT 2012


Hi Josh,
thanks for your comment.
>> I'm sure kernel and debuginfo match eath other.
>> Linux version 2.6.39-200.29.2.el6uek.x86_64
>> (mockbuild@ca-build44.us.oracle.com) (gcc version 4.4.6 20110731 (Red
>> Hat 4.4.6-3) (GCC) ) #1 SMP Sat Jul 14 10:50:56 EDT 2012
> Unfortunately, it is still possible for these to be mismatched, even if
> the version strings are identical.  In order for the Build IDs to match,
> the packages must come from the exact same compilation run.  One clue to
> check this is the "Build Date" information in the rpms, which you may
> find with this command:
>
> rpm -qif /boot/vmlinuz-2.6.39-200.29.2.el6uek.x86_64 \
>    /usr/lib/debug/lib/modules/2.6.39-200.29.2.el6uek.x86_64/vmlinux
>
> It probably won't match the exact "10:50:56 EDT" time given in your
> kernel string, but rather some time after that when the rpms are
> actually written.  The kernel and kernel-debuginfo rpms should be the
> same build date and time as each other though.
>
> Hope this helps, and let us know what that says.
>
> Josh
As you predict, kernel string/kernel-uek pkg/kernel-uek-debuginfo pkg's 
time signature are all different.
In fact, 2.6.39-200.29.2.el6uek are a variant of upstream 3.2.5 or 
later. So this maybe an upstream issue.

[root@zhenzhong1 ~]# rpm -qif /boot/vmlinuz-2.6.39-200.29.2.el6uek.x86_64 \
 >   /usr/lib/debug/lib/modules/2.6.39-200.29.2.el6uek.x86_64/vmlinux
Name        : kernel-uek                   Relocations: (not relocatable)
Version     : 2.6.39                            Vendor: Oracle America
Release     : 200.29.2.el6uek               Build Date: Sat 14 Jul 2012 
11:33:03 AM EDT
Install Date: Fri 20 Jul 2012 04:52:29 AM EDT      Build Host: 
ca-build44.us.oracle.com
Group       : System Environment/Kernel     Source RPM: 
kernel-uek-2.6.39-200.29.2.el6uek.src.rpm
Size        : 103285531                        License: GPLv2
Signature   : RSA/8, Sat 14 Jul 2012 11:50:15 AM EDT, Key ID 
72f97b74ec551f03
URL         : http://www.kernel.org/
Summary     : The Linux kernel
...
Name        : kernel-uek-debuginfo         Relocations: (not relocatable)
Version     : 2.6.39                            Vendor: Oracle America
Release     : 200.29.2.el6uek               Build Date: Sat 14 Jul 2012 
11:33:03 AM EDT
Install Date: Mon 23 Jul 2012 05:40:40 AM EDT      Build Host: 
ca-build44.us.oracle.com
Group       : Development/Debug             Source RPM: 
kernel-uek-2.6.39-200.29.2.el6uek.src.rpm
Size        : 1553026121                       License: GPLv2
Signature   : RSA/8, Sat 14 Jul 2012 11:50:02 AM EDT, Key ID 
72f97b74ec551f03
URL         : http://www.kernel.org/
Summary     : Debug information for package kernel-uek





More information about the Systemtap mailing list