Problems after recent nullfs,vfs changes in 10.0-CURRENT

Konstantin Belousov kostikbel at gmail.com
Wed Sep 26 14:22:43 UTC 2012


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:
> 
> sysctl debug.iosize_max_clamp=0
> 
> I observe build failures with some ports, when various utilities fail
> with EIO.  For example textproc/libxml2:
> 
> "...
> /bin/sh ../../libtool --tag=CC   --mode=link cc  -O2 -pipe
> -fno-strict-aliasing -std=gnu89 -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=gnu89 -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=CC   --mode=link cc  -O2 -pipe
> -fno-strict-aliasing -std=gnu89 -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
> 
> Stop in /a/ports/textproc/libxml2."
> 
> or x11/libxcb:
> 
> "...
> ===>   Registering installation for libxcb-1.7
> /usr/bin/tr: Input/output error
> /usr/bin/tr: Input/output error
> /usr/bin/tr: Input/output error
> ================================================================
> ====================<phase 7: make package>====================
> ===>  Building package for libxcb-1.7
> Deleting libxcb-1.7
> 
> === Checking filesystem state
> /buildscript: tr: Input/output error
> /buildscript: tr: Input/output error
> ..."
> 
> 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=1, or with
> debug.iosize_max_clamp=0  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.
> 
> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20120926/e0f5fcc4/attachment.pgp


More information about the freebsd-fs mailing list