From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 14 01:31:41 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2D13D106564A for ; Tue, 14 Aug 2012 01:31:41 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) by mx1.freebsd.org (Postfix) with ESMTP id CE90B8FC0A for ; Tue, 14 Aug 2012 01:31:40 +0000 (UTC) Received: from JRE-MBP-2.local (c-67-180-24-15.hsd1.ca.comcast.net [67.180.24.15]) (authenticated bits=0) by vps1.elischer.org (8.14.5/8.14.5) with ESMTP id q7E1SpHo061469 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 13 Aug 2012 18:28:52 -0700 (PDT) (envelope-from julian@freebsd.org) Message-ID: <5029A9CE.8070307@freebsd.org> Date: Mon, 13 Aug 2012 18:28:46 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: Dan Plassche References: <20120810170715.GI2425@deviant.kiev.zoral.com.ua> <20120811184522.GK2425@deviant.kiev.zoral.com.ua> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Konstantin Belousov , freebsd-hackers@freebsd.org Subject: Re: FreeBSD 1.x Binaries Work Except under Chroot X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Aug 2012 01:31:41 -0000 On 8/13/12 3:33 PM, Dan Plassche wrote: > Konstantin, > > My apologies for any confusion. Your patch solved the problem on > 8.2. Static and dynamic a.out binaries from 1.1.5.1 are working > normally in a chroot environment now. you will also have to change PID_MAX (spelling?) to be 60000 I have considered making this a tunable.. If you don't then the shell in the 1.1.5.1 environment will not be able to handle when a child get s a pid of > 16 bits and it will not be able to wait on it. so it will suspend for ever. teh result is that you can not complete a "make world". last time I tried a "make world" completed in about 1 minute and a kernel (1.1.5.1 GENERIC) compiled in way less than a minute. that was in 7.x days. I'd like to see results under 9.2 on a modern machine. Julian > > On Sat, Aug 11, 2012 at 2:45 PM, Konstantin Belousov > wrote: > >> Why did you stripped the public list from the Cc: ? > I must have clicked on reply instead of reply all by accident. I > sent a copy to the list about 10 minutes after replying to you, > when I realized the mistake. > >> You should have mentioned that it is only _some_ binaries which are >> affected, since I was not able to reproduce your issue at all with >> /bin/sh or /bin/ls in chroot. It took me a while to realize that you >> specifically shown the trace for basename. > Sorry, I was focusing on the loader problem and left out the root > binaries because they were traditionally static. > > > Thanks for your help, > > Dan > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > >