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 environment. [root@heater02-2 modules]# pwd /usr/lib/debug/lib/modules [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 x86_64 Version-Release number of selected component (if applicable): [root@heater02-2 modules]# rpm -q kernel-debuginfo kernel-debuginfo-2.6.15-1.2054_FC5 How reproducible: every time Steps to Reproduce: 1. objdump -W /usr/lib/debug/lib/modules/2.6.15-1.2054_FC5xen0/vmlinux 2. 3. Actual results: Single line showing type of file. Expected results: Command should dump the entire dwarf symbol table. Additional info:
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.
It should be noted that this is x86_64 only; the x86 xen[0U] vmlinux files do contain debug data.
This is essentially a showstopper for x86_64 xen kernel crash dump facility.
This is fixed in latest updates - kernel-debuginfo for FC5, or kernel-xen-debuginfo for FC6 and later. On FC5: # uname -m x86_64 # 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 x86_64 # 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