-----BEGIN PGP SIGNED MESSAGE-----
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
file `ls /boot/vmlinuz-2*`
/boot/vmlinuz-184.108.40.206-0.1-default: Linux/x86 Kernel,
Setup Version 0x20a, bzImage, Version 220.127.116.11, RO-rootFS, root_dev
0x301, swap_dev 0x3, Normal VGA
/boot/vmlinuz-18.104.22.168-0.1-xen: gzip compressed data,
from Unix, last modified: Thu Dec 17 18:32:20 2009, max compression
/boot/vmlinuz-22.214.171.124-0.0.0.3.3490791-default: Linux/x86 Kernel,
Setup Version 0x20a, bzImage, Version 126.96.36.199, RO-rootFS, root_dev
0x809, swap_dev 0x3, Normal VGA
/boot/vmlinuz-188.8.131.52-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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
To unsubscribe, e-mail: opensuse-kernel+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-kernel+help(a)opensuse.org