kexec problems on kirkwood
Eric Cooper
ecc at cmu.edu
Tue Feb 8 15:35:09 EST 2011
I've been trying to use kexec on a Seagate DockStar (kirkwood-based).
Using a minimal kernel with a built-in initramfs, I've been able to
successfully kexec a ~1M kernel with a ~2.7M initrd. But if I then
use *that* kernel to try to kexec itself (for example, using "reboot"
when the kexec-tools package is installed), it fails during the
"Uncompressing the kernel" code.
It fails with both gzip and lzma compressed images. The precise
failure seems to depend on the size of the kernel -- sometimes it
complains about a corrupt image, sometimes it just hangs. I added
some print statements to the decompress-inflate code, and I've seen
all sorts of error messages.
I then found the same failure-during-decompression occurs if I try to
use the minimal kernel to kexec itself, or the bigger kernel to kexec
anything.
So the successful kexec seems to be a lucky fluke, and there's still
something not set up correctly in the post-kexec environment.
Any suggestions on where to look or how to debug this would be very
welcome.
--
Eric Cooper e c c @ c m u . e d u
More information about the kexec
mailing list