From nobody Sat Aug 12 21:29:02 2023 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RNYhK72Kbz4Tpd9 for ; Sat, 12 Aug 2023 21:29:21 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic315-55.consmr.mail.gq1.yahoo.com (sonic315-55.consmr.mail.gq1.yahoo.com [98.137.65.31]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4RNYhK3Yxwz4Qgk for ; Sat, 12 Aug 2023 21:29:21 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1691875759; bh=IA2iWiCppDjCCFI271CBUT/Doc3EfLHPJazh+odC0BU=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=P8WEGf9+e5LFDOHkB3BZYuma9PNhk9LAyPjl+PmiDTGgVF4tdplELd18MJlOjh/vsYe8JAviWfx67xwWjdgkPugEHpvTm2XiBarQO7cewDRfKL1flWbh7DjcwoLort2S1w5URJb7ATvGPVHY4rvaT0K6b9n3qYq4g6jne979aT2HLWo/8r8LrNbAJh4OYa7x7NHC4aDvbPfEgJ9sbZ2rQl24i1WOwiUY87L+qc9X4PN3vf0l5zTHG8eouPkVtUsbcuKlkGL3umfZKGtyGQs3H54ps3WgxPwGWLimKatn8LfjbJmPBIylA+t3CnzF5aB3QHX4BKBYho34W5jQ4wa9EQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1691875759; bh=7nMPs4el3nYBRLjrlApmso8Q91J5bOfvbw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wMyiiLzTud0ssMqEQOU.R9dsNWwWfRicV YXOFLcPuHk0P9fadvZzyc8_Ps9XDGBE80aAqOagNld0UVNtQhXKBe6g_juj6uRxf2uJR2_vEDlD6 ZS1OvFp3U_tDYRF5czxkdQ98nXJ8PhF0Z3x0EZc4vamZBfYvZdYy7Kcx9uUl8KaqYPEbbeAx3sS1 ez2t0q3XLMJCwHfnT9wG3QW3w6dUh2xiYuat6ekDgJr41ydeAHJKP8vSp3R_TLjLm3BtDHrgQOZH H5r.7WJ92PMqc93a6ypPgPe3x45JvFGuMt1JPLsIU87iDiV2zhVko2JKU1qgv57dDIJMeonPzkMZ bDHXp_yqS79CwumylazBU3ctdl.ghjWy75_BpVMCu8CGZ2Gj5bGz54fjV8FkHoCbUbl_xdRPn7NO MWyM_9xZyI2yeaaTpJGg0IAPcZS3LuaDlq8vIqcln0fTxicsTjcdR5PjIQ7qPA6XSaO2ZZ8wMir0 5AgQX7.ud75ubmVLD17U.kP_6Ikbf3n3TNPhj024RPM.dKydtFH7jWE1zpKFjrhsD8d.YqYco.7X j X-Sonic-MF: X-Sonic-ID: 79e3fb38-760b-444d-a041-63a8d3d7f733 Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.gq1.yahoo.com with HTTP; Sat, 12 Aug 2023 21:29:19 +0000 Received: by hermes--production-bf1-865889d799-7bb4c (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID f083a5f427369b26498c32d464414ecd; Sat, 12 Aug 2023 21:29:15 +0000 (UTC) Content-Type: text/plain; charset=us-ascii List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) Subject: Re: alpha-1 armv7 git failed: fatal: pack is corrupted (SHA1 mismatch) From: Mark Millard In-Reply-To: Date: Sat, 12 Aug 2023 14:29:02 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <8DCC324C-966C-45DF-88F6-A442E348D4AA@yahoo.com> References: To: bob prohaska X-Mailer: Apple Mail (2.3731.700.6) X-Rspamd-Queue-Id: 4RNYhK3Yxwz4Qgk X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US] On Aug 12, 2023, at 11:32, bob prohaska wrote: >=20 > It looks like something is amiss with git on armv7 alpha1: > Running > root@generic:/ # pkg install git-lite > seemed to work without error, and running > root@generic:/ # git clone -o freebsd https://git.FreeBSD.org/src.git = /usr/src > Cloning into '/usr/src'... > started out appearing to work but ended badly: >=20 > root@generic:/ # git clone -o freebsd https://git.FreeBSD.org/src.git = /usr/src > Cloning into '/usr/src'... > remote: Enumerating objects: 4323455, done. > remote: Counting objects: 100% (381285/381285), done. > remote: Compressing objects: 100% (28204/28204), done. > remote: Total 4323455 (delta 375529), reused 353081 (delta 353081), = pack-reused 3942170 > Receiving objects: 100% (4323455/4323455), 1.54 GiB | 1.01 MiB/s, = done. > fatal: pack is corrupted (SHA1 mismatch) > fatal: fetch-pack: invalid index-pack output >=20 >=20 > I don't think this is something I could have screwed up, but > my talents occasionally surpass expectation 8-) I took no > special actions during the prompts and warnings following > pkg install git-lite but was rather surprised at the number=20 > of dependencies accompanying git-lite.=20 >=20 > This is a Pi2, v1.1, mechanical hard drive, command line only = interface. > The disk has been laid out traditionally, with swapspace between root > and usr. Original contents of /usr were transplanted to the new = partition > using cp -a, might that be a problem?=20 The follow is a partial simulation of what you have done. It uses the armv7 snapshot world via chroot on an aarch64 machine that can execute armv7 code, using a mount of armv7 kernel+world snapshot based media. (I abbreviate command line prompts.) # mount /dev/da1s2a /mnt # chroot /mnt # uname -apKU FreeBSD generic 14.0-ALPHA1 FreeBSD 14.0-ALPHA1 aarch64 1400094 #0 = main-n264678-136fc495615f: Fri Aug 11 12:22:32 UTC 2023 = root@releng1.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC = arm armv7 1400094 1400094 (Note both the "aarch64" and the "arm armv7" from the chroot context.) # pkg install git . . . # git clone -o freebsd https://git.FreeBSD.org/src.git /usr/src Cloning into '/usr/src'... remote: Enumerating objects: 4323467, done. remote: Counting objects: 100% (381285/381285), done. remote: Compressing objects: 100% (28204/28204), done. remote: Total 4323467 (delta 375527), reused 353081 (delta 353081), = pack-reused 3942182 Receiving objects: 100% (4323467/4323467), 1.54 GiB | 790.00 KiB/s, = done. Resolving deltas: 100% (3431891/3431891), done. Updating files: 100% (95943/95943), done. So this really used the aarch64 kernel and its FreeBSD 32 compat support but was a armv7 world. The combination worked just fine. It may be that the problem you had was not local to your machine, or even to your local network. Some received byte(s) might well have been bad. It will be some time before I put back the armv7 media into a armv7 system and boot it: I'm doing other experiments. =3D=3D=3D Mark Millard marklmi at yahoo.com