freebsd-dev/sys
Steven Hartland 89b50f6b4d Fix EFI multi device boot support
Fix EFI boot support when presented with multiple valid boot partitions
across multiple devices.

It now prefers to boot from partitions that are present on the underlying
device that the boot1 image was loaded from. This means that it will boot
from the partitions on device the user chose from EFI boot menu in
preference to those on other devices.

Also fixed is the recovery from a failed attempt to boot, from a seemingly
valid partition, by continuing to trying all other available partitions
no matter what the error.

boot1 now use * to signify a partition what was accepted from the preferred
device and + otherwise.

Finally some error messages where improved and DPRINTF's with slowed boot
to aid debugging.

ZFS will still be preferred over UFS when both are available on the boot
device.

Reviewed by:	imp
MFC after:	1 week
Sponsored by:	Multiplay
Differential Revision:	https://reviews.freebsd.org/D5108
2016-02-05 15:35:33 +00:00
..
amd64 Redo r292484. Embed task(9) into zone, so that uz_maxaction is called 2016-02-03 23:30:17 +00:00
arm ARM: Use new ARMv6 naming conventions for cache and TLB functions 2016-02-05 14:57:41 +00:00
arm64 Enable checking of the stack alignment. The stack should be aligned to a 2016-02-04 17:22:15 +00:00
boot Fix EFI multi device boot support 2016-02-05 15:35:33 +00:00
bsm Merge from contrib/openbsm to bring the kernel audit bits up to date with OpenBSM 1.2 alpha 4: 2015-12-20 23:22:04 +00:00
cam Add defines for WRITE_UNCORRECTABLE ATA command, and improve command logging 2016-02-04 19:53:54 +00:00
cddl MFV r294821: 6529 Properly handle updates of variably-sized SA entries. 2016-02-01 15:40:40 +00:00
compat fork: plug a use after free of the returned process 2016-02-04 04:25:30 +00:00
conf Provide a workaround for setting the correct endianness when doing CFI on 2016-02-04 22:39:27 +00:00
contrib ARM: Use new ARMv6 naming conventions for cache and TLB functions 2016-02-05 14:57:41 +00:00
crypto Break up opencrypto/xform.c so it can be reused piecemeal 2015-12-30 22:43:07 +00:00
ddb Add helper to catch single step debug event and distinguish it from bkpt 2015-11-27 19:03:59 +00:00
dev hyperv: Use malloc for page allocation. 2016-02-05 07:29:11 +00:00
fs Revert r294695: 2016-02-03 14:31:23 +00:00
gdb
geom Teach the flashmap code about the SPI flash. 2016-01-23 05:26:29 +00:00
gnu Fixing a memory leak on module unloading. 2015-09-11 22:43:35 +00:00
i386 Convert ss_sp in stack_t and sigstack to void *. 2016-01-27 17:55:01 +00:00
isa Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
kern When matching brand to the ELF binary by notes, try to find a brand 2016-02-04 20:55:49 +00:00
kgssapi kcrypto_aes: Use separate sessions for AES and SHA1 2016-02-02 00:14:51 +00:00
libkern libkern: ffs, fls: s/4/3/ the 3rd BSD clause 2015-10-22 21:04:47 +00:00
mips Fix build. 2016-02-04 11:52:53 +00:00
modules filemon: Use process_exec EVENTHANDLER to capture sys_execve. 2016-01-28 21:45:25 +00:00
net These files were getting sys/malloc.h and vm/uma.h with header pollution 2016-02-01 17:41:21 +00:00
net80211 These files were getting sys/malloc.h and vm/uma.h with header pollution 2016-02-01 17:41:21 +00:00
netgraph These files were getting sys/malloc.h and vm/uma.h with header pollution 2016-02-01 17:41:21 +00:00
netinet Increase max allowed backlog for listen sockets 2016-02-02 05:57:59 +00:00
netinet6 These files were getting sys/malloc.h and vm/uma.h with header pollution 2016-02-01 17:41:21 +00:00
netipsec These files were getting sys/malloc.h and vm/uma.h with header pollution 2016-02-01 17:41:21 +00:00
netnatm
netpfil These files were getting sys/malloc.h and vm/uma.h with header pollution 2016-02-01 17:41:21 +00:00
netsmb The problem report was for a crash that happened when smbfs was 2015-11-18 23:04:01 +00:00
nfs MFP r287070,r287073: split radix implementation and route table structure. 2016-01-25 06:33:15 +00:00
nfsclient
nfsserver
nlm
ofed LinuxKPI list updates: 2016-01-26 15:12:31 +00:00
opencrypto Break up opencrypto/xform.c so it can be reused piecemeal 2015-12-30 22:43:07 +00:00
pc98 Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
powerpc Fix build of powerpc FPU emulator after changes in r295132 to restore the 2016-02-04 17:43:56 +00:00
riscv Access pcpup using gp register. 2016-02-04 14:30:46 +00:00
rpc These files were getting sys/malloc.h and vm/uma.h with header pollution 2016-02-01 17:41:21 +00:00
security Busy the mount point which is the owner of the audit vnode, around 2016-01-16 10:06:33 +00:00
sparc64 Fix build. 2016-02-04 12:06:06 +00:00
sys Add defines for WRITE_UNCORRECTABLE ATA command, and improve command logging 2016-02-04 19:53:54 +00:00
teken
tests Style 9 changes. 2015-11-12 10:31:14 +00:00
tools Fix MFS builds when both MD_ROOT_SIZE and MFS_IMAGE are specified 2016-02-02 07:02:51 +00:00
ufs Remove ffs_mountroot() prototype; seems to be long gone. 2016-01-28 12:21:23 +00:00
vm Redo r292484. Embed task(9) into zone, so that uz_maxaction is called 2016-02-03 23:30:17 +00:00
x86 Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
xdr
xen xenbus: add a comment with the names of the generated accessors 2016-01-15 14:34:31 +00:00
Makefile