From owner-freebsd-hackers@FreeBSD.ORG Mon Jun 2 02:13:52 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 027A82A8 for ; Mon, 2 Jun 2014 02:13:52 +0000 (UTC) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id E00AF29D0 for ; Mon, 2 Jun 2014 02:13:51 +0000 (UTC) Received: from AlfredMacbookAir.local (c-76-21-10-192.hsd1.ca.comcast.net [76.21.10.192]) by elvis.mu.org (Postfix) with ESMTPSA id DBB001A3C1B; Sun, 1 Jun 2014 19:13:50 -0700 (PDT) Message-ID: <538BDDF5.708@mu.org> Date: Sun, 01 Jun 2014 19:14:13 -0700 From: Alfred Perlstein User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org, Jordan Hubbard Subject: Re: Upgrading an i386 machine from amd64. 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> In-Reply-To: <7977A65A-5ABE-49DD-8E76-074B54943D64@mail.turbofuzz.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit 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 02:13:52 -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 > - 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" >