From nobody Thu Jun 27 16:24:46 2024 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 4W93n96YTGz5Pyxg for ; Thu, 27 Jun 2024 16:24:45 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "generic", Issuer "generic" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4W93n93H2gz4Pb1 for ; Thu, 27 Jun 2024 16:24:45 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Authentication-Results: mx1.freebsd.org; none Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.17.1/8.17.1) with ESMTPS id 45RGOkL4093239 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Thu, 27 Jun 2024 09:24:46 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.17.1/8.17.1/Submit) id 45RGOk9K093238; Thu, 27 Jun 2024 09:24:46 -0700 (PDT) (envelope-from fbsd) Date: Thu, 27 Jun 2024 09:24:46 -0700 From: bob prohaska To: Mark Millard Cc: FreeBSD ARM List Subject: Re: Git clone failures on armv7, was Re: Git core dump checking out main on armv7 Message-ID: References: <5D5B6739-1685-43F5-80CC-E55603181D09@yahoo.com> <8F4F4B49-5ED3-4ACA-B0D3-356D8459BE95@yahoo.com> <5DC2D33F-A8DB-4542-B8B3-A131F660A395@yahoo.com> 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5DC2D33F-A8DB-4542-B8B3-A131F660A395@yahoo.com> 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:7065, ipnet:50.1.16.0/20, country:US] X-Rspamd-Queue-Id: 4W93n93H2gz4Pb1 On Wed, Jun 26, 2024 at 06:24:59PM -0700, Mark Millard wrote: > > Does using the chroot setup using --depth=1 on the > RPi2B consistently work when tried repeatedly? Or > was this just an example of a rare success? > Apparently it was a rare success. Five back-to-back retries all failed in an orderly way, though with different messages; invalid fetch-pack and missing blob object. The transcript is at http://www.zefox.net/~fbsd/rpi2/git_problems/readme_shallow_armv7_chroot_gittests Is it worthwhile to repeat with different --depth= values? I'm not sure what the sensible range might be, maybe a 1, 2, 5 sequence? It would be convenient to avoid a panic, as that slows repetition. Thanks for reading, bob prohaska > > A second try without chroot resulted in failure but no panic: > > > : Should own extent_mutex_pool(17) > > That looks like it would be interesting to someone > appropriately knowledgeable. If jemalloc can see bad > mutex ownerships, that seems like such could lead to > all sorts of later problems: Garbage-in/garbage-out. > > I do not know if the message means that various > corruptions might be in place afterwards so that > various later problems might be consequences that > are not surprising possibilities. > > > 47.25 MiB | 1.35 MiB/s > > error: index-pack died of signal 6 > > > > A repeat session produced an oft-seen failure: > > > > root@www:/mnt # mkdir 3rdarmv7gittest > > root@www:/mnt # cd 3rdarmv7gittest > > root@www:/mnt/3rdarmv7gittest # git clone -o freebsd ssh://anongit@192.158.248.9/src.git . > > Cloning into '.'... > > remote: Enumerating objects: 4511481, done. > > remote: Counting objects: 100% (383480/383480), done. > > remote: Compressing objects: 100% (28955/28955), done. > > > : Should own extent_mutex_pool(17) > > That is the same error notice as above that looked > to be interesting. > > Note that it happens before the later message > "error: index-pack died of signal 6". So that > last may just be a later consequence of the > earlier error(s). > > > 47.25 MiB | 1.35 MiB/s > > error: index-pack died of signal 6 > > fatal: index-pack failed > > root@www:/mnt/3rdarmv7gittest # ls > > root@www:/mnt/3rdarmv7gittest # cd .. > > root@www:/mnt # mkdir 4tharmv7gittest > > root@www:/mnt # cd 4tharmv7gittest > > root@www:/mnt/4tharmv7gittest # git clone -o freebsd ssh://anongit@192.158.248.9/src.git . > > Cloning into '.'... > > remote: Enumerating objects: 4511481, done. > > remote: Counting objects: 100% (383480/383480), done. > > remote: Compressing objects: 100% (28955/28955), done. > > Receiving objects: 43% (1966916/4511481), 926.00 MiB | 626.00 KiB/s > > remote: Total 4511481 (delta 377747), reused 354525 (delta 354525), pack-reused 4128001 (from 1) > > Receiving objects: 100% (4511481/4511481), 1.64 GiB | 705.00 KiB/s, done. > > fatal: pack is corrupted (SHA1 mismatch) > > fatal: index-pack failed > > Note the lack of a local message: > > : Should own extent_mutex_pool > > But the prior jemalloc message(s) may be sufficient > context to not be surprised about this. > > > root@www:/mnt/4tharmv7gittest # > > > > No panic, however, and it seems reproducible: > > root@www:/mnt # mkdir 5tharmv7gittest > > root@www:/mnt # cd 5tharmv7gittest > > root@www:/mnt/5tharmv7gittest # git clone -o freebsd ssh://anongit@192.158.248.9/src.git . > > Cloning into '.'... > > remote: Enumerating objects: 4511513, done. > > remote: Counting objects: 100% (383480/383480), done. > > remote: Compressing objects: 100% (28955/28955), done. > > remote: Total 4511513 (delta 377756), reused 354525 (delta 354525), pack-reused 4128033 (from 1) > > Receiving objects: 100% (4511513/4511513), 1.64 GiB | 1.28 MiB/s, done. > > fatal: pack is corrupted (SHA1 mismatch) > > fatal: index-pack failed > > Note the lack of a local message: > > : Should own extent_mutex_pool > > But the prior jemalloc message(s) may be sufficient > context to not be surprised about this (again). > > > root@www:/mnt/5tharmv7gittest > > > > Not sure what to try next, thanks for reading this far! > > > > bob prohaska > > > > > > Archived at > > http://www.zefox.net/~fbsd/rpi2/git_problems/readme_armv7 > > > > === > Mark Millard > marklmi at yahoo.com > >