From nobody Tue Jun 18 19:58:41 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 4W3cyF1k9Vz5PMpD for ; Tue, 18 Jun 2024 19:58: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 4W3cyB6wvmz4DJg for ; Tue, 18 Jun 2024 19:58:42 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of fbsd@www.zefox.net has no SPF policy when checking 50.1.20.27) smtp.mailfrom=fbsd@www.zefox.net Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.17.1/8.17.1) with ESMTPS id 45IJwgn5048601 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Tue, 18 Jun 2024 12:58:42 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.17.1/8.17.1/Submit) id 45IJwfWO048600; Tue, 18 Jun 2024 12:58:41 -0700 (PDT) (envelope-from fbsd) Date: Tue, 18 Jun 2024 12:58:41 -0700 From: bob prohaska To: Robert Clausecker Cc: freebsd-arm@freebsd.org Subject: Re: Git core dump checking out main on armv7 Message-ID: References: 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: X-Spamd-Bar: - X-Spamd-Result: default: False [-1.01 / 15.00]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.91)[-0.912]; WWW_DOT_DOMAIN(0.50)[]; MID_RHS_WWW(0.50)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; TO_DN_SOME(0.00)[]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US]; MISSING_XM_UA(0.00)[]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; DMARC_NA(0.00)[zefox.net]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_NA(0.00)[no SPF record] X-Rspamd-Queue-Id: 4W3cyB6wvmz4DJg Hi Robert, On Tue, Jun 18, 2024 at 06:43:44PM +0200, Robert Clausecker wrote: > Hi Bob, > > I'm not sure what the exact experiment would be. The likely cause is > that the meta data is too large to fit into the address space available. > You might be able to make things work by doing shallow fetches / pulls, > as these don't pull the intermediate commits. > I just tried re-cloning a fresh copy of the archive as an experiment: # git clone --depth=1 -o freebsd https://git.FreeBSD.org/src.git /usr/src Cloning into '/usr/src'... remote: Enumerating objects: 104618, done. remote: Counting objects: 100% (104618/104618), done. remote: Compressing objects: 100% (88910/88910), done. remote: Total 104618 (delta 22080), reused 43680 (delta 11795), pack-reused 0 Receiving objects: 100% (104618/104618), 345.12 MiB | 1.09 MiB/s, done. fatal: pack is corrupted (SHA1 mismatch) fatal: fetch-pack: invalid index-pack output I've been seeing this sort of error repeated over the past weeks. It doesn't look like a local problem to me. Thanks for writing, bob prohaska > Am Tue, Jun 18, 2024 at 09:29:41AM -0700 schrieb bob prohaska: > > On Tue, Jun 18, 2024 at 05:50:58PM +0200, Robert Clausecker wrote: > > > Hi Bob, > > > > > > This sounds like an address space exhaustion. Does this error also > > > appear on an armv7 jail on an arm64 host? > > > > > > > > > > I can try the experiment if there's a description on how to do it. > > > > The git core dump occurred trying to update 14.0-RELEASE-p6 FreeBSD. > > What I'm trying to do is follow stable/14, but somehow got into a > > state where the local source repository reported "up to date". > > Attempts to find a releng or stable branch failed, reporting missing > > files, so I decided to switch to main and then look for a suitable > > branch again. > > > > Maybe this is corrupted local repository, but being a microSD hosted > > system I wanted to minimize re-writes. Earlier attempts to re-clone > > failed, which I attributed to the transition to 14.1. The core dump > > looks like it might be a bug. > > > > Thanks for writing, > > > > bob prohaska > > > > > Am Tue, Jun 18, 2024 at 08:21:21AM -0700 schrieb bob prohaska: > > > > Git dumped core while trying to check out main on an armv7 RPi2. > > > > The core file is about half a GB, which seems oddly large. I've > > > > placed a copy at > > > > http://www.zefox.net/~fbsd/git.core > > > > in case anybody's willing to look at it. > > > > > > > > Thanks for reading, > > > > > > > > bob prohaska > > > > > > > > > > > > > > > > > > -- > > > () ascii ribbon campaign - for an encoding-agnostic world > > > /\ - against html email - against proprietary attachments > > -- > () ascii ribbon campaign - for an encoding-agnostic world > /\ - against html email - against proprietary attachments