From: bugzilla at busybox.net <bugzilla@busybox.net>
To: buildroot@busybox.net
Subject: [Buildroot] [Bug 10141] Squashfs extended attribute failures
Date: Tue, 08 Aug 2017 20:33:49 +0000 [thread overview]
Message-ID: <bug-10141-163-E5PqiZMv5g@https.bugs.busybox.net/> (raw)
In-Reply-To: <bug-10141-163@https.bugs.busybox.net/>
https://bugs.busybox.net/show_bug.cgi?id=10141
Yann E. MORIN <yann.morin.1998@free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at buildroot.uclibc |yann.morin.1998 at free.fr
|.org |
Status|NEW |ASSIGNED
--- Comment #5 from Yann E. MORIN <yann.morin.1998@free.fr> ---
Clayton, All,
So I've made a little Makefile to help investigate the issue. Usign a
Makefile is definitely not required, but it help with parallel stuff,
just to create the files (note that it takes quite a lot of space on
the disk, more than 4GiB):
MKSQUASHFS ?= mksquashfs
SQSH_JOBS ?= 512
FILES := $(patsubst %,toto/%,$(shell seq 1 1024))
DIRS := $(patsubst %,titi/%,$(shell seq 1 1024))
all: titi.sqsh
rules: $(FILES)
titi.sqsh: $(DIRS)
$(MKSQUASHFS) titi $(@) -noappend -processors $(SQSH_JOBS) >/dev/null
toto/%:
@mkdir -p toto
@dd if=/dev/urandom of=$(@) bs=4096 count=1 2>/dev/null
$(DIRS): $(FILES)
titi/%:
@mkdir -p titi
@cp -a toto $(@)
@chattr -R +A $(@)
And I call it like that (where 'O' is my out-of-tree build directory):
~/dev/O/host/bin/fakeroot make -j 1000
MKSQUASHFS=~/dev/O/host/bin/mksquashfs
It is using the fakeroot and the mksquashfs as built by Buildroot, and
I'm able to reproduce the issue; the failing files change with each run,
due to scheduling ordering, but the number of failures is roughly always
the same, around 10 failures for each runs, sometimes one or two less,
sometimes a few more, but rarely above 12 or under 9.
llistxattr for titi/214/419 failed in read_attrs, because Unknown error
-193619184. Ignoring
llistxattr for titi/321/41 failed in read_attrs, because Unknown error
-193619184. Ignoring
llistxattr for titi/381/586 failed in read_attrs, because Unknown error
-193619184. Ignoring
llistxattr for titi/461/579 failed in read_attrs, because Unknown error
-193619184. Ignoring
llistxattr for titi/491/992 failed in read_attrs, because Unknown error
-193619184. Ignoring
llistxattr for titi/558/989 failed in read_attrs, because Unknown error
-193619184. Ignoring
llistxattr for titi/608/1022 failed in read_attrs, because Unknown error
-193619184. Ignoring
llistxattr for titi/769/843 failed in read_attrs, because Unknown error
-193619184. Ignoring
llistxattr for titi/816/899 failed in read_attrs, because Unknown error
-193619184. Ignoring
llistxattr for titi/832/714 failed in read_attrs, because Unknown error
-193619184. Ignoring
| fakeroot |
| Buildroot | Ubuntu | no fakeroot
---------------------+----------------------------------
mksquashfs Buildroot | KO | KO | OK
mksquashfs Ubuntu | KO | KO | OK
So it really is fakeroot that is causing the issues... :-/
No idea how to investigate further for now...
Note: I was never able to run with more than about -processors 1019, or
mksquashfs would fail at startup. 512 is anyway way above the 8 CPUs I
have... Yet, it's enough to cause the failures, so job done.
--
You are receiving this mail because:
You are on the CC list for the bug.
next prev parent reply other threads:[~2017-08-08 20:33 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-02 15:01 [Buildroot] [Bug 10141] New: Squashfs extended attribute failures bugzilla at busybox.net
2017-08-02 15:06 ` [Buildroot] [Bug 10141] " bugzilla at busybox.net
2017-08-02 20:56 ` bugzilla at busybox.net
2017-08-02 21:26 ` bugzilla at busybox.net
2017-08-03 13:54 ` bugzilla at busybox.net
2017-08-08 20:33 ` bugzilla at busybox.net [this message]
2017-08-13 21:35 ` bugzilla at busybox.net
2017-08-13 21:50 ` bugzilla at busybox.net
2017-08-15 16:19 ` bugzilla at busybox.net
2018-02-02 21:39 ` bugzilla at busybox.net
2018-02-03 13:56 ` bugzilla at busybox.net
2018-02-05 17:35 ` bugzilla at busybox.net
2018-02-05 18:10 ` bugzilla at busybox.net
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=bug-10141-163-E5PqiZMv5g@https.bugs.busybox.net/ \
--to=bugzilla@busybox.net \
--cc=buildroot@busybox.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox