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] lzma and 4.0 and "Internal errror', 'xc_dom_do_gunzip: i

To: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>, "Pasi Kärkkäinen" <pasik@xxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] lzma and 4.0 and "Internal errror', 'xc_dom_do_gunzip: inflate failed (rc=-5)"
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Mon, 10 May 2010 19:38:14 +0100
Cc:
Delivery-date: Mon, 10 May 2010 11:39:23 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <b5332d8e-cb60-4f74-980a-eb6704edfc6d@default>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcrwbPrWQvj8bwZGRMipuu2oWOF7+gAAvgEE
Thread-topic: [Xen-devel] lzma and 4.0 and "Internal errror', 'xc_dom_do_gunzip: inflate failed (rc=-5)"
User-agent: Microsoft-Entourage/12.24.0.100205
On 10/05/2010 19:15, "Dan Magenheimer" <dan.magenheimer@xxxxxxxxxx> wrote:

> I'm trying to load a PV domain with a kernel for which
> the initramfs (but not the kernel) is compressed with
> lzma, running a recent xen-4.0-testing and got:
> 
> "'Internal error', 'xc_dom_do_gunzip: inflate failed (rc=-5)'"
> 
> I discovered that, although the 4.0 wiki says that xz-devel
> is required to be installed, the dependency checking tools
> don't enforce it and the build silently ignores it if it
> is missing.  So I installed the xz rpm's, did a make clean
> in tools, then make and make install.  Still same problem.

Did xc_dom_bzimageloader.o really get built with -DHAVE_LZMA in CFLAGS? If
so then LZMA support should be built in and it should be possible to inflate
the initrd. You'll have to add extra tracing in that case to find out where
the error is coming from.

 -- Keir



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