From nobody Wed Aug 23 20:54: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 4RWJNh6pNvz4rMKn for ; Wed, 23 Aug 2023 20:54:12 +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 "www.zefox.com", Issuer "www.zefox.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RWJNg4dvkz3Gpf for ; Wed, 23 Aug 2023 20:54:11 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Authentication-Results: mx1.freebsd.org; dkim=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; dmarc=none Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.17.1/8.15.2) with ESMTPS id 37NKs3vN008219 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Wed, 23 Aug 2023 13:54:03 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.17.1/8.15.2/Submit) id 37NKs3nE008218 for freebsd-arm@freebsd.org; Wed, 23 Aug 2023 13:54:03 -0700 (PDT) (envelope-from fbsd) Date: Wed, 23 Aug 2023 13:54:02 -0700 From: bob prohaska To: freebsd-arm@freebsd.org Subject: Armv7 alpha-1 git problems Message-ID: 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 X-Spamd-Result: default: False [-0.26 / 15.00]; AUTH_NA(1.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.993]; NEURAL_HAM_SHORT(-0.99)[-0.991]; MID_RHS_WWW(0.50)[]; WWW_DOT_DOMAIN(0.50)[]; NEURAL_HAM_LONG(-0.18)[-0.175]; MIME_GOOD(-0.10)[text/plain]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; DMARC_NA(0.00)[zefox.net]; FROM_HAS_DN(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_TLS_LAST(0.00)[] X-Spamd-Bar: / X-Rspamd-Queue-Id: 4RWJNg4dvkz3Gpf An installation of alpha-1 on armv7 successfully built world and kernel, installed both and reported during reboot: FreeBSD 14.0-ALPHA2 armv7 1400096 #1 main-n264912-b1d3e2b77155: Tue Aug 22 22:40:54 UTC 2023 root@generic:/usr/obj/usr/src/arm.armv7/sys/GENERIC arm FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) The machine is a Pi2 v1.1 with a machanical hard disk, using bootcode.bin only on microSD It then failed to complete git clone of ports. The first failure was # git clone ssh://anongit@git.FreeBSD.org/ports.git . Cloning into '.'... remote: Enumerating objects: 5931073, done. remote: Counting objects: 100% (936/936), done. remote: Compressing objects: 100% (120/120), done. error: inflate: data stream error (invalid code lengths set)0 KiB/s fatal: pack has bad object at offset 46086135: inflate returned -3 fatal: fetch-pack: invalid index-pack output This looks vaguely like problems observed trying to clone /usr/src, but not quite the same. That was worked around using sftp from another machine's sources, with a successful git pull following. Next, I tried # git clone https://git.FreeBSD.org/ports.git . Cloning into '.'... remote: Enumerating objects: 5931073, done. remote: Counting objects: 100% (936/936), done. remote: Compressing objects: 100% (120/120), done. panic: invalid signal8% (519050/5931073), 124.84 MiB | 719.00 KiB/s cpuid = 3 time = 1692775267 KDB: stack backtrace: db_trace_self() at db_trace_self pc = 0xc05edb64 lr = 0xc0079c70 (db_trace_self_wrapper+0x30) sp = 0xc4dc1b78 fp = 0xc4dc1c90 db_trace_self_wrapper() at db_trace_self_wrapper+0x30 pc = 0xc0079c70 lr = 0xc02e9d8c (vpanic+0x140) sp = 0xc4dc1c98 fp = 0xc4dc1cb8 r4 = 0x00000100 r5 = 0x00000000 r6 = 0xc076f4e8 r7 = 0xc0aeeec8 vpanic() at vpanic+0x140 pc = 0xc02e9d8c lr = 0xc02e9b6c (doadump) sp = 0xc4dc1cc0 fp = 0xc4dc1cc4 r4 = 0xc4dc1d88 r5 = 0xd70112b8 r6 = 0xd70112b8 r7 = 0x00000007 r8 = 0xd7011000 r9 = 0xd7011000 r10 = 0xbfc19800 doadump() at doadump pc = 0xc02e9b6c lr = 0xc02f047c (trapsignal+0x2f8) sp = 0xc4dc1ccc fp = 0xc4dc1d58 r4 = 0xbfc19800 r5 = 0xc4dc1cc4 r6 = 0xc02e9b6c r10 = 0xc4dc1ccc trapsignal() at trapsignal+0x2f8 pc = 0xc02f047c lr = 0xc06119a4 (abort_handler+0x1a4) sp = 0xc4dc1d60 fp = 0xc4dc1df8 r4 = 0xc4dc1d88 r5 = 0xd70112b8 r6 = 0x00000001 r7 = 0x00000007 r8 = 0x00000010 r9 = 0xd7011000 r10 = 0xbfc19800 abort_handler() at abort_handler+0x1a4 pc = 0xc06119a4 lr = 0xc05f042c (exception_exit) sp = 0xc4dc1e00 fp = 0xbfbfd6e8 r4 = 0xbfbfd6a8 r5 = 0x00000041 r6 = 0x3ae0921a r7 = 0x0000009d r8 = 0x3aed4000 r9 = 0xbfbfe8a0 r10 = 0x0000001c exception_exit() at exception_exit pc = 0xc05f042c lr = 0x204b807c (0x204b807c) sp = 0xc4dc1e90 fp = 0xbfbfd6e8 r0 = 0xbfc19800 r1 = 0x3ae09074 r2 = 0x00000114 r3 = 0x3ae09070 r4 = 0xbfbfd6a8 r5 = 0x00000041 r6 = 0x3ae0921a r7 = 0x0000009d r8 = 0x3aed4000 r9 = 0xbfbfe8a0 r10 = 0x0000001c r12 = 0x3ae09058 Unable to unwind into user mode KDB: enter: panic [ thread pid 1229 tid 100079 ] Stopped at kdb_enter+0x54: ldrb r15, [r15, r15, ror r15]! db> Not sure what to try next, probably update sources and build again. Any suggestions welcome! Thanks for reading, bob prohaska