-----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@medozas.de> 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@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org