From owner-freebsd-current@FreeBSD.ORG Wed Jul 25 20:52:16 2007 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5902A16A418 for ; Wed, 25 Jul 2007 20:52:16 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.174]) by mx1.freebsd.org (Postfix) with ESMTP id 3C6F213C45A for ; Wed, 25 Jul 2007 20:52:16 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from mac.com (smtpin05-en2 [10.13.10.150]) by smtpout.mac.com (Xserve/smtpout04/MantshX 4.0) with ESMTP id l6PKOIrV006356; Wed, 25 Jul 2007 13:24:18 -0700 (PDT) Received: from [172.24.104.85] (natint3.juniper.net [66.129.224.36]) (authenticated bits=0) by mac.com (Xserve/smtpin05/MantshX 4.0) with ESMTP id l6PKOGBT004558 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 25 Jul 2007 13:24:16 -0700 (PDT) In-Reply-To: <46A7A5FB.90203@sippysoft.com> References: <46A7A5FB.90203@sippysoft.com> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <5865861B-E29E-451C-B07B-B52028549F50@mac.com> Content-Transfer-Encoding: 7bit From: Marcel Moolenaar Date: Wed, 25 Jul 2007 13:23:25 -0700 To: Maxim Sobolev X-Mailer: Apple Mail (2.752.3) X-Brightmail-Tracker: AAAAAA== X-Brightmail-scanned: yes Cc: "current@freebsd.org" Subject: Re: installworld breaks my FreeBSD/powerpc system!!! X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 25 Jul 2007 20:52:16 -0000 On Jul 25, 2007, at 12:35 PM, Maxim Sobolev wrote: > It seems that installworld from yesterday sources severely > corrupted my 7-CURRENT FreeBSD/ppc installation. :( > > I believe this is caused by the recent libc changes that go > together with dynamic linker changes, but since dynamic linker is > installed *after* libc in installworld process, one who does source > upgrade ends up with broken system containing old dynamic linker, > while new libc after installworld explodes! :((( I think it's a mmap(2) problem, rather than a libc/ld-elf problem. I suspect that the peter@'s change to not align arguments is causing the problem. It's difficult to analyze because I don't trust the output of truss and ktrace anymore in this case: the file offset argument is garbage according to those tools. The file offset is garbage on all platforms, not just PowerPC :-/ Other signs of mmap problems: dhclient complaining about a corrupted lease file and rpc.statd complaining about an invalid database file... Unfortunately, I don't have the time to look into it right now. FYI, -- Marcel Moolenaar xcllnt@mac.com