Armv7 alpha-1 git problems
Date: Wed, 23 Aug 2023 20:54:02 UTC
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