Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Sep 2012 17:22:35 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        bf1783@gmail.com
Cc:        freebsd-fs@freebsd.org
Subject:   Re: Problems after recent nullfs,vfs changes in 10.0-CURRENT
Message-ID:  <20120926142235.GN35915@deviant.kiev.zoral.com.ua>
In-Reply-To: <CAGFTUwNRRSQbLn=Z9BSKz5JKsasQrRhFm9e6vDZG1-F5%2BFDxyA@mail.gmail.com>
References:  <CAGFTUwMVAmoN49u1bT_8LuxKo6JKrB6shbw773MpmJ5i7q=Qeg@mail.gmail.com> <20120917121925.GQ37286@deviant.kiev.zoral.com.ua> <20120917183654.GA13273@x2.osted.lan> <20120918084924.GY37286@deviant.kiev.zoral.com.ua> <CAGFTUwNP9qB1D%2B1E6Pw_ud1ESomcDs2bAOY9c_VRYLZ5AiF%2B5g@mail.gmail.com> <CAGFTUwNRRSQbLn=Z9BSKz5JKsasQrRhFm9e6vDZG1-F5%2BFDxyA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--CQDko/0aYvuiEzgn
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Sep 26, 2012 at 07:38:42AM -0400, b. f. wrote:
> After further experiments, it appears that there are still some
> problems with tmpfs.13.patch and the recent vfs/nullfs changes.  If I
> use:
>=20
> sysctl debug.iosize_max_clamp=3D0
>=20
> I observe build failures with some ports, when various utilities fail
> with EIO.  For example textproc/libxml2:
>=20
> "...
> /bin/sh ../../libtool --tag=3DCC   --mode=3Dlink cc  -O2 -pipe
> -fno-strict-aliasing -std=3Dgnu89 -pedantic -W -Wformat -Wunused
> -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat
> -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow
> -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return
> -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline
> -Wredundant-decls  -L/usr/local/lib -pthread -o tree1 tree1.o
> ../../libxml2.la  -lz -L/usr/local/lib -liconv -lm
> eval: printf: Input/output error
> ../../libtool: printf: Input/output error
> ../../libtool: printf: Input/output error
> ../../libtool: printf: Input/output error
> ../../libtool: printf: Input/output error
> ../../libtool: printf: Input/output error
> ../../libtool: printf: Input/output error
> ../../libtool: printf: Input/output error
> ../../libtool: printf: Input/output error
> ../../libtool: printf: Input/output error
> ../../libtool: printf: Input/output error
> ../../libtool: printf: Input/output error
> ../../libtool: printf: Input/output error
> ../../libtool: printf: Input/output error
> ../../libtool: printf: Input/output error
> eval: printf: Input/output error
> ../../libtool: printf: Input/output error
> ../../libtool: printf: Input/output error
> ../../libtool: printf: Input/output error
> ../../libtool: printf: Input/output error
> ../../libtool: printf: Input/output error
> ../../libtool: printf: Input/output error
> ../../libtool: printf: Input/output error
> ../../libtool: printf: Input/output error
> ../../libtool: printf: Input/output error
> gmake[3]: Leaving directory
> `/work/a/ports/textproc/libxml2/work/libxml2-2.7.8/doc/examples'
> gmake[3]: Entering directory
> `/work/a/ports/textproc/libxml2/work/libxml2-2.7.8/doc'
> gmake[3]: Nothing to be done for `all-am'.
> gmake[3]: Leaving directory
> `/work/a/ports/textproc/libxml2/work/libxml2-2.7.8/doc'
> gmake[2]: Leaving directory
> `/work/a/ports/textproc/libxml2/work/libxml2-2.7.8/doc'
> Making all in example
> gmake[2]: Entering directory
> `/work/a/ports/textproc/libxml2/work/libxml2-2.7.8/example'
> cc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I./include
> -D_REENTRANT   -I/usr/local/include  -I/usr/local/include  -O2 -pipe
> -fno-strict-aliasing -std=3Dgnu89 -pedantic -W -Wformat -Wunused
> -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat
> -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow
> -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return
> -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline
> -Wredundant-decls -MT gjobread.o -MD -MP -MF .deps/gjobread.Tpo -c -o
> gjobread.o gjobread.c
> mv -f .deps/gjobread.Tpo .deps/gjobread.Po
> /bin/sh ../libtool --tag=3DCC   --mode=3Dlink cc  -O2 -pipe
> -fno-strict-aliasing -std=3Dgnu89 -pedantic -W -Wformat -Wunused
> -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat
> -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow
> -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return
> -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline
> -Wredundant-decls  -L/usr/local/lib -pthread -o gjobread gjobread.o
> ../libxml2.la  -lz -L/usr/local/lib -liconv -lm
> eval: printf: Input/output error
> ../libtool: printf: Input/output error
> ../libtool: printf: Input/output error
> gmake[2]: *** [gjobread] Error 1
> gmake[2]: Leaving directory
> `/work/a/ports/textproc/libxml2/work/libxml2-2.7.8/example'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/work/a/ports/textproc/libxml2/work/libxml2-=
2.7.8'
> gmake: *** [all] Error 2
> *** Error code 1
>=20
> Stop in /a/ports/textproc/libxml2."
>=20
> or x11/libxcb:
>=20
> "...
> =3D=3D=3D>   Registering installation for libxcb-1.7
> /usr/bin/tr: Input/output error
> /usr/bin/tr: Input/output error
> /usr/bin/tr: Input/output error
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phase 7: mak=
e package>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> =3D=3D=3D>  Building package for libxcb-1.7
> Deleting libxcb-1.7
>=20
> =3D=3D=3D Checking filesystem state
> /buildscript: tr: Input/output error
> /buildscript: tr: Input/output error
> ..."
>=20
> There seems to be a temporal element to these failures, as they occur
> often, but not always.  So far I have not been able to produce them
> with the default debug.iosize_max_clamp=3D1, or with
> debug.iosize_max_clamp=3D0  but without tmpfs.13.patch.  And they didn't
> occur before the recent vfs/nullfs changes with timpfs.12.patch,
> regardless of the debug.iosize_max_clamp setting.
>=20
> Regards,
>                  b.

This is very strange. Run the build under ktrace -i and provide me with
the fragment of the kdump output around the failure.

--CQDko/0aYvuiEzgn
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (FreeBSD)

iEYEARECAAYFAlBjD6sACgkQC3+MBN1Mb4jKfwCghmRKR3ro0mzFLDQin8XGPGvw
/akAnjC74C3nv+7paVhQCYzBZrqCS4wb
=Y1tP
-----END PGP SIGNATURE-----

--CQDko/0aYvuiEzgn--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120926142235.GN35915>