Loïc Minier | 9 Mar 16:39 2010

Trouble with vmlinuz (bzImage) but works with vmlinux (uncompressed)

        Hey folks

 I'm testing kexec on ARM under qemu-system-arm with a mach-versatile
 kernel (lightly patched).  kexec only works if I pass a vmlinux, but
 hangs if I pass a vmlinuz.  This sounds like an address computation
 issue to me.

 It would seem to me there are two issues here:
 - kexec-tools should work in both cases, perhaps the address
   computation is wrong when using a bzImage?
 - kexec-tools should uncompress the vmlinuz kernel into a vmlinux one
   before loading it as to allow skipping the "Uncompressing Linux..."
   step at kexec -e time -- would make the actual kernel switch a faster

 What do you folks think?

 If people want to reproduce, kernel can be grabbed from:
 you'll need some rootfs such as an Ubuntu lucid (10.04) armel
 userspace.  I'm using this kernel to start qemu and am converting it to
 vmlinux with the attached script.

 Instructions to reproduce are available in the Ubuntu bug where we
 track this at:

    Thanks for your insights!

PS: is there a bug tracker for kexec?  I didn't find it in
(Continue reading)