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] HVM direct boot broken in xen-unstable

To: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>, "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Subject: RE: [Xen-devel] HVM direct boot broken in xen-unstable
From: "Byrne, John (HP Labs)" <john.l.byrne@xxxxxx>
Date: Tue, 22 Jul 2008 18:57:20 +0000
Accept-language: en-US
Acceptlanguage: en-US
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 22 Jul 2008 11:58:47 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <18565.62493.823895.709730@xxxxxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <469F2699A483D44BA6D2B311B1089D3A39A8FE2696@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20080719083549.GA32411@xxxxxxxxxx> <18564.44873.954643.912561@xxxxxxxxxxxxxxxxxxxxxxxx> <20080722110057.GF5192@xxxxxxxxxx> <20080721155133.GP8430@xxxxxxxxxx> <18565.62493.823895.709730@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcjsCpGGVDvRqpLHQ660YfpUqri38gAIY0Pw
Thread-topic: [Xen-devel] HVM direct boot broken in xen-unstable
There still seems to be an issue somewhere.

If I boot a "router" kernel with a combined kernel/initramfs (no ramdisk line), 
it successfully boots.
When I boot a rhel5 kernel, the kernel hangs at "checking if image is 
initramfs" saying it has bad gzip magic numbers.

John

> -----Original Message-----
> From: Ian Jackson [mailto:Ian.Jackson@xxxxxxxxxxxxx]
> Sent: Tuesday, July 22, 2008 7:52 AM
> To: Daniel P. Berrange
> Cc: Byrne, John (HP Labs); xen-devel@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Xen-devel] HVM direct boot broken in xen-unstable
>
> Daniel P. Berrange writes ("Re: [Xen-devel] HVM direct boot broken in
> xen-unstable"):
> > It works in the same way as booting PV off kernel+initrd - basically
> > take a HVM guest config file and add [...]
>
> Thanks.  With that I was able to reproduce the problem and I think I
> have now fixed it in this changeset:
>
>     commit a7104be2d6a521dfdcf1ce9f82ae40525e223775
>     Author: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
>     Date:   Tue Jul 22 15:49:52 2008 +0100
>
>         Fix HVM direct kernel booting.
>
> This is available now (untested other than ad-hoc by me) at
>    http://www.chiark.greenend.org.uk/~ijackson/qemu-xen.git
> and will make it to the usual locations on xenbits in due course.
>
> > I think I've identified the problem. In the load_linux() method, the
> > line where we copy the header into guest memory:
> > [etc]
>
> This was indeed a problem but not the only one.
>
> Ian.

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