History log of /freebsd-9.3-release/sys/boot/common/loader.8
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 267654 19-Jun-2014 gjb

Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 266013 14-May-2014 marius

MFC: r255977 (partial)

Sweep man pages replacing ad -> ada.


# 240097 04-Sep-2012 des

MFH (r239255, r239730): increase maxswzone on i386 and remove it on amd64.


# 237247 19-Jun-2012 wblock

MFC r235873, r235967:

Fixes to man8 groff mandoc style, usage mistakes, or typos.

PR: 168016
Submitted by: Nobuyuki Koganemaru
Approved by: gjb (mentor)


# 237216 18-Jun-2012 eadler

MFC r233648:
Remove trailing whitespace per mdoc lint warning

Approved by: cperciva (implicit)


# 230259 17-Jan-2012 kib

MFC r229771:
Document comconsole_port and comconsole_pcidev loader variables.


# 229492 04-Jan-2012 pluknet

MFC r228916:
Clean up from the 4.x era.

In an example of boot command:
- rename wd(4) IDE disk drives name to ad(4) for the time being.
- update the used kernel path "/kernel" to the current default.

Bump .Dd for this and previous changes.


# 229480 04-Jan-2012 pluknet

Revert MFC r226833,227056.
/stand exists in the MFS root used during a sysinstall-based install.

Reported by: jhb
Pointy hat to: pluknet


# 229473 04-Jan-2012 pluknet

MFC r226833,r227056:

Remove the long reprecated ``/stand/sysinstall'' from the init_path.


# 225736 22-Sep-2011 kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by: re (implicit)


# 221869 14-May-2011 attilio

Disconnect sun4v architecture from the three.

Some files keep the SUN4V tags as a code reference, for the future,
if any rewamped sun4v support wants to be added again.

Reviewed by: marius
Tested by: sbruno
Approved by: re


# 217688 21-Jan-2011 pluknet

Make MSGBUF_SIZE kernel option a loader tunable kern.msgbufsize.

Submitted by: perryh pluto.rain.com (previous version)
Reviewed by: jhb
Approved by: kib (mentor)
Tested by: universe


# 215016 08-Nov-2010 jhb

Remove support for autoloading ACPI from the loader. Leave in the code to
detect ACPI and export info such as the location of the RSDP via hints as
that is still useful.


# 213573 08-Oct-2010 uqs

mdoc: drop redundant .Pp and .LP calls

They have no effect when coming in pairs, or before .Bl/.Bd


# 210764 02-Aug-2010 uqs

mdoc: make sure to pass at least one argument to quotation macros


# 188666 16-Feb-2009 thompsa

Add a helper function for loading geli keys from the loader.


# 185692 06-Dec-2008 danger

- correct variable name

PR: docs/129448
Submitted by: Kenyon Ralph <kralph@gmail.com>
MFC after: Revision 1.91 is merged


# 173440 08-Nov-2007 ru

Document the per-arch default value of kern.maxbcache.


# 169399 09-May-2007 sepotvin

Add documentation for the vm.kmem_size_min and vm.kmem_size_max tunables.

Approved by: njl (mentor, blanket)


# 169286 05-May-2007 jmg

fixup talk of kern.maxswzone... It's been 32MB for almost 5 years now...
and only supports just over 7GB of swap...

Sound a bit more professional..

Inspired by: Marc G. Fournier
MFC After: 3 days


# 166486 04-Feb-2007 imp

Document the init_chroot and init_script variables.

# I didn't check the markup too closely, so doc people, please check

Submitted by: Oliver Fromme


# 164739 29-Nov-2006 yar

Note that not all architectures use sendfile(2) buffers;
refer to the respective manpage for details.

MFC after: 3 days


# 163327 13-Oct-2006 ru

Replace a rarely used "depuration" with "debugging".

PR: docs/85127
Submitted by: Gary W. Swearingen (partially)
MFC after: 3 days


# 161471 20-Aug-2006 ru

Make the default "init_path" value breakable, so it fits on the
screen's width, thus eliminating a groff(1) warning.

Suggested by: marck


# 161431 18-Aug-2006 marck

kern.ipc.nmbclusters is sysctl, not compile-time option. Change Dv to Va.

Touch .Dd.

Pointed out by: ru
MFC after: 1 week


# 161429 18-Aug-2006 marck

Remove references to NMBCLUSTERS which is obsoleted.

PR: 100427
Approved by: maxim
MFC after: 1 week


# 158467 12-May-2006 jhb

Remove more Alpha bits from the boot code including fixing several
stale comments.


# 150469 22-Sep-2005 ru

Add loader(8) variables for RB_DFLTROOT, RB_MUTE, and RB_PAUSE:
"boot_dfltroot", "boot_mute", and "boot_pause" respectively.


# 149213 17-Aug-2005 iedowse

Add a "comconsole_speed" loader variable that can be used to change
the serial console speed (i386 and amd64 only). If the previous
stage boot loader requested a serial console (RB_SERIAL or RB_MULTIPLE)
then the default speed is determined from the current serial port
speed. Otherwise it is set to 9600 or the value of BOOT_COMCONSOLE_SPEED
at compile time.

This makes it possible to set the serial port speed once in
/boot.config and the setting will propagate to boot2, loader and
the kernel serial console.


# 147366 14-Jun-2005 ru

Improved markup, fixes some spelling and grammar.

Approved by: re (blanket)


# 146804 30-May-2005 ru

Markup nits.


# 146698 27-May-2005 jhb

- Add support to the loader for multiple consoles.
- Teach the i386 and pc98 loaders to honor multiple console requests from
their respective boot2 binaries so that the same console(s) are used in
both boot2 and the loader.
- Since the kernel doesn't support multiple consoles, whichever console is
listed first is treated as the "primary" console and is passed to the
kernel in the boot_howto flags.

PR: kern/66425
Submitted by: Gavin Atkinson gavin at ury dot york dot ac dot uk
MFC after: 1 week


# 146421 19-May-2005 sobomax

Extend `autoboot_delay' handling - is this variable is set to -1 don't allow
user to interrupt autoboot process at all. Currently, even when
`autoboot_delay' is set to 0, loader(8) still allows autoboot process to be
interrupted by pressing any key on the console when the loader reads kernel
and modules from the disk. In some cases (i.e. untrusted environment) such
behaviour is highly indesirable and user should not be allowed to interfere
with the autoboot process at all.

Sponsored by: PBXpress Inc.
MFC after: 3 days


# 142012 17-Feb-2005 des

Document the new default init_path.

Reminded by: ru
MFC after: 2 weeks


# 138249 01-Dec-2004 scottl

Remove the last vestiges of the userconfig option. None of this actually
did anything, so this commit should be considered a NO-OP.


# 136548 15-Oct-2004 ru

Polish the last change.


# 136525 14-Oct-2004 imp

Document hw.{pci,acpi}.host_start_mem

Requested by: ru@


# 135999 30-Sep-2004 ru

The "autoboot" command also has a third (optional) parameter.


# 135980 30-Sep-2004 ru

Retire now useless userconfig_script_*.


# 135975 30-Sep-2004 ru

The value of $interpret is "OK", in uppercase.


# 135974 30-Sep-2004 ru

Fixed the default value of the $prompt variable, document what
happens if $prompt is unset.


# 135973 30-Sep-2004 ru

Setting dump device from loader(8) has not been supported since 2002.


# 135970 30-Sep-2004 ru

The default value of "bootfile" has been "kernel" since 2000.


# 135967 30-Sep-2004 ru

Document boot_cdrom, boot_multicons, and boot_serial.
Reduce diffs between help.common and loader(8).
Mention that boot_userconfig is currently a no-op.


# 135965 30-Sep-2004 ru

`?' is not the same as "help index".


# 133948 18-Aug-2004 maxim

Bump the manpage date.

Noticed by: ru


# 133947 18-Aug-2004 maxim

Retire hw.pci.allow_unsupported_io_range.

PR: bin/70533
Submitted by: Gavin Atkinson


# 131840 08-Jul-2004 brian

Change the following environment variables to kernel options:

bootp -> BOOTP
bootp.nfsroot -> BOOTP_NFSROOT
bootp.nfsv3 -> BOOTP_NFSV3
bootp.compat -> BOOTP_COMPAT
bootp.wired_to -> BOOTP_WIRED_TO

- i.e. back out the previous commit. It's already possible to
pxeboot(8) with a GENERIC kernel.

Pointed out by: dwmalone


# 131814 08-Jul-2004 brian

Change the following kernel options to environment variables:

BOOTP -> bootp
BOOTP_NFSROOT -> bootp.nfsroot
BOOTP_NFSV3 -> bootp.nfsv3
BOOTP_COMPAT -> bootp.compat
BOOTP_WIRED_TO -> bootp.wired_to

This lets you PXE boot with a GENERIC kernel by putting this sort of thing
in loader.conf:

bootp="YES"
bootp.nfsroot="YES"
bootp.nfsv3="YES"
bootp.wired_to="bge1"

or even setting the variables manually from the OK prompt.


# 131754 07-Jul-2004 ru

mdoc(7) fixes.


# 131489 02-Jul-2004 ru

Fixed what appeared to be a hard sentence break.


# 129310 16-May-2004 ru

Markup fixes.


# 127789 03-Apr-2004 le

mdoc fix: put the end-of-list macro after the last list element.

Approved by: grog (mentor)


# 125091 27-Jan-2004 des

Rename the kern.vm.kmem.size tunable to the more logical vm.kmem_size. To
assure backward compatibility (conditional on !BURN_BRIDGES), look it up
by its old name first, and log a warning (but accept the setting) if it
was found. If both the old and new name are defined, the new name takes
precedence.

Also export vm.kmem_size as a read-only sysctl variable; I find it hard to
tune a parameter when I don't know its default value, especially when that
default value is computed at boot time.


# 117044 29-Jun-2003 brueffer

Capitalize an occurrence of 'ficl' for consistency.

Submitted by: Andre Guibert de Bruet <andy@siliconlandmark.com>
MFC after: 3 days


# 115113 17-May-2003 ru

Fixed the markup and wording of the kern.ipc.nsfbufs tunable.
(It does not modify NSFBUFS, but just overrides it if set.)

Approved by: re (blanket)


# 114654 04-May-2003 murray

Fix a bunch of typos and grammatical errors.

PR: docs/40234
Submitted by: Chris Pepper <pepper@rockefeller.edu> (mostly)
MFC After: 3 days


# 111890 04-Mar-2003 seanc

Document the tunable kern.ipc.nsfbufs in help.common and loader.8. Small
nearby grammar fixup that saves a line of display while in the loader
(help set tunables), but reuses the line for kern.ipc.nsfbufs.

Approved by: roam


# 111852 03-Mar-2003 ru

FreeBSD 5.0 has stopped shipping /modules 2.5 years ago. Catch
up with this further by excluding /modules from the (default)
kern.module_path.


# 110554 08-Feb-2003 trhodes

s/hw.pci_allow_unsupported_io_range/hw.pci.allow_unsupported_io_range/

The former was incorrect and gave an `unknown oid' error.


# 107788 12-Dec-2002 ru

Uniformly refer to a file system as "file system".

Approved by: re


# 107266 26-Nov-2002 yar

Eliminate references to defunct kernel tunables.

Approved by: re
PR: bin/43343


# 106845 13-Nov-2002 mdodd

Document loader tunables hw.pci.enable_io_modes and
hw.pci.allow_unsupported_io_range.

Submitted by: Hiten Pandya <hiten@angelica.unixdaemons.com>
Approved by: re (murray)


# 106842 13-Nov-2002 mdodd

Loader tunable 'machdep.disable_mtrrs'.
Sysctl of same name to reflect status.

Submitted by: jhb
Approved by: re (murray)
MFC after: 1 day


# 102612 30-Aug-2002 iwasaki

s/hint.acpi.0.disable/hint.acpi.0.disabled/

Fix device hints entry for disabling acpi(4).
This also should fix the arbitration with apm(4) when both drivers
are enabled.

Note that your /boot/device.hints needs to be updated if you want to
stop auto-loading acpi.ko or disable acpi(4).


# 101823 13-Aug-2002 ru

mdoc(7) police: revert unapproved changes in rev. 1.43, added missing markup bits in rev. 1.45.


# 101558 09-Aug-2002 obrien

Restore autoloading of ACPI module.

Document the approved ways of disabling it.
Submitted by: Daniel O'Connor <doconnor@gsoft.com.au>


# 100016 15-Jul-2002 keramida

Use present tense in all the verbs, when describing loader's startup.
Most of them are not in a future tense already.


# 99974 14-Jul-2002 charnier

The .Nm


# 97525 29-May-2002 schweikh

Fix a handful of typos and grammar bogons. No content changes.
Translators can ignore this commit.

MFC after: 2 weeks


# 92339 15-Mar-2002 ru

mdoc(7) police: fix a typo and markup.


# 91008 21-Feb-2002 davidc

Document the hw.physmem kernel environment variable.

Reviewed by: alfred


# 89699 23-Jan-2002 sobomax

CG hard sentence breaks.

Submitted by: ru


# 89601 20-Jan-2002 sobomax

Allow dump device be configured as early as possible using loader(8) tunable.
This allows obtaining crash dumps from the panics occured during late stages
of kernel initialisation before system enters into single-user mode.

MFC after: 2 weeks


# 87855 14-Dec-2001 ru

mdoc(7) police: remove hard sentence break which I didn't
submit to Jonathan Mini.


# 87636 10-Dec-2001 jhb

- Add 'fwrite' and 'fseek' words for writing to and seeking on files.
- Change the 'fopen' keyword to accept a mode parameter. Note that this
will break existing 4th scripts that use fopen. Thus, the loader
version has been bumped and loader.4th has been changed to check for a
sufficient version on i386 and alpha. Be sure that you either do a full
world build or install or full build and install of sys/boot after this
since loader.old won't work with the new 4th files and vice versa.

