From: Dan Magenheimer Subject: RE: lzma and 4.0 and "Internal errror', 'xc_dom_do_gunzip: inflate failed (rc=-5)" Date: Mon, 10 May 2010 12:34:52 -0700 (PDT) Message-ID: <7cd84961-f215-49eb-8772-8d7966a78575@default> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser , =?UTF-8?B?IlBhc2kgS8Okcmtrw6RpbmVuIg==?= , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Thanks for the quick replies... > Hmm.. you could use ldd to check if libxenguest.so is linked against > libxz? Assuming you meant "linked against" liblzma, yes it is. > Also there might be some debug messages in /var/log/xen/* No, nothing unusual. The inflate just seems to fail with -5 (which I think means Z_BUF_ERROR). > Did xc_dom_bzimageloader.o really get built with -DHAVE_LZMA in CFLAGS? Yep, checked with "strings". > 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. Looks like debugging time... will followup if/when I find anything out. > -----Original Message----- > From: Keir Fraser [mailto:keir.fraser@eu.citrix.com] > Sent: Monday, May 10, 2010 12:38 PM > To: Dan Magenheimer; Pasi K=E4rkk=E4inen; xen-devel@lists.xensource.com > Subject: Re: [Xen-devel] lzma and 4.0 and "Internal errror', > 'xc_dom_do_gunzip: inflate failed (rc=3D-5)" >=20 > On 10/05/2010 19:15, "Dan Magenheimer" > wrote: >=20 > > 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=3D-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. >=20 > 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. >=20 > -- Keir >=20 >=20