Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Dec 2023 09:23:46 -0800
From:      Mark Millard <marklmi@yahoo.com>
To:        Alex Samorukov <samm@freebsd.org>
Cc:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: problems on FreeBSD14 on armv6 board (RPI1-B)
Message-ID:  <3E19FD5D-BC1A-4BA0-970F-BF195D8F7470@yahoo.com>
In-Reply-To: <29274DE1-57D2-45D3-BEB0-CBCF7C70681D@yahoo.com>
References:  <2025707260.15114.1702739060451@localhost> <29274DE1-57D2-45D3-BEB0-CBCF7C70681D@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Dec 16, 2023, at 08:16, Mark Millard <marklmi@yahoo.com> wrote:

> On Dec 16, 2023, at 07:04, Ronald Klop <ronald-lists@klop.ws> wrote:
>>=20
>> =46rom the release notes:
>>=20
>> Availability
>> FreeBSD 14.0-RELEASE is now available for the amd64, aarch64, i386, =
powerpc, powerpc64, powerpc64le, powerpcspe, armv7, and riscv64 =
architectures.
>>=20
>> So no armv6. Doesn=E2=80=99t mean it can=E2=80=99t work of course. =
But no =E2=80=9Cformal=E2=80=9D testing in the release.
>> Regards,
>> Ronald =20
>=20
> Looking in another place, https://www.freebsd.org/platforms/ , =
indicates:
>=20
> 14.x for 32-bit ARMv6 (armv6) has Support Tier: Tier 3
>=20
> https://docs.freebsd.org/en/articles/committers-guide/#archs reports
> for Tier 3:
>=20
> QUOTE
> Tier 3 platforms have at least partial FreeBSD support. They are not =
supported by the security officer, release engineering, and Ports =
Management Team.
> . . .
> The FreeBSD Project provides no guarantees to consumers of Tier 3 =
platforms and is not committed to maintaining resources to support =
development. Tier 3 platforms may not always be buildable, nor are any =
kernel or userland ABIs considered stable.
> END QUOTE
>=20
> The projected 15.x Support Tier is listed as: Unsupported

I also should have looked at the history of the port->package
builds for quarterly 132releng-armv6 and reported:

The most recent build that finished (stopped:done) was
started on: Tue, 05 Sep 2023 02:38:35 GMT

It is the source of what is currently provided via
pkg . So no security updates from after that time
frame via use of pkg, at least for now.

The most recent build attempt was started at:
Thu, 05 Oct 2023 02:37:41 GMT and had 34637
queued but 8276 built before it crashed.

Generally the quarterly 132releng-armv6 builds attempting the full
34000+ packages resulted in "stopped:crashed". One completed:

Tue, 01 Aug 2023 04:37:22 GMT crashed, having built: 14831
Sat, 05 Aug 2023 04:40:30 GMT "done",  having built: 26346
Thu, 07 Sep 2023 02:38:44 GMT crashed, having built:  8272
Thu, 05 Oct 2023 02:37:41 GMT crashed, having built:  8276

(It is harder to judge the total that were available after
an incremental build.)

All of the 7 "done" quarterly 132releng-armv6 builds are
from 2023-August builds (after Aug-01) and from early
2023-Sep builds. After that: all crashed.

Quarterly 132releng-armv6 is the only type of armv6 build
attempted after Mon, 21 Aug 2023 15:02:47 GMT (the last
latest for main-armv6 build that has been attempted).

>> Van: Alex Samorukov <samm@freebsd.org>
>> Datum: 16 december 2023 11:34
>> Aan: freebsd-arm@freebsd.org
>> Onderwerp: problems on FreeBSD14 on armv6 board (RPI1-B)
>> Hello,
>>=20
>> I just upgraded my old (but still working) RPI-B board to FreeBSD 14 =
using cross-build [1]. Good news - it actually boots fine and seems to =
work. But i found a problem - `ps -x` command fails:
>>=20
>> root@rpi:# ps ax
>> Floating exception (core dumped)
>>=20
>> I tried to recompile it with default flags myself on rpi, but the =
result is the same.
>>=20
>> This is output from the gdb:
>>=20
>> root@rpi:/usr/src # gdb /bin/ps
>> GNU gdb (GDB) 12.1 [GDB v12.1 for FreeBSD]
>> Copyright (C) 2022 Free Software Foundation, Inc.
>> License GPLv3+: GNU GPL version 3 or later =
<http://gnu.org/licenses/gpl.html>;
>> This is free software: you are free to change and redistribute it.
>> There is NO WARRANTY, to the extent permitted by law.
>> Type "show copying" and "show warranty" for details.
>> This GDB was configured as "armv6-portbld-freebsd14.0".
>> Type "show configuration" for configuration details.
>> For bug reporting instructions, please see:
>> <https://www.gnu.org/software/gdb/bugs/>.
>> Find the GDB manual and other documentation resources online at:
>>     <http://www.gnu.org/software/gdb/documentation/>.
>>=20
>> For help, type "help".
>> Type "apropos word" to search for commands related to "word"...
>> Reading symbols from /bin/ps...
>> Reading symbols from /usr/lib/debug//bin/ps.debug...
>> (gdb) run ax
>> Starting program: /bin/ps ax
>>=20
>> Program received signal SIGFPE, Arithmetic exception.
>> Floating point underflow.
>> 0x0002423c in getpcpu (k=3Dk@entry=3D0x2083aa00) at =
/usr/home/srvadm/freebsd-src/bin/ps/print.c:649
>> 649 /usr/home/srvadm/freebsd-src/bin/ps/print.c: No such file or =
directory.
>>=20
>>=20
>> [1] =
https://smallhacks.wordpress.com/2023/07/20/updating-freebsd-on-armv6-boar=
d-rpi-b/
>>=20
>>=20
>> Is it some known issue? Is anyone else using RPI on FreeBSD 14?
>=20




=3D=3D=3D
Mark Millard
marklmi at yahoo.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E19FD5D-BC1A-4BA0-970F-BF195D8F7470>