From: cyberhawk001@gmail.com
To: xen-devel@lists.xen.org
Subject: Re: fsimage - no such file
Date: Sat, 23 Jun 2012 16:22:29 -0400 [thread overview]
Message-ID: <4FE62585.10600@gmail.com> (raw)
In-Reply-To: <1340123764.24176.50.camel@zakaz.uk.xensource.com>
On 6/19/2012 12:36 PM, Ian Campbell wrote:
> On Tue, 2012-06-19 at 17:10 +0100, Matt Wilson wrote:
>> 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
> Oh bloody hell, I hadn't spotted that.
>
> We should definitely be setting FSIMAGE_FSDIR to something sane based on
> LIBDIR and not letting all sorts of weird heuristics kick in.
>
> Ian.
>
>> #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
SOOO, just wondering, in the above patch, should these:
-LIBLEAFDIR_x86_64 ?= lib64
+LIBLEAFDIR_x86_64 ?= lib
be also changed if installing the latest Xen 4.2-unstable on like Debian
Wheezy? OR is this something that is not important that important?
Just curious since even in the latest Xen 4.2-unstable rev-25494, it
still has the
LIBLEAFDIR_x86_32 = lib
LIBLEAFDIR_x86_64 ?= lib64
in the StdGNU.mk file.
Thanks
next prev parent reply other threads:[~2012-06-23 20:22 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
2012-06-19 16:36 ` Ian Campbell
2012-06-23 20:22 ` cyberhawk001 [this message]
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=4FE62585.10600@gmail.com \
--to=cyberhawk001@gmail.com \
--cc=xen-devel@lists.xen.org \
/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.