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] Invalid or unsupported executable format, or is it a rei

To: "Filip Sergeys" <filip.sergeys@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Invalid or unsupported executable format, or is it a reiserfs problem?
From: Steven Hand <Steven.Hand@xxxxxxxxxxxx>
Date: Thu, 17 Feb 2005 13:56:31 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 17 Feb 2005 13:57:29 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: Your message of "17 Feb 2005 14:41:26 +0100." <1108647686.15238.116.camel@xxxxxxxxxxxxxxxxxxxxx>
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
> Our newly build xen kernel does not boot. The error message is : Invalid
> or unsupported executable format. 
> 
> I have build xen from the xen-2.0.4 source (make world, make install) on
> a debian sarge system. 
> I have not changed any of the kernel configurations, I did make an
> initrd image. 
> The entry in my menu.lst is : 
> 
> title           Debian GNU/Linux, kernel 2.6.10-xen0 
> root            (hd0,0) # I also tried without this line. 
> kernel          /boot/xen.gz dom0_mem=64000 
> module          /boot/vmlinuz-2.6.10-xen0 root=/dev/hda1 ro 
> module          /boot/initrd.img-2.6.10-xen0 # Also tried without this
> line 
> 
> The server's / (/boot) partition is reiserfs. I wonder if this is the
> problem? I found messages saying that it doesn't work with reiserfs and
> others that say it should work. What is the final answer? 
> Looking in the kernel config file: reiserfs is build into the kernel,
> not as a module. 

What does `file /boot/xen.gz' say? 
What does `cat /boot/xen.gz | gunzip -c | file -` say? 

> As a side note: the standard debian 2.6.8-2 kernel works perfectly. 
> 
> == from the grub manual == 
> Invalid or unsupported executable format: 
> This error is returned if the kernel image being loaded is not
> recognized as 
> Multiboot or one of the supported native formats (Linux zImage or
> bzImage, 
> FreeBSD, or NetBSD). 
> == end == 
> since xen is multiboot and I would be surprised that the xen.gz kernel
> image file is not in native format; I have a strong feeling that this
> error message is not giving the root cause. 

You may well be right; we've not used reiserfs extensively and so 
it is possible some weird condition is being triggered. That said 
I believe some people have reported happiness with reiserfs. 

Can you reproduce the error with just xen (i.e. no xenlinux and
no initrd and hence no "module" lines at all)? 


cheers,

S.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel