Bug#299567: kernel-image-2.6.8-2-686-smp: x86 has no uncompressed vmlinux (for oprofile)
On Fri, Mar 18, 2005 at 03:06:52PM +0900, Horms wrote:
> On Mon, Mar 14, 2005 at 07:22:45PM -0600, Troy Benjegerdes wrote:
> > Package: kernel-image-2.6.8-2-686-smp
> > Version: 2.6.8-13
> > Severity: wishlist
> >
> > There appears to be no package that provides uncompressed vmlinux files
> > for use with oprofile. Other architectures (ppc) provide kernel packages
> > with vmlinux files that get wrappered or booted directly.
>
> Could you please give some more details of what (ppc) packages
> provide this, and what is neccessary to do this for 686.
hozer@narn hozer$ dpkg -S /boot/vmlinux-2.6.8-powerpc-smp
kernel-image-2.6.8-powerpc-smp: /boot/vmlinux-2.6.8-powerpc-smp
hozer@narn hozer$ file /boot/vmlinux-2.6.8-powerpc-smp
/boot/vmlinux-2.6.8-powerpc-smp: ELF 32-bit MSB executable, PowerPC or
cisco 4500, version 1 (SYSV), statically linked, not stripped
The ppc package 'mkvmlinuz' has the following documentation:
mkvmlinuz is a program that takes a PowerPC Linux kernel as an uncom-
pressed ELF image file (usually called vmlinux or somesuch) and adds
boot code and possibly a ramdisk to create a compressed kernel image
that can be booted directly from Open Firmware, thus eliminating the
need for a second-stage bootloader such as yaboot or quik.
Unfortunately, I don't know if the equivalent of 'mkvmlinuz' exists for x86.
However, a vmlinuz and vmlinux could both be included, or the maybe create a
'kernel-vmlinux' package, which is suggested to be installed by oprofile.
Ideally, I'd also like 'opcontrol --start' to first try to find a vmlinux file
in /boot/vmlinux-`uname -r`.
Reply to: