From: Rob Landley <rob@landley.net>
To: user-mode-linux-devel@lists.sourceforge.net
Subject: [uml-devel] Help? (Filesystem race condition in 2.6.13.2 in -skas0 and -tt mode.)
Date: Tue, 20 Sep 2005 15:24:40 -0500 [thread overview]
Message-ID: <200509201524.41199.rob@landley.net> (raw)
I have a system build that happens under UML. The build is a series of bash
scripts that compile and run a heavily modified Linux From Scratch system.
The previous version was working fine under 2.6.11 UML in -tt mode (with one
patch applied, the one to fix the permissions on block devices in hostfs).
I just upgraded the build to use the 2.6.13.2, and now I'm getting the build
breaking with random file not found errors. I've tried both -tt mode and
-skas0 mode, and it doesn't like either one.
It seems to be a filesystem problem. The filesystem it's using is an ext2
partition that lives on a loopback mounted file living in hostfs. Somewhere
along the way, random "file not found" errors are sneaking in, on files the
build created seconds earlier.
Here's the end of the last three build attempts. This is from re-running the
build with no changes, it dies in different places, but with the same _kind_
of error each time. The build process re-creates the loopback partition from
scratch each time (deletes the working directory with all the tempfiles in
it, then dd if=/dev/zero followed by mke2fs. This is hostfs mounted and then
loopback mounted.)
What info do you need to be able to reproduce this problem? (I'll happily
send you a tarball of my whole build, but it's 100 megs. The vast majority
of that being the source tarballs for linux tarball, gcc, and binutils....)
---------------------------------------
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/tools/sources/diffutils-2.8.1/ms'
make[1]: Leaving directory `/tools/sources/diffutils-2.8.1/ms'
Making install in src
make[1]: Entering directory `/tools/sources/diffutils-2.8.1/src'
make[2]: Entering directory `/tools/sources/diffutils-2.8.1/src'
/bin/sh ../config/mkinstalldirs /tools/bin
/tools/bin/install -c cmp /tools/bin/cmp
/tools/bin/install -c diff /tools/bin/diff
/tools/bin/install -c diff3 /tools/bin/diff3
/tools/bin/install -c sdiff /tools/bin/sdiff
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/tools/sources/diffutils-2.8.1/src'
make[1]: Leaving directory `/tools/sources/diffutils-2.8.1/src'
Making install in man
make[1]: Entering directory `/tools/sources/diffutils-2.8.1/man'
make[2]: Entering directory `/tools/sources/diffutils-2.8.1/man'
make[2]: Nothing to be done for `install-exec-am'.
/bin/sh ../config/mkinstalldirs /tools/man/man1
/tools/bin/install -c -m 644 ./cmp.1 /tools/man/man1/cmp.1
/tools/bin/install -c -m 644 ./diff.1 /tools/man/man1/diff.1
/tools/bin/install -c -m 644 ./diff3.1 /tools/man/man1/diff3.1
/tools/bin/install -c -m 644 ./sdiff.1 /tools/man/man1/sdiff.1
install: unable to open `/tools/man/man1/sdiff.1/sdiff.1': No such file or
directory
install: cannot change permissions of /tools/man/man1/sdiff.1/sdiff.1: No such
file or directory
install: cannot change ownership of /tools/man/man1/sdiff.1/sdiff.1: No such
file or directory
make[2]: *** [install-man1] Error 1
make[2]: Leaving directory `/tools/sources/diffutils-2.8.1/man'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/tools/sources/diffutils-2.8.1/man'
make: *** [install-recursive] Error 1
System halted.
=== Toolchain build script exiting.
bin/ln -f /usr/man/man3/uuid_generate.3 /usr/man/man3/uuid_generate_random.3
/bin/ln -f /usr/man/man3/uuid_generate.3 /usr/man/man3/uuid_generate_time.3
make[1]: Leaving directory `/var/tmp/e2fsprogs-build/lib/uuid'
making install in lib/blkid
make[1]: Entering directory `/var/tmp/e2fsprogs-build/lib/blkid'
../../../e2fsprogs-1.34/mkinstalldirs /lib \
/usr/lib
/bin/install -c libblkid.so.1.0 /lib/libblkid.so.1.0
strip --strip-debug \
/lib/libblkid.so.1.0
ln -s -f libblkid.so.1.0 /lib/libblkid.so.1
ln -s -f /lib/libblkid.so.1 \
/usr/lib/libblkid.so
/sbin/ldconfig
../../../e2fsprogs-1.34/mkinstalldirs /usr/lib \
/usr/include/blkid
mkdir /usr/include/blkid
/bin/install -c -m 644 libblkid.a /usr/lib/libblkid.a
/bin/chmod 644 /usr/lib/libblkid.a
ranlib /usr/lib/libblkid.a
/bin/chmod 444 /usr/lib/libblkid.a
set -e; for i in blkid.h; do \
/bin/install -c -m
644 ../../../e2fsprogs-1.34/lib/blkid/$i /usr/include/blkid/$i; \
done
install: unable to open `/usr/include/blkid/blkid.h/blkid.h': No such file or
directory
install: cannot change permissions of /usr/include/blkid/blkid.h/blkid.h: No
such file or directory
install: cannot change ownership of /usr/include/blkid/blkid.h/blkid.h: No
such file or directory
make[1]: *** [install] Error 1
make[1]: Leaving directory `/var/tmp/e2fsprogs-build/lib/blkid'
make: *** [install-libs-recursive] Error 1
Kernel panic - not syncing: Attempted to kill init!
=== Toolchain build script exiting.
make[2]: Leaving directory `/tools/sources/diffutils-2.8.1/lib'
make[1]: Leaving directory `/tools/sources/diffutils-2.8.1/lib'
Making install in m4
make[1]: Entering directory `/tools/sources/diffutils-2.8.1/m4'
make[2]: Entering directory `/tools/sources/diffutils-2.8.1/m4'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/tools/sources/diffutils-2.8.1/m4'
make[1]: Leaving directory `/tools/sources/diffutils-2.8.1/m4'
Making install in ms
make[1]: Entering directory `/tools/sources/diffutils-2.8.1/ms'
make[2]: Entering directory `/tools/sources/diffutils-2.8.1/ms'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/tools/sources/diffutils-2.8.1/ms'
make[1]: Leaving directory `/tools/sources/diffutils-2.8.1/ms'
Making install in src
make[1]: Entering directory `/tools/sources/diffutils-2.8.1/src'
make[2]: Entering directory `/tools/sources/diffutils-2.8.1/src'
/bin/sh ../config/mkinstalldirs /tools/bin
/tools/bin/install -c cmp /tools/bin/cmp
/tools/bin/install -c diff /tools/bin/diff
/tools/bin/install -c diff3 /tools/bin/diff3
/tools/bin/install -c sdiff /tools/bin/sdiff
install: unable to open `/tools/bin/sdiff/sdiff': No such file or directory
install: cannot change permissions of /tools/bin/sdiff/sdiff: No such file or
directory
install: cannot change ownership of /tools/bin/sdiff/sdiff: No such file or
directory
make[2]: *** [install-binPROGRAMS] Error 1
make[2]: Leaving directory `/tools/sources/diffutils-2.8.1/src'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/tools/sources/diffutils-2.8.1/src'
make: *** [install-recursive] Error 1
System halted.
=== Toolchain build script exiting.
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
next reply other threads:[~2005-09-20 20:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-20 20:24 Rob Landley [this message]
2005-10-08 22:00 ` [uml-devel] Help? (Filesystem race condition in 2.6.13.2 in -skas0 and -tt mode.) Rob Landley
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=200509201524.41199.rob@landley.net \
--to=rob@landley.net \
--cc=user-mode-linux-devel@lists.sourceforge.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 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.