public inbox for kexec@lists.infradead.org
 help / color / mirror / Atom feed
From: Eric Cooper <ecc@cmu.edu>
To: kexec@lists.infradead.org
Subject: kexec problems on kirkwood
Date: Tue, 8 Feb 2011 15:35:09 -0500	[thread overview]
Message-ID: <20110208203509.GA11748@localhost> (raw)

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

_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

                 reply	other threads:[~2011-02-08 20:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110208203509.GA11748@localhost \
    --to=ecc@cmu.edu \
    --cc=kexec@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox