WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] New kernel won't boot

To: "Gregory Newby" <newby@xxxxxxxx>
Subject: Re: [Xen-devel] New kernel won't boot
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Mon, 03 Nov 2003 22:59:29 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 03 Nov 2003 23:00:29 +0000
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Mon, 03 Nov 2003 13:46:36 -0900." <20031103224636.GA16850@xxxxxxxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> I tried it with the 1.0 build from the CD image,
> and from last Thursday's "unstable" download via BitKeeper.
> Both yielded essentially the same results.

What I mean is ---- it's the Xen image that you're trying and that is
failing. You're not trying to boot the Xenolinux image directly from
GRUB, right? That wouldn't work :-)
 
> Correct.  The Linux "file" command thinks it's data.
> But "file vmlinux" doesn't recognize it as a Linux kernel,
> while "file /boot/vmlinuz" (my current non-Xen kernel) does.
> 
> So, the problem might be happening before the Multiboot
> bytes are added (in arch/xeno/boot during "make bzImage").

Are we talking about Xen, or Xenolinux (the port of Linux to run on
top of Xen)?

Xen is a Multiboot OS. It has 12 bytes of Multiboot header that must
appear in the first 8192 bytes of the uncompressed image (GRUB will
uncompress the image before searching for the Multiboot header).

Xenolinux is /not/ a multiboot OS. In fact, it's not a normal Linux
image either. It's just a raw image file with an 8-byte custom header
on the front.

GRUB will not recognise Xenolinux as a valid kernel image. This is
because Xenolinux can only be booted via Xen.

GRUB /should/ recognise Xen, as it should find the magic Multiboot
header at a multiple-of-4 offset somewhere in the first 8192 bytes.

> > If it still fails then we might be able to take a look at it if you
> > can make your image available to us (maybe put it on a web server and
> > send us a URL?). I think someone else reported a similar problem a
> > while ago. Perhaps our build process is broken for certain versions of
> > gcc and/or binutils. Unfortunately it's not possible to get more
> > useful diagnostics out of GRUB without adding tracing to the source
> > code and recompiling it.
> 
> I put the whole package, new & old & copies of everything
> in /boot at:
>       http://peabody.arsc.edu/xen
> 
> One of the (many) images I've tried is:
>       http://peabody.arsc.edu/xen/boot/xenimage.gz

I'll take a quick look...

 -- Keir


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel