| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Sponsored by: Netflix
Notes:
svn path=/head/; revision=325834
|
|
|
|
|
|
|
| |
what was tested...
Notes:
svn path=/head/; revision=325780
|
|
|
|
|
|
|
|
|
|
| |
loader.conf for uboot have this in the list, but the default one
didn't. Since there's no harm and it's a failsafe, add it to the list.
Sponsored by: Netflix
Notes:
svn path=/head/; revision=325779
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
loader.conf is also different between machines. On arm it's a minimal
one that's not quite compatible with the default one. On arm it's
minimal for speed, which is good, but there's also extra things in it
relative to the default on which break loading FDT which is bad. This
doesn't address that issue, but instead ensures the minimal one for
arm is used.
A similar issue for mips exists, but since we can have a beri variant
of /boot/loader and a uboot variant, I'm leaving that mess alone for
the moment.
Sponsored by: Netflix
Notes:
svn path=/head/; revision=325775
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There were two things wrong. First, the wrong path was listed in .PATH
statement. Second, BOOTSRC wasn't yet defined for the .PATH, so it
didn't properly add it. Third, even if these were right, . was in the
path before, so it wouldn't have worked. Replace this with a simple
loop so the proper loader.rc gets selected.
Noticed by: dhw@ (menus stopped working on boot)
Sponsored by: Netflix
Notes:
svn path=/head/; revision=325743
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also, move generation of loader.help into loader.mk. Set HELP_FILES=
to disable this (so we only install one help file, for now). At the
same time remove some duplicate -I lines. Fix several FILES= and
CLEANFILES= into the += form since we're touching both of those in the
.mk files. Make sure we only build one loader.help file per platform
in a unified way (we were building many on some, with the last to
install winning, though often they were the same text).
Also, we're now installing loader.rc and menu.rc everywhere. arm and
mips uboot installed these as menu.rc.sample, but there's no need
since the loader.rc for those platforms doesn't do menu.rc processing
by default. pcibios.4th is now installed everywhere, but will failsafe
on non x86 platforms (it isn't loaded by default anywhere).
These changes are too intertwined to do separately since aspects of
each are required to have a bug-free commit.
Sponsored by: Netflix
Notes:
svn path=/head/; revision=325694
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
AMD Family 17h CPUs have an internal network used to communicate between
the host CPU and the PSP and SMU coprocessors. It exposes a simple
32-bit register space.
Reviewed by: avg (no +1), mjoras, truckman
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D12217
Notes:
svn path=/head/; revision=323184
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Implement simple chain loader in loader; this update does add chain command,
taking device or file as argument to load and start new boot loader.
In case of BIOS, the chain will read the boot block to address 0000:7c00 and
jumps on it. In case of UEFI, the chain command is to be used with efi
application, typically stored in EFI System Partition.
The update also does add simple menu entry, if the variable chain_disk is set.
The value of the variable chain_disk is used as argument for chain loading.
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D5992
Notes:
svn path=/head/; revision=320011
|
|
|
|
|
|
|
|
|
|
| |
in /boot/defaults/loader.conf to something that's actually commonly used,
"mdroot". It's arbitrary, but it's easier to find this way.
MFC after: 2 weeks
Notes:
svn path=/head/; revision=319798
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
patm(4) devices.
Maintaining an address family and framework has real costs when we make
infrastructure improvements. In the case of NATM we support no devices
manufactured in the last 20 years and some will not even work in modern
motherboards (some newer devices that patm(4) could be updated to
support apparently exist, but we do not currently have support).
With this change, support remains for some netgraph modules that don't
require NATM support code. It is unclear if all these should remain,
though ng_atmllc certainly stands alone.
Note well: FreeBSD 11 supports NATM and will continue to do so until at
least September 30, 2021. Improvements to the code in FreeBSD 11 are
certainly welcome.
Reviewed by: philip
Approved by: harti
Notes:
svn path=/head/; revision=317383
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
numbers with Chacha20. Keep the API, though, as that is what the
other *BSD's have done.
Use the boot-time entropy stash (if present) to bootstrap the
in-kernel entropy source.
Reviewed by: delphij,rwatson
Approved by: so(delphij)
MFC after: 2 months
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D10048
Notes:
svn path=/head/; revision=317015
|
|
|
|
|
|
|
|
|
|
| |
for its side effect of producing an en-dash. This broke whatis with
newer versions of mdocml. Use \(en instead.
MFC after: 1 week
Notes:
svn path=/head/; revision=315850
|
|
|
|
|
|
|
|
|
|
| |
if_igb was merged with if_em in r311849
X-MFC with: r311849
Sponsored by: Dell EMC Isilon
Notes:
svn path=/head/; revision=315739
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- if_cxgbe
- if_ixl
- if_ixlv
- sfxge
MFC after: 1 week
Sponsored by: Dell EMC Isilon
Notes:
svn path=/head/; revision=315738
|
|
|
|
|
|
|
|
| |
UNIX System V Release 4 is operating system released in 1988. It ceased
to exist in early 2000-s.
Notes:
svn path=/head/; revision=314373
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since we have dedicated libefi/env.c file for variable support, the following
changes are done:
Simple cstyle changes in env.c
Moved efi variable related commands from loader/main.c to libefi/env.c
Did create function to set "efi-version" environment variable in env.c.
This function does serve two purposes: for first a small clean up of the
loader main(), and for second, it does replace the otherwise unused
efi_variable_support hack.
A bit of cleanup of ficl backend functions. The TEST_MAIN has no meaning,
and removed few memory leaks.
The forth code is updated to use "efi-version" variable, instead of ficl
environment check.
Reviewed by: imp
Approved by: imp (mentor)
Differential Revision: https://reviews.freebsd.org/D9165
Notes:
svn path=/head/; revision=313042
|
|
|
|
|
|
|
|
|
| |
I thank all developers and contributors for pc98.
Relnotes: yes
Notes:
svn path=/head/; revision=312910
|
|
|
|
|
|
|
|
|
| |
Submitted by: rgrimes
MFC after: 4 weeks
Sponsored by: Spectra Logic Corp
Notes:
svn path=/head/; revision=310417
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This driver uses the iflib framework supporting Broadcom
25/50Gbps devices.
Reviewed by: gallatin, wblock
Approved by: davidch
MFC after: 2 weeks
Relnotes: yes
Sponsored by: Broadcom Limited
Differential Revision: https://reviews.freebsd.org/D7551
Notes:
svn path=/head/; revision=308696
|
|
|
|
|
|
|
|
|
| |
Reviewed by: dteske, imp
Approved by: imp (mentor)
Differential Revision: https://reviews.freebsd.org/D8484
Notes:
svn path=/head/; revision=308476
|
|
|
|
|
|
|
|
|
|
| |
environment variable to allow conditional compilation based on EFI
being present or not. Provide efi-setenv, efi-getenv, and
efi-unsetenv, though those need improvement. Move the efi definition
to libefi (but include a reference so they get included).
Notes:
svn path=/head/; revision=307879
|
|
|
|
|
|
|
| |
Noticed by: dteske@
Notes:
svn path=/head/; revision=305132
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
something (perhaps in loader.rc.local) that can read in .conf files
after all the other .conf files have been read and override settings
in them. This is quite handy if the .conf file name is determined
while the loader is running, but might be generically useful for other
things. If this hook exists, call it, otherwise don't do anything.
Doing it in these functions ensures that this file is reliably
read. It also works around a defect in forth where s" isn't allowed
outside a function (well, in a compile context) leading to gross
workarounds if one were to hack loader.rc like:
: maybe-some-func s" some-func" sfind if execute else drop then ;
maybe-some-func
which somehow seems worse. Though I'm sure there's some clever forthy
way of doing that with a macro.
Sponsored by: Netflix, Inc
Notes:
svn path=/head/; revision=305107
|
|
|
|
|
|
|
| |
'?' command. Wasted a bunch of time tracking it down tonight.
Notes:
svn path=/head/; revision=300115
|
|
|
|
| |
Notes:
svn path=/head/; revision=300071
|
|
|
|
|
|
|
|
| |
Reviewed by: dteske
MFC after: 2 weeks
Notes:
svn path=/head/; revision=298831
|
|
|
|
|
|
|
|
| |
Reviewed by: imp, wblock
Differential Revision: https://reviews.freebsd.org/D5332
Notes:
svn path=/head/; revision=297690
|
|
|
|
|
|
|
|
|
| |
is now provided by mkuzip(8) and geom_uzip(4) respectively.
MFC after: 1 month
Notes:
svn path=/head/; revision=295945
|
|
|
|
|
|
|
|
|
|
| |
As of r293233 the UEFI console includes basic terminal emulator support.
MFC after: 2 weeks
Relnotes: Yes
Notes:
svn path=/head/; revision=293234
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If the system was booted with ZFS, a new menu item (#7) appears
It contains an autogenerated list of ZFS Boot Environments
This allows the user to switch to an alternate root file system
Use Cases:
- Revert a failed upgrade
- Concurrently run different versions of FreeBSD with common home directory
- Easier integration with the sysadmin/beadm utility
Requested by: many
Reviewed by: dteske
MFC after: 10 days
Relnotes: yes
Sponsored by: ScaleEngine Inc.
Differential Revision: https://reviews.freebsd.org/D3167
Notes:
svn path=/head/; revision=293001
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Thinking this through, and looking at process_assignment, I believe
moving the code would be wrong considering that set_conf_files is
called in one condition while set_nextboot_conf is guarded by a
different condition of having nextboot_enable="YES". So these must
stay separated and not combined.
MFC after: 1 week
Notes:
svn path=/head/; revision=293000
|
|
|
|
|
|
|
|
|
|
| |
can tell, and thus the strdup is entirely unnecessary.
Thanks to: Toomas Soome (tsoome at-me dot-com)
MFC after: 1 week
Notes:
svn path=/head/; revision=292999
|
|
|
|
|
|
|
|
|
|
| |
comment out some debugging messages that slipped in by mistake
(removing them 7 years after they have been commented out)
MFC after: 1 week
Notes:
svn path=/head/; revision=292996
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix erroneous error path in error messages when processing boot_conf.
Fixup stack comments for functions introduced by SVN r97201.
Remove a questioning stack comment introduced by SVN r186789.
NB: Comment removed because strdup usage here is correct/not a leak.
MFC after: 1 week
Notes:
svn path=/head/; revision=292899
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is not properly respecting WITHOUT or ARCH dependencies in target/.
Doing so requires a massive effort to rework targets/ to do so. A
better approach will be to either include the SUBDIR Makefiles directly
and map to DIRDEPS or just dynamically lookup the SUBDIR. These lose
the benefit of having a userland/lib, userland/libexec, etc, though and
results in a massive package. The current implementation of targets/ is
very unmaintainable.
Currently rescue/rescue and sys/modules are still not connected.
Sponsored by: EMC / Isilon Storage Division
Notes:
svn path=/head/; revision=291563
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There have been .local version of each for user modifications for some time
This allows users to receive future updates to these files
PR: 183765
Submitted by: Bertram Scharpf, Nikolai Lifanov (patch)
Reviewed by: dteske, loos, eadler
Approved by: bapt (mentor)
MFC after: 1 month
Relnotes: yes
Sponsored by: ScaleEngine Inc.
Differential Revision: https://reviews.freebsd.org/D3176
Notes:
svn path=/head/; revision=286368
|
|
|
|
| |
Notes:
svn path=/head/; revision=286111
|
|
|
|
|
|
|
|
| |
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=285882
|
|
|
|
|
|
|
|
|
|
|
| |
Note that this doesn't quite work yet - the preloaded image
gets loaded twice for some reason.
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=285881
|
|
|
|
|
|
|
|
| |
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=285875
|
|
|
|
|
|
|
|
|
|
| |
Fix the man pages as well.
Differential Revision: https://reviews.freebsd.org/D2924
Approved by: so (delphij)
Notes:
svn path=/head/; revision=284960
|
|
|
|
|
|
|
|
| |
It was disconnected from installation in r281081, but was never removed
from the tree or added to ObsoleteFiles.inc
Notes:
svn path=/head/; revision=284672
|
|
|
|
|
|
|
|
| |
MFC after: 3 days
X-MFC-to: stable/10
Notes:
svn path=/head/; revision=283933
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
a text file with a list of physical memory addresses to exclude, and have it
loaded at boot time via the provided example in loader.conf. The tunable
'vm.blacklist' remains, but using an external file means that there's no
practical limit to the size of the list. This change also improves the
scanning algorithm for processing the list, scanning the list only once
instead of scanning it for every page in the system. Both the sysctl and
the file can be unsorted and contain duplicates so long as each entry is
numeric (decimal or hex) and is separated by a space, comma, or newline
character. The sysctl 'vm.page_blacklist' is now provided to report what
memory locations were successfully excluded.
Reviewed by: imp, emax
Obtained from: Netflix, Inc.
MFC after: 3 days
Notes:
svn path=/head/; revision=282228
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A new loader.conf(5) option of geom_eli_passphrase_prompt="YES" will now
allow you to enter your geli(8) root-mount credentials prior to invoking
the kernel.
See check-password.4th(8) for details.
Differential Revision: https://reviews.freebsd.org/D2105
Reviewed by: imp, kmoore
Discussed on: -current
MFC after: 3 days
X-MFC-to: stable/10
Relnotes: yes
Notes:
svn path=/head/; revision=281616
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
earlier migration away from sloppy mode-endings (r280925,280974-280976)
due to a red-herring in diagnosing HardenedBSD boot lockup.
Thanks to: lattera (shawn.webb@hardenedbsd<dot>org)
MFC after: 3 days
X-MFC-to: stable/10
X-MFC-with: r280925,280974-280976,281176-281179
Notes:
svn path=/head/; revision=281275
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
NB: This deeply effected HardenedBSD which had a default value set.
Embarassingly, I allowed the `type' primitive to be passed -1/-1 for
c-addr/u stack input (the effect of which is to pull INT_MAX bytes
from character address negative one in which hilarity ensues over a
black screen in full-on bootlock). Much thanks to Shawn Webb [lattera]
for helping me diagnose.
NB: The mode-ending revisions were initially suspected (and reverted)
but proved to be a red-herring. Proper mode endings will be returning.
Thanks to: lattera (@HardenedBSD [<dot><com>])
Reported by: lattera
MFC after: 3 days
X-MFC-to: stable/10
Notes:
svn path=/head/; revision=281271
|
|
|
|
|
|
|
|
|
|
| |
Suggested by: alfred
MFC after: 3 days
X-MFC-to: stable/10
X-MFC-with: r280976, r281179
Notes:
svn path=/head/; revision=281180
|
|
|
|
|
|
|
|
|
|
| |
Reported by: lattera
MFC after: 3 days
X-MFC-to: stable/10
X-MFC-with: r280976
Notes:
svn path=/head/; revision=281179
|
|
|
|
|
|
|
|
|
|
| |
Reported by: lattera
MFC after: 3 days
X-MFC-to: stable/10
X-MFC-with: r280975
Notes:
svn path=/head/; revision=281178
|