bzip2-compressed bzimage support?
joey+lists at kidfixit.com
Wed Jan 20 11:00:10 EST 2010
Perhaps I spoke too soon:
xen2:~# grep -rn KEXEC /boot/debian/config-2.6.32-trunk-amd64
380:# CONFIG_KEXEC_JUMP is not set
I figure that there should be an ELF hint indicating if a kernel is
kexec-able so that kexec-tools can emit a specific (and useful) error
message if given an unsuitable kernel. But this doesn't appear to be an
unsuitable kernel based on the .config.
And just for good measure, it also appears to be a plain gzip bzImage.
xen2:~# grep -rn -E 'BZIP|GZIP|LZMA' /boot/debian/config-2.6.32-trunk-amd64
72:# CONFIG_KERNEL_BZIP2 is not set
73:# CONFIG_KERNEL_LZMA is not set
Now, if it doesn't matter how the bzImage is compressed, then what are the
recent lzma commits to kexec-tools.git for?
Thanks for reading
Joey Korkames writes:
> Gotcha, kexec resuses the bzImage's decompression stub. Now I have another
> reason to dislike the Debian.org kernels. I didn't know the
> _destination_ kernel had to have the config option as well.
More information about the kexec