Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Dec 2023 16:04:20 +0100 (CET)
From:      Ronald Klop <ronald-lists@klop.ws>
To:        ronald@freebsd.org
Cc:        freebsd-arm@freebsd.org, Alex Samorukov <samm@freebsd.org>
Subject:   Re: problems on FreeBSD14 on armv6 board (RPI1-B)
Message-ID:  <2025707260.15114.1702739060451@localhost>
In-Reply-To: <59dba804e50560ff89809ef3a839f3f4@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
------=_Part_15113_923267729.1702739060449
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable

>From the release notes:

Availability
FreeBSD 14.0-RELEASE is now available for the amd64, aarch64, i386, powerpc=
, powerpc64, powerpc64le, powerpcspe, armv7, and riscv64 architectures.




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

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)

>=20
>=20
> Hello,
>=20
> I just upgraded my old (but still working) RPI-B board to FreeBSD 14 usin=
g cross-build [1]. Good news - it actually boots fine and seems to work. Bu=
t 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.h=
tml>
> 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/free=
bsd-src/bin/ps/print.c:649
> 649 /usr/home/srvadm/freebsd-src/bin/ps/print.c: No such file or director=
y.
>=20
>=20
> [1] https://smallhacks.wordpress.com/2023/07/20/updating-freebsd-on-armv6=
-board-rpi-b/
>=20
>=20
> Is it some known issue? Is anyone else using RPI on FreeBSD 14?
>=20
>=20
>=20
>=20
>=20
------=_Part_15113_923267729.1702739060449
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head></head><body>From the release notes:<div><br></div><div><h2 id=
=3D"_availability" style=3D"-webkit-tap-highlight-color: rgba(26, 26, 26, 0=
.3); -webkit-text-size-adjust: auto; font-size: 25px; margin: 1.2em 0em; co=
lor: rgb(153, 0, 0); font-family: verdana, sans-serif;">Availability</h2><d=
iv class=3D"sectionbody" style=3D"-webkit-tap-highlight-color: rgba(26, 26,=
 26, 0.3); -webkit-text-size-adjust: auto; font-family: verdana, sans-serif=
;"><div class=3D"paragraph"><p style=3D"line-height: 1.2em; margin: 1.2em 0=
em;">FreeBSD 14.0-RELEASE is now available for the amd64, aarch64, i386, po=
werpc, powerpc64, powerpc64le, powerpcspe, armv7, and riscv64 architectures=
.</p><p style=3D"line-height: 1.2em; margin: 1.2em 0em;"><br></p><p style=
=3D"line-height: 1.2em; margin: 1.2em 0em;">So no armv6. Doesn=E2=80=99t me=
an it can=E2=80=99t work of course. But no =E2=80=9Cformal=E2=80=9D testing=
 in the release.</p><p style=3D"line-height: 1.2em; margin: 1.2em 0em;">Reg=
ards,</p><p style=3D"line-height: 1.2em; margin: 1.2em 0em;">Ronald &nbsp;<=
/p></div></div><p><small><strong>Van:</strong> Alex Samorukov &lt;samm@free=
bsd.org&gt;<br><strong>Datum:</strong> 16 december 2023 11:34<br><strong>Aa=
n:</strong> freebsd-arm@freebsd.org<br><strong>Onderwerp:</strong> problems=
 on FreeBSD14 on armv6 board (RPI1-B)<br></small></p><blockquote style=3D"m=
argin-left: 5px; border-left: 3px solid #ccc; margin-right: 0px; padding-le=
ft: 5px;"><div class=3D"MessageRFC822Viewer do_not_remove" id=3D"P"><!-- P =
-->
<!-- processMimeMessage --><div class=3D"TextPlainViewer do_not_remove" id=
=3D"P.P"><!-- P.P -->Hello,<br>
<br>
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:<br>
<br>
root@rpi:# ps ax<br>
Floating exception (core dumped)<br>
<br>
I tried to recompile it with default flags myself on rpi, but the result is=
 the same.<br>
<br>
This is output from the gdb:<br>
<br>
root@rpi:/usr/src # gdb /bin/ps<br>
GNU gdb (GDB) 12.1 [GDB v12.1 for FreeBSD]<br>
Copyright (C) 2022 Free Software Foundation, Inc.<br>
License GPLv3+: GNU GPL version 3 or later &lt;<a href=3D"http://gnu.org/li=
censes/gpl.html">http://gnu.org/licenses/gpl.html</a>&gt;<br>;
This is free software: you are free to change and redistribute it.<br>
There is NO WARRANTY, to the extent permitted by law.<br>
Type "show copying" and "show warranty" for details.<br>
This GDB was configured as "armv6-portbld-freebsd14.0".<br>
Type "show configuration" for configuration details.<br>
For bug reporting instructions, please see:<br>
&lt;<a href=3D"https://www.gnu.org/software/gdb/bugs/">https://www.gnu.org/=
software/gdb/bugs/</a>&gt;.<br>
Find the GDB manual and other documentation resources online at:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;<a href=3D"http://www.gnu.org/software/gd=
b/documentation/">http://www.gnu.org/software/gdb/documentation/</a>&gt;.<b=
r>
<br>
For help, type "help".<br>
Type "apropos word" to search for commands related to "word"...<br>
Reading symbols from /bin/ps...<br>
Reading symbols from /usr/lib/debug//bin/ps.debug...<br>
(gdb) run ax<br>
Starting program: /bin/ps ax<br>
<br>
Program received signal SIGFPE, Arithmetic exception.<br>
Floating point underflow.<br>
0x0002423c in getpcpu (k=3Dk@entry=3D0x2083aa00) at /usr/home/srvadm/freebs=
d-src/bin/ps/print.c:649<br>
649 /usr/home/srvadm/freebsd-src/bin/ps/print.c: No such file or directory.=
<br>
<br>
<br>
[1] <a href=3D"https://smallhacks.wordpress.com/2023/07/20/updating-freebsd=
-on-armv6-board-rpi-b/">https://smallhacks.wordpress.com/2023/07/20/updatin=
g-freebsd-on-armv6-board-rpi-b/</a><br>
<br>
<br>
Is it some known issue? Is anyone else using RPI on FreeBSD 14?<br>
<br>
</div><!-- TextPlainViewer -->
<hr>
</div><!-- MessageRFC822Viewer -->
</blockquote><br><br><br></div></body></html>
------=_Part_15113_923267729.1702739060449--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2025707260.15114.1702739060451>