mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: kexec -l ... --ramdisk=<blah>
       [not found] <200407210653.i6L6rXsd022758@nlp0.cs.usyd.edu.au>
@ 2004-07-21 18:49 ` Eric W. Biederman
  0 siblings, 0 replies; only message in thread
From: Eric W. Biederman @ 2004-07-21 18:49 UTC (permalink / raw)
  To: Bruce Janson; +Cc: rddunlap, linux-kernel


bruce@it.usyd.edu.au (Bruce Janson) writes:

> i Eric, Randy,
>     Thanks for kexec.  It seems to mostly work well, and is an
> improvement on the other contenders (2-kernel monte, bootimg and lobos).

Thanks.  I am bouncing this to lkml since this at the moment does not
appear to be a kexec issue.

I just checked and initial ramdisks work.

The kernel messages I see look like:
> checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
> Freeing initrd memory: 1503k freed


>     I am trying to use kexec's "--ramdisk=..." facility.  Both
> loader and loadee kernels are Linux 2.6.7.  The new kernel loads and
> runs successfully until it tries to mount its root file system.
> Then it fails with this:
> 
>   RAMDISK: Couldn't find valid RAM disk image starting at 0.

That message is because of your root=/dev/ram command line,
and really has nothing to do with your initial ramdisk.
 
>     I believe that the ramdisk image that I supply (to kexec)
> is a well-formed ext2 file system image.  Just for grins I also tried
> a copy of a RedHat 9.0 /boot/initrd* from one of our servers but it
> produced the same failure and message.

Perhaps you did not compile in initrd support?
 
>     The failure message (from .../linux/init/do_mounts_rd.c:130)
> suggests that the booted kernel has not found a valid ext2 superblock
> at the expected ramdisk location.  As I trust the format of the
> ramdisk image I now suspect that the ramdisk location may be wrong.

Unless you have gotten quite creative I doubt it.  Looking at
all of the kernel messages would have been more interesting.

> Any suggestions that you can offer would be appreciated.

See above.

Eric

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-07-21 18:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <200407210653.i6L6rXsd022758@nlp0.cs.usyd.edu.au>
2004-07-21 18:49 ` kexec -l ... --ramdisk=<blah> Eric W. Biederman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®