qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-discuss] virtfs: mapped mode fails `ldconfig`, all modes fail `loc


From: C Anthony Risinger
Subject: [Qemu-discuss] virtfs: mapped mode fails `ldconfig`, all modes fail `locale-gen`
Date: Wed, 11 Jan 2012 23:05:12 -0600

can someone please confirm receipt of this message?  everything i send
to this list (previously) i get errors back from majordomo, but i
thought it was a mailman list ...

i wrote a detailed description of the issue here:

http://lists.nongnu.org/archive/html/qemu-discuss/2011-12/msg00018.html

... but the varying inode stuff was incorrect (at one point i
generated the cache file from the host), but the duplicate inode
problem stands

here is the 10 second recap ...

# `ldconfig`
Aborted.

FAILURE: unpriv, mapped
FAILURE: priv, mapped
SUCCESS: priv, passthru
(unpriv, passthru not acceptable)

... all FAILs due to `ldconfig` somehow receiving a library twice (see
GDB session in original message).

# localedef -i en_US -c -f ISO-8859-1 -A /usr/share/locale/locale.alias en_US
cannot map archive header: Invalid argument

FAILURE: *any virtfs configuration*
SUCCESS: [mount/bind a tmpfs to /usr/lib/locale/]

... all FAIL mmap() call:

open("/usr/lib/locale/locale-archive.7YgBdl", O_RDWR|O_CREAT|O_EXCL, 0600) = 3
mmap(NULL, 536870912, PROT_NONE, MAP_SHARED, 3, 0) = -1 EINVAL
(Invalid argument)
mmap(NULL, 103860, PROT_READ|PROT_WRITE, MAP_SHARED, 3, 0) = -1 EINVAL
(Invalid argument)
unlink("/usr/lib/locale/locale-archive.7YgBdl") = 0

... which succeed on tmpfs:

open("/usr/lib/locale/locale-archive.Q9trL0", O_RDWR|O_CREAT|O_EXCL, 0600) = 3
mmap(NULL, 536870912, PROT_NONE, MAP_SHARED, 3, 0) = 0x7f7271cc8000
mmap(0x7f7271cc8000, 103860, PROT_READ|PROT_WRITE,
MAP_SHARED|MAP_FIXED, 3, 0) = 0x7f7271cc8000
link("/usr/lib/locale/locale-archive.Q9trL0",
"/usr/lib/locale/locale-archive") = 0

ideas?  i'm running the latest kernel 3.1 kernel (Archlinux, soon to
be 3.2) on x86_64, and qemu-kvm 1.0.  guests use virtfs as rootfs,

-- 

C Anthony



reply via email to

[Prev in Thread] Current Thread [Next in Thread]