From owner-freebsd-current@FreeBSD.ORG Sat Feb 8 20:13:56 2014 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 64CC3D68; Sat, 8 Feb 2014 20:13:56 +0000 (UTC) Received: from sarah.protected-networks.net (sarah.protected-networks.net [IPv6:2001:470:1f07:4e1::1]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2A5BC1AFC; Sat, 8 Feb 2014 20:13:56 +0000 (UTC) Received: from toshi.auburn.protected-networks.net (toshi.auburn.protected-networks.net [IPv6:2001:470:1f07:4e1::4]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "Iain Butler", Issuer "RSA Class 2 Personal CA v2" (verified OK)) (Authenticated sender: imb@protected-networks.net) by sarah.protected-networks.net (Postfix) with ESMTPSA id 34C616121; Sat, 8 Feb 2014 15:13:48 -0500 (EST) DomainKey-Signature: a=rsa-sha1; s=200509; d=protected-networks.net; c=nofws; q=dns; h=message-id:date:from:user-agent:mime-version:to:subject: references:in-reply-to:x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=f000B/56jy7qcATzHzIMotvly/bOQbuRLveawG6zjUpwlopYYKtnboIljhnx7zL9F AfLUaHyxD7fSxVbssRPR1OTrxw3OfYXFMbSxH3eikOIdXfGgKz9BE7E3xNCe1qM Message-ID: <52F68FFA.9020009@protected-networks.net> Date: Sat, 08 Feb 2014 15:13:46 -0500 From: Michael Butler User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: Gleb Smirnoff , freebsd-current@FreeBSD.org Subject: Re: buildworld fails with "Zero byte read from file, skipping rest of line" References: <20140114072620.GB83762@caravan.chchile.org> <20140114085818.GQ8472@FreeBSD.org> <20140115074053.GD83762@caravan.chchile.org> <20140115084035.GC26504@glebius.int.ru> In-Reply-To: <20140115084035.GC26504@glebius.int.ru> X-Enigmail-Version: 1.6 OpenPGP: id=0442D492 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Feb 2014 20:13:56 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 01/15/14 03:40, Gleb Smirnoff wrote: > Jeremie, > > On Wed, Jan 15, 2014 at 08:40:53AM +0100, Jeremie Le Hen wrote: > J> > J> ===> gnu/usr.bin/groff/src/libs/libgroff (all) > J> > J> make[6]: "/usr/obj/usr/src.svn/tmp/usr/src.svn/gnu/usr.bin/groff/src/libs/libgroff/.depend" line 3: warning: Zero byte read from file, skipping rest of line. > J> > J> make[6]: "/usr/obj/usr/src.svn/tmp/usr/src.svn/gnu/usr.bin/groff/src/libs/libgroff/.depend" line 3: Need an operator > J> > J> make[6]: "/usr/obj/usr/src.svn/tmp/usr/src.svn/gnu/usr.bin/groff/src/libs/libgroff/.depend" line 4: Need an operator > J> > J> make[6]: Fatal errors encountered -- cannot continue > J> > J> make[6]: stopped in /usr/src.svn/gnu/usr.bin/groff/src/libs/libgroff > J> > J> *** [all] Error code 1 > J> > J> > J> > J> Typscript available here: > J> > J> http://people.freebsd.org/~jlh/typescript.buildworld.txt > J> > J> > J> > J> Any ideas? > J> > > J> > Can you try to reproduce this with unmapped I/O turned off in boot loader? > J> > J> I've never heard of that. Can you please point me to the right > J> code/doc? > > In loader prompt: > > OK set vfs.unmapped_buf_allowed=0 > OK boot I'm seeing this on a non-virtualized laptop. Core Duo T2300 (1.8GHz Prescott architecture) Occurs randomly with either IDE or AHCI enabled on ICH-7 or on a USB external drive. Seems to only occur under heavy loads such as recompiling libreoffice, KDE or similar. Maybe a race condition in buffer management? imb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlL2j/kACgkQQv9rrgRC1JJADgCfb4sPmsA1F2HZm3HEJdCCtw43 u9AAoMpEmC94skFsLpCSWbulY1epWtk3 =aewU -----END PGP SIGNATURE-----