PR: kern/32389
Submitted by: Jonathan Mini <mini@haikugeek.com>
Sponsored by: ClickArray, Inc.


# 87505 07-Dec-2001 rwatson

o Expand list of tunables documented in loader.8 to include kern.maxusers,
since other related tunables were also documented here. Add a cross
reference to tuning(7) for information on setting this value
appropriately.


# 87261 03-Dec-2001 murray

Fix typo.

PR: 32455
Submitted by: "Gary W. Swearingen" <swear@blarg.net>


# 84337 01-Oct-2001 silby

grammar fix: to -> too


# 81955 20-Aug-2001 ru

mdoc(7) police: markup nits.


# 81933 19-Aug-2001 dillon

Limit the amount of KVM reserved for the buffer cache and for swap-meta
information. The default limits only effect machines with > 1GB of ram
and can be overriden with two new kernel conf variables VM_SWZONE_SIZE_MAX
and VM_BCACHE_SIZE_MAX, or with loader variables kern.maxswzone and
kern.maxbcache. This has the effect of leaving more KVM available for
sizing NMBCLUSTERS and 'maxusers' and should avoid tripups where a sysad
adds memory to a machine and then sees the kernel panic on boot due to
running out of KVM.

Also change the default swap-meta auto-sizing calculation to allocate half
of what it was previously allocating. The prior defaults were way too high.
Note that we cannot afford to run out of swap-meta structures so we still
stay somewhat conservative here.


# 81462 10-Aug-2001 ru

mdoc(7) police: join split punctuation to macro calls.


# 79757 15-Jul-2001 dd

Remove whitespace at EOL.


# 73233 28-Feb-2001 ru

Eliminate mdocNG warnings caused by misplaced or extraneous macro calls.


# 71895 01-Feb-2001 ru

mdoc(7) police: split punctuation characters + misc fixes.


# 70405 27-Dec-2000 ru

Prepare for mdoc(7)NG.


# 70020 14-Dec-2000 ru

mdoc(7) police: removed duplicate .Os call.


# 69027 22-Nov-2000 ru

mdoc(7) police: do not split author names in the AUTHORS section.


# 68961 20-Nov-2000 ru

mdoc(7) police: use the new features of the Nm macro.


# 68716 14-Nov-2000 ru

Use Fx macro wherever possible.


# 65622 08-Sep-2000 dcs

Update boot and boot-conf descriptions to reflect new and old changes.
Add a warning in loader(8) that boot might be changed by loader.4th.


# 65042 24-Aug-2000 sheldonh

List loader.conf and friends in the FILES section.

Requested by: obrien


# 64532 11-Aug-2000 dcs

Add missing "is".

PR: 20524
Submitted by: Peter Pentchev <roam@orbitel.bg>


# 62049 25-Jun-2000 mph

Typo fix: tunnable.
Backslash-parsing is not the role of printf(3), but is provided
by the C language.


# 61943 22-Jun-2000 sheldonh

Whitespace-only changes: apply accepted line breaking style as a
pre-cursor to other markup changes.

Accepted in principle by the author.


# 60820 23-May-2000 dcs

Document abial's .#.


# 60710 19-May-2000 dcs

One of loaders' bugs disappeared somewhere along the way.


# 60684 18-May-2000 dcs

Make corrections to allow for Alpha.


# 60006 04-May-2000 dcs

Make documentation on recently added heap? command reflect reality.


# 60005 04-May-2000 dcs

Add "heap?" to loader's man page.


# 60003 04-May-2000 dcs

Further improve ordering.


# 60002 04-May-2000 dcs

Sort entries in FreeBSD-specific FICL commands.


# 50477 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 49191 28-Jul-1999 nik

Fix some typos.

PR: docs/11955
Submitted by: Christian Weisgerber <naddy@mips.rhein-neckar.de>


# 48135 23-Jun-1999 ru

-mdoc fix.


# 47395 22-May-1999 rnordier

Fix a reference to the mysterious Mike Smisth.


# 47011 11-May-1999 jb

Found the needle in the haystack!

Use colons instead of semi-colons in the default init_path to behave like
UNIX instead of DOS.

Suggested by: bde
Reminded by: des (with no hint as to *which* man page).


# 46354 03-May-1999 jkoshy

Correct typos.

PR: docs/11445
Submitted by: Kazuo Horikawa <horikawa@jp.freebsd.org>


# 46074 25-Apr-1999 dcs

Make man page reflect reality on parsing rules. Now I know Jordan
never read this man page... :-)


# 45881 20-Apr-1999 des

Make the location of init(8) tunable at boot time.


# 44780 15-Mar-1999 dcs

The man page, version 0.1.