From: Matt Wilson <msw@amazon.com>
To: Mohammad Hedayati <hedayati.mo@gmail.com>
Cc: Thanos Makatos <thanos.makatos@citrix.com>,
"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
Ian Campbell <Ian.Campbell@citrix.com>,
Roger Pau Monne <roger.pau@citrix.com>
Subject: Re: fsimage - no such file
Date: Tue, 19 Jun 2012 09:10:39 -0700 [thread overview]
Message-ID: <20120619161039.GB4296@US-SEA-R8XVZTX> (raw)
In-Reply-To: <CABA5EEtD32O+M2yA=WiHuGvBv0oF=VRd7WnisvpnHuau40Qj3Q@mail.gmail.com>
On Tue, Jun 19, 2012 at 04:19:27AM -0700, Mohammad Hedayati wrote:
> > # 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.
libfsimage is going to blindly look in /usr/lib64 on non-Itanium
64-bit Linux platforms. See tools/libfsimage/common/fsimage_plugin.c:134
#if defined(FSIMAGE_FSDIR)
if (fsdir == NULL)
fsdir = FSIMAGE_FSDIR;
#elif defined(__sun__)
if (fsdir == NULL)
fsdir = "/usr/lib/fs";
if (sizeof(void *) == 8)
isadir = "64/";
#elif defined(__ia64__)
if (fsdir == NULL)
fsdir = "/usr/lib/fs";
#else
if (fsdir == NULL) {
if (sizeof(void *) == 8)
fsdir = "/usr/lib64/fs";
else
fsdir = "/usr/lib/fs";
}
#endif
Matt
next prev parent reply other threads:[~2012-06-19 16:10 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-18 22:24 fsimage - no such file Mohammad Hedayati
2012-06-19 8:35 ` Thanos Makatos
2012-06-19 10:57 ` Ian Campbell
2012-06-19 11:19 ` Mohammad Hedayati
2012-06-19 16:10 ` Matt Wilson [this message]
2012-06-19 16:36 ` Ian Campbell
2012-06-23 20:22 ` cyberhawk001
2012-06-23 20:56 ` Matt Wilson
2012-06-19 15:58 ` Matt Wilson
2012-06-19 16:13 ` Ian Campbell
2012-06-19 16:33 ` Ian Campbell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120619161039.GB4296@US-SEA-R8XVZTX \
--to=msw@amazon.com \
--cc=Ian.Campbell@citrix.com \
--cc=hedayati.mo@gmail.com \
--cc=roger.pau@citrix.com \
--cc=thanos.makatos@citrix.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.