From owner-freebsd-stable@FreeBSD.ORG Mon Apr 29 23:51:34 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B39B8825 for ; Mon, 29 Apr 2013 23:51:34 +0000 (UTC) (envelope-from jdc@koitsu.org) Received: from qmta04.emeryville.ca.mail.comcast.net (qmta04.emeryville.ca.mail.comcast.net [IPv6:2001:558:fe2d:43:76:96:30:40]) by mx1.freebsd.org (Postfix) with ESMTP id 99D291EDA for ; Mon, 29 Apr 2013 23:51:34 +0000 (UTC) Received: from omta16.emeryville.ca.mail.comcast.net ([76.96.30.72]) by qmta04.emeryville.ca.mail.comcast.net with comcast id VzYw1l0021ZMdJ4A4zraSY; Mon, 29 Apr 2013 23:51:34 +0000 Received: from koitsu.strangled.net ([67.180.84.87]) by omta16.emeryville.ca.mail.comcast.net with comcast id VzrZ1l00W1t3BNj8czrZXz; Mon, 29 Apr 2013 23:51:33 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 5385C73A1B; Mon, 29 Apr 2013 16:51:33 -0700 (PDT) Date: Mon, 29 Apr 2013 16:51:33 -0700 From: Jeremy Chadwick To: Andrew Romanenko Subject: Re: /usr/src over NFS: buildworld fail Message-ID: <20130429235133.GA15546@icarus.home.lan> References: <517EBEFE.3060703@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <517EBEFE.3060703@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20121106; t=1367279494; bh=NmxautNKW+H9RBXZ/RXN1TrFxtJewMtQV7ixswzKyqI=; h=Received:Received:Received:Date:From:To:Subject:Message-ID: MIME-Version:Content-Type; b=p6ZE+JpRltNrJTbELqvVfAA3q7JZeqW53H+T5FJJCPeKPpVGwqd2mC7UrgaSjAMmx iFjPXbvpyxpGVVcThDVghlC/Zi2ThCHCUx/zWlQR9kZdyALtnPf1FghJSkxaguUkNA DgOi5XN9bDK+ws5Fm0b1iipmArwGwJsaMJjrxqANV5dPfjRZXZZED2sLeolayJcOh4 Qe3G8Hwzry2w2KOGgxR83s6R5pmxF5HH9ahzT+qBMawAver8JEJFf/U3JXCYpKxBdh vz6gieZOFH66QNqOQQdgvxQ9vg6TbfLtD+i6zgm/Apg00BrV5a/BvG39f8zJy7JgEY 3jVAfUyAQ1ihQ== Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Apr 2013 23:51:34 -0000 On Mon, Apr 29, 2013 at 09:42:06PM +0300, Andrew Romanenko wrote: > Hi everyone! > /usr/src imported via NFS > make buildworld is always fails in the same place with error: "make: result too large". > Localy its works fine > Does anybody know how to fix it? > > i386 FreeBSD 9-STABLE (r250044) Actual output would have been more useful than a paraphrased response. The same goes for actual NFS server and client details (OS, backing filesystems, make.conf, src.conf, rc.conf, loader.conf, sysctl.conf, etc.). "Result too large" is error ERANGE (see /usr/include/errno.h), errno 34, assuming that it has a capital "R" ("Result", not "result"). I see no cases in src/usr.bin/make/* where ERANGE or errno 34 is returned directly. I do not believe NFS returns ERANGE either. There may be cases where the backing filesystem (i.e. the filesystem used on the NFS server) could return ERANGE. I know ZFS does, but only in one specific case (only if the compression property is enabled). I do see some other cases in the ZFS code pertaining to UTF-8 support that can return ERANGE but did not look at what those cases may be. You may end up having to do the following: rm -fr /usr/obj/* cd /usr/src ktrace -t+ -f /tmp/ktrace.out make buildworld {wait until the failure} cd /tmp kdump Then look to see what syscall/operation returns this. You may have to put this file up on the web somewhere (it should gzip quite well), and be aware there may be personal information in it (environment variables, contents of files, etc.), so choose wisely. Good luck. -- | Jeremy Chadwick jdc@koitsu.org | | UNIX Systems Administrator http://jdc.koitsu.org/ | | Mountain View, CA, US | | Making life hard for others since 1977. PGP 4BD6C0CB |