From owner-freebsd-stable@FreeBSD.ORG Wed May 1 21:37:55 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 67D08EE9 for ; Wed, 1 May 2013 21:37:55 +0000 (UTC) (envelope-from melanhit@gmail.com) Received: from mail-ea0-x235.google.com (mail-ea0-x235.google.com [IPv6:2a00:1450:4013:c01::235]) by mx1.freebsd.org (Postfix) with ESMTP id F3BBE148A for ; Wed, 1 May 2013 21:37:54 +0000 (UTC) Received: by mail-ea0-f181.google.com with SMTP id a11so830352eae.40 for ; Wed, 01 May 2013 14:37:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=FOJx7cUMxNr/fUtcygQJppPUJ+gPL1h9GMksWvdtNnE=; b=Ext2kwCb6f3YJhTCAwJmhly+OY8TLu6JfKb3cVeYOq0PsJKNuXV5SOBbYIhw2chxLp 9sT1VGM+Tg6MIOaRnfIkAWAUjdzfZXRNLYmWo0PH0ombp4YJIaM62jmUhCg1Ph7Bd8H0 FBxaz1NniGJgde+FBwJOJlQTwo0Gs8GyuRI1+xD4Lm3PpzVxcS8mfPBZu67F/yW+fgqc vBy63/j3mq9ENlR8t8exGAHdsO5gsDTOBq+QI5Wpc5BApQOEAEko3ZaImhppSZyZWMu1 x+/KQBdgrmVl+2qFkiubZXdSGU1m2GLmZRerqWDXSfkS2Zf8KXjSAkG+GTUM/oYzdfBi ISlg== X-Received: by 10.14.173.71 with SMTP id u47mr12649546eel.24.1367444274032; Wed, 01 May 2013 14:37:54 -0700 (PDT) Received: from localhost.localdomain (77-52-158-0.dialup.umc.net.ua. [77.52.158.0]) by mx.google.com with ESMTPSA id w52sm5798808eev.12.2013.05.01.14.37.49 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 01 May 2013 14:37:53 -0700 (PDT) Message-ID: <51818B2E.3080402@gmail.com> Date: Thu, 02 May 2013 00:37:50 +0300 From: Andrew Romanenko User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130407 Thunderbird/17.0.5 MIME-Version: 1.0 To: Jeremy Chadwick Subject: Re: /usr/src over NFS: buildworld fail References: <517EBEFE.3060703@gmail.com> <20130429235133.GA15546@icarus.home.lan> In-Reply-To: <20130429235133.GA15546@icarus.home.lan> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: Wed, 01 May 2013 21:37:55 -0000 On 04/30/2013 02:51 AM, Jeremy Chadwick wrote: > 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. > Fixed. Trouble was in Linux NFS-server. Also, thx Jeremy for the tip (ktrace + kdump) thanks, everyone