<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/stand, branch release/13.1.0</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>stand: zfs: handle holes at the tail end correctly</title>
<updated>2022-04-24T23:15:07+00:00</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2022-04-21T19:57:24+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=59288c719dc2af9b59e33a88f9b138c5bac38335'/>
<id>59288c719dc2af9b59e33a88f9b138c5bac38335</id>
<content type='text'>
This mirrors dmu_read_impl(), zeroing out the tail end of the buffer and
clipping the read to what's contained by the block that exists.

This fixes an issue that arose during the 13.1 release process; in
13.1-RC1 and later, setting up GELI+ZFS will result in a failure to
boot.  The culprit is this, which causes us to fail to load geom_eli.ko
as there's a residual portion after the single datablk that should be
zeroed out.

PR:		263407
Reviewed by:	tsoome
Approved by:	re (gjb)

(cherry picked from commit 914dc91d12198352b7878a88d30e2a6373a936e1)
(cherry picked from commit 0c9c8a4c6459a8cd1b7290ae7dcd9452d3a4dbc1)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This mirrors dmu_read_impl(), zeroing out the tail end of the buffer and
clipping the read to what's contained by the block that exists.

This fixes an issue that arose during the 13.1 release process; in
13.1-RC1 and later, setting up GELI+ZFS will result in a failure to
boot.  The culprit is this, which causes us to fail to load geom_eli.ko
as there's a residual portion after the single datablk that should be
zeroed out.

PR:		263407
Reviewed by:	tsoome
Approved by:	re (gjb)

(cherry picked from commit 914dc91d12198352b7878a88d30e2a6373a936e1)
(cherry picked from commit 0c9c8a4c6459a8cd1b7290ae7dcd9452d3a4dbc1)
</pre>
</div>
</content>
</entry>
<entry>
<title>loader.4th(8): Fix a typo in the manual page</title>
<updated>2022-04-15T13:25:48+00:00</updated>
<author>
<name>Gordon Bergling</name>
<email>gbe@FreeBSD.org</email>
</author>
<published>2022-04-02T13:11:59+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=165d97049a6e51d32d0dbc3437a79d2499f7a624'/>
<id>165d97049a6e51d32d0dbc3437a79d2499f7a624</id>
<content type='text'>
- s/commmand/command/

Approved by:	re@ (gjb)

(cherry picked from commit ad49d7c54cca4906179369e2196c1edbcf509342)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- s/commmand/command/

Approved by:	re@ (gjb)

(cherry picked from commit ad49d7c54cca4906179369e2196c1edbcf509342)
</pre>
</div>
</content>
</entry>
<entry>
<title>WITHOUT_BOOT build option appears to include stand, failing on libsa</title>
<updated>2022-03-18T23:18:12+00:00</updated>
<author>
<name>Toomas Soome</name>
<email>tsoome@FreeBSD.org</email>
</author>
<published>2022-03-17T17:42:05+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=2ac7903dcbbafd0ad8c466344477fe62f16dccea'/>
<id>2ac7903dcbbafd0ad8c466344477fe62f16dccea</id>
<content type='text'>
building libsa needs to use -I${LDRSRC} for some files.

PR:		260083
Submitted by:	Ivan Rozhuk
Approved by:	re (gjb, early MFC)

(cherry picked from commit 9633c3d87476f72375f13942b55a4c9a7a00c7d8)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
building libsa needs to use -I${LDRSRC} for some files.

PR:		260083
Submitted by:	Ivan Rozhuk
Approved by:	re (gjb, early MFC)

(cherry picked from commit 9633c3d87476f72375f13942b55a4c9a7a00c7d8)
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for getting early entropy from UEFI</title>
<updated>2022-03-14T21:26:33+00:00</updated>
<author>
<name>Colin Percival</name>
<email>cperciva@FreeBSD.org</email>
</author>
<published>2022-02-17T21:01:11+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=de4045353b14da663737659cf103302e337d7299'/>
<id>de4045353b14da663737659cf103302e337d7299</id>
<content type='text'>
UEFI provides a protocol for accessing randomness. This is a good way
to gather early entropy, especially when there's no driver for the RNG
on the platform (as is the case on the Marvell Armada8k (MACCHIATObin)
for now).

If the entropy_efi_seed option is enabled in loader.conf (default: YES)
obtain 2048 bytes of entropy from UEFI and pass is to the kernel as a
"module" of name "efi_rng_seed" and type "boot_entropy_platform"; if
present, ingest it into the kernel RNG.

Submitted by:	Greg V
Reviewed by:	markm, kevans
Approved by:	csprng (markm), re (delphij)
Differential Revision:	https://reviews.freebsd.org/D20780
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
UEFI provides a protocol for accessing randomness. This is a good way
to gather early entropy, especially when there's no driver for the RNG
on the platform (as is the case on the Marvell Armada8k (MACCHIATObin)
for now).

If the entropy_efi_seed option is enabled in loader.conf (default: YES)
obtain 2048 bytes of entropy from UEFI and pass is to the kernel as a
"module" of name "efi_rng_seed" and type "boot_entropy_platform"; if
present, ingest it into the kernel RNG.

Submitted by:	Greg V
Reviewed by:	markm, kevans
Approved by:	csprng (markm), re (delphij)
Differential Revision:	https://reviews.freebsd.org/D20780
</pre>
</div>
</content>
</entry>
<entry>
<title>lualoader: fix the autoboot_delay countdown message</title>
<updated>2022-03-09T21:21:54+00:00</updated>
<author>
<name>Katsuyuki Miyoshi</name>
<email>katsubsd@gmail.com</email>
</author>
<published>2021-10-26T16:21:34+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=9cb5ea3dd2ec87a08cef3963823a1015611a1b94'/>
<id>9cb5ea3dd2ec87a08cef3963823a1015611a1b94</id>
<content type='text'>
When the timer drops from double to single digits, a spare 'e' is left
on the end of the line as we don't overwrite it. Include an extra space
at the end to account for this and overwrite the leftover character.

PR:		259429

(cherry picked from commit bb4c691299c5d699cea29e18fef96bda1cef13da)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When the timer drops from double to single digits, a spare 'e' is left
on the end of the line as we don't overwrite it. Include an extra space
at the end to account for this and overwrite the leftover character.

PR:		259429

(cherry picked from commit bb4c691299c5d699cea29e18fef96bda1cef13da)
</pre>
</div>
</content>
</entry>
<entry>
<title>powerpc64: fix loader regression</title>
<updated>2022-03-04T22:18:22+00:00</updated>
<author>
<name>Leandro Lupori</name>
<email>luporl@FreeBSD.org</email>
</author>
<published>2021-09-21T20:22:42+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=ed726c3e34d8e6b26b2b64367a0ab6d850cb4912'/>
<id>ed726c3e34d8e6b26b2b64367a0ab6d850cb4912</id>
<content type='text'>
After b4cb3fe0e39a, loader started crashing on PowerPC64, with a
Program Exception (700) error. The problem was that archsw was
used before being initialized, with the new mount feature. This
change fixes the issue by initializing archsw earlier, before
setting currdev, that triggers the mount.

Reviewed by:		tsoome
MFC after:		1 month
X-MFC-With:		b4cb3fe0e39a
Sponsored by:		Instituto de Pesquisas Eldorado (eldorado.org.br)
Differential Revision:	https://reviews.freebsd.org/D32027

(cherry picked from commit 680ca739458ba8cba221ea74794c2cd9771c77f8)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
After b4cb3fe0e39a, loader started crashing on PowerPC64, with a
Program Exception (700) error. The problem was that archsw was
used before being initialized, with the new mount feature. This
change fixes the issue by initializing archsw earlier, before
setting currdev, that triggers the mount.

Reviewed by:		tsoome
MFC after:		1 month
X-MFC-With:		b4cb3fe0e39a
Sponsored by:		Instituto de Pesquisas Eldorado (eldorado.org.br)
Differential Revision:	https://reviews.freebsd.org/D32027

(cherry picked from commit 680ca739458ba8cba221ea74794c2cd9771c77f8)
</pre>
</div>
</content>
</entry>
<entry>
<title>Disable clang 14 warning about bitwise operators in one more place</title>
<updated>2022-02-11T16:42:46+00:00</updated>
<author>
<name>Dimitry Andric</name>
<email>dim@FreeBSD.org</email>
</author>
<published>2022-02-10T18:48:31+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=2152b272072714ec05cda8883c46cc5515aa1f65'/>
<id>2152b272072714ec05cda8883c46cc5515aa1f65</id>
<content type='text'>
Follow up 5f2aca839400, where I missed the -Werror warning still being
emitted in libsa.

Fixes:		5f2aca839400
MFC after:	3 days

(cherry picked from commit 74f7afdfd2f5c1beaed7af1bfe89b8b520744500)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Follow up 5f2aca839400, where I missed the -Werror warning still being
emitted in libsa.

Fixes:		5f2aca839400
MFC after:	3 days

(cherry picked from commit 74f7afdfd2f5c1beaed7af1bfe89b8b520744500)
</pre>
</div>
</content>
</entry>
<entry>
<title>loader: tslog: Add more log for module loading</title>
<updated>2022-01-27T10:06:43+00:00</updated>
<author>
<name>Emmanuel Vadot</name>
<email>manu@FreeBSD.org</email>
</author>
<published>2021-12-30T14:49:24+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=19d26be3f3b3b52487c085f8f02927e8eef5c52b'/>
<id>19d26be3f3b3b52487c085f8f02927e8eef5c52b</id>
<content type='text'>
This helps mesuring what's happening when we load the kernel/modules/mfsroot.

This also adds TSENTER2 which uses the third argument of TSRAW, same
as in the kernel.

MFC after:	2 weeks
Sponsored by:	Beckhoff Automation GmbH &amp; Co. KG
Differential Revision:	https://reviews.freebsd.org/D33699

(cherry picked from commit 01cad731921bb60b4f6e04c1cac987eea7af9d08)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This helps mesuring what's happening when we load the kernel/modules/mfsroot.

This also adds TSENTER2 which uses the third argument of TSRAW, same
as in the kernel.

MFC after:	2 weeks
Sponsored by:	Beckhoff Automation GmbH &amp; Co. KG
Differential Revision:	https://reviews.freebsd.org/D33699

(cherry picked from commit 01cad731921bb60b4f6e04c1cac987eea7af9d08)
</pre>
</div>
</content>
</entry>
<entry>
<title>Disable PIE for powerpc bootloaders.</title>
<updated>2022-01-23T10:09:53+00:00</updated>
<author>
<name>Marcin Wojtas</name>
<email>mw@FreeBSD.org</email>
</author>
<published>2021-02-23T12:42:26+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=5b042fcbdff8a651daecfbf91759fc8baf43ece0'/>
<id>5b042fcbdff8a651daecfbf91759fc8baf43ece0</id>
<content type='text'>
Bootloaders for powerpc are not built as position independent
code. Since bsd.prog.mk is used for building, when PIE is enabled,
the PIE flags are added and that causes the build to fail.
Adding MK_PIE=no stops bsd.prog.mk from adding PIE specific flags.

Submitted by: Dawid Gorecki &lt;dgr@semihalf.com&gt;
Reviewed by: emaste
Obtained from: Semihalf
Sponsored by: Stormshield
Differential Revision: https://reviews.freebsd.org/D28893

(cherry picked from commit 3aa023643e9db78f4da314ff9bfb1643533c004f)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bootloaders for powerpc are not built as position independent
code. Since bsd.prog.mk is used for building, when PIE is enabled,
the PIE flags are added and that causes the build to fail.
Adding MK_PIE=no stops bsd.prog.mk from adding PIE specific flags.

Submitted by: Dawid Gorecki &lt;dgr@semihalf.com&gt;
Reviewed by: emaste
Obtained from: Semihalf
Sponsored by: Stormshield
Differential Revision: https://reviews.freebsd.org/D28893

(cherry picked from commit 3aa023643e9db78f4da314ff9bfb1643533c004f)
</pre>
</div>
</content>
</entry>
<entry>
<title>Disable PIE for MIPS ubldr</title>
<updated>2022-01-23T10:09:53+00:00</updated>
<author>
<name>Marcin Wojtas</name>
<email>mw@FreeBSD.org</email>
</author>
<published>2021-02-12T15:41:49+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=afd4a4940790c89c27cc4fac31814a4402f31444'/>
<id>afd4a4940790c89c27cc4fac31814a4402f31444</id>
<content type='text'>
When performing buildworld for MIPS with PIE enabled, the build fails
with "position-independent code requires '-mabicalls'" message.
-mno-abicalls and -fno-pic flags are explicitly set in MIPS ubldr
makefile, so to work around this problem, set MK_PIE=no for MIPS
ubldr.

Submitted by: Dawid Gorecki &lt;dgr@semihalf.com&gt;
Reviewed by: emaste
Obtained from: Semihalf
Sponsored by: Stormshield
Differential Revision: https://reviews.freebsd.org/D28370

(cherry picked from commit cd992885bcdfb3c2c6b761f5c3bf1c86949acdc3)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When performing buildworld for MIPS with PIE enabled, the build fails
with "position-independent code requires '-mabicalls'" message.
-mno-abicalls and -fno-pic flags are explicitly set in MIPS ubldr
makefile, so to work around this problem, set MK_PIE=no for MIPS
ubldr.

Submitted by: Dawid Gorecki &lt;dgr@semihalf.com&gt;
Reviewed by: emaste
Obtained from: Semihalf
Sponsored by: Stormshield
Differential Revision: https://reviews.freebsd.org/D28370

(cherry picked from commit cd992885bcdfb3c2c6b761f5c3bf1c86949acdc3)
</pre>
</div>
</content>
</entry>
</feed>
