<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/boot, branch releng/11.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F11.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F11.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2016-10-25T16:50:10Z</updated>
<entry>
<title>EN-16:18: loader may hang during boot</title>
<updated>2016-10-25T16:50:10Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2016-10-25T16:50:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a56209fc18c2da4cef973c0e650dc6fd8eaec490'/>
<id>urn:sha1:a56209fc18c2da4cef973c0e650dc6fd8eaec490</id>
<content type='text'>
A programming error in GELIBoot causes the loader to attempt to read past
the end of the disk if the size of the final partition is not a multiple of
4 kB.

Merge r306834 from stable/11.

Approved by:	so
</content>
</entry>
<entry>
<title>MF stable/11 r305901:</title>
<updated>2016-09-17T19:38:56Z</updated>
<author>
<name>Justin Hibbits</name>
<email>jhibbits@FreeBSD.org</email>
</author>
<published>2016-09-17T19:38:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=526e8ae9eef87c885c25fb99a6cade4491c070a4'/>
<id>urn:sha1:526e8ae9eef87c885c25fb99a6cade4491c070a4</id>
<content type='text'>
 MFC r305894:

 Increase the boot1 file size on the HFS boot image.

 The boot1.elf is too fat for 30k, it's now 32k on powerpc64, and 34k on powerpc.
 Without this, boot1 will fail with odd behaviors.

Approved by:	re(gjb@)
</content>
</entry>
<entry>
<title>MFS11 r305249:</title>
<updated>2016-09-02T00:45:43Z</updated>
<author>
<name>Nathan Whitehorn</name>
<email>nwhitehorn@FreeBSD.org</email>
</author>
<published>2016-09-02T00:45:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=584adb92caae657dc2fa779a1e9c8d40fcd528f6'/>
<id>urn:sha1:584adb92caae657dc2fa779a1e9c8d40fcd528f6</id>
<content type='text'>
MFC r305036:

Some versions of SLOF do not append the partition number to the boot
device argument to the stage-1 bootloader. In such cases, boot1 would
only try to read the entire device rather than checking for partitions.
Instead of panic'ing, fall back to reading the partitions as normal in
such situations. This was preventing boot of installed systems on some
versions of PowerKVM.

PR:		kern/211599
Approved by:	re (gjb)
</content>
</entry>
<entry>
<title>MFS11 305232:</title>
<updated>2016-09-01T20:01:38Z</updated>
<author>
<name>Glen Barber</name>
<email>gjb@FreeBSD.org</email>
</author>
<published>2016-09-01T20:01:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2c8efb0f82b9ba1d25e6d47ea8e18176b6e406ca'/>
<id>urn:sha1:2c8efb0f82b9ba1d25e6d47ea8e18176b6e406ca</id>
<content type='text'>
MFC r304966 (peter):
 The read-ahead code from r298230 made it likely the boot code would read
 beyond the end of disk. r298900 added code to prevent this.  Some BIOSes
 cause significant delays if asked to read past end-of-disk.

 We never trusted the BIOS to accurately report the sectorsize of disks
 before and this set of changes.  Unfortuately they interact badly with
 the infamous &gt;2TB wraparound bugs.  We have a number of relatively-recent
 machines in the FreeBSD.org cluster where the BIOS reports 3TB disks as 1TB.

 With pre-r298900 they work just fine.  After r298900 they stop working if
 the boot environment attempts to access anything outside the first 1TB on
 the disk.  'ZFS: I/O error, all block copies unavailable' etc.  It affects
 both UFS and ZFS if they try to boot from large volumes.

 This change replaces the blind trust of the BIOS end-of-disk reporting
 with a read-ahead clip to prevent reads crossing the of end-of-disk
 boundary.  Since 2^32 (2TB) size reporting truncation is not uncommon,
 the clipping is done on 2TB aliases of the reported end-of-disk.
 ie: a 3TB disk reported as 1TB has readahead clipped at 1TB, 3TB, 5TB, ...
 as one of them is likely to be the real end-of-disk.

 This should make the loader on these broken machines behave the same as
 traditional pre-r298900 loader behavior, without disabling read-ahead.

PR:		212139
Approved by:	re (kib)
Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>MFC r303726</title>
<updated>2016-08-08T17:53:51Z</updated>
<author>
<name>Oleksandr Tymoshenko</name>
<email>gonzo@FreeBSD.org</email>
</author>
<published>2016-08-08T17:53:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2bf019fe8e36a05e9d323c9b7f140cb3a43c8055'/>
<id>urn:sha1:2bf019fe8e36a05e9d323c9b7f140cb3a43c8055</id>
<content type='text'>
Fix EHCI driver by excluding first 512K from available memory

On Zynq 256K-512K memory region is not accessible by all bus masters.
EHCI driver fails when trying to use it for DMA transfers. Patching
memory node does not help because ubldr overrides values there with
the ones obtained from u-boot. So as a workaround we just mark first
512K as reserved.

PR:		211484
Submitted by:	Thomas Skibo &lt;thoma555-bsd@yahoo.com&gt;
Approved by:	re (gjb)
</content>
</entry>
<entry>
<title>MFC: r303039</title>
<updated>2016-07-26T05:52:53Z</updated>
<author>
<name>Emmanuel Vadot</name>
<email>manu@FreeBSD.org</email>
</author>
<published>2016-07-26T05:52:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=dc3a6704e63833bd41d3d7121e0d4b08e5ec3380'/>
<id>urn:sha1:dc3a6704e63833bd41d3d7121e0d4b08e5ec3380</id>
<content type='text'>
Do not use TERM_EMU on arm and arm64 as it doesn't behave
well with serial console.

Approved by:	re (gjb)
</content>
</entry>
<entry>
<title>boot1.efi: fix assignment / comparison expression</title>
<updated>2016-07-04T16:50:21Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2016-07-04T16:50:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0f3454e465692e2b0d94b963618e7b191c68c1f4'/>
<id>urn:sha1:0f3454e465692e2b0d94b963618e7b191c68c1f4</id>
<content type='text'>
PR:		210706
Submitted by:	David Binderman &lt;dcb314@hotmail.com&gt;
Approved by:	re (kib)
MFC after:	1 week
</content>
</entry>
<entry>
<title>Clean up some FDT-related code in the PowerPC bootloader, improving error</title>
<updated>2016-07-01T21:09:30Z</updated>
<author>
<name>Nathan Whitehorn</name>
<email>nwhitehorn@FreeBSD.org</email>
</author>
<published>2016-07-01T21:09:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5ecf8e3852a9ec0d8706be1f786e1693773377d3'/>
<id>urn:sha1:5ecf8e3852a9ec0d8706be1f786e1693773377d3</id>
<content type='text'>
checking and robustness. Prevents errors and crashes in FDT commands on
PowerMac G5 systems.

Approved by:	re (gjb)
</content>
</entry>
<entry>
<title>Print a message when disks are found but no logical partition are</title>
<updated>2016-06-17T17:09:22Z</updated>
<author>
<name>Emmanuel Vadot</name>
<email>manu@FreeBSD.org</email>
</author>
<published>2016-06-17T17:09:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e40bf91460ebb27f942ad5787c4d4d56abce7690'/>
<id>urn:sha1:e40bf91460ebb27f942ad5787c4d4d56abce7690</id>
<content type='text'>
reported by EFI implementation. This address comment on r301714.

Approved by:	re (gjb), andrew (mentor)
Differential Revision:	https://reviews.freebsd.org/D6787
</content>
</entry>
<entry>
<title>fix a zfs boot regression introduced in r300117 by accident</title>
<updated>2016-06-16T07:45:57Z</updated>
<author>
<name>Andriy Gapon</name>
<email>avg@FreeBSD.org</email>
</author>
<published>2016-06-16T07:45:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=dc87c22a61bf77727ed365498854f3cba921e39a'/>
<id>urn:sha1:dc87c22a61bf77727ed365498854f3cba921e39a</id>
<content type='text'>
There is no reason to return non-zero value from zfs_probe_partition()
as that causes following partitions to not be probed for ZFS vdevs.
A particular scenario that I encountered is a GPT partitioned disk
where several partitions have freebsd-zfs type.  A partition with a lower
index is used as a cache (l2arc) vdev and in that case case zfs_probe()
returned a non-zero status.  That status was returned to ptable_iterate()
and caused it to abort the iteration.  Because of that the subsequent
partitions were not probed and a root pool was not discovered resulting
in a boot failure.

While there fix the style for nearby return statements.

Approved by:	re (kib)
</content>
</entry>
</feed>
