-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 01/11/2010 06:48 PM, mail ignored wrote:
I'm troubleshooting a Xen boot, using recent PVGRUB, of an opensuse DomU.
@ console I see an error:
... ERROR Invalid kernel: xc_dom_probe_bzimage_kernel: kernel is not a bzImage xc_dom_bzimageloader.c:350: panic: xc_dom_probe_bzimage_kernel: kernel is not a bzImage ...
I note,
file `ls /boot/vmlinuz-2*` /boot/vmlinuz-2.6.31.8-0.1-default: Linux/x86 Kernel, Setup Version 0x20a, bzImage, Version 2.6.31.8, RO-rootFS, root_dev 0x301, swap_dev 0x3, Normal VGA /boot/vmlinuz-2.6.31.8-0.1-xen: gzip compressed data, from Unix, last modified: Thu Dec 17 18:32:20 2009, max compression /boot/vmlinuz-2.6.31.9-0.0.0.3.3490791-default: Linux/x86 Kernel, Setup Version 0x20a, bzImage, Version 2.6.31.9, RO-rootFS, root_dev 0x809, swap_dev 0x3, Normal VGA /boot/vmlinuz-2.6.31.9-0.0.0.3.3490791-xen: gzip compressed data, from Unix, last modified: Tue Dec 29 08:20:57 2009, max compression
Is there a reason that the -default kernels are built as "bzImages", and the -xen kernels as "gzip compressed data"?
PVGRUB's apparently had some recent patches/issues re: bzImage, gzip, lzma compression etc; following those up of course.
This difference seems possibly relevant to the error above.
Any clarification is appreciated.
The bzImages are essentially self-executing compressed images. They consist of a binary blob and a decompressor that runs before transferring control to the real kernel. The blob is the ELF vmlinux processed via objcopy -O binary. It is _not_ a bzip-compressed kernel. The blob may be bzip compressed, but it's not required. It will be lzma, bzip2, or gzip, in that order of priority if enabled. The gzipped versions are the ELF vmlinux run through gzip. It needs an external agent to decompress and parse it before transferring control. As for the differences with pvgrub, I'm not familiar with it. - -Jeff - -- Jeff Mahoney SuSE Labs -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAktLwbsACgkQLPWxlyuTD7JA0QCgqd+uVxlBLX/Mg7mSKwTbUvvF 3GMAoKhywn1fUNApKntT+czG+FvLue4o =tZM2 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org