Mailinglist Archive: opensuse-kernel (65 mails)

< Previous Next >
Re: [opensuse-kernel] Clarification of bzImage vs gzip vmlinuz-* for -default/-xen kernels?
  • From: Jeff Mahoney <jeffm@xxxxxxxx>
  • Date: Mon, 11 Jan 2010 20:27:37 -0500
  • Message-id: <4B4BD009.6090802@xxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 01/11/2010 08:24 PM, mail ignored wrote:
On Mon, Jan 11, 2010 at 5:08 PM, Jan Engelhardt <jengelh@xxxxxxxxxx> wrote:
arch type name
x86-* compressed bzImage
x86-xen compressed vmlinuz

Is it possible to *convert* a vmlinuz (gzip compressed) to a bzImage?
I believe I could rebuild the kernel, specifying a different image
type ... looking for a simpler step to test. My goal is to 'feed' a
-xen bzImage to the Dom0's PVGRUB bootloader (hosted, so I can't get
to it), and see if it stops complaining ...

Some very recent PVGRUB patches seem to address problems with
LZMA/BZIP2 decompression; I've found nothing, yet, re: GZIP itself,
though.

Given your info above, the fact that the -xen vmlinuz *is* provided as
gzip compressed, and checking,

/usr/src/linux-2.6.31.8-0.1/arch/x86 > egrep "LZMA|GZIP|BZIP" Kconfig
select HAVE_KERNEL_GZIP
select HAVE_KERNEL_BZIP2 if !XEN
select HAVE_KERNEL_LZMA if !XEN

it seems that BZIP & LZMA compression are neither available nor turned
on for XEN case.

It's possible, but not without building most of the kernel again to get
setup.bin and the decompression helper. Then it's some manual hackery. I
don't really think that's the best place to start though. I'm not sure
which order pvgrub tries kernel types, but it may be that it's decided
that it's not a compressed vmlinux already.

- -Jeff

- --
Jeff Mahoney
SuSE Labs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEYEARECAAYFAktL0AgACgkQLPWxlyuTD7JQ0QCfZPhcbMsLkOYDXOOI1HkT357C
FoAAoJoLKHAAFnny3FiuSMtsCCzXrdyO
=KJ6o
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse-kernel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-kernel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups