[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] fsimage - no such file
On Tue, Jun 19, 2012 at 2:27 PM, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote: > On Tue, 2012-06-19 at 09:35 +0100, Thanos Makatos wrote: >> I have the same problem on xen-unstable 54c8c9eaee92+. I think >> libfsimage comes with xen (in my repo it's under ./tools/libfsimage). >> I've investigated a bit and found that in my occasion libfsimage tries >> to access directory /usr/lib64/fs which doesn't exist, >> whereas /usr/lib/fs does. I linked /usr/lib64/fs to /usr/lib/fs but >> then I got other problems, don't remember what. I don't know if this >> has to do with the fact that my dom0 is 64bit (Debian unstable), or >> that the domU is 64bit (Debian unstable again), or both. > > Aha I'd been puzzling over why people had been seeing this but I'm not! > > This very likely is to do with Debian and Ubuntu's transition to > "multiarch" which has necessitated removing the old compatibility > symlink /usr/lib64 -> /usr/lib. Linking /usr/lib64/fs to /usr/lib/fs solved the problem for me. I have patched StdGNU.mk so couldn't think of this to be the cause. > lib64 is a RPMism which doesn't really apply to Debian and derivatives > and therefore you need to tweak your Xen config before building. I use > the following local configuration patch (I should probably do the > equivalent in .config): > > # HG changeset patch > # User Ian Campbell <ian.campbell@xxxxxxxxxx> > # Date 1339576073 -3600 > # Node ID 6eabee6807b48c72bcc35a28170f0729500def85 > # Parent Â80c0677f0f8370a4542aab81ab93380b0dab25db > imported patch debian-lib-dir.patch > > diff -r 80c0677f0f83 -r 6eabee6807b4 config/StdGNU.mk > --- a/config/StdGNU.mk ÂWed Jun 13 09:27:53 2012 +0100 > +++ b/config/StdGNU.mk ÂWed Jun 13 09:27:53 2012 +0100 > @@ -34,7 +34,7 @@ BINDIR = $(PREFIX)/bin > ÂINCLUDEDIR = $(PREFIX)/include > ÂLIBLEAFDIR = lib > ÂLIBLEAFDIR_x86_32 = lib > -LIBLEAFDIR_x86_64 ?= lib64 > +LIBLEAFDIR_x86_64 ?= lib > ÂLIBDIR = $(PREFIX)/$(LIBLEAFDIR) > ÂLIBDIR_x86_32 = $(PREFIX)/$(LIBLEAFDIR_x86_32) > ÂLIBDIR_x86_64 = $(PREFIX)/$(LIBLEAFDIR_x86_64) > > Can you try a fresh build with this applied and see if that helps. I have applied this patch. I think libfsimage is somehow not being affected with this. Yet, linking /usr/lib64/fs -> /usr/lib/fs solves the problem. > > If it does then I shall update > http://wiki.xen.org/wiki/Compiling_Xen_From_Source with this > information! > > Roger -- is there any way we could automate this via autoconf for 4.2? > > Ian. > _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |