Bug 185662 - Xen x86_64 kernels in kernel debuginfo package do not contain dwarf symbols
Summary: Xen x86_64 kernels in kernel debuginfo package do not contain dwarf symbols
Alias: None
Product: Fedora
Classification: Fedora
Component: xen
Version: 5
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Stephen Tweedie
QA Contact: Brian Brock
Depends On:
Blocks: 179629
TreeView+ depends on / blocked
Reported: 2006-03-16 19:13 UTC by Kiersten (Kerri) Anderson
Modified: 2007-11-30 22:11 UTC (History)
4 users (show)

Clone Of:
Last Closed: 2007-01-11 21:28:22 UTC

Attachments (Terms of Use)

Description Kiersten (Kerri) Anderson 2006-03-16 19:13:52 UTC
Description of problem:
Xen kernels included in the kernel debuginfo package do not contain the dwarf
symbol section.  The symbols are needed to make use of system tap in a guest

[root@heater02-2 modules]# pwd
[root@heater02-2 modules]# ls -l */vmlinux
-rwxr-xr-x 1 root root 43561838 Mar 14 15:49 2.6.15-1.2054_FC5kdump/vmlinux
-rwxr-xr-x 1 root root 46039420 Mar 14 15:00 2.6.15-1.2054_FC5/vmlinux
-rwxr-xr-x 1 root root  7470386 Mar 14 15:15 2.6.15-1.2054_FC5xen0/vmlinux
-rwxr-xr-x 1 root root  6521549 Mar 14 15:22 2.6.15-1.2054_FC5xenU/vmlinux

xen0 and xenU are considerably smaller than the kdump and the default kernels on

Version-Release number of selected component (if applicable):
[root@heater02-2 modules]# rpm -q kernel-debuginfo

How reproducible:
every time

Steps to Reproduce:
1. objdump -W /usr/lib/debug/lib/modules/2.6.15-1.2054_FC5xen0/vmlinux
Actual results:
Single line showing type of file.

Expected results:
Command should dump the entire dwarf symbol table.

Additional info:

Comment 1 Kiersten (Kerri) Anderson 2006-03-16 19:42:50 UTC
From a size perspective, it gets worse.  The module files don't have the symbols
either.  We might want to look at creating kernel specific debuginfo rpms.  I
only want the guest domain kernel debuginfo in a xen guest.  Given the size, I
don't want to take up space in a guest partition for the other kernels.

Comment 2 Dave Anderson 2006-03-22 20:41:07 UTC
It should be noted that this is x86_64 only; the x86 xen[0U] vmlinux
files do contain debug data.  

Comment 3 Dave Anderson 2006-03-24 13:41:17 UTC
This is essentially a showstopper for x86_64 xen kernel crash dump facility.

Comment 4 Daniel Berrange 2007-01-11 21:28:22 UTC
This is fixed in latest updates - kernel-debuginfo  for FC5, or
kernel-xen-debuginfo for FC6 and later.

On FC5:

# uname -m
# ls -l */vmlinux
-rwxr-xr-x 1 root root 48539373 Dec 15 18:07 2.6.18-1.2257.fc5kdump/vmlinux
-rwxr-xr-x 1 root root 51788895 Dec 15 16:28 2.6.18-1.2257.fc5/vmlinux
-rwxr-xr-x 1 root root 50289916 Dec 15 17:28 2.6.18-1.2257.fc5xen0/vmlinux
-rwxr-xr-x 1 root root 38282031 Dec 15 17:40 2.6.18-1.2257.fc5xenU/vmlinux
-rwxr-xr-x 1 root root 49817241 Dec 15 16:59 2.6.18-1.2257.fc5xen/vmlinux

And fc6:

# uname -m
# ls -l */vmlinux
-rwxr-xr-x 1 root root 54295942 Dec 15 17:43 2.6.18-1.2868.fc6/vmlinux
-rwxr-xr-x 1 root root 51124593 Dec 15 18:01 2.6.18-1.2868.fc6xen/vmlinux

Note You need to log in before you can comment on or make changes to this bug.