From owner-freebsd-hackers@FreeBSD.ORG Mon Jun 2 14:30:39 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 46195C29 for ; Mon, 2 Jun 2014 14:30:39 +0000 (UTC) Received: from udns.ultimateDNS.NET (ultimatedns.net [209.180.214.225]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0C8C62C19 for ; Mon, 2 Jun 2014 14:30:37 +0000 (UTC) Received: from udns.ultimateDNS.NET (localhost [127.0.0.1]) by udns.ultimateDNS.NET (8.14.5/8.14.5) with ESMTP id s52EVCqm062357; Mon, 2 Jun 2014 07:31:18 -0700 (PDT) (envelope-from bsd-lists@bsdforge.com) Received: (from www@localhost) by udns.ultimateDNS.NET (8.14.5/8.14.5/Submit) id s52EV7EN062331; Mon, 2 Jun 2014 07:31:07 -0700 (PDT) (envelope-from bsd-lists@bsdforge.com) Received: from udns.ultimatedns.net ([209.180.214.225]) (UDNSMS authenticated user chrish) by ultimatedns.net with HTTP; Mon, 2 Jun 2014 07:31:07 -0700 (PDT) Message-ID: <409ccb2cf1dc027bdf6ff7ccbda08723.authenticated@ultimatedns.net> In-Reply-To: <538BDDF5.708@mu.org> References: <538B61EC.9000403@mu.org> <5B82C892-12A4-4251-B3D2-A6D3EAAF90F9@dataix.net> <538B6FCC.9090301@mu.org> <538B761C.7060300@mu.org> <50E51CBE-7F7B-4093-86A5-320ACE81072E@dataix.net> <538B7937.2030104@mu.org> <098847BE-04B5-4E6F-98B8-87B5C7055C69@mail.turbofuzz.com> <538B8494.3040701@mu.org> <7977A65A-5ABE-49DD-8E76-074B54943D64@mail.turbofuzz.com> <538BDDF5.708@mu.org> Date: Mon, 2 Jun 2014 07:31:07 -0700 (PDT) Subject: Re: Upgrading an i386 machine from amd64. From: "Chris H" To: "Alfred Perlstein" User-Agent: UDNSMS/2.0.3 MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-hackers@freebsd.org, Jordan Hubbard X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2014 14:30:39 -0000 > > On 6/1/14, 1:27 PM, Jordan Hubbard wrote: >> On Jun 1, 2014, at 12:52 PM, Alfred Perlstein wrote: >> >>> On 6/1/14, 12:45 PM, Jordan Hubbard wrote: >>>> On Jun 1, 2014, at 12:04 PM, Alfred Perlstein wrote: >>>> >>>>> Unfortunately I'm doing it over NFS and I don't think we support chflags over NFS (not >>>>> even with an extension). >>>> Try the installworld with NO_FSCHG=yes >>>> >>>> I think that catches at least 7 of the 8 places that need to be conditionalized. :) >>>> >>>> - Jordan >>>> >>> Thanks Jordan, >>> >>> I did wind up using that, but NFS still was giving me: >>> install -C -o root -g wheel -m 444 libcrypt.a /usr/soekris/usr/lib >>> install -C -o root -g wheel -m 444 libcrypt_p.a /usr/soekris/usr/lib >>> install -s -o root -g wheel -m 444 -fschg libcrypt.so.5 /usr/soekris/lib >>> install: /usr/soekris/lib/libcrypt.so.5: Input/output error >> Well, like I said, I think the NO_FSCHG implementation is incomplete. That’s weird though >> - bsd.lib.mk (in -current at least) does have a NO_FSCHG check. Are you sure that’s set >> in your environment? Did that change not make it into whatever branch you’re using, >> perhaps? > OK you were right about me forgetting to set NO_FSCHG in that pass, > however even when I set it: > > /usr/src # NO_FSCHG=YES TARGET=i386 DESTDIR=/usr/soekris make installworld > .... > ===> lib/libcrypt (install) > install -C -o root -g wheel -m 444 libcrypt.a /usr/soekris/usr/lib > install -C -o root -g wheel -m 444 libcrypt_p.a /usr/soekris/usr/lib > install -s -o root -g wheel -m 444 libcrypt.so.5 /usr/soekris/lib > install: /usr/soekris/lib/libcrypt.so.5: Input/output error > *** Error code 71 > > Stop. > make[5]: stopped in /usr/trees/freebsd.git/lib/libcrypt > > It appears it's that schg is set on it on the target host: > > .(02:10:18)(alfred@soekris.local) > /lib % ls -lo libcrypt* > -r--r--r-- 1 root wheel schg 81988 Aug 16 2013 libcrypt.so.5 > -r--r--r-- 1 root wheel - 1468336 Aug 16 2013 libcrypto.so.6 > -r--r--r-- 1 root wheel - 1626140 Jun 1 11:15 libcrypto.so.7 > > Ugh, that was frustrating... but now fixed sorta... > > Is there a post-processing step i can do on the target install host to > get my schg bits set on the right things? > > -Alfred I realize I'm coming in a little late in the game. But would make kernel-toolchain for a 32bit ARC have been of any help, prior to some/all of the rest? --Chris > > > > > >> - Jordan >> >> >> _______________________________________________ >> 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" >> > > _______________________________________________ > 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" > >