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] problem w/ mbootpack

To: Roee Sadeh <roees@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] problem w/ mbootpack
From: Tim Deegan <Tim.Deegan@xxxxxxxxxxxx>
Date: Tue, 29 Mar 2005 08:53:24 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 29 Mar 2005 09:04:17 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <D4F8F0B3820E754C887699BEF26A8940658E64@xxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <D4F8F0B3820E754C887699BEF26A8940658E64@xxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.2i
On Sun, Mar 27, 2005 at 05:32:29PM +0200, Roee Sadeh wrote:
> I'm trying to load a xen0 linux using PXE boot (pxelinux).
> For this I'm trying to use mbootpack to pack xen and the xen0 images together.
> My problem is that mbootpack exits w/ error and the output file is 4096 bytes 
> in size.
>  
> My cmdline is:
> mbootpack -o bzImage -m ./vmlinuz-2.6.11-xen0 ./xen-syms

Can you try:

- un-gzipping the dom0 kernel before packing it?  mbootpack doesn't
  (yet) have transparent unzipping of its input files.

- Using 'xen' instead of 'xen-syms' (again, unzipping it first)?  

What's happening is that xen-syms wants to be loaded *very* high in
memory, and mbootpack expects to be loading it at around 1MB.  The error
message is mbootpack trying to seek to nearly 4GB into the output file.

It's not a very helpful error message; I've put "sane error messages for
insane load addresses" down on the todo-list, just after ".gz support". :)

xen-syms:                     Crazy load address  vvvvvvvvvv
Program Header:                                   ||||||||||
    LOAD off    0x00000080 vaddr 0xfc500000 paddr 0xfc500000 align 2**6
         filesz 0x0003ef3c memsz 0x00074928 flags rwx


xen:                        Correct load address  vvvvvvvvvv
Program Header:                                   ||||||||||
    LOAD off    0x00000080 vaddr 0x00100000 paddr 0x00100000 align 2**6
         filesz 0x0003ef3c memsz 0x00075000 flags rwx


Tim.

-- 
Tim Deegan                           (My opinions, not the University's)
Systems Research Group
University of Cambridge Computer Laboratory

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>