History log of /freebsd-current/UPDATING
Revision Date Author Comments
# 0d4f7723 15-Nov-2023 Brooks Davis <brooks@FreeBSD.org>

libc: link libsys as a auxiliary filter library

At runtime, when rtld loads libc it will also load libsys. For each
symbol that is present in both, the libsys one will override the libc
one. It continues to be the case that program need only link against
libc (usually implicitly). The linkage to libsys is automatic.

Reviewed by: kib, emaste, imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/908


# c475e61f 21-Dec-2023 Stéphane Rochoy <stephane.rochoy@stormshield.eu>

stand/lua: always allow overriding with local config files

Loader now also read configuration files listed in local_loader_conf_files.
Files listed here are the last ones read. And /boot/loader.conf.local was
moved from loader_conf_files to local_loader_conf_files leaving only
loader.conf and device.hints in loader_conf_files by default.

The idea is to ensure local_loader_conf_files, i.e., /boot/loader.conf.local,
can always be used to override other user defined settings.

So the sequencing is now as follow:

1. Bootstrap:
/boot/defaults/loader.conf

2. Read loader_conf_files files:
/boot/device.hints
/boot/loader.conf

3. Read loader_conf_dirs files:
/boot/loader.conf.d/*.conf

4. And finally, rread local_loader_conf_files files:
/boot/loader.conf.local

Reviewed by: imp, kevans
Pull Request: https://github.com/freebsd/freebsd-src/pull/759


# 5fdf01db 02-Feb-2024 Warner Losh <imp@FreeBSD.org>

Revert "stand/lua: always allow overriding with local config files"

This reverts commit d3d0b735571d9562812ce5b343a6e91f7a795dbe. no mail
sent out, and the commit message was wrong.

Sponsored by: Netflix


# d3d0b735 21-Dec-2023 Stéphane Rochoy <stephane.rochoy@stormshield.eu>

stand/lua: always allow overriding with local config files

Loader now also read configuration files listed in local_loader_conf_files.
Files listed here are the last ones read. And /boot/loader.conf.local was
moved from loader_conf_files to local_loader_conf_files leaving only
loader.conf and device.hints in loader_conf_files by default.

The idea is to ensure local_loader_conf_files, i.e., /boot/loader.conf.local,
can always be used to override other user defined settings.

So the sequencing is now as follow:

1. Bootstrap:
/boot/defaults/loader.conf

2. Read loader_conf_files files:
/boot/device.hints
/boot/loader.conf

3. Read loader_conf_dirs files:
/boot/loader.conf.d/*.conf

4. And finally, rread local_loader_conf_files files:
/boot/loader.conf.local


# 21c1f1de 31-Jan-2024 Gregory Neil Shapiro <gshapiro@FreeBSD.org>

Add a note about sendmail 8.18.1's stricter SMTP protocol enforcement


# d004554a 11-Jan-2024 Rick Macklem <rmacklem@FreeBSD.org>

UPDATING: Add an entry for the __FreeBSD_version bump to 1500010


# 5d4f897f 22-Nov-2023 Warner Losh <imp@FreeBSD.org>

UPDATING: Add unset hint.acpi.0.disabled as workaround for no ACPI

Explicitly add the 'unset hint.acpi.0.disabled' command to work around
this problem.

Sponsored by: Netflix


# 0abe05ae 20-Nov-2023 Warner Losh <imp@FreeBSD.org>

stand: bandaide for acpi

Old binaries do not set acpi.rsdp early enough. So when we boot with an
older loader.efi from an ESP that's not been updated, we assume there's
no ACPI on this system. This is unwise. Put a band-aide on this until we
can implement a proper 'feature' variable that the binary reports so we
can do conditionals for things like this in the future.

This is at best a rapid-response stop-gap.

Glanced at by: kevans
Sponsored by: Netflix


# b2376a5f 15-Nov-2023 Warner Losh <imp@FreeBSD.org>

Revert "awk: Merge upstream 2nd Edition Awk Book"

The pre-push testing I did turned out to be testing the old version with
the old testsuite (for reasons I don't understnad). There's issues with
the new version, the new test in the suite or (likely) both. Revert
until they can be chased down.

This should also fix the github CI that's gone red since this commit.

This reverts commit 3fd60a6b73ac01a72df89751f173970fae4cae73, reversing
changes made to 194df014feebd8b169b41ecd75ae73d63a792d6b.

Sponsored by: Netflix


# ec4c2adb 13-Nov-2023 Brooks Davis <brooks@FreeBSD.org>

Retire LLD_IS_LD option

The option was added to parallel the CLANG_IS_CC which was removed in
commit 20a66ab4bf8511e51e11321b775d36c92e77fa69.

Reviewed by: imp, dim, emaste
Differential Revision: https://reviews.freebsd.org/D42575


# 0527c9bd 31-Oct-2023 Warner Losh <imp@FreeBSD.org>

ino64: Remove 'forward compat' code for this

Forward compatibility code was added for running newer ino64 binaries on
older kernels as a transition aide. Now that ino64 has been in the tree
6 years, this code is no longer useful and should have been removed long
ago. Remove it now. Should be no user-visible changes at this point as
all the 'upgrade' scenarios it was intended for are long since past.

Also need to remove this stuff from rtld since the _foo versions
no longer exist.

Sponsored by: Netflix
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D42382


# cb0259b6 26-Oct-2023 Warner Losh <imp@FreeBSD.org>

UPDATING: Document branch creation

Document when stable/12, stable/13 and stable/14 were created. Once we
release 14.0, I'll trim the stable/11 branchpoint through stable/12
brnachpoint. Documenting all of these will make it easier in the future.

Sponsored by: Netflix


# fb7140b1 18-Oct-2023 Rick Macklem <rmacklem@FreeBSD.org>

UPDATING: Add entry for commit 57ce37f9dcd0


# 261cda20 12-Oct-2023 Ceri Davies <ceri@FreeBSD.org>

UPDATING: fix typo


# bb63e82e 10-Oct-2023 Baptiste Daroussin <bapt@FreeBSD.org>

bsddialog(1): document the replacement of dialog(1)


# da695970 26-Sep-2023 Ed Maste <emaste@FreeBSD.org>

UPDATING: add a note about EARLY_AP_STARTUP on x86

Requested by: wollman (in D41351)


# 366ef17b 22-Sep-2023 Zhenlei Huang <zlei@FreeBSD.org>

UPDATING: add entry for the new loader tunnable net.pf.default_to_drop


# 4ff9d270 17-Sep-2023 Doug Rabson <dfr@FreeBSD.org>

pkgbase: Add instructions for upgrading past 78847e1

The pkg solver gets confused by the file moves and refuses to upgrade
without manually upgrading FreeBSD-utilities and FreeBSD-utilities-dev
first.

PR: 254173, 273859
MFC after: 1 week
Reviewed by: Mina Galić <freebsd@igalic.co>
Differential Revision: https://reviews.freebsd.org/D41892


# 74da9c39 14-Sep-2023 Doug Rabson <dfr@FreeBSD.org>

pkgbase: Split out manpages by default

This helps with building small container images using pkgbase.

Reviewed by: manu bapt
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D41861


# d2c839ee 13-Sep-2023 Dag-Erling Smørgrav <des@FreeBSD.org>

Belatedly document OPIE removal in RELNOTES and UPDATING.

MFC after: 3 days
Reviewed by: imp, emaste
Differential Revision: https://reviews.freebsd.org/D41822


# c1b26df2 09-Sep-2023 Zhenlei Huang <zlei@FreeBSD.org>

UPDATING: Document the change that enable vnet sysctl variables to be loader tunable


# 48d05737 01-Sep-2023 Brooks Davis <brooks@FreeBSD.org>

UPDATING: typo fox

Fixes: 2befa269b869c810b4436b7b5fe922ac3278ee5e
Reported by: jrtc27


# 2befa269 01-Sep-2023 Brooks Davis <brooks@FreeBSD.org>

Add INIT_ALL build option

This option replaces WITH_INIT_ALL_PATTERN and WITH_INIT_ALL_ZERO with
INIT_ALL=pattern and INIT_ALL=zero respectively. As these are
relatively rarely used options no backwards compatibility is
implemented.

Reviewed by: emaste
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D41675


# 52c1066f 24-Aug-2023 Glen Barber <gjb@FreeBSD.org>

UPDATING: add entry for 15.0-CURRENT

Sponsored by: GoFundMe https://www.gofundme.com/f/gjbbsd
Sponsored by: PayPal https://paypal.me/gjbbsd


# aee253d8 24-Aug-2023 Glen Barber <gjb@FreeBSD.org>

update main to 15

Approved by: re (implicit)
Sponsored by: GoFundMe https://www.gofundme.com/f/gjbbsd
Sponsored by: PayPal https://paypal.me/gjbbsd


# edacf4b4 18-Aug-2023 Graham Perrin <grahamperrin@FreeBSD.org>

UPDATING: fix a typo, adjust a white space

From:

> … chagned. boot0sio …

to:

> … changed. boot0sio …

Fixes: 4722ceb7d53e Use 115200 bps by default for serial communication


# 4722ceb7 17-Aug-2023 Ed Maste <emaste@FreeBSD.org>

Use 115200 bps by default for serial communication

9600 was a standard baud rate decades ago, but 115200 is now more common
so choose defaults that are useful to the largest number of users.

Note that boot0sio does not support rates above 9600 so it remains
unchanged.

Reviewed by: bz, imp, manu
Relnotes: Yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D36295


# 05248206 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line bare tag

Remove /^\s*\$FreeBSD\$$\n/


# 37c8ee88 07-Aug-2023 Marius Strobl <marius@FreeBSD.org>

ath(4): Remove MIPS AHB frontend and join PCI one w/ main support again

Following the removal of general MIPS support, there's no longer a need
to have the AHB bus-frontend in place, which according to Linux sources
also isn't used with any non-MIPS SoCs. For simplicity, PCI bus support
is only made conditional on the main one again, i. e. device ath_pci is
removed, and built into the main module, i. e. if_ath_pci.ko obsoleted,
respectively.
Effectively, this reverts the following commits and associated changes:
dba9c8597747c6c9bf3d2ec68f7eb90552878dc7
e849bb3ecbb1963344a22ae77fc96f89fbebf40c

Approved by: adrian
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D41354


# 9051987e 30-Sep-2022 Ed Maste <emaste@FreeBSD.org>

amd64: Bump MAXCPU to 1024 (from 256)

Hardware with more than 256 CPU cores is currently available and will
become increasingly common over FreeBSD 14's lifetime. Increase MAXCPU
in the amd64 GENERIC kernel configuration to 1024.

Earlier commits increased some related limits. These prerequisite
commits include at least:

- d7ed40243769 Increase MAX_APIC_ID safeguard to 0x800
- d1639e43c589 cpuset: increase userland maximum size to 1024

Global and allocated arrays sized by MAXCPU result in excessive bloat
on systems with lower core counts. In addition, some code used u_char
(8 bits) to hold a CPU index, which is not valid if MAXCPU is greater
than 256.

A number of recent commits addressed these sorts of issues, including
at least:

- 133935d26f20 pf: atomically increment state ids
- 74ac712f72cf vmm: Dynamically allocate a couple of per-CPU state save areas
- 78cfa762ebf2 callout: Move per-CPU callout state into the dpcpu region
- 42f722e721cd amd64: store pcids pmap data in pcpu zone
- 9801e7c275f6 smp_topo: dynamically allocate group array
- 9fb6718d1b18 smp: Dynamically allocate the stoppcbs array
- 2bb16c635249 x86: retire use of intr_bind

There are some additional allocations still to be converted and
more scalability work is required to make effective use of very high
core count systems, but this change allows us to boot on these systems
and provides a Kernel Binary Interface (KBI) for the FreeBSD 14 release
that supports these configurations.

Special thanks to AMD for providing hardware to test these changes.

PR: 269572
Reviewed by: des
Relnotes: Yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D36838


# 814722d2 24-Jul-2023 Warner Losh <imp@FreeBSD.org>

UPDATING: Update nvd info

Sponsored by: Netflix


# f475b710 24-Jul-2023 Warner Losh <imp@FreeBSD.org>

UPDATING: Note CAM update

Not the update to standard uintXX_t from the traditional BSD u_intXX_t
types.

Sponsored by: Netflix


# 319d2bf4 29-Jun-2023 Warner Losh <imp@FreeBSD.org>

atkbc: Better test for old chromebooks

Older Chromebooks have issues in their embedded controller (EC) firmware
which need working around in atkbd and atkbdc. On these systems, rather
than use a standard EC, Google used their own arm-based EC. For a while,
its firmware incorrectly implemented the i8042, requiring workaroundsd
in the driver.

Implement a heuristic recommended by MrChromebox <mrchromebox@gmail.com>
to detect them: If the bios.version starts with Google_, or the maker is
either Google or GOOGLE, assume that it's a chromebook with the affected
bios. While this isn't strictly true, the number of updated systems
without the bug is very small and this will exclude all the non-Google
coreboot user that use a standard EC. There's no simple way to test the
hardware to see if it's implemented with the buggy EC.

Sponsored by: Netflix
Reviewed by: jon@thesoo.org, MrChromebox
Differential Revision: https://reviews.freebsd.org/D40789


# 564c5314 24-Jun-2023 Ed Maste <emaste@FreeBSD.org>

UPDATING: Add OpenSSL 3.0 update


# 3a1f834b 20-Jun-2023 Doug Rabson <dfr@FreeBSD.org>

pf: Add code to enable filtering for locally delivered packets

This is disabled by default since it potentially changes the behavior of
existing filter rule sets. To enable this extra filter for packets being
delivered locally, use:

sysctl net.pf.filter_local=1
service pf restart

PR: 268717
Reviewed-by: kp
MFC-after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D40373


# 21850106 13-Jun-2023 Dag-Erling Smørgrav <des@FreeBSD.org>

libtacplus: Allow additional AV pairs to be configured.

* Replace hand-rolled input tokenizer with openpam_readlinev() which supports line continuations and has better quoting and escaping.
* Simplify string handling by merging struct clnt_str and struct srvr_str into just struct tac_str.
* Each server entry in the configuration file can now have up to 255 AV pairs which will be appended to the ones returned by the server in response to a successful authorization request.

This allows nss_tacplus(8) to be used with servers which do not provide identity information beyond confirming the existence of the user.

This adds a dependency on libpam, however libtacplus is currently only used by pam_tacplus(8) (which is already always used with libpam) and the very recently added nss_tacplus(8) (which is extremely niche). In the longer term it might be a good idea to split this out into a separate library.

MFC after: 1 week
Sponsored by: Klara, Inc.
Reviewed by: pauamma_gundo.com, markj
Differential Revision: https://reviews.freebsd.org/D40285
Relnotes: yes


# bd76e4c8 13-Jun-2023 Warner Losh <imp@FreeBSD.org>

UPDATING: Add note about nvd aliases

Add note about nvd alias disabling to UPDATING so it's easily at hand.

Sponsored by: Netflix


# bdc81eed 12-Jun-2023 Warner Losh <imp@FreeBSD.org>

nvme: Switch to nda by default

We already run nda by default on all the !x86 architectures. Switch the
default to nda. nda created nvd compatibility links by default, so this
should be a nop. If this causes problems for your application, set
hw.nvme.use_nvd=1 in your loader.conf.

Sponsored by: Netflix


# ddea995d 14-May-2023 Graham Perrin <grahamperrin@gmail.com>

Update UPDATING

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/712


# df53ae0f 22-Apr-2023 Colin Percival <cperciva@FreeBSD.org>

Remove portsnap(8)

Rather than having a tool in the FreeBSD base system for obtaining
the FreeBSD ports tree, users are encouraged to `pkg install git`
and then `git clone https://git.FreeBSD.org/ports.git /usr/ports`.

The portsnap servers will continue operating until FreeBSD 13 reaches
its End-of-Life, and portsnap is available from the ports tree as
ports-mgmt/portsnap.

Requested by: portmgr
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D39563
X-MFC: no


# 0df4d8ad 20-Apr-2023 Simon J. Gerraty <sjg@FreeBSD.org>

Add jobs.mk to allow for target-jobs

jobs.mk automates -j$JOB_MAX and capturing build log based on target.

Compute a default for JOB_MAX in local.sys.mk

Reviewed by: stevek, imp
Differential Revision: https://reviews.freebsd.org/D39683


# a4f8318a 16-Mar-2023 Emmanuel Vadot <manu@FreeBSD.org>

UPDATING: Document arm video devices renaming.

Sponsored by: Beckhoff Automation GmbH & Co. KG
Reviewed by: andrew
Differential Revision: https://reviews.freebsd.org/D39121


# 9b70ce71 20-Feb-2023 Michael Paepcke <git@paepcke.de>

UPDATING

Add notice to kernel options KBD_DELAY1 and KBD_DELAY2

Reviewed by: imp (tweaked whitespace too)
Pull Request: https://github.com/freebsd/freebsd-src/pull/649


# c92790b3 10-Feb-2023 Michael Paepcke <git@paepcke.de>

UPDATING: add UPDATING section for HUAWEI 3G/4G Devices change

help users to migrate existing devices

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/645


# 77934b7a 14-Nov-2022 Ed Maste <emaste@FreeBSD.org>

ssh: default X11Forwarding to no, following upstream

Administrators can enable it if required.

Reviewed by: bz, kevans
Relnotes: Yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D37411


# bf2dc42d 30-Jan-2023 Warner Losh <imp@FreeBSD.org>

UPDATING: Add missing blank line between entries


# 6eaaed42 30-Jan-2023 Alexander V. Chernikov <melifaro@FreeBSD.org>

netlink: add UPDATING entry on linux_common(4) reliance on netlink.

Reviewed by: dchagin


# ac4c695a 16-Nov-2022 Ed Maste <emaste@FreeBSD.org>

Retire WITHOUT_CXX option

Several important base system components are written in C++, and the
WITHOUT_CXX option produced a system that was not fully functional.
Just accept this, and remove the option to build without C++ support.

This reverts commit adc3c128c6603054586a993d117e5dd808deac17.

Reviewed by: brooks, kevans, jhb (earlier)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D33108


# 62adb1e9 23-Jan-2023 Warner Losh <imp@FreeBSD.org>

UPDATING: fix typo

I'd forgotten to fix this from the review, and a couple of people have
pointed it out after the commit.

Sponsored by: Netflix


# e8c1bd72 20-Jan-2023 Warner Losh <imp@FreeBSD.org>

UPDATING: Remove old entries

Belatedly remove the entries older than the stable/11 branch point after
stable/13 was created. This should be done shortly after the branch, not
well after the branch point.

Document this policy in UPDATING, though other checklists should likely
be updated as well.

Sponsored by: Netflix
Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D37514


# 0cd61266 20-Jan-2023 Warner Losh <imp@FreeBSD.org>

UPDATING: update notes on EFI booting

The notes on EFI booting and updating for ZFS had become dated and only
partially updated. Expand the notes with a few more details and a
pointer to laoder.efi(8) and uefi(8).

Sponsored by: Netflix
Discussed with: pauamma, karels
Differential Revision: https://reviews.freebsd.org/D36629


# 4b56afaf 28-Nov-2022 Bjoern A. Zeeb <bz@FreeBSD.org>

LinuxKPI: implement irq_get_msi_desc()

Add irq_get_msi_desc() as a wrapper around a PCI function which will
allocate a single cached value (see comment on struct) for the
msi_desc requested if it doesn't exist yet and handle freeing it
when the PCI device goes away. We take the values from the ivars of
the native (FreeBSD) device.

While changing struct pci_dev also add the msi_cap field requested by
a wireless driver.

Bump __FreeBSD_version so these changes can be detected.

MFC after: 3 days
X-MFC: move fields to end of struct (alloc happens in linux_pci.c)
Reviewed by: hselasky (earlier version)
Differential Revision: https://reviews.freebsd.org/D37523


# 86edb11e 18-Nov-2022 Ed Maste <emaste@FreeBSD.org>

Always install llvm-objdump as objdump

Instead of providing no /usr/bin/objdump when LLVM_BINUTILS is false.

PR: 267854 [exp-run]
Reviewed by: dim
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D37445


# 3cf97e91 05-Dec-2022 Warner Losh <imp@FreeBSD.org>

Revert "newbus: Change attach failure behavior"

This reverts commit 68c3f0302106643207dcdfe3b414810e245228e5. There are
some weird crashes when KVMs switch caused by this, so revert this
commit until they are sorted out.

Reported by: cy@
Sponsored by: Netflix


# 4d13184a 05-Dec-2022 Baptiste Daroussin <bapt@FreeBSD.org>

UPDATING: add notes on how to reenable sendmail


# cc564d23 05-Dec-2022 Warner Losh <imp@FreeBSD.org>

UPDATING: Fix typo

Noticed by: Gary Jennejohn
Sponsored by: Netflix


# 68c3f030 04-Dec-2022 Warner Losh <imp@FreeBSD.org>

newbus: Change attach failure behavior

In the rare case that we succeed in probing, but fail to attach, flip
the default to be to disable the
device. hw.bus.disable_failed_devices=false is no required to restore
the old behavior. The old behavior dates form a time when dynamic
control of devices wasn't yet present (devctl didn't exist). Now that
one can retry probe/attach the device with devctl, the default doesn't
make sense: The more desirable behaivor is to have stable device numbers
when one has several instances of the same device in a system (common
for NICs or HBAs).

Reviewed by: jhb (verbal)
Sponsored by: Netflix


# 88e858e5 22-Nov-2022 Kristof Provost <kp@FreeBSD.org>

pf: drop support for fragment crop|drop-ovl

We removed the code for these modes back in 2015, but converted such
configurations to 'scrub fragment reassemble'. It's been long enough,
drop the backwards compatibility glue too.

Reviewed by: mjg
MFC after: never
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D37460


# 17101a25 27-Nov-2022 Alexander Leidinger <netchild@FreeBSD.org>

Revert "Remove UPDATING entries from old branches."

This reverts commit ff0c7816db696d31adc437134dcad45a70ad5889 as more
history than just from branch N-1 to N is requested/needed by some
downstram consumers.

Requested by: imp


# ff0c7816 25-Nov-2022 Alexander Leidinger <netchild@FreeBSD.org>

Remove UPDATING entries from old branches.

We only support updates from major version N to N+1:
stable/13 was branched on 20210122, remove all old entries from stable/10
branch point in 2013 to 20210122.


# 20a66ab4 29-Sep-2022 Ed Maste <emaste@FreeBSD.org>

Retire CLANG_IS_CC option

A small reduction in build infrastructure complexity; when we had both
Clang and GCC in the tree it was useful to have both built, and choose
one or the other to install as /usr/bin/cc. Now only Clang is in the
tree, and there is no point in building and installing base Clang but
not providing it as cc (and c++, cpp).

Reviewed by: imp
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D37075


# 8aa64f30 26-Oct-2022 Ed Maste <emaste@FreeBSD.org>

UPDATING: correct spearate typo

Reported by: manu
Fixes: 9c36300582ec ("UPDATING: add an introductory...")


# 9c363005 26-Oct-2022 Ed Maste <emaste@FreeBSD.org>

UPDATING: add an introductory sentence to 20221026's entry


# 5575454d 26-Oct-2022 Emmanuel Vadot <manu@FreeBSD.org>

UPDATING: Add note for pkgbase users after splitting packages.


# 0e981d79 20-May-2022 Bjoern A. Zeeb <bz@FreeBSD.org>

LinuxKPI: move pm_message_t from kernel.h to pm.h

Move pm_message_t from kernel.h to pm.h and remove a private define
in usb.h as well as adjust the implementation in linux_usb.c.
This cleans up what I believe to be a historic shortcut and is
needed for future wireless driver updates.

Leave a note in UPDATING that drm-kmod users need to update to the
latest version before re-compiling a new kernel to avoid errors
(see PR).

Sponsored by: The FreeBSD Foundation
MFC after: 3 days
PR: 264449 (drm-kmod port update, thanks wulf)
Obtained from: bz_git_iwlwifi (Dec 2020) (partly)
Reviewed by: hselasky, imp
Differential Revision: https://reviews.freebsd.org/D35276


# bde57090 10-Apr-2022 Gordon Bergling <gbe@FreeBSD.org>

UPDATING: Fix a few typos

- s/configuation/configuration/
- s/comitted/committed/
- s/verison/version/

MFC after: 3 days


# 75fccd67 09-Apr-2022 Gordon Bergling <gbe@FreeBSD.org>

UPDATING: Remove a double word in an entry

- s/for for/for/

MFC after: 3 days


# 9ad859da 31-Jan-2022 Gordon Tetlow <gordon@FreeBSD.org>

Fix minor grammar nit.


# 45b6b376 23-Jan-2022 Cy Schubert <cy@FreeBSD.org>

UPDATING: Sort by date

I still didn't sort it right.

Pointy hat to: cy


# 8303b8ff 23-Jan-2022 Cy Schubert <cy@FreeBSD.org>

UPDATING: Sort by date

Sort unbound entry by date.


# 72d0d523 23-Jan-2022 Cy Schubert <cy@FreeBSD.org>

UPDATING: Document unbound support of RFC8375

As of unbound 1.14.0rc1, as per RFC8375 unbound by default blocks
'home.arpa'. Document this new behaviour and how to unblock it.

Reported by: avg
Discussed with: glebius, avg
RFC: 8375, Section 6: Security Considerations


# e2650af1 29-Dec-2021 Stefan Eßer <se@FreeBSD.org>

Make CPU_SET macros compliant with other implementations

The introduction of <sched.h> improved compatibility with some 3rd
party software, but caused the configure scripts of some ports to
assume that they were run in a GLIBC compatible environment.

Parts of sched.h were made conditional on -D_WITH_CPU_SET_T being
added to ports, but there still were compatibility issues due to
invalid assumptions made in autoconfigure scripts.

The differences between the FreeBSD version of macros like CPU_AND,
CPU_OR, etc. and the GLIBC versions was in the number of arguments:
FreeBSD used a 2-address scheme (one source argument is also used as
the destination of the operation), while GLIBC uses a 3-adderess
scheme (2 source operands and a separately passed destination).

The GLIBC scheme provides a super-set of the functionality of the
FreeBSD macros, since it does not prevent passing the same variable
as source and destination arguments. In code that wanted to preserve
both source arguments, the FreeBSD macros required a temporary copy of
one of the source arguments.

This patch set allows to unconditionally provide functions and macros
expected by 3rd party software written for GLIBC based systems, but
breaks builds of externally maintained sources that use any of the
following macros: CPU_AND, CPU_ANDNOT, CPU_OR, CPU_XOR.

One contributed driver (contrib/ofed/libmlx5) has been patched to
support both the old and the new CPU_OR signatures. If this commit
is merged to -STABLE, the version test will have to be extended to
cover more ranges.

Ports that have added -D_WITH_CPU_SET_T to build on -CURRENT do
no longer require that option.

The FreeBSD version has been bumped to 1400046 to reflect this
incompatible change.

Reviewed by: kib
MFC after: 2 weeks
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D33451


# dd55767b 14-Dec-2021 Warner Losh <imp@FreeBSD.org>

Test various header files to ensure they can be included by themselves.

A number of header files in sys/* have, going back to 7th Edition Unix
in 1979, reqiured other files (like sys/types.h) to compile. Likewise
the 4BSD networking code has had prerequisites. However, going back to
around the turn of the 21st century, other systems have made them be
independently include-able (wide-spread header include protection
post-dates 7th edition Unix by maybe 3 or so years judging from USENET
source postings). Start down the path of making them all independently
include-able by creating this test that fails buildworld when they are
not.

The file 'badfiles.inc' contains a list of the currently broken files
that cannot be included w/o any prerequisites. As files are fixed, 'make
badfiles.inc' should be re-run to remove them from the list. Note: All
files that start with an underscore are considered internal and not
tested.

Please note: once a file is removed from badfiles.inc, it must pass on
all architectures. Buildworld through at least the _includes target is
needed to ensure its working (though a buildkernel should also be done
on all architectures as well).

Sponsored by: Netflix
Reviewed by: brooks, markj
Differential Revision: https://reviews.freebsd.org/D32498


# 56e4bee1 14-Dec-2021 Warner Losh <imp@FreeBSD.org>

UPDATING: Add warning about NO_CLEAN build after turning off llvm mips target

Due to the way that we configure llvm, there's a problem with NO_CLEAN
builds. The *.def files listed in the commit change their behavior based
on command line arguments. Since my flipping the default of the mips
target, this meant there were .o files that were now inconsistent with
how we'll now compile things, leading to errors. By touching the *.def
files list, one can workaround this problem.

Noticed by: jhb
Sponsored by: Netflix


# b8cacb38 09-Dec-2021 Warner Losh <imp@FreeBSD.org>

mips: Remove mips as a recognized build target.

Remove mips as a recognized build target in advance of its removal from
the tree.

Sponsored by: Netflix


# 67301655 09-Dec-2021 Warner Losh <imp@FreeBSD.org>

Belatedly note that mips has been removed from universe/tinderbox builds
and that mips will be removed from the tree soon.

Sponsored by: Netflix


# d6953863 11-Nov-2021 Randall Stewart <rrs@FreeBSD.org>

Add in the commit revision to the UPDATING file for the CC changes

The UPDATING file had a xxx for the CC changes commit, now that its
committed fix that.


# b8d60729 11-Nov-2021 Randall Stewart <rrs@FreeBSD.org>

tcp: Congestion control cleanup.

NOTE: HEADS UP read the note below if your kernel config is not including GENERIC!!

This patch does a bit of cleanup on TCP congestion control modules. There were some rather
interesting surprises that one could get i.e. where you use a socket option to change
from one CC (say cc_cubic) to another CC (say cc_vegas) and you could in theory get
a memory failure and end up on cc_newreno. This is not what one would expect. The
new code fixes this by requiring a cc_data_sz() function so we can malloc with M_WAITOK
and pass in to the init function preallocated memory. The CC init is expected in this
case *not* to fail but if it does and a module does break the
"no fail with memory given" contract we do fall back to the CC that was in place at the time.

This also fixes up a set of common newreno utilities that can be shared amongst other
CC modules instead of the other CC modules reaching into newreno and executing
what they think is a "common and understood" function. Lets put these functions in
cc.c and that way we have a common place that is easily findable by future developers or
bug fixers. This also allows newreno to evolve and grow support for its features i.e. ABE
and HYSTART++ without having to dance through hoops for other CC modules, instead
both newreno and the other modules just call into the common functions if they desire
that behavior or roll there own if that makes more sense.

Note: This commit changes the kernel configuration!! If you are not using GENERIC in
some form you must add a CC module option (one of CC_NEWRENO, CC_VEGAS, CC_CUBIC,
CC_CDG, CC_CHD, CC_DCTCP, CC_HTCP, CC_HD). You can have more than one defined
as well if you desire. Note that if you create a kernel configuration that does not
define a congestion control module and includes INET or INET6 the kernel compile will
break. Also you need to define a default, generic adds 'options CC_DEFAULT=\"newreno\"
but you can specify any string that represents the name of the CC module (same names
that show up in the CC module list under net.inet.tcp.cc). If you fail to add the
options CC_DEFAULT in your kernel configuration the kernel build will also break.

Reviewed by: Michael Tuexen
Sponsored by: Netflix Inc.
RELNOTES:YES
Differential Revision: https://reviews.freebsd.org/D32693


# e641c29a 07-Feb-2021 Dries Michiels <driesm@FreeBSD.org>

UPDATING: Change update procedure to use etcupdate(8) over mergemaster(8)

This commit aligns the steps in UPDATING with the steps from the
handbook which already prefers etcupdate(8). While here also remove a
dubious comment.

PR: 252417
Reviewed by: ceri
Approved by: philip (mentor), imp
Differential Revision: https://reviews.freebsd.org/D28062


# 25b0021d 06-Nov-2021 Rick Macklem <rmacklem@FreeBSD.org>

UPDATING: Add entry for commit f0c9847a6c47


# 6aae3517 20-Oct-2021 Gleb Smirnoff <glebius@FreeBSD.org>

Retire synchronous PPP kernel driver sppp(4).

The last two drivers that required sppp are cp(4) and ce(4).

These devices are still produced and can be purchased
at Cronyx <http://cronyx.ru/hardware/wan.html>.

Since Roman Kurakin <rik@FreeBSD.org> has quit them, they no
longer support FreeBSD officially. Later they have dropped
support for Linux drivers to. As of mid-2020 they don't even
have a developer to maintain their Windows driver. However,
their support verbally told me that they could provide aid to
a FreeBSD developer with documentaion in case if there appears
a new customer for their devices.

These drivers have a feature to not use sppp(4) and create an
interface, but instead expose the device as netgraph(4) node.
Then, you can attach ng_ppp(4) with help of ports/net/mpd5 on
top of the node and get your synchronous PPP. Alternatively
you can attach ng_frame_relay(4) or ng_cisco(4) for HDLC.
Actually, last time I used cp(4) back in 2004, using netgraph(4)
instead of sppp(4) was already the right way to do.

Thus, remove the sppp(4) related part of the drivers and enable
by default the negraph(4) part. Further maintenance of these
drivers in the tree shouldn't be a big deal.

While doing that, remove some cruft and enable cp(4) compilation
on amd64. The ce(4) for some unknown reason marks its internal
DDK functions with __attribute__ fastcall, which most likely is
safe to remove, but without hardware I'm not going to do that, so
ce(4) remains i386-only.

Reviewed by: emaste, imp, donner
Differential Revision: https://reviews.freebsd.org/D32590
See also: https://reviews.freebsd.org/D23928


# 6ae38ab4 20-Oct-2021 Baptiste Daroussin <bapt@FreeBSD.org>

UPDATING: fix style

Reported by: danfe


# d410b585 19-Oct-2021 Baptiste Daroussin <bapt@FreeBSD.org>

sh(1): make it the default shell for the root user

In the recent history sh(1) has gain the missing features for it to
become a usable interractive shell:
- command completion
- persistent history support
- improvements on the default bindings in emacs mode
- improvements in the vi mode (repect $EDITOR)
- print a newline when exiting via ^D
- default prompt and improvements on how PS1 can be configured
- and more.

This changes also simplifies making tiny freebsd images with only sh(1)
as a shell


# 16f1ee11 04-Oct-2021 Baptiste Daroussin <bapt@FreeBSD.org>

ncurses: document in UPDATING and bump _FreeBSD_version


# 8bc5971b 04-Oct-2021 Hans Petter Selasky <hselasky@FreeBSD.org>

UPDATING: Update notes about new mixer(8) utility.

Differential Revision: https://reviews.freebsd.org/D31636
Sponsored by: NVIDIA Networking


# 9cce0ef9 24-Sep-2021 Kristof Provost <kp@FreeBSD.org>

UPDATING: new entry about dummynet

Dummynet now no longer requires ipfw, so any users relying on this
dependency to load ipfw will need to explicitly load ipfw.

While here fix a typo in the date of the previous entry.

Sponsored by: Rubicon Communications, LLC ("Netgate")


# 90f6610b 23-Sep-2021 Hans Petter Selasky <hselasky@FreeBSD.org>

UPDATING: Fix spelling.

Submitted by: gljennjohn@gmail.com
Differential Revision: https://reviews.freebsd.org/D31636
Sponsored by: NVIDIA Networking


# 0e94a306 22-Sep-2021 Hans Petter Selasky <hselasky@FreeBSD.org>

UPDATING: Add new entry about mixer(8) usage.

Differential Revision: https://reviews.freebsd.org/D31636
Sponsored by: NVIDIA Networking


# ae87a08c 11-Sep-2021 Rick Macklem <rmacklem@FreeBSD.org>

UPDATING: Add entry for commit 55089ef4f8bb


# 671a35b1 17-Aug-2021 John Baldwin <jhb@FreeBSD.org>

UPDATING: Add a note about OpenSSL defaulting KTLS to off.

Sponsored by: Netflix
MFC after: 5 days
Differential Revision: https://reviews.freebsd.org/D31444


# a3ff18e2 11-Aug-2021 Rick Macklem <rmacklem@FreeBSD.org>

UPDATING: Add an entry for commit 3ad1e1c1ce20


# a191b401 30-Jul-2021 Kristof Provost <kp@FreeBSD.org>

UPDATING: fix incorrect hash

Pointed out by: lwhsu


# 34129003 14-Jul-2021 Kristof Provost <kp@FreeBSD.org>

UPDATING: Document the removal of DIOCGETSTATESNV

MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")


# 728958fb 29-Jul-2021 Kristof Provost <kp@FreeBSD.org>

UPDATING: document if_bridge MTU changes

Sponsored by: Rubicon Communications, LLC ("Netgate")


# 7fa21b6d 16-Jul-2021 Rick Macklem <rmacklem@FreeBSD.org>

UPDATING: Add entry for commit ee29e6f31111


# 5ede4fc0 15-Jul-2021 Warner Losh <imp@FreeBSD.org>

UPDATING: Not unusual side effect of the awk bug fixed in d4d252c49976

You might not be able to build the kernel if you have an awk between
Jul 7th and today. It does not affect all platforms due to the nature
of the bug (so amd64 is unaffected in stable/13 or current, but
is affected in stable/12. i386 seems to be affected everywhere).

Sponsored by: Netflix


# a65fe39d 08-Jul-2021 Warner Losh <imp@FreeBSD.org>

UPDATING: fix typo

The correct version is 20210215, not 20120215 :(

Reported by: Yasuhiro Kimura
Fixes: 3f7b23177f1d
Sponsored by: Netflix


# 3f7b2317 08-Jul-2021 Warner Losh <imp@FreeBSD.org>

UPDATING: Note awk upgraded to upstream one-true-awk 20210215.

The updating entry can be used for release notes. I'll merge this to
stable/12 and stable/13 to make sure it gets into thier release notes.

Relnotes: yes
Sponsored by: Netflix


# bd597b81 08-Jul-2021 Rick Macklem <rmacklem@FreeBSD.org>

UPDATING: Add an entry for commit 1e0a518d6548


# 857cde69 28-Jun-2021 Maigurs Stalidzans <maigurs.stalidzans@icloud.com>

UPDATING: Fix typos / improve langauge

This fixes a couple of typos in older entries, and clarifies the
language of a newer one. It also removes a joke that trips up
foreign readers due its use of faux archaic English.

Reviewed by: imp@


# b49ba74d 24-Jun-2021 Rick Macklem <rmacklem@FreeBSD.org>

nfscl: Add entries to UPDATING and RELNOTES for commit a145cf3f73c7


# 800e82d1 22-Jun-2021 Maigurs Stalidzans <maigurs.stalidzans@icloud.com>

UPDATING: Fix typo

Revired by: imp@
Sponsored by: Netflix


# 41dfd8bd 18-Jun-2021 Bjoern A. Zeeb <bz@FreeBSD.org>

Bump __FreeBSD_version to 1400024 for LinuxKPI change.


# 64e6e1e4 18-Jun-2021 Ceri Davies <ceri@FreeBSD.org>

secure/caroot, certctl: Rename secure/caroot/blacklisted

Old certctl commands still work for compatability, but are deprecated.

Approved by: secteam (gordon)
Differential Revision: https://reviews.freebsd.org/D30807


# 7cf9caf2 12-Jun-2021 Warner Losh <imp@FreeBSD.org>

updating: note recent removals


# 5860696e 11-Jun-2021 Rick Macklem <rmacklem@FreeBSD.org>

UPDATING: Add entry for __FreeBSD_version bump to 1400022


# f530cce5 08-Jun-2021 Ed Maste <emaste@FreeBSD.org>

UPDATING: correct typo

Sponsored by: The FreeBSD Foundation


# b3823943 08-Jun-2021 Warner Losh <imp@FreeBSD.org>

updating: add note about vendor/openzfs branch rename

Add a pointer to
https://lists.freebsd.org/archives/freebsd-current/2021-June/000153.html
to explain how to pull a new tree due to the vendor/openzfs branch
being renamed.

Reviewed by: lwhsu@
Sponsored by: Netflix


# d72cd275 25-May-2021 Bjoern A. Zeeb <bz@FreeBSD.org>

Bump __FreeBSD_version to 1400015 for LinuxKPI changes.

Commits 17accc08ae15 and de102f870501 add new files to LinuxKPI
which break drm-kmod. In addition various other additions where
comitted. Bump __FreeBSD_version to 1400015 to be able to detect this.

Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks


# c1a14887 20-May-2021 Ceri Davies <ceri@FreeBSD.org>

sys/*/conf/*, docs: fix links to handbook

While here, fix all links to older en_US.ISO8859-1 documentation
in the src/ tree.

PR: 255026
Reported by: Michael Büker <freebsd@michael-bueker.de>
Reviewed by: dbaio
Approved by: blackend (mentor), re (gjb)
MFC after: 10 days
Differential Revision: https://reviews.freebsd.org/D30265


# 28ce2012 13-May-2021 Emmanuel Vadot <manu@FreeBSD.org>

UPDATING: fix spelling

Reported by: pstef


# 1c2ab28f 13-May-2021 Emmanuel Vadot <manu@FreeBSD.org>

UPDATING: Add a note for pkgbase user for commit ca179c4d74f2


# 01bad87a 26-Apr-2021 Rick Macklem <rmacklem@FreeBSD.org>

UPDATING: add an entry for commit 875977314881


# d4cdb680 16-Apr-2021 Warner Losh <imp@FreeBSD.org>

Remove extra space at start of file.

Sponsored by: Netflix


# d647d0d4 11-Apr-2021 Rick Macklem <rmacklem@FreeBSD.org>

Add a note to indicate "don't run the nfscbd(8) without this patch.


# 68b7d9b5 11-Apr-2021 Rick Macklem <rmacklem@FreeBSD.org>

Add an UPDATING entry for commit 7763814fc9c2


# 993d2d4b 11-Apr-2021 Jens Schweikhardt <schweikh@FreeBSD.org>

Make 20201030 a separate entry (insert forgotten newline).


# 6dadf78f 08-Apr-2021 Glen Barber <gjb@FreeBSD.org>

UPDATING: dereference portupgrade(8)

Make the UPDATING file less tool-specific regarding upgrading
third-party software.

MFC after: 3 weeks
Sponsored by: Rubicon Communications, LLC ("Netgate")


# 2b98ea2e 30-Mar-2021 Rick Macklem <rmacklem@FreeBSD.org>

UPDATING: Add an entry for commit 01ae8969a9ee.


# ba7ede0b 25-Feb-2021 Ed Maste <emaste@FreeBSD.org>

Add UPDATING entry for PIE default

As of commit 9a227a2fd642 PIE is on by default for 64-bit architectures.

Relnotes: yes


# d386f3a3 28-Jan-2021 Bjoern A. Zeeb <bz@FreeBSD.org>

Bump __FreeBSD_version for multiple LinuxKPI updates conflicting
with DRM. Be sure to update your drm-kmod port to after the update.


# af3993c9 22-Jan-2021 Li-Wen Hsu <lwhsu@FreeBSD.org>

Catch up another version bump to 14.0

Reported by: rm


# a53ce3fc 21-Jan-2021 Glen Barber <gjb@FreeBSD.org>

Bump CURRENT to 14.0

This one goes to 14.

Approved by: re (implicit)
Sponsored by: Rubicon Communications, LLC ("Netgate")


# 429c7d1a 07-Jan-2021 Warner Losh <imp@FreeBSD.org>

pccard: Update UPDATING

Update the UPDATING file for PC Card device removal. Also note that
1300134 is used for the FreeBSD_version since wulf@ just bumped that
in the last few hours.


# 81098ca8 07-Jan-2021 Vladimir Kondratyev <wulf@FreeBSD.org>

Set current date in to placeholders.


# a84b0e94 06-Jan-2021 Vladimir Kondratyev <wulf@FreeBSD.org>

hid: Add UPDATING entry and bump __FreeBSD_version

Reviewed by: hselasky
Differential revision: https://reviews.freebsd.org/D28019


# 009c1100 05-Jan-2021 Baptiste Daroussin <bapt@FreeBSD.org>

UPDATING: we are now in 2021, bye 2020

Reported by: N.J. Mann <njm@njm.me.uk>


# bed70f83 05-Jan-2021 Baptiste Daroussin <bapt@FreeBSD.org>

ncurses: document the change requires a clean build

Reporter by: cy


# 878d5341 23-Dec-2020 Warner Losh <imp@FreeBSD.org>

UPDATING: Announce git transition

Add an entry for the transition to git.


# 228e2087 16-Dec-2020 Pedro F. Giffuni <pfg@FreeBSD.org>

/etc/services: attempt to bring the database to this century 2/2.

This is the final half of splitting r358153 in two, in order to avoid a build
system bugs and being able to merge an earlier change to previous releases.

Add a note to UPDATING to avoid people building from very old systems from
having issues with mergemaster

MFC after: 3 days (only 12-stable)

Differential Revision: https://reviews.freebsd.org/D23621


# 1c0ea326 15-Dec-2020 Ed Maste <emaste@FreeBSD.org>

Retire obsolete GDB 6.1.1

GDB 6.1.1 was released in June 2004 and is long obsolete. It does not
support all of the architectures that FreeBSD does, and imposes
limitations on the FreeBSD kernel build, such as the continued use of
DWARF2 debugging information.

It was kept (in /usr/libexec/) only for use by crashinfo(8), which
extracts some basic information from a kernel core dump after a crash.
Crashinfo already prefers gdb from port/package if installed.

Future work may add kernel debug support to LLDB or find another path
for crashinfo's needs, but in any case we do not want to ship the
excessively outdated GDB in FreeBSD 13.

Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D27610


# 3cde9171 25-Nov-2020 Alan Somers <asomers@FreeBSD.org>

Merge ping6 to ping

There is now a single ping binary, which chooses to use ICMP or ICMPv4
based on the -4 and -6 options, and the format of the address.

Submitted by: Ján Sučan <sucanjan@gmail.com>
Sponsored by: Google LLC (Google Summer of Code 2019)
MFC after: Never
Differential Revision: https://reviews.freebsd.org/D21377


# 2d398241 08-Nov-2020 Alexander V. Chernikov <melifaro@FreeBSD.org>

Switch net.add_addr_allfibs default to 0.

The goal of the fib support is to provide multiple independent
routing tables, isolated from each other.
net.add_addr_allfibs default tries to shift gears in the opposite
direction, unconditionally inserting all addresses to all of the fibs.

There are use cases when this is necessary, however this is not a
default expected behaviour, especially compared to other implementations.

Provide WARNING message for the setups with multiple fibs to notify
potential users of the feature.

Differential Revision: https://reviews.freebsd.org/D26076


# d2799054 07-Nov-2020 Warner Losh <imp@FreeBSD.org>

Also mention PORTS_MODULES

PORTS_MODULES is also an effective way to update the tree. Also
a minor rejustify on this an an adjacent paragraph.

Suggested by: David Wolfskill


# cc408e29 07-Nov-2020 Warner Losh <imp@FreeBSD.org>

Be explicit about recompiling all the modules...

Add a note about always recompiling all modules on every new kernel
change / update. In addition, suggest using /usr/local/sys/modules
so this happens automatically.


# a97cfe08 01-Nov-2020 Stefan Eßer <se@FreeBSD.org>

Fix year in 2 most recent entries (2010 -> 2020)

Reported by: mack@macktronics.com (Dan Mack)


# 7afa1a75 31-Oct-2020 Stefan Eßer <se@FreeBSD.org>

Mention the more strict consistency checks performed by calendar(), which
can make the program abort with an error message on previously accepted
but malformed input files.


# d8e59012 30-Oct-2020 Colin Percival <cperciva@FreeBSD.org>

Attempt to defuse a land mine before anyone else steps on it: The
freebsd-boot partition is not always the first one.

Following the instructions in UPDATING resulted in my overwriting
the efiboot0 partition on my laptop with ZFS boot blocks, which
had negative effects on the system's bootability.

Reviewed by: allanjude
Differential Revision: https://reviews.freebsd.org/D27002


# d20d6550 25-Oct-2020 Warner Losh <imp@FreeBSD.org>

calendar: remove all datafiles except freebsd one

Move all the data files for the calendar(1) program, except
calendar.freebsd to the calendar-data package. When a file
can't be found, and /usr/local/share/calendar doesn't exist
provide a helpful hint to install this package.

Reviewed by: se@
Differential Revision: https://reviews.freebsd.org/D26926


# 0d948bff 08-Oct-2020 Li-Wen Hsu <lwhsu@FreeBSD.org>

Correct the primary to find(1)

Sponsored by: The FreeBSD Foundation


# 7e46dafa 08-Oct-2020 Warner Losh <imp@FreeBSD.org>

Create in-tree LINT files

Now that config(8) has supported include for 19 years, transition to
including the NOTES files. include support didn't exist at the time,
nor did the envvar stuff recently added. Now that it does, eliminate
the building of LINT files by just including everything you need.

Note: This may cause conflicts with updating in some cases.
find sys -name LINT\* -rm
is suggested across this commit to remove the generated LINT
files.

Reviewed by: kevans
Differential Revision: https://reviews.freebsd.org/D26540


# dee0d87c 25-Sep-2020 Warner Losh <imp@FreeBSD.org>

fix typo imorted -> imported.

Noticed by: Maigurs Stalidzans


# 7d4374f6 05-Sep-2020 Dimitry Andric <dim@FreeBSD.org>

Turn MALLOC_PRODUCTION into a regular src.conf(5) option

For historical reasons, defining MALLOC_PRODUCTION in /etc/make.conf has
been used to turn off potentially expensive debug checks and statistics
gathering in the implementation of malloc(3).

It seems more consistent to turn this into a regular src.conf(5) option,
e.g. WITH_MALLOC_PRODUCTION / WITHOUT_MALLOC_PRODUCTION. This can then
be toggled similar to any other source build option, and turned on or
off by default for e.g. stable branches.

Reviewed by: imp, #manpages
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D26337


# de209fe1 02-Sep-2020 Ryan Moeller <freqlabs@FreeBSD.org>

Correct and expand on OpenZFS cache file and auto import

Reported by: avg
Sponsored by: iXsystems, Inc.


# f03478b1 02-Sep-2020 Warner Losh <imp@FreeBSD.org>

Add note about needing to manually import the zfs pools or update
/etc/rc.d due to the cache file moving to /etc.


# d0fba0c5 27-Aug-2020 Warner Losh <imp@FreeBSD.org>

Add note about NO_CLEAN build.

NO_CLEAN doesn't quite work for some scenarios when rebuilding older
kernels, but the kernels build w/o NO_CLEAN.


# ea007fee 26-Aug-2020 Warner Losh <imp@FreeBSD.org>

Each entry in UPDATING needs a date

It's rare for there to be two updating entries on the same day (once a
decade or so), but we have that here. Add the date to the second one
since devd and zfs are unrelated.


# 5db7b015 25-Aug-2020 Matt Macy <mmacy@FreeBSD.org>

Give stronger guidance with regards to upgrading root pools


# 13e4dbd2 24-Aug-2020 Matt Macy <mmacy@FreeBSD.org>

Mention OpenZFS merge in UPDATING


# 3c41ca88 24-Aug-2020 Warner Losh <imp@FreeBSD.org>

Document the kern -> kernel name change for resume events.

MFC After: 3 days


# 71bba112 21-Aug-2020 Rick Macklem <rmacklem@FreeBSD.org>

Add an entry for r364475.


# a371e791 17-Aug-2020 Rick Macklem <rmacklem@FreeBSD.org>

Add an entry to UPDATING for r364330.


# e61154c4 16-Aug-2020 Dimitry Andric <dim@FreeBSD.org>

Set tentative merge date.


# 6d56f524 10-Aug-2020 Rick Macklem <rmacklem@FreeBSD.org>

Add an UPDATING entry for r364092, since it did a version bump.


# 33176cdc 07-Aug-2020 Warner Losh <imp@FreeBSD.org>

The practice of creating symbolic links is somewhat fragile. Always
make copies instead.

There's too many times that we can't run the new binaries with old
libraries. Making the links when things are known to be 'safe' is a
nice optimization, but a copy of all the binaries is only 30MB, so
saving the copies at the cost of increased support when new symbols
are added and used as part of the bootstrap seems to be unwise.

There may be additional optimizations possible here, especially for
!FreeBSD hosts. However, that's beyond the scope of the problem I'm
trying to fix with make failing mid-way through an installworld across
change r363679. This optimization there caused us to run a new binary
with an old library once a new make was installed due to the symbolic
link. One could just copy make, but then other binaries fail as well,
so rather than play whack-a-mole, I opted to take us back to the old
way. Before r340157 or so we did copies (thogh of a lot fewer
artifacts), and we didn't have issues like this.

Reviewed by: arichards@
Differential Revision: https://reviews.freebsd.org/D25967


# b0e89acc 06-Aug-2020 Dimitry Andric <dim@FreeBSD.org>

Tentatively update UPDATING and ObsoleteFiles.inc for 11.0.0.


# d6391a26 30-Jul-2020 Kyle Evans <kevans@FreeBSD.org>

UPDATING: Add a note about running installworld twice

Some folks seem to be hitting issues with build orchestration; presumably
some of our .WAIT-removal optimizations are going awry, and they're ending
up with applications linked against new libc being installed before the new
libc.

Letting installworld complete the first time should ensure that the new libc
is installed by the end of it, then the second installworld will ensure
consistency as everything should succeed.


# d2090a40 29-Jul-2020 Kyle Evans <kevans@FreeBSD.org>

UPDATING / RELNOTES: Document new regcomp(3) behavior

This is a breaking change that had a not-insignificant impact in ports, it
is worth documenting it well.


# c2caa342 05-Jul-2020 Stefan Eßer <se@FreeBSD.org>

Add a note regarding the introduction of the new bc and dc implementations
that are built by default on -CURRENT after 2020-06-26.


# a9813b6b 25-Jun-2020 Rick Macklem <rmacklem@FreeBSD.org>

Add an entry for r362639.


# be8f8ca2 13-Jun-2020 Rick Macklem <rmacklem@FreeBSD.org>

Add an entry to UPDATING for r362158.


# 9b16365f 04-Jun-2020 Kyle Evans <kevans@FreeBSD.org>

RELNOTES and UPDATING: Document the new policy on read(2) of dirfd

These changes have been completely flushed as of r361799; note it.


# 0d0f3cdf 28-May-2020 Eric van Gyzen <vangyzen@FreeBSD.org>

Add an UPDATING entry for r360964

Reported by: rpokala
Sponsored by: Dell EMC Isilon


# 277cd398 23-Apr-2020 Kyle Evans <kevans@FreeBSD.org>

UPDATING: Fix the date of the closefrom(2) entry

Apologies; my internal calendar says it's still February, but that doesn't
seem to match reality where we've apparently advanced two months.


# 679c46f0 23-Apr-2020 Kyle Evans <kevans@FreeBSD.org>

UPDATING: add a note about closefrom(2) marked COMPAT12

Some of the consumers in-base may make it enticing enough to ensure that
COMPAT_FREEBSD12, which is notably a fairly light option at the moment, is
included in custom kernel configs.

Suggested by: netchild
Casualty: mail jail


# d6b44474 14-Apr-2020 Emmanuel Vadot <manu@FreeBSD.org>

allwinner: aw_thermal: Cope with DTS changes

The upstream DTS now include the thermal device node and the SID
calibration entry.
Update our driver to cope with this change and remove the DTB
overlays that aren't needed anymore.

MFC after: 2 months
X-MFC-With: r359934


# a15261d2 10-Mar-2020 Dimitry Andric <dim@FreeBSD.org>

Set tentative dates.


# 13f7dbe8 09-Mar-2020 Ed Maste <emaste@FreeBSD.org>

retire amd(8)

autofs was introduced with FreeBSD 10.1 and is the supported method for
automounting filesystems. As of r296194 the amd man page claimed that it
is deprecated. Remove it from base now; the sysutils/am-utils port is
still available if necessary.

Discussed with: cy
Relnotes: Yes
Sponsored by: The FreeBSD Foundation


# 79514055 01-Mar-2020 Warner Losh <imp@FreeBSD.org>

Remove bktr(4)

Remove the brooktree driver as discussed on arch@. Bump FreeBSD version to
1300082, though I doubt anything will care.

Relnote: yes


# 134b3783 29-Feb-2020 Ed Maste <emaste@FreeBSD.org>

retire in-tree GPL dtc devicetree compiler

Now that we no longer have GCC 4.2.1 in the tree and can assume FreeBSD
is being built with a C++11 compiler available, we can use BSDL dtc
unconditionally and retire the GPL dtc.

GPL dtc now has FreeBSD CI support via Cirrus-CI to help ensure it
continues to build/work on FreeBSD and is available in the ports tree
if needed.

The copy of (copyfree licensed) libfdt that we actually use is in
sys/contrib/libfdt so the extra copy under contrib/dtc/libfdt can be
removed along with the rest of the GPL dtc.

Reviewed by: kevans, ian, imp, manu, theraven
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D23192


# c4501804 28-Feb-2020 Ed Maste <emaste@FreeBSD.org>

retire the LLVM_LIBUNWIND option

LLVM's libunwind is used on all FreeBSD-supported CPU architectures and
is a required component.

Reviewed by: brooks (earlier)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D23123


# 57f80467 28-Feb-2020 Ed Maste <emaste@FreeBSD.org>

remove GCC 4.2.1 build infrastructure

As described in Warner's email message[1] to the FreeBSD-arch mailing
list we have reached GCC 4.2.1's retirement date. At this time all
supported architectures either use in-tree Clang, or rely on external
toolchain (i.e., a contemporary GCC version from ports).

GCC 4.2.1 was released July 18, 2007 and was imported into FreeBSD later
that year, in r171825. GCC has served us well, but version 4.2.1 is
obsolete and not used by default on any architecture in FreeBSD. It
does not support modern C and does not support arm64 or RISC-V.

Thanks to everyone responsible for maintaining, updating, and testing
GCC in the FreeBSD base system over the years.

So long, and thanks for all the fish.

[1] https://lists.freebsd.org/pipermail/freebsd-arch/2020-January/019823.html

PR: 228919
Reviewed by: brooks, imp
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D23124


# f57ea22c 21-Feb-2020 Baptiste Daroussin <bapt@FreeBSD.org>

ncurses: set the proper version in the updating message

Reported by: @jlduran (github)


# eeb3204f 20-Feb-2020 Baptiste Daroussin <bapt@FreeBSD.org>

Update the UPDATING information now that ncurses shlib has been bumped


# 777e39e5 19-Feb-2020 Baptiste Daroussin <bapt@FreeBSD.org>

Add a note about some fallouts due to the ncurses update


# 56cd269e 18-Feb-2020 Ed Maste <emaste@FreeBSD.org>

remove old perl entries from ObsoleteFiles.inc

Each entry in ObsoleteFiles.inc adds to the time `make delete-old` and
friends take to run. Perl was removed from the FreeBSD base system a
very long time ago (FreeBSD 5); source updates have not been supported
from that version for years.

Perl was a single component responsible for thousands of entries so
provides significant benefit with little effort/investigation required.
We could still use a more comprehensive cleanup to remove old entries.

Also add an UPDATING note (with wordsmithing by imp) indicating that
`make delete-old` is required along each step of a source upgrade from
an old, unsupported release.

Discussed with: imp
Sponsored by: The FreeBSD Foundation


# 10108cb6 17-Feb-2020 Bjoern A. Zeeb <bz@FreeBSD.org>

Partially revert VNET change and expand VNET structure.

Revert parts of r353274 replacing vnet_state with a shutdown flag.

Not having the state flag for the current SI_SUB_* makes it harder to debug
kernel or module panics related to VNET bringup or teardown.
Not having the state also does not allow us to check for other dependency
levels between components, e.g. for moving interfaces.

Expand the VNET structure with the new boolean flag indicating that we are
doing a shutdown of a given vnet and update the vnet magic cookie for the
change.

Update libkvm to compile with a bool in the kernel struct.

Bump __FreeBSD_version for (external) module builds to more easily detect
the change.

Reviewed by: hselasky
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D23097


# d3a5bf95 12-Feb-2020 Brooks Davis <brooks@FreeBSD.org>

Make the warning for deprecated NO_ variables an error.

Support for NO_CTF, NO_DEBUG_FILES, NO_INSTALLLIB, NO_MAN, NO_PROFILE,
and NO_WARNS as deprecated in 2014 with a warning added for each one
found. Turn these into error in preperation for removal of compatability
support before FreeBSD 13.

This was previously committed in r354909 and reverted in r355011 due to
unforseen impacts on ports. I've since corrected all amd64 and i386
ports reported in prior runs as well as instance of these variables I
found via grep.


# 0b37c159 25-Jan-2020 Dimitry Andric <dim@FreeBSD.org>

* Bump version numbers to 10.0.0
* Update UPDATING
* Update (Optional)ObsoleteFiles.inc
* Update VCS(Revision|Version) files
* Update generated config headers
* Update clang internal headers Makefile


# 778b6225 08-Jan-2020 John Baldwin <jhb@FreeBSD.org>

Add notes for MAKE_OBSOLETE_GCC going away and riscv switching to clang/lld.


# 5a0a8597 04-Jan-2020 Ed Maste <emaste@FreeBSD.org>

Do not build GCC 4.2.1 by default for any CPU architecture

By default set to NO:

GCC
GCC_BOOTSTRAP
GNUCXX

As described by imp@ on the freebsd-arch mailing list Aug 13, 2019 with
Subject: Gcc 4.2.1 to be removed before FreeBSD 13, a firm timeline
https://lists.freebsd.org/pipermail/freebsd-arch/2019-August/019674.html

Reviewed by: jhb, imp
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D23026


# eb4977bd 01-Jan-2020 Warner Losh <imp@FreeBSD.org>

Remove arm/arm as a valid target.

TARGET=arm now defaults to TARGET_ARCH=armv7
TARGET_ARCH=arm is no longer valid.

Bump __FreeBSD_version to 1300073

Tested with make universe. Any stale LINT-V5 config files remaining in the tree
will fail the universe build. However, LINT-V5 was removed in r355119.

This retirement has been planned since last summer. The armv5 port is fragile:
it works OK for some peeople, and fails badly for others. There's a number of
subtle bugs in busdma, pmap and other MD parts of thee system that present
themselves under load or in unusual circumstances (like fsck after a
crash). stable/8, branched 10 years ago, was the last reliable release. Since
the support burden is larger then the benefit, the consensus view is armv5
should be removed from the tree.

Discussed with: arm@ mailing list and arm developer community.


# bcd3c413 26-Dec-2019 Justin Hibbits <jhibbits@FreeBSD.org>

Add a note to UPDATING on the move to clang for powerpc*


# 3ee1d5bb 26-Dec-2019 Conrad Meyer <cem@FreeBSD.org>

random(4): Simplify RANDOM_LOADABLE

Simplify RANDOM_LOADABLE by removing the ability to unload a LOADABLE
random(4) implementation. This allows one-time random module selection
at boot, by loader(8). Swapping modules on the fly doesn't seem
especially useful.

This removes the need to hold a lock over the sleepable module calls
read_random and read_random_uio.

init/deinit have been pulled out of random_algorithm entirely. Algorithms
can run their own sysinits to initialize; deinit is removed entirely, as
algorithms can not be unloaded. Algorithms should initialize at
SI_SUB_RANDOM:SI_ORDER_SECOND. In LOADABLE systems, algorithms install
a pointer to their local random_algorithm context in p_random_alg_context at
that time.

Go ahead and const'ify random_algorithm objects; there is no need to mutate
them at runtime.

LOADABLE kernel NULL checks are removed from random_harvestq by ordering
random_harvestq initialization at SI_SUB_RANDOM:SI_ORDER_THIRD, after
algorithm init. Prior to random_harvestq init, hc_harvest_mask is zero and
no events are forwarded to algorithms; after random_harvestq init, the
relevant pointers will already have been installed.

Remove the bulk of random_infra shim wrappers and instead expose the bare
function pointers in sys/random.h. In LOADABLE systems, read_random(9) et
al are just thin shim macros around invoking the associated function
pointer. We do not provide a registration system but instead expect
LOADABLE modules to register themselves at SI_SUB_RANDOM:SI_ORDER_SECOND.
An example is provided in randomdev.c, as used in the random_fortuna.ko
module.

Approved by: csprng(markm)
Discussed with: gordon
Differential Revision: https://reviews.freebsd.org/D22512


# 16ae8351 16-Dec-2019 Ed Maste <emaste@FreeBSD.org>

UPDATING: remove outdated caution against make -j

Reviewed by: imp
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D22836


# a51b1f3f 12-Dec-2019 Rick Macklem <rmacklem@FreeBSD.org>

Add an entry to UPDATING for r355677.


# 6d69608c 05-Dec-2019 Kyle Evans <kevans@FreeBSD.org>

UPDATING: Add long-belated note about certs in base

While the interaction between this and the ETCSYMLINK option of
security/ca_root_nss isn't necessarily fatal, one should be aware and
attempt to understand the ramifications of mixing the two.

ports-secteam will be contacted to discuss the default option for branches
where certs are being included in base.


# f86e6000 04-Dec-2019 Warner Losh <imp@FreeBSD.org>

Regularize my copyright notice

o Remove All Rights Reserved from my notices
o imp@FreeBSD.org everywhere
o regularize punctiation, eliminate date ranges
o Make sure that it's clear that I don't claim All Rights reserved by listing
All Rights Reserved on same line as other copyright holders (but not
me). Other such holders are also listed last where it's clear.


# edb0ec00 22-Nov-2019 Brooks Davis <brooks@FreeBSD.org>

Revert r354909: Make the warning for deprecated NO_ variables an error.

An unexpectidly large number of ports define NO_MAN (and sometimes the
long-dead NOMAN). I'll fix ports and then re-commit.


# 1d91c857 20-Nov-2019 Dimitry Andric <dim@FreeBSD.org>

Fix typo: deprected -> deprecated.


# 303d2dd8 20-Nov-2019 Brooks Davis <brooks@FreeBSD.org>

Make the warning for deprecated NO_ variables an error.

Support for NO_CTF, NO_DEBUG_FILES, NO_INSTALLLIB, NO_MAN, NO_PROFILE,
and NO_WARNS as deprecated in 2014 with a warning added for each one
found. Turn these into error in preperation for removal of compatability
support before FreeBSD 13.

Reviewed by: imp
Relnotes: yes
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D22448


# 5882cf71 20-Nov-2019 Ed Maste <emaste@FreeBSD.org>

disable amd(8) by default

As of FreeBSD 10.1 the autofs(5) is available for automounting, and the
amd man page has indicated that the in-tree copy of amd is obsolete.
Disable it by default for now, with the expectation that it will be
removed before FreeBSD 13.0.

Reviewed by: kevans
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D22460


# 6b33973b 07-Nov-2019 Andriy Gapon <avg@FreeBSD.org>

add a note about nctgpio and wbwd move to superio


# 19e09f44 21-Oct-2019 Gleb Smirnoff <glebius@FreeBSD.org>

Remove obsoleted KPIs that were used to access interface address lists.


# 3d501333 21-Oct-2019 Kyle Evans <kevans@FreeBSD.org>

tuntap(4): restrict scope of net.link.tap.user_open slightly

net.link.tap.user_open has historically allowed non-root users to do devfs
cloning and open /dev/tap* nodes based on permissions. Loosen this up to
make it only allow users to do devfs cloning -- we no longer check it in
tunopen.

This allows tap devices to be created that can actually be opened by a user,
rather than swiftly restricting them to root because the magic sysctl has
not been set.

The sysctl has not yet been completely deprecated, because more thought is
needed for how to handle the devfs cloning case. There is not an easy
suitable replacement for the sysctl there, and more care needs to be placed
in determining whether that's OK or not.

PR: 200185


# 55b92c5f 09-Oct-2019 Warner Losh <imp@FreeBSD.org>

Add UPDATING entry for universe changes

Suggested by: emaste@


# 063e3a6d 08-Oct-2019 Dimitry Andric <dim@FreeBSD.org>

Prepare for merging back to head:
* Set tentative merge date
* Add UPDATING entry
* Bump __FreeBSD_version
* Bump FREEBSD_CC_VERSION
* Bump LLD_REVISION


# 06020252 03-Oct-2019 Jens Schweikhardt <schweikh@FreeBSD.org>

Remove white-space at EOL.


# 9923b641 02-Oct-2019 Ed Maste <emaste@FreeBSD.org>

Remove host binary object drivers from GENERIC

Four drivers (hpt27xx, hptmv, hptnr, hptrr, hpt27xx) include precompiled
binary objects; have users load them as modules if they are needed.

Additional work (i.e., integrating devmatch) required before MFC.

Reviewed by: markj
Relnotes: Yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D21865


# 15e9beb7 15-Sep-2019 Kyle Evans <kevans@FreeBSD.org>

Fix 20190507 UPDATING entry

The rc mechanism for loading kernel modules is actually called 'kld_list',
not 'kld_load'

Reported by: yuripv


# 854cab51 13-Sep-2019 Cy Schubert <cy@FreeBSD.org>

No longer mlock() ntpd pages by default in memory thus allowing its
pages to page as necessary.

To restore historic BSD behaviour add the following to ntp.conf:
rlimit memlock 32

Discussed on: freebsd-current@ between Sept 6-9, 2019
Reported by: Users using ASLR with stack gap != 0
Reviewed by: ian, kib, rgrimes (all previous versions)
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D21581


# 208ae7b7 23-Aug-2019 Alan Somers <asomers@FreeBSD.org>

ping6: Rename options for better consistency with ping

Now equivalent options have the same flags, and nonequivalent options have
different flags. This is a prelude to merging the two commands.

Submitted by: Ján Sučan <sucanjan@gmail.com>
MFC: Never
Sponsored by: Google LLC (Google Summer of Code 2019)
Differential Revision: https://reviews.freebsd.org/D21345


# a97202f1 26-Jul-2019 Ian Lepore <ian@FreeBSD.org>

Re-wrap the text at 80 columns after fixing the indent in the prior commit.


# c03909c9 25-Jul-2019 Ian Lepore <ian@FreeBSD.org>

Fix indentation (spaces->tab).

Reported by: garga@


# c73bd00a 17-Jul-2019 Mark Johnston <markj@FreeBSD.org>

Remove an old warning from UPDATING.

The clang switchover happened long enough ago that we can
garbage-collect this note.

Reviewed by: emaste, imp
Differential Revision: https://reviews.freebsd.org/D20978


# fbcfc75a 13-Jul-2019 Ian Lepore <ian@FreeBSD.org>

Add an entry mentioning the permission/mode change to daily accounting files.


# 435ecf40 27-Jun-2019 Alan Somers <asomers@FreeBSD.org>

fusefs: recycle vnodes after their last unlink

Previously fusefs would never recycle vnodes. After VOP_INACTIVE, they'd
linger around until unmount or the vnlru reclaimed them. This commit
essentially actives and inlines the old reclaim_revoked sysctl, and fixes
some issues dealing with the attribute cache and multiply linked files.

Sponsored by: The FreeBSD Foundation


# 58b5b90d 20-Jun-2019 Conrad Meyer <cem@FreeBSD.org>

Fixup UPDATING text for r349253

Requested by: delphij


# c363b16c 20-Jun-2019 Conrad Meyer <cem@FreeBSD.org>

sys: Remove DEV_RANDOM device option

Remove 'device random' from kernel configurations that reference it (most).
Replace perhaps mistaken 'nodevice random' in two MIPS configs with 'options
RANDOM_LOADABLE' instead. Document removal in UPDATING; update NOTES and
random.4.

Reviewed by: delphij, markm (previous version)
Approved by: secteam(delphij)
Differential Revision: https://reviews.freebsd.org/D19918


# 4c62bffe 08-Jun-2019 Bjoern A. Zeeb <bz@FreeBSD.org>

Fix dpcpu and vnet panics with complex types at the end of the section.

Apply a linker script when linking i386 kernel modules to apply padding
to a set_pcpu or set_vnet section. The padding value is kind-of random
and is used to catch modules not compiled with the linker-script, so
possibly still having problems leading to kernel panics.

This is needed as the code generated on certain architectures for
non-simple-types, e.g., an array can generate an absolute relocation
on the edge (just outside) the section and thus will not be properly
relocated. Adding the padding to the end of the section will ensure
that even absolute relocations of complex types will be inside the
section, if they are the last object in there and hence relocation will
work properly and avoid panics such as observed with carp.ko or ipsec.ko.

There is a rather lengthy discussion of various options to apply in
the mentioned PRs and their depends/blocks, and the review.
There seems no best solution working across multiple toolchains and
multiple version of them, so I took the liberty of taking one,
as currently our users (and our CI system) are hitting this on
just i386 and we need some solution. I wish we would have a proper
fix rather than another "hack".

Also backout r340009 which manually, temporarily fixed CARP before 12.0-R
"by chance" after a lead-up of various other link-elf.c and related fixes.

PR: 230857,238012
With suggestions from: arichardson (originally last year)
Tested by: lwhsu
Event: Waterloo Hackathon 2019
Reported by: lwhsu, olivier
MFC after: 6 weeks
Differential Revision: https://reviews.freebsd.org/D17512


# 45a13fd8 23-May-2019 Baptiste Daroussin <bapt@FreeBSD.org>

Move back group, master.passwd and shells to etc directory

Use the .PATH mechanism instead so keep installing them from lib/libc/gen

While here revert 347961 and 347893 which are no longer needed

Discussed with: manu
Tested by: manu
ok manu@


# 862dc23d 18-May-2019 Brad Davis <brd@FreeBSD.org>

Add note to UPDATING for users of mergemaster after the move of master.passwd
and group in r347638.

Approved by: allanjude (mentor)


# e199792d 13-May-2019 Conrad Meyer <cem@FreeBSD.org>

Revert r346292 (permit_nonrandom_stackcookies)

We have a better, more comprehensive knob for this now:
kern.random.initial_seeding.bypass_before_seeding=1.

Requested by: delphij
Sponsored by: Dell EMC Isilon


# 5940f822 13-May-2019 Alan Somers <asomers@FreeBSD.org>

fusefs: remove the vfs.fusefs.data_cache_invalidate sysctl

This sysctl was added > 6.5 years ago and I don't know why. The description
seems at odds with the code. While it's supposed to "discard clean cached
data" during VOP_INACTIVE, it looks like it would discard any cached data,
clean or otherwise.

Sponsored by: The FreeBSD Foundation


# fcefa6ef 13-May-2019 Alan Somers <asomers@FreeBSD.org>

fusefs: remove the vfs.fusefs.mmap_enable sysctl

This sysctl was added > 6.5 years ago for no clear reason. Perhaps it was
intended to gate an unstable feature? But now there's no reason to globally
disable mmap. I'm not deleting the -ono_mmap mount option just yet, because
it might be useful as a workaround for bug 237588.

Sponsored by: The FreeBSD Foundation


# 51518396 13-May-2019 Alan Somers <asomers@FreeBSD.org>

fusefs: remove the vfs.fusefs.refresh_size sysctl

This was added > 6.5 years ago with no evident reason why. It probably had
something to do with the incomplete cached attribute implementation. But
cache attributes work now. I see no reason to retain this sysctl.

Sponsored by: The FreeBSD Foundation


# 4d09e76a 13-May-2019 Alan Somers <asomers@FreeBSD.org>

fusefs: remove the vfs.fusefs.sync_resize syctl

This sysctl was added > 6.5 years ago for no clear purpose. I'm guessing
that it may have had something to do with the incomplete attribute cache.
But the attribute cache works now. Since there's no clear motivation for
this sysctl, it's best to remove it.

Sponsored by: The FreeBSD Foundation


# bad4c94d 13-May-2019 Alan Somers <asomers@FreeBSD.org>

fusefs: remove the vfs.fusefs.fix_broken_io sysctl

This looks like it may have been a workaround for a specific buggy FUSE
filesystem. However, there's no information about what that bug may have
been, and the workaround is > 6.5 years old, so I consider the sysctl to be
unmaintainable.

Sponsored by: The FreeBSD Foundation


# 4abf8766 13-May-2019 Alan Somers <asomers@FreeBSD.org>

fusefs: reap dead sysctls

Remove the "sync_unmount" and "init_backgrounded" sysctls and the associated
options from mount_fusefs. Add no backwards-compatibility hidden options to
mount_fusefs because these options never had any effect, and are therefore
unlikely to be used.

Sponsored by: The FreeBSD Foundation


# aa0a8933 13-May-2019 Mark Johnston <markj@FreeBSD.org>

Add an UPDATING entry and bump __FreeBSD_version for r347532.

Reported by: rgrimes, Oliver Pinter <oliver.pinter@hardenedbsd.org>


# 82455a33 11-May-2019 Jens Schweikhardt <schweikh@FreeBSD.org>

Correct a handful of typos.


# 542970fa 09-May-2019 Andrew Gallatin <gallatin@FreeBSD.org>

Remove IPSEC from GENERIC due to performance issues

Having IPSEC compiled into the kernel imposes a non-trivial
performance penalty on multi-threaded workloads due to IPSEC
refcounting. In my benchmarks of multi-threaded UDP
transmit (connected sockets), I've seen a roughly 20% performance
penalty when the IPSEC option is included in the kernel (16.8Mpps
vs 13.8Mpps with 32 senders on a 14 core / 28 HTT Xeon
2697v3)). This is largely due to key_addref() incrementing and
decrementing an atomic reference count on the default
policy. This cause all CPUs to stall on the same cacheline, as it
bounces between different CPUs.

Given that relatively few users use ipsec, and that it can be
loaded as a module, it seems reasonable to ask those users to
load the ipsec module so as to avoid imposing this penalty on the
GENERIC kernel. Its my hope that this will make FreeBSD look
better in "out of the box" benchmark comparisons with other
operating systems.

Many thanks to ae for fixing auto-loading of ipsec.ko when
ifconfig tries to configure ipsec, and to cy for volunteering
to ensure the the racoon ports will load the ipsec.ko module

Reviewed by: cem, cy, delphij, gnn, jhb, jpaetzel
Differential Revision: https://reviews.freebsd.org/D20163


# 251a32b5 07-May-2019 Kyle Evans <kevans@FreeBSD.org>

tun/tap: merge and rename to `tuntap`

tun(4) and tap(4) share the same general management interface and have a lot
in common. Bugs exist in tap(4) that have been fixed in tun(4), and
vice-versa. Let's reduce the maintenance requirements by merging them
together and using flags to differentiate between the three interface types
(tun, tap, vmnet).

This fixes a couple of tap(4)/vmnet(4) issues right out of the gate:
- tap devices may no longer be destroyed while they're open [0]
- VIMAGE issues already addressed in tun by kp

[0] emaste had removed an easy-panic-button in r240938 due to devdrn
blocking. A naive glance over this leads me to believe that this isn't quite
complete -- destroy_devl will only block while executing d_* functions, but
doesn't block the device from being destroyed while a process has it open.
The latter is the intent of the condvar in tun, so this is "fixed" (for
certain definitions of the word -- it wasn't really broken in tap, it just
wasn't quite ideal).

ifconfig(8) also grew the ability to map an interface name to a kld, so
that `ifconfig {tun,tap}0` can continue to autoload the correct module, and
`ifconfig vmnet0 create` will now autoload the correct module. This is a
low overhead addition.

(MFC commentary)

This may get MFC'd if many bugs in tun(4)/tap(4) are discovered after this,
and how critical they are. Changes after this are likely easily MFC'd
without taking this merge, but the merge will be easier.

I have no plans to do this MFC as of now.

Reviewed by: bcr (manpages), tuexen (testing, syzkaller/packetdrill)
Input also from: melifaro
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D20044


# 3782136f 18-Apr-2019 Conrad Meyer <cem@FreeBSD.org>

random(4): Restore availability tradeoff prior to r346250

As discussed in that commit message, it is a dangerous default. But the
safe default causes enough pain on a variety of platforms that for now,
restore the prior default.

Some of this is self-induced pain we should/could do better about; for
example, programmatic CI systems and VM managers should introduce entropy
from the host for individual VM instances. This is considered a future work
item.

On modern x86 and Power9 systems, this may be wholly unnecessary after
D19928 lands (even in the non-ideal case where early /boot/entropy is
unavailable), because they have fast hardware random sources available early
in boot. But D19928 is not yet landed and we have a host of architectures
which do not provide fast random sources.

This change adds several tunables and diagnostic sysctls, documented
thoroughly in UPDATING and sys/dev/random/random_infra.c.

PR: 230875 (reopens)
Reported by: adrian, jhb, imp, and probably others
Reviewed by: delphij, imp (earlier version), markm (earlier version)
Discussed with: adrian
Approved by: secteam(delphij)
Relnotes: yeah
Security: related
Differential Revision: https://reviews.freebsd.org/D19944


# ba57dad4 16-Apr-2019 Conrad Meyer <cem@FreeBSD.org>

stack_protector: Add tunable to bypass random cookies

This is a stopgap measure to unbreak installer/VM/embedded boot issues
introduced (or at least exposed by) in r346250.

Add the new tunable, "security.stack_protect.permit_nonrandom_cookies," in
order to continue boot with insecure non-random stack cookies if the random
device is unavailable.

For now, enable it by default. This is NOT safe. It will be disabled by
default in a future revision.

There is follow-on work planned to use fast random sources (e.g., RDRAND on
x86 and DARN on Power) to seed when the early entropy file cannot be
provided, for whatever reason. Please see D19928.

Some better hacks may be used to make the non-random __stack_chk_guard
slightly less predictable (from delphij@ and mjg@); those suggestions are
left for a future revision. I think it may also be plausible to move stack
guard initialization far later in the boot process; potentially it could be
moved all the way to just before userspace is started.

Reported by: many
Reviewed by: delphij, emaste, imp (all w/ caveat: this is a stopgap fix)
Security: yes
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D19927


# f3d2512d 16-Apr-2019 Conrad Meyer <cem@FreeBSD.org>

random(4): Add is_random_seeded(9) KPI

The imagined use is for early boot consumers of random to be able to make
decisions based on whether random is available yet or not. One such
consumer seems to be __stack_chk_init(), which runs immediately after random
is initialized. A follow-up patch will attempt to address that.

Reported by: many
Reviewed by: delphij (except man page)
Approved by: secteam(delphij)
Differential Revision: https://reviews.freebsd.org/D19926


# bcf55f64 04-Apr-2019 Rick Macklem <rmacklem@FreeBSD.org>

Add an entry to UPDATING for r345895, which affects the use of nfsuserd daemons
built from head sources between July 6, 2017 and Aug. 22, 2018.


# fc56fdf3 23-Mar-2019 Konstantin Belousov <kib@FreeBSD.org>

Add UPDATING note for geom_uzip(4)/xz, and bump geom_uzip(4) man page date.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days


# 123af6ec 20-Mar-2019 Alan Somers <asomers@FreeBSD.org>

Rename fuse(4) to fusefs(4)

This makes it more consistent with other filesystems, which all end in "fs",
and more consistent with its mount helper, which is already named
"mount_fusefs".

Reviewed by: cem, rgrimes
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D19649


# ed651a74 12-Mar-2019 Warner Losh <imp@FreeBSD.org>

Tweak wording a little.

Submitted by: peterj@


# 359d22d4 09-Mar-2019 Warner Losh <imp@FreeBSD.org>

Augment ino64 entry

When updating across this change (the introduction of ino64), the
"fast and loose" practice of rebooting to multiuser and then doing an
installworld fails with missing symbols. Recommend strongly that users
do this in single user mode. The multiuser case only ever works by
accident because its requirements are stronger than is supported
accross this change. It usually works because critical symbols don't
change their version number in libc, which wasn't the case here.


# 274cfcd7 09-Mar-2019 Warner Losh <imp@FreeBSD.org>

Fix a number of entries (almost all mine) that were > 80 columns.

When reading UPDATING from single user in vi, I noticed a few wrapped,
so fix them to not wrap.
expand -8 UPDATING | awk 'length > 80'
made this easy to find all the offenders.


# 8ed2d94a 09-Mar-2019 Warner Losh <imp@FreeBSD.org>

Misc fixes based on upgrading a laptop from 11.1R to -current

Add note about needing to start zfs because mount -a doesn't do that.
Add the word 'supported' before 'older branches' for older binaries.
Add note about options in custom config files as well.


# 1791078b 04-Mar-2019 Dimitry Andric <dim@FreeBSD.org>

Set tentative merge date, and bump __FreeBSD_version.


# 625bdc78 19-Feb-2019 Warner Losh <imp@FreeBSD.org>

Add an UPDATING entry for the removal of drm and drm2

Also bump FreeBSD version to 1300013 since this series is a big
change.


# deb17a3b 14-Feb-2019 Warner Losh <imp@FreeBSD.org>

Fix small typo.

Differential Review: https://reviews.freebsd.org/D19193


# 5864456d 14-Feb-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Add UPDATING entry for IEEE80211_AMPDU_AGE and AH_SUPPORT_AR5416 options
removal

Notified by: ian


# 8590b14e 05-Feb-2019 Warner Losh <imp@FreeBSD.org>

Remove a few stray "All Rights Reserved." declarations on stuff I've
written.


# c75f49f7 31-Jan-2019 Konstantin Belousov <kib@FreeBSD.org>

Make iflib a loadable module.

iflib is already a module, but it is unconditionally compiled into the
kernel. There are drivers which do not need iflib(4), and there are
situations where somebody might not want iflib in kernel because of
using the corresponding driver as module.

Reviewed by: marius
Discussed with: erj
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
Differential revision: https://reviews.freebsd.org/D19041


# 0bf31f1f 20-Jan-2019 Dimitry Andric <dim@FreeBSD.org>

Update version numbers, and regenerate config headers for llvm, clang,
lld and lldb. Update ObsoleteFiles.inc and OptionalObsoleteFiles.inc.


# 7f124c95 15-Jan-2019 John Baldwin <jhb@FreeBSD.org>

Update the note about the need for COMPAT_FREEBSD<n> kernel options.

Rather than mentioning the requirement for 4.x binaries but not
explaining why (it was assuming an upgrade from 4.x to 5.0-current),
explain when compat options are needed (for running existing host
binaries) in a more general way while using a more modern example
(COMPAT_FREEBSD11 for 11.x binaries). While here, explicitly mention
that a GENERIC kernel should always work.

Reported by: Robert Huff <roberthuff@rcn.com>
Reviewed by: imp
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D18740


# 83a41dd0 30-Dec-2018 Rebecca Cran <bcran@FreeBSD.org>

Add UPDATING entry for r342635.

Sponsored by: Netflix


# d493fe42 20-Dec-2018 Rick Macklem <rmacklem@FreeBSD.org>

Add an UPDATING message for r342286.


# beab3c4b 19-Dec-2018 Warner Losh <imp@FreeBSD.org>

Fix the date

The first part of the mips pruning has been commited. This part
is uncontested. Fix the date in the UPDATING file to reflect when
I made the commit. The contested parts will be committed (or not)
once those discussions complete.


# 31733a7d 19-Dec-2018 Warner Losh <imp@FreeBSD.org>

Remove support for running 32-bit kernels on 64-bit hardware.

This was useful in bring up. However, it causes more issues than the
support is worth (64-bit atomics being chief among them).

Discussed on: freebsd-mips@
Differential Revision: https://reviews.freebsd.org/D18543


# 0bb183ed 19-Dec-2018 Warner Losh <imp@FreeBSD.org>

Remove support for the now very old SiByte MIPS platform. It's not
relevant and is unused. It's also getting in the way of progress in
some admittedly minor ways. Better to retire it to reduce the burden
on the project.

Discussed on: freebsd-mips@
Differential Revision: https://reviews.freebsd.org/D18543


# 53fc043d 15-Dec-2018 George V. Neville-Neil <gnn@FreeBSD.org>

Remove, the now very outdated, timed.

Submitted by: Kyle Spiers ksspiers at gmail
Reviewed by: bcr,brooks,bz,sbruno
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D18505


# 70f308d0 12-Dec-2018 Dimitry Andric <dim@FreeBSD.org>

Fix dates that I set into the future incorrectly.

Noticed by: ler


# 2bf1d8b7 11-Dec-2018 Dimitry Andric <dim@FreeBSD.org>

Set tentative merge date, and add UPDATING note.


# b34bb3bf 26-Nov-2018 Marius Strobl <marius@FreeBSD.org>

- Add a belated UPDATING entry for the ixlv(4) -> iavf(4) rename in r339338.
- Likewise, add ixlv.4.gz to OLD_FILES,
- and link if_ixlv.ko to if_iavf.ko in order to aid a bit in the transition.


# df27a97e 26-Nov-2018 Ed Maste <emaste@FreeBSD.org>

UPDATING: add note for r340984 (ld.bfd removal)

Sponsored by: The FreeBSD Foundation


# 30c5db2b 23-Nov-2018 Andrew Turner <andrew@FreeBSD.org>

Enable the BSD crtbegin/crtend by default.

It has passed an exp run on amd64 and i386, and has testing on arm64. On
other architectures it is expected to run, however it can be disabled by
building world with -DWITHOUT_BSD_CRTBEGIN.

Sponsored by: DARPA, AFRL


# 18946268 14-Nov-2018 Stefan Eßer <se@FreeBSD.org>

Prepare move of ctm from base to a port (misc/ctm) by:
- Adding a note to UPDATING
- Adding a note to the history section of the manpage ctm.1
- Adding a message printed to STDERR to the ctm program

This version is meant for release in FreeBSD-12.0 and should remain in
FreeBSD-12 over its life-time.

A follow-up commit will remove ctm from -CURRENT after the MFC to 12
has happened.

Approved by: imp, rgrimes, bcr (man-page)
MFC after: 3 days
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D17969


# 9c66c1df 10-Nov-2018 Ben Woods <woodsb02@FreeBSD.org>

Add UPDATING entry for newsyslog.conf changes introduced by r340318

Approved by: cem
Differential Revision: https://reviews.freebsd.org/D17936


# 468002c5 20-Oct-2018 Warner Losh <imp@FreeBSD.org>

Add updating entry for DRM

Update messaging for which drm module to install. Add guidance on what
hardware is supported (which should be copied into the release
notes). Note: the in tree drivers are abandonware. There has been no
organized support for them for many years, and the plan is to still
remove them for all but arm once the transition to drm-*kmod is
complete. Also note that WITHOUT_MODULE_DRM and WITHOUT_MODULE_DRM2
should generally be added to src.conf for anybody using the drm-*kmod
ports. That will become default in 13 soon, however.

Approved by: FreeBSD Graphics Team
Relnotes: Yes
MFC After: 3 days
Differential Revision: https://reviews.freebsd.org/D17451


# b9583179 18-Oct-2018 Glen Barber <gjb@FreeBSD.org>

- Update head to 13.0-CURRENT.
- Bump MACHINE_TRIPLE, TARGET_TRIPLE, FBSD_MAJOR, FBSD_CC_VER,
FREEBSD_CC_VERSION, OS_VERSION.
- Update comment in UPDATING regarding debugging options.
- Remove debug.witness.trace=0 from installation media.
- Bump __FreeBSD_version.

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


# 532dc172 06-Oct-2018 Kyle Evans <kevans@FreeBSD.org>

lualoader: Create a module blacklist, add DRM modules to it

This is a step in the process of easing migration into the new world order
of DRM drivers. Strongly encourage users towards loading DRM modules via
rc.conf(5) instead of loader.conf(5) by failing the load from loader(8).
Users so inclined may wipe out the blacklist via module_blacklist="" in
loader.conf(5), and it is expected that these modules will eventually be
removed from the blacklist. They may still be loaded as dependencies of
other modules or explicitly via the loader prompt, but this should not be a
major problem.

Approved by: re (rgrimes)
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D16914


# 8ac2f3ba 02-Oct-2018 Kevin Bowling <kbowling@FreeBSD.org>

Use nda(4) on powerpc64

Approved by: re@ (kib), krion (mentor), imp
Differential Revision: https://reviews.freebsd.org/D17368


# 8d66f7be 26-Sep-2018 Ed Maste <emaste@FreeBSD.org>

add REPRODUCIBLE_BUILD note to UPDATING

Reported by: bz
Approved by: re (gjb)


# 6f282e72 26-Sep-2018 Ed Maste <emaste@FreeBSD.org>

Clarify UPDATING entry about lld

The workaround described in the 20180530 entry is no longer required.
Amend that entry and add a new 20180530 entry noting lld is the
default amd64 linker.

Reviewed by: imp
Approved by: re (kib)


# 0d77d170 13-Sep-2018 Ian Lepore <ian@FreeBSD.org>

If a user skips the pre-world mergemaster, an installworld check
notices the missing ntpd user and refers to UPDATING. This change makes
it more clear which aspect of UPDATING is important for the ntpd change.

PR: 231334
Approved by: re (gjb)


# 0fb707ec 29-Aug-2018 Warner Losh <imp@FreeBSD.org>

Tweak typos in UPDATING

Approved by: re@ (gjb)


# 19fa89e9 25-Aug-2018 Mark Murray <markm@FreeBSD.org>

Remove the Yarrow PRNG algorithm option in accordance with due notice
given in random(4).

This includes updating of the relevant man pages, and no-longer-used
harvesting parameters.

Ensure that the pseudo-unit-test still does something useful, now also
with the "other" algorithm instead of Yarrow.

PR: 230870
Reviewed by: cem
Approved by: so(delphij,gtetlow)
Approved by: re(marius)
Differential Revision: https://reviews.freebsd.org/D16898


# 592ffb21 23-Aug-2018 Warner Losh <imp@FreeBSD.org>

Revert drm2 removal.

Revert r338177, r338176, r338175, r338174, r338172

After long consultations with re@, core members and mmacy, revert
these changes. Followup changes will be made to mark them as
deprecated and prent a message about where to find the up-to-date
driver. Followup commits will be made to make this clear in the
installer. Followup commits to reduce POLA in ways we're still
exploring.

It's anticipated that after the freeze, this will be removed in
13-current (with the residual of the drm2 code copied to
sys/arm/dev/drm2 for the TEGRA port's use w/o the intel or
radeon drivers).

Due to the impending freeze, there was no formal core vote for
this. I've been talking to different core members all day, as well as
Matt Macey and Glen Barber. Nobody is completely happy, all are
grudgingly going along with this. Work is in progress to mitigate
the negative effects as much as possible.

Requested by: re@ (gjb, rgrimes)


# 84b9dfe4 22-Aug-2018 Warner Losh <imp@FreeBSD.org>

Add a special note to UPDATING for the devmatch stuff. While tested,
there's an elevated risk of trouble, and you must update kernel,
userland and rc scripts for the best experience.


# d157fbd5 21-Aug-2018 Matt Macy <mmacy@FreeBSD.org>

Remove legacy drm and drm2 from tree

As discussed on the MLs drm2 conflicts with the ports' version and there
is no upstream for most if not all of drm. Both have been merged in to
a single port.

Users on powerpc, 32-bit hardware, or with GPUs predating Radeon
and i915 will need to install the graphics/drm-legacy-kmod. All
other users should be able to use one of the LinuxKPI-based ports:
graphics/drm-stable-kmod, graphics/drm-next-kmod, graphics/drm-devel-kmod.

MFC: never
Approved by: core@


# 295506bf 19-Aug-2018 Warner Losh <imp@FreeBSD.org>

Turn back the clock just a little: make userboot.so always be 4th

Turns out there was a hidden dependency we hasn't counted upon. The
host load /boot/userboot.so to boot the VMs it runs. This means that
the change to lua meant suddently that nobody could run their older
VMs because LUA wasn't in 10.0, last month's HardenedBSD, 11.2 or
whatever. Even more than for the /boot/loader* binaries, we need a
good coexistance strategy for this. While that's being designed and
implemented, drop back to always 4th for userboot.so. This will fail
safe in all but the most extreme environments (but lua-only hacks
to .lua files won't be processes in VMs until we fix it).

Differential Review: https://reviews.freebsd.org/D16805


# f9f8ac94 19-Aug-2018 Kyle Evans <kevans@FreeBSD.org>

stand: Flip the default interpreter to Lua

After years in the making, lualoader is ready to make its debut. Both
flavors of loader are still built by default, and may be installed as
/boot/loader or /boot/loader.efi as appropriate either by manually creating
hard links or using LOADER_DEFAULT_INTERP as documented in build(7).

Discussed with: imp
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D16795


# e10ba800 16-Aug-2018 Kyle Evans <kevans@FreeBSD.org>

ls(1): Add --color=when

--color may be set to one of: 'auto', 'always', and 'never'.

'auto' is the default behavior- output colors only if -G or COLORTERM are
set, and only if stdout is a tty.

'always' is a new behavior- output colors always. termcap(5) will be
consulted unless TERM is unset or not a recognized terminal, in which case
ls(1) will fall back to explicitly outputting ANSI escape sequences.

'never' to turn off any environment variable and -G usage.

Reviewed by: cem, 0mp (both modulo last-minute manpage changes
Differential Revision: https://reviews.freebsd.org/D16741


# 72ad696a 15-Aug-2018 Kyle Evans <kevans@FreeBSD.org>

Add post-mortem note to UPDATING about r337506

MFC after: 3 days


# 47cc9ee1 08-Aug-2018 Alan Somers <asomers@FreeBSD.org>

Switch the default pager for most commands to less

Finally, a pager for the nineties.

MFC after: Never
Relnotes: Yes
Differential Revision: https://reviews.freebsd.org/D13465
Poll: https://reviews.freebsd.org/V7


# b5988450 01-Aug-2018 Ravi Pokala <rpokala@FreeBSD.org>

Remove jedec_ts(4)

The jedec_ts(4) driver has been marked as deprecated in stable/11, and is
now being removed from -HEAD. Add a notice in UPDATING, and update the few
remaining references (regarding jedec_dimm(4)'s compatibility and history)
to reflect the fact that jedec_ts(4) is now deleted.

Reviewed by: avg
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D16537


# 1ddc8a8e 30-Jul-2018 Kyle Evans <kevans@FreeBSD.org>

Follow up to r336919 and r336921: s/efi.rt_disabled/efi.rt.disabled/

The latter matches the rest of the tree better [0]. The UPDATING entry has
been updated to reflect this, and the new tunable is now documented in
loader(8) [1].

Reported by: imp [0], Shawn Webb [1]


# dfa6eec2 30-Jul-2018 Kyle Evans <kevans@FreeBSD.org>

Correct typo from r336921; BIOS/legacy boot...


# 164138e7 30-Jul-2018 Kyle Evans <kevans@FreeBSD.org>

amd64/GENERIC: Enable EFIRT by default

As noted in UDPATING, the new loader tunable efi.rt_disabled may be used to
disable EFIRT at runtime. It should have no effect if you are not booted via
UEFI boot.

MFC after: 6 weeks


# 5f9d7aaf 29-Jul-2018 Ed Maste <emaste@FreeBSD.org>

Correct typo and whitespace in UPDATING

PR: 230124
Submitted by: Samy Mahmoudi


# c59a544e 28-Jul-2018 Emmanuel Vadot <manu@FreeBSD.org>

UPDATING: Add note about efifb support and serial output


# 411e4219 27-Jul-2018 Warner Losh <imp@FreeBSD.org>

Note ARM Atmel, Cavlium and XScale removal.


# 07a522da 27-Jul-2018 Warner Losh <imp@FreeBSD.org>

Re-remove these empty directories


# 663472df 23-Jul-2018 Warner Losh <imp@FreeBSD.org>

Say a little more about the new protocol.

Requested by: emaste@


# b43c6042 23-Jul-2018 Warner Losh <imp@FreeBSD.org>

Finalize the boot manager protocol support for next-stage boot
loading.

If we are booting in a conforming UEFI Boot Manager Environment, then
use the BootCurrent variable to find the BootXXXX we're using. Once we
find that, then if it contains more than one EFI_DEVICE_PATH in its
what to boot section, try to use the last one as the kernel to
load. This will also set the default root partition as well. If
there's only one path, or if there's an error along the way, assume
that nothing specific was specified and revert to the old
algorithm. If something was specified, but not found, then fail the
boot. Otherwise you that, specific thing. On FreeBSD, this can be set
using efibootmgr -l <loader> -k <kernel>. We try a few variations of
kernel to cope with the fact that UEFI comes from a DOS world where
paths might be upper case and/or contain back-slashes.

Note: In an ideal world, we'd work out where we are in chain loading
by looking at the passed-in image handle and doing name
matching. However, that's unreliable since at least boot1.efi booted
images don't have that, hence the assumption that loader.efi needs to
load the last thing on the list, if possible.

The reason we fail for something specific is so that we can fully
participate in the UEFI Boot Manager Protocol and fail over to the
next item in the list of BootOrder choices when something goes wrong
at this stage.

This implements was was talked about in freebsd-arch@ last year
https://docs.freebsd.org/cgi/getmsg.cgi?fetch=3576+0+archive/2017/freebsd-arch/20171022.freebsd-arch
and documented in full (after changed resulting from the discussion) in
https://docs.google.com/document/d/1aK9IqF-60JPEbUeSAUAkYjF2W_8EnmczFs6RqCT90Jg/edit#
although one or two minor details may have been modified in this
implementation to make it work, and the ZFS MEDIA PATH extension isn't
implemented. This does not yet move things to ESP:\efi\freebsd\loader.efi.

RelNotes: Yes
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D16403


# 2dc17d14 23-Jul-2018 Ulrich Spörlein <uqs@FreeBSD.org>

Remove duplicated entry


# 3b741022 23-Jul-2018 Warner Losh <imp@FreeBSD.org>

Older zfs boot blocks don't support symlinks. install the link to
zfsloader as a hard link. While newer ones do, the whole point of the
link was to transition to the new world order smoothly. A hard link is
less flexible, but it works and will result in fewer bumps. Adjust
UPDATING entry to match.


# d0e46652 20-Jul-2018 Ian Lepore <ian@FreeBSD.org>

Add a note about the new 'ntpd' userid, and the fact that rc.d/ntpd now
automatically runs the daemon as that user if it can.


# d397afa3 19-Jul-2018 Warner Losh <imp@FreeBSD.org>

Mention zfsloader being folded into loader in UPDATING.


# dbe8ed38 19-Jul-2018 Warner Losh <imp@FreeBSD.org>

Note big endian arm removal.


# 7bca8056 17-Jul-2018 Peter Jeremy <peterj@FreeBSD.org>

Retrospectively document SVN branch point for stable-11

Approved by: jhb (mentor)
Differential Revision: https://reviews.freebsd.org/D16262


# 44314c35 11-Jul-2018 Kyle Evans <kevans@FreeBSD.org>

kern_environment: Give the static environment a chance to disable MD env

This variable has been given the name "loader_env.disabled" as it's the
primary way most people will have an MD environment. This restores the
previously-default behavior of ignoring the loader(8) environment, which may
be useful for vendor distributions or other scenarios where inheriting the
loader environment may be considered a security issue or potentially
breaking of a more locked-down environment.

As the change to config(5) indicates, disabling the loader environment
should not be a choice made lightly since it may provide ACPI hints and
other useful things that the system can rely on to boot.

An UPDATING entry has been added to mention an upgrade path for those that
may have relied on the previous behavior.

Discussed with: bde
Relnotes: yes (maybe)


# f06b6fdc 07-Jul-2018 Warner Losh <imp@FreeBSD.org>

Mention the need to update devmatch.conf


# f38b68ae 05-Jul-2018 Brooks Davis <brooks@FreeBSD.org>

Make struct xinpcb and friends word-size independent.

Replace size_t members with ksize_t (uint64_t) and pointer members
(never used as pointers in userspace, but instead as unique
idenitifiers) with kvaddr_t (uint64_t). This makes the structs
identical between 32-bit and 64-bit ABIs.

On 64-bit bit systems, the ABI is maintained. On 32-bit systems,
this is an ABI breaking change. The ABI of most of these structs
was previously broken in r315662. This also imposes a small API
change on userspace consumers who must handle kernel pointers
becoming virtual addresses.

PR: 228301 (exp-run by antoine)
Reviewed by: jtl, kib, rwatson (various versions)
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D15386


# f4b36404 02-Jul-2018 Matt Macy <mmacy@FreeBSD.org>

inline atomics and allow tied modules to inline locks

- inline atomics in modules on i386 and amd64 (they were always
inline on other arches)
- allow modules to opt in to inlining locks by specifying
MODULE_TIED=1 in the makefile

Reviewed by: kib
Sponsored by: Limelight Networks
Differential Revision: https://reviews.freebsd.org/D16079


# 0dea6e3c 01-Jul-2018 Mariusz Zaborski <oshogbo@FreeBSD.org>

core(5): overwrite the oldest core dump

The '%I' format in the kern.corefile sysctl limits the number of
core files that a process can generate to the number stored in the
debug.ncores sysctl. The '%I' format is replaced by the single digit
index. Previously, if all indexes were taken the kernel would overwrite
only a core file with the highest index in a filename.
Currently the system will create a new core file if there is a free
index or if all slots are taken it will overwrite the oldest one.

Reviewed by: kib(code), bcr (updating)
Differential Revision: https://reviews.freebsd.org/D15991
Differential Revision: https://reviews.freebsd.org/D16084


# 2fd8cef4 30-Jun-2018 Warner Losh <imp@FreeBSD.org>

Mention, belatedly, the need to run mergemaster. This somehow
wasn't committed with the other changes.


# 55458465 30-Jun-2018 Dimitry Andric <dim@FreeBSD.org>

More follow-up to r335799 (llvm/clang 6.0.1 update), where I forgot to
update mtree files, ObsoleteFiles and a number of other paths. Sorry
about all the breakage.

Pointy hat to: me
MFC after: 2 weeks
X-MFC-With: r335799


# 197b832f 26-Jun-2018 Glen Barber <gjb@FreeBSD.org>

Use the 'Updating from Source' Handbook section in UPDATING.

PR: 229345 (related)
Sponsored by: The FreeBSD Foundation


# fa986e33 12-Jun-2018 Rick Macklem <rmacklem@FreeBSD.org>

Explain why a __FreeBSD_version bump was done for r334930.


# 37d6a8f4 11-Jun-2018 Warner Losh <imp@FreeBSD.org>

Revert size limits.

The size limits came from a flawed understanding of dump records.
The real issue was that dump was bogusly interpreting c_count
sometimes. r334978 fixes that.


# 3bb3aaf6 11-Jun-2018 Warner Losh <imp@FreeBSD.org>

Document the dump issue in UPDATING so people understand when they
get a new diagnostic.


# 0bf7cdd5 30-May-2018 Warner Losh <imp@FreeBSD.org>

Note the need for a new kernel / userland for devinfo to work

Differential Revision: https://reviews.freebsd.org/D15628


# 212967ff 29-May-2018 Warner Losh <imp@FreeBSD.org>

We've removed the special case code for upgrading from FreeBSD 9 so
remove the special warning. It's in svn if we need it.


# 0b979e7e 24-May-2018 Ed Maste <emaste@FreeBSD.org>

UPDATING: remove EOL whitespace in 20180523 entry


# 7e1a13f4 23-May-2018 Matt Macy <mmacy@FreeBSD.org>

UPDATING: note that the pmc callchain ABI has changed


# 6f78fad3 17-May-2018 Sean Bruno <sbruno@FreeBSD.org>

Retire vxge(4).

This driver was merged to HEAD one week prior to Exar publicly announcing they
had left the Ethernet market. It is not known to be used and has various code
quality issues spotted by Brooks and Hiren. Retire it in preparation for
FreeBSD 12.0.

Submitted by: kbowling
Reviewed by: brooks imp
Relnotes: yes
Sponsored by: Limelight Networks
Differential Revision: https://reviews.freebsd.org/D15442


# 6e258ed3 16-May-2018 Warner Losh <imp@FreeBSD.org>

2018 this time.


# eb8831b9 16-May-2018 Warner Losh <imp@FreeBSD.org>

Add note about LD=ld.lld being a temporary requirement when building
the kernel the traditional way.


# 57b49365 08-May-2018 Sean Bruno <sbruno@FreeBSD.org>

nxge(4):
Remove nxge(4) and associated man page and tools in FreeBSD 12.0.

Submitted by: kbowling
Reviewed by: brooks
Relnotes: yes
Sponsored by: Limelight Networks
Differential Revision: https://reviews.freebsd.org/D1529


# ba3833a8 04-May-2018 Philip Paeps <philip@FreeBSD.org>

Point out that the tzdata 2018e update brings in negative DST for certain time
zones. This does not affect the vast majority of users who do not care about
(or even know about) the tm_isdst flag but may be slightly surprising to those
with a more specialised interest in time zone arcana.

MFC after: 3 days


# 2695c9c1 02-May-2018 Sean Bruno <sbruno@FreeBSD.org>

Retire ixgb(4)

This driver was for an early and uncommon legacy PCI 10GbE for a single
ASIC, Intel 82597EX. Intel quickly shifted to the long lived ixgbe family.

Submitted by: kbowling
Reviewed by: brooks imp jeffrey.e.pieper@intel.com
Relnotes: yes
Sponsored by: Limelight Networks
Differential Revision: https://reviews.freebsd.org/D15234


# e6a376d1 01-May-2018 Ed Maste <emaste@FreeBSD.org>

Retire lmc(4)

This driver supports legacy, 32-bit PCI devices, and had an ambiguous
license. Supported devices were already reported to be rare in 2003
(when an earlier version of the driver was removed in r123201).

Reviewed by: rgrimes
Relnotes: Yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D15245


# 796c03e9 27-Apr-2018 Ed Maste <emaste@FreeBSD.org>

Retire UPDATING entries prior to the stable/10 branch

We do not support building from FreeBSD 9.x releases.

Approved by: imp
Sponsored by: The FreeBSD Foundation


# 3a4fc8a8 13-Apr-2018 Brooks Davis <brooks@FreeBSD.org>

Remove support for the Arcnet protocol.

While Arcnet has some continued deployment in industrial controls, the
lack of drivers for any of the PCI, USB, or PCIe NICs on the market
suggests such users aren't running FreeBSD.

Evidence in the PR database suggests that the cm(4) driver (our sole
Arcnet NIC) was broken in 5.0 and has not worked since.

PR: 182297
Reviewed by: jhibbits, vangyzen
Relnotes: yes
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D15057


# 0437c8e3 11-Apr-2018 Brooks Davis <brooks@FreeBSD.org>

Remove support for FDDI networks.

Defines in net/if_media.h remain in case code copied from ifconfig is in
use elsewere (supporting non-existant media type is harmless).

Reviewed by: kib, jhb
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D15017


# 8129693e 06-Apr-2018 Ed Schouten <ed@FreeBSD.org>

Let syslog(3) use RFC 5424.

With r332099 changing syslogd(8) to parse RFC 5424 formatted syslog
messages, go ahead and also change the syslog(3) libc function to
generate them. Compared to RFC 3164, RFC 5424 has various advantages,
such as sub-second precision for log entry timestamps.

As this change could have adverse effects when not updating syslogd(8)
or using a different system logging daemon, add a notice to UPDATING and
increase __FreeBSD_version.

Differential Revision: https://reviews.freebsd.org/D14926


# c53b0251 29-Mar-2018 Brooks Davis <brooks@FreeBSD.org>

It is March not May.

Reported by: jkim


# 69f0fecb 28-Mar-2018 Brooks Davis <brooks@FreeBSD.org>

Remove infrastructure for token-ring networks.

Reviewed by: cem, imp, jhb, jmallett
Relnotes: yes
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D14875


# 779f392b 28-Mar-2018 John Baldwin <jhb@FreeBSD.org>

Expand remaining instances of 'make kernel' to buildkernel + installkernel.

The 'kernel' target is a bit more obscure compared to buildkernel and
installkernel. One instance was already expanded previously in r325097.


# 72bf324c 25-Mar-2018 Benno Rice <benno@FreeBSD.org>

Add an entry dealing with the makefs ISO9660 EFI tagging changes.

If you're building -CURRENT releases and it fails when building ISO images on
amd64 you'll need to update makefs.

Reported by: dch
Sponsored by: iXsystems, Inc.


# f6d1be17 20-Mar-2018 Andrew Turner <andrew@FreeBSD.org>

Remove the entry about loader.efi needing to be updated before the kernel.
The kernel now handles the situation it's warning against as of r331241.

Sponsored by: DARPA, AFRL


# 4e784432 19-Mar-2018 Warner Losh <imp@FreeBSD.org>

Note: this isn't a general thing. It only affects u-boot-based arm64
systems. Make sure the note says that specific case only. Also,
provide a recipe to do it.

Sponsored by: Netflix


# d3cf0e0c 19-Mar-2018 Kyle Evans <kevans@FreeBSD.org>

Add note to UPDATING about UEFI changes requiring loader(8) update

These problems have only been observed with boards using U-Boot (e.g. ARM)
where virtual addresses are already set in the memory map by the firmware
and the firmware is expecting a call to SetVirtualAddressMap to be made.
I refrain from mentioning this in the note because this could also be the
case on some not-yet-tested firmware on amd64 and it's not a bad
recommendation for the general case.


# 7cafeaa1 12-Feb-2018 Warner Losh <imp@FreeBSD.org>

Add Lua as a scripting langauge to /boot/loader

liblua glues the lua run time into the boot loader. It implements all
the runtime routines that lua expects. In addition, it has a few
standard 'C' headers that nueter various aspects of the LUA build that
are too specific to lua to be in libsa. Many refinements from the
original code to improve implementation and the number of included lua
libraries. Use int64_t for lua_Number. Have "/boot/lua" be the default
module path. Numerous cleanups from the original GSoC project,
including hacking libsa to allow lua to be built with only one change
outside luaconf.h.

Add the final bit of lua glue to bring in liblua and plug into the
multiple interpreter framework, previously committed.

Add LOADER_LUA option, currently off by default.

Presently, this is an experimental option. One must opt-in to using
this by defining WITH_LOADER_LUA and WITHOUT_FORTH. It's been
lightly tested, so keep a backup copy of your old loader handy.
The menu code, coming in the next commit, hasn't been exhaustively
tested. A LUA boot loader is 60k larger than a FORTH one, which is
80k larger than a no-interpreter one. Subtle changes in size
may tip things past some subtle limit (the binary is ~430k now
when built with LUA). A future version may offer coexistance.

Bump FreeBSD version to 1200058 to mark the milestone.

Pedro Souza's 2014 Summer of Code project. Rui Paulo, Pedro Arthur,
Zakary Nafziger and Wojciech A. Koszek also contributed. Warner Losh
reworked it extensively into its current form.

Obtained from: https://wiki.freebsd.org/SummerOfCode2014/LuaLoader
Sponsored by: Google Summer of Code
Relnotes: Yes
MFC After: 1 month
Differential Review: https://reviews.freebsd.org/D14295


# ac28ac48 11-Feb-2018 Warner Losh <imp@FreeBSD.org>

Add usb.conf to ObsoleteFiles.
Add a note to UPDATING.
Fix a missing tab.

Relnotes: Yes


# 44c1484a 12-Jan-2018 Jens Schweikhardt <schweikh@FreeBSD.org>

Correct a couple of typos.


# 92593573 10-Jan-2018 Ed Maste <emaste@FreeBSD.org>

Mention switch to ld.lld for amd64 in UPDATING

Sponsored by: The FreeBSD Foundation


# a333cdf3 10-Jan-2018 Warner Losh <imp@FreeBSD.org>

inittodr(0) actually sets the time, so there's no need to call
tc_setclock(). It's redundant. Tweak UPDATING based on code review of
past releases.

Relnotes: yes (for the removal of pmtimer)


# e92cdf4b 10-Jan-2018 Warner Losh <imp@FreeBSD.org>

Docuent pmtimer driver removal.


# fd3bb7aa 04-Jan-2018 Steven Hartland <smh@FreeBSD.org>

Disabled the use of flowid for lagg by default

Disabled the use of RSS hash from the network card aka flowid for
lagg(4) interfaces by default as it's currently incompatible with
the lacp and loadbalance protocols.

The incompatibility is due to the fact that the flowid isn't know
for the first packet of a new outbound stream which can result in
the hash calculation method changing and hence a stream being
incorrectly split across multiple interfaces during normal
operation.

This can be re-enabled by setting the following in loader.conf:
net.link.lagg.default_use_flowid="1"

Discussed with: kmacy
Sponsored by: Multiplay


# d07a3ed0 02-Jan-2018 Mike Karels <karels@FreeBSD.org>

Add info about SW_WATCHDOG change to be dynamic in the common case.


# 99144520 26-Dec-2017 Eitan Adler <eadler@FreeBSD.org>

other: Fix several typos and minor errors

- duplicate words
- typos
- references to old versions of FreeBSD

Reviewed by: imp, benno


# e02f5a18 16-Dec-2017 Jens Schweikhardt <schweikh@FreeBSD.org>

Correct a typo; remove white space at EOL.


# 6e050ee6 15-Dec-2017 Warner Losh <imp@FreeBSD.org>

Note GELI-enabled zfsboot issues have been solved. Flip the switch
back to enabling GELI in boot and loader builds.

Sponsored by: Netflix


# 86375a7e 14-Dec-2017 Warner Losh <imp@FreeBSD.org>

Turn loader GELI support in the boot loaders off by default as a
temporary workaround. This fixes zfs booting generally, but breaks all
GELI booting by default. Add note to UPDATING to this effect. When the
GELI issues are resolved, this will be reverted.


# 8b6d515a 25-Nov-2017 Xin LI <delphij@FreeBSD.org>

Fill in date.


# 47f69f4f 25-Nov-2017 Nathan Whitehorn <nwhitehorn@FreeBSD.org>

Use the cookie now set by loader to determine whether the value passed to
PowerPC kernels in r6 is actually metadata from loader(8) or gibberish
left in r6, which is not required to be anything under the
PAPR/ePAPR/CHRP/OF standards, by another boot loader.

Note that, as a result, systems need a new boot loader to boot PPC kernels
after this revision without ending up at a mountroot prompt. New boot
loaders are backwards compatible and can boot older kernels.

Reviewed by: jhibbits
MFC after: 2 months


# 84de4b97 17-Nov-2017 Gordon Tetlow <gordon@FreeBSD.org>

Correct grammar nit.


# 4728f534 10-Nov-2017 Warner Losh <imp@FreeBSD.org>

Move LOADER_{NO,}_GELI_SUPPORT to MK_LOADER_GELI

Transition to WITH/WITHOUT_LOADER_GELI to flag support or not of GELI
in the boot loaders. Add HAVE_GELI so components can flag they need
support (since it's too large to include everywhere). Add temporary
warnings for the old forms to ease transition.

Also, update test script to build without GELI on x86.

Sponsored by: Netflix


# a179cd91 10-Nov-2017 Warner Losh <imp@FreeBSD.org>

Replace LOADER_FIREWIRE_SUPPORT variable

Rename LOADER_FIREWIRE_SUPPORT to MK_LOADER_FIREWIRE. Only build
libfirewire when this is "yes". Add note to updating. Fix build script
to build this for x86 so the option doesn't decay. sparc64 supports
ZFS, so also build it MK_ZFS=no.

Sponsored by: Netflix


# da86af28 06-Nov-2017 Andriy Gapon <avg@FreeBSD.org>

Add an UPDATING entry for the posix_fallocate/ZFS change, r325320


# 615a1e70 02-Nov-2017 Bryan Drewery <bdrewery@FreeBSD.org>

Enable AUTO_OBJ by default if the OBJDIR is writable, only for in-tree builds.

This can be disabled by putting WITHOUT_AUTO_OBJ=yes in /etc/src-env.conf, not
/etc/src.conf, or passing it in the environment.

The purpose of this rather than simply flipping the default of AUTO_OBJ to yes
is to avoid hassling users with auto.obj.mk failures if the wanted OBJDIR is
not writable. It will fallback to writing to the source directory like it does
today if MAKEOBJDIRPREFIX is not writable.

The act of enabling MK_AUTO_OBJ disables all 'make obj' treewalks since
previous work has made those not run if MK_AUTO_OBJ==yes in Makefile.inc1.

Relnotes: yes
Reviewed by: sjg
Discussed at: https://lists.freebsd.org/pipermail/freebsd-arch/2016-May/017805.html
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D12841


# dfa09989 01-Nov-2017 Bryan Drewery <bdrewery@FreeBSD.org>

Add option UNIFIED_OBJDIR, on by default, which moves the default build OBJDIR.

This changes the build OBJDIR from the older style of /usr/obj/<srcdir> for
native builds, and /usr/obj/<target>.<target_arch>/<srcdir> for cross builds to
a new simpler format of /usr/obj/<srcdir>/<target>.<target_arch>. This
new format is used regardless of cross or native build. It allows
easier management of multiple source tree object directories.

The UNIFIED_OBJDIR option will be removed and its feature made permanent
for the 12.0 release.

Relnotes: yes (don't note UNIFIED_OBJDIR option since it will be removed)
Prior work: D3711 D874
Reviewed by: gjb, sjg
Discussed at: https://lists.freebsd.org/pipermail/freebsd-arch/2016-May/017805.html
Discussed with: emaste
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D12840


# f2970fcf 29-Oct-2017 Eitan Adler <eadler@FreeBSD.org>

Revert removal of 9.x references in UPDATING

Requested by: imp


# 47f9f0c2 29-Oct-2017 Eitan Adler <eadler@FreeBSD.org>

Update the updating URL in UPDATING

Also remove references to 9.x


# e5f5a852 29-Oct-2017 Eitan Adler <eadler@FreeBSD.org>

Update UPDATING

- Remove FreeBSD 4.x of building the kernel.
While it might technically work, it is better to
document the 'correct' way than how to shoot oneself
in the foot

- Remove reference to CVS -P for src.


# 5bd47cc5 28-Oct-2017 Bryan Drewery <bdrewery@FreeBSD.org>

Change native-xtools to not install by default; add a native-xtools-install.

Without this the user has to mess with 'make -f Makefile.inc1 ...' to figure
out where the files are installed in the OBJDIR and then they need to copy them
to where they really wanted them. Using DESTDIR may be problematic after
r325001 as well.

The files will be installed to DESTDIR/NXTP where NXTP defaults to /nxb-bin.

MFC after: 2 weeks
Sponsored by: Dell EMC Isilon


# 0a51cbc9 21-Oct-2017 Warner Losh <imp@FreeBSD.org>

Add note to updating about shifting LOADER_*SUPPORT options.

Sponsored by: Netflix


# b0bd840b 09-Oct-2017 Warner Losh <imp@FreeBSD.org>

Note libstand is no longer a public interface in UPDATING. Bump
FreeBSD_version to 1200051 on the off chance that something cares.

Sponsored by: Netflix


# 60a64746 06-Oct-2017 Warner Losh <imp@FreeBSD.org>

Note about workaround for native armv7 builds using a kernel prior to
r324363.


# 1b755713 05-Oct-2017 Warner Losh <imp@FreeBSD.org>

Add updating for armv7 and bump FreeBSD_version.

Sponsored by: Netflix


# 82ef8ce5 04-Oct-2017 Cy Schubert <cy@FreeBSD.org>

Fix typo.


# 0c059da3 03-Oct-2017 Cy Schubert <cy@FreeBSD.org>

When building multiple kernels using KERNCONF, non-existent KERNCONF
files will produce an error and buildkernel will fail. Previously missing
KERNCONF files silently failed giving no indication as to why, only to
subsequently discover during installkernel that the desired kernel was
never built in the first place.

This is a rework of r302865.

This is the correct patch.

Reviewed by: ngie (previous version, r302865)
MFC after: 2 months
Differential Revision: D7167


# 84f54c4f 03-Oct-2017 Cy Schubert <cy@FreeBSD.org>

Revert r324246. This is not exactly what was intended.


# 74e0e295 03-Oct-2017 Cy Schubert <cy@FreeBSD.org>

When building multiple kernels using KERNCONF, non-existent KERNCONF
files will produce an error and buildkernel will fail. Previously missing
KERNCONF files silently failed giving no indication as to why, only to
subsequently discover during installkernel that the desired kernel was
never built in the first place.

This is a rework of r302865.

Reviewed by: ngie (previous version, r302865)
MFC after: 2 months
Differential Revision: D7167


# d1797f7b 17-Sep-2017 Mariusz Zaborski <oshogbo@FreeBSD.org>

Fix language used in the r322923.

Pointed out by: wblock@
MFC after: 1 week
X-MFC-with: r322923


# 71cd87c6 12-Sep-2017 Alan Somers <asomers@FreeBSD.org>

Remove spaces from CTL devices' default serial numbers

It's awkward to have spaces in CAM device serial numbers. That leads to
such things as device nodes named "/dev/diskid/MYSERIAL%20%20%201". Better
to replace the spaces with "0"s. This change only affects the default
serial numbers for users who don't provide their own.

Reviewed by: ken, mav
MFC after: Never
Relnotes: Yes
Sponsored by: Spectra Logic Corp
Differential Revision: https://reviews.freebsd.org/D12263


# 08d1c5b1 12-Sep-2017 Warner Losh <imp@FreeBSD.org>

End softfp->hardfp transition period for arm

On hard-float 32-bit arm platforms, always search for the soft float
binaries in the alternative locations.

Sponsored by: Netflix
Differential Review: https://reviews.freebsd.org/D12274
MFC After: 1 week


# 3453dc72 26-Aug-2017 Mariusz Zaborski <oshogbo@FreeBSD.org>

Hide length of geli passphrase during boot.

Introduce additional flag to the geli which allows to restore previous
behavior.

Reviewed by: AllanJude@, cem@ (previous version)
MFC: 1 month
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D11751


# 32a04bb8 25-Aug-2017 Sean Bruno <sbruno@FreeBSD.org>

Use counter(9) for PLPMTUD counters.

Remove unused PLPMTUD sysctl counters.

Bump UPDATING and FreeBSD Version to indicate a rebuild is required.

Submitted by: kevin.bowling@kev009.com
Reviewed by: jtl
Sponsored by: Limelight Networks
Differential Revision: https://reviews.freebsd.org/D12003


# 992f1a8e 14-Aug-2017 Enji Cooper <ngie@FreeBSD.org>

Add an UPDATING entry for r322511.

MFC after: 2 months


# 2f401b0a 08-Aug-2017 Kirk McKusick <mckusick@FreeBSD.org>

Add an entry to UPDATING for r322297 which restores the ability
of fsck to automatically find alternate superblocks when the
standard one is trashed or unavailable.

MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D11589


# 662e9863 07-Aug-2017 Ed Maste <emaste@FreeBSD.org>

UPDATING: clarify what the RCMDS knob controls


# d10cef38 28-Jul-2017 Rick Macklem <rmacklem@FreeBSD.org>

Add an entry to UPDATING for r321665.


# 726fd71d 21-Jul-2017 Dimitry Andric <dim@FreeBSD.org>

Set tentative merge dates, bump __FreeBSD_version.


# cf3de641 01-Jul-2017 Jeremie Le Hen <jlh@FreeBSD.org>

Disable RCMDS by default.

This was announced in this thread:
https://lists.freebsd.org/pipermail/freebsd-arch/2017-June/018239.html

Applying plan proposed by ngie@ in:
https://lists.freebsd.org/pipermail/freebsd-arch/2017-June/018249.html

The port has been submitted as net/bsdrcmds in r444814.

Approved by: bapt, roberto, and others


# fbcf7bcd 25-Jun-2017 Justin Hibbits <jhibbits@FreeBSD.org>

Solve the y2038 problem for powerpc

AKA Make time_t 64 bits on powerpc(32).

PowerPC currently (until now) was one of two architectures with a 32-bit time_t
on 32-bit archs (the other being i386). This is an ABI breakage, so all ports,
and all local binaries, *must* be recompiled.

Tested by: andreast, others
MFC after: Never
Relnotes: Yes


# a28412b0 24-Jun-2017 Ed Maste <emaste@FreeBSD.org>

Clean up stale dependencies after r320278

Our current approach to dependency tracking cannot cope with switching
generated asm syscall stubs into C wrappers. Perpetuate the hack in
Makefile.inc1 to paper over the problem until we can take a holistic
approach to fixing dependency problems.

Differential Revision: https://reviews.freebsd.org/D11344


# 9dd39fd6 24-Jun-2017 Warner Losh <imp@FreeBSD.org>

Document that the dependencies aren't quite right for non-clean build.


# 5ab191c4 23-Jun-2017 Warner Losh <imp@FreeBSD.org>

Forward compatibility for ino64.

Add forward compatibility so that new binaries can run on old
kernels. If the new system call from ino64 isn't available on your
system, then the old one will be used and the results translated. The
stat and statfs families of functions are fully emulated. While not
required by policy, in this case it is helpful to our users to provide
this compatibility. In this case, it allows rollback of the kernel
after installing a new userland should a problem be discovered. It
also prevents foot-shooting if a user does an install before rebooting
with the new kernel. Finally, it allows the use case where one needs
to run new binaries on an old kernel as part of an upgrade process.

The getdirentries family uses tricks that may not work on remote
filesystems. Specifically, it uses a buffer 1/4 the size requested to
get the data from he old syscall.

The code carefully uses direct syscalls for old system calls to avoid
referencing freebsd11_* symbols, which contaminate ld-elf.so.1's
export table due to its use of stat functions, which causes errno to
be incorrect in client programs due to the wrong *stat* function being
resolved in some cases.

This code should removed sometime after 12 is branched.

Tested on: 12-current binaries on a 10.3-beta kernel run and return
consistent results. 12-current kernel and userland with
packages from before ino64 was committed also work.

Differential Revision: https://reviews.freebsd.org/D11185
Reviewed by: kib@, emaste@


# fcf8f4a8 19-Jun-2017 Emmanuel Vadot <manu@FreeBSD.org>

Fix punctionation in UPDATING and regen src.conf after r320127

Reported by: ngie


# 011717d3 19-Jun-2017 Emmanuel Vadot <manu@FreeBSD.org>

Switch back to the BSDL DTC (Device Tree Compiler).
The BSDL dtc has grown the needed features (overlays mostly) and is able to
compile all of our base DTS.
You can use WITH_GPL_DTC is you need the GPL one or DTC= in make.conf(5)
to specify an alternate location for the compiler to use.

Discussed with: emaste, imp


# 33ecebd1 18-Jun-2017 Rick Macklem <rmacklem@FreeBSD.org>

Add an entry to UPDATING for the version bump done by r320085.


# 472c2b48 16-Jun-2017 Ed Maste <emaste@FreeBSD.org>

UPDATING: sort 20170531 entry correctly (from r319664)


# 9a96ba16 16-Jun-2017 Konstantin Belousov <kib@FreeBSD.org>

Add UPDATING note about kevent(2) ABI change.

Sponsored by: The FreeBSD Foundation


# 738919c0 07-Jun-2017 Baptiste Daroussin <bapt@FreeBSD.org>

Remove groff from base

All manpages in base are now compatible with mandoc(1), all roff documentation
will be relocated in the doc tree. man(1) can now use groff from the ports tree
if it needs.

Also remove checknr(1) and colcrt(1) which are only useful with groff.

Approved by: (no objections on the mailing lists)


# 71deb2bc 01-Jun-2017 Bryan Drewery <bdrewery@FreeBSD.org>

Revert r319457.

META_MODE users actually do not need to do anything special assuming
they have COMPAT_FREEBSD11 enabled. The host tools in WORLDTMP will
continue to work just fine.


# 5667ff1f 01-Jun-2017 Bryan Drewery <bdrewery@FreeBSD.org>

META_MODE users should build with -DNO_META_IGNORE_HOST once after ino64 upgrade.

See r301467 for more details.


# f539305e 25-May-2017 Jeremie Le Hen <jlh@FreeBSD.org>

Replace stale handbook URL with the proper on.

MFC after: 0 days


# 9949595e 24-May-2017 Adrian Chadd <adrian@FreeBSD.org>

Bump UPDATING to cover the ath shuffle.


# dcfffd04 24-May-2017 Ed Maste <emaste@FreeBSD.org>

UPDATING: clarify ino64 upgrade instructions even further

- mention COMPAT_FREEBSD11 earlier so that the steps are in chronological
order
- suggest removing /usr/obj before build to ensure there are no stale
objects

Reviewed by: allanjude, kib
Sponsored by: The FreeBSD Foundation


# bb2a5bfa 23-May-2017 Ed Maste <emaste@FreeBSD.org>

UPDATING: ino64 upgrade should include COMPAT_FREEBSD11

The upgrade process requires COMPAT_FREEBSD11 to support the combination
of "old" userland and "new" kernel that exists after "make kernel" and
reboot. Mention this explicitly for those using custom kernel configs.
Once the "new" world is installed the COMPAT_FREEBSD11 could be removed
again, but that does not seem necessary to mention in UPDATING.

Reported by: kib
Sponsored by: The FreeBSD Foundation


# b149eba4 23-May-2017 Ed Maste <emaste@FreeBSD.org>

Add note to UPDATING for ino64 to follow the standard upgrade process

The existing upgrade process documented in UPDATING is both necessary
and sufficient for upgrading across the ino64 change. However, the
shortcut of installing both kernel + world before a single reboot has
been possible for quite some time, and several developers and users
were surprised by fallout from ino64. Add an explicit entry pointing
out that the full process must be followed.

Reviewed by: allanjude, gjb, vangyzen
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D10877


# 28da7a25 26-Apr-2017 Bryan Drewery <bdrewery@FreeBSD.org>

Revert r317432 and add a new entry for r316527.

Requested by: imp


# cae0551b 25-Apr-2017 Bryan Drewery <bdrewery@FreeBSD.org>

Remove entry for r304436 removed in r316527.

Sponsored by: Dell EMC Isilon


# a25a1ff4 24-Apr-2017 Brooks Davis <brooks@FreeBSD.org>

Document the removal of NATM.

Relnotes: yes


# a17665bc 20-Apr-2017 Baptiste Daroussin <bapt@FreeBSD.org>

Replace again GNU diff with BSD diff

After a firts failed attempt, BSD diff is now good enough to replace
GNU diff.

Relnotes: yes


# f849be8a 16-Apr-2017 Dimitry Andric <dim@FreeBSD.org>

Add preliminary UPDATING and ObsoleteFiles.inc entries. Also add one
new intrinsics header.


# a3a09aef 13-Apr-2017 Jens Schweikhardt <schweikh@FreeBSD.org>

Correct minor grammos; minor white-space fixes.


# 0cad3eca 13-Apr-2017 Cy Schubert <cy@FreeBSD.org>

Add missing bracket (typo).


# 5810e45b 13-Apr-2017 Cy Schubert <cy@FreeBSD.org>

Document change in (incorrect) ipfilter behaviour fixed by r316810.
Keep frags can be used with keep state independently.


# 1bf5e133 07-Apr-2017 Ed Maste <emaste@FreeBSD.org>

do not require binutils port when using lld as ld

r279908 added logic to Makefile.inc1 to automatically set
CROSS_BINUTILS_PREFIX for architectures not supported by the in-tree
binutils: arm64 when first introduced, and later riscv64 as well.

LLVM's LLD linker is now included in the base system, and is enabled by
default for arm64 and capable of linking world and kernel. Thus, avoid
automatically setting CROSS_BINUTILS_PREFIX and requiring the binutils
port if WITH_LLD_IS_LD is true.

Reviewed by: kan
Relnotes: Yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D10310


# 4d806fc6 31-Mar-2017 Steven Hartland <smh@FreeBSD.org>

Allow explicitly assigned IPv6 loopback address to be used in jails

If a jail has an explicitly assigned IPv6 loopback address then allow it
to be used instead of remapping requests for the loopback adddress to the
first IPv6 address assigned to the jail.

This fixes issues where applications attempt to detect their bound port
where they requested a loopback address, which was available, but instead
the kernel remapped it to the jails first address.

This is the same fix applied to IPv4 fix by: r316313

Also:
* Correct the description of prison_check_ip6_locked to match the code.

MFC after: 2 weeks
Relnotes: Yes
Sponsored by: Multiplay


# 6ebc1b7b 30-Mar-2017 Steven Hartland <smh@FreeBSD.org>

Allow explicitly assigned IPv4 loopback address to be used in jails

If a jail has an explicitly assigned loopback address then allow it to be
used instead of remapping requests for the loopback adddress to the first
IPv4 address assigned to the jail.

This fixes issues where applications attempt to detect their bound port
where they requested a loopback address, which was available, but instead
the kernel remapped it to the jails first address.

A example of this is binding nginx to 127.0.0.1 and then running "service
nginx upgrade" which before this change would cause nginx to fail.

Also:
* Correct the description of prison_check_ip4_locked to match the code.

MFC after: 2 weeks
Relnotes: Yes
Sponsored by: Multiplay


# 0458b265 29-Mar-2017 Enji Cooper <ngie@FreeBSD.org>

Add an UPDATING entry for cfiscsi(4)'s addition in r316212

MFC after: 2 months
X-MFC with: r316212
Requested by: mav (D10099)
Sponsored by: Dell EMC Isilon


# 2c5ddcf8 19-Mar-2017 Baptiste Daroussin <bapt@FreeBSD.org>

Temporary readd GNU diff

etcupdate requires --change-group-format it is not easy to implement
in bsd diff so for now readd GNU diff


# 72dec079 16-Mar-2017 Marius Strobl <marius@FreeBSD.org>

- Add support for eMMC "partitions". Besides the user data area, i. e.
the default partition, eMMC v4.41 and later devices can additionally
provide up to:
1 enhanced user data area partition
2 boot partitions
1 RPMB (Replay Protected Memory Block) partition
4 general purpose partitions (optionally with a enhanced or extended
attribute)

Of these "partitions", only the enhanced user data area one actually
slices the user data area partition and, thus, gets handled with the
help of geom_flashmap(4). The other types of partitions have address
space independent from the default partition and need to be switched
to via CMD6 (SWITCH), i. e. constitute a set of additional "disks".

The second kind of these "partitions" doesn't fit that well into the
design of mmc(4) and mmcsd(4). I've decided to let mmcsd(4) hook all
of these "partitions" up as disk(9)'s (except for the RPMB partition
as it didn't seem to make much sense to be able to put a file-system
there and may require authentication; therefore, RPMB partitions are
solely accessible via the newly added IOCTL interface currently; see
also below). This approach for one resulted in cleaner code. Second,
it retains the notion of mmcsd(4) children corresponding to a single
physical device each. With the addition of some layering violations,
it also would have been possible for mmc(4) to add separate mmcsd(4)
instances with one disk each for all of these "partitions", however.
Still, both mmc(4) and mmcsd(4) share some common code now e. g. for
issuing CMD6, which has been factored out into mmc_subr.c.

Besides simply subdividing eMMC devices, some Intel NUCs having UEFI
code in the boot partitions etc., another use case for the partition
support is the activation of pseudo-SLC mode, which manufacturers of
eMMC chips typically associate with the enhanced user data area and/
or the enhanced attribute of general purpose partitions.

CAVEAT EMPTOR: Partitioning eMMC devices is a one-time operation.

- Now that properly issuing CMD6 is crucial (so data isn't written to
the wrong partition for example), make a step into the direction of
correctly handling the timeout for these commands in the MMC layer.
Also, do a SEND_STATUS when CMD6 is invoked with an R1B response as
recommended by relevant specifications. However, quite some work is
left to be done in this regard; all other R1B-type commands done by
the MMC layer also should be followed by a SEND_STATUS (CMD13), the
erase timeout calculations/handling as documented in specifications
are entirely ignored so far, the MMC layer doesn't provide timeouts
applicable up to the bridge drivers and at least sdhci(4) currently
is hardcoding 1 s as timeout for all command types unconditionally.
Let alone already available return codes often not being checked in
the MMC layer ...

- Add an IOCTL interface to mmcsd(4); this is sufficiently compatible
with Linux so that the GNU mmc-utils can be ported to and used with
FreeBSD (note that due to the remaining deficiencies outlined above
SANITIZE operations issued by/with `mmc` currently most likely will
fail). These latter will be added to ports as sysutils/mmc-utils in
a bit. Among others, the `mmc` tool of the GNU mmc-utils allows for
partitioning eMMC devices (tested working).

- For devices following the eMMC specification v4.41 or later, year 0
is 2013 rather than 1997; so correct this for assembling the device
ID string properly.

- Let mmcsd.ko depend on mmc.ko. Additionally, bump MMC_VERSION as at
least for some of the above a matching pair is required.

- In the ACPI front-end of sdhci(4) describe the Intel eMMC and SDXC
controllers as such in order to match the PCI one.
Additionally, in the entry for the 80860F14 SDXC controller remove
the eMMC-only SDHCI_QUIRK_INTEL_POWER_UP_RESET.

OKed by: imp
Submitted by: ian (mmc_switch_status() implementation)


# 6ed14738 15-Mar-2017 Andrey V. Elsukov <ae@FreeBSD.org>

Change the syntax of ipfw's named states.

Since the state name is an optional argument, it often can conflict
with other options. To avoid ambiguity now the state name must be
prefixed with a colon.

Obtained from: Yandex LLC
MFC after: 2 week
Sponsored by: Yandex LLC


# f7c23774 10-Mar-2017 Emmanuel Vadot <manu@FreeBSD.org>

Document the removal of radeon and i915 old drm driver done in r315045.

Reported by: linimon


# 3bbe3f67 10-Mar-2017 Baptiste Daroussin <bapt@FreeBSD.org>

Import diff from OpenBSD and remove GNU diff

Some of the modifications from the previous summer of code has been integrated
Modification for compatibility with GNU diff output has been added

Main difference with OpenBSD:
Implement multiple GNU diff options:
* --ignore-file-name-case
* --no-ignore-file-name-case
* --normal
* --tabsize
* --strip-trailing-cr
Make diff -p compatible with GNU diff
Implement diff -l
Make diff -r compatible with GNU diff

Capsicumize diffing 2 regular files
Add a simple test suite

Approved by: AsiaBSDcon devsummit
Obtained from: OpenBSD, GSoC
Relnotes: yes


# 25ef829b 05-Mar-2017 Pedro F. Giffuni <pfg@FreeBSD.org>

Revert r314669, r314670:
Bring back the i486 option in GENERIC by default.

The code related to i386 CPU variants configuration has received many
changes in the last years: most of the features are detected automatically,
so there are no performance penalties from keeping the 486 support enabled.

Re-instate the 486 support: while the general configuration could still be
cleaned a bit, there is no advantage in removing it.

Differential Revision: https://reviews.freebsd.org/D9879


# b07e2e3e 04-Mar-2017 Pedro F. Giffuni <pfg@FreeBSD.org>

Add UPDATING entry per r314669: removal of classic i486 configuration.


# e1bb2a82 01-Mar-2017 Dimitry Andric <dim@FreeBSD.org>

Bump __FreeBSD_version, and set tentative merge date.


# e9a0a054 21-Feb-2017 Andriy Gapon <avg@FreeBSD.org>

add UPDATING entry for r314048, re-work of .zfs code


# 18f447ed 16-Feb-2017 Warner Losh <imp@FreeBSD.org>

Note EISA and MCA bus removal


# f52e4bdf 26-Jan-2017 Ed Maste <emaste@FreeBSD.org>

Rename LLD_AS_LD to LLD_IS_LD, for consistency with CLANG_IS_CC

Reported by: Dan McGregor <dan.mcgregor usask.ca>


# 062a4b8c 12-Jan-2017 Sean Bruno <sbruno@FreeBSD.org>

Deprecate kernel configuration option EM_MULTIQUEUE now that the em(4)
driver conforms to iflib.


# f2d6ace4 09-Jan-2017 Sean Bruno <sbruno@FreeBSD.org>

Migrate e1000 to the IFLIB framework:
- em(4) igb(4) and lem(4)
- deprecate the igb device from kernel configurations
- create a symbolic link in /boot/kernel from if_em.ko to if_igb.ko

Devices tested:
- 82574L
- I218-LM
- 82546GB
- 82579LM
- I350
- I217

Please report problems to freebsd-net@freebsd.org

Partial review from jhb and suggestions on how to *not* brick folks who
originally would have lost their igbX device.

Submitted by: mmacy@nextbsd.org
MFC after: 2 weeks
Relnotes: yes
Sponsored by: Limelight Networks and Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D8299


# 617b5f75 04-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Add preliminary ObsoleteFiles and UPDATING entries.


# 4644fe91 17-Dec-2016 Dimitry Andric <dim@FreeBSD.org>

Put a tentative import date in ObsoleteFiles.inc and UPDATING.


# 45bd65d6 25-Nov-2016 Dimitry Andric <dim@FreeBSD.org>

Add UPDATING entry and update ObsoleteFiles.inc.


# 7736f1a9 24-Nov-2016 Dimitry Andric <dim@FreeBSD.org>

Add UPDATING entry for clang/llvm 3.9.0 import.


# 4026b447 19-Nov-2016 Justin Hibbits <jhibbits@FreeBSD.org>

Fix buildworld for powerpc.

vmpage requires struct pmap to exist and contain a pm_stats field. As of
r308817, either AIM or BOOKE is required to be set in order to get their
respective pmap structs. Rather than expose them both, or try to unify them
unnecessarily, add a third option which contains only a pm_stats field, and
change the two existing pmap structures to place the common fields at the
beginning of the struct. This actually fixes the stats collection by libkvm on
AIM hardware, because before it was accessing a possibly different offset, which
would cause it to read garbage.

Bump __FreeBSD_version to denote this ABI change, so that ports which depend on
libkvm can be rebuilt.


# fb9b2ab1 16-Nov-2016 Bryan Drewery <bdrewery@FreeBSD.org>

Fix grammar nit


# 448897d3 29-Oct-2016 Andriy Gapon <avg@FreeBSD.org>

add iic interface to ig4 driver, move isl and cyapa to iicbus

Summary:
The hardware does not expose a classic SMBus interface.
Instead it has a lower level interface that can express a far richer
I2C protocol than what smbus offers. However, the interface does not
provide a way to explicitly generate the I2C stop and start conditions.
It's only possible to request that the stop condition is generated
after transferring the next byte in either direction. So, at least
one data byte must always be transferred.
Thus, some I2C sequences are impossible to generate, e.g., an equivalent
of smbus quick command (<start>-<slave addr>-<r/w bit>-<stop>).

At the same time isl(4) and cyapa(4) are moved to iicbus and now they use
iicbus_transfer for communication. Previously they used smbus_trans()
interface that is not defined by the SMBus protocol and was implemented
only by ig4(4). In fact, that interface was impossible to implement
for the typical SMBus controllers like intpm(4) or ichsmb(4) where
a type of the SMBus command must be programmed.

The plan is to remove smbus_trans() and all its uses.
As an aside, the smbus_trans() method deviates from the standard,
but perhaps backwards, FreeBSD convention of using 8-bit slave
addresses (shifted by 1 bit to the left). The method expects
7-bit addresses.

There is a user facing consequence of this change.
A user must now provide device hints for isl and cyapa that specify an iicbus to use
and a slave address on it.
On Chromebook hardware where isl and cyapa devices are commonly found
it is also possible to use a new chromebook_platform(4) driver that
automatically configures isl and cyapa devices. There is no need to
provide the device hints in that case,

Right now smbus(4) driver tries to discover all slaves on the bus.
That is very dangerous. Fortunately, the probing code uses smbus_trans()
to do its job, so it is really enabled for ig4 only.
The plan is to remove that auto-probing code and smbus_trans().

Tested by: grembo, Matthias Apitz <guru@unixarea.de> (w/o
chromebook_platform)
Discussed with: grembo, imp
Reviewed by: wblock (docs)
MFC after: 1 month
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D8172


# 90136961 23-Oct-2016 Warner Losh <imp@FreeBSD.org>

Tweak the UPDATING message a bit about the upgrade path.
Add some automation into Makefile.inc1 to to enforce known good
upgrade from source paths.


# fca3dcdf 19-Oct-2016 Warner Losh <imp@FreeBSD.org>

After deeper software archaeology, reports that 10.3R was affected
turned out to be mistaken. Adjust the entry and fix a few typos.


# 5ad05815 19-Oct-2016 Warner Losh <imp@FreeBSD.org>

Document the unique requirements for upgrading more
prominently. Unlike in the past (dating back to the 4.x branch point),
you cannot upgrade from any point on the past couple of stable
branches to -current. Due to a bug in clang that existed before
r286035 in stable/9 or r286033 in stable/10, we cannot compile llvm
that's in 11.x or -current. Unfortunately, these revisions are after
9.3R and 10.3R on their respective branches. stable/11 and 11.0R are
not affected.

This also affects the upgrade path to 11 (including 11.0R) from
stable/9 and stable/10 (which would otherwise work, were it not for
this bug).

We also need to amend the 11.0R release notes.

MFC After: 3 days


# 2616dd0b 17-Oct-2016 Andriy Voskoboinyk <avos@FreeBSD.org>

Fix dates + add an UPDATING entry.


# 31b54b30 15-Oct-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Improve wording

Submitted by: lidl


# 963d6c18 14-Oct-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Fix typo

Reported by: "N.J. Mann" <njm@njm.me.uk>


# a0135a1e 14-Oct-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Remove GNU rcs from base.

GNU rcs is still available as a package:
- rcs: Latest GPLv3 GNU rcs version.
- rcs57: Copy of the latest version of GNU rcs (GPLv2) from base.

Relnotes: yes


# bd79708d 11-Oct-2016 Jonathan T. Looney <jtl@FreeBSD.org>

In the TCP stack, the hhook(9) framework provides hooks for kernel modules
to add actions that run when a TCP frame is sent or received on a TCP
session in the ESTABLISHED state. In the base tree, this functionality is
only used for the h_ertt module, which is used by the cc_cdg, cc_chd, cc_hd,
and cc_vegas congestion control modules.

Presently, we incur overhead to check for hooks each time a TCP frame is
sent or received on an ESTABLISHED TCP session.

This change adds a new compile-time option (TCP_HHOOK) to determine whether
to include the hhook(9) framework for TCP. To retain backwards
compatibility, I added the TCP_HHOOK option to every configuration file that
already defined "options INET". (Therefore, this patch introduces no
functional change. In order to see a functional difference, you need to
compile a custom kernel without the TCP_HHOOK option.) This change will
allow users to easily exclude this functionality from their kernel, should
they wish to do so.

Note that any users who use a custom kernel configuration and use one of the
congestion control modules listed above will need to add the TCP_HHOOK
option to their kernel configuration.

Reviewed by: rrs, lstewart, hiren (previous version), sjg (makefiles only)
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D8185


# 9ce3c6b0 03-Oct-2016 Ed Maste <emaste@FreeBSD.org>

Retire WITHOUT_ELFCOPY_AS_OBJCOPY option

In FreeBSD 11 ELF Tool Chain's elfcopy is installed as objcopy by
default, with the option to switch back to GNU objcopy by setting
WITHOUT_ELFCOPY_AS_OBJCOPY in make.conf.

We plan to remove the outdated in-tree binutils in FreeBSD 12, so
remove the temporary transition aid.

Reviewed by: brooks, imp
Relnotes: Yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D7337


# bba95d2d 25-Sep-2016 Marcel Moolenaar <marcel@FreeBSD.org>

Relocatable object files are renamed from *.So to *.pico

Reminder by: imp@


# 452e1889 18-Sep-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Sperify that users can find rcs and rcs57 in ports

Reported by: cy


# f902d06c 18-Sep-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Use the proper word

Reported by: danfe


# 0c52d775 18-Sep-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Apparently we are supposed to use 2 spaces after full stop

Reported by: danfe


# 0adf2bc8 18-Sep-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Disable GNU rcs by default

All remaining tools using rcs has been switched to directly use diff3(1):
- etcupdate(8)
- freebsd-update(8)

Note that the ident(1) tool is been already replaced long ago with a BSD
licensed version, as such it remains installed.

GNU rcs is still available from ports:
- rcs: newer GPLv3 version
- rcs57: the latest version from base (GPLv2)


# 5b71d899 17-Sep-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Remove backup_uses_rcs from rc.subr

In preparation for the removal of GNU rcs from base, remove the backup_uses_rcs
functionality from the rc.subr backup_file feature. This functionnality was off
by default

Reviewed by: wblock
Differential Revision: https://reviews.freebsd.org/D7883


# 06b93667 08-Sep-2016 Conrad Meyer <cem@FreeBSD.org>

queue(3): Enhance queue debugging macros

Split the QUEUE_MACRO_DEBUG into QUEUE_MACRO_DEBUG_TRACE and
QUEUE_MACRO_DEBUG_TRASH.

Add the debug macrso QMD_IS_TRASHED() and QMD_SLIST_CHECK_PREVPTR().

Document these in queue.3.

Reviewed by: emaste
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D3984


# 1c828193 24-Aug-2016 Navdeep Parhar <np@FreeBSD.org>

Bump __FreeBSD_version for r304787 and add a note about it to UPDATING.


# 41029db1 18-Aug-2016 Ryan Stone <rstone@FreeBSD.org>

Don't check for broadcast IPs on non-bcast pkts

in_broadcast() can be quite expensive, so skip calling it if the
incoming mbuf wasn't sent to a broadcast L2 address in the first
place.

Reviewed by: gnn
MFC after: 2 months
Sponsored by: EMC / Isilon Storage Division
Differential Revision: https://reviews.freebsd.org/D7309


# 3e7e2333 18-Aug-2016 George V. Neville-Neil <gnn@FreeBSD.org>

Remove the obsolete and unused openbsd_poll system call. (Phase 2)

Reported by: brooks
Reviewed by: brooks, jhb
Differential Revision: https://reviews.freebsd.org/D7548


# f0db8553 20-Jul-2016 Brooks Davis <brooks@FreeBSD.org>

Minor wording improvements to the note about pipe(2) removal.

MFC after: 5 days
Sponsored by: DARPA, AFRL


# bcc238ea 15-Jul-2016 Cy Schubert <cy@FreeBSD.org>

Revert r302865 and it's sister r302866 as r302865 causes some breakage.

Reported by: Guy Yur <guyyur@gmail.com>


# 651ad92c 14-Jul-2016 Cy Schubert <cy@FreeBSD.org>

Document that missing KERNCONF files will now cause buildkernel to fail.

Suggested by: ngie@
Differential Revision: D7167


# 981b538f 07-Jul-2016 Glen Barber <gjb@FreeBSD.org>

Spell '12.x' correctly in UPDATING.

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


# ae940db1 07-Jul-2016 Glen Barber <gjb@FreeBSD.org>

Reflect head is now 12.0-CURRENT.

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


# 678243ff 23-Jun-2016 Brooks Davis <brooks@FreeBSD.org>

Fix two typos in r302152.

Approved by: re (implicit)


# ddc2f805 23-Jun-2016 Brooks Davis <brooks@FreeBSD.org>

Add an UPDATING entry for the pipe() -> pipe2() transition.

Approved by: re (gjb)
Sponsored by: DARPA, AFRL


# ab5d7fb1 27-May-2016 Alan Somers <asomers@FreeBSD.org>

Fix typo from r300880

Reported by: rpokala
MFC after: Never
Sponsored by: Spectra Logic Corp


# 583febf4 27-May-2016 Alan Somers <asomers@FreeBSD.org>

Strip leading spaces off of a SCSI disk's serial number

sys/cam/scsi/scsi_xpt.c
Strip leading spaces off of a SCSI disk's reported serial number
when populating the CAM serial number. This affects the output of
"diskinfo -v" and the names of /dev/diskid/DISK-* device nodes,
among other things.

SPC5r05 says that the Product Serial Number field from the Unit
Serial Number VPD page is right-aligned. So any leading spaces are
not part of the actual serial number. Most devices don't left-pad
their serial numbers, but some do. In particular, the SN VPD page
that an LSI HBA emulates for a SATA drive contains enough
left-padding to fill a 20-byte field.

UPDATING
Add a note to UPDATING, because some users may have to update
/etc/fstab or geom labels.

Reviewed by: ken, mav
MFC after: Never
Sponsored by: Spectra Logic Corp
Differential Revision: https://reviews.freebsd.org/D6516


# 1b82e02f 23-May-2016 Alan Somers <asomers@FreeBSD.org>

Add bit_count to the bitstring(3) api

Add a bit_count function, which efficiently counts the number of bits set in
a bitstring.

sys/sys/bitstring.h
tests/sys/sys/bitstring_test.c
share/man/man3/bitstring.3
Add bit_alloc

sys/kern/subr_unit.c
Use bit_count instead of a naive counting loop in check_unrhdr, used
when INVARIANTS are enabled. The userland test runs about 6x faster
in a generic build, or 8.5x faster when built for Nehalem, which has
the POPCNT instruction.

sys/sys/param.h
Bump __FreeBSD_version due to the addition of bit_alloc

UPDATING
Add a note about the ABI incompatibility of the bitstring(3)
changes, as suggested by lidl.

Suggested by: gibbs
Reviewed by: gibbs, ngie
MFC after: 9 days
X-MFC-With: 299090, 300538
Relnotes: yes
Sponsored by: Spectra Logic Corp
Differential Revision: https://reviews.freebsd.org/D6255


# 957fc425 22-May-2016 Ian Lepore <ian@FreeBSD.org>

Add a note on how to update a self-hosted armv6hf system to the entry
describing the armv6hf->armv6 change.


# 94098ab7 20-May-2016 Andrew Turner <andrew@FreeBSD.org>

Remove brk and sbrk from arm64. They were defined in The Single UNIX
Specification, Version 2, but marked as legacy, and have been removed from
later specifications. After 12 years it is time to remove them from new
architectures when the main use for sbrk is an invalid method to attempt
to find how much memory has been allocated from malloc.

There are a few places in the tree that still call sbrk, however they are
not used on arm64. They will need to be fixed to cross build from arm64,
but these will be fixed in a follow up commit.

Old copies of binutils from ports called into sbrk, however this has been
fixed around 6 weeks ago. It is advised to update binutils on arm64 before
installing a world that includes this change.

Reviewed by: brooks, emaste
Obtained from: brooks
Relnotes: yes
Sponsored by: ABT Systems Ltd
Differential Revision: https://reviews.freebsd.org/D6464


# 2c0e9e2a 18-May-2016 Warner Losh <imp@FreeBSD.org>

Make armv6 hard float abi by default. Kill armv6hf.
Allow CPUTYPE=soft to build the current soft-float abi libraries.
Add UPDATING entry to announce this.

Approved by: re@ (gjb)


# 5f0263c1 10-May-2016 John Baldwin <jhb@FreeBSD.org>

Change the default installation directory for modules to /boot/modules.

Kernel installs always override KMODDIR when installing modules, so
this default setting is only used for standalone module builds. Many
out-of-tree modules manually override KMODDIR already to avoid placing
modules in /boot/kernel. This now makes that behavior the default.

Discussed on: arch@
Reviewed by: imp
Relnotes: yes


# a1ff7af0 03-May-2016 Pedro F. Giffuni <pfg@FreeBSD.org>

Misc. build: minor spelling fixes.

No functional change.


# a1743365 14-Apr-2016 Warner Losh <imp@FreeBSD.org>

Add update.


# 13694b35 14-Apr-2016 Warner Losh <imp@FreeBSD.org>

Add note about CAM I/O scheduler.


# 497e8091 30-Mar-2016 Bryan Drewery <bdrewery@FreeBSD.org>

Remove the old depend (mkdep) code and make FAST_DEPEND the one true way.

Reviewed by: emaste, hselasky (partial), brooks (brief)
Discussed on: arch@
Sponsored by: EMC / Isilon Storage Division
Differential Revision: https://reviews.freebsd.org/D5742


# da1b038a 17-Mar-2016 Justin Hibbits <jhibbits@FreeBSD.org>

Use uintmax_t (typedef'd to rman_res_t type) for rman ranges.

On some architectures, u_long isn't large enough for resource definitions.
Particularly, powerpc and arm allow 36-bit (or larger) physical addresses, but
type `long' is only 32-bit. This extends rman's resources to uintmax_t. With
this change, any resource can feasibly be placed anywhere in physical memory
(within the constraints of the driver).

Why uintmax_t and not something machine dependent, or uint64_t? Though it's
possible for uintmax_t to grow, it's highly unlikely it will become 128-bit on
32-bit architectures. 64-bit architectures should have plenty of RAM to absorb
the increase on resource sizes if and when this occurs, and the number of
resources on memory-constrained systems should be sufficiently small as to not
pose a drastic overhead. That being said, uintmax_t was chosen for source
clarity. If it's specified as uint64_t, all printf()-like calls would either
need casts to uintmax_t, or be littered with PRI*64 macros. Casts to uintmax_t
aren't horrible, but it would also bake into the API for
resource_list_print_type() either a hidden assumption that entries get cast to
uintmax_t for printing, or these calls would need the PRI*64 macros. Since
source code is meant to be read more often than written, I chose the clearest
path of simply using uintmax_t.

Tested on a PowerPC p5020-based board, which places all device resources in
0xfxxxxxxxx, and has 8GB RAM.
Regression tested on qemu-system-i386
Regression tested on qemu-system-mips (malta profile)

Tested PAE and devinfo on virtualbox (live CD)

Special thanks to bz for his testing on ARM.

Reviewed By: bz, jhb (previous)
Relnotes: Yes
Sponsored by: Alex Perez/Inertial Computing
Differential Revision: https://reviews.freebsd.org/D4544


# d783b170 11-Mar-2016 Bryan Drewery <bdrewery@FreeBSD.org>

Enable FAST_DEPEND by default.

Discussed on: arch
Sponsored by: EMC / Isilon Storage Division


# c834228b 06-Mar-2016 Dimitry Andric <dim@FreeBSD.org>

Add an UPDATING entry about installing the boot loaders after installing
the kernel, on amd64.


# 8b66d3d3 04-Mar-2016 John Baldwin <jhb@FreeBSD.org>

Add an UPDATING entry for the recent AIO changes.

Suggested by: maxim


# de463b29 26-Feb-2016 Ed Maste <emaste@FreeBSD.org>

Correct date on ELF Tool Chain UPDATING entry

Reported by: dhw


# ca8b902a 26-Feb-2016 Ed Maste <emaste@FreeBSD.org>

Install elftoolchain elfcopy(1) as objcopy(1) by default

As of r295661 elfcopy supports PE format for EFI boot binaries and is a
viable objcopy implementation for the base system and ports.

The (temporary) src.conf knob WITHOUT_ELFCOPY_AS_OBJCOPY knob may be set
to obtain the GNU version if necessary.

PR: 207091 [exp-run]
Relnotes: Yes
Sponsored by: The FreeBSD Foundation


# d4b9233a 29-Jan-2016 Alan Somers <asomers@FreeBSD.org>

Add a sysctl to allow ZFS pools backed by zvols

Change 294329 removed the ability to build ZFS pools that are backed by
zvols, because having that ability (even if it's not used) leads to
deadlocks. By popular demand, I'm adding an off-by-default sysctl to
reenable that ability.

Reviewed by: lidl, delphij
MFC after: Never
Sponsored by: Spectra Logic Corp
Differential Revision: https://reviews.freebsd.org/D4998


# acf8e75e 21-Jan-2016 Dag-Erling Smørgrav <des@FreeBSD.org>

Enable DSA keys by default. They were disabled in OpenSSH 6.9p1.

Noticed by: glebius


# 405b75f9 21-Jan-2016 Gleb Smirnoff <glebius@FreeBSD.org>

Note that new ssh(1) doesn't allow to use DSA keys by default.


# 60c59fad 19-Jan-2016 Dag-Erling Smørgrav <des@FreeBSD.org>

As previously threatened, remove the HPN patch from OpenSSH.


# 3bf7d9a6 12-Jan-2016 Marcelo Araujo <araujo@FreeBSD.org>

ypldap(8) is a feature ready to be used to translate nis(8) database to ldap(3).

This commit, fix a core dump on ypldap(8) related with memory allocation.
Also an example of how to set the ypldap.conf(5) properly is added to
examples files.

A new user _ypldap is required to be able to run ypldap(8) as well as
in a chroot mode.

Reviewed by: rodrigc (mentor), bjk
Approved by: bapt (mentor)
Relnotes: Yes
Sponsored by: gandi.net
Differential Revision: https://reviews.freebsd.org/D4744


# 4d6ab32f 16-Dec-2015 Baptiste Daroussin <bapt@FreeBSD.org>

pxeboot: make the tftp loader use the option root-path directive

pxeboot in tftp loader mode (when built with LOADER_TFTP_SUPPORT) now
prefix all the path to open with the path obtained via the option 'root-path'
directive.

This allows to be able to use the traditional content /boot out of box. Meaning
it now works pretty much like all other loaders. It simplifies hosting hosting
multiple version of FreeBSD on a tftp server.

As a consequence, pxeboot does not look anymore for a pxeboot.4th (which was
never provided)

Note: that pxeboot in tftp loader mode is not built by default.

Reviewed by: rpokala
Relnotes: yes
Sponsored by: Gandi.net
Differential Revision: https://reviews.freebsd.org/D4590


# ca7e5285 13-Dec-2015 Warner Losh <imp@FreeBSD.org>

The new pnp module records causes older kldxref to spew some
warnings. Make a note of it to inform people how to get around it.


# 015dfda6 07-Dec-2015 Ed Maste <emaste@FreeBSD.org>

Build and install userland .debug files by default

Debug data files are now built by default with 'make buildworld' and
installed with 'make installworld'. This facilitates debugging but
requires more disk space both during the build and for the installed
world. Debug files may be disabled by setting WITHOUT_DEBUG_FILES=yes
in src.conf(5).

Reviewed by: bdrewery, eadler, vangyzen
Relnotes: Yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D4018


# b67490a3 01-Dec-2015 Bryan Drewery <bdrewery@FreeBSD.org>

Fix errors being ignored in many phases of the build since the bmake integration.

Say it with me, "I will not chain commands with && in Makefiles"

This was originally fixed and explained quite well by bde@ in r36074. The
initial bmake integration caused 'set -e' to stop being used which lead to
r252419. Later 'set -e' expectations were fixed with bmake in r254980.

Because of the && here, errors would be ignored when building in parallel and
a dependency failed. Such as bootstrap-tools since it builds everything in
parallel. If any tool failed in obj/depend/all, it would just ignore the error
and continue to build. This later would result in cascaded errors that only
confused the real issue. This could also cause commands after the failed
command to still execute, leading to more confusion.

This should be fine if the command is in a sub-shell such as: (cmd1 && cmd2)

This reverts r252419.

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division


# 33ba1088 30-Nov-2015 Rick Macklem <rmacklem@FreeBSD.org>

Document the __FreeBSD_version bump done for r291527 in UPDATING.


# 1300d6f1 18-Nov-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Recommend only to remove the content of /usr/share/locale/ and not the directory
Add a missing full stop


# 02dcb6e0 17-Nov-2015 Eitan Adler <eadler@FreeBSD.org>

Fix two spelling errors


# 10b5202e 17-Nov-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Fix typo

Submitted by: ngie


# 01bedb0c 16-Nov-2015 Baptiste Daroussin <bapt@FreeBSD.org>

install(1) is following symlinks when installing a files, which result in
inconsistency when installing new locales and may also result in failures
when reinstalling after having run make delete-old (due to previous
inconsistencies) for now recommand removing all locales until install(1) is
fixed


# 0492a14f 07-Nov-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Add a note about the inpact on databases of the changes in collation support

Reported by: girgen


# af1d74f0 06-Nov-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Add an UPDATING entry about the changed of behaviour for listed files due to
now supporting correctly string collation


# ebda5173 20-Oct-2015 Alexander Motin <mav@FreeBSD.org>

Document isp_*_multi firmware kernel modules removal at r289626.


# 56585ab5 17-Oct-2015 Bryan Drewery <bdrewery@FreeBSD.org>

Rework the 'make -n -n' feature such that '-n' recurses and '-N' does not.

Bmake has a documented feature of '-N' to skip executing commands which is
specifically intended for debugging top-level builds and not recursing into
sub-directories. This matches the older 'make -n' behavior we added which made
'-n -n' the recursing target and '-n' a non-recursing target.

Removing the '-n -n' feature allows the build to work as documented in
the bmake manpage with '-n' and '-N'. The older '-n -n' feature was also
not documented anywhere that I could see.

Note that the ${_+_} var is still needed as currently bmake incorrectly
executes '+' commands when '-N' is specified.

The '-n' and '-n -n' features were broken for several reasons prior to this.
r251748 made '_+_' never expand with '-n -n' which resulted in many
sub-directories not being visited until fixed 2 years later in r288391, and
many targets were given .MAKE over the past few years which resulted in
non-sub-make commands, such as rm and ln and mtree, to be executed.

This should also allow removing some indirection hacks in bsd.subdir.mk and
other cases of .USE that have a .MAKE by using '+'.

Sponsored by: EMC / Isilon Storage Division
Discussed on: arch@ (mostly silence)


# ab866a3d 17-Oct-2015 Alexander Motin <mav@FreeBSD.org>

Fix ZFS ABI compat shims for `zfs receive` after r289362.

Difference appeared much less drammatic then seemed originally.


# 5873e5fc 16-Oct-2015 Alexander Motin <mav@FreeBSD.org>

Bump version and add notice about incompatibility introduced by resumable
send/receive support in ZFS.


# a8f2a2b9 12-Oct-2015 Ed Maste <emaste@FreeBSD.org>

Rewrap UPDATING entry from r265422 to 80 columns


# ff446b05 12-Oct-2015 Peter Wemm <peter@FreeBSD.org>

If world is built with a custom sendmail.cf, use it for the distribution
target. This is the feeder for mergemaster / etcupdate. This change
makes installworld/mergemaster/etcupdate behave the same regardless of
whether SENDMAIL_MC or SENDMAIL_CF is used.

If you use a custom SENDMAIL_MC/CF in make.conf and excluded it from
mergemaster.rc/etcupdate.conf to work around the conflicts, you may wish
to revert that or change it from 'ignore' to 'always install'.

If you do not use a custom SENDMAIL_MC/CF, there should be no change in
behavior.


# 4a3760ba 11-Oct-2015 Alexander Motin <mav@FreeBSD.org>

Remove compatibility shims for legacy ATA device names.

We got new ATA stack in FreeBSD 8.x, switched to it at 9.x, completely
removed old stack at 10.x, so at 11.x it is time to remove compat shims.


# d31de548 06-Oct-2015 Dimitry Andric <dim@FreeBSD.org>

Update dates in UPDATING and ObsoleteFiles.inc.


# 4f01407b 05-Oct-2015 Dimitry Andric <dim@FreeBSD.org>

Prepare for merging back to head.


# 5882166b 24-Sep-2015 Ed Maste <emaste@FreeBSD.org>

Correct UPDATING entry date


# 05117b57 24-Sep-2015 Ed Maste <emaste@FreeBSD.org>

Install kernel debug data under /usr/lib/debug

This avoids needing a large boot partition / file system in order to
accommodate multiple kernels, and provides consistency with userland
debug. This also simplifies the process of moving kernel debug files
to a separate package and installing them on demand.

In addition, change kernel debug file extension to .debug, to match
userland debug files.

When using the supported kernel installation method the
/usr/lib/debug/boot/kernel directory will be renamed (to kernel.old)
as is done with /boot/kernel.

Developers wishing to maintain the historical behavior of installing
debug files in /boot/kernel/ can set KERN_DEBUGDIR="" in src.conf(5).

Reviewed by: bdrewery, brooks, imp, markj
Relnotes: yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D1006


# 8ed69220 29-Aug-2015 Gleb Smirnoff <glebius@FreeBSD.org>

Add reminder to run etcupdate or mergemaster to get updated
rc.d scripts for wireless.

Poked by: adrian


# 64b3b4d6 27-Aug-2015 Kristof Provost <kp@FreeBSD.org>

pf: Remove support for 'scrub fragment crop|drop-ovl'

The crop/drop-ovl fragment scrub modes are not very useful and likely to confuse
users into making poor choices.
It's also a fairly large amount of complex code, so just remove the support
altogether.

Users who have 'scrub fragment crop|drop-ovl' in their pf configuration will be
implicitly converted to 'scrub fragment reassemble'.

Reviewed by: gnn, eri
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D3466


# 646041a8 17-Aug-2015 Mark Murray <markm@FreeBSD.org>

Add DEV_RANDOM pseudo-option and use it to "include out" random(4)
if desired.

Retire randomdev_none.c and introduce random_infra.c for resident
infrastructure. Completely stub out random(4) calls in the "without
DEV_RANDOM" case.

Add RANDOM_LOADABLE option to allow loadable Yarrow/Fortuna/LocallyWritten
algorithm. Add a skeleton "other" algorithm framework for folks
to add their own processing code. NIST, anyone?

Retire the RANDOM_DUMMY option.

Build modules for Yarrow, Fortuna and "other".

Use atomics for the live entropy rate-tracking.

Convert ints to bools for the 'seeded' logic.

Move _write() function from the algorithm-specific areas to randomdev.c

Get rid of reseed() function - it is unused.

Tidy up the opt_*.h includes.

Update documentation for random(4) modules.

Fix test program (reviewers, please leave this).

Differential Revision: https://reviews.freebsd.org/D3354
Reviewed by: wblock,delphij,jmg,bjk
Approved by: so (/dev/random blanket)


# 1bc28ffc 13-Aug-2015 Ed Maste <emaste@FreeBSD.org>

Roll WITHOUT_ELFTOOLCHAIN_TOOLS into WITHOUT_TOOLCHAIN

The option was added only to ease the transition from GNU Binutils to
ELF Tool Chain tools, and that process is now complete (for the viable
replacements). Noting the removal in UPDATING is sufficient as we have
not shipped a release with the option.

Reviewed by: brooks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D3240


# e7dbaf58 10-Aug-2015 Ian Lepore <ian@FreeBSD.org>

Document the change in polarity of the uart(4) PPS capture.


# 34c7eb57 08-Aug-2015 Koop Mast <kwm@FreeBSD.org>

Add a new group named 'video' with the id of 44. And make drm create
devices in /dev/dri/ with this new group.

This will allow ports and users to more easily access to these devices
for OpenGL and OpenCL support.

Reviewed by: dumbbell@
Approved by: dumbbell@
Differential Revision: https://reviews.freebsd.org/D1260


# 9322ac3f 06-Aug-2015 Allan Jude <allanjude@FreeBSD.org>

Remove guards around overwriting loader.rc and menu.rc

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


# f97aa232 05-Aug-2015 Ed Maste <emaste@FreeBSD.org>

Remove old GNU Binutils tools now provided by ELF Tool Chain

Reviewed by: bapt, brooks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D3238


# 9c80b8aa 29-Jul-2015 Warner Losh <imp@FreeBSD.org>

Clarify historical practice of not removing old entries. Add entry for
stable/10 branch that was forgotten when it was created. Update end
date to be correct.


# 68d5f492 28-Jul-2015 Steven Hartland <smh@FreeBSD.org>

Correct typo in UPDATING message

MFC after: 3 days
Sponsored by: Multiplay


# 1635369e 28-Jul-2015 Steven Hartland <smh@FreeBSD.org>

Add warning about low KSTACK_PAGES for ZFS use

As ZFS requires a more kernel stack pages than is the default on some
architectures e.g. i386, warn if KSTACK_PAGES is less than
ZFS_MIN_KSTACK_PAGES (which is 4 at the time of writing).

MFC after: 3 days
Sponsored by: Multiplay


# abb4c3db 19-Jul-2015 Mark Murray <markm@FreeBSD.org>

Clean up some trailing whitespace.


# ab1f4a42 06-Jul-2015 Gregory Neil Shapiro <gshapiro@FreeBSD.org>

Add warning about change of behavior for sendmail 8.15.2 under FreeBSD 11
with regards to IPv6 address representation in configuration/maps/rulesets.


# d1b06863 30-Jun-2015 Mark Murray <markm@FreeBSD.org>

Huge cleanup of random(4) code.

* GENERAL
- Update copyright.
- Make kernel options for RANDOM_YARROW and RANDOM_DUMMY. Set
neither to ON, which means we want Fortuna
- If there is no 'device random' in the kernel, there will be NO
random(4) device in the kernel, and the KERN_ARND sysctl will
return nothing. With RANDOM_DUMMY there will be a random(4) that
always blocks.
- Repair kern.arandom (KERN_ARND sysctl). The old version went
through arc4random(9) and was a bit weird.
- Adjust arc4random stirring a bit - the existing code looks a little
suspect.
- Fix the nasty pre- and post-read overloading by providing explictit
functions to do these tasks.
- Redo read_random(9) so as to duplicate random(4)'s read internals.
This makes it a first-class citizen rather than a hack.
- Move stuff out of locked regions when it does not need to be
there.
- Trim RANDOM_DEBUG printfs. Some are excess to requirement, some
behind boot verbose.
- Use SYSINIT to sequence the startup.
- Fix init/deinit sysctl stuff.
- Make relevant sysctls also tunables.
- Add different harvesting "styles" to allow for different requirements
(direct, queue, fast).
- Add harvesting of FFS atime events. This needs to be checked for
weighing down the FS code.
- Add harvesting of slab allocator events. This needs to be checked for
weighing down the allocator code.
- Fix the random(9) manpage.
- Loadable modules are not present for now. These will be re-engineered
when the dust settles.
- Use macros for locks.
- Fix comments.

* src/share/man/...
- Update the man pages.

* src/etc/...
- The startup/shutdown work is done in D2924.

* src/UPDATING
- Add UPDATING announcement.

* src/sys/dev/random/build.sh
- Add copyright.
- Add libz for unit tests.

* src/sys/dev/random/dummy.c
- Remove; no longer needed. Functionality incorporated into randomdev.*.

* live_entropy_sources.c live_entropy_sources.h
- Remove; content moved.
- move content to randomdev.[ch] and optimise.

* src/sys/dev/random/random_adaptors.c src/sys/dev/random/random_adaptors.h
- Remove; plugability is no longer used. Compile-time algorithm
selection is the way to go.

* src/sys/dev/random/random_harvestq.c src/sys/dev/random/random_harvestq.h
- Add early (re)boot-time randomness caching.

* src/sys/dev/random/randomdev_soft.c src/sys/dev/random/randomdev_soft.h
- Remove; no longer needed.

* src/sys/dev/random/uint128.h
- Provide a fake uint128_t; if a real one ever arrived, we can use
that instead. All that is needed here is N=0, N++, N==0, and some
localised trickery is used to manufacture a 128-bit 0ULLL.

* src/sys/dev/random/unit_test.c src/sys/dev/random/unit_test.h
- Improve unit tests; previously the testing human needed clairvoyance;
now the test will do a basic check of compressibility. Clairvoyant
talent is still a good idea.
- This is still a long way off a proper unit test.

* src/sys/dev/random/fortuna.c src/sys/dev/random/fortuna.h
- Improve messy union to just uint128_t.
- Remove unneeded 'static struct fortuna_start_cache'.
- Tighten up up arithmetic.
- Provide a method to allow eternal junk to be introduced; harden
it against blatant by compress/hashing.
- Assert that locks are held correctly.
- Fix the nasty pre- and post-read overloading by providing explictit
functions to do these tasks.
- Turn into self-sufficient module (no longer requires randomdev_soft.[ch])

* src/sys/dev/random/yarrow.c src/sys/dev/random/yarrow.h
- Improve messy union to just uint128_t.
- Remove unneeded 'staic struct start_cache'.
- Tighten up up arithmetic.
- Provide a method to allow eternal junk to be introduced; harden
it against blatant by compress/hashing.
- Assert that locks are held correctly.
- Fix the nasty pre- and post-read overloading by providing explictit
functions to do these tasks.
- Turn into self-sufficient module (no longer requires randomdev_soft.[ch])
- Fix some magic numbers elsewhere used as FAST and SLOW.

Differential Revision: https://reviews.freebsd.org/D2025
Reviewed by: vsevolod,delphij,rwatson,trasz,jmg
Approved by: so (delphij)


# e44053b7 24-Jun-2015 Gregory Neil Shapiro <gshapiro@FreeBSD.org>

Add a note on the second sendmail fix for WeakDH interoperability.


# bfe96f21 23-Jun-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Remove entry about make.conf - no longer relevant


# 6f78e390 16-Jun-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Make mention of make.conf being included earlier and what to do about it.

Reviewed by: NGie


# 32c88b52 16-Jun-2015 Warner Losh <imp@FreeBSD.org>

Remove old fmake. It wasn't built by default for some time. Users that
really need it can find it in the devel/fmake port or pkg install fmake.
Note: This commit is orthogonal to the question 'can we fmake buildworld'.

Differential Revision: https://reviews.freebsd.org/D2840


# 9c5682ed 15-Jun-2015 Gregory Neil Shapiro <gshapiro@FreeBSD.org>

The fix for the issue described in the 20150614 sendmail entry has
been been committed in revision 284436.

MFC after: 1 day


# 61099d9a 15-Jun-2015 Enji Cooper <ngie@FreeBSD.org>

Remove ALLOW_DEPRECATED_ATF_TOOLS/ATFFILE support from atf.test.mk

The legacy atf tools were removed in atf 0.20

MFC after: 2 weeks


# 22596424 14-Jun-2015 Gregory Neil Shapiro <gshapiro@FreeBSD.org>

Add a quick (?) note for users who may be having sendmail interoperability issues
due to the recent (FreeBSD-SA-15:10.openssl) OpenSSL change to reject 512 bit
DH parameters. Affects 11-CURRENT and 10-STABLE.


# b8d08379 04-Jun-2015 Xin LI <delphij@FreeBSD.org>

Document the disable of legacy entries in password database in UPDATING
and bump __FreeBSD_version after r283981.


# ebeff3f9 30-May-2015 Dimitry Andric <dim@FreeBSD.org>

Update Makefiles and other build glue for llvm/clang 3.7.0, as of trunk
r238337.


# 5b03aba6 21-May-2015 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Switch TI platform support code from using FreeBSD's custom-baked DTS
files to vendor-provided ones. It should make easier to adopt platform
code to new revisions of hardware and to use DTS overlays for various
Beaglebone extensions (shields/capes).

Original dts filenames were not changed, they're now wrappers over dts
files provided by TI. So make sure you update .dtb files on your
devices as part of kernel update

GPIO addressing was changed: instead of one global /dev/gpioc0 there
are per-bank instances of /dev/gpiocX. Each bank has 32 pins so for
instance pin 121 on /dev/gpioc0 in old addressing scheme is now pin 25
on /dev/gpioc3

On Pandaboard serial console devices was changed from /dev/ttyu0 to
/dev/ttyu2 so you'll have to update /etc/ttys to get login prompt
on serial port in multiuser mode. Single user mode serial console
should work as-is

Differential Revision: https://reviews.freebsd.org/D2146
Reviewed by: rpaulo, ian, Michal Meloun, Svatopluk Kraus


# 21fcca66 01-May-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Add a note about the replacement of GNU groff's soelim(1)


# eee7269f 29-Apr-2015 Steven Hartland <smh@FreeBSD.org>

Correct date typo in UPDATING

MFC after: 1 month
X-MFC-With: r282208
Sponsored by: Multiplay


# ad34cace 28-Apr-2015 Steven Hartland <smh@FreeBSD.org>

Standardise chmod, chflags, chown and chgrp recursive symlink processing

chmod, chflags, chgrp, chmod and chown now affect symlinks in -R mode as
defined in symlink(7); previously symlinks were silently ignored.

Differential Revision: https://reviews.freebsd.org/D2316
Reviewed by: jilles
MFC after: 1 month
Relnotes: yes
Sponsored by: Multiplay


# 757a876f 16-Apr-2015 Brooks Davis <brooks@FreeBSD.org>

Make it harder to specify invalid LIBADD by causing values without
corresponding DPADD_<lib> variables to produce a useful error message.

Differential Revision: https://reviews.freebsd.org/D2295
Reviewed by: bapt
Sponsored by: DARPA, AFRL


# 1243a98e 15-Apr-2015 Tijl Coosemans <tijl@FreeBSD.org>

Remove the const qualifier from iconv(3) to comply with POSIX:
http://pubs.opengroup.org/onlinepubs/9699919799/functions/iconv.html

Adjust all code that calls iconv.

PR: 199099
Exp-run by: antoine
MFC after: 2 weeks


# cdc58367 24-Mar-2015 Alexander Motin <mav@FreeBSD.org>

Remove from legacy ata(4) driver support for hardware, supported by newer
and more functional drivers ahci(4), siis(4) and mvs(4).

This removes about 3400 lines of code, unused since FreeBSD 9.0 release.


# 302cd48a 15-Mar-2015 Dimitry Andric <dim@FreeBSD.org>

Bump __FreeBSD_version again, and set real dates in UPDATING and
ObsoleteFiles.inc, in preparation for the merge back to head.


# 5c845fde 07-Mar-2015 Nathan Whitehorn <nwhitehorn@FreeBSD.org>

Make 32-bit PowerPC kernels, like 64-bit PowerPC kernels, position-independent
executables. The goal here, not yet accomplished, is to let the e500 kernel
run under QEMU by setting KERNBASE to something that fits in low memory and
then having the kernel relocate itself at runtime.


# 4c25bba7 21-Feb-2015 Gavin Atkinson <gavin@FreeBSD.org>

Typo: effect -> affect.


# 3a25555c 18-Feb-2015 Glen Barber <gjb@FreeBSD.org>

Fix a grammar nit.

Sponsored by: The FreeBSD Foundation


# 19442b85 18-Feb-2015 Xin LI <delphij@FreeBSD.org>

Bump revision again after my Fortuna change.


# 82f8b70d 17-Feb-2015 John-Mark Gurney <jmg@FreeBSD.org>

bump the rev... ZFS is the first fall out of this bug, but there might
be others...


# 997707f4 17-Feb-2015 John-Mark Gurney <jmg@FreeBSD.org>

note that you should update your kernel due to RNG issue, and what
versions you should upgrade...

Suggested by: Ryan Stone


# e9aba509 11-Feb-2015 Enji Cooper <ngie@FreeBSD.org>

Document caveat with specifying WITHOUT_VI at build/install time when building
older releases of FreeBSD


# 09cfaa45 10-Feb-2015 Edward Tomasz Napierala <trasz@FreeBSD.org>

Update UPDATING after changing autofs(4) ABI.

Suggested by: bdrewery@
Sponsored by: The FreeBSD Foundation


# 0fa22505 31-Jan-2015 Nathan Whitehorn <nwhitehorn@FreeBSD.org>

Build the powerpc64 kernel as a position-independent executable. At startup,
it processes its own ELF relocations and can be loaded and run in place at
any physical/virtual address.

NB: This requires an updated loader to boot!

Relnotes: yes


# 6ce3ca64 26-Jan-2015 Dimitry Andric <dim@FreeBSD.org>

Update other build glue: ObsoleteFiles.inc, UPDATING, mtree files, and
OptionalObsoleteFiles.inc.


# 968d62e1 07-Jan-2015 Ed Maste <emaste@FreeBSD.org>

Use a set of ELF Tool Chain tools by default

These tools are now from the ELF Tool Chain project:

* addr2line
* elfcopy (strip)
* nm
* size
* strings

The binutils versions are available by setting in src.conf:
WITHOUT_ELFTOOLCHAIN_TOOLS=yes

Thanks to antoine@ for multiple exp-runs and diagnosing many of the
failures.

PR: 195561 (ports exp-run)
Sponsored by: The FreeBSD Foundation


# f1b3840c 05-Jan-2015 Dag-Erling Smørgrav <des@FreeBSD.org>

Enable remote control using a local socket in the default configuration.


# 74342541 05-Jan-2015 Christian Brueffer <brueffer@FreeBSD.org>

Fix a few grammar issues.


# 2d281361 02-Jan-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Remove GNU texinfo from base along with all info pages.

To be able to info pages consider installing texinfo from ports print/texinfo or
via pkg: pkg install texinfo

Differential Revision: https://reviews.freebsd.org/D1409
Reviewed by: emaste, imp (previous version)
Relnotes: yes


# 0ac2c3d1 31-Dec-2014 Dimitry Andric <dim@FreeBSD.org>

Some minor changes to UPDATING.


# 143c11b4 30-Dec-2014 Dimitry Andric <dim@FreeBSD.org>

First stab at UPDATING notes for clang 3.5.0.


# 0b327b63 22-Dec-2014 Rick Macklem <rmacklem@FreeBSD.org>

Add an UPDATING entry for r276096, which removed the kernel
sources for the old NFS client and server.


# 5f25ee9c 16-Dec-2014 Brooks Davis <brooks@FreeBSD.org>

Add an UPDATING entry and warning about the change in r274807 to help users
transition to the new behavior.

Discussed with: jmallett
Sponsored by: DARPA, AFRL


# 603eaf79 09-Nov-2014 Alexander V. Chernikov <melifaro@FreeBSD.org>

Renove faith(4) and faithd(8) from base. It looks like industry
have chosen different (and more traditional) stateless/statuful
NAT64 as translation mechanism. Last non-trivial commits to both
faith(4) and faithd(8) happened more than 12 years ago, so I assume
it is time to drop RFC3142 in FreeBSD.

No objections from: net@


# 72ce7f29 09-Nov-2014 Alexander Leidinger <netchild@FreeBSD.org>

We moved to ada a while ago, reflect that in the example.


# 2d6f6d63 04-Nov-2014 Jean-Sébastien Pédron <dumbbell@FreeBSD.org>

Enable vt(4) by default

vt(4) is a new console driver which brings features such as:
o Support for Unicode and double-width characters
o Integration with the KMS kernel video drivers
o Support for UEFI

You may need to update your console settings in /etc/rc.conf, most
probably the keymap. During boot, /etc/rc.d/syscons will indicate what
you need to do.

vt(4) still has issues and lacks some features compared to syscons(4).
See the wiki for up-to-date information:
https://wiki.freebsd.org/Newcons

If you want to keep using syscons(4), you can do so by adding the
following line to /boot/loader.conf:
kern.vty=sc

Differential Revision: https://reviews.freebsd.org/D1005
Discussed with: emaste@, nwhitehorn@, ray@
Relnotes: yes


# fa809347 03-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Integrate pjdfstest test suite execution into kyua

pjdfstest execution is opt-in and must be done as root due to some of the
assumptions made by the test suite and lack of error checking in the non-root
case

A description of how to execute pjdfstest with kyua is provided in
share/pjdfstest/README

Phabric: D824 (an earlier prototype patch)
MFC after: 1 month
Relnotes: yes
Sponsored by: EMC / Isilon Storage Division


# ddd96d23 09-Oct-2014 Ed Maste <emaste@FreeBSD.org>

Build gperf only if we're using g++ (not clang++)

gperf is used as a build tool for g++ and is not needed for Clang
architectures. Ports and third-party software that need it can use the
up-to-date devel/gperf port.

PR: 194103 (exp-run)
Reviewed by: bapt
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D886


# 243d6a50 22-Sep-2014 Sean Bruno <sbruno@FreeBSD.org>

UPDATING: linux-c6 support notes, and how to fall back to linux-f10.

PR: 187786
MFC after: 2 days
Relnotes: yes


# 232490c6 29-Jul-2014 Nathan Whitehorn <nwhitehorn@FreeBSD.org>

Make mmap() of the console device when using ofwfb work like other supported
framebuffer drivers. This lets ofwfb work with xf86-video-scfb and makes
the driver much more generic and less PCI-centric. This changes some
user-visible behavior and will require updates to the xorg-server port
on PowerPC when using ATI graphics cards.


# 12f22a78 27-Jul-2014 Peter Wemm <peter@FreeBSD.org>

Forced commit - testing commit mail etc pipelines.


# 0aafd404 24-Jul-2014 Warner Losh <imp@FreeBSD.org>

Add compat shims for XDEV and XDEV_ARCH so we don't break all the
users of them. Also, add a note to updating. We'll keep these shims at
least until the 12 branch.


# 0d0485e2 18-Jul-2014 Dag-Erling Smørgrav <des@FreeBSD.org>

Document the need to regenerate the local_unbound configuration.


# f4717209 10-Jul-2014 Baptiste Daroussin <bapt@FreeBSD.org>

The GNU texinfo and GNU info pages are not built and installed
anymore, WITH_INFO knob has been added to allow to built and install
them again.

Reviewed by: imp


# 8a833bda 09-Jul-2014 Baptiste Daroussin <bapt@FreeBSD.org>

The GNU readline library is now an INTERNALLIB - that is, it is
statically linked into consumers (GDB and variants) in the base
system, and the shared library is no longer installed.

That also allows ports to be able to use a modern version of readline

PR: 162948
Reviewed by: emaste


# 50f73640 02-Jul-2014 Marcel Moolenaar <marcel@FreeBSD.org>

Remove ia64 from the list of known architectures and add an entry to
UPDATING. This is the first step towards the removal of ia64 from
head. A buildworld for ia64 will now yield:

% make buildworld
make[1]: "/usr/src/Makefile.inc1" line 151: Unknown target ia64:ia64.

While here, trim the ia64-specific additions from ObsoleteFiles.inc

Discussed at: BSDcan


# 18aa7fcc 01-Jul-2014 Rick Macklem <rmacklem@FreeBSD.org>

Add an entry for r268115 to UPDATING.


# 824a9093 29-Jun-2014 Ed Maste <emaste@FreeBSD.org>

Rename the WITHOUT_VT_SUPPORT knob to WITHOUT_VT

The _SUPPORT knobs have a consistent meaning which differs from the
behaviour controlled by this knob. As the knob is opt-out and has not
appeared in a release the impact should be low.

Suggested by: imp, wblock
MFC after: 1 week


# 38b72f8c 24-Jun-2014 Alexander Motin <mav@FreeBSD.org>

Document r267639 CTL ABI breakage.


# 59a24370 24-Jun-2014 Warner Losh <imp@FreeBSD.org>

Remove fixed path as part of suggestion. Three dots are fine for most
uses. Add a note about a correct workaround.


# 1cb207df 22-Jun-2014 Andrey A. Chernov <ache@FreeBSD.org>

Change suggestion how to set MAKESYSPATH as broken incremental build
workaround. Magic ".../share/mk" (search directories up to /)
does not work for f.e. /usr/src/gnu/lib/libgcc because the path
inside is starting from /usr/obj hierarchy and ends up in
/usr/share/mk, not in the /usr/src/share/mk where src.opts.mk is.
IMHO proper fixing of incremental build is needed urgently.


# 8c7ec47a 06-Jun-2014 Julio Merino <jmmv@FreeBSD.org>

Move atf-sh from /usr/bin/ to /usr/libexec/

In r266650, we made libatf-c and libatf-c++ private libraries so that no
components outside of the source tree could unintendedly depend on them.

This change does the same for the "atf-sh library" by moving the atf-sh
interpreter from its public location in /usr/bin/ to the private location
in /usr/libexec/. Our build system will ensure that our own test programs
use the right binary, but users won't be able to depend on atf-sh by
"mistake".

Committing this now to ride the UPDATING notice added with r267172 today.


# 727a7ce8 06-Jun-2014 Julio Merino <jmmv@FreeBSD.org>

Homogenize libatf-* version numbers with upstream.

The libatf-* major version numbers in FreeBSD were one version ahead of
upstream because, when atf was first imported into FreeBSD, the upstream
numbers were not respected. This is just confusing and bound to cause
problems down the road.

Fix this by taking advantage of the fact that libatf-* are now private
and that atf is not yet built by default. However, and unfortunately, a
clean build is needed for tests to continue working once "make
delete-old-libs" has been run; hence the note in UPDATING.


# fa114234 08-May-2014 Warner Losh <imp@FreeBSD.org>

Add usr/share/mk/src.opts.mk to obsolete files. It never should have
been installed in the first place, and it must be removed ASAP or
weird build errors may start happening in the future if this file is
ever taken from the installed system. Add note to UPDATING.


# bd871f14 07-May-2014 Warner Losh <imp@FreeBSD.org>

bsd.compiler.mk was implicitly included by bsd.own.mk in historical
versions. With its movement to src.opts.mk, bsd.prog.mk was testing
COMPILER_TYPE without including the bsd.compiler.mk anymore. In the
source tree, this caused no problems, for reasons that aren't clear,
but does cause problems outside of the source tree. Allow
bsd.compiler.mk to be included multiple times safely, and always
include bsd.compiler.mk at the top of bsd.prog.mk. Resist the urge to
put it in bsd.init.mk, since that would reintroduce the implicit
include.


# fa7bd4a7 06-May-2014 Warner Losh <imp@FreeBSD.org>

Time to prune entries for RELENG_7 and stable/8. They are still in
svn, for the historically minded.


# 55b76981 06-May-2014 Warner Losh <imp@FreeBSD.org>

Add helpful note about possible workarounds for (as yet) unknown
breakage. Also fix typo.


# a46954e2 05-May-2014 Warner Losh <imp@FreeBSD.org>

Document src.opts.mk changes and the decoupling of /etc/src.conf from
anything but the source tree.


# 461dbce2 01-May-2014 Eitan Adler <eadler@FreeBSD.org>

lindev(4): remove the device

lindev(4) was only used to provide /dev/full which is now a standard feature of
FreeBSD. /dev/full was never linux-specific and provides a generally useful
feature.

Document this in UPDATING and bump __FreeBSD_version. This will be documented
in the PH shortly.

Reported by: jkim


# 2bb08298 18-Apr-2014 Warner Losh <imp@FreeBSD.org>

Document YES_HESIOD disappearing.


# 1ff3b137 11-Apr-2014 Dimitry Andric <dim@FreeBSD.org>

Amend r263891, by making clang default to DWARF2 debug info format for
all FreeBSD versions, not just 10.x and earlier. Apparently too many
people seem to have trouble with post-1993 formats.

Also remove the related notes about messing with kernel configuration
files from UPDATING, which are now superfluous.

Requested by: many
MFC after: 3 days


# 086036aa 05-Apr-2014 Marcel Moolenaar <marcel@FreeBSD.org>

Fix typo (s/teh/the/) in previous commit.

Pointed out by: rpaulo (thanks!)


# 4c710b67 05-Apr-2014 Marcel Moolenaar <marcel@FreeBSD.org>

Do not prevent processes from making changes to the baudrate or the
CLOCAL and HUPCL control flags. There are legit reasons for allowing
those to be changed. When /etc/ttys has the "3wire" type (without a
baudrate) for the serial port that is the low-level console, then
this change has no effect.

Obtained from: Juniper Networks, Inc.


# 3ad1a091 25-Mar-2014 Warner Losh <imp@FreeBSD.org>

Rather than require a makeoptions DEBUG to get debug correct,
add it in kern.mk, but only if we're using clang. While this
option is supported by both clang and gcc, in the future there
may be changes to clang which change the defaults that require
a tweak to build our kernel such that other tools in our tree
will work. Set a good example by forcing -gdwarf-2 only for
clang builds, and only if the user hasn't specified another
dwarf level already. Update UPDATING to reflect the changed
state of affairs. This also keeps us from having to update
all the ARM kernels to add this, and also keeps us from
in the future having to update all the MIPS kernels and is
one less place the user will have to know to do something
special for clang and one less thing developers will need
to do when moving an architecture to clang.

Reviewed by: ian@
MFC after: 1 week


# 11d83fb5 24-Mar-2014 Dimitry Andric <dim@FreeBSD.org>

Add a note to UPDATING about customized kernel configuration files now
requiring -gdwarf-2 for debug info, when using clang 3.4.

Suggested by: adrian
MFC after: 3 days


# ea9ed3d8 06-Mar-2014 Alexander Motin <mav@FreeBSD.org>

Disable libwrap (TCP wrappers) support in rpcbind by default, introducing
new command line options -W, to enable it when needed.

On my tests this change by almost ten times improves rpcbind performance.

No objections: many, net@


# 5e4b8b0d 03-Mar-2014 Xin LI <delphij@FreeBSD.org>

Document the fact that OpenSSH default configuration requires Capsicum
capability mode support in kernel, which have been worked around later
but it's still recommended to have it enabled.


# a9fd2218 03-Mar-2014 Warner Losh <imp@FreeBSD.org>

Add note about dtc switch.


# 05940036 28-Feb-2014 John-Mark Gurney <jmg@FreeBSD.org>

since -F is safe, and an update from 10-HEAD to 10-STABLE is sooo bloody
anoying w/o it.. recommend people use -F too...


# 8de08345 16-Feb-2014 Christian Brueffer <brueffer@FreeBSD.org>

Add an UPDATING entry about the nve(4) driver removal.


# 9f23d19a 12-Feb-2014 Dimitry Andric <dim@FreeBSD.org>

Add a note to UPDATING about the ABI compatibility fix done in r261801.


# d1166b82 28-Jan-2014 Kai Wang <kaiw@FreeBSD.org>

Change date again.


# 2e503d34 24-Jan-2014 Kai Wang <kaiw@FreeBSD.org>

Document libelf/libdwarf update in UPDATING.


# d7efee23 10-Jan-2014 Julio Merino <jmmv@FreeBSD.org>

Allow tests to provide a Kyuafile when they relied on auto-generation.

When generating a Kyuafile in the KYUAFILE=auto case, use a filename
that is unlikely to clash with the filename used by explicitly-provided
Kyuafiles.

This allows a Makefile to set KYUAFILE=yes and provide a Kyuafile in
the same directory when such Makefile was previously relying on
KYUAFILE=auto.

Fixes issues with new Kyuafiles not being picked up in NO_CLEAN builds
(although manual intervention is required once, unfortunately, as
described in UPDATING).

Reviewed by: sjg
MFC after: 1 week


# af34024a 20-Dec-2013 John-Mark Gurney <jmg@FreeBSD.org>

document how to install when src is newer than the world.. This allows
people to build -current systems from older systems...

Thanks to: Thomas Mueller


# 2773bfa9 15-Dec-2013 Benjamin Kaduk <bjk@FreeBSD.org>

Add an UPDATING entry for the gss_pseudo_random behavior change

Approved by: hrs (mentor, src committer)


# edc144a1 29-Nov-2013 Craig Rodrigues <rodrigc@FreeBSD.org>

Also mention that drill(1) can be used, now that nslookup and dig are no
longer in the base system.

Suggested by: peter


# 8a65c0b9 28-Nov-2013 Craig Rodrigues <rodrigc@FreeBSD.org>

Add some text to clarify that nslookup and dig are no longer in the base system
after the removal of BIND.


# 17e27327 27-Nov-2013 Peter Wemm <peter@FreeBSD.org>

Revert r258672. We clearly don't compile libraries enough times.


# ff678e6c 26-Nov-2013 Peter Wemm <peter@FreeBSD.org>

At great personal risk, change the default for LIB32 from yes to no. As
mentioned in UPDATING, you can even do it as an as-needed operation after
doing a buildworld/installworld. You can set WITH_LIB32=yes in make.conf
or src.conf.


# e01d128a 08-Nov-2013 Julio Merino <jmmv@FreeBSD.org>

Subsume the functionality of MK_ATF into MK_TESTS.

There is no reason to keep the two knobs separate: if tests are
enabled, the ATF libraries are required; and if tests are disabled,
the ATF libraries are not necessary. Keeping the two just serves
to complicate the build.

Reviewed by: freebsd-testing
Approved by: rpaulo (mentor)


# b9cd6b0a 25-Oct-2013 Brooks Davis <brooks@FreeBSD.org>

Switch the default mtree to nmtree our new NetBSD derived mtree.

Exp-run by: bdrewery
MFC after: 3 days
Sponsored by: DARPA/AFRL


# e3ededfa 14-Oct-2013 Bryan Drewery <bdrewery@FreeBSD.org>

Rename libbsdyml to libyaml, make private, and bump
SHLIB_MAJOR to 1.0

Suggested by: des
Approved by: bapt
MFC after: 1 week


# 006a42a9 10-Oct-2013 Glen Barber <gjb@FreeBSD.org>

Turn it all the way up to 11:

- Update FreeBSD version in:
- UPDATING
- sys/conf/newvers.sh

- Add 11.0 FreeBSD version for manual pages

- Bump __FreeBSD_version to 1100000

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


# 84b354cb 10-Oct-2013 Hiroki Sato <hrs@FreeBSD.org>

- Update rc.d/jail to use a jail(8) configuration file instead of
command line options. The "jail_<jname>_*" rc.conf(5) variables for
per-jail configuration are automatically converted to
/var/run/jail.<jname>.conf before the jail(8) utility is invoked.
This is transparently backward compatible.

- Fix a minor bug in jail(8) which prevented it from returning false
when jail -r failed.

Approved by: re (glebius)


# c9fc60be 09-Oct-2013 Glen Barber <gjb@FreeBSD.org>

Revert r256095, r256120 (partial), r256121:

r256095:
- Add gnu/usr.bin/rcs back to the base system.

r256120:
- Add WITHOUT_RCS back to src.conf.5.

r256121:
- Remove UPDATING entry regarding gnu/usr.bin/rcs removal.

Requested by: many
Approved by: re (marius)
Discussed with: core


# b85baffd 08-Oct-2013 Devin Teske <dteske@FreeBSD.org>

Remove mention of [fixed] known issue not-specific to updating.
Vendor update to [c]dialog-1.2-20130925 has fixed known problems.
Vendor update SVN revisions: 255917-255917, 255852, and 255958.

Reviewed by: gjb
Approved by: re (gjb)


# 3adb4d6f 07-Oct-2013 Eitan Adler <eadler@FreeBSD.org>

Add an UPDATING entry for the RCS removal.

Requested by: kargl
Approved by: re (glebius)


# 2d69252a 30-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Note the removal of BIND, where to find it, and how to use
local_unbound instead.

Approved by: re (gjb)


# 0312d1ca 16-Sep-2013 Glen Barber <gjb@FreeBSD.org>

- Reword the 20121201 entry.
- Clean up minor whitespace nit.

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


# 665751ec 16-Sep-2013 Glen Barber <gjb@FreeBSD.org>

Document that the 'unbound' user is required for installworld since
the import of ldns/unbound.

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


# bd8277b4 13-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Note about the OpenSSH change.

Approved by: re (gjb)


# c8a84c2a 10-Sep-2013 John-Mark Gurney <jmg@FreeBSD.org>

add note about gcc and aesni...

Approved by: re (gjb, kib)


# d6d3e03e 07-Sep-2013 David Chisnall <theraven@FreeBSD.org>

Add note in UPDATING about the no-gcc-by-default switch.


# 2057b58b 04-Sep-2013 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Remove fallback to fork(2) if pdfork(2) is not available. If the parent
process dies, the process descriptor will be closed and pdfork(2)ed child
will be killed, which is not the case when regular fork(2) is used.

The PROCDESC option is now part of the GENERIC kernel configuration, so we
can start depending on it.

Add UPDATING entry to inform that this option is now required and log
detailed instruction to syslog if pdfork(2) is not available:

The pdfork(2) system call is not available; recompile the kernel with options PROCDESC

Submitted by: Mariusz Zaborski <oshogbo@FreeBSD.org>
Sponsored by: Google Summer of Code 2013


# 4877522e 04-Sep-2013 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Advise a full buildworld, because of the recent Capsicum changes.

Sponsored by: The FreeBSD Foundation


# 6b2f5f79 27-Aug-2013 Devin Teske <dteske@FreeBSD.org>

Add note/reminder about dialog(1) regression in HEAD/10.0-C so that we don't
forget about it in the multi-month run of things to fix prior to 10.0-R.


# 46be218d 21-Aug-2013 David E. O'Brien <obrien@FreeBSD.org>

The PADLOCK_RNG and RDRAND_RNG kernel options are now devices.
Thus "device padlock_rng" and "device rdrand_rng" should be
used instead of "options PADLOCK_RNG" & "options RDRAND_RNG".

Requested by: so@ (des)
Submitted by: obrien, arthurmesh@gmail.com
Obtained from: Juniper Networks


# 0dc59c0f 13-Aug-2013 Peter Wemm <peter@FreeBSD.org>

Add a note that if you were WITH_ICONV before, you should turn on
WITH_LIBICONV_COMPAT.


# 0ff204bb 13-Aug-2013 Peter Wemm <peter@FreeBSD.org>

The iconv in libc did two things - implement the standard APIs, the GNU
extensions and also tried to be link time compatible with ports libiconv.
This splits that functionality and enables the parts that shouldn't
interfere with the port by default.

WITH_ICONV (now on by default) - adds iconv.h, iconv_open(3) etc.
WITH_LIBICONV_COMPAT (off by default) adds the libiconv_open etc API, linker
symbols and even a stub libiconv.so.3 that are good enough to be able
to 'pkg delete -f libiconv' on a running system and reasonably expect it
to work.

I have tortured many machines over the last few days to try and reduce
the possibilities of foot-shooting as much as I can. I've successfully
recompiled to enable and disable the libiconv_compat modes, ports that use
libiconv alongside system iconv etc. If you don't enable the
WITH_LIBICONV_COMPAT switch, they don't share symbol space.

This is an extension of behavior on other system. iconv(3) is a standard
libc interface and libiconv port expects to be able to run alongside it on
systems that have it.

Bumped osreldate.


# c319ea15 06-Aug-2013 Andriy Gapon <avg@FreeBSD.org>

opensolaris code: translate INVARIANTS to DEBUG and ZFS_DEBUG

Do this by forcing inclusion of
sys/cddl/compat/opensolaris/sys/debug_compat.h
via -include option into all source files from OpenSolaris.
Note that this -include option must always be after -include opt_global.h.

Additionally, remove forced definition of DEBUG for some modules and fix
their build without DEBUG.

Also, meaning of DEBUG was overloaded to enable WITNESS support for some
OpenSolaris (primarily ZFS) locks. Now this overloading is removed and
that use of DEBUG is replaced with a new option OPENSOLARIS_WITNESS.

MFC after: 17 days


# ccc88f7b 05-Aug-2013 Hiroki Sato <hrs@FreeBSD.org>

Document IPv6 timer value change in r253970.


# 9d6d5a71 02-Aug-2013 Jilles Tjoelker <jilles@FreeBSD.org>

find: Allow -delete to delete files given as arguments.

Formerly, a command like find dir1/dir2 -delete would delete everything
under dir1/dir2 but not dir1/dir2 itself.

When -L is not specified and "." can be opened, the fts(3) code underlying
find(1) is careful to avoid following symlinks or being dropped in different
locations by moving the directory fts is currently traversing. If a
problematic concurrent modification is detected, fts will not enter the
directory or abort. Files found in the search are returned via the current
working directory and a pathname not containing a slash.

For paranoia, find(1) verifies this when -delete is used. However, it is too
paranoid about the root of the traversal. It is already assumed that the
initial pathname does not refer to directories or symlinks that might be
replaced by untrusted users; otherwise, the whole traversal would be unsafe.
Therefore, it is not necessary to do the check for fts_level ==
FTS_ROOTLEVEL.

Deleting the pathnames given as arguments can be prevented without error
messages using -mindepth 1 or by changing directory and passing "." as
argument to find. This works in the old as well as the new version of find.

Tested by: Kurt Lidl
Reviewed by: jhb


# 0e6a0799 31-Jul-2013 David E. O'Brien <obrien@FreeBSD.org>

Back out r253779 & r253786.


# 99ff83da 29-Jul-2013 David E. O'Brien <obrien@FreeBSD.org>

Decouple yarrow from random(4) device.

* Make Yarrow an optional kernel component -- enabled by "YARROW_RNG" option.
The files sha2.c, hash.c, randomdev_soft.c and yarrow.c comprise yarrow.

* random(4) device doesn't really depend on rijndael-*. Yarrow, however, does.

* Add random_adaptors.[ch] which is basically a store of random_adaptor's.
random_adaptor is basically an adapter that plugs in to random(4).
random_adaptor can only be plugged in to random(4) very early in bootup.
Unplugging random_adaptor from random(4) is not supported, and is probably a
bad idea anyway, due to potential loss of entropy pools.
We currently have 3 random_adaptors:
+ yarrow
+ rdrand (ivy.c)
+ nehemeiah

* Remove platform dependent logic from probe.c, and move it into
corresponding registration routines of each random_adaptor provider.
probe.c doesn't do anything other than picking a specific random_adaptor
from a list of registered ones.

* If the kernel doesn't have any random_adaptor adapters present then the
creation of /dev/random is postponed until next random_adaptor is kldload'ed.

* Fix randomdev_soft.c to refer to its own random_adaptor, instead of a
system wide one.

Submitted by: arthurmesh@gmail.com, obrien
Obtained from: Juniper Networks
Reviewed by: obrien


# 663dea3d 26-Jul-2013 Andriy Gapon <avg@FreeBSD.org>

fix UPDATING entry in r253677

MFC after: 3 weeks
X-MFC with: r253677


# 8e94193e 26-Jul-2013 Andriy Gapon <avg@FreeBSD.org>

make path matching in devfs rules consistent and sane (and safer)

Before this change path matching had the following features:
- for device nodes the patterns were matched against full path
- in the above case '/' in a path could be matched by a wildcard
- for directories and links only the last component was matched

So, for example, a pattern like 're*' could match the following entries:
- re0 device
- responder/u0 device
- zvol/recpool directory

Although it was possible to work around this behavior (once it was spotted
and understood), it was very confusing and contrary to documentation.

Now we always match a full path for all types of devfs entries (devices,
directories, links) and a '/' has to be matched explicitly.
This behavior follows the shell globbing rules.

This change is originally developed by Jaakko Heinonen.
Many thanks!

PR: kern/122838
Submitted by: jh
MFC after: 4 weeks


# 46e95f64 16-Jul-2013 Andrew Turner <andrew@FreeBSD.org>

2 years, 10 months, 22 days after the projects/arm_eabi branch was created
make the ARM EABI the default ABI on arm, armeb, armv6 and armv6eb.

This is intended to be the default ABI from now on with the old ABI to be
retired. Because of this all users are strongly suggested to upgrade to the
ARM EABI.

As the two ABIs are incompatible it is unlikely upgrading in place will
work. Users should perform a full backup and either use an external machine
to upgrade, or install to an alternative location on their media. They
should also reinstall all ports or packages when these are available.

The only known issues are:
- pkg incorrectly detects the ABI. This is fixed upstream, and will a
patch will be made to the port.
- GDB can have issues with executables built with clang.

__FreeBSD_version has been bumped.


# aa011413 14-Jul-2013 Rui Paulo <rpaulo@FreeBSD.org>

Fix a grammatical error.


# 9b953f2c 12-Jul-2013 Baptiste Daroussin <bapt@FreeBSD.org>

Disable building of pkg_install by default
If people still want to have pkg_install they can specify WITH_PKGTOOLS when building world


# b40e2b6d 09-Jul-2013 Andrey V. Elsukov <ae@FreeBSD.org>

Bump __FreeBSD_version to reflect changes in statistics structures.


# 03630b54 30-Jun-2013 Simon J. Gerraty <sjg@FreeBSD.org>

Use && rather than ; when success of previous job matters.


# 5b3e0257 18-Jun-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Fix a bug that allowed a tracing process (e.g. gdb) to write
to a memory-mapped file in the traced process's address space
even if neither the traced process nor the tracing process had
write access to that file.

Security: CVE-2013-2171
Security: FreeBSD-SA-13:06.mmap
Approved by: so


# 1cbff2a9 15-Jun-2013 Eitan Adler <eadler@FreeBSD.org>

Remove CVS from the base system.

Discussed with: many
Reviewed by: peter, zi
Approved by: core


# ba10b444 13-Jun-2013 Simon J. Gerraty <sjg@FreeBSD.org>

Explain remedy for -J error from old make


# ff8d4375 21-May-2013 Simon J. Gerraty <sjg@FreeBSD.org>

Mention the switch to bmake by default.

Reviewed by: obrien


# 8c5836c3 12-May-2013 Eitan Adler <eadler@FreeBSD.org>

Fix typo in UPDATING

Submitted by: Rainer Hurling <rhurlin@gwdg.de>


# 474dbfb7 01-May-2013 Warner Losh <imp@FreeBSD.org>

Add a historic footnote.


# fe06cae7 30-Apr-2013 Brooks Davis <brooks@FreeBSD.org>

Add some advice to get past the hurdle of install -l for the common, but
non-default (and unsupportable) case of setting INSTALL="install -C" in
/etc/make.conf or /etc/src.conf.


# 32164d53 30-Apr-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Forgot to update UPDATING in head last night.


# 850163e4 26-Apr-2013 Eitan Adler <eadler@FreeBSD.org>

Remove IDEA from OptionalObsoleteFiles.inc

Also add an UPDATING entry (requsted by gjb)


# 562a9d58 26-Apr-2013 Steven Hartland <smh@FreeBSD.org>

Changed ZFS TRIM sysctl from vfs.zfs.trim_disable -> vfs.zfs.trim.enabled
Enabled ZFS TRIM by default

Reviewed by: pjd (mentor)
Approved by: pjd (mentor)
MFC after: 2 weeks


# 20e0cc0a 25-Apr-2013 Brooks Davis <brooks@FreeBSD.org>

Use the system MAKEOBJDIRPREFIX when running make targets in
mergemaster. This allows bootstrap verions of tools to be used.

Add a note to UPDATING about this change.

Discussed with: jhb
Sponsored by: DARPA, AFRL
MFC after: 5 days


# 6eeab389 21-Apr-2013 Warner Losh <imp@FreeBSD.org>

Fix typos in my last commit.

Submitted by: Niclas Zeising and Benjamin Kaduk


# da0e842a 20-Apr-2013 Warner Losh <imp@FreeBSD.org>

Add more details about updating across the clang divide.
Add hints about having a root shell around on live updates.
Couple of additional nits.


# 4f1def68 19-Apr-2013 Warner Losh <imp@FreeBSD.org>

Add note about fagility of the clang upgrade process.


# 5ad7e649 06-Apr-2013 Jilles Tjoelker <jilles@FreeBSD.org>

Add warning about SOCK_CLOEXEC and SOCK_NONBLOCK (r248534).

Reviewed by: rpaulo


# 9a95a7ca 06-Apr-2013 Alexander Motin <mav@FreeBSD.org>

Document legacy ATA stack removal.


# 105421ff 08-Mar-2013 Marius Strobl <marius@FreeBSD.org>

Merge r247814 from x86 modulo whitespace bug:

Turn on the CTL disable tunable by default.

This will allow GENERIC configurations to boot on small memory boxes, but
not require end users who want to use CTL to recompile their kernel. They
can simply set kern.cam.ctl.disable=0 in loader.conf.


# 23d44ab5 04-Mar-2013 Davide Italiano <davide@FreeBSD.org>

- Bump __FreeBSD_version after recent callout(9) changes.
- Add an entry in UPDATING to notice users about breakages.


# 3a45b478 04-Mar-2013 Kenneth D. Merry <ken@FreeBSD.org>

Re-enable CTL in GENERIC on i386 and amd64, but turn on the CTL disable
tunable by default.

This will allow GENERIC configurations to boot on small memory boxes, but
not require end users who want to use CTL to recompile their kernel. They
can simply set kern.cam.ctl.disable=0 in loader.conf.

The eventual solution to the memory usage problem is to change the way
CTL allocates memory to be more configurable, but this should fix things
for small memory situations in the mean time.

UPDATING: Explain the change in the CTL configuration, and
how users can enable CTL if they would like to use
it.

sys/conf/options: Add a new option, CTL_DISABLE, that prevents CTL
from initializing.

ctl.c: If CTL_DISABLE is turned on, don't initialize.

i386/conf/GENERIC,
amd64/conf/GENERIC: Re-enable device ctl, and add the CTL_DISABLE
option.


# fe138cc2 02-Mar-2013 Adrian Chadd <adrian@FreeBSD.org>

Disable the ctl driver in GENERIC.

It unfortunately steals a fair chunk of RAM at startup even if it's not
actively used, which prevents FreeBSD VMs of 128MB from successfully
booting and running.


# 4cf5de80 28-Feb-2013 Glen Barber <gjb@FreeBSD.org>

Minor wordsmithing.

X-MFC-Needs: r245617


# 20a011d5 27-Feb-2013 Xin LI <delphij@FreeBSD.org>

Add a reminder that the user should update boot block if they are upgrading
their existing system and use LZ4 compression for ZFS.

Suggested by: mm
MFC after: 3 days


# 2d329593 30-Jan-2013 Gabor Kovesdan <gabor@FreeBSD.org>

- Fix typo

Submitted by: jkim


# 2dd076b8 29-Jan-2013 Gabor Kovesdan <gabor@FreeBSD.org>

- Add a BSD-licensed patch, ported by Pedro F. Giffuni (pfg) from
DragonflyBSD and install it as bsdpatch. WITH_BSD_PATCH makes it
default and installs GNU patch as gnupatch.

Submitted by: pfg
Obtained from: The DragonflyBSD Project


# f2b19f9e 18-Jan-2013 Brooks Davis <brooks@FreeBSD.org>

Introduce six new options from NetBSD:
* -M <metalog> Log metadata in mtree format.
* -D <destdir> Log paths relative to <destdir>.
* -h <hash> Log digest of type <hash>.
* -T <tags> Specify which mtree tags to log.
* -l <linkflag> Create hard or symbolic links (allows logging).
* -U Install without root privileges (owner, group, mode,
and flags can be logged via -M

NOTE: In the interest of compatibility with NetBSD and because it is the
obvious letter, the nearly useless -M option (disable mmap) has been
repurposed.

Sponsored by: DARPA, AFRL
Obtained from: NetBSD
Reviewed by: bz


# 3fea4e6b 23-Dec-2012 Andriy Gapon <avg@FreeBSD.org>

UPDATING: add a note about the clang+zfs+i386 stack overflow issue


# efec959c 22-Dec-2012 Jaakko Heinonen <jh@FreeBSD.org>

Mangle label names containing spaces, non-printable characters '%' or
'"'. Mangling is only done for label names read from file system
metadata. Encoding resembles URL encoding. For example, the space
character becomes %20.

Help by: kib
Discussed with: imp, kib, pjd


# 11631ad0 16-Dec-2012 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Use new savecore(8) option and limit number of kernel dumps that will
be kept around to the 10 most recent ones.

Add UPDATING entry with info how to return to the previous behaviour (no
limits).

Obtained from: WHEEL Systems


# e0fb6dc3 02-Dec-2012 Robert Watson <rwatson@FreeBSD.org>

Specifically point at the Handbook instructions for world updates in
UPDATING by URL.

As there has been some confusion over the need to run "mergemaster -p",
part of our standard upgrade procedure, following the recent addition of
an "auditdistd" user, add a note about it to UPDATING explicitly.


# b91dc775 22-Nov-2012 Hiroki Sato <hrs@FreeBSD.org>

Document sin6_scope_id handling change and bump FreeBSD_version to 1000025.


# 7f90ab1c 05-Nov-2012 Brooks Davis <brooks@FreeBSD.org>

Fix a minor error in the clang update note.

Reported by: emaste


# 5b6478b0 05-Nov-2012 Brooks Davis <brooks@FreeBSD.org>

After years of hard work by many FreeBSD and LLVM developers, make
clang the default compiler on i386 and amd64 systems.

Special thanks to: dim, ed, rdivacky


# ffdbf9da 01-Nov-2012 Andrey V. Elsukov <ae@FreeBSD.org>

Remove the recently added sysctl variable net.pfil.forward.
Instead, add protocol specific mbuf flags M_IP_NEXTHOP and
M_IP6_NEXTHOP. Use them to indicate that the mbuf's chain
contains the PACKET_TAG_IPFORWARD tag. And do a tag lookup
only when this flag is set.

Suggested by: andre


# 15974d55 31-Oct-2012 Gavin Atkinson <gavin@FreeBSD.org>

Genericise the (out of date) instructions from moving from stable to
current.

MFC after: 3 days


# a971b547 25-Oct-2012 Andrey V. Elsukov <ae@FreeBSD.org>

Note the removal of the IPFIREWALL_FORWARD kernel option.


# cb69178d 23-Oct-2012 Andre Oppermann <andre@FreeBSD.org>

Note the removal of the ZERO_COPY_SOCKETS kernel option in r241931
and provide a proper explanation.


# 8f134647 22-Oct-2012 Gleb Smirnoff <glebius@FreeBSD.org>

Switch the entire IPv4 stack to keep the IP packet header
in network byte order. Any host byte order processing is
done in local variables and host byte order values are
never[1] written to a packet.

After this change a packet processed by the stack isn't
modified at all[2] except for TTL.

After this change a network stack hacker doesn't need to
scratch his head trying to figure out what is the byte order
at the given place in the stack.

[1] One exception still remains. The raw sockets convert host
byte order before pass a packet to an application. Probably
this would remain for ages for compatibility.

[2] The ip_input() still subtructs header len from ip->ip_len,
but this is planned to be fixed soon.

Reviewed by: luigi, Maxim Dounin <mdounin mdounin.ru>
Tested by: ray, Olivier Cochard-Labbe <olivier cochard.me>


# 8859ec84 22-Oct-2012 Konstantin Belousov <kib@FreeBSD.org>

Bump __FreeBSD_version and make a note in UPDATING about removal of
the support for non-MPSAFE filesystems.


# e053ead0 17-Oct-2012 Attilio Rao <attilio@FreeBSD.org>

Record the full non-MPSAFE pack filesystem disconnect.


# 42a58907 16-Oct-2012 Gleb Smirnoff <glebius@FreeBSD.org>

Make the "struct if_clone" opaque to users of the cloning API. Users
now use function calls:

if_clone_simple()
if_clone_advanced()

to initialize a cloner, instead of macros that initialize if_clone
structure.

Discussed with: brooks, bz, 1 year ago


# d6b3aaf8 15-Oct-2012 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Split sdhci driver in two parts: sdhci and sdhci_pci.
sdchi encapsulates a generic SD Host Controller logic that relies on
actual hardware driver for register access.

sdhci_pci implements driver for PCI SDHC controllers using new SDHCI
interface

No kernel config modifications are required, but if you load sdhc
as a module you must switch to sdhci_pci instead.


# 5fe58019 13-Oct-2012 Attilio Rao <attilio@FreeBSD.org>

Import a FreeBSD port of the FUSE Linux module.
This has been developed during 2 summer of code mandates and being revived
by gnn recently.
The functionality in this commit mirrors entirely content of fusefs-kmod
port, which doesn't need to be installed anymore for -CURRENT setups.

In order to get some sparse technical notes, please refer to:
http://lists.freebsd.org/pipermail/freebsd-fs/2012-March/013876.html

or to the project branch:
svn://svn.freebsd.org/base/projects/fuse/

which also contains granular history of changes happened during port
refinements. This commit does not came from the branch reintegration
itself because it seems svn is not behaving properly for this functionaly
at the moment.

Partly Sponsored by: Google, Summer of Code program 2005, 2011
Originally submitted by: ilya, Csaba Henk <csaba-ml AT creo DOT hu >
In collabouration with: pho
Tested by: flo, gnn, Gustau Perez,
Kevin Oberman <rkoberman AT gmail DOT com>
MFC after: 2 months


# 58b6d9a2 13-Oct-2012 Gabor Kovesdan <gabor@FreeBSD.org>

- Fix typo

Spotted by: glebius


# d38ae94b 13-Oct-2012 Gabor Kovesdan <gabor@FreeBSD.org>

- Remove GNU sort and the WITH_GNU_SORT knob


# 21d172a3 06-Oct-2012 Gleb Smirnoff <glebius@FreeBSD.org>

A step in resolving mess with byte ordering for AF_INET. After this change:

- All packets in NETISR_IP queue are in net byte order.
- ip_input() is entered in net byte order and converts packet
to host byte order right _after_ processing pfil(9) hooks.
- ip_output() is entered in host byte order and converts packet
to net byte order right _before_ processing pfil(9) hooks.
- ip_fragment() accepts and emits packet in net byte order.
- ip_forward(), ip_mloopback() use host byte order (untouched actually).
- ip_fastforward() no longer modifies packet at all (except ip_ttl).
- Swapping of byte order there and back removed from the following modules:
pf(4), ipfw(4), enc(4), if_bridge(4).
- Swapping of byte order added to ipfilter(4), based on __FreeBSD_version
- __FreeBSD_version bumped.
- pfil(9) manual page updated.

Reviewed by: ray, luigi, eri, melifaro
Tested by: glebius (LE), ray (BE)


# 7b81c83c 02-Oct-2012 Adrian Chadd <adrian@FreeBSD.org>

Update UPDATING with the ABI change for net80211.


# d65043bc 01-Oct-2012 Konstantin Belousov <kib@FreeBSD.org>

Add the UPDATING note about padlock rng support requiring the config change.

Requested by: Dewayne Geraghty <dewayne.geraghty@heuristicsystems.com.au>
MFC after: 3 days


# d6d3f01e 08-Sep-2012 Gleb Smirnoff <glebius@FreeBSD.org>

Merge the projects/pf/head branch, that was worked on for last six months,
into head. The most significant achievements in the new code:

o Fine grained locking, thus much better performance.
o Fixes to many problems in pf, that were specific to FreeBSD port.

New code doesn't have that many ifdefs and much less OpenBSDisms, thus
is more attractive to our developers.

Those interested in details, can browse through SVN log of the
projects/pf/head branch. And for reference, here is exact list of
revisions merged:

r232043, r232044, r232062, r232148, r232149, r232150, r232298, r232330,
r232332, r232340, r232386, r232390, r232391, r232605, r232655, r232656,
r232661, r232662, r232663, r232664, r232673, r232691, r233309, r233782,
r233829, r233830, r233834, r233835, r233836, r233865, r233866, r233868,
r233873, r234056, r234096, r234100, r234108, r234175, r234187, r234223,
r234271, r234272, r234282, r234307, r234309, r234382, r234384, r234456,
r234486, r234606, r234640, r234641, r234642, r234644, r234651, r235505,
r235506, r235535, r235605, r235606, r235826, r235991, r235993, r236168,
r236173, r236179, r236180, r236181, r236186, r236223, r236227, r236230,
r236252, r236254, r236298, r236299, r236300, r236301, r236397, r236398,
r236399, r236499, r236512, r236513, r236525, r236526, r236545, r236548,
r236553, r236554, r236556, r236557, r236561, r236570, r236630, r236672,
r236673, r236679, r236706, r236710, r236718, r237154, r237155, r237169,
r237314, r237363, r237364, r237368, r237369, r237376, r237440, r237442,
r237751, r237783, r237784, r237785, r237788, r237791, r238421, r238522,
r238523, r238524, r238525, r239173, r239186, r239644, r239652, r239661,
r239773, r240125, r240130, r240131, r240136, r240186, r240196, r240212.

I'd like to thank people who participated in early testing:

Tested by: Florian Smeets <flo freebsd.org>
Tested by: Chekaluk Vitaly <artemrts ukr.net>
Tested by: Ben Wilber <ben desync.com>
Tested by: Ian FREISLICH <ianf cloudseed.co.za>


# 614e3098 27-Jul-2012 Marius Strobl <marius@FreeBSD.org>

Pull the tier-2 card and change the sparc64 ZFS loader to no longer probe
all diskN aliases for providers (which more or less corresponds to how the
x86 version behaves) but instead probe only those listed in the boot-device
OFW environment variable. This has the following advantages:
- avoids otherwise unavoidable OFW warnings about failures to open disks
for which aliases exist but no actual hardware is connected
- avoids issues due to different diskN naming schemes
- aligns us with Solaris

MFC after: 3 days


# 7e003b0a 12-Jul-2012 Christian Brueffer <brueffer@FreeBSD.org>

Document the sysctl/tunable changes in r238379 and r238382.

Suggested by: mjacob


# d22c63ac 28-Jun-2012 Gabor Kovesdan <gabor@FreeBSD.org>

- Add UPDATING entry for BSD sort


# 2d9cf57e 11-Jun-2012 Martin Matuska <mm@FreeBSD.org>

Introduce "feature flags" for ZFS pools (bump SPA version to 5000).
Add first feature "com.delphix:async_destroy" (asynchronous destroy
of ZFS datasets).
Implement features support in ZFS boot code.

Illumos revisions merged:
13700:2889e2596bd6
13701:1949b688d5fb
2619 asynchronous destruction of ZFS file systems
2747 SPA versioning with zfs feature flags

References:
https://www.illumos.org/issues/2619
https://www.illumos.org/issues/2747

Obtained from: illumos (issue #2619, #2747)
MFC after: 1 month


# 99e449f2 17-Apr-2012 Jason Evans <jasone@FreeBSD.org>

Update directions on how to disable malloc debugging.


# d1675e38 17-Apr-2012 Jason Evans <jasone@FreeBSD.org>

Add an UPDATING entry for the contrib/jemalloc import.


# 84db023e 28-Mar-2012 Juli Mallett <jmallett@FreeBSD.org>

Assume a big-endian default on MIPS and drop the "eb" suffix from MACHINE_ARCH.
This makes our naming scheme more closely match other systems and the
expectations of much third-party software. MIPS builds which are little-endian
should require and exhibit no changes. Big-endian TARGET_ARCHes must be
changed:
From: To:
mipseb mips
mipsn32eb mipsn32
mips64eb mips64

An entry has been added to UPDATING and some foot-shooting protection (complete
with warnings which should become errors in the near future) to the top-level
base system Makefile.


# 9c170fd1 06-Mar-2012 Attilio Rao <attilio@FreeBSD.org>

Disable the option VFS_ALLOW_NONMPSAFE by default on all the supported
platforms.
This will make every attempt to mount a non-mpsafe filesystem to the
kernel forbidden, unless it is expressely compiled with
VFS_ALLOW_NONMPSAFE option.

This patch is part of the effort of killing non-MPSAFE filesystems
from the tree.

No MFC is expected for this patch.


# c7e41c8b 29-Feb-2012 Mikolaj Golub <trociny@FreeBSD.org>

Introduce VOP_UNP_BIND(), VOP_UNP_CONNECT(), and VOP_UNP_DETACH()
operations for setting and accessing vnode's v_socket field.

The operations are necessary to implement proper unix socket handling
on layered file systems like nullfs(5).

This change fixes the long standing issue with nullfs(5) being in that
unix sockets did not work between lower and upper layers: if we bound
to a socket on the lower layer we could connect only to the lower
path; if we bound to the upper layer we could connect only to the
upper path. The new behavior is one can connect to both the lower and
the upper paths regardless what layer path one binds to.

PR: kern/51583, kern/159663
Suggested by: kib
Reviewed by: arch
MFC after: 2 weeks


# ca1672da 10-Feb-2012 Bjoern A. Zeeb <bz@FreeBSD.org>

Switch getifaddrs(3) to the new API introduced in r231505. Also remove
conditional code parts not used by or applicable to FreeBSD.

The new implementation is supposed to be able to cope with changes to
the 'l' versions of the msghdr structs now used as well as to if_data
allowing future changes without breaking things.

This restores carp(4) config support in HEAD after r231504.

Reviewed by: glebius, brooks
MFC After: 3 months


# 5d482324 14-Jan-2012 Doug Barton <dougb@FreeBSD.org>

For the mass rc.d changes, add a command line to make the update easier


# e0e0f25b 14-Jan-2012 Doug Barton <dougb@FreeBSD.org>

Add an entry detailing the removal of set_rcvar() from /etc/rc.subr

Requested by: Garrett Cooper <yanegomi@gmail.com>


# 90d82653 08-Jan-2012 Andriy Gapon <avg@FreeBSD.org>

enable stop_scheduler_on_panic by default

My plan is to make this behavior unconditional before 10.0 release.

X-MFC after: r228424 (if ever)


# 08b68b0e 15-Dec-2011 Gleb Smirnoff <glebius@FreeBSD.org>

A major overhaul of the CARP implementation. The ip_carp.c was started
from scratch, copying needed functionality from the old implemenation
on demand, with a thorough review of all code. The main change is that
interface layer has been removed from the CARP. Now redundant addresses
are configured exactly on the interfaces, they run on.

The CARP configuration itself is, as before, configured and read via
SIOCSVH/SIOCGVH ioctls. A new prefix created with SIOCAIFADDR or
SIOCAIFADDR_IN6 may now be configured to a particular virtual host id,
which makes the prefix redundant.

ifconfig(8) semantics has been changed too: now one doesn't need
to clone carpXX interface, he/she should directly configure a vhid
on a Ethernet interface.

To supply vhid data from the kernel to an application the getifaddrs(8)
function had been changed to pass ifam_data with each address. [1]

The new implementation definitely closes all PRs related to carp(4)
being an interface, and may close several others. It also allows
to run a single redundant IP per interface.

Big thanks to Bjoern Zeeb for his help with inet6 part of patch, for
idea on using ifam_data and for several rounds of reviewing!

PR: kern/117000, kern/126945, kern/126714, kern/120130, kern/117448
Reviewed by: bz
Submitted by: bz [1]


# d5d131ee 30-Nov-2011 Jaakko Heinonen <jh@FreeBSD.org>

Add an entry for r227823.


# ed1f6dc2 08-Nov-2011 Attilio Rao <attilio@FreeBSD.org>

Introduce the option VFS_ALLOW_NONMPSAFE and turn it on by default on
all the architectures.
The option allows to mount non-MPSAFE filesystem. Without it, the
kernel will refuse to mount a non-MPSAFE filesytem.

This patch is part of the effort of killing non-MPSAFE filesystems
from the tree.

No MFC is expected for this patch.

Tested by: gianni
Reviewed by: kib


# a9ab459b 01-Nov-2011 Marius Strobl <marius@FreeBSD.org>

Add a PCI front-end to esp(4) allowing it to support AMD Am53C974 and
replace amd(4) with the former in the amd64, i386 and pc98 GENERIC kernel
configuration files. Besides duplicating functionality, amd(4), which
previously also supported the AMD Am53C974, unlike esp(4) is no longer
maintained and has accumulated enough bit rot over time to always cause
a panic during boot as long as at least one target is attached to it
(see PR 124667).

PR: 124667
Obtained from: NetBSD (based on)
MFC after: 3 days


# 36daf049 16-Oct-2011 Eitan Adler <eadler@FreeBSD.org>

- change "is is" to "is" or "it is"
- change "the the" to "the"

Approved by: lstewart
Approved by: sahil (mentor)
MFC after: 3 days


# e59e2d8e 03-Oct-2011 Nathan Whitehorn <nwhitehorn@FreeBSD.org>

Farewall, sysinstall! You served us well for many years, but 10.0 is one
digit beyond your time.

Various sysinstall dependencies (e.g. libftpio, libdisk, libodialog, etc.)
will be cleaned up in coming days. Some will take longer than others due to
a few other consumers (tzsetup and sade).


# 8a3b6cc1 25-Sep-2011 Ken Smith <kensmith@FreeBSD.org>

Shift head from 9.0-CURRENT to 10.0-CURRENT in preparation for releasing
it from the 9.0-RELEASE release cycle code freeze.

Approved by: re (implicit)


# 4d30adc4 13-Sep-2011 Rick Macklem <rmacklem@FreeBSD.org>

Modify vfs_register() to use a hash calculation
on vfc_name to set vfc_typenum, so that vfc_typenum doesn't
change when file systems are loaded in different orders. This
keeps NFS file handles from changing, for file systems that
use vfc_typenum in their fsid. This change is controlled via
a loader.conf variable called vfs.typenumhash, since vfc_typenum
will change once when this is enabled. It defaults to 1 for
9.0, but will default to 0 when MFC'd to stable/8.

Tested by: hrs
Reviewed by: jhb, pjd (earlier version)
Approved by: re (kib)
MFC after: 1 month


# 7596eb48 28-Aug-2011 Konstantin Belousov <kib@FreeBSD.org>

Bump shared libraries version numbers in preparation for 9.0.
This time, only libraries which ABI has been changed compared to
stable/8, are bumped.

ABI analysis done by: Gleb Kurtsou
Approved by: re (kensmith)


# 630f2154 23-Aug-2011 Glen Barber <gjb@FreeBSD.org>

Reword sentence noting UPDATING entries prior to October 2007 are
only available in older FreeBSD releases.

PR: 159220
Submitted by: arundel
Patch by: Benjamin Kaduk (kaduk % mit ! edu)
OK'd by: imp (via -doc@)
MFC after: 1 week
Approved by: re (kib)


# 74d0c46d 15-Aug-2011 Robert Watson <rwatson@FreeBSD.org>

Bump __FreeBSD_version to reflect the availability of capabilities, but
also capability-related changes to fget(9). This is likely not part of
a formal KPI, but the nvidia driver (at least) uses it.

Mention /dev/{stdin,stdout,stderr} breakage that appears in certain
kernel revisions as best avoided!

Approved by: re (xxx)


# 70d57756 29-Jun-2011 Bjoern A. Zeeb <bz@FreeBSD.org>

Clarify that we broke pfsync(4) backward compat with the pf commit r223637.

Suggested by: Anton Yuzhaninov (citrin citrin.ru)


# 4a58eccc 18-Jun-2011 Marius Strobl <marius@FreeBSD.org>

Add an entry for r221407 forgotten in said revision.


# 234dab4a 08-Jun-2011 Andriy Gapon <avg@FreeBSD.org>

remove code for dynamic offlining/onlining of CPUs on x86

The code has definitely been broken for SCHED_ULE, which is a default
scheduler. It may have been broken for SCHED_4BSD in more subtle ways,
e.g. with manually configured CPU affinities and for interrupt devilery
purposes.
We still provide a way to disable individual CPUs or all hyperthreading
"twin" CPUs before SMP startup. See the UPDATING entry for details.

Interaction between building CPU topology and disabling CPUs still
remains fuzzy: topology is first built using all availble CPUs and then
the disabled CPUs should be "subtracted" from it. That doesn't work
well if the resulting topology becomes non-uniform.

This work is done in cooperation with Attilio Rao who in addition to
reviewing also provided parts of code.

PR: kern/145385
Discussed with: gcooper, ambrisko, mdf, sbruno
Reviewed by: attilio
Tested by: pho, pluknet
X-MFC after: never


# ec49fe39 07-Jun-2011 Bjoern A. Zeeb <bz@FreeBSD.org>

For the moment document the possible problem introduced with dynamic address
family detection in world, mostly noticed by ifconfig(8), when running with
an old kernel.

Reported by: Andrzej Tobola (ato iem.pw.edu.pl)
Reported by: gcooper


# f0fcb367 07-Jun-2011 Attilio Rao <attilio@FreeBSD.org>

Add an UPDATE entry.


# 4b547324 13-May-2011 Attilio Rao <attilio@FreeBSD.org>

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


# f9dfbfa1 30-Apr-2011 Adrian Chadd <adrian@FreeBSD.org>

Add UPDATING entry for the AR71xx config changes


# 4309e17a 27-Apr-2011 Rick Macklem <rmacklem@FreeBSD.org>

This patch changes head so that the default NFS client is now the new
NFS client (which I guess is no longer experimental). The fstype "newnfs"
is now "nfs" and the regular/old NFS client is now fstype "oldnfs".
Although mounts via fstype "nfs" will usually work without userland
changes, an updated mount_nfs(8) binary is needed for kernels built with
"options NFSCL" but not "options NFSCLIENT". Updated mount_nfs(8) and
mount(8) binaries are needed to do mounts for fstype "oldnfs".
The GENERIC kernel configs have been changed to use options
NFSCL and NFSD (the new client and server) instead of NFSCLIENT and NFSSERVER.
For kernels being used on diskless NFS root systems, "options NFSCL"
must be in the kernel config.
Discussed on freebsd-fs@.


# 5d4ac622 27-Apr-2011 Alexander Motin <mav@FreeBSD.org>

Add obvious note that CAM drivers are required for using CAM ATA.


# 0d307e09 26-Apr-2011 Alexander Motin <mav@FreeBSD.org>

- Add shim to simplify migration to the CAM-based ATA. For each new adaX
device in /dev/ create symbolic link with adY name, trying to mimic old ATA
numbering. Imitation is not complete, but should be enough in most cases to
mount file systems without touching /etc/fstab.
- To know what behavior to mimic, restore ATA_STATIC_ID option in cases
where it was present before.
- Add some more details to UPDATING.


# ddfddf12 24-Apr-2011 Alexander Motin <mav@FreeBSD.org>

Explicitly note that device numbers are starting from zero.


# 97b53e36 24-Apr-2011 Alexander Motin <mav@FreeBSD.org>

Switch the GENERIC kernels for all architectures to the new CAM-based ATA
stack. It means that all legacy ATA drivers are disabled and replaced by
respective CAM drivers. If you are using ATA device names in /etc/fstab or
other places, make sure to update them respectively (adX -> adaY,
acdX -> cdY, afdX -> daY, astX -> saY, where 'Y's are the sequential
numbers for each type in order of detection, unless configured otherwise
with tunables, see cam(4)).

ataraid(4) functionality is now supported by the RAID GEOM class.
To use it you can load geom_raid kernel module and use graid(8) tool
for management. Instead of /dev/arX device names, use /dev/raid/rX.


# 2a85df8c 23-Apr-2011 Rick Macklem <rmacklem@FreeBSD.org>

This patch changes the default NFS server to the new one, which was
referred to as the experimental server. It also adds a new command
line option "-o" to both mountd and nfsd that forces them to use the
old/regular NFS server. The "-e" option for these commands is now
a no-op, since the new server is the default. I will be committing rc
script and man changes soon. Discussed on freebsd-fs@.


# 66f3a31f 18-Apr-2011 Dimitry Andric <dim@FreeBSD.org>

After removing libobjc and other Objective-C components in r220755,
belatedly bump __FreeBSD_version, and add a note to UPDATING.

Reminded by: rdivacky


# 0a4b5285 14-Apr-2011 Nathan Whitehorn <nwhitehorn@FreeBSD.org>

Provide a (belated) UPDATING note related to the new release-building
process so that fewer people will be caught unaware.

Requested by: emaste


# 1c62cc63 31-Mar-2011 Adrian Chadd <adrian@FreeBSD.org>

Document the ath glue changes.


# 76f9415b 18-Feb-2011 VANHULLEBUS Yvan <vanhu@FreeBSD.org>

Moved the general note about FreeBSD 9.x at the beginning of the list.


# 442da28a 18-Feb-2011 VANHULLEBUS Yvan <vanhu@FreeBSD.org>

Fixed IPsec's HMAC_SHA256-512 support to be RFC4868 compliant.
This will break interoperability with all older versions of
FreeBSD for those algorithms.

Reviewed by: bz, gnn
Obtained from: NETASQ
MFC after: 1w


# 13434232 07-Feb-2011 Matthew D Fleming <mdf@FreeBSD.org>

Remove the uio_yield prototype and symbol. This function has been
misnamed since it was introduced and should not be globally exposed
with this name. The equivalent functionality is now available using
kern_yield(curthread->td_user_pri). The function remains
undocumented.

Bump __FreeBSD_version.


# 7b57aa33 12-Jan-2011 Rebecca Cran <brucec@FreeBSD.org>

Fix wrapping of 20110103 entry.


# 1eae8811 12-Jan-2011 Matthew D Fleming <mdf@FreeBSD.org>

Add type checking for static and dynamic sysctls using scalar types.
The code is turned off until the tree is fixed up so it compiles.
__FreeBSD_version was already bumped once today, so skip the bump, but
add an entry to UPDATING.

Note that __DESCR() is used in the SYSCTL_OID() macro and so is not
needed in macros that invoke it. This use was inconsistent in the
file and I have made it consistent any lines already being changed.

Reviewed by: bde (previous version), -arch (previous version)


# 4c8945a0 12-Jan-2011 Nathan Whitehorn <nwhitehorn@FreeBSD.org>

Update dialog to version 20100428. This changes the license under which
dialog is distributed from GPLv2 to LGPLv2 and introduces a number of new
features and a new and better libdialog API. The existing libdialog will
be kept temporarily as libodialog for compatibility purposes until sade,
sysinstall and tzsetup have been either updated or replaced.

__FreeBSD_version is now 900030.

Discussed on: -current
Approved by: core
Obtained from: http://invisible-island.net/dialog


# e4f64803 03-Jan-2011 Warner Losh <imp@FreeBSD.org>

Note compatibility issues with make universe and stable systems.


# 39bc9de5 27-Dec-2010 Lawrence Stewart <lstewart@FreeBSD.org>

- Add some helper hook points to the TCP stack. The hooks allow Khelp modules to
access inbound/outbound events and associated data for established TCP
connections. The hooks only run if at least one hook function is registered
for the hook point, ensuring the impact on the stack is effectively nil when
no TCP Khelp modules are loaded. struct tcp_hhook_data is passed as contextual
data to any registered Khelp module hook functions.

- Add an OSD (Object Specific Data) pointer to struct tcpcb to allow Khelp
modules to associate per-connection data with the TCP control block.

- Bump __FreeBSD_version and add a note to UPDATING regarding to ABI changes
introduced by this commit and r216753.

In collaboration with: David Hayes <dahayes at swin edu au> and
Grenville Armitage <garmitage at swin edu au>
Sponsored by: FreeBSD Foundation
Reviewed by: bz, others along the way
MFC after: 3 months


# 94877c06 20-Dec-2010 Alexander Leidinger <netchild@FreeBSD.org>

Suggest to run the delete-old target after the second mergemaster. If you run
it before, your rc scripts may still reference old files/directories and
if you are in the unlucky situation to have triggered a reboot (intentionally
or not) between the delete-old run and the mergemaster, your system may not
start anymore.

While I'm here, give a hint about delete-old-libs.

Noticed by: bcr (luckily in a discussion and not by getting hit by this)
MFC after: 1 week


# efd4fc3f 14-Nov-2010 Marius Strobl <marius@FreeBSD.org>

o Flesh out the generic IEEE 802.3 annex 31B full duplex flow control
support in mii(4):
- Merge generic flow control advertisement (which can be enabled by
passing by MIIF_DOPAUSE to mii_attach(9)) and parsing support from
NetBSD into mii_physubr.c and ukphy_subr.c. Unlike as in NetBSD,
IFM_FLOW isn't implemented as a global option via the "don't care
mask" but instead as a media specific option this. This has the
following advantages:
o allows flow control advertisement with autonegotiation to be
turned on and off via ifconfig(8) with the default typically
being off (though MIIF_FORCEPAUSE has been added causing flow
control to be always advertised, allowing to easily MFC this
changes for drivers that previously used home-grown support for
flow control that behaved that way without breaking POLA)
o allows to deal with PHY drivers where flow control advertisement
with manual selection doesn't work or at least isn't implemented,
like it's the case with brgphy(4), e1000phy(4) and ip1000phy(4),
by setting MIIF_NOMANPAUSE
o the available combinations of media options are readily available
from the `ifconfig -m` output
- Add IFM_FLOW to IFM_SHARED_OPTION_DESCRIPTIONS and IFM_ETH_RXPAUSE
and IFM_ETH_TXPAUSE to IFM_SUBTYPE_ETHERNET_OPTION_DESCRIPTIONS so
these are understood by ifconfig(8).
o Make the master/slave support in mii(4) actually usable:
- Change IFM_ETH_MASTER from being implemented as a global option via
the "don't care mask" to a media specific one as it actually is only
applicable to IFM_1000_T to date.
- Let mii_phy_setmedia() set GTCR_MAN_MS in IFM_1000_T slave mode to
actually configure manually selected slave mode (like we also do in
the PHY specific implementations).
- Add IFM_ETH_MASTER to IFM_SUBTYPE_ETHERNET_OPTION_DESCRIPTIONS so it
is understood by ifconfig(8).
o Switch bge(4), bce(4), msk(4), nfe(4) and stge(4) along with brgphy(4),
e1000phy(4) and ip1000phy(4) to use the generic flow control support
instead of home-grown solutions via IFM_FLAGs. This includes changing
these PHY drivers and smcphy(4) to no longer unconditionally advertise
support for flow control but only if the selected media has IFM_FLOW
set (or MIIF_FORCEPAUSE is set) and implemented for these media variants,
i.e. typically only for copper.
o Switch brgphy(4), ciphy(4), e1000phy(4) and ip1000phy(4) to report and
set IFM_1000_T master mode via IFM_ETH_MASTER instead of via IFF_LINK0
and some IFM_FLAGn.
o Switch brgphy(4) to add at least the the supported copper media based on
the contents of the BMSR via mii_phy_add_media() instead of hardcoding
them. The latter approach seems to have developed historically, besides
causing unnecessary code duplication it was also undesirable because
brgphy_mii_phy_auto() already based the capability advertisement on the
contents of the BMSR though.
o Let brgphy(4) set IFM_1000_T master mode on all supported PHY and not
just BCM5701. Apparently this was a misinterpretation of a workaround
in the Linux tg3 driver; BCM5701 seem to require RGPHY_1000CTL_MSE and
BRGPHY_1000CTL_MSC to be set when configuring autonegotiation but
this doesn't mean we can't set these as well on other PHYs for manual
media selection.
o Let ukphy_status() report IFM_1000_T master mode via IFM_ETH_MASTER so
IFM_1000_T master mode support now is generally available with all PHY
drivers.
o Don't let e1000phy(4) set master/slave bits for IFM_1000_SX as it's
not applicable there.

Reviewed by: yongari (plus additional testing)
Obtained from: NetBSD (partially), OpenBSD (partially)
MFC after: 2 weeks


# dbc42409 11-Nov-2010 Lawrence Stewart <lstewart@FreeBSD.org>

This commit marks the first formal contribution of the "Five New TCP Congestion
Control Algorithms for FreeBSD" FreeBSD Foundation funded project. More details
about the project are available at: http://caia.swin.edu.au/freebsd/5cc/

- Add a KPI and supporting infrastructure to allow modular congestion control
algorithms to be used in the net stack. Algorithms can maintain per-connection
state if required, and connections maintain their own algorithm pointer, which
allows different connections to concurrently use different algorithms. The
TCP_CONGESTION socket option can be used with getsockopt()/setsockopt() to
programmatically query or change the congestion control algorithm respectively
from within an application at runtime.

- Integrate the framework with the TCP stack in as least intrusive a manner as
possible. Care was also taken to develop the framework in a way that should
allow integration with other congestion aware transport protocols (e.g. SCTP)
in the future. The hope is that we will one day be able to share a single set
of congestion control algorithm modules between all congestion aware transport
protocols.

- Introduce a new congestion recovery (TF_CONGRECOVERY) state into the TCP stack
and use it to decouple the meaning of recovery from a congestion event and
recovery from packet loss (TF_FASTRECOVERY) a la RFC2581. ECN and delay based
congestion control protocols don't generally need to recover from packet loss
and need a different way to note a congestion recovery episode within the
stack.

- Remove the net.inet.tcp.newreno sysctl, which simplifies some portions of code
and ensures the stack always uses the appropriate mechanisms for recovering
from packet loss during a congestion recovery episode.

- Extract the NewReno congestion control algorithm from the TCP stack and
massage it into module form. NewReno is always built into the kernel and will
remain the default algorithm for the forseeable future. Implementations of
additional different algorithms will become available in the near future.

- Bump __FreeBSD_version to 900025 and note in UPDATING that rebuilding code
that relies on the size of "struct tcpcb" is required.

Many thanks go to the Cisco University Research Program Fund at Community
Foundation Silicon Valley and the FreeBSD Foundation. Their support of our work
at the Centre for Advanced Internet Architectures, Swinburne University of
Technology is greatly appreciated.

In collaboration with: David Hayes <dahayes at swin edu au> and
Grenville Armitage <garmitage at swin edu au>
Sponsored by: Cisco URP, FreeBSD Foundation
Reviewed by: rpaulo
Tested by: David Hayes (and many others over the years)
MFC after: 3 months


# 130a0815 25-Oct-2010 Andriy Gapon <avg@FreeBSD.org>

add dates along with revision numbers in UPDATING entry for 20100915


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# 337299c6 07-Oct-2010 Ed Maste <emaste@FreeBSD.org>

Add a note on the removal of copyright strings from login(1) and sshd(8).


# fd77eab9 04-Oct-2010 Gordon Tetlow <gordon@FreeBSD.org>

Add updating entry for manpath.config deprecation.

Approved by: wes (mentor)


# f8fc818b 15-Sep-2010 Andriy Gapon <avg@FreeBSD.org>

UPDATING entry for r212647


# d3a8a8b9 13-Sep-2010 Hiroki Sato <hrs@FreeBSD.org>

Split $ipv6_prefer into $ip6addrctl_policy and $ipv6_activate_all_interfaces.

The $ip6addrctl_policy is a variable to choose a pre-defined address
selection policy set by ip6addrctl(8).
The keyword "ipv4_prefer" sets IPv4-preferred one described in Section 10.3,
the keyword "ipv6_prefer" sets IPv6-preferred one in Section 2.1 in RFC 3484,
respectively. When "AUTO" is specified, it attempts to read
/etc/ip6addrctl.conf first. If it is found, it reads and installs it as
a policy table. If not, either of the two pre-defined policy tables is
chosen automatically according to $ipv6_activate_all_interfaces.

When $ipv6_activate_all_interfaces=NO, interfaces which have no corresponding
$ifconfig_IF_ipv6 is marked as IFDISABLED for security reason.

The default values are ip6addrctl_policy=AUTO and
ipv6_activate_all_interfaces=NO.

Discussed with: ume and bz


# d69eb520 13-Sep-2010 Rui Paulo <rpaulo@FreeBSD.org>

Add a note about userland DTracing.

Sponsored by: The FreeBSD Foundation


# 40650455 25-Jul-2010 Rui Paulo <rpaulo@FreeBSD.org>

Mention the removal of acpi_aiboost.


# 4dc88ebe 22-Jul-2010 Gabor Kovesdan <gabor@FreeBSD.org>

Add BSD grep to the base system and make it our default grep.

Deliverables: Small and clean code (1,4 KSLOC vs GNU's 8,5 KSLOC),
lower memory usage than GNU grep, GNU compatibility,
BSD license.

TODO: Performance is somewhat behind GNU grep but it is only
significant for bigger searches. The reason is complex, the
most important factor is that GNU grep uses lots of
optimizations to improve the speed of the regex library.
First, we need a modern regex library (practically by adopting
TRE), add support for GNU-style non-standard regexes and then
reevalute the performance issues and look for bottlenecks. In
the meantime, for those, who need better performance, it is
possible to build GNU grep by setting WITH_GNU_GREP.

Approved by: delphij (mentor)
Obtained from: OpenBSD (http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/grep/),
freegrep (http://github.com/howardjp/freegrep)
Sponsored by: Google SoC 2008
Portbuild tests run by: kris, pav, erwin
Acknowledgements to: fjoe (as SoC 2008 mentor),
everyone who helped in reviewing and testing


# b45fc343 16-Jul-2010 Ken Smith <kensmith@FreeBSD.org>

Predict the date we'll be ready to announce 8.1-RELEASE. While here
add the entry for 8.0-RELEASE which was added to releng/8.0/UPDATING
during the 8.0-RELEASE cycle but not to stable/8/UPDATING at that time.

Approved by: re (implicit)


# c3e289e1 12-Jul-2010 Nathan Whitehorn <nwhitehorn@FreeBSD.org>

MFppc64:

Kernel sources for 64-bit PowerPC, along with build-system changes to keep
32-bit kernels compiling (build system changes for 64-bit kernels are
coming later). Existing 32-bit PowerPC kernel configurations must be
updated after this change to specify their architecture.


# d5406806 12-Jul-2010 Colin Percival <cperciva@FreeBSD.org>

Correctly copy the M_RDONLY flag when duplicating a reference
to an mbuf external buffer.

Approved by: so (cperciva)
Approved by: re (kensmith)
Security: FreeBSD-SA-10:07.mbuf


# 8fc25799 12-Jul-2010 Martin Matuska <mm@FreeBSD.org>

Merge ZFS version 15 and almost all OpenSolaris bugfixes referenced
in Solaris 10 updates 141445-09 and 142901-14.

Detailed information:
(OpenSolaris revisions and Bug IDs, Solaris 10 patch numbers)

7844:effed23820ae
6755435 zfs_open() and zfs_close() needs to use ZFS_ENTER/ZFS_VERIFY_ZP (141445-01)

7897:e520d8258820
6748436 inconsistent zpool.cache in boot_archive could panic a zfs root filesystem upon boot-up (141445-01)

7965:b795da521357
6740164 zpool attach can create an illegal root pool (141909-02)

8084:b811cc60d650
6769612 zpool_import() will continue to write to cachefile even if altroot is set (N/A)

8121:7fd09d4ebd9c
6757430 want an option for zdb to disable space map loading and leak tracking (141445-01)

8129:e4f45a0bfbb0
6542860 ASSERT: reason != VDEV_LABEL_REMOVE||vdev_inuse(vd, crtxg, reason, 0) (141445-01)

8188:fd00c0a81e80
6761100 want zdb option to select older uberblocks (141445-01)

8190:6eeea43ced42
6774886 zfs_setattr() won't allow ndmp to restore SUNWattr_rw (141445-01)

8225:59a9961c2aeb
6737463 panic while trying to write out config file if root pool import fails (141445-01)

8227:f7d7be9b1f56
6765294 Refactor replay (141445-01)

8228:51e9ca9ee3a5
6572357 libzfs should do more to avoid mnttab lookups (141909-01)
6572376 zfs_iter_filesystems and zfs_iter_snapshots get objset stats twice (141909-01)

8241:5a60f16123ba
6328632 zpool offline is a bit too conservative (141445-01)
6739487 ASSERT: txg <= spa_final_txg due to scrub/export race (141445-01)
6767129 ASSERT: cvd->vdev_isspare, in spa_vdev_detach() (141445-01)
6747698 checksum failures after offline -t / export / import / scrub (141445-01)
6745863 ZFS writes to disk after it has been offlined (141445-01)
6722540 50% slowdown on scrub/resilver with certain vdev configurations (141445-01)
6759999 resilver logic rewrites ditto blocks on both source and destination (141445-01)
6758107 I/O should never suspend during spa_load() (141445-01)
6776548 codereview(1) runs off the page when faced with multi-line comments (N/A)
6761406 AMD errata 91 workaround doesn't work on 64-bit systems (141445-01)

8242:e46e4b2f0a03
6770866 GRUB/ZFS should require physical path or devid, but not both (141445-01)

8269:03a7e9050cfd
6674216 "zfs share" doesn't work, but "zfs set sharenfs=on" does (141445-01)
6621164 $SRC/cmd/zfs/zfs_main.c seems to have a syntax error in the translation note (141445-01)
6635482 i18n problems in libzfs_dataset.c and zfs_main.c (141445-01)
6595194 "zfs get" VALUE column is as wide as NAME (141445-01)
6722991 vdev_disk.c: error checking for ddi_pathname_to_dev_t() must test for NODEV (141445-01)
6396518 ASSERT strings shouldn't be pre-processed (141445-01)

8274:846b39508aff
6713916 scrub/resilver needlessly decompress data (141445-01)

8343:655db2375fed
6739553 libzfs_status msgid table is out of sync (141445-01)
6784104 libzfs unfairly rejects numerical values greater than 2^63 (141445-01)
6784108 zfs_realloc() should not free original memory on failure (141445-01)

8525:e0e0e525d0f8
6788830 set large value to reservation cause core dump (141445-01)
6791064 want sysevents for ZFS scrub (141445-01)
6791066 need to be able to set cachefile on faulted pools (141445-01)
6791071 zpool_do_import() should not enable datasets on faulted pools (141445-01)
6792134 getting multiple properties on a faulted pool leads to confusion (141445-01)

8547:bcc7b46e5ff7
6792884 Vista clients cannot access .zfs (141445-01)

8632:36ef517870a3
6798384 It can take a village to raise a zio (141445-01)

8636:7e4ce9158df3
6551866 deadlock between zfs_write(), zfs_freesp(), and zfs_putapage() (141909-01)
6504953 zfs_getpage() misunderstands VOP_GETPAGE() interface (141909-01)
6702206 ZFS read/writer lock contention throttles sendfile() benchmark (141445-01)
6780491 Zone on a ZFS filesystem has poor fork/exec performance (141445-01)
6747596 assertion failed: DVA_EQUAL(BP_IDENTITY(&zio->io_bp_orig), BP_IDENTITY(zio->io_bp))); (141445-01)

8692:692d4668b40d
6801507 ZFS read aggregation should not mind the gap (141445-01)

8697:e62d2612c14d
6633095 creating a filesystem with many properties set is slow (141445-01)

8768:dfecfdbb27ed
6775697 oracle crashes when overwriting after hitting quota on zfs (141909-01)

8811:f8deccf701cf
6790687 libzfs mnttab caching ignores external changes (141445-01)
6791101 memory leak from libzfs_mnttab_init (141445-01)

8845:91af0d9c0790
6800942 smb_session_create() incorrectly stores IP addresses (N/A)
6582163 Access Control List (ACL) for shares (141445-01)
6804954 smb_search - shortname field should be space padded following the NULL terminator (N/A)
6800184 Panic at smb_oplock_conflict+0x35() (N/A)

8876:59d2e67b4b65
6803822 Reboot after replacement of system disk in a ZFS mirror drops to grub> prompt (141445-01)

8924:5af812f84759
6789318 coredump when issue zdb -uuuu poolname/ (141445-01)
6790345 zdb -dddd -e poolname coredump (141445-01)
6797109 zdb: 'zdb -dddddd pool_name/fs_name inode' coredump if the file with inode was deleted (141445-01)
6797118 zdb: 'zdb -dddddd poolname inum' coredump if I miss the fs name (141445-01)
6803343 shareiscsi=on failed, iscsitgtd failed request to share (141445-01)

9030:243fd360d81f
6815893 hang mounting a dataset after booting into a new boot environment (141445-01)

9056:826e1858a846
6809691 'zpool create -f' no longer overwrites ufs infomation (141445-01)

9179:d8fbd96b79b3
6790064 zfs needs to determine uid and gid earlier in create process (141445-01)

9214:8d350e5d04aa
6604992 forced unmount + being in .zfs/snapshot/<snap1> = not happy (141909-01)
6810367 assertion failed: dvp->v_flag & VROOT, file: ../../common/fs/gfs.c, line: 426 (141909-01)

9229:e3f8b41e5db4
6807765 ztest_dsl_dataset_promote_busy needs to clean up after ENOSPC (141445-01)

9230:e4561e3eb1ef
6821169 offlining a device results in checksum errors (141445-01)
6821170 ZFS should not increment error stats for unavailable devices (141445-01)
6824006 need to increase issue and interrupt taskqs threads in zfs (141445-01)

9234:bffdc4fc05c4
6792139 recovering from a suspended pool needs some work (141445-01)
6794830 reboot command hangs on a failed zfs pool (141445-01)

9246:67c03c93c071
6824062 System panicked in zfs_mount due to NULL pointer dereference when running btts and svvs tests (141909-01)

9276:a8a7fc849933
6816124 System crash running zpool destroy on broken zpool (141445-03)

9355:09928982c591
6818183 zfs snapshot -r is slow due to set_snap_props() doing txg_wait_synced() for each new snapshot (141445-03)

9391:413d0661ef33
6710376 log device can show incorrect status when other parts of pool are degraded (141445-03)

9396:f41cf682d0d3 (part already merged)
6501037 want user/group quotas on ZFS (141445-03)
6827260 assertion failed in arc_read(): hdr == pbuf->b_hdr (141445-03)
6815592 panic: No such hold X on refcount Y from zfs_znode_move (141445-03)
6759986 zfs list shows temporary %clone when doing online zfs recv (141445-03)

9404:319573cd93f8
6774713 zfs ignores canmount=noauto when sharenfs property != off (141445-03)

9412:4aefd8704ce0
6717022 ZFS DMU needs zero-copy support (141445-03)

9425:e7ffacaec3a8
6799895 spa_add_spares() needs to be protected by config lock (141445-03)
6826466 want to post sysevents on hot spare activation (141445-03)
6826468 spa 'allowfaulted' needs some work (141445-03)
6826469 kernel support for storing vdev FRU information (141445-03)
6826470 skip posting checksum errors from DTL regions of leaf vdevs (141445-03)
6826471 I/O errors after device remove probe can confuse FMA (141445-03)
6826472 spares should enjoy some of the benefits of cache devices (141445-03)

9443:2a96d8478e95
6833711 gang leaders shouldn't have to be logical (141445-03)

9463:d0bd231c7518
6764124 want zdb to be able to checksum metadata blocks only (141445-03)

9465:8372081b8019
6830237 zfs panic in zfs_groupmember() (141445-03)

9466:1fdfd1fed9c4
6833162 phantom log device in zpool status (141445-03)

9469:4f68f041ddcd
6824968 add ZFS userquota support to rquotad (141445-03)

9470:6d827468d7b5
6834217 godfather I/O should reexecute (141445-03)

9480:fcff33da767f
6596237 Stop looking and start ganging (141909-02)

9493:9933d599bc93
6623978 lwb->lwb_buf != NULL, file ../../../uts/common/fs/zfs/zil.c, line 787, function zil_lwb_commit (141445-06)

9512:64cafcbcc337
6801810 Commit of aligned streaming rewrites to ZIL device causes unwanted disk reads (N/A)

9515:d3b739d9d043
6586537 async zio taskqs can block out userland commands (142901-09)

9554:787363635b6a
6836768 zfs_userspace() callback has no way to indicate failure (N/A)

9574:1eb6a6ab2c57
6838062 zfs panics when an error is encountered in space_map_load() (141909-02)

9583:b0696cd037cc
6794136 Panic BAD TRAP: type=e when importing degraded zraid pool. (141909-03)

9630:e25a03f552e0
6776104 "zfs import" deadlock between spa_unload() and spa_async_thread() (141445-06)

9653:a70048a304d1
6664765 Unable to remove files when using fat-zap and quota exceeded on ZFS filesystem (141445-06)

9688:127be1845343
6841321 zfs userspace / zfs get userused@ doesn't work on mounted snapshot (N/A)
6843069 zfs get userused@S-1-... doesn't work (N/A)

9873:8ddc892eca6e
6847229 assertion failed: refcount_count(&tx->tx_space_written) + delta <= tx->tx_space_towrite in dmu_tx.c (141445-06)

9904:d260bd3fd47c
6838344 kernel heap corruption detected on zil while stress testing (141445-06)

9951:a4895b3dd543
6844900 zfs_ioc_userspace_upgrade leaks (N/A)

10040:38b25aeeaf7a
6857012 zfs panics on zpool import (141445-06)

10000:241a51d8720c
6848242 zdb -e no longer works as expected (N/A)

10100:4a6965f6bef8
6856634 snv_117 not booting: zfs_parse_bootfs: error2 (141445-07)

10160:a45b03783d44
6861983 zfs should use new name <-> SID interfaces (N/A)
6862984 userquota commands can hang (141445-06)

10299:80845694147f
6696858 zfs receive of incremental replication stream can dereference NULL pointer and crash (N/A)

10302:a9e3d1987706
6696858 zfs receive of incremental replication stream can dereference NULL pointer and crash (fix lint) (N/A)

10575:2a8816c5173b (partial merge)
6882227 spa_async_remove() shouldn't do a full clear (142901-14)

10800:469478b180d9
6880764 fsync on zfs is broken if writes are greater than 32kb on a hard crash and no log attached (142901-09)
6793430 zdb -ivvvv assertion failure: bp->blk_cksum.zc_word[2] == dmu_objset_id(zilog->zl_os) (N/A)

10801:e0bf032e8673 (partial merge)
6822816 assertion failed: zap_remove_int(ds_next_clones_obj) returns ENOENT (142901-09)

10810:b6b161a6ae4a
6892298 buf->b_hdr->b_state != arc_anon, file: ../../common/fs/zfs/arc.c, line: 2849 (142901-09)

10890:499786962772
6807339 spurious checksum errors when replacing a vdev (142901-13)

11249:6c30f7dfc97b
6906110 bad trap panic in zil_replay_log_record (142901-13)
6906946 zfs replay isn't handling uid/gid correctly (142901-13)

11454:6e69bacc1a5a
6898245 suspended zpool should not cause rest of the zfs/zpool commands to hang (142901-10)

11546:42ea6be8961b (partial merge)
6833999 3-way deadlock in dsl_dataset_hold_ref() and dsl_sync_task_group_sync() (142901-09)

Discussed with: pjd
Approved by: delphij (mentor)
Obtained from: OpenSolaris (multiple Bug IDs)
MFC after: 2 months


# 4fcca83f 05-Jun-2010 Gavin Atkinson <gavin@FreeBSD.org>

Fix typo (COMPAT_FREEBDS32 -> COMPAT_FREEBSD32)

Direct commit to stable/8 as this text isn't in head.

PR: docs/147497
Submitted by: Jack Low <xxjack12xx gmail.com>
Approved by: re (kib)


# e409c5c8 12-May-2010 Christian Brueffer <brueffer@FreeBSD.org>

Note 8.0-RELEASE.

PR: 143824
Submitted by: pluknet <pluknet@gmail.com>


# c4a95f87 02-May-2010 Warner Losh <imp@FreeBSD.org>

Comment on new config version that's now required for amd64 and ia64.
Comment on the confusing error message from Apr 17th-May 2nd generated
by config(8) as well.


# 2965a453 29-Apr-2010 Kip Macy <kmacy@FreeBSD.org>

On Alan's advice, rather than do a wholesale conversion on a single
architecture from page queue lock to a hashed array of page locks
(based on a patch by Jeff Roberson), I've implemented page lock
support in the MI code and have only moved vm_page's hold_count
out from under page queue mutex to page lock. This changes
pmap_extract_and_hold on all pmaps.

Supported by: Bitgravity Inc.

Discussed with: alc, jeffr, and kib


# 362fb32a 07-Apr-2010 Hajimu UMEMOTO <ume@FreeBSD.org>

MFC r200028, r201193, r201752, r201930, r202460, r200672, r206375:
Unify rc.firewall and rc.firewall6, and obsolete rc.firewall6 and
rc.d/ip6fw.


# 4ccf64eb 06-Apr-2010 Nathan Whitehorn <nwhitehorn@FreeBSD.org>

MFC r205014,205015:

Provide groundwork for 32-bit binary compatibility on non-x86 platforms,
for upcoming 64-bit PowerPC and MIPS support. This renames the COMPAT_IA32
option to COMPAT_FREEBSD32, removes some IA32-specific code from MI parts
of the kernel and enhances the freebsd32 compatibility code to support
big-endian platforms.

This MFC is required for MFCs of later changes to the freebsd32
compatibility from HEAD.

Requested by: kib


# 21edb039 02-Apr-2010 Alexander Leidinger <netchild@FreeBSD.org>

WITH_CTF can now be specified in src.conf (not recommended, there
are some problems with static executables), make.conf (would also
affect ports which do not use GNU make and do not override the
compile targets) or in the kernel config (via "makeoptions
WITH_CTF=yes").

Additional (related) changes:
- propagate WITH_CTF to module builds
- do not add -g to the linker flags, it's a noop there anyway
(at least according to the man page of ld)
- do not add -g to CFLAGS unconditionally
we need to have a look if it is really needed (IMO not) or if there
is a way to add it only when WITH_CTF is used

Note: ctfconvert / ctfmerge lines will not appear in the build output,
to protect the innocent (those which do not build with WITH_CTF would
see the shell-test and may think WITH_CTF is used).

Reviewed by: imp, jhb, scottl (earlier version)
Discussed on: arch@


# 841c0c7e 11-Mar-2010 Nathan Whitehorn <nwhitehorn@FreeBSD.org>

Provide groundwork for 32-bit binary compatibility on non-x86 platforms,
for upcoming 64-bit PowerPC and MIPS support. This renames the COMPAT_IA32
option to COMPAT_FREEBSD32, removes some IA32-specific code from MI parts
of the kernel and enhances the freebsd32 compatibility code to support
big-endian platforms.

Reviewed by: kib, jhb


# 8fb1e038 09-Mar-2010 David E. O'Brien <obrien@FreeBSD.org>

Use more proper terms (from official documents) for AMD CPU's.

Reviewed by: imp


# 50e8eca6 09-Mar-2010 Doug Barton <dougb@FreeBSD.org>

Add -i to the first post-install mergemaster example to make
it consistent with the other. [1]

Add a note about -U to the mergemaster footnote.

Submitted by: obrien [1]


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# 93a45f0f 24-Jan-2010 Attilio Rao <attilio@FreeBSD.org>

MFC r201879:
Introduce the new kernel thread called "deadlock resolver".
It is used in order to seek within the threads state and heuristically
understand if there is any deadlock happening.

In order to implement it, the sq_type in sleepqueues is mandatory and not
only compiled along with INVARIANTS option. Additively, a new sleepqueue
function, sleepq_type() is added, returning the type of the sleepqueue
linked to a wchan.
Three new sysctls are added in order to configure the thread:
debug.deadlkres.slptime_threshold
debug.deadlkres.blktime_threshold
debug.deadlkres.sleepfreq

rappresenting the thresholds for sleep and block time that will lead to
a deadlock matching (when exceeded), while the sleepfreq rappresents the
number of seconds between 2 consecutive thread runnings.
In order to enable the deadlock resolver thread recompile your kernel
with the option DEADLKRES.

Sponsored by: Sandvine Incorporated


# 5ab7f1fc 14-Jan-2010 Ed Schouten <ed@FreeBSD.org>

Add wtmpcvt(1).

This utility allows users to convert their wtmp databases to the new
format. It makes no sense for users to keep their wtmp log files if they
are unable to view them.

It basically copies ut_line into ut_id as well. This makes it possible
for last(1) and ac(8) to match login records with their corresponding
logout record.


# 279d8efe 13-Jan-2010 Ed Schouten <ed@FreeBSD.org>

Complete the migration towards utmpx.

- Add a notice to UPDATING, explaining users may need to recompile
applications that use the old database.
- Bump __FreeBSD_version.


# f7829d0d 08-Jan-2010 Attilio Rao <attilio@FreeBSD.org>

Introduce the new kernel thread called "deadlock resolver".
While the name is pretentious, a good explanation of its targets is
reported in this 17 months old presentation e-mail:
http://lists.freebsd.org/pipermail/freebsd-arch/2008-August/008452.html

In order to implement it, the sq_type in sleepqueues is mandatory and not
only compiled along with INVARIANTS option. Additively, a new sleepqueue
function, sleepq_type() is added, returning the type of the sleepqueue
linked to a wchan.
Three new sysctls are added in order to configure the thread:
debug.deadlkres.slptime_threshold
debug.deadlkres.blktime_threshold
debug.deadlkres.sleepfreq

rappresenting the thresholds for sleep and block time that will lead to
a deadlock matching (when exceeded), while the sleepfreq rappresents the
number of seconds between 2 consecutive thread runnings.
In order to enable the deadlock resolver thread recompile your kernel
with the option DEADLKRES.

Reviewed by: jeff
Tested by: pho, Giovanni Trematerra
Sponsored by: Nokia Incorporated, Sandvine Incorporated
MFC after: 2 weeks


# 1733d35c 25-Dec-2009 Ruslan Ermilov <ru@FreeBSD.org>

Fixed two typos.

Submitted by: Maxim Dounin <mdounin@mdounin.ru>


# f2cb5f03 18-Dec-2009 Hajimu UMEMOTO <ume@FreeBSD.org>

Mention the unification of rc.firewall and rc.firewall6.

Suggested by: David Horn <dhorn2000__at__gmail.com>


# 96b4300c 20-Nov-2009 Doug Barton <dougb@FreeBSD.org>

Add a note that wpa_supplicant(8) may require a full world build to
sync up with 20091109.


# 4b2361f8 13-Nov-2009 Ed Schouten <ed@FreeBSD.org>

Convert syscons on i386 to TERM=xterm.

TEKEN_XTERM is now gone. Because we always use xterm mode now, we only
need a TEKEN_CONS25 switch to go back to cons25.


# e42fc368 12-Nov-2009 Ed Schouten <ed@FreeBSD.org>

Switch the default terminal emulation style to xterm for most platforms.

Right now syscons(4) uses a cons25-style terminal emulator. The
disadvantages of that are:

- Little compatibility with embedded devices with serial interfaces.
- Bad bandwidth efficiency, mainly because of the lack of scrolling
regions.
- A very hard transition path to support for modern character sets like
UTF-8.

Our terminal emulation library, libteken, has been supporting
xterm-style terminal emulation for months, so flip the switch and make
everyone use an xterm-style console driver.

I still have to enable this on i386. Right now pc98 and i386 share the
same /etc/ttys file. I'm not going to switch pc98, because it uses its
own Kanji-capable cons25 emulator.

IMPORTANT: What to do if things go wrong (i.e. graphical artifacts):

- Run the application inside script(1), try to reduce the problem and
send me the log file.
- In the mean time, you can run `vidcontrol -T cons25' and `export
TERM=cons25' so you can run applications the same way you did before.
You can also build your kernel with `options TEKEN_CONS25' to make all
virtual terminals use the cons25 emulator by default.

Discussed on: current@


# 896fb057 10-Nov-2009 Andrew Thompson <thompsa@FreeBSD.org>

MFC r198859

Belatedly add an UPDATING message for the usb ethernet ifnet naming in r188412.


# 07ddebb5 09-Nov-2009 Rui Paulo <rpaulo@FreeBSD.org>

Mention the layout change of ieee80211req_scan_result.


# 21293e70 03-Nov-2009 Andrew Thompson <thompsa@FreeBSD.org>

Belatedly add an UPDATING message for the usb ethernet ifnet naming in r188412.

MFC after: 3 days


# 6b7a5f80 29-Oct-2009 Alexander Motin <mav@FreeBSD.org>

MFC rev. 198480, 198483:
Document new modularised ATA kernel modules and options.

PR: kern/133162, amd64/139859


# b868265d 26-Oct-2009 Alexander Motin <mav@FreeBSD.org>

Document atapci kernel module split.

PR: amd64/139859
MFC after: 3 days


# 63b49c2b 25-Oct-2009 Rui Paulo <rpaulo@FreeBSD.org>

Explain that iwn was updated and the firmware images are now split.


# 3c5548d5 29-Sep-2009 Ken Smith <kensmith@FreeBSD.org>

Remove an extra 'S' that snuck in.

Submitted by: danfe
Approved by: re (implicit)


# 10d9c2f7 29-Sep-2009 Ken Smith <kensmith@FreeBSD.org>

Update description of debugging support.

Submitted by: ivoras (but heavily modified)
Pointy hat: me
Approved by: re (implicit)


# 5c58c682 28-Sep-2009 Rui Paulo <rpaulo@FreeBSD.org>

Mention 802.11s D3.03 support.

Approved by: re (implicit)


# 2e77c5ab 26-Sep-2009 Hiroki Sato <hrs@FreeBSD.org>

Fix several logic bugs in the previous IPv6 variable change and
re-add $ipv6_enable support for backward compatibility. From
UPDATING:

1. To use IPv6, simply define $ifconfig_IF_ipv6 like $ifconfig_IF
for IPv4. For aliases, $ifconfig_IF_aliasN should be used.
Note that both variables need the "inet6" keyword at the head.

Do not set $ipv6_network_interfaces manually if you do not
understand what you are doing. It is not needed in most cases.

$ipv6_ifconfig_IF and $ipv6_ifconfig_IF_aliasN still work, but
they are obsolete.

2. $ipv6_enable is obsolete. Use $ipv6_prefer and/or
"inet6 accept_rtadv" keyword in ifconfig(8) instead.

If you define $ipv6_enable=YES, it means $ipv6_prefer=YES and
all configured interfaces have "inet6 accept_rtadv" in the
$ifconfig_IF_ipv6. These are for backward compatibility.

3. A new variable $ipv6_prefer has been added. If NO, IPv6
functionality of interfaces with no corresponding
$ifconfig_IF_ipv6 is disabled by using "inet6 ifdisabled" flag,
and the default address selection policy of ip6addrctl(8)
is the IPv4-preferred one (see rc.d/ip6addrctl for more details).
Note that if you want to configure IPv6 functionality on the
disabled interfaces after boot, first you need to clear the flag by
using ifconfig(8) like:

ifconfig em0 inet6 -ifdisabled

If YES, the default address selection policy is set as
IPv6-preferred.

The default value of $ipv6_prefer is NO.

4. If your system need to receive Router Advertisement messages,
define "inet6 accept_rtadv" in $ifconfig_IF_ipv6. The rc(8)
scripts automatically invoke rtsol(8) when the interface becomes
UP. The Router Advertisement messages are used for SLAAC
(State-Less Address AutoConfiguration).


# 350036a0 22-Sep-2009 Rui Paulo <rpaulo@FreeBSD.org>

Note the D3.03 mesh changes.

MFC after: 1 week


# 18713ab6 15-Sep-2009 Pawel Jakub Dawidek <pjd@FreeBSD.org>

MFC r196456,r196457,r196458,r196662,r196702,r196703,r196919,r196927,r196928,
r196943,r196944,r196947,r196950,r196953,r196954,r196965,r196978,r196979,
r196980,r196982,r196985,r196992,r197131,r197133,r197150,r197151,r197152,
r197153,r197167,r197172,r197177,r197200,r197201:

r196456:
- Give minclsyspri and maxclsyspri real values (consulted with kmacy).
- Honour 'pri' argument for thread_create().

r196457:
Set priority of vdev_geom threads and zvol threads to PRIBIO.

r196458:
- Hide ZFS kernel threads under zfskern process.
- Use better (shorter) threads names:
'zvol:worker zvol/tank/vol00' -> 'zvol tank/vol00'
'vdev:worker da0' -> 'vdev da0'

r196662:
Add missing mountpoint vnode locking.
This fixes panic on assertion with DEBUG_VFS_LOCKS and vfs.usermount=1 when
regular user tries to mount dataset owned by him.

r196702:
Remove empty directory.

r196703:
Backport the 'dirtying dbuf' panic fix from newer ZFS version.

Reported by: Thomas Backman <serenity@exscape.org>

r196919:
bzero() on-stack argument, so mutex_init() won't misinterpret that the
lock is already initialized if we have some garbage on the stack.

PR: kern/135480
Reported by: Emil Mikulic <emikulic@gmail.com>

r196927:
Changing provider size is not really supported by GEOM, but doing so when
provider is closed should be ok.
When administrator requests to change ZVOL size do it immediately if ZVOL
is closed or do it on last ZVOL close.

PR: kern/136942
Requested by: Bernard Buri <bsd@ask-us.at>

r196928:
Teach zdb(8) how to obtain GEOM provider size.

PR: kern/133134
Reported by: Philipp Wuensche <cryx-freebsd@h3q.com>

r196943:
- Avoid holding mutex around M_WAITOK allocations.
- Add locking for mnt_opt field.

r196944:
Don't recheck ownership on update mount. This will eliminate LOR between
vfs_busy() and mount mutex. We check ownership in vfs_domount() anyway.

Noticed by: kib
Reviewed by: kib

r196947:
Defer thread start until we set priority.

Reviewed by: kib

r196950:
Fix detection of file system being shared. Now zfs unshare/destroy/rename
command will properly remove exported file systems.

r196953:
When snapshot mount point is busy (for example we are still in it)
we will fail to unmount it, but it won't be removed from the tree,
so in that case there is no need to reinsert it.

Reported by: trasz

r196954:
If we have to use avl_find(), optimize a bit and use avl_insert() instead of
avl_add() (the latter is actually a wrapper around avl_find() + avl_insert()).
Fix similar case in the code that is currently commented out.

r196965:
Fix reference count leak for a case where snapshot's mount point is updated.

r196978:
Call ZFS_EXIT() after locking the vnode.

r196979:
On FreeBSD we don't have to look for snapshot's mount point,
because fhtovp method is already called with proper mount point.

r196980:
When we automatically mount snapshot we want to return vnode of the mount point
from the lookup and not covered vnode. This is one of the fixes for using .zfs/
over NFS.

r196982:
We don't export individual snapshots, so mnt_export field in snapshot's
mount point is NULL. That's why when we try to access snapshots over NFS
use mnt_export field from the parent file system.

r196985:
Only log successful commands! Without this fix we log even unsuccessful
commands executed by unprivileged users. Action is not really taken, but it is
logged to pool history, which might be confusing.

Reported by: Denis Ahrens <denis@h3q.com>

r196992:
Implement __assert() for Solaris-specific code. Until now Solaris code was
using Solaris prototype for __assert(), but FreeBSD's implementation.
Both take different arguments, so we were either core-dumping in assert()
or printing garbage.

Reported by: avg

r197131:
Tighten up the check for race in zfs_zget() - ZTOV(zp) can not only contain
NULL, but also can point to dead vnode, take that into account.

PR: kern/132068
Reported by: Edward Fisk <7ogcg7g02@sneakemail.com>, kris
Fix based on patch from: Jaakko Heinonen <jh@saunalahti.fi>

r197133:
- Protect reclaim with z_teardown_inactive_lock.
- Be prepared for dbuf to disappear in zfs_reclaim_complete() and check if
z_dbuf field is NULL - this might happen in case of rollback or forced
unmount between zfs_freebsd_reclaim() and zfs_reclaim_complete().
- On forced unmount wait for all znodes to be destroyed - destruction can be
done asynchronously via zfs_reclaim_complete().

r197150:
There is a bug where mze_insert() can trigger an assert() of inserting
the same entry twice. This bug is not fixed yet, but leads to situation
where when try to access corrupted directory the kernel will panic.
Until the bug is properly fixed, try to recover from it and log that it
happened.

Reported by: marck
OpenSolaris bug: 6709336

r197151:
Be sure not to overflow struct fid.

r197152:
Extend scope of the z_teardown_lock lock for consistency and "just in case".

r197153:
When zfs.ko is compiled with debug, make sure that znode and vnode point at
each other.

r197167:
Work-around READDIRPLUS problem with .zfs/ and .zfs/snapshot/ directories
by just returning EOPNOTSUPP. This will allow NFS server to fall back to
regular READDIR.
Note that converting inode number to snapshot's vnode is expensive operation.
Snapshots are stored in AVL tree, but based on their names, not inode numbers,
so to convert inode to snapshot vnode we have to interate over all snalshots.
This is not a problem in OpenSolaris, because in their READDIRPLUS
implementation they use VOP_LOOKUP() on d_name, instead of VFS_VGET() on
d_fileno as we do.

PR: kern/125149
Reported by: Weldon Godfrey <wgodfrey@ena.com>
Analysis by: Jaakko Heinonen <jh@saunalahti.fi>

r197172:
Add missing \n.

Reported by: marck

r197177:
Support both case: when snapshot is already mounted and when it is not yet
mounted.

r197200:
Modify mount(8) to skip MNT_IGNORE file systems by default, just like df(1)
does. This is not POLA violation, because there is no single file system in the
base that use MNT_IGNORE currently, although ZFS snapshots will be mounted with
MNT_IGNORE after next commit.

Reviewed by: kib

r197201:
- Mount ZFS snapshots with MNT_IGNORE flag, so they are not visible in regular
df(1) and mount(8) output. This is a bit smilar to OpenSolaris and follows
ZFS route of not listing snapshots by default with 'zfs list' command.
- Add UPDATING entry to note that ZFS snapshots are no longer visible in
mount(8) and df(1) output by default.

Reviewed by: kib

Approved by: re (bz)


# 63e1d3df 14-Sep-2009 Pawel Jakub Dawidek <pjd@FreeBSD.org>

- Mount ZFS snapshots with MNT_IGNORE flag, so they are not visible in regular
df(1) and mount(8) output. This is a bit smilar to OpenSolaris and follows
ZFS route of not listing snapshots by default with 'zfs list' command.
- Add UPDATING entry to note that ZFS snapshots are no longer visible in
mount(8) and df(1) output by default.

Reviewed by: kib
MFC after: 3 days


# f6a4f4b5 05-Sep-2009 Warner Losh <imp@FreeBSD.org>

Go ahead and mention the CVS branch name as well as the svn branch name.


# 411c7658 05-Sep-2009 Warner Losh <imp@FreeBSD.org>

Note migration of tunable from hw.bus.devctl_disable to
hw.bus.devctl_queue. The sysctl interface provides legacys upport for
the latter sysctl, but the tunable support was removed.

MFC after: 1 day


# 4a19f42f 03-Sep-2009 Warner Losh <imp@FreeBSD.org>

Actually, stable/8 is what was created...


# 456b5dd8 03-Sep-2009 Warner Losh <imp@FreeBSD.org>

Time for house-cleaning:
o remove all entries before RELENG_7 was branched, as is tradition[*].
o Update examples... nobody cares about 5.x upgrades.
o minor format tweaking in a few places.
o update copyright (although at best I hold an editors copyright these days).
o Remove giving people permission to buy me beer. I don't do enough for
this document for that anymore...


# cf48cc9f 22-Aug-2009 Ken Smith <kensmith@FreeBSD.org>

Make head 9.0-CURRENT in preparation for lifting code freeze.

Approved by: re (implicit)


# be105717 13-Aug-2009 Attilio Rao <attilio@FreeBSD.org>

MFC r196196:

* Completely remove the option STOP_NMI from the kernel. This option
has proven to have a good effect when entering KDB by using a NMI,
but it completely violates all the good rules about interrupts
disabled while holding a spinlock in other occasions. This can be the
cause of deadlocks on events where a normal IPI_STOP is expected.
* Add an new IPI called IPI_STOP_HARD on all the supported architectures.
This IPI is responsible for sending a stop message among CPUs using a
privileged channel when disponible. In other cases it just does match a
normal IPI_STOP.
Right now the IPI_STOP_HARD functionality uses a NMI on ia32 and amd64
architectures, while on the other has a normal IPI_STOP effect. It is
responsibility of maintainers to eventually implement an hard stop
when necessary and possible.
* Use the new IPI facility in order to implement a new userend SMP kernel
function called stop_cpus_hard(). That is specular to stop_cpu() but
it does use the privileged channel for the stopping facility.
* Let KDB use the newly introduced function stop_cpus_hard() and leave
stop_cpus() for all the other cases
* Disable interrupts on CPU0 when starting the process of APs suspension.
* Style cleanup and comments adding

This patch should fix the reboot/shutdown deadlocks many users are
constantly reporting on mailing lists.

Please don't forget to update your config file with the STOP_NMI
option removal

Reviewed by: jhb
Tested by: pho, bz, rink
Approved by: re (kib)


# dc6fbf65 13-Aug-2009 Attilio Rao <attilio@FreeBSD.org>

* Completely Remove the option STOP_NMI from the kernel. This option
has proven to have a good effect when entering KDB by using a NMI,
but it completely violates all the good rules about interrupts
disabled while holding a spinlock in other occasions. This can be the
cause of deadlocks on events where a normal IPI_STOP is expected.
* Adds an new IPI called IPI_STOP_HARD on all the supported architectures.
This IPI is responsible for sending a stop message among CPUs using a
privileged channel when disponible. In other cases it just does match a
normal IPI_STOP.
Right now the IPI_STOP_HARD functionality uses a NMI on ia32 and amd64
architectures, while on the other has a normal IPI_STOP effect. It is
responsibility of maintainers to eventually implement an hard stop
when necessary and possible.
* Use the new IPI facility in order to implement a new userend SMP kernel
function called stop_cpus_hard(). That is specular to stop_cpu() but
it does use the privileged channel for the stopping facility.
* Let KDB use the newly introduced function stop_cpus_hard() and leave
stop_cpus() for all the other cases
* Disable interrupts on CPU0 when starting the process of APs suspension.
* Style cleanup and comments adding

This patch should fix the reboot/shutdown deadlocks many users are
constantly reporting on mailing lists.

Please don't forget to update your config file with the STOP_NMI
option removal

Reviewed by: jhb
Tested by: pho, bz, rink
Approved by: re (kib)


# 62d6e91d 03-Aug-2009 Ken Smith <kensmith@FreeBSD.org>

Note when RELENG_8 branch was created.

Approved by: re (implicit)


# 560bf6e4 26-Jul-2009 Konstantin Belousov <kib@FreeBSD.org>

Note that COMPAT_43 requires COMPAT_FREEBSD7 too.

Submitted by: Steve Kargl
Approved by: re (kensmith)


# 3ca3047a 19-Jul-2009 Ken Smith <kensmith@FreeBSD.org>

Bump the version of all non-symbol-versioned shared libraries in
preparation for 8.0-RELEASE. Add the previous version of those
libraries to ObsoleteFiles.inc and bump __FreeBSD_Version.

Reviewed by: kib
Approved by: re (rwatson)


# eddfbb76 14-Jul-2009 Robert Watson <rwatson@FreeBSD.org>

Build on Jeff Roberson's linker-set based dynamic per-CPU allocator
(DPCPU), as suggested by Peter Wemm, and implement a new per-virtual
network stack memory allocator. Modify vnet to use the allocator
instead of monolithic global container structures (vinet, ...). This
change solves many binary compatibility problems associated with
VIMAGE, and restores ELF symbols for virtualized global variables.

Each virtualized global variable exists as a "reference copy", and also
once per virtual network stack. Virtualized global variables are
tagged at compile-time, placing the in a special linker set, which is
loaded into a contiguous region of kernel memory. Virtualized global
variables in the base kernel are linked as normal, but those in modules
are copied and relocated to a reserved portion of the kernel's vnet
region with the help of a the kernel linker.

Virtualized global variables exist in per-vnet memory set up when the
network stack instance is created, and are initialized statically from
the reference copy. Run-time access occurs via an accessor macro, which
converts from the current vnet and requested symbol to a per-vnet
address. When "options VIMAGE" is not compiled into the kernel, normal
global ELF symbols will be used instead and indirection is avoided.

This change restores static initialization for network stack global
variables, restores support for non-global symbols and types, eliminates
the need for many subsystem constructors, eliminates large per-subsystem
structures that caused many binary compatibility issues both for
monitoring applications (netstat) and kernel modules, removes the
per-function INIT_VNET_*() macros throughout the stack, eliminates the
need for vnet_symmap ksym(2) munging, and eliminates duplicate
definitions of virtualized globals under VIMAGE_GLOBALS.

Bump __FreeBSD_version and update UPDATING.

Portions submitted by: bz
Reviewed by: bz, zec
Discussed with: gnn, jamie, jeff, jhb, julian, sam
Suggested by: peter
Approved by: re (kensmith)


# 237fbe0a 13-Jul-2009 Lawrence Stewart <lstewart@FreeBSD.org>

Replace struct tcpopt with a proxy toeopt struct in the TOE driver interface to
the TCP syncache. This returns struct tcpopt to being private within the TCP
implementation, thus allowing it to be modified without ABI concerns.

The patch breaks the ABI. Bump __FreeBSD_version to 800103 accordingly. The cxgb
driver is the only TOE consumer affected by this change, and needs to be
recompiled along with the kernel.

Suggested by: rwatson
Reviewed by: rwatson, kmacy
Approved by: re (kensmith), kensmith (mentor temporarily unavailable)


# 962ebef8 12-Jul-2009 Lawrence Stewart <lstewart@FreeBSD.org>

Pad the following TCP related structs to allow MFCs of upcoming features/fixes
back to the 8 branch:

tcp_var.h
- struct sackhint
- struct tcpcb
- struct tcpstat

The patch breaks the ABI. Bump __FreeBSD_version to 800102 accordingly. User
space tools that rely on the size of any of these structs (e.g. sockstat) need
to be recompiled.

Reviewed by: rpaulo, sam, andre, rwatson
Approved by: re & mentor (gnn)


# 81611ea7 01-Jul-2009 Doug Rabson <dfr@FreeBSD.org>

Clarify the node about removing NFS_LEGACYRPC

Approved by: re


# bab42aad 01-Jul-2009 Doug Rabson <dfr@FreeBSD.org>

Add an entry documenting removal of the NFS_LEGACYRPC option.

Submitted by: Steve Kargl
Approved by: re


# 6cb7f168 29-Jun-2009 Brooks Davis <brooks@FreeBSD.org>

Remove support for the /dev/net/* per-interface devices. They serve
little purpose and are unused in the base system.

The IOCTL functionality is entirely duplicated and routing sockets
provide a richer interface than the kqueue functionality.

Further, it is not practical for these devices to be made sensible in
the face of VIMAGE.

Bump __FreeBSD_version on the off chance that there is any code out
there that actually uses this stuff.

Reviewed by: rwatson
Discussed with: bz, zec
Approved by: re@ (kensmith)


# 944bc81d 28-Jun-2009 Marc Fonvieille <blackend@FreeBSD.org>

- release/* update to use freebsd-doc-* packages instead of building
FreeBSD docset during 'make release' this will speed up release
builds;
- sysinstall(8) has also been updated to use these packages with a new
menu allowing people to choose what localized doc to install;
- mention in UPDATING that docs from the FreeBSD Documentation project
are now installed in /usr/local/share/doc/freebsd instead of
/usr/share/doc.

Approved by: re (kensmith)


# f5e4c105 26-Jun-2009 John Baldwin <jhb@FreeBSD.org>

Note that as a result of the SYSV IPC changes, COMPAT_FREEBSD[456] now
require COMPAT_FREEBSD7. Also, explicitly note in NOTES that any version
of COMPAT_FREEBSD<n> effectively requires for newer binaries (i.e.
COMPAT_FREEBSD<n+1>, etc.). While this has been true in practice
previously, it used to compile ok before the commit earlier this week.

Discussed with: peter
Approved by: re (kensmith)


# b5820f18 25-Jun-2009 Doug Barton <dougb@FreeBSD.org>

Revert the entry about pf and ipfw starting before netif


# b58ea5f3 22-Jun-2009 Bjoern A. Zeeb <bz@FreeBSD.org>

Move virtualization of routing related variables into their own
Vimage module, which had been there already but now is stateful.

All variables are now file local; so this further limits the global
spreading of routing related things throughout the kernel.

Add a missing function local variable in case of MPATHing.

Reviewed by: zec


# 838d9858 19-Jun-2009 Brooks Davis <brooks@FreeBSD.org>

Rework the credential code to support larger values of NGROUPS and
NGROUPS_MAX, eliminate ABI dependencies on them, and raise the to 1024
and 1023 respectively. (Previously they were equal, but under a close
reading of POSIX, NGROUPS_MAX was defined to be too large by 1 since it
is the number of supplemental groups, not total number of groups.)

The bulk of the change consists of converting the struct ucred member
cr_groups from a static array to a pointer. Do the equivalent in
kinfo_proc.

Introduce new interfaces crcopysafe() and crsetgroups() for duplicating
a process credential before modifying it and for setting group lists
respectively. Both interfaces take care for the details of allocating
groups array. crsetgroups() takes care of truncating the group list
to the current maximum (NGROUPS) if necessary. In the future,
crsetgroups() may be responsible for insuring invariants such as sorting
the supplemental groups to allow groupmember() to be implemented as a
binary search.

Because we can not change struct xucred without breaking application
ABIs, we leave it alone and introduce a new XU_NGROUPS value which is
always 16 and is to be used or NGRPS as appropriate for things such as
NFS which need to use no more than 16 groups. When feasible, truncate
the group list rather than generating an error.

Minor changes:
- Reduce the number of hand rolled versions of groupmember().
- Do not assign to both cr_gid and cr_groups[0].
- Modify ipfw to cache ucreds instead of part of their contents since
they are immutable once referenced by more than one entity.

Submitted by: Isilon Systems (initial implementation)
X-MFC after: never
PR: bin/113398 kern/133867


# 651175c9 16-Jun-2009 Attilio Rao <attilio@FreeBSD.org>

Introduce support for adaptive spinning in lockmgr.
Actually, as it did receive few tuning, the support is disabled by
default, but it can opt-in with the option ADAPTIVE_LOCKMGRS.
Due to the nature of lockmgrs, adaptive spinning needs to be
selectively enabled for any interested lockmgr.
The support is bi-directional, or, in other ways, it will work in both
cases if the lock is held in read or write way. In particular, the
read path is passible of further tunning using the sysctls
debug.lockmgr.retries and debug.lockmgr.loops . Ideally, such sysctls
should be axed or compiled out before release.

Addictionally note that adaptive spinning doesn't cope well with
LK_SLEEPFAIL. The reason is that many (and probabilly all) consumers
of LK_SLEEPFAIL are mainly interested in knowing if the interlock was
dropped or not in order to reacquire it and re-test initial conditions.
This directly interacts with adaptive spinning because lockmgr needs
to drop the interlock while spinning in order to avoid a deadlock
(further details in the comments inside the patch).

Final note: finding someone willing to help on tuning this with
relevant workloads would be either very important and appreciated.

Tested by: jeff, pho
Requested by: many


# 2c727cb9 13-Jun-2009 Sam Leffler <sam@FreeBSD.org>

note abi change for IEEE80211_IOC_STA_INFO


# f089869f 11-Jun-2009 Marko Zec <zec@FreeBSD.org>

Introduce a mechanism for detecting calls from outbound path of the
network stack when reentering the inbound path from netgraph, and
force queueing of mbufs at the outbound netgraph node.

The mechanism relies on two components. First, in netgraph nodes
where outbound path of the network stack calls into netgraph, the
current thread has to be appropriately marked using the new
NG_OUTBOUND_THREAD_REF() macro before proceeding to call further
into the netgraph topology, and unmarked using the
NG_OUTBOUND_THREAD_UNREF() macro before returning to the caller.
Second, netgraph nodes which can potentially reenter the network
stack in the inbound path have to mark their inbound hooks using
NG_HOOK_SET_TO_INBOUND() macro. The netgraph framework will then
detect when there is a danger of a call graph looping back from
outbound to inbound path via netgraph, and defer handing off the
mbufs to the "inbound" node to a worker thread with a clean stack.

In this first pass only the most obvious netgraph nodes have been
updated to ensure no outbound to inbound calls can occur. Nodes
such as ng_ipfw, ng_gif etc. should be further examined whether a
potential for outbound to inbound call looping exists.

This commit changes the layout of struct thread, but due to
__FreeBSD_version number shortage a version bump has been omitted
at this time, nevertheless kernel and modules have to be rebuilt.

Reviewed by: julian, rwatson, bz
Approved by: julian (mentor)


# bc29160d 08-Jun-2009 Marko Zec <zec@FreeBSD.org>

Introduce an infrastructure for dismantling vnet instances.

Vnet modules and protocol domains may now register destructor
functions to clean up and release per-module state. The destructor
mechanisms can be triggered by invoking "vimage -d", or a future
equivalent command which will be provided via the new jail framework.

While this patch introduces numerous placeholder destructor functions,
many of those are currently incomplete, thus leaking memory or (even
worse) failing to stop all running timers. Many of such issues are
already known and will be incrementaly fixed over the next weeks in
smaller incremental commits.

Apart from introducing new fields in structs ifnet, domain, protosw
and vnet_net, which requires the kernel and modules to be rebuilt, this
change should have no impact on nooptions VIMAGE builds, since vnet
destructors can only be called in VIMAGE kernels. Moreover,
destructor functions should be in general compiled in only in
options VIMAGE builds, except for kernel modules which can be safely
kldunloaded at run time.

Bump __FreeBSD_version to 800097.
Reviewed by: bz, julian
Approved by: rwatson, kib (re), julian (mentor)


# 89f98d57 02-Jun-2009 Ed Schouten <ed@FreeBSD.org>

Remove window(1) from the base system.

Some time ago Tom Rhodes sent me an email that he was willing to perform
various cleanups to the window(1) source code. After some discussion, we
both decided the best thing to do, was to move window(1) to the ports
tree. The application isn't used a lot nowadays, mainly because it has
been superseeded by screen, tmux, etc.

A couple of hours ago Tom committed window(1) to ports (misc/window), so
I'm removing it from the tree. I don't think people will really miss it,
but I'm describing the change in UPDATING anyway.

Discussed with: trhodes, pav, kib
Approved by: re


# ce62079b 01-Jun-2009 Doug Barton <dougb@FreeBSD.org>

Add a note about the change to rcorder for pf and ipfw.


# ab1a4d48 01-Jun-2009 Bjoern A. Zeeb <bz@FreeBSD.org>

Decrement __FreeBSD_version again to 96 as we are runing out of digits
and want to be conservative - so not more than one version bump per day.

Discussed with: jhb, kensmith


# 529cb8e3 01-Jun-2009 Robert Watson <rwatson@FreeBSD.org>

Update UPDATING for NETISR2 merge, fix a typo in another UPDATING entry.


# c2c2a7c1 01-Jun-2009 Bjoern A. Zeeb <bz@FreeBSD.org>

Convert the two dimensional array to be malloced and introduce
an accessor function to get the correct rnh pointer back.

Update netstat to get the correct pointer using kvm_read()
as well.

This not only fixes the ABI problem depending on the kernel
option but also permits the tunable to overwrite the kernel
option at boot time up to MAXFIBS, enlarging the number of
FIBs without having to recompile. So people could just use
GENERIC now.

Reviewed by: julian, rwatson, zec
X-MFC: not possible


# faef64cc 30-May-2009 Attilio Rao <attilio@FreeBSD.org>

Remove the now invalid (and possibly unused) debug.mpsafevfs
sysctl/tunable.

Reviewed by: emaste
Sponsored by: Sandvine Incorporated


# 2a61ba47 30-May-2009 Edward Tomasz Napierala <trasz@FreeBSD.org>

Bump __FreeBSD_version after addition of VOP_ACCESSX(9).


# 2a5f2c1d 29-May-2009 Maxim Konovalov <maxim@FreeBSD.org>

o Add missed quotation mark.


# b89fed67 29-May-2009 Edward Tomasz Napierala <trasz@FreeBSD.org>

Update __FreeBSD_version after addition of mnt_xflag. Add a note
to UPDATING.


# 1ae1c2a3 28-May-2009 Attilio Rao <attilio@FreeBSD.org>

Reverse the logic for ADAPTIVE_SX option and enable it by default.
Introduce for this operation the reverse NO_ADAPTIVE_SX option.
The flag SX_ADAPTIVESPIN to be passed to sx_init_flags(9) gets suppressed
and the new flag, offering the reversed logic, SX_NOADAPTIVE is added.

Additively implements adaptive spininning for sx held in shared mode.
The spinning limit can be handled through sysctls in order to be tuned
while the code doesn't reach the release, after which time they should
be dropped probabilly.

This change has made been necessary by recent benchmarks where it does
improve concurrency of workloads in presence of high contention
(ie. ZFS).

KPI breakage is documented by __FreeBSD_version bumping, manpage and
UPDATING updates.

Requested by: jeff, kmacy
Reviewed by: jeff
Tested by: pho


# 0304c731 27-May-2009 Jamie Gritton <jamie@FreeBSD.org>

Add hierarchical jails. A jail may further virtualize its environment
by creating a child jail, which is visible to that jail and to any
parent jails. Child jails may be restricted more than their parents,
but never less. Jail names reflect this hierarchy, being MIB-style
dot-separated strings.

Every thread now points to a jail, the default being prison0, which
contains information about the physical system. Prison0's root
directory is the same as rootvnode; its hostname is the same as the
global hostname, and its securelevel replaces the global securelevel.
Note that the variable "securelevel" has actually gone away, which
should not cause any problems for code that properly uses
securelevel_gt() and securelevel_ge().

Some jail-related permissions that were kept in global variables and
set via sysctls are now per-jail settings. The sysctls still exist for
backward compatibility, used only by the now-deprecated jail(2) system
call.

Approved by: bz (mentor)


# 37f17770 23-May-2009 Marko Zec <zec@FreeBSD.org>

V_irtualize the if_clone framework, thus allowing for clonable ifnets
to optionally have overlapping unit numbers if attached in different
vnets.

At this stage if_loop is the only clonable ifnet class that has been
extended to allow for such overlapping allocation of unit numbers, i.e.
in each vnet it is possible to have a lo0 interface. Other clonable ifnet
classes remain to operate with traditional semantics, i.e. each instance
of a clonable ifnet will be assigned a globally unique unit number,
regardless in which vnet such an ifnet becomes instantiated.

While here, garbage collect unused _lo_list field in struct vnet_net,
as well as improve indentation for #defines in sys/net/vnet.h.

The layout of struct vnet_net has changed, therefore bump
__FreeBSD_version.

This change has no functional impact on nooptions VIMAGE kernel builds.

Reviewed by: bz, brooks
Approved by: julian (mentor)


# 813bb2c9 23-May-2009 Joel Dahl <joel@FreeBSD.org>

Fix minor typo.


# 609e2d1b 23-May-2009 Edwin Groothuis <edwin@FreeBSD.org>

Rework the text for the import of zic(8) at 20090523.
Suggested by Niclas Zeising (and he was absolutely right on it!)


# dfc79e89 23-May-2009 Edwin Groothuis <edwin@FreeBSD.org>

MFV of tzcode2009e:

Upgrade of the tzcode from 2004a to 2009e.

Changes are numerous, but include...

- New format of the output of zic, which supports both 32 and 64
bit time_t formats.

- zdump on 64 bit platforms will actually produce some output instead
of doing nothing for a looooooooong time.

- linux_base-fX, with X >= at least 8, will work without problems related
to the local time again.

The original patch, based on the 2008e, has been running for a long
time on both my laptop and desktop machine and have been tested by
other people.

After the installation of this code and the running of zic(8), you
need to run tzsetup(8) again to install the new datafile.

Approved by: wollman@ for usr.sbin/zic
MFC after: 1 month


# 9360ae40 20-May-2009 Andrew Thompson <thompsa@FreeBSD.org>

Rename the usb sysctl tree from hw.usb2.* back to hw.usb.*.

Submitted by: Hans Petter Selasky


# 23790ac0 20-May-2009 Sam Leffler <sam@FreeBSD.org>

bump for net80211 monitor mode changes


# f6dfe47a 30-Apr-2009 Marko Zec <zec@FreeBSD.org>

Permit buiding kernels with options VIMAGE, restricted to only a single
active network stack instance. Turning on options VIMAGE at compile
time yields the following changes relative to default kernel build:

1) V_ accessor macros for virtualized variables resolve to structure
fields via base pointers, instead of being resolved as fields in global
structs or plain global variables. As an example, V_ifnet becomes:

options VIMAGE: ((struct vnet_net *) vnet_net)->_ifnet
default build: vnet_net_0._ifnet
options VIMAGE_GLOBALS: ifnet

2) INIT_VNET_* macros will declare and set up base pointers to be used
by V_ accessor macros, instead of resolving to whitespace:

INIT_VNET_NET(ifp->if_vnet); becomes

struct vnet_net *vnet_net = (ifp->if_vnet)->mod_data[VNET_MOD_NET];

3) Memory for vnet modules registered via vnet_mod_register() is now
allocated at run time in sys/kern/kern_vimage.c, instead of per vnet
module structs being declared as globals. If required, vnet modules
can now request the framework to provide them with allocated bzeroed
memory by filling in the vmi_size field in their vmi_modinfo structures.

4) structs socket, ifnet, inpcbinfo, tcpcb and syncache_head are
extended to hold a pointer to the parent vnet. options VIMAGE builds
will fill in those fields as required.

5) curvnet is introduced as a new global variable in options VIMAGE
builds, always pointing to the default and only struct vnet.

6) struct sysctl_oid has been extended with additional two fields to
store major and minor virtualization module identifiers, oid_v_subs and
oid_v_mod. SYSCTL_V_* family of macros will fill in those fields
accordingly, and store the offset in the appropriate vnet container
struct in oid_arg1.
In sysctl handlers dealing with virtualized sysctls, the
SYSCTL_RESOLVE_V_ARG1() macro will compute the address of the target
variable and make it available in arg1 variable for further processing.

Unused fields in structs vnet_inet, vnet_inet6 and vnet_ipfw have
been deleted.

Reviewed by: bz, rwatson
Approved by: julian (mentor)


# 33cde130 29-Apr-2009 Bruce M Simpson <bms@FreeBSD.org>

Bite the bullet, and make the IPv6 SSM and MLDv2 mega-commit:
import from p4 bms_netdev. Summary of changes:

* Connect netinet6/in6_mcast.c to build.
The legacy KAME KPIs are mostly preserved.
* Eliminate now dead code from ip6_output.c.
Don't do mbuf bingo, we are not going to do RFC 2292 style
CMSG tricks for multicast options as they are not required
by any current IPv6 normative reference.
* Refactor transports (UDP, raw_ip6) to do own mcast filtering.
SCTP, TCP unaffected by this change.
* Add ip6_msource, in6_msource structs to in6_var.h.
* Hookup mld_ifinfo state to in6_ifextra, allocate from
domifattach path.
* Eliminate IN6_LOOKUP_MULTI(), it is no longer referenced.
Kernel consumers which need this should use in6m_lookup().
* Refactor IPv6 socket group memberships to use a vector (like IPv4).
* Update ifmcstat(8) for IPv6 SSM.
* Add witness lock order for IN6_MULTI_LOCK.
* Move IN6_MULTI_LOCK out of lower ip6_output()/ip6_input() paths.
* Introduce IP6STAT_ADD/SUB/INC/DEC as per rwatson's IPv4 cleanup.
* Update carp(4) for new IPv6 SSM KPIs.
* Virtualize ip6_mrouter socket.
Changes mostly localized to IPv6 MROUTING.
* Don't do a local group lookup in MROUTING.
* Kill unused KAME prototypes in6_purgemkludge(), in6_restoremkludge().
* Preserve KAME DAD timer jitter behaviour in MLDv1 compatibility mode.
* Bump __FreeBSD_version to 800084.
* Update UPDATING.

NOTE WELL:
* This code hasn't been tested against real MLDv2 queriers
(yet), although the on-wire protocol has been verified in Wireshark.
* There are a few unresolved issues in the socket layer APIs to
do with scope ID propagation.
* There is a LOR present in ip6_output()'s use of
in6_setscope() which needs to be resolved. See comments in mld6.c.
This is believed to be benign and can't be avoided for the moment
without re-introducing an indirect netisr.

This work was mostly derived from the IGMPv3 implementation, and
has been sponsored by a third party.


# f146c211 24-Apr-2009 Xin LI <delphij@FreeBSD.org>

Some minor formatting changes to make new text match old style.


# 8713ec3d 24-Apr-2009 Renato Botelho <garga@FreeBSD.org>

- Add a single line separating two 20090415 entries

Approved by: brueffer


# 8b8bf775 24-Apr-2009 Robert Watson <rwatson@FreeBSD.org>

Add UPDATING note about change to struct malloc_type -- following several
reports of panics, remind readers that rebuilding kernel modules between
kernel upgrades in HEAD is a good idea.


# 131cdffb 22-Apr-2009 Maksim Yevmenkin <emax@FreeBSD.org>

Bump __FreeBSD_version. Add UPDATING entry about low-level Bluetooth HCI API.


# 773b573a 15-Apr-2009 Kip Macy <kmacy@FreeBSD.org>

- add second flags field to to inpcb
- update comments in vflag


# de4ab55e 15-Apr-2009 Kip Macy <kmacy@FreeBSD.org>

add an llentry to struct route{_in6} to allow it to be passed around with
the rtentry


# 427ac07f 14-Apr-2009 Kip Macy <kmacy@FreeBSD.org>

Extend route command:
- add show as alias for get
- add weights to allow mpath to do more than equal cost
- add sticky / nostick to disable / re-enable per-connection load balancing

This adds a field to rt_metrics_lite so network bits of world will need to be re-built.

Reviewed by: jeli & qingli


# 87437955 12-Apr-2009 Maksim Yevmenkin <emax@FreeBSD.org>

Add entry about kbdmux(4) un-locking.


# 2f6a1858 08-Apr-2009 Marko Zec <zec@FreeBSD.org>

A belated note on layout change of certain V_ containers.

Approved by: julian (mentor)


# 9a07b548 20-Mar-2009 Ivan Voras <ivoras@FreeBSD.org>

Separate the GEOM_PART entry into paragraphs with differences from old
slicers. Add more notes.

Reviewed by: marcel (implicit)
Approved by: gnn (mentor) (implicit)


# 781d043c 20-Mar-2009 Ivan Voras <ivoras@FreeBSD.org>

Note that GEOM_PART is on by default in 8-CURRENT and how it's different
from older slices.

OKed by: marcel
Approved by: gnn (mentor)


# 2b78d306 19-Mar-2009 Andrew Thompson <thompsa@FreeBSD.org>

Remove the uscanner(4) driver, this follows the removal of the kernel scanner
driver in Linux 2.6. uscanner was just a simple wrapper around a fifo and
contained no logic, the default interface is now libusb (supported by sane).

Reviewed by: HPS


# 443fc317 18-Mar-2009 Bruce M Simpson <bms@FreeBSD.org>

Introduce a number of changes to the MROUTING code.
This is purely a forwarding plane cleanup; no control plane
code is involved.

Summary:
* Split IPv4 and IPv6 MROUTING support. The static compile-time
kernel option remains the same, however, the modules may now
be built for IPv4 and IPv6 separately as ip_mroute_mod and
ip6_mroute_mod.
* Clean up the IPv4 multicast forwarding code to use BSD queue
and hash table constructs. Don't build our own timer abstractions
when ratecheck() and timevalclear() etc will do.
* Expose the multicast forwarding cache (MFC) and virtual interface
table (VIF) as sysctls, to reduce netstat's dependence on libkvm
for this information for running kernels.
* bandwidth meters however still require libkvm.
* Make the MFC hash table size a boot/load-time tunable ULONG,
net.inet.ip.mfchashsize (defaults to 256).
* Remove unused members from struct vif and struct mfc.
* Kill RSVP support, as no current RSVP implementation uses it.
These stubs could be moved to raw_ip.c.
* Don't share locks or initialization between IPv4 and IPv6.
* Don't use a static struct route_in6 in ip6_mroute.c.
The v6 code is still using a cached struct route_in6, this is
moved to mif6 for the time being.
* More cleanup remains to be merged from ip_mroute.c to ip6_mroute.c.

v4 path tested using ports/net/mcast-tools.
v6 changes are mostly mechanical locking and *have not* been tested.
As these changes partially break some kernel ABIs, they will not
be MFCed. There is a lot more work to be done here.

Reviewed by: Pavlin Radoslavov


# 1df14375 15-Mar-2009 Robert Watson <rwatson@FreeBSD.org>

Mention specifically in UPDATING that non-MPSAFE device drivers are no
longer supported.


# 7e06afca 13-Mar-2009 Gabor Kovesdan <gabor@FreeBSD.org>

- Add an entry about enabling libc NLS support


# e667034d 13-Mar-2009 Rui Paulo <rpaulo@FreeBSD.org>

Mention k8temp -> amdtemp rename.

MFC after: 2 weeks


# 3296f80d 09-Mar-2009 Andrew Thompson <thompsa@FreeBSD.org>

Fix spelling.


# 0ee5826e 09-Mar-2009 Andrew Thompson <thompsa@FreeBSD.org>

Update 20090309 to say that libmap.conf entries for libusb are no longer needed.


# cb2fe9b1 09-Mar-2009 Stanislav Sedov <stas@FreeBSD.org>

- Fix a typo.

Spotted by: Steve Kargl <sgk@troutmask.apl.washington.edu>


# f3106cde 09-Mar-2009 Stanislav Sedov <stas@FreeBSD.org>

- Point libusb users to the ports collection UPDATING file.


# d10910e6 09-Mar-2009 Bruce M Simpson <bms@FreeBSD.org>

Merge IGMPv3 and Source-Specific Multicast (SSM) to the FreeBSD
IPv4 stack.

Diffs are minimized against p4.
PCS has been used for some protocol verification, more widespread
testing of recorded sources in Group-and-Source queries is needed.
sizeof(struct igmpstat) has changed.

__FreeBSD_version is bumped to 800070.


# a091d2a5 09-Mar-2009 Andrew Thompson <thompsa@FreeBSD.org>

Install libusb20.so.1 as libusb.so.1, there will be a followup commit to the
ports tree so that programs use libusb from the base by default. Thanks to
Stanislav Sedov for sorting out the ports build.

Bump __FreeBSD_version to 800069

Help and testing by: stas


# 9f960e98 04-Mar-2009 Konstantin Belousov <kib@FreeBSD.org>

Hopefully, improve the grammar and wording in the changes to shmctl(2)
manpage and UPDATING entry 20090302.

UPDATING changes suggested by bf2006a yahoo com.
man page corrections by bde.


# 65067cc8 02-Mar-2009 Konstantin Belousov <kib@FreeBSD.org>

Correct types of variables used to track amount of allocated SysV shared
memory from int to size_t. Implement a workaround for current ABI not
allowing to properly save size for and report more then 2Gb sized segment
of shared memory.

This makes it possible to use > 2 Gb shared memory segments on 64bit
architectures. Please note the new BUGS section in shmctl(2) and
UPDATING note for limitations of this temporal solution.

Reviewed by: csjp
Tested by: Nikolay Dzham <i levsha org ua>
MFC after: 2 weeks


# a709c9a6 01-Mar-2009 Warner Losh <imp@FreeBSD.org>

Add verbage about needing to remap libusb-0.1 to libusb20 to get old
programs to work with the new usb stack.


# 176273ea 28-Feb-2009 Robert Watson <rwatson@FreeBSD.org>

Note that network device driver modules need rebuilding.


# a13a5664 27-Feb-2009 Andrew Thompson <thompsa@FreeBSD.org>

Make a note about USB /dev changes.


# 200dcf9a 23-Feb-2009 Andrew Thompson <thompsa@FreeBSD.org>

Fix spelling (again).

Spotted by: Fabian Keil


# 9c1e15b5 23-Feb-2009 Andrew Thompson <thompsa@FreeBSD.org>

Fix spelling.

Spotted by: Fabian Keil


# 71e9286c 23-Feb-2009 Andrew Thompson <thompsa@FreeBSD.org>

Add an UPDATING entry and bump the OS version to 800064.


# 553bf6a4 17-Feb-2009 Mike Makonnen <mtm@FreeBSD.org>

Rename the rc.conf(5) knob if_up_delay to defaultroute_delay to better
reflect its purpose.


# 199cc112 17-Feb-2009 Maxim Konovalov <maxim@FreeBSD.org>

o Trim EOL whitespaces.


# cbb9c89e 17-Feb-2009 Maxim Konovalov <maxim@FreeBSD.org>

o Teminate sentences by dot.


# bb71e4b6 16-Feb-2009 Andrew Thompson <thompsa@FreeBSD.org>

Add an entry for xorg+hal+USB2 not detecting input devices.


# e4edc14e 15-Feb-2009 Andrew Thompson <thompsa@FreeBSD.org>

Switch over GENERIC kernels to USB2 by default.

Tested by: make universe


# 14943437 06-Feb-2009 John Baldwin <jhb@FreeBSD.org>

Add a note to document that ichsmb(4) now uses left-justified SMBus slave
addresses.


# 09f8c3ff 01-Feb-2009 Bjoern A. Zeeb <bz@FreeBSD.org>

Remove the single global unlocked route cache ip6_forward_rt
from the inet6 stack along with statistics and make sure we
properly free the rt in all cases.

While the current situation is not better performance wise it
prevents panics seen more often these days.
After more inet6 and ipsec cleanup we should be able to improve
the situation again passing the rt to ip6_forward directly.

Leave the ip6_forward_rt entry in struct vinet6 but mark it
for removal.

PR: kern/128247, kern/131038
MFC after: 25 days
Committed from: Bugathon #6
Tested by: Denis Ahrens <denis@h3q.com> (different initial version)


# 74f91fb9 19-Jan-2009 Maxim Sobolev <sobomax@FreeBSD.org>

Mention removal of NTFS from GENERIC/amd64.


# 24cb0f22 14-Jan-2009 Lawrence Stewart <lstewart@FreeBSD.org>

Add TCP Appropriate Byte Counting (RFC 3465) support to kernel.

The new behaviour is on by default, and can be disabled by setting the
net.inet.tcp.rfc3465 sysctl to 0 to obtain previous behaviour.

The patch changes struct tcpcb in sys/netinet/tcp_var.h which breaks
the ABI. Bump __FreeBSD_version to 800061 accordingly. User space tools
that rely on the size of struct tcpcb (e.g. sockstat) need to be recompiled.

Reviewed by: rpaulo, gnn
Approved by: gnn, kmacy (mentors)
Sponsored by: FreeBSD Foundation


# 5d55747e 25-Dec-2008 Alexander Motin <mav@FreeBSD.org>

ng_tty(4) module updated to match the new TTY subsystem.


# a1c64caf 19-Dec-2008 Sam Leffler <sam@FreeBSD.org>

correct wording


# efc06131 19-Dec-2008 Sam Leffler <sam@FreeBSD.org>

add makefs to the base system; FreeBSD_version bumped just in case

Reviewed by: imp


# 991f8615 16-Dec-2008 Kip Macy <kmacy@FreeBSD.org>

convert ifnet and afdata locks from mutexes to rwlocks


# 6e6b3f7c 14-Dec-2008 Qing Li <qingli@FreeBSD.org>

This main goals of this project are:
1. separating L2 tables (ARP, NDP) from the L3 routing tables
2. removing as much locking dependencies among these layers as
possible to allow for some parallelism in the search operations
3. simplify the logic in the routing code,

The most notable end result is the obsolescent of the route
cloning (RTF_CLONING) concept, which translated into code reduction
in both IPv4 ARP and IPv6 NDP related modules, and size reduction in
struct rtentry{}. The change in design obsoletes the semantics of
RTF_CLONING, RTF_WASCLONE and RTF_LLINFO routing flags. The userland
applications such as "arp" and "ndp" have been modified to reflect
those changes. The output from "netstat -r" shows only the routing
entries.

Quite a few developers have contributed to this project in the
past: Glebius Smirnoff, Luigi Rizzo, Alessandro Cerri, and
Andre Oppermann. And most recently:

- Kip Macy revised the locking code completely, thus completing
the last piece of the puzzle, Kip has also been conducting
active functional testing
- Sam Leffler has helped me improving/refactoring the code, and
provided valuable reviews
- Julian Elischer setup the perforce tree for me and has helped
me maintaining that branch before the svn conversion


# 71fbac11 08-Dec-2008 Jens Schweikhardt <schweikh@FreeBSD.org>

White space only: Tabify; white space at EOL removed.


# c60b227c 01-Dec-2008 Sam Leffler <sam@FreeBSD.org>

correct typo

Submitted by: Ole Vole


# 33644623 01-Dec-2008 Sam Leffler <sam@FreeBSD.org>

Switch to ath hal source code. Note this removes the ath_hal
module; the ath module now brings in the hal support. Kernel
config files are almost backwards compatible; supplying

device ath_hal

gives you the same chip support that the binary hal did but you
must also include

options AH_SUPPORT_AR5416

to enable the extended format descriptors used by 11n parts.
It is now possible to control the chip support included in a
build by specifying exactly which chips are to be supported
in the config file; consult ath_hal(4) for information.


# db7f0b97 21-Nov-2008 Kip Macy <kmacy@FreeBSD.org>

- bump __FreeBSD version to reflect added buf_ring, memory barriers,
and ifnet functions

- add memory barriers to <machine/atomic.h>
- update drivers to only conditionally define their own

- add lockless producer / consumer ring buffer
- remove ring buffer implementation from cxgb and update its callers

- add if_transmit(struct ifnet *ifp, struct mbuf *m) to ifnet to
allow drivers to efficiently manage multiple hardware queues
(i.e. not serialize all packets through one ifq)
- expose if_qflush to allow drivers to flush any driver managed queues

This work was supported by Bitgravity Inc. and Chelsio Inc.


# de3a91a0 18-Nov-2008 Xin LI <delphij@FreeBSD.org>

Grammar.

Submitted by: "bf" <bf2006a at yahoo com>


# de2e1b35 18-Nov-2008 Xin LI <delphij@FreeBSD.org>

Mention that listsnapshots is disabled by default after latest ZFS import.


# 02d09f79 28-Oct-2008 Oleg Bulyzhin <oleg@FreeBSD.org>

Type of q_time (start of queue idle time) has changed: uint32_t -> uint64_t.
This should fix q_time overflow, which happens after 2^32/(86400*hz) days of
uptime (~50days for hz = 1000).
q_time overflow cause following:
- traffic shaping may not work in 'fast' mode (not enabled by default).
- incorrect average queue length calculation in RED/GRED algorithm.

NB: due to ABI change this change is not applicable to stable.

PR: kern/128401


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# d8135f4a 10-Oct-2008 Nick Hibma <n_hibma@FreeBSD.org>

Add an entry about the split up of usb into usb+*hci modules.

Submitted by: Andrew Thompson


# e91c7c81 09-Oct-2008 Joseph Koshy <jkoshy@FreeBSD.org>

Mention the libpmc/hwpmc ABI change introduced in SVN r183725.


# 737d990a 07-Oct-2008 Xin LI <delphij@FreeBSD.org>

Don't mention lib/compat, it has gone long ago. Use ports/misc/compat*
instead.


# 66e7dc38 14-Sep-2008 Ed Schouten <ed@FreeBSD.org>

The si(4) and ufoma(4) drivers have been ported to the new TTY layer.

Remove the entries from the UPDATING entry, to cause less confusion
among our users.


# 9d965219 03-Sep-2008 Ollivier Robert <roberto@FreeBSD.org>

Mention ntpd upgrade to 4.2.4p5.


# eaeb50d4 01-Sep-2008 Dag-Erling Smørgrav <des@FreeBSD.org>

Belatedly add a notice about the reversed order of preference for OpenSSH
authentication keys.


# bc093719 20-Aug-2008 Ed Schouten <ed@FreeBSD.org>

Integrate the new MPSAFE TTY layer to the FreeBSD operating system.

The last half year I've been working on a replacement TTY layer for the
FreeBSD kernel. The new TTY layer was designed to improve the following:

- Improved driver model:

The old TTY layer has a driver model that is not abstract enough to
make it friendly to use. A good example is the output path, where the
device drivers directly access the output buffers. This means that an
in-kernel PPP implementation must always convert network buffers into
TTY buffers.

If a PPP implementation would be built on top of the new TTY layer
(still needs a hooks layer, though), it would allow the PPP
implementation to directly hand the data to the TTY driver.

- Improved hotplugging:

With the old TTY layer, it isn't entirely safe to destroy TTY's from
the system. This implementation has a two-step destructing design,
where the driver first abandons the TTY. After all threads have left
the TTY, the TTY layer calls a routine in the driver, which can be
used to free resources (unit numbers, etc).

The pts(4) driver also implements this feature, which means
posix_openpt() will now return PTY's that are created on the fly.

- Improved performance:

One of the major improvements is the per-TTY mutex, which is expected
to improve scalability when compared to the old Giant locking.
Another change is the unbuffered copying to userspace, which is both
used on TTY device nodes and PTY masters.

Upgrading should be quite straightforward. Unlike previous versions,
existing kernel configuration files do not need to be changed, except
when they reference device drivers that are listed in UPDATING.

Obtained from: //depot/projects/mpsafetty/...
Approved by: philip (ex-mentor)
Discussed: on the lists, at BSDCan, at the DevSummit
Sponsored by: Snow B.V., the Netherlands
dcons(4) fixed by: kan


# db96ec0b 18-Aug-2008 Ed Schouten <ed@FreeBSD.org>

Extend the message in UPDATING on the sio(4) -> uart(4) change.

It turns out I forgot to mention that people really need to make sure
their hints are up to date if they are updating a system through the
serial console.

Requested by: gavin
Reviewed by: gavin


# c5783846 25-Jul-2008 Maxim Konovalov <maxim@FreeBSD.org>

o Trim whitespaces.


# 032e0bf8 25-Jul-2008 Maxim Konovalov <maxim@FreeBSD.org>

o Fix grammar: see -> See.


# f4d811f0 13-Jul-2008 Ed Schouten <ed@FreeBSD.org>

Make uart(4) the default serial port driver on i386 and amd64.

The uart(4) driver has the advantage of supporting a wider variety of
hardware on a greater amount of platforms. This driver has already been
the standard on platforms such as ia64, powerpc and sparc64.

I've decided not to change anything on pc98. I'd rather let people from
the pc98 team look at this.

Approved by: philip (mentor), marcel


# 03efdfd1 07-Jul-2008 Remko Lodder <remko@FreeBSD.org>

Fix some spelling errors (improper review from my
side).

Submitted by: ed, danger


# b5db8ef0 07-Jul-2008 Remko Lodder <remko@FreeBSD.org>

Add missing information for geom_mirror metadata.

PR: 124434
Submitted by: Philip M. Golluci <pgolluci at p6m7g8 dot com>
MFC after: 3 days

Prodded through: bugbusters@


# bdc03b37 09-Jun-2008 Marcel Moolenaar <marcel@FreeBSD.org>

Note removal of gpt(8).


# 27f7c387 03-Jun-2008 Roman Divacky <rdivacky@FreeBSD.org>

Fix the date in the last commit.

Approved by: kib (mentor)


# a47444d5 03-Jun-2008 Roman Divacky <rdivacky@FreeBSD.org>

Switch to emulating Linux 2.6 on default.

Approved by: kib (mentor)


# 2e598474 26-May-2008 Bjoern A. Zeeb <bz@FreeBSD.org>

Remove ISDN4BSD (I4B) from HEAD as it is not MPSAFE and
parts relied on the now removed NET_NEEDS_GIANT.
Most of I4B has been disconnected from the build
since July 2007 in HEAD/RELENG_7.

This is what was removed:
- configuration in /etc/isdn
- examples
- man pages
- kernel configuration
- sys/i4b (drivers, layers, include files)
- user space tools
- i4b support from ppp
- further documentation

Discussed with: rwatson, re


# 4dcedde3 09-May-2008 Julian Elischer <julian@FreeBSD.org>

Add a note about multiple routing tables support


# 0f95e625 29-Apr-2008 Warner Losh <imp@FreeBSD.org>

More recommendations


# 5318f840 26-Apr-2008 Warner Losh <imp@FreeBSD.org>

Add a breif example for the wlan change. Include an explicit pointer
to rc.conf(5) to remind people where to look for all the details.
People without network connectivity forget basics like this... This
is in keeping with historic UPDATING entries which try to provide
basic information in the entry, and a pointer to more extensive
information documenting the new thing.


# de570baa 20-Apr-2008 Sam Leffler <sam@FreeBSD.org>

802.11 support moves to vaps


# ff0af72c 08-Apr-2008 Jung-uk Kim <jkim@FreeBSD.org>

- Add write(2) support for psm(4) in native operation level. Now arbitrary
commands can be written to /dev/psm%d and status can be read back from it.
- Reflect the change in psm(4) and bump version for ports.

MFC after: 1 week


# e4c67b94 12-Mar-2008 Jeff Roberson <jeff@FreeBSD.org>

- Add an UPDATING entry about the removal of KSE.


# 8775db6f 01-Mar-2008 Marcel Moolenaar <marcel@FreeBSD.org>

Make the vm_pmap field of struct vmspace the last field in the
structure. This allows per-CPU variations of struct pmap on a
single architecture without affecting the machine-independent
fields. As such, the PMAP variations don't affect the ABI. They
become part of it.


# df09ebc0 29-Feb-2008 Jack F Vogel <jfv@FreeBSD.org>

Detail the em/igb split so no one gets confused.


# 1669d8af 20-Feb-2008 Andrew Thompson <thompsa@FreeBSD.org>

Rename geom_lvm(4) to geom_linux_lvm(4).

Requested by: des, phk


# 2427fa19 11-Feb-2008 Kris Kennaway <kris@FreeBSD.org>

Switch the default NFS mount mode from UDP to TCP. UDP mounts are a
historical relic, and are no longer appropriate for either LAN or WAN
mounting. At modern (gigabit and 10 gigabit) LAN speeds packet loss
from socket buffer fill events is common, and sequence numbers wrap
quickly enough that data corruption is possible. TCP solves both of
these problems without imposing significant overhead.

MFC after: 1 month


# 5e9f6b73 08-Feb-2008 Sam Leffler <sam@FreeBSD.org>

Note m_collapse addition.


# 48aaad5f 26-Jan-2008 Yaroslav Tykhiy <ytykhiy@gmail.com>

Our fts(3) API, as inherited from 4.4BSD, suffers from integer
fields in FTS and FTSENT structs being too narrow. In addition,
the narrow types creep from there into fts.c. As a result, fts(3)
consumers, e.g., find(1) or rm(1), can't handle file trees an ordinary
user can create, which can have security implications.

To fix the historic implementation of fts(3), OpenBSD and NetBSD
have already changed <fts.h> in somewhat incompatible ways, so we
are free to do so, too. This change is a superset of changes from
the other BSDs with a few more improvements. It doesn't touch
fts(3) functionality; it just extends integer types used by it to
match modern reality and the C standard.

Here are its points:

o For C object sizes, use size_t unless it's 100% certain that
the object will be really small. (Note that fts(3) can construct
pathnames _much_ longer than PATH_MAX for its consumers.)

o Avoid the short types because on modern platforms using them
results in larger and slower code. Change shorts to ints as
follows:

- For variables than count simple, limited things like states,
use plain vanilla `int' as it's the type of choice in C.

- For a limited number of bit flags use `unsigned' because signed
bit-wise operations are implementation-defined, i.e., unportable,
in C.

o For things that should be at least 64 bits wide, use long long
and not int64_t, as the latter is an optional type. See
FTSENT.fts_number aka FTS.fts_bignum. Extending fts_number `to
satisfy future needs' is pointless because there is fts_pointer,
which can be used to link to arbitrary data from an FTSENT.
However, there already are fts(3) consumers that require fts_number,
or fts_bignum, have at least 64 bits in it, so we must allow for them.

o For the tree depth, use `long'. This is a trade-off between making
this field too wide and allowing for 64-bit inode numbers and/or
chain-mounted filesystems. On the one hand, `long' is almost
enough for 32-bit filesystems on a 32-bit platform (our ino_t is
uint32_t now). On the other hand, platforms with a 64-bit (or
wider) `long' will be ready for 64-bit inode numbers, as well as
for several 32-bit filesystems mounted one under another. Note
that fts_level has to be signed because -1 is a magic value for it,
FTS_ROOTPARENTLEVEL.

o For the `nlinks' local var in fts_build(), use `long'. The logic
in fts_build() requires that `nlinks' be signed, but our nlink_t
currently is uint16_t. Therefore let's make the signed var wide
enough to be able to represent 2^16-1 in pure C99, and even 2^32-1
on a 64-bit platform. Perhaps the logic should be changed just
to use nlink_t, but it can be done later w/o breaking fts(3) ABI
any more because `nlinks' is just a local var.

This commit also inludes supporting stuff for the fts change:

o Preserve the old versions of fts(3) functions through libc symbol
versioning because the old versions appeared in all our former releases.

o Bump __FreeBSD_version just in case. There is a small chance that
some ill-written 3-rd party apps may fail to build or work correctly
if compiled after this change.

o Update the fts(3) manpage accordingly. In particular, remove
references to fts_bignum, which was a FreeBSD-specific hack to work
around the too narrow types of FTSENT members. Now fts_number is
at least 64 bits wide (long long) and fts_bignum is an undocumented
alias for fts_number kept around for compatibility reasons. According
to Google Code Search, the only big consumers of fts_bignum are in
our own source tree, so they can be fixed easily to use fts_number.

o Mention the change in src/UPDATING.

PR: bin/104458
Approved by: re (quite a while ago)
Discussed with: deischen (the symbol versioning part)
Reviewed by: -arch (mostly silence); das (generally OK, but we didn't
agree on some types used; assuming that no objections on
-arch let me to stick to my opinion)


# 51dc1e12 23-Jan-2008 Ruslan Ermilov <ru@FreeBSD.org>

Support source upgrades from at least 6.0-RELEASE.

Reviewed by: imp, obrien


# 6bea5c3c 22-Jan-2008 Tom Rhodes <trhodes@FreeBSD.org>

Quick note on how to disable malloc debugging in the top entry in this file.

PR: 83621
Submitted by: Scott Robbins <scottro@nyc.rr.com> (original version)
Reviewed by: imp


# 8015f45c 21-Jan-2008 Warner Losh <imp@FreeBSD.org>

Note change in the supported upgrade path. Prior to this 5.3-release
and newer were supported upgrade paths to -current. After today's
commits, 6.0-RELEASE and newer is supported for jumping to current.
Make that clear in the UPDATING entry. For the pedants out there,
upgrading from FreeBSD_version 600029 and newer should still work.
This represents a point from May 29, 2005 forward. The prior date was
October 16th 2004.


# ab4a2c41 28-Nov-2007 Matteo Riondato <matteo@FreeBSD.org>

Mention ADAPTIVE_GIANT removal.

Reviewed by: attilio@


# e393af84 18-Nov-2007 Marius Strobl <marius@FreeBSD.org>

Let sunkbd(4) emulate an AT keyboard by default.
This has the following benefits:
- allows to use the AT keyboard maps in share/syscons/keymaps with
sunkbd(4),
- allows to use kbdmux(4) with sunkbd(4),
- allows Sun RS232 keyboards to be configured and used the same
way as Sun USB keyboards driven by ukbd(4) (which also does AT
keyboard emulation) with X.Org, putting an end to the problem
of native support for the former in X.Org being broken over and
over again.

MFC after: 3 days


# 33d3fffa 24-Oct-2007 Marius Strobl <marius@FreeBSD.org>

Add ABI backwards compatibility to the FreeBSD 4/5/6 versions of
the PCIOCGETCONF, PCIOCREAD and PCIOCWRITE IOCTLs, which was broken
with the introduction of PCI domain support.
As the size of struct pci_conf_io wasn't changed with that commit,
this unfortunately requires the ABI of PCIOCGETCONF to be broken
again in order to be able to provide backwards compatibility to
the old version of that IOCTL.

Requested by: imp
Discussed with: re (kensmith)
Reviewed by: PCI maintainers (imp, jhb)
MFC after: 5 days


# 3d461feb 20-Oct-2007 Julian Elischer <julian@FreeBSD.org>

This time to the right branch
note the renaming of the kthread_xxx calls


# 99f4ae2f 11-Oct-2007 Kevin Lo <kevlo@FreeBSD.org>

Note getfacl(1) changes

Submitted by: Henrik Brix Andersen <henrik at brixandersen.dk>


# c15e0967 10-Oct-2007 Ken Smith <kensmith@FreeBSD.org>

To honor the birth of RELENG_7 bump HEAD to 8.0-CURRENT.

Approved by: re (implicit)


# dbc6a2cf 09-Oct-2007 David E. O'Brien <obrien@FreeBSD.org>

Pulled the trigger 2hr 50min late (Pago Pago time).
Submitted by: ru
Approved by: re (implicit)


# 65c045e9 09-Oct-2007 David E. O'Brien <obrien@FreeBSD.org>

Repo copy libpthreads to libkse.
This introduces the WITHOUT_LIBKSE nob,
and changes WITHOUT_LIBPTHREADS to mean with neither threading libs.
Approved by: re(kensmith)


# 55aaf894 30-Sep-2007 Marius Strobl <marius@FreeBSD.org>

Make the PCI code aware of PCI domains (aka PCI segments) so we can
support machines having multiple independently numbered PCI domains
and don't support reenumeration without ambiguity amongst the
devices as seen by the OS and represented by PCI location strings.
This includes introducing a function pci_find_dbsf(9) which works
like pci_find_bsf(9) but additionally takes a domain number argument
and limiting pci_find_bsf(9) to only search devices in domain 0 (the
only domain in single-domain systems). Bge(4) and ofw_pcibus(4) are
changed to use pci_find_dbsf(9) instead of pci_find_bsf(9) in order
to no longer report false positives when searching for siblings and
dupe devices in the same domain respectively.
Along with this change the sole host-PCI bridge driver converted to
actually make use of PCI domain support is uninorth(4), the others
continue to use domain 0 only for now and need to be converted as
appropriate later on.
Note that this means that the format of the location strings as used
by pciconf(8) has been changed and that consumers of <sys/pciio.h>
potentially need to be recompiled.

Suggested by: jhb
Reviewed by: grehan, jhb, marcel
Approved by: re (kensmith), jhb (PCI maintainer hat)


# c97fe77d 28-Sep-2007 Michael Bushkov <bushman@FreeBSD.org>

Finishing renaming of cached into nscd. etc/rc.d and usr.sbin/Makefile
updated. Note added to UPDATING.

Approved by: re (kensmith, bmah), brooks (mentor)


# 628e65ec 08-Jul-2007 Pyun YongHyeon <yongari@FreeBSD.org>

Fix typo.

Reported by: Danny Braniss <danny at cs dot huji dot ac dot il>
Approved by: re (bmah)


# 53ffeb8e 06-Jul-2007 Pyun YongHyeon <yongari@FreeBSD.org>

Belately note default driver change for NVIDIA network adapters.

Requested by: Michael Plass < mfp49_freebsd at plass-family dot net>
Approved by: re (hrs)


# fd954571 04-Jul-2007 George V. Neville-Neil <gnn@FreeBSD.org>

Document the move from FAST_IPSEC to IPSEC. Point out the need for
device crypto in the kernel configuration file when using IPSEC.

Approved by: re


# be65697f 03-Jul-2007 Max Laier <mlaier@FreeBSD.org>

Add a note about the pf update, mark libexec/ftp-proxy as obsolete and bump
__FreeBSD_version for ports.

Approved by: re (implicit)


# 2cb64cb2 01-Jul-2007 George V. Neville-Neil <gnn@FreeBSD.org>

Commit IPv6 support for FAST_IPSEC to the tree.
This commit includes only the kernel files, the rest of the files
will follow in a second commit.

Reviewed by: bz
Approved by: re
Supported by: Secure Computing


# 069441f7 01-Jul-2007 Andrew Thompson <thompsa@FreeBSD.org>

Remove wicontrol(8) from the base system. Using wicontrol to configure an
interface has been deprecated since 5.1, wi(4) wireless interfaces are managed
via the net80211 stack and ifconfig.

Approved by: re (rwatson)


# cad468ce 12-Jun-2007 Gregory Neil Shapiro <gshapiro@FreeBSD.org>

Spaces to tab


# 2bc2025c 12-Jun-2007 Gregory Neil Shapiro <gshapiro@FreeBSD.org>

Add a new rc.conf variable, sendmail_rebuild_aliases, which tells
/etc/rc.d/sendmail whether or not to run newaliases if the database
is missing or the aliases text file is newer than aliases.db.

In my opinion, the aliases file should never be automatically rebuilt.
The current text form could represent a work in progress. Therefore,
in FreeBSD 7.0, this new option will default to "NO". When this rc.d
change is MFC'ed, it will need to remain "YES" to maintain backward
compatibility.

PR: conf/86252
Approved by: re (kensmith)
MFC after: 3 days


# 71498f30 12-Jun-2007 Bruce M Simpson <bms@FreeBSD.org>

Import rewrite of IPv4 socket multicast layer to support source-specific
and protocol-independent host mode multicast. The code is written to
accomodate IPv6, IGMPv3 and MLDv2 with only a little additional work.

This change only pertains to FreeBSD's use as a multicast end-station and
does not concern multicast routing; for an IGMPv3/MLDv2 router
implementation, consider the XORP project.

The work is based on Wilbert de Graaf's IGMPv3 code drop for FreeBSD 4.6,
which is available at: http://www.kloosterhof.com/wilbert/igmpv3.html

Summary
* IPv4 multicast socket processing is now moved out of ip_output.c
into a new module, in_mcast.c.
* The in_mcast.c module implements the IPv4 legacy any-source API in
terms of the protocol-independent source-specific API.
* Source filters are lazy allocated as the common case does not use them.
They are part of per inpcb state and are covered by the inpcb lock.
* struct ip_mreqn is now supported to allow applications to specify
multicast joins by interface index in the legacy IPv4 any-source API.
* In UDP, an incoming multicast datagram only requires that the source
port matches the 4-tuple if the socket was already bound by source port.
An unbound socket SHOULD be able to receive multicasts sent from an
ephemeral source port.
* The UDP socket multicast filter mode defaults to exclusive, that is,
sources present in the per-socket list will be blocked from delivery.
* The RFC 3678 userland functions have been added to libc: setsourcefilter,
getsourcefilter, setipv4sourcefilter, getipv4sourcefilter.
* Definitions for IGMPv3 are merged but not yet used.
* struct sockaddr_storage is now referenced from <netinet/in.h>. It
is therefore defined there if not already declared in the same way
as for the C99 types.
* The RFC 1724 hack (specify 0.0.0.0/8 addresses to IP_MULTICAST_IF
which are then interpreted as interface indexes) is now deprecated.
* A patch for the Rhyolite.com routed in the FreeBSD base system
is available in the -net archives. This only affects individuals
running RIPv1 or RIPv2 via point-to-point and/or unnumbered interfaces.
* Make IPv6 detach path similar to IPv4's in code flow; functionally same.
* Bump __FreeBSD_version to 700048; see UPDATING.

This work was financially supported by another FreeBSD committer.

Obtained from: p4://bms_netdev
Submitted by: Wilbert de Graaf (original work)
Reviewed by: rwatson (locking), silence from fenner,
net@ (but with encouragement)


# e8aff090 10-Jun-2007 Sam Leffler <sam@FreeBSD.org>

note 802.11 changes


# 9cd40e64 10-Jun-2007 Yaroslav Tykhiy <ytykhiy@gmail.com>

Now pam_nologin(8) will provide an account management function
instead of an authentication function. There are a design reason
and a practical reason for that. First, the module belongs in
account management because it checks availability of the account
and does no authentication. Second, there are existing and potential
PAM consumers that skip PAM authentication for good or for bad.
E.g., sshd(8) just prefers internal routines for public key auth;
OTOH, cron(8) and atrun(8) do implicit authentication when running
a job on behalf of its owner, so their inability to use PAM auth
is fundamental, but they can benefit from PAM account management.

Document this change in the manpage.

Modify /etc/pam.d files accordingly, so that pam_nologin.so is listed
under the "account" function class.

Bump __FreeBSD_version (mostly for ports, as this change should be
invisible to C code outside pam_nologin.)

PR: bin/112574
Approved by: des, re


# 995c7fd1 28-May-2007 Yaroslav Tykhiy <ytykhiy@gmail.com>

Sync ether_ioctl() with ioctl(2) and ifnet.if_ioctl
as to the type of the command argument: int -> u_long.
These types have different widths in the 64-bit world.

Add a note to UPDATING because the change breaks KBI
on 64-bit platforms.

Discussed on: -net, -current
Reviewed by: bms, ru


# 332fd25c 16-May-2007 Wojciech A. Koszek <wkoszek@FreeBSD.org>

Revert config(8) version bump. It brings major pain for people working on
different versions of FreeBSD source tree.

Old config(8) can now be used unless you want to use INCLUDE_CONFIG_FILE
option.

Approved by: imp
Reviewed by: imp


# c4bc02ea 13-May-2007 Daniel Eischen <deischen@FreeBSD.org>

Add some notes about symbol versioning and the switch to libthr.


# a69c10f5 23-Apr-2007 Gregory Neil Shapiro <gshapiro@FreeBSD.org>

Add a new note to revoke the 20070408 note. Is is no longer necessary
to recompile milters.

MFC after: 4 days


# f3064b39 19-Apr-2007 Diomidis Spinellis <dds@FreeBSD.org>

Back-out manual procedure for maintaining compatibility with old accounting
files. This functionality will be built-into the corresponding tools.


# 67f759b3 18-Apr-2007 Diomidis Spinellis <dds@FreeBSD.org>

Notes on the acct(5) format switch.


# 1a19fe2a 16-Apr-2007 Andrew Thompson <thompsa@FreeBSD.org>

Note the renaming of trunk(4) to lagg(4).


# ac01a4c6 14-Apr-2007 Gregory Neil Shapiro <gshapiro@FreeBSD.org>

Include a note about recompiling ports which use the base libmilter.

Submitted by: Matthew Seaman


# 329d3aa3 03-Apr-2007 Christian Brueffer <brueffer@FreeBSD.org>

Make the tunable names for Intel license agreement more obvious.


# bc42e3d0 01-Apr-2007 Max Laier <mlaier@FreeBSD.org>

Note that the old firmware modules need to be removed.

Reported by: Jeremie Le Hen
Suggested by: Stefan Ehmann


# d08ec007 02-Mar-2007 Florent Thoumie <flz@FreeBSD.org>

- Add missing subdirectories in BSD.usr.dist mtree file.
- Update hier(7) to reflect latest changes in mtree file.
- Add UPDATING entry following Intel firmwares inclusion.

Submitted by: mlaier
MFC after: 1 month


# 857be7a4 01-Mar-2007 Ruslan Ermilov <ru@FreeBSD.org>

Bump the bootstrapping requirements for gensnmptree(1) and remove
a note in UPDATING that tried to work around the build breakage.

Tested by: jhb
OK'ed by: njl


# 80a65301 28-Feb-2007 Bruce M Simpson <bms@FreeBSD.org>

Document removal of addr2ascii/ascii2addr and addition of AF_LINK
support for getnameinfo.


# eb29c8f4 24-Feb-2007 Simon L. B. Nielsen <simon@FreeBSD.org>

- Use a permanent URL to reference piso's mail.
- Put URL on seperate line to not get very long lines.


# 33672cd9 24-Feb-2007 Bruce M Simpson <bms@FreeBSD.org>

Reword addition about MROUTING.

Submitted by: ru


# 82e5a028 24-Feb-2007 Paolo Pisati <piso@FreeBSD.org>

Update my previous note about newbus API breakage mentioning the
__FreeBSD_version bump.


# 663829fe 24-Feb-2007 Paolo Pisati <piso@FreeBSD.org>

Note newbus API & ABI breakage.


# 08bc2d8a 24-Feb-2007 Bruce M Simpson <bms@FreeBSD.org>

Note that IPv6 multicast forwarding is now dynamically loadable.


# 699e491f 19-Feb-2007 Nate Lawson <njl@FreeBSD.org>

Note problems I had with bsnmpd while updating from an older -current.
There may be better ways to fix/work around these issues but this worked
for me.


# d092c06c 14-Feb-2007 Bruce M Simpson <bms@FreeBSD.org>

Retire most of the classful network behaviour of netstat -r output, for IPv4.

Without -n, we now only print a "network name" without the prefix length
under the following conditions:
1) the network address and mask matches a classful network prefix;
2) getnetbyaddr(3) returns a network name for this network address.

With -n, we unconditionally print the full unabbreviated CIDR network
prefix in the form "a.b.c.d/p". 0.0.0.0/0 is still printed as "default".

This change is in preparation for changes such as equal-cost multipath, and
to more generally assist operational deployment of FreeBSD as a modern IPv4
router. There are currently no plans to backport this change.

Discussed on: freebsd-net


# 0948f0a2 10-Feb-2007 Bruce M Simpson <bms@FreeBSD.org>

Build PIM by default as part of the IPv4 multicast forwarding path.
Make PIM dynamically loadable by using encap_attach_func().
PIM may now be loaded into a GENERIC kernel.

Tested with: ports/net/pimdd && tcpreplay && wireshark
Reviewed by: Pavlin Radoslavov


# 78cb087e 07-Feb-2007 Bruce M Simpson <bms@FreeBSD.org>

Remove support for IPIP tunnels in IPv4 multicast forwarding. XORP has
never used them; with mrouted, their functionality may be replaced by
explicitly configuring gif(4) instances and specifying them with the
'phyint' keyword.

Bump __FreeBSD_version to 700030, and update UPDATING.
A doc update is forthcoming.

Discussed on: net
Reviewed by: fenner
MFC after: 3 months


# 067c6db2 21-Dec-2006 John Polstra <jdp@FreeBSD.org>

Note the second coming of MSI support in the bge driver.


# cca510b1 14-Dec-2006 John Polstra <jdp@FreeBSD.org>

Note that MSI support has been disabled already in the bge driver.


# 3ebdb4ee 14-Dec-2006 John Polstra <jdp@FreeBSD.org>

Add an entry noting that MSI support has been put into the bge
driver.


# fc19e4c4 05-Dec-2006 Julian Elischer <julian@FreeBSD.org>

Note the mashing of the proc structure.. recommend recompiling
kernel modules.


# a580b31a 25-Nov-2006 Ariff Abdullah <ariff@FreeBSD.org>

Welcome to Once-a-year Sound Mega-Commit. Enjoy numerous updates and fixes
in every sense.

General
-------

- Multichannel safe, endian safe, format safe
* Large part of critical pcm filters such as vchan.c, feeder_rate.c,
feeder_volume.c, feeder_fmt.c and feeder.c has been rewritten so that
using them does not cause the pcm data to be converted to 16bit little
endian.
* Macrosses for accessing pcm data safely are defined within sound.h in
the form of PCM_READ_* / PCM_WRITE_*
* Currently, most of them are probably limited for mono/stereo handling,
but the future addition of true multichannel will be much easier.

- Low latency operation
* Well, this require lot more works to do not just within sound driver,
but we're heading towards right direction. Buffer/block sizing within
channel.c is rewritten to calculate precise allocation for various
combination of sample/data/rate size. As a result, applying correct
SNDCTL_DSP_POLICY value will achive expected latency behaviour simmilar
to what commercial 4front driver do.
* Signal handling fix. ctrl+c of "cat /dev/zero > /dev/dsp" does not
result long delay.
* Eliminate sound truncation if the sound data is too small.
DIY:
1) Download / extract
http://people.freebsd.org/~ariff/lowlatency/shortfiles.tar.gz
2) Do a comparison between "cat state*.au > /dev/dsp" and
"for x in state*.au ; do cat $x > /dev/dsp ; done"
- there should be no "perceivable" differences.
Double close for PR kern/31445.

CAVEAT: Low latency come with (unbearable) price especially for poorly
written applications. Applications that trying to act smarter
by requesting (wrong) blocksize/blockcount will suffer the most.
Fixup samples/patches can be found at:
http://people.freebsd.org/~ariff/ports/

- Switch minimum/maximum sampling rate limit to "1" and "2016000" (48k * 42)
due to closer compatibility with 4front driver.
Discussed with: marcus@ (long time ago?)

- All driver specific sysctls in the form of "hw.snd.pcm%d.*" have been
moved to their own dev sysctl nodes, notably:
hw.snd.pcm%d.vchans -> dev.pcm.%d.vchans
Bump __FreeBSD_version.

Driver specific
---------------

- Ditto for sysctls.

- snd_atiixp, snd_es137x, snd_via8233, snd_hda
* Numerous cleanups and fixes.
* _EXPERIMENTAL_ polling mode support using simple callout_* mechanisme.
This was intended for pure debugging and latency measurement, but proven
good enough in few unexpected and rare cases (such as problematic shared
IRQ with GIANT devices - USB). Polling can be enabled/disabled through
dev.pcm.0.polling. Disabled by default.

- snd_ich
* Fix possible overflow during speed calibration. Delay final
initialization (pcm_setstatus) after calibration finished.
PR: kern/100169
Tested by: Kevin Overman <oberman@es.net>
* Inverted EAPD for few Nec VersaPro.
PR: kern/104715
Submitted by: KAWATA Masahiko <kawata@mta.biglobe.ne.jp>

Thanks to various people, notably Joel Dahl, Yuriy Tsibizov, Kevin Oberman,
those at #freebsd-azalia @ freenode and others for testing.

Joel Dahl will do the manpage update.


# a484c95a 22-Nov-2006 Craig Rodrigues <rodrigc@FreeBSD.org>

Mention that the following binaries have been detached
from the build: mount_devfs, mount_ext2fs,
mount_fdescfs, mount_procfs, mount_linprocfs, and mount_std.


# 1d7e99ca 15-Nov-2006 John Baldwin <jhb@FreeBSD.org>

Add a note about the MSI support with details on how to turn MSI off if
things break.


# 7c0435b9 10-Nov-2006 Kip Macy <kmacy@FreeBSD.org>

MUTEX_PROFILING has been generalized to LOCK_PROFILING. We now profile
wait (time waited to acquire) and hold times for *all* kernel locks. If
the architecture has a system synchronized TSC, the profiling code will
use that - thereby minimizing profiling overhead. Large chunks of profiling
code have been moved out of line, the overhead measured on the T1 for when
it is compiled in but not enabled is < 1%.

Approved by: scottl (standing in for mentor rwatson)
Reviewed by: des and jhb


# 013d6d8c 26-Oct-2006 John Birrell <jb@FreeBSD.org>

Add 'options KSE' to the kernel config DEFAULTS on all arches/machines
except sun4v.

This change makes the transition from a default to an option more
transparent and is an attempt to head off all the compliants that are
likely from people who don't read UPDATING, based on experience with
the io/mem change.

Submitted by: scottl@


# 8460a577 26-Oct-2006 John Birrell <jb@FreeBSD.org>

Make KSE a kernel option, turned on by default in all GENERIC
kernel configs except sun4v (which doesn't process signals properly
with KSE).

Reviewed by: davidxu@


# 014a1a84 30-Sep-2006 Ruslan Ermilov <ru@FreeBSD.org>

The ioctl(2) API has changed, and some ioctl command codes too.
Hint users to add "options COMPAT_FREEBSD6" to their kernel config
files, so that X.Org and friends still work without recompiling.


# 13b3ebf1 29-Sep-2006 Bruce M Simpson <bms@FreeBSD.org>

Remove mrouted and its utilities from the base system.
They may now be obtained from ports.

Discussed with: fenner, net@


# 60206ede 29-Sep-2006 Ruslan Ermilov <ru@FreeBSD.org>

Belatedly document the size change of "struct x?tcpcb".


# 481544f3 28-Sep-2006 Bruce M Simpson <bms@FreeBSD.org>

Note the removal of tcpslice


# 5f738ae6 18-Sep-2006 Maxim Konovalov <maxim@FreeBSD.org>

o s/IP_FIREWALL_FORWARD/IPFIREWALL_FORWARD/.

PR: docs/103251
Submitted by: vd
MFC after: 3 days


# 50bdd720 04-Sep-2006 Sam Leffler <sam@FreeBSD.org>

bump version for libpcap+tcpdump imports


# 647ef1a9 02-Sep-2006 Marius Strobl <marius@FreeBSD.org>

Add a belated entry regarding the removal of lnc(4).


# 3b4109aa 16-Aug-2006 Julian Elischer <julian@FreeBSD.org>

Note IPFIREWALL_FOWARD_EXTENDED is now gone.

MFC after: 1 week


# c8450a54 26-Jul-2006 Jung-uk Kim <jkim@FreeBSD.org>

Add an entry for enigma(1)/crypt(1) change on 64-bit architectures.


# 5d0c7501 09-Jul-2006 Thomas Wintergerst <twinterg@FreeBSD.org>

Extend i4b to support CAPI manager based ISDN controllers (CAPI manager is part of
c4b, CAPI for BSD). This is a preparation to add CAPI for BSD to the source tree.

Approved by: hm (mentor)
MFC after: 2 weeks


# 44a8277b 27-Jun-2006 Rink Springer <rink@FreeBSD.org>

Updated the XBOX kernel to use the new nfe(4) driver obtained from
OpenBSD. This driver seems to give a small performance increase, and
should lead to better maintainability in the future.

The nForce Ethernet-specific hack in sys/i386/xbox/xbox.c is still
required, judging from dev/nfe/if_nfe.c. The condition it hacks will
almost certainly only occur on XBOX-es anyway, so it is best left there.

Approved by: imp (mentor)


# 9f8d2f6c 15-May-2006 Giorgos Keramidas <keramida@FreeBSD.org>

Note that an old adjkerntz is not really usable after the recent
sysctlbyname() changes, so the new adjkerntz binary should be
used while in single-user mode.

Reviewed by: ceri, maxim


# 4919094e 14-May-2006 Christian Brueffer <brueffer@FreeBSD.org>

Fix typo.


# a0a9755e 13-May-2006 Max Laier <mlaier@FreeBSD.org>

Update UPDATING and bump __FreeBSD_version for the ip6fw removal.


# ff6a2d00 03-May-2006 Marcel Moolenaar <marcel@FreeBSD.org>

Belatedly add 2 entries relating to the introduction of scc(4) and
the overhaul of puc(4). On sparc64 people may end up without serial
console if they upgrade without adding scc(4) to their kernel
configuration file.


# 2d5cde04 07-Apr-2006 Ruslan Ermilov <ru@FreeBSD.org>

Fix the "make distribution" example; it should be run from src/.


# c60fab8c 21-Mar-2006 Ruslan Ermilov <ru@FreeBSD.org>

Document new world older for world/kernel build options.


# 19dc3462 10-Mar-2006 Warner Losh <imp@FreeBSD.org>

Add note about 'audit' group.
Add note about the '_dhcp' user.

While one is expected to run mergemaster -p before installworld, make
a note of the points where this will actively fail due to the addition of
users/groups.


# 05ab391f 09-Mar-2006 Yaroslav Tykhiy <ytykhiy@gmail.com>

Revise the names of modules in the recent note on tdfx_linux.


# 8d96e455 05-Mar-2006 Yaroslav Tykhiy <ytykhiy@gmail.com>

Retire NETSMBCRYPTO as a kernel option and make its functionality
enabled by default in NETSMB and smbfs.ko.

With the most of modern SMB providers requiring encryption by
default, there is little sense left in keeping the crypto part
of NETSMB optional at the build time.

This will also return smbfs.ko to its former properties users
are rather accustomed to.

Discussed with: freebsd-stable, re (scottl)
Not objected by: bp, tjr (silence)
MFC after: 5 days


# 375ce679 03-Mar-2006 Yaroslav Tykhiy <ytykhiy@gmail.com>

Take the functionality contained in the former "options TDFX_LINUX"
into a separate module. Accordingly, convert the option into a device
named similarly.

Note for MFC: Perhaps the option should stay in RELENG_6 for POLA reasons.

Suggested by: scottl
Reviewed by: cokane
MFC after: 5 days


# fc18f73d 18-Feb-2006 Yaroslav Tykhiy <ytykhiy@gmail.com>

Add a quite late 20051014 entry for the changes in module Makefiles,
mainly to stick to the conventional MFC procedure.

Requested by: Thomas E. Zander <riggs at rrr dot de>
MFC after: 3 days


# dc422d87 01-Feb-2006 Yaroslav Tykhiy <ytykhiy@gmail.com>

Record the change in vnone_create_vobject() argument size,
which broke kernel ABI to filesystem modules on i386, where
sizeof(size_t) != sizeof(off_t).


# 90482daf 31-Jan-2006 John Baldwin <jhb@FreeBSD.org>

Retroactively add a note about the device names in /dev for si(4) changing.


# 6aa6311f 18-Jan-2006 Pav Lucistnik <pav@FreeBSD.org>

- Fix typo

Reported by: neologism/#freenode


# 347daa0f 18-Jan-2006 Julian Elischer <julian@FreeBSD.org>

Note that the size of /boot has blown oout to 140 MBytes unless the
right options are used. Tell how to avoid this.


# cc61a0b1 13-Jan-2006 Jason Evans <jasone@FreeBSD.org>

Note that libc's malloc implementation has been replaced.

Approved by: markm (mentor)


# 7f4faad8 13-Jan-2006 Gleb Smirnoff <glebius@FreeBSD.org>

Yesterday netgraph ABI has been changed.


# 6bed9d9e 06-Jan-2006 John Baldwin <jhb@FreeBSD.org>

Note shrinkage of lock_object and the subsequent widespread kernel ABI
breakage.


# 52a16db3 31-Dec-2005 Alexander Leidinger <netchild@FreeBSD.org>

Say some words about the removed PQ_* kernel options.


# d6b4b3b3 18-Dec-2005 David E. O'Brien <obrien@FreeBSD.org>

Note the device filename changes due to sys/dev/rp/rp.c rev 1.70.


# 6dba929a 11-Dec-2005 Sam Leffler <sam@FreeBSD.org>

note shuffle of commonly used programs in tools/tools/ath


# 081ff8ac 07-Dec-2005 Doug Barton <dougb@FreeBSD.org>

Add a paragraph to the COMMON ITEMS section that describes why
upgrading to the latest code in one branch before trying a major
version upgrade is a good idea.

Fleshing out of my thoughts provided by: kris


# 65f1be68 06-Dec-2005 Gleb Smirnoff <glebius@FreeBSD.org>

- Mention also the COMPAT_FREEBSD5 option along with COMPAT_FREEBSD4.
- Notice that 20050227 entry is also applicable to packages, not only
to world.

In collaboration with: osa, phk


# a0cdeaec 03-Dec-2005 Doug Barton <dougb@FreeBSD.org>

Add an entry explaining the changes which add local scripts
to the base rcorder.


# a358ddbb 29-Nov-2005 Craig Rodrigues <rodrigc@FreeBSD.org>

Document removal of nodev mount option.

Requested by: gleb


# b090e4ce 29-Nov-2005 Gleb Smirnoff <glebius@FreeBSD.org>

Garbage-collect now unused struct _ipfw_insn_pipe and flush_pipe_ptrs(),
thus removing a few XXXes.
Document the ABI breakage in UPDATING.


# a52364d5 28-Oct-2005 Yaroslav Tykhiy <ytykhiy@gmail.com>

Record renaming rc.d/ppp-user to rc.d/ppp.


# 114d09d8 01-Oct-2005 Gleb Smirnoff <glebius@FreeBSD.org>

Note that kern.polling.enable is deprecated.


# b6de9e91 27-Sep-2005 Max Laier <mlaier@FreeBSD.org>

Remove bridge(4) from the tree. if_bridge(4) is a full functional
replacement and has additional features which make it superior.

Discussed on: -arch
Reviewed by: thompsa
X-MFC-after: never (RELENG_6 as transition period)


# 1cf0ef11 09-Sep-2005 David E. O'Brien <obrien@FreeBSD.org>

Be a little more obvious about the steps to build a kernel.


# e2a36081 23-Jul-2005 Alexander Leidinger <netchild@FreeBSD.org>

Add delete-old and delete-old-libs targets:
- removes obsolete files/dirs or libraries.
- works in interactive (default) and batch mode
- respects DISTDIR
- documented in UPDATING and build(7)

The head of the file ObsoleteFiles.inc contains instructions how to add
obsolete files/dirs/libs to the list. Obviously one should add obsolete
files to this list, when he removes a file/dir/lib from the basesystem.

Additionally add check-old target:
- allows re@ to check if a file on the obsolete list resurfaces

Design goals:
- allows full control by the user (default interactive mode)
- possibility of scripted removal of obsolete files (batch mode)
- opt-in removal of files (explicit list of files)
- seperate removal of libs (2 delete targets)

Important design decissions:
- structured list of files to remove instead of a plain text file:
* allows to remove additional files if a NO_foo knob is specified
without the need to change the targets (no NO_foo knob is respected
yet)
- not using mtree like NetBSD does:
* mtree doesn't has an interactive mode

Discussed on: arch (long ago), current (this year)
Additional input from: re (hrs)
Approved by: mentor (joerg)


# bb518265 22-Jul-2005 Hajimu UMEMOTO <ume@FreeBSD.org>

mention getaddrinfo(3) ABI breakage on 64 bit arch.


# 99b22782 11-Jul-2005 Ken Smith <kensmith@FreeBSD.org>

Note RELENG_6 branch and minor related tweaks.

Approved by: re (implicit)


# d33db00c 01-Jul-2005 Dag-Erling Smørgrav <des@FreeBSD.org>

Add an entry about absolute PAM module paths, backdated to when the
change happened.

Submitted by: rwatson
Approved by: re (scottl)


# 7657f595 29-Jun-2005 Brooks Davis <brooks@FreeBSD.org>

- Remove the pccard_ifconfig variable in favor of a new
ifconfig_DEFAULT variable. Unlike pccard_ifconfig, ifconfig_DEFAULT
applies to all interfaces that do not specify an ifconfig_<ifn>
variable rather than just those listed in removable_interfaces.
- Correct the list of interfaces when network_interfaces and
removable_interfaces are both set by including removable_interfaces
in the list of canidates.
- When listing dhcp interfaces, include those with other ifconfig
options so nat works.

Approved by: re (network interface startup blanket)


# 31f91694 10-Jun-2005 Joseph Koshy <jkoshy@FreeBSD.org>

Mention hwpmc(4) ABI/API changes in the 20050609 entry.

Discussed with: imp


# ad0fdce5 10-Jun-2005 Brooks Davis <brooks@FreeBSD.org>

Mention interface API changes.


# 038164a1 09-Jun-2005 Garance A Drosehn <gad@FreeBSD.org>

Mention the change to kinfo_proc, and the need for a complete buildworld.


# a8d23252 07-Jun-2005 Brooks Davis <brooks@FreeBSD.org>

Mention the import of the OpenBSD dhclient, particularly the requirement
of running devd and the loss of DNS update functionality.

Reminded by: sobomax


# dfa58a49 04-Jun-2005 Andrew Thompson <thompsa@FreeBSD.org>

Bump __FreeBSD_version for if_bridge.

Approved by: mlaier (mentor)


# 0fe9e21b 03-Jun-2005 Hajimu UMEMOTO <ume@FreeBSD.org>

mention libpcap.


# 1d6a063b 03-Jun-2005 Hajimu UMEMOTO <ume@FreeBSD.org>

fix typo in my previous commit.

Submitted by: Jiawei Ye <leafy7382 _at_ gmail.com>


# 2554b2d1 02-Jun-2005 Hajimu UMEMOTO <ume@FreeBSD.org>

mention getnet*(3) ABI breakage.


# 0a4c2543 28-May-2005 Garance A Drosehn <gad@FreeBSD.org>

Provide info on the incompatible change in v1.33 of sys/kern/imgact_shell.c

Discussed with: imp


# 2e937dd6 25-May-2005 Alexander Leidinger <netchild@FreeBSD.org>

Add a note how to use nextboot(8) to test a kernel only once.

Approved by: mentor (joerg)
Discussed with: imp


# a8e72fd3 15-May-2005 Warner Losh <imp@FreeBSD.org>

cleanup a danging reference to cleaning up /etc/fstab. Since we don't
support 4->6 upgrades, this is moot. Most 4.x installations even,
have things compatible with 5 at thsi point, but some don't, so I'll
leave it in the branch...

submitted by: kevlo


# 0fcc778f 09-May-2005 Warner Losh <imp@FreeBSD.org>

Remove reference to seedrandom, since it is now gone, and was in there
just in case.


# 6441fe95 03-May-2005 Max Laier <mlaier@FreeBSD.org>

Bump __FreeBSD_version for pf 3.7 and inform about user visible changes.


# cfdb76e5 18-Apr-2005 Scott Long <scottl@FreeBSD.org>

Note that NO_MIXED_MODE is gone.


# 4f638121 03-Mar-2005 Warner Losh <imp@FreeBSD.org>

Remove important entry being X that's 9 months old


# 8ce4cbbf 03-Mar-2005 Warner Losh <imp@FreeBSD.org>

Remove references to 4.x upgrades, since those no longer are possible
(one must upgrade to 5.3 before first jumping to current).


# aea80a64 28-Feb-2005 Xin LI <delphij@FreeBSD.org>

Make an advise that a rebuild of fsck(8) is recommended for -CURRENT
after 20050220 due to the superblock summary recomputation change.
Also make a note about how to go back to the old behavior.

MFC After: 1 day


# 4bb8b8be 26-Feb-2005 Ruslan Ermilov <ru@FreeBSD.org>

Add a note about new format of LC_CTYPE files.


# 915a554b 25-Feb-2005 Nate Lawson <njl@FreeBSD.org>

Add notes on merging acpi_perf and acpi_throttle to acpi.ko


# bc9d2991 25-Feb-2005 Brooks Davis <brooks@FreeBSD.org>

Change the definition of struct if_data's member ifi_epoch from wall
clock time to uptime because wall clock time may go backwards.

This is a change in the API which will impact SNMP agents who are using
ifi_epoch to set RFC2233's ifCounterDiscontinuityTime. None are know to
exist today. This will not impact applications that are using the
<index, epoch> tuple to verify interface uniqueness except that it
eliminates a race which could lead to a false assumption of uniqueness.

Because this is a behavior change, bump __FreeBSD_version.

Discussed with: re (jhb, scottl)
MFC after: 3 days
Pointed out by: pkh (way back at EuroBSDCon)
Pointy hat: brooks


# 90dc539b 25-Feb-2005 Maxim Sobolev <sobomax@FreeBSD.org>

Welcome to the 21st century: increase MAXSHELLCMDLEN from 128 bytes to
PAGE_SIZE.

Unlike originator of the PR suggests retain MAXSHELLCMDLEN definition
(he has been proposing to replace it with PAGE_SIZE everywhere), not only
this reduced the diff significantly, but prevents code obfuscation and also
allows to increase/decrease this parameter easily if needed.

PR: kern/64196
Submitted by: Magnus Bäckström <b@etek.chalmers.se>


# 3ecf3bdd 23-Feb-2005 Ruslan Ermilov <ru@FreeBSD.org>

Simplify steps necessary to cross-install -CURRENT onto a
separate partition. (Take advantage of "make distribute"
installing /boot/device.hints.)


# 10d6bd76 23-Feb-2005 Nate Lawson <njl@FreeBSD.org>

Note removal of "options CPU_ENABLE_TCC"


# dcb5d8f8 07-Feb-2005 Ruslan Ermilov <ru@FreeBSD.org>

Fix disorder.


# 398dd94c 06-Feb-2005 Nate Lawson <njl@FreeBSD.org>

Note the cpufreq import and acpi throttling changes.


# da71ab85 05-Feb-2005 Gleb Smirnoff <glebius@FreeBSD.org>

Notice that NG_VERSION has been increased.


# cdef3cf4 05-Feb-2005 Maxim Konovalov <maxim@FreeBSD.org>

Fix typos.

PR: misc/77151
Submitted by: Anton Karpov


# b2723608 04-Feb-2005 Warner Losh <imp@FreeBSD.org>

As threatened, trim the UDPATING file to the branchpoint for RELENG_5.
People wishing to see prior changes are encouraged to look at the
UPDATING file on the RELENG_5 branch. Document when RELENG_5 was
branched, as well as the 5.3 release date, as shown in the CVS logs
for newvers.sh.

This change should not be MFC'd.

Noticed by: Matteo Riondato (and ru)


# 5ddd0622 14-Jan-2005 Brooks Davis <brooks@FreeBSD.org>

Note the deprecation of the abbreviation of a number of ipfw options.


# b521988e 23-Dec-2004 Ruslan Ermilov <ru@FreeBSD.org>

Warn about the NOFOO -> NO_FOO conversion, and remind users to
read the COMMON ITEMS section of this file for proper upgrade
instructions.


# 87c9e370 19-Dec-2004 Sam Leffler <sam@FreeBSD.org>

Note requirement to manually load/configure ancillary wlan modules.

Requested by: silby


# 71c1c49a 13-Dec-2004 Brian Somers <brian@FreeBSD.org>

Mention the necessity for ``enable echo'' in ppp(8).


# 773322d5 12-Dec-2004 David E. O'Brien <obrien@FreeBSD.org>

Slightly embelish the 20040710 entry about the requirement for
'hint.sio.0.flags="0x10"' on Alpha.

Also move the sio name changes to chronological change order.


# 88046524 11-Dec-2004 Sam Leffler <sam@FreeBSD.org>

note ath+wlan changes


# b05bb3e7 07-Dec-2004 Max Laier <mlaier@FreeBSD.org>

Remove some (no longer vaild) notes about PFIL_HOOKS.


# 81adddf3 16-Nov-2004 John Baldwin <jhb@FreeBSD.org>

Add a note about 80386 support being removed from HEAD.


# 42ba1c57 10-Nov-2004 Poul-Henning Kamp <phk@FreeBSD.org>

Add note about changed root mount semantics for (preloaded) memory disks


# c94c54e4 02-Nov-2004 Andre Oppermann <andre@FreeBSD.org>

Remove RFC1644 T/TCP support from the TCP side of the network stack.

A complete rationale and discussion is given in this message
and the resulting discussion:

http://docs.freebsd.org/cgi/mid.cgi?4177C8AD.6060706

Note that this commit removes only the functional part of T/TCP
from the tcp_* related functions in the kernel. Other features
introduced with RFC1644 are left intact (socket layer changes,
sendmsg(2) on connection oriented protocols) and are meant to
be reused by a simpler and less intrusive reimplemention of the
previous T/TCP functionality.

Discussed on: -arch


# cd109b0d 22-Oct-2004 Andre Oppermann <andre@FreeBSD.org>

Shave 40 unused bytes from struct tcpcb.


# 7b606583 18-Oct-2004 Poul-Henning Kamp <phk@FreeBSD.org>

Add an entry about some tty devices being renamed.


# 57e8fce7 17-Oct-2004 David E. O'Brien <obrien@FreeBSD.org>

Remove the suggestion to use libmap.conf to deal with the version bump.
People have a tendency to add things to libmap.conf and forget about them
(as we've seen in the mailing lists before).
The compat4x port should be used instead.


# 00bd8f10 10-Oct-2004 Mike Makonnen <mtm@FreeBSD.org>

Add additional information on how to cope with the change.


# 028a5b92 07-Oct-2004 Mike Makonnen <mtm@FreeBSD.org>


# cf0684ae 06-Oct-2004 Mike Makonnen <mtm@FreeBSD.org>

Note libthr ABI breakage.


# cfeb1f52 04-Oct-2004 Doug Barton <dougb@FreeBSD.org>

Make it more clear that if named is enabled, it will be chrooted by default.
Change to syslogd restart as suggested by des.


# 893279a9 03-Oct-2004 Dag-Erling Smørgrav <des@FreeBSD.org>

Document how to set up libmap.conf to deal with the library version bump.


# 85a8b887 01-Oct-2004 Ken Smith <kensmith@FreeBSD.org>

Bump the library version numbers for the following libraries:

/lib/{libm,libreadline}
/usr/lib/{libhistory,libopie,libpcap}

in preparation for doing the same thing to RELENG_5. HUGE amounts of
help for determining what to bump provided by kris.

Discussed on: freebsd-current
Approved by: re (not required for commit but something like this should be)


# d6a8d588 28-Sep-2004 Max Laier <mlaier@FreeBSD.org>

Add an additional struct inpcb * argument to pfil(9) in order to enable
passing along socket information. This is required to work around a LOR with
the socket code which results in an easy reproducible hard lockup with
debug.mpsafenet=1. This commit does *not* fix the LOR, but enables us to do
so later. The missing piece is to turn the filter locking into a leaf lock
and will follow in a seperate (later) commit.

This will hopefully be MT5'ed in order to fix the problem for RELENG_5 in
forseeable future.

Suggested by: rwatson
A lot of work by: csjp (he'd be even more helpful w/o mentor-reviews ;)
Reviewed by: rwatson, csjp
Tested by: -pf, -ipfw, LINT, csjp and myself
MFC after: 3 days

LOR IDs: 14 - 17 (not fixed yet)


# d6ec7d8c 28-Sep-2004 Doug Barton <dougb@FreeBSD.org>

Amend the named chroot update instructions by adding a stop and start
of syslogd. The rc.d/syslogd script has the logic already to create
a socket in the chroot dir, it just needs to be restarted.

Reminded by: matusita


# 8f1bb389 28-Sep-2004 Doug Barton <dougb@FreeBSD.org>

Create a named chroot directory structure in /var/named, and use it
by default when named is enabled. Also, improve our default directory
layout by creating /var/named/etc/namedb/{master|slave} directories,
and use the former for the generated localhost* files.

Rather than using pax to copy device entries, mount devfs in the
chroot directory.

There may be some corner cases where things need to be adjusted,
but overall this structure has been well tested on a production
network, and should serve the needs of the vast majority of users.

UPDATING has instructions on how to do the conversion for those
with existing configurations.


# f50b1bdb 26-Sep-2004 Doug Barton <dougb@FreeBSD.org>

Update the BIND 9 entry with information about files that
have moved, or should be removed.


# 5d36721a 24-Sep-2004 Doug Barton <dougb@FreeBSD.org>

Add an entry to tell the world about BIND 9.


# b9268aab 22-Sep-2004 Andre Oppermann <andre@FreeBSD.org>

Backout the last entry. It went to the wrong branch.


# f44831e6 22-Sep-2004 Andre Oppermann <andre@FreeBSD.org>

MFC: Make PFIL_HOOKS a permanent part of the kernel and remove the associated
kernel compile option.

Approved by: re (scottl)


# 6e03664c 14-Sep-2004 Sean Chittenden <seanc@FreeBSD.org>

Bring back etc/rc.d/ntpdate as requested by scads of people. This isn't a
complete backout as the ntpd_sync_on_start etc/rc.conf tunable is still
present, though the default is now NO (was YES). Since we're no longer
syncing time at startup by default when ntpd is enabled (as was the case
24hrs ago), remove UPDATING entry pointing out that ntpd(1) -g is slower
than ntpdate(1).

Hopefully ntpd_sync_on_start="YES" can be made the default for -CURRENT
after 5.3 is cut. At the very least, this should be set to YES when a
user requests to have ntpd enabled via sysinstall(1).

Requested by: many


# 0050f9ec 13-Sep-2004 Sean Chittenden <seanc@FreeBSD.org>

Stop using ntpdate(1) in our startup proceedure. Replace ntpdate(1) with
calls to ntpd -g. ntpd is noticably slower than ntpdate, but is also more
accurate. This removes the nasty hackery in rc.d/ntpdate that would parse
out ntp servers from /etc/ntp.conf (ntpd knows how to read its own config
file). By default, ntpd *will* sync with its listed time servers. To
turn this off so that ntpd does not sync, ntpd_sync_on_start="NO" can be
added to /etc/rc.conf. If ntpd is not enabled (the default), then time is
not synced on startup. ntpdate's use has been depreciated by the ntpd
authors for quite some time so this change shouldn't be unexpected.

Suggested by: des
Approved by: roberto (resident ntp guru)


# f5ee5a8b 13-Sep-2004 Max Laier <mlaier@FreeBSD.org>

Put in a note about the changed pflogd format (for 64 bit archs).


# d698cdb3 06-Sep-2004 John-Mark Gurney <jmg@FreeBSD.org>

document the recent change to debug.witness.*
fix spelling of debug.witness.kdb

MFC after: 5 days


# e5dc5f61 04-Sep-2004 Warner Losh <imp@FreeBSD.org>

Expand the 4.x -> current updating section. Update to show how to use
make kernel. Update the compatibility slice section. Note about
updating devices in the kernel config file. MAKEOBJDIRPREFIX changes
and mention the port alternative to COMPAT4X=yes. Fix copyright.

This should be MFC'd.


# 4ff62bd9 01-Sep-2004 Brooks Davis <brooks@FreeBSD.org>

Back out ifi_epoch. The ABI breakage is too disruptive this close to
5-STABLE. ifi_epoch will shortly be reintroduced with less precistion
using the space currently allocated to ifi_unused.


# 3789fb75 01-Sep-2004 Brooks Davis <brooks@FreeBSD.org>

Add warnings about ifconfig incompatabilities caused by the addition of
ifi_epoch.


# 1fc4519b 30-Aug-2004 Brooks Davis <brooks@FreeBSD.org>

Add a new variable, ifi_epoch, to struct if_data. It is set to the last
time the interface counters were zeroed, currently the time if_attach()
was called. It is indentended to be a valid value for RFC2233's
ifCounterDiscontinuityTime and to make it easier for applications to
verify that the interface they find at a given index is the one that was
there last time they looked.

An if_epoch "compatability" macro has not been created as ifi_epoch has
never been a member of struct ifnet.

Approved by: andre, bms, wollman


# c1c94d5c 28-Aug-2004 Robert Watson <rwatson@FreeBSD.org>

Add an updating entry for the recent change in network stack locking
default for debug.mpsafenet, pointing at the recent announcement and
things to try if instability is experienced.


# c21fd232 27-Aug-2004 Andre Oppermann <andre@FreeBSD.org>

Always compile PFIL_HOOKS into the kernel and remove the associated kernel
compile option. All FreeBSD packet filters now use the PFIL_HOOKS API and
thus it becomes a standard part of the network stack.

If no hooks are connected the entire packet filter hooks section and related
activities are jumped over. This removes any performance impact if no hooks
are active.

Both OpenBSD and DragonFlyBSD have integrated PFIL_HOOKS permanently as well.


# 6586253a 25-Aug-2004 Warner Losh <imp@FreeBSD.org>

Recommend using make kernel for current -> current upgrades. No reason
to have multiple commands for that.
Use relative paths into the src tree consistantly in the instructions.
Fix minor nits that have crept into things.

# is preseedrandom still necessary?


# cd5f061c 23-Aug-2004 Warner Losh <imp@FreeBSD.org>

Add a blanket note about 5.x being the same as 6.0 and vice versa for
the time being. Also add a note that says we are going to remove the
band-aides for 4.early -> 6.0 after 5.3-RELEASE so people get used to
the idea, even though it has been planned since before 5.0 was
released.


# f692e7ec 23-Aug-2004 Warner Losh <imp@FreeBSD.org>

Two items:
o we're 6.x now, so say so in the first few lines of the file.
o note that I'll be trimming this file around 5.3 release time.


# d0e54ab4 21-Aug-2004 David E. O'Brien <obrien@FreeBSD.org>

Hit people over the head so they realize run-time errors of the form
/libexec/ld-elf.so.1: Undefined symbol "_ZNSs20_S_empty_rep_storageE"
does mean they are hitting the GCC 3.4 ABI change issue.


# f036d408 19-Aug-2004 Julian Elischer <julian@FreeBSD.org>

Align netgraph message fields ready for 64-bit (and 128 bit :-) machines.
requires a recompile of netgraph users.
Also change the size of a field in the bluetooth code
that was waiting for the next change that needed recompiles so
it could piggyback its way in.

Submitted by: jdp, maksim
MFC after: 2 days


# 0ce70eb4 19-Aug-2004 Andre Oppermann <andre@FreeBSD.org>

Fix spelling error in my last blurb.

Pointed out by: ru


# b067abfa 19-Aug-2004 Andre Oppermann <andre@FreeBSD.org>

Put in a note about the ipfw to pfil_hooks conversion and the requirement
of having said in the kernel to be able to use ipfw.


# f13a7951 14-Aug-2004 David Malone <dwmalone@FreeBSD.org>

Add a note about RANDOM_IP_ID.


# 66986952 13-Aug-2004 Ruslan Ermilov <ru@FreeBSD.org>

Proofreading the 4.x -> 5.x upgrade procedure.


# ac41c814 12-Aug-2004 Ruslan Ermilov <ru@FreeBSD.org>

Spell check the 20040806 entry.


# 4f34d8d1 11-Aug-2004 John-Mark Gurney <jmg@FreeBSD.org>

add comment about needing to upgrade loader.rc on i386 systems that have
problems loading modules...

Solution by: ru


# 3a004637 07-Aug-2004 Max Laier <mlaier@FreeBSD.org>

Add another UPDATING entry about recompiling modules implementing network
interfaces due to a change in the size of struct ifnet.


# 6e1afae3 06-Aug-2004 Warner Losh <imp@FreeBSD.org>

Since we upgraded compilers, and the kernel build to match, we can't build
new kernels on older userlands. Document this fact in the entry that talked
about the system upgrade.


# 8f075db4 03-Aug-2004 Mark Murray <markm@FreeBSD.org>

Update for the null.ko removal.


# d064d6db 01-Aug-2004 Mark Murray <markm@FreeBSD.org>

Announce the memory device module update.


# b289983e 29-Jul-2004 Alexander Kabaev <kan@FreeBSD.org>

Get the current year number straight and remove one instance of trailing
whitespace.

Time travel spoiled by: ru


# 2c724730 29-Jul-2004 Warner Losh <imp@FreeBSD.org>

Document /usr/ports/UPDATING and have a brief pointer re x11


# 54bd5271 29-Jul-2004 Alexander Kabaev <kan@FreeBSD.org>

Add a note about recent GCC import.


# e193a85e 27-Jul-2004 Oliver Eikemeier <eik@FreeBSD.org>

back out the localkg changes until things have settled.

Discussed with: mtm


# 36ed21e6 27-Jul-2004 Robert Watson <rwatson@FreeBSD.org>

Add an UPDATING entry about recompiling modules implementing network
interfaces due to a change in the size of struct ifnet.


# ed67f841 25-Jul-2004 Mike Makonnen <mtm@FreeBSD.org>

Typo.

Submitted By: demon


# 15eb1e8b 24-Jul-2004 Mike Makonnen <mtm@FreeBSD.org>

Ports related rc.d cleanups:
o Separate out local (ports) scripts that use rc.d, and the old style
startup/shutdown scripts and execute them separately. On startup the
rc.d style scripts are executed first and then the old-style scripts.
On shutdown, exactly the reverse happens.
o The rc.d ports scripts should now behave more like base system scripts.
Scripts ending in .sh will be sourced into the current shell, while the
rest will be executed in a subshell. Previously, all ports scripts,
regardless of the .sh suffix, were executed in a subshell.
o The parent script, /etc/rc.d/localpkg, passes its command line arguments
straight to the rc.d ports scripts. This means they should now honor
faststop and faststart commands as well. Old style scripts, should not see
any differences. They will still get either a start or stop command.
o The initial phrase shown during shutdown has been changed to use
"local packages" instead of "daemon processes" to be more inline with the
phrase used during local package startup. The phrases are also used only for
old-style ports script startup/shutdown, whereas previously they were being
used for both rc.d and old-style scripts. This should make startup/shutdown
output a bit less ugly.

Discussed with: portmgr
Has Reservations: eik


# 5bd7ce0a 24-Jul-2004 Jens Schweikhardt <schweikh@FreeBSD.org>

English fixes, no content change.


# 6305ac24 15-Jul-2004 Seigo Tanimura <tanimura@FreeBSD.org>

Add the change of the sound drivers.


# 0b79e80e 11-Jul-2004 Simon L. B. Nielsen <simon@FreeBSD.org>

Fix typo in 20040702 entry.

Noticed by: Andre Guibert de Bruet <andy@siliconlandmark.com>


# e623dcb7 10-Jul-2004 Marcel Moolenaar <marcel@FreeBSD.org>

Add 3 new entries:
o __FreeBSD_version bumped to 502122
o Alpha console initialization requires the same sio(4) hints as on
other platforms. Options NO_SIO and DEV_SC removed.
o KDB framework: Added KDB and GDB; Renamed WITNESS_DDB, DDB_TRACE
DDB_UNATTENDED. Removed GDB_REMOTE_CHAT and DDB_NOKLDSYM.


# 6421d1db 09-Jul-2004 Maksim Yevmenkin <emax@FreeBSD.org>

Bump __FreeBSD_version

Reviewed by: kris, ru


# 58af3216 05-Jul-2004 Warner Losh <imp@FreeBSD.org>

Add note about ULE breakage at the moment.

Submitted by: Xin LI


# a6c26e1c 30-Jun-2004 Bruce M Simpson <bms@FreeBSD.org>

Wordsmith and spell-correct last commit


# 8ed370fd 30-Jun-2004 Julian Elischer <julian@FreeBSD.org>

Remove the home-grown metadata facility in favour of the now generic
mbuf tags facility. Netgraph modules will all need a recompile.

Submitted by: Gleb Smirnoff <glebius@cell.sick.ru>


# c2dba668 30-Jun-2004 Nate Lawson <njl@FreeBSD.org>

Note the ACPI blacklist changes.

Prodded by: imp


# 802fc49d 26-Jun-2004 Brian Feldman <green@FreeBSD.org>

Make some bugfixes and improve some text in the description of how to
update from 4.x to 5.x.

Submitted by: Frerich Raabe <raabe@kde.org>


# 8ee2ac9e 22-Jun-2004 Max Laier <mlaier@FreeBSD.org>

Add "privsep" user/group _pflogd:_pflogd (64:64) to make pflogd(8) work
again. This user/group is not required for install* targets, hence do not
add them to CHECK_UIDS/CHECK_GIDS in Makefile.inc1 (no need to annoy
people).

Discussed-on: -current


# bf670bc3 22-Jun-2004 Brooks Davis <brooks@FreeBSD.org>

Fix whitespace errors in previous commit.

Reported by: simon


# 3db5687d 22-Jun-2004 Brooks Davis <brooks@FreeBSD.org>

Add entry for network interface cloning changes.


# 472d95dd 22-Jun-2004 Dag-Erling Smørgrav <des@FreeBSD.org>

Whitespace cleanup.


# e0ae81f3 21-Jun-2004 Dag-Erling Smørgrav <des@FreeBSD.org>

Correct an error carried over from the nsswitch.conf(5) manual page; add
a note to UPDATING since users may have to manually remove an incorrect
nsswitch.conf.

Noticed by: simon


# 4717d22a 14-Jun-2004 John Polstra <jdp@FreeBSD.org>

Change the return value of sema_timedwait() so it returns 0 on
success and a proper errno value on failure. This makes it
consistent with cv_timedwait(), and paves the way for the
introduction of functions such as sema_timedwait_sig() which can
fail in multiple ways.

Bump __FreeBSD_version and add a note to UPDATING.

Approved by: scottl (ips driver), arch


# df843493 13-Jun-2004 Max Laier <mlaier@FreeBSD.org>

Suggest a full build-/installworld instead of just installincludes.

Requested-by: ru


# 6cb7a382 13-Jun-2004 Max Laier <mlaier@FreeBSD.org>

Bump __FreeBSD_version for ALTQ. Also put some notes in UPDATING regarding
the ABI break.


# 2454685e 07-Jun-2004 Julian Elischer <julian@FreeBSD.org>

Note the need to rerun config.


# 64fef830 04-Jun-2004 Seigo Tanimura <tanimura@FreeBSD.org>

Note the removal of the midi drivers.

Pointed out by: scottl
Shame on: myself


# bb4f06e7 23-Apr-2004 Andre Oppermann <andre@FreeBSD.org>

Recompile of ipfw(8) is required because of new ipfw option (versrcreach).


# 05641e82 20-Apr-2004 Colin Percival <cperciva@FreeBSD.org>

1. Remove callout_stop binary compatibility.
2. Document that this means that kernel modules must be rebuilt.
3. While I'm here, fix my sorting error in callout.h

Requested by: many [1], scottl [2], bde [3]


# 76c3e0f7 16-Apr-2004 Brooks Davis <brooks@FreeBSD.org>

I added preseedrandom yesterday, not last month.

Reported by: Dmitry Morozovsky <marck at rinet.ru>


# 8633bbea 16-Apr-2004 Brooks Davis <brooks@FreeBSD.org>

Document changes in /dev/random initalization. Suggest running
/etc/rc.d/preseedrandom to seed the PRNG in the upgrade instructions.


# d0dc9183 14-Apr-2004 Warner Losh <imp@FreeBSD.org>

Add notes about the pci stuff that's currently working its way through
current.


# 0fbd2da9 10-Apr-2004 Ken Smith <kensmith@FreeBSD.org>

Fix kernel build instructions to be correct for 5.X.

PR: docs/65397
Submitted by: Russell Francis <rf358197 (at) ohio.edu>


# d40d033a 22-Mar-2004 Robert Watson <rwatson@FreeBSD.org>

Commit a message to UPDATING indicating that during network stack locking
merges, debug.mpsafenet will no longer be safe to use, and that it should
be turned off (which is the default). I will commit a follow-up message
to UPDATING (and post to freebsd-current) when it's safe to turn it on,
with a description of under what circumstances it is safe to use.


# 4c86458b 17-Mar-2004 David E. O'Brien <obrien@FreeBSD.org>

Mention the user account for 'pf' is "proxy".


# ec9b318e 10-Mar-2004 Garance A Drosehn <gad@FreeBSD.org>

Change time_t from a 32-bit value to a 64-bit value, on FreeBSD/sparc64
only. This is a MAJOR incompatible change for the sparc64 platform,
but will not effect FreeBSD on other architectures.

Reviewed by: imp for UPDATING, freebsd-sparc for the change itself.


# fc28f1ff 08-Mar-2004 Max Laier <mlaier@FreeBSD.org>

Bump __FreeBSD_version for the pf install and write comments to UPDATING.

Approved by: bms(mentor)


# 3aff5d06 03-Mar-2004 Dag-Erling Smørgrav <des@FreeBSD.org>

Add a note explaining how to use libmap.conf to work around problems
with the libc_r -> libpthread transition.


# e07a40f3 26-Feb-2004 Brian Feldman <green@FreeBSD.org>

Mention getaddrinfo(3)/resolver(3) ABI change.

Reminded by: bmah


# 9d7f8c80 26-Feb-2004 Dag-Erling Smørgrav <des@FreeBSD.org>

It's protocol version 1 I've disabled, not version 2.


# fd63c5b3 25-Feb-2004 Dag-Erling Smørgrav <des@FreeBSD.org>

Mention the recent sshd configuration changes.


# 714ae42a 25-Feb-2004 Bruce M Simpson <bms@FreeBSD.org>

Add a note about the routed update breaking compatibility (for MD5
authentication only) with older versions of FreeBSD's routed.


# fbd2e692 24-Feb-2004 Andre Oppermann <andre@FreeBSD.org>

Note change of sizeof(struct tcpcb) and libkvm recompile.


# 158b90da 22-Feb-2004 Warner Losh <imp@FreeBSD.org>

Add a note about cdevsw changes.


# 74111097 20-Feb-2004 Warner Losh <imp@FreeBSD.org>

Update instructions on /rescue vs -j to indicate a fixed date.


# ff46e0de 20-Feb-2004 Warner Losh <imp@FreeBSD.org>

Add a belated entry for the CPU_ENABLE_LONGRUN issue.


# b7b1e150 07-Feb-2004 Mike Makonnen <mtm@FreeBSD.org>

Add an entry about the removal of etc/rc.d/ttys.


# aca89ee6 29-Jan-2004 Daniel Eischen <deischen@FreeBSD.org>

Add a note about the libkse -> libpthread switch.

Reviewed by: imp


# 68b7b3a9 26-Jan-2004 Alex Dupre <ale@FreeBSD.org>

Add a note to say that ULE is now the default scheduler in GENERIC.

PR: docs/61870
Submitted by: Xin LI <delphij@frontfree.net>
Approved by: imp


# c124fa05 15-Dec-2003 John Baldwin <jhb@FreeBSD.org>

Add a note to say that the ACPI module has been turned back on now.

Requested by: Joel Ray Holveck <joelh@piquan.org>


# ce41f4bf 13-Dec-2003 Robert Watson <rwatson@FreeBSD.org>

Comment on initgroups.c:1.8: it can prevent users from logging in if
a user has over 16 groups defined.

Reported by: "Klaus-J. Wolf" <yanestra@web.de>


# c53a5d8f 10-Dec-2003 John Baldwin <jhb@FreeBSD.org>

Add a note about MPTABLE_FORCE_HTT.

Prompted by: John Stockdale <jstockdale@stanford.edu>


# 97209ca3 17-Nov-2003 Robert Watson <rwatson@FreeBSD.org>

Clarify UPDATING language: do buildworld before buildkernel, and
do installkernel before installworld, rather than don't make world
before installkernel.

Pointed out by: gad


# 3f631d52 14-Nov-2003 Marcel Moolenaar <marcel@FreeBSD.org>

Add the most vital piece of information WRT upgrading past the
statfs changes: you must have COMPAT_FREEBSD4 in your kernel
config file. Everything else is documented procedure and will
not save your ass if you don't have the option.


# cc512fae 14-Nov-2003 Kirk McKusick <mckusick@FreeBSD.org>

Note to update cfsd (ports/security/cfs) after installing the
statfs changes.

Submitted by: Marco Wertejuk <wertejuk@mwcis.com>


# 30093b05 12-Nov-2003 Warner Losh <imp@FreeBSD.org>

Warn that you won't be able to build a kernel if you do an installworld


# 64a18d6f 12-Nov-2003 Kirk McKusick <mckusick@FreeBSD.org>

Add an entry about the changes in the statfs structure that require
kernel and user land applications doing statfs to be in sync.

Requested by: Johan Karlsson <johan@FreeBSD.org>


# 8ad1f5e4 12-Nov-2003 Hartmut Brandt <harti@FreeBSD.org>

Add an entry about the changes in netgraph that require kernel and
user land netgraph stuff to be in sync.

Reviewed by: imp


# 2a2cfa95 04-Nov-2003 Ceri Davies <ceri@FreeBSD.org>

Correct a typo; two permutations of ACPI are plenty already.


# 8bf455a5 03-Nov-2003 John Baldwin <jhb@FreeBSD.org>

Add an entry dealing with the change from 'options APIC_IO' to
'device acpi' as well as the temporary disablement of the ACPI kernel
module.


# b5004ff5 31-Oct-2003 Brooks Davis <brooks@FreeBSD.org>

Use tabs not spaces.

Pointed out by: Xin LI <delphij at frontfree dot net>


# 9bf40ede 31-Oct-2003 Brooks Davis <brooks@FreeBSD.org>

Replace the if_name and if_unit members of struct ifnet with new members
if_xname, if_dname, and if_dunit. if_xname is the name of the interface
and if_dname/unit are the driver name and instance.

This change paves the way for interface renaming and enhanced pseudo
device creation and configuration symantics.

Approved By: re (in principle)
Reviewed By: njl, imp
Tested On: i386, amd64, sparc64
Obtained From: NetBSD (if_xname)


# f59d5f7a 19-Oct-2003 Poul-Henning Kamp <phk@FreeBSD.org>

s/5.0-CURRENT/FreeBSD 5.x/


# 282e0f01 03-Oct-2003 Ruslan Ermilov <ru@FreeBSD.org>

Fixed the "To build a kernel" section to mention -DALWAYS_CHECK_MAKE
as the new sys/conf/kmod.mk depends on a make(1) bugfix now.

Reported by: current


# 47a42c7a 28-Sep-2003 Poul-Henning Kamp <phk@FreeBSD.org>

Note change to cdevsw open/close default change.


# 07105342 27-Sep-2003 Max Khon <fjoe@FreeBSD.org>

Add a note about kiconv(3).


# 17dcd026 25-Sep-2003 Sam Leffler <sam@FreeBSD.org>

note PFIL_HOOKS must be explicitly configured when using IPFILTER


# fedf1d01 23-Sep-2003 Bruce M Simpson <bms@FreeBSD.org>

Fix a bug in arplookup(), whereby a hostile party on a locally
attached network could exhaust kernel memory, and cause a system
panic, by sending a flood of spoofed ARP requests.

Approved by: jake (mentor)
Reported by: Apple Product Security <product-security@apple.com>


# db38f9cb 15-Sep-2003 Jacques Vidrine <nectar@FreeBSD.org>

Note the addition of `-C 60' to inetd_flags in etc/defaults/rc.conf.


# c09d2c2b 29-Aug-2003 Mike Makonnen <mtm@FreeBSD.org>

Remove deprecated files no longer neccesary as part of rc.d. Include
a note in UPDATING about removing them from current installations.


# f240812b 24-Aug-2003 Søren Schmidt <sos@FreeBSD.org>

Fix the former commit as cvs screwed it up somehow


# 17c159dc 24-Aug-2003 Søren Schmidt <sos@FreeBSD.org>

Add comment about ATAng.


# a19f8dda 20-Aug-2003 David E. O'Brien <obrien@FreeBSD.org>

Fix accidental line deletion.


# c1f61aa9 19-Aug-2003 David E. O'Brien <obrien@FreeBSD.org>

Document the OFW_NEWPCI commit to sparc64 generic.


# 38c962e7 28-Jul-2003 Nate Lawson <njl@FreeBSD.org>

Note da(4) quirks being deprecated and the procedure for re-enabling them.


# 178cf4e9 22-Jul-2003 Warner Losh <imp@FreeBSD.org>

note rescue issues and fpu emulation removal


# 8b71efca 11-Jul-2003 Ceri Davies <ceri@FreeBSD.org>

Correct a spelling error.


# 05538fa9 11-Jul-2003 Warner Losh <imp@FreeBSD.org>

Delete the panic part of 20030711, it has been fixed


# 157c629a 11-Jul-2003 Warner Losh <imp@FreeBSD.org>

gcc3.3: add dire warnings.


# 6cc6353f 13-Jun-2003 Marcel Moolenaar <marcel@FreeBSD.org>

Add a retrospective entry about how having installed a broken sed(1)
can cause build failures.

Triggered by: too many questions on the -current


# 7ddc2528 11-Jun-2003 Poul-Henning Kamp <phk@FreeBSD.org>

Fix date, appearantly everybody else got done with May before I did.


# 766c34e4 10-Jun-2003 Andrey A. Chernov <ache@FreeBSD.org>

Add entry for removing deprecated locale names

Approved by: imp


# df622d54 09-Jun-2003 Poul-Henning Kamp <phk@FreeBSD.org>

GEOMification of CCD.

You need your kernel and ccdconfig(8) to be in sync, particularly if your
source tree is on a ccd device.


# 52b47445 05-May-2003 Mark Murray <markm@FreeBSD.org>

Announce the Kerberos5 changes.

Prodded by: imp


# a26df538 04-May-2003 Warner Losh <imp@FreeBSD.org>

Document a workaround for getting past the groff infinite loop problem
when your userland is older tahn your kernel and Makefile.inc1 therefore
thinks that you don't need to rebuild groff, when in fact you do. This
workaround is to set OSRELDATE to 500110 before building, but only if you
have a new enough Makefile.inc1.

I've confirmed this on my laptop, which was suffering from this problem.
Since it only hits power users, we'll naively assume that such users are
smart enough to read UPDATING.


# 4b065e2c 01-May-2003 Doug Barton <dougb@FreeBSD.org>

Per previous announcement, remove the old version of the rc system.

All functionality from the previous system has been preserved, and
users should still customize their system boot with the familiar
methods, rc.conf, rc.conf.local, rc.firewall, sysctl.conf, etc.

Users who have customized versions of scripts that have been removed
should take great care when upgrading, since the compatibility code
that used those old scripts has also been removed.


# 33ce0cf9 27-Apr-2003 Doug Barton <dougb@FreeBSD.org>

Add a warning about the impending demise of rcOG.


# 47a657d1 25-Apr-2003 Ruslan Ermilov <ru@FreeBSD.org>

Alphas with libc.so between 2003/03/12 and 2003/03/29 cannot be
upgraded cleanly. Document the reason and possible workarounds.

Requested by: gallatin


# 81cda3d9 24-Apr-2003 Warner Losh <imp@FreeBSD.org>

Add warning about a potential hang on boot at devd after 20030507 if
you have an old kernel and a new userland. I've just committed a fix
for devd to work around the kernel bug, but that goes away on May 7th.


# 89056245 23-Apr-2003 Jens Schweikhardt <schweikh@FreeBSD.org>

Correct a doubled 'with'.


# c57404fe 30-Mar-2003 Ruslan Ermilov <ru@FreeBSD.org>

Mention that 20021024 entry doesn't affect disks formatted in
dangerously-dedicated mode.


# 59df1173 13-Feb-2003 David E. O'Brien <obrien@FreeBSD.org>

Acutally document how to make a LINT kernel config, besides telling all it
is gone.


# ca22e652 09-Feb-2003 Jens Schweikhardt <schweikh@FreeBSD.org>

Correct assorted typos and grammos. No content changes.


# 5d2af00c 08-Feb-2003 Gregory Neil Shapiro <gshapiro@FreeBSD.org>

Notify IPv6 users of important change in sendmail 8.12.7


# f27b1fce 07-Feb-2003 Joseph Koshy <jkoshy@FreeBSD.org>

Add a section describing installing -current onto a dedicated partition
from a 4-stable build environment.

Reviewed by: imp


# 9db58771 29-Jan-2003 Poul-Henning Kamp <phk@FreeBSD.org>

20030128
NODEVFS option has been removed and DEVFS thereby made standard.
This makes all references to MAKEDEV obsolete, and the should
be removed when convenient.


# 66ff0e67 27-Jan-2003 Max Khon <fjoe@FreeBSD.org>

hint.acpi.0.disable -> hint.acpi.0.disabled

Submitted by: Vitaly Markitantov <vm@dics.com.ua>


# 8d9b3f57 26-Jan-2003 Jake Burkholder <jake@FreeBSD.org>

Add a note about the ofwcons device name change.


# 1c5efda5 25-Jan-2003 Jeff Roberson <jeff@FreeBSD.org>

- Add an entry about the new scheduler options.


# c9fdb80a 17-Jan-2003 Warner Losh <imp@FreeBSD.org>

More wi info: adhoc means have reverted.


# 9d1d64f5 16-Jan-2003 Warner Losh <imp@FreeBSD.org>

wi now needs wlan.


# 9d5abbdd 01-Jan-2003 Jens Schweikhardt <schweikh@FreeBSD.org>

Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,
especially in troff files.


# 84cc83ef 22-Dec-2002 Alexander Kabaev <kan@FreeBSD.org>

Add a word, lost in previos commit.


# 161dc364 22-Dec-2002 Alexander Kabaev <kan@FreeBSD.org>

Add note about GCC -fno-pcc-struct-return being default again. The
breakage window was about 18 days long.

Submitted by: juli
Approved by: re (rwatson)


# fb4c8061 16-Dec-2002 Martin Blapp <mbr@FreeBSD.org>

Change the name for the local unix-socket based protocol
from "unix" back to "local". Add some compat stuff so both
ways work for some time.

Reviewed by: phk
Approved by: imp (UPDATING)
Requested by: iedowse, lukem@netbsd.org


# 17d47eb3 06-Dec-2002 Giorgos Keramidas <keramida@FreeBSD.org>

Add an entry for sparc64 users to warn them about potential problems
with kernels & modules that are not in sync, after the latest upgrade
of binutils.

Reviewed by: tmm
Approved by: re (rwatson)


# bd79cf40 30-Oct-2002 Warner Losh <imp@FreeBSD.org>

OK, you can use the 4.x boot loader and boot blocks to load kernels, but
I'm nervous about recommending it, so note it as a footnote only for now.


# a4459294 29-Oct-2002 Bill Fenner <fenner@FreeBSD.org>

The value of IPPROTO_DIVERT has changed.


# 21c075ea 28-Oct-2002 Warner Losh <imp@FreeBSD.org>

Add note: cvs checkout -P needed for fresh tree.


# d2125802 27-Oct-2002 Warner Losh <imp@FreeBSD.org>

MACHINE_ARCH is wrong here. It should be MACHINE

Submitted by: nyan@ (Yoshihiro-san)


# c74fe6af 26-Oct-2002 Warner Losh <imp@FreeBSD.org>

Mention the need to have COMPAT_FREEBSD4 in the kernel you use for the
upgrade.


# b705ae10 26-Oct-2002 Warner Losh <imp@FreeBSD.org>

Note the scary messages that you see when mounting / and other things
are expected and normal when you've booted a 5.0 kernel with a 4.x
userland.


# f643de42 26-Oct-2002 Warner Losh <imp@FreeBSD.org>

State the stupidly obvious:
If /tmp is on /, then blowing away its contents, as appropriate,
may get you enough space to do the installworld.


# 5c195f59 26-Oct-2002 Warner Losh <imp@FreeBSD.org>

Note: 5.0 requires more space. If you don't have 30MB free on /, then
you are going to get hurt badly if you try to do an update from
sources. Make a note of this. While 'experts' could install it in
less space, I think 30MB is a good number.


# 63cb445e 26-Oct-2002 Warner Losh <imp@FreeBSD.org>

A simple make world is too dangerous for most upgrades. Instead, copy
the updating from stable section, and remove the kludge-o-rounds that
are in there.

Sometimes make world is safe, sometimes not. Let's document the safe
way to deal.


# fc8c157f 26-Oct-2002 Warner Losh <imp@FreeBSD.org>

Note GEOM removal of the compatibility slice, and what you, the
upgrader needs to do about it.

Also, greatly expand the the upgrading from -stable part of this file.
It appears that you need new boot blocks to ensure that the right
kernel is booted single user.


# fd9e8bda 24-Oct-2002 Andrew Gallatin <gallatin@FreeBSD.org>

Document the (alpha only) "out of memory" and "PT_LOAD: too few segments"
problems with the new groff and mention possible workarounds for people
buildworlding to current.

Reviewed by: ru (a slighly older version)


# f8a4c901 03-Sep-2002 Warner Losh <imp@FreeBSD.org>

gcc 3.2
rm -rf /usr/include/g++ needed to upgrade from 4.6


# c2248fa2 28-Aug-2002 Jens Schweikhardt <schweikh@FreeBSD.org>

Mention new termcap and TERM=xterm-color -> xterm issue.


# 0d533e43 15-Aug-2002 Ruslan Ermilov <ru@FreeBSD.org>

Document the effect of contrib/gcc/c-lex.c,v 1.2 commit.


# 33c1de7d 29-Jul-2002 Ruslan Ermilov <ru@FreeBSD.org>

Ignore -C, -p, and -S options of install(1) when used with the -d
option. Warn about COPY being phased out. Restore the old method
of always comparing before installing: INSTALL="install -C".

Requested by: bde


# 2b877fac 02-Jul-2002 Julian Elischer <julian@FreeBSD.org>

Approved by: imp@freebsd.org


# 06596d37 01-Jul-2002 Warner Losh <imp@FreeBSD.org>

Add a note to UPDATING saying that now is a bad time to update due
to some KSE/libc_r interaction.

Submitted by: julian


# 4b683fb2 05-Jun-2002 Robert Watson <rwatson@FreeBSD.org>

Slightly modify the UPDATING text to indicate that -gstabs+ is a gcc
flag to replace -g. This works around slight obtuseness in the developer.
(me :-).


# f50caf6f 04-Jun-2002 David E. O'Brien <obrien@FreeBSD.org>

Document -gstabs+


# 6d362db9 02-Jun-2002 Robert Watson <rwatson@FreeBSD.org>

Remove comment about NO_WERROR, since it no longer applies.

Pointed out by: silby


# dea5eb2c 20-May-2002 Robert Watson <rwatson@FreeBSD.org>

Add a note that NO_WERROR is a good idea for the time being due to the
compiler upgrade. People still seem to be tripping over this.


# be1d673d 14-May-2002 Ruslan Ermilov <ru@FreeBSD.org>

Check that kldxref(8) exists before running it.


# 95ba4330 11-May-2002 Jacques Vidrine <nectar@FreeBSD.org>

Turn on the set-user-ID bit for k5su if ENABLE_SUID_K5SU is defined.


# a81da3c9 10-May-2002 David E. O'Brien <obrien@FreeBSD.org>

Note potential cvs update problem in contrib/gcc.


# ae20a1b8 06-May-2002 Dima Dorfman <dd@FreeBSD.org>

Use hw.ata.ata_dma instead of hw.atamodes, which doesn't exist in anymore.

Reviewed by: maxim


# 528a0ef5 25-Apr-2002 Jacques Vidrine <nectar@FreeBSD.org>

Note change for FreeBSD-SA-02:23.stdio.


# f6a0ef01 24-Apr-2002 Warner Losh <imp@FreeBSD.org>

Warnings about single user and kldxref


# 8f1e4358 19-Apr-2002 Ruslan Ermilov <ru@FreeBSD.org>

Mention the UCONSOLE kernel option removal.

Prompted by: sheldonh


# 835284be 18-Apr-2002 Warner Losh <imp@FreeBSD.org>

Do some minor editing of the entires (the date of the smmsp user
wasn't April 4, but Feb 17th). Update the updating proceedure to use
the new mergemaster -p flag. Add a footnote telling users how to cope
if their mergemaster doesn't have a -p flag.


# 9698f2c0 10-Apr-2002 Warner Losh <imp@FreeBSD.org>

Update to note my dropping the strong lock on this file.

Clarify what my last note about USERCONFIG really means and how to
know if it is fixed.


# bbcc5149 10-Apr-2002 Warner Losh <imp@FreeBSD.org>

Note date of USERCONFIG's real death


# 85aa5a2e 05-Apr-2002 Gregory Neil Shapiro <gshapiro@FreeBSD.org>

Add two items that have come up in the mailing lists regarding the
sendmail import.

Approved by: imp


# 2292c02e 17-Mar-2002 Warner Losh <imp@FreeBSD.org>

Note comment about DP-1


# 69f7bcf3 27-Feb-2002 Warner Losh <imp@FreeBSD.org>

PLASTER A WARNING THAT TELLS PEOPLE THAT CURRENT HAS DEBUGGING FEATURES
TURNED ON.

Submitted by: rwatson

Suggest -DNO_WERROR unless you are a developer when building a kernel.

Submitted by: mike


# 8f35c493 17-Feb-2002 Warner Losh <imp@FreeBSD.org>

Add notes about sendmail update from gshapiro.


# 514318a8 27-Jan-2002 Warner Losh <imp@FreeBSD.org>

Add info about sppp and fd changes in December to current.

Submitted by: joerg


# 1a33dba7 26-Jan-2002 Warner Losh <imp@FreeBSD.org>

Add note about openssh 2.9 changing some defaults

Submitted by: Thomas.Quinot@Cuivre.FR.EU.ORG
PR: 28724


# 5ebbf43e 26-Jan-2002 Warner Losh <imp@FreeBSD.org>

Add only once to the tip workaround.

Submitted by: ru


# 5780f3ba 26-Jan-2002 Warner Losh <imp@FreeBSD.org>

Add some verbage about make environment poisoning.

Submitted by: sheldonh
Ignored for two months by: imp


# fa9401c1 12-Jan-2002 Warner Losh <imp@FreeBSD.org>

Add info about the /etc/pam.conf -> /etc/pam.d stuff.


# 47d0d01f 06-Jan-2002 Warner Losh <imp@FreeBSD.org>

Add note about new rc.conf for networkfs. Fix typos from PR:33499


# 2d22e2bf 27-Dec-2001 Warner Losh <imp@FreeBSD.org>

add note that truss works again as of dec 09.

Submitted by: des
Ignored by: imp for over two weeks


# 9e0428e2 27-Dec-2001 Warner Losh <imp@FreeBSD.org>

Add note about daily security checks moving to periodic(8)


# 8b039fff 27-Dec-2001 Warner Losh <imp@FreeBSD.org>

Add note to 20010924 entry that tells people about the COMPAT4X option
in /etc/make.conf, since sometimes these libraries are updated.

Submitted by: ru


# 24a030c4 24-Dec-2001 Warner Losh <imp@FreeBSD.org>

Add note about __stdoutp to the compat stuff.

Submitted by: ru


# 9bab8c59 05-Dec-2001 Warner Losh <imp@FreeBSD.org>

kernel/burncd in sync!


# e57d8b01 05-Dec-2001 Warner Losh <imp@FreeBSD.org>

Warn about PROCFS stuff.

Submitted by: des


# b001d36f 03-Dec-2001 Jacques Vidrine <nectar@FreeBSD.org>

Note fix for OpenSSH `UseLogin yes' environment issue.


# 4b676ec1 27-Nov-2001 Warner Losh <imp@FreeBSD.org>

Add tip breakage workaround.


# d961e462 03-Nov-2001 Warner Losh <imp@FreeBSD.org>

Some words about awk and pain


# a4b6fda0 31-Oct-2001 Warner Losh <imp@FreeBSD.org>

The correction entry about asr was too pessimistic based on my poor
understanging of the situation.

Submitted by: scottl


# 1fe003b6 30-Oct-2001 Warner Losh <imp@FreeBSD.org>

Add entries about the recent problems with asr.
TARGET replaces MACHINE

Submitted by: ru, jhb


# d05f9643 02-Oct-2001 Warner Losh <imp@FreeBSD.org>

Add Soren's burncd warning.


# 58970f85 30-Sep-2001 Warner Losh <imp@FreeBSD.org>

Fix the damage caused in the last commit:
give the correct workaround for compat library problem
give a better acpi workaround.
Also include note about TARGET_ARCH.

DO NOT COMMIT TO THIS FILE UNLESS YOU ARE IMP.


# 378f4486 30-Sep-2001 Alfred Perlstein <alfred@FreeBSD.org>

Tell people why they might want to disable ACPI and how to do it.
Tell people how to fix the 4.x compatibility issue.


# 5119d237 27-Sep-2001 Warner Losh <imp@FreeBSD.org>

Add note about buildworld being fixed.


# 22306abc 23-Sep-2001 Warner Losh <imp@FreeBSD.org>

While I am THE Warner Losh (I know of no others that share my name and
I've looked), there's no need to refer to myself here as the Warner Losh.

Noticed by: mike


# 772730c7 23-Sep-2001 Warner Losh <imp@FreeBSD.org>

Fix grammar of the newest UPDATING entry. Also, minor rewording of
grant to use this document to be less restrictive than before. The
document now can be used without restriction.


# 3c293725 20-Sep-2001 Warner Losh <imp@FreeBSD.org>

Note world breakage and give workaround


# 98b17b95 24-Aug-2001 Warner Losh <imp@FreeBSD.org>

Use Brian Sommers' named entry


# f10d3145 23-Aug-2001 Warner Losh <imp@FreeBSD.org>

Fix typo in repo damage message.

Submitted by: Vadim Ostranitsyn <vadim@tsu.ru>


# 2aacaea6 22-Aug-2001 Warner Losh <imp@FreeBSD.org>

Remove some stray text that crept into this verison of the updating
file. It is for current, not the 4.3 release branch.


# a6cd4f9d 10-Aug-2001 Warner Losh <imp@FreeBSD.org>

Note: mergemaster stopped being optional a long time ago. Caution against
doing it by hand (but provide pointers to those wanting to do it by hand).


# f34a9421 10-Aug-2001 Warner Losh <imp@FreeBSD.org>

Typo


# 62353691 25-Jul-2001 Warner Losh <imp@FreeBSD.org>

Add, belated, entry for ed driver needing mii


# 7b9786ed 17-Jul-2001 Mark Murray <markm@FreeBSD.org>

Mention problems with PAM upgrade and ports.

OK'ed by: imp


# 1d28950e 30-Jun-2001 Warner Losh <imp@FreeBSD.org>

Note move of kernel compile to src/sys/MACHINE/compile/FOO.


# e72fd46a 29-Jun-2001 Warner Losh <imp@FreeBSD.org>

pccard modem support fixed.

Update hints problems.

Add copyright and copying notice: Do what you want with this file.


# 0d415dff 21-Jun-2001 Warner Losh <imp@FreeBSD.org>

More updates

# Note, I managed to fat finger some mail commands and lost who submitted some
# of these entries. If it was you, email me and I'll for a commit to
# give proper credit.


# 8b9959ad 13-Jun-2001 Warner Losh <imp@FreeBSD.org>

Add warning that some people are having problems with pccard modems in
current, reasons unknown.

Add note about softupdates being unstable since the middle of May.


# 3590182e 09-Jun-2001 Warner Losh <imp@FreeBSD.org>

Provide better advise than the last commit to UPDATING advocated about
running newer pccard software.


# e88b774c 09-Jun-2001 Julian Elischer <julian@FreeBSD.org>

Add an example of how to do the cryptic change suggested by UPDATING
for pccard IRQs.


# ee6e1fc3 04-Jun-2001 Warner Losh <imp@FreeBSD.org>

Recommend what to do in a single user boot.

PR: 25028
Submitted by: Mark Andrews <marka@nominum.com>


# 6ccdb5e4 04-Jun-2001 Warner Losh <imp@FreeBSD.org>

Set up us the pccard bomb.


# 0bc62786 30-May-2001 Warner Losh <imp@FreeBSD.org>

Note: INSTALL=install -C is no longer supported. Use COPY=-C instead.
While the old way will continue to work for a while, it will cause
warnings until after 4.4, but before 4.5.


# f5260d32 29-May-2001 Warner Losh <imp@FreeBSD.org>

Yet another typo


# c4e215d3 29-May-2001 Warner Losh <imp@FreeBSD.org>

Missed this typo too.

Submitted by: Szilveszter Adam <sziszi@petra.hos.u-szeged.hu>
PR: 26766


# c0f2c1c8 29-May-2001 Warner Losh <imp@FreeBSD.org>

Fix typo.

Submitted by: Szilveszter Adam <sziszi@petra.hos.u-szeged.hu>
PR: 26766


# c4f4a728 28-May-2001 Warner Losh <imp@FreeBSD.org>

Alpha is not in good shape at all.

Submitted by: obrien


# b6609bbb 28-May-2001 Warner Losh <imp@FreeBSD.org>

Temper my optimism


# 68a38c6c 28-May-2001 Warner Losh <imp@FreeBSD.org>

Looks like -current is safe again, and has been since Friday.


# ed0f29ca 22-May-2001 Warner Losh <imp@FreeBSD.org>

Mention jakarta-tomcat issues


# 80c16af9 21-May-2001 Warner Losh <imp@FreeBSD.org>

Add note about pccard rototill and swapping breakage.


# a45f2d05 19-May-2001 Warner Losh <imp@FreeBSD.org>

Note ncurses import and ata ioctl changes.


# a70a79ad 16-May-2001 Warner Losh <imp@FreeBSD.org>

Fix type noticed by jasone


# 09946a51 15-May-2001 Warner Losh <imp@FreeBSD.org>

Note recent windows of breakage.
Note new ata subsystem.
Add additional files for the portmap change.


# 2988afca 13-May-2001 Warner Losh <imp@FreeBSD.org>

DEVFS is opt in not opt out. Warn about July 1.


# 91dd3b53 23-Apr-2001 Warner Losh <imp@FreeBSD.org>

Add warning, and resolution, of the fsck and kernel problem


# 933b3269 21-Apr-2001 Warner Losh <imp@FreeBSD.org>

Catch up to the end of march.
o fsck pass changes
o portmap changes
o fxp needs miibus
o wi defaults to BSS mode.
o urandom and random are the same


# 7595222a 01-Mar-2001 Warner Losh <imp@FreeBSD.org>

Spell deprecated correctly (dufault)
Suggest mergemaster in the 4.x-stable -> current upgrade (fenner)
correct path to hints file (fenner)

Submitted by: dufault, fenner.


# d325cf65 27-Feb-2001 Warner Losh <imp@FreeBSD.org>

It is now safe to go back into the water.


# 024daae6 12-Feb-2001 Warner Losh <imp@FreeBSD.org>

Sigh. Add note about the FILE FIASCO.

Also notes about FFS_ROOT and CD9660_ROOT and DEVFS cautions.

It is not a good time to live in -current.


# 1e159248 22-Jan-2001 Warner Losh <imp@FreeBSD.org>

Note change of KERNEL to KERNCONF for building instructions. Peter
changed this due to the undesirable side effects that putting KERNEL
in /etc/make.conf was having on people's lives. Also update the
instructions as well.


# aac7dfea 17-Jan-2001 Warner Losh <imp@FreeBSD.org>

Catchup from my holiday lull:
o libcrypt not a symlink.
o hw.sndunit -> hw.snd.unit
o burncd / kernel changes
o I386_CPU now mutually exclusive with all other CPU types.


# 5fd2a895 02-Jan-2001 Warner Losh <imp@FreeBSD.org>

Spell while the more traditional way.

Submitted by: knu

Suggest that maybe rebuilding just libc might also work around this.

Suggested by: rgrimes and phk.


# 63c90c9e 02-Jan-2001 Warner Losh <imp@FreeBSD.org>

Note problems with vi core dumping for a comple of days, plus
workaround.


# de2bcc63 18-Dec-2000 Warner Losh <imp@FreeBSD.org>

Add note about ed driver changes impacting the Linksys cards.


# 960773f7 05-Dec-2000 Warner Losh <imp@FreeBSD.org>

Add new ssh pam support and pam.conf requirements.


# 685294e7 16-Nov-2000 Mark Ovens <marko@FreeBSD.org>

Fix a couple of typos

Approved by: Warner


# 0acc635e 03-Nov-2000 Warner Losh <imp@FreeBSD.org>

Try to catchup with my UPDATING backlog:
o cvs 1.11
o /dev/random
o sendmail
o password default change
Please look at these entries and let me know if I've forgotten anything,
or if my understanding doesn't match reality.


# be149406 29-Oct-2000 Nik Clayton <nik@FreeBSD.org>

Fix a typo in a date line. I wouldn't normally ignore MAINTAINER, but the
PR's been assigned to Warner since June.

PR: docs/18835
Submitted by: shirota@mbox.media.nagoya-u.ac.jp


# 6e98a146 08-Oct-2000 Warner Losh <imp@FreeBSD.org>

rm miniperl && cd /usr/ports && cvs update -PAd now recommended


# 073113a4 05-Oct-2000 Warner Losh <imp@FreeBSD.org>

Add upcoming ports layout changes


# be3885b3 17-Sep-2000 Warner Losh <imp@FreeBSD.org>

Note about moving kernel names.


# 01b9a434 16-Sep-2000 Warner Losh <imp@FreeBSD.org>

hint vs hints typo

Submitted by: "Niels Chr. Bank-Pedersen" <ncbp@bank-pedersen.dk>


# 76ec9675 15-Sep-2000 Warner Losh <imp@FreeBSD.org>

Add warning about laptops needing pmtimer device for proper suspend/resume
functionality.


# 38d6ecd2 14-Sep-2000 Warner Losh <imp@FreeBSD.org>

Another Sept 5 change forces a new mountd since the old mountd panics
the kernel, according to Mike Smith.


# f4865386 12-Sep-2000 Mark Murray <markm@FreeBSD.org>

The entropy device is no longer an option in the kernel,
it is a (pseudo-)device. Document this for the upgrading
masses.


# 16eb772d 11-Sep-2000 Warner Losh <imp@FreeBSD.org>

Fix 1.117 as requested by DES, but in a different way. Generally
degrumpify it, and add pointer to module problem that I had hit with a
stale Linux module when I upgraded to SMPNG code.


# d594498f 10-Sep-2000 Warner Losh <imp@FreeBSD.org>

Add warning from Sheldon and others about stale modules
Add warning from markm about randomdev vs random change in loader


# 52bf24e7 08-Sep-2000 Warner Losh <imp@FreeBSD.org>

Add a mild warning for people to expect problems in -current after the
SMPng merge. Suggest 4.x-stable for a while for those people that are
unable or unwilling to cope with problems.

After 6 hours of use tonight, my gut tells me that we're going to have
lots of problems crop up in the coming weeks.


# 0deb7ddc 07-Sep-2000 Warner Losh <imp@FreeBSD.org>

Add note about SMPNG commit.


# 8aab4bc7 07-Sep-2000 Warner Losh <imp@FreeBSD.org>

Revamp boot message. Get the path names right.

Submitted by: "Dampure, Pierre Y." <pierre.dampure@alveley.org>


# 2c021c6c 06-Sep-2000 Mark Ovens <marko@FreeBSD.org>

Fix typos

Approved by: Warner


# 5a01880b 06-Sep-2000 Warner Losh <imp@FreeBSD.org>

NewBSD nsswitch ported to FreeBSD.

Submitted by: "Jacques A. Vidrine" <n@nectar.com>


# 2b41163c 06-Sep-2000 Warner Losh <imp@FreeBSD.org>

First cut at new boot loader.
Rip it to shreds so that it is better, please :-)


# c22a309c 04-Sep-2000 Warner Losh <imp@FreeBSD.org>

Add a note about /etc/aliases moving /etc/mail/aliases and the problems
that causes in updating.

Submitted by: Robert Watson

[[ NB: marko and I are trying an experiment: he'll try to fix typos
quickly in UPDATING, while I concentrate on content. ]]


# f699bbbb 04-Sep-2000 Mark Ovens <marko@FreeBSD.org>

Correct minor typos

PR: 21022
Submitted by: Daniel S. Lewart <d-lewart@uiuc.edu>


# a24eff53 03-Sep-2000 Warner Losh <imp@FreeBSD.org>

Add note about avoiding -j when following the upgrade path. It isn't
strictly verboten, just a recommendation to avoid problems.
Add note about LINT being built from NOTES.


# 9c1a7444 29-Aug-2000 Warner Losh <imp@FreeBSD.org>

Expand information about device.hints. Add information in the
cookbook section about needing to copy GENERIC.hints to
/boot/device.hints, as well as a footnote about exceptions to this
rule.

Partially suggested by: obrien


# fdb9f54d 27-Aug-2000 Warner Losh <imp@FreeBSD.org>

/boot/device.hints is now required.


# 5da0d091 12-Aug-2000 Warner Losh <imp@FreeBSD.org>

New suidperl instructions.


# 8f250aa7 12-Aug-2000 Warner Losh <imp@FreeBSD.org>

Add excellent entry written by gshaprio for his import of Sendmail
8.11.0 into the tree. Good job Gregory!

Submitted by: Gregory Neil Shapiro <gshapiro@freebsd.org>


# 71c38472 10-Aug-2000 Warner Losh <imp@FreeBSD.org>

Add stuff:
o BUILD_SUIDPERL replaces NOSUIDPERL
o New /etc/rc.conf settings for secure networking may require changes
to those upgrading.
o nullfs in loader.conf.


# ba01eb20 09-Aug-2000 Warner Losh <imp@FreeBSD.org>

o Move to recommending the {build,install}kernel targets for updating from
older versions of FreeBSD.
o Continue to document the old way of doing it with a warning stating if that
doesn't work, to do the {build,install}kernel thing.
o minor wordsmithing on what a make world really is.


# 134d2e86 09-Aug-2000 Warner Losh <imp@FreeBSD.org>

Add a reminder note to people to disable third party modules at the
right place in the upgrade proceedure so that they don't get burned by
a crash on reboot.


# bed5c5ff 06-Aug-2000 Warner Losh <imp@FreeBSD.org>

Type in FreeBSD capitalization


# 1dece4a9 06-Aug-2000 Warner Losh <imp@FreeBSD.org>

Add entry on the installkernel changes as well as more grumpy notes
about needing to be on -current to track -current. Tweak the 4.0 ->
4.x version stuff.


# c6dd1430 27-Jul-2000 Warner Losh <imp@FreeBSD.org>

typos from asmodai, one important for device.hints


# f54a3542 19-Jul-2000 Warner Losh <imp@FreeBSD.org>

alex@big.endian.de (Alexander Langer) noticed that I point at LINT,
which no longer exists. Updating the entry accordingly.


# 409e887c 16-Jul-2000 Warner Losh <imp@FreeBSD.org>

Take jdp's excellent message to -current about the internat crypto
files and put it in my freebsd web area. Rewrite the entry in
UPDATING to point to it the message and hopefully not confuse people
like the old one did.


# 673d13f2 12-Jul-2000 Warner Losh <imp@FreeBSD.org>

Two entries:
o Mark M has updated the random device to harvest entropy. Put
instructions to tell people how to cope.
o add entry about phk's malloc changes.


# 2f961bc8 06-Jul-2000 Warner Losh <imp@FreeBSD.org>

Add warning about needing to set SYSDIR to build new kernels after
July 4th due to the new sys/modules/sound/drivers/* being added to the
tree. You will need to do this until you do a make installworld with
my bsd.kmod.mk change.


# e98e26cd 06-Jul-2000 Warner Losh <imp@FreeBSD.org>

Add information on libftpio version backoff. Also mention the crypto
collection changes.


# c373950e 06-Jul-2000 Warner Losh <imp@FreeBSD.org>

o rc.d now use start/stop, and some scripts may produce warnings.
o NOTES replaces LINT. Make a note of it in an older entry.


# 27dc3a2b 30-Jun-2000 Warner Losh <imp@FreeBSD.org>

Note des' libfetch/fetch changes.
Clarify requirements for dev random, et al, from markm's commit.

Initial diffs for the latter by: archie


# b8c215ac 28-Jun-2000 Warner Losh <imp@FreeBSD.org>

Added a dire sounding note about how crypto is required to build the
system. Well, not really required if you know what you are doing, but
there's enough people that don't fit into this class that are getting
burned now that we need to say it is required. The actual message
says that one should treat it as if it was required to try to be
weasilly for the nitpickers amoung us :-)Killed by signal 2.


# 7b990719 25-Jun-2000 Warner Losh <imp@FreeBSD.org>

Add warning about /dev/random disconnecting entropy for a few days while
the code is reworked.


# 81e54c50 25-Jun-2000 Warner Losh <imp@FreeBSD.org>

Add softupdate change info.


# 2a2f33fb 22-Jun-2000 Daniel Baker <dbaker@FreeBSD.org>

Fix typo in the config file update procedure URL and typo in preceding
sentence.


# 39943833 21-Jun-2000 Warner Losh <imp@FreeBSD.org>

bde says we don't need to note in passing the locore stuff.
Scott Flatman <sf@arcanet.com> sent in a step by step buide to updating
the config file. since he was first, he gets his name in lights :-)


# d4c3159a 21-Jun-2000 Warner Losh <imp@FreeBSD.org>

Missed one:

Per grog's suggestion, mention bde's symbol change to the kernel. It
likely isn't a big deal, but should be noted in passing.


# 290f9ad8 21-Jun-2000 Warner Losh <imp@FreeBSD.org>

I felt guilty:
o add note about binutils 2.10 fixing the problems noted on 20000522.
o Add some very brief text to the '612 entry on the config changes.
A better howto would be warmly added to the file.


# f75f65bb 21-Jun-2000 Warner Losh <imp@FreeBSD.org>

Forgot about the bootblocks.


# 90fb6346 21-Jun-2000 Warner Losh <imp@FreeBSD.org>

Note phk's axing of wd compat devices in -current.


# ba26da8e 14-Jun-2000 Warner Losh <imp@FreeBSD.org>

Warn about config's bout with Peter's big axe


# d9583a00 28-May-2000 Warner Losh <imp@FreeBSD.org>

Add note about make.conf's J finding bugs in ld and not to use it for
the moment.


# d65850eb 27-May-2000 Warner Losh <imp@FreeBSD.org>

Add entry for new binutils that are needed to properly rebuild the
kernel.


# 8039cede 16-May-2000 Warner Losh <imp@FreeBSD.org>

All the latest big changes in -current that I could find:
mod depends
modules out of makeworld
ethernet drivers
alpha boot bloocks
Maybe a few others


# 2b8dd5f4 04-May-2000 Warner Losh <imp@FreeBSD.org>

o Make note of brandelf change (obrien)
o Make the ata warning less dire based on more experience. It seems that marginal
disks cause more problems than that chipset singled out. (sos)


# 8d9f1945 04-Apr-2000 Warner Losh <imp@FreeBSD.org>

Add information about the dangarous apollo MPV3 chipset. Several
people have suggested the workaround to me (use only PIO mode) and
I've not seend a message saying ths was fixed. I'll removed the bold
warning stars after the issue is corrected.


# 6d23c382 27-Mar-2000 Warner Losh <imp@FreeBSD.org>

Normally I don't put entries that should have been made months ago
into UPDATING. However, in this case I'm making an exception. I'm
adding a recommendation that people update their boot blocks. Old
boot blocks will cause a system to become unbootable if you have
removed /dev/{,r}wd*.

Submitted by: Jeroen Ruigrok/Asmodai <asmodai@freebsd.org>


# f8ab1dd6 22-Mar-2000 Warner Losh <imp@FreeBSD.org>

Add entry about the isa/pci shim issue.


# 19cada77 21-Mar-2000 Warner Losh <imp@FreeBSD.org>

Massive gut. We're not into 5.0 so remove all 4.x entries from this
file and start over.

Also note that we're in the traditional whack-a-ball kernel model/api
reorg for 5.0 and that one needs to be extra careful about making sure
models and kernels are in sync.


# ba228352 09-Mar-2000 Warner Losh <imp@FreeBSD.org>

Add blurb about perl modules needing recompiling.


# 12cc495a 06-Mar-2000 Warner Losh <imp@FreeBSD.org>

Add openssh and api changes.


# 9e5fefae 22-Feb-2000 Warner Losh <imp@FreeBSD.org>

Slightly improved 3.x -> current instructions.


# 3645fc1c 21-Feb-2000 Warner Losh <imp@FreeBSD.org>

Add 3.x -> 4.0 upgrade instructions
Make it plainer the kernel rebuild required point.

I had thought these changes were already in.


# 92c9724f 06-Feb-2000 Warner Losh <imp@FreeBSD.org>

Enshrine my own personal tantrum to the whole xinstall fiasco.

Inspired by: reading too much -current and updating my laptop accross
the great divide.


# 93e7bcc9 05-Feb-2000 Warner Losh <imp@FreeBSD.org>

Fix details of libipsec, per Jim Bloom.


# 759f0aef 05-Feb-2000 Warner Losh <imp@FreeBSD.org>

Add libipsec shared version regression.
Add section on updating from 3.x
Yet another attempt to explain xinstall problems
Fix typos


# 16de1a07 01-Feb-2000 Warner Losh <imp@FreeBSD.org>

Add entries for recent ipv6 api interface alignment (from shin@freebsd.org)
Clarify xinstall instructions from bde


# dc0dbf5c 30-Jan-2000 Warner Losh <imp@FreeBSD.org>

Add a section at the end called COMMON ITEMS. This is where we'll put
those questions that come up all the time (eg, how do I build a
kernel). This is intended to be a very brief reminder for people that
are basically clueful what the steps are to do these common things.
What it lacks in verbosity it makes up in terseness.


# 37990f36 30-Jan-2000 Warner Losh <imp@FreeBSD.org>

Add info about burncd, c++ changes, the xinstall kludge as well as
correct the buidlworld typo every keeps teasing me about.

I didn't ask Jordan if this was OK, but figured it fell under the
documentation exception in his freeze mail.


# ee2ac360 19-Jan-2000 Warner Losh <imp@FreeBSD.org>

Add recent entries:
CAM version bump
gnu texinfo
pccardd/pccardc recompile to match kernel ioctls


# 0a488c75 16-Jan-2000 Warner Losh <imp@FreeBSD.org>

Fix typos and talk about the controller -> device config file
changes.


# f6517190 08-Jan-2000 Warner Losh <imp@FreeBSD.org>

Spell chown right.

Noticed by: Phil Jenvey and Mike Heffner


# f3a0785b 07-Jan-2000 Warner Losh <imp@FreeBSD.org>

The happy, busy elves have been happily busy again:
sha-1 gone
burncd (and ioctl interface changes)
chown/chgrp moved back


# 0a3f3aa2 06-Jan-2000 Warner Losh <imp@FreeBSD.org>

Fix typos:
named->name: hank@black-hole.com
/etc/rc.conf -> /etc/rc PR: docs/15664 Iiya Naumov

Added radius.conf format change from jdp
Added genassym change from geoff rehmet <geoff@is.co.za>

Yes. I'm still very much the maintainer of this file in -current.


# 5525aae6 19-Dec-1999 Warner Losh <imp@FreeBSD.org>

Add import of ntpd 4.x
Add movement of /etc/sendmail.cf to /etc/mail/sendmail.cf


# fda36f2f 13-Dec-1999 Warner Losh <imp@FreeBSD.org>

Add notes from recent HEADS UP messages:
o soren updated the ata driver. Please use 1213 or newer if
you have problems with the old stuff.
o Enshrine the night of bared axes against wd. Strongly push
users to move to ata driver.
o Alpha users need to recompile klds after 11/29.
o Mention the sound driver bridge code commit of 11/22.
o change examples in 1205 entry from wd to ad.
o Talk about new dc driver replacing all of the drivers that
Bill Paul has ever written.[*]

Corrections to these entries welcome.

[*] Well, at least those based on tulip clones...


# eeef0dd1 06-Dec-1999 Warner Losh <imp@FreeBSD.org>

"raw" -> "block" Block devices have been what are now gone, not "raw"
devices.

Submitted by: David O'Brian


# a2e7fb9f 05-Dec-1999 Warner Losh <imp@FreeBSD.org>

bad144 elimination
bdev removal and its required actions (MAKEDEV)
sd -> da


# e306923f 05-Dec-1999 Poul-Henning Kamp <phk@FreeBSD.org>

Add entry about updating of /dev being desirable.


# 7a92b31c 26-Nov-1999 Warner Losh <imp@FreeBSD.org>

Add poul's md information, in abbreviated form, to the UPDATING file.


# 63f52da7 25-Nov-1999 Warner Losh <imp@FreeBSD.org>

Add note about how hardwiring ep0 will not likely work.

Also correct a small spelling nit from Bill Fumerola.


# 78bcb44a 18-Nov-1999 Bill Fumerola <billf@FreeBSD.org>

Spelling fix.


# 1a50e0c7 17-Nov-1999 Warner Losh <imp@FreeBSD.org>

gcc 2.95.2


# 20d1019b 23-Oct-1999 Chris Costello <chris@FreeBSD.org>

Fix a typo: ``maintain compatible'' -> ``maintain compatibility''


# 25c3f405 15-Oct-1999 Warner Losh <imp@FreeBSD.org>

New pccard kernel config requirement


# 73c86a1f 30-Sep-1999 Warner Losh <imp@FreeBSD.org>

Sort by date, reindent sigset_t entry


# 60dbe536 29-Sep-1999 Warner Losh <imp@FreeBSD.org>

Fix typo in november
Add signal breakage

**** NEW KERNEL NEEDED FOR MAKE WORLD ****


# 5f83e348 08-Sep-1999 Warner Losh <imp@FreeBSD.org>

controller miibus0 is now needed.
Also adjust previous entry to be terminated by a blank line.


# d9806965 06-Sep-1999 Nick Hibma <n_hibma@FreeBSD.org>

Move /var/cron/log to /var/log/cron


# 30e90e8b 31-Aug-1999 Warner Losh <imp@FreeBSD.org>

Forgot Peter's Id->FreeBSD change as well as tn3270 being removed from
the base system and added as a port.


# f8a59eae 31-Aug-1999 Warner Losh <imp@FreeBSD.org>

Add blurb Jonathan Lemmon provided about the new TCP timer values. I
didn't document the couple day window when the units were in terms of
ticks rather than ms.

Also add note about libreadline major version retrograde motion.


# 97d92980 27-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


# 882984b3 01-Aug-1999 Warner Losh <imp@FreeBSD.org>

Add ipfw recompile and bpfilter -> bpf changes


# 7eedd934 01-Aug-1999 Warner Losh <imp@FreeBSD.org>

Note need to recompile pccardd with latest kernel.


# 95d18cfc 06-Jul-1999 Warner Losh <imp@FreeBSD.org>

Spelling nits


# e5bd655a 03-Jul-1999 Warner Losh <imp@FreeBSD.org>

Latest updating changes for softupdates, inetd and newsysconfig.


# ed478e7c 23-Jun-1999 Warner Losh <imp@FreeBSD.org>

Compaq smart raid


# 6ae429ca 23-Jun-1999 Warner Losh <imp@FreeBSD.org>

Ooops. Forgot about kernel config requirement.


# 075eeff2 22-Jun-1999 Warner Losh <imp@FreeBSD.org>

Add latest syscons cleanup.


# a883e9d3 20-Jun-1999 Warner Losh <imp@FreeBSD.org>

Add ipfw binary breakage, as well as inetd updates.


# 07b72539 09-May-1999 Warner Losh <imp@FreeBSD.org>

Add update on the status of new bus.
Add libcam ABI change warning.


# 09fcf3f9 27-Apr-1999 Warner Losh <imp@FreeBSD.org>

Add two recent developments:
pccard is busted
The cool new SMP stuff


# ea31d04d 21-Apr-1999 Warner Losh <imp@FreeBSD.org>

Add entry for newbus. It is rather long, but lots of nits can shoot
people with this upgrade. Lemme know what you think, or any
corrections that should be made to it.

Corrected a few typos based on submissions from various people.

Add note that make aout-to-elf is currently broken and what to do to
work around it. This is implied by make -DWANT_AOUT being broken, but
that isn't obvious to many people.


# d24adca8 14-Apr-1999 Warner Losh <imp@FreeBSD.org>

Clarify the current state of cc -aout:
Compiling -g sometimes doesn't work (from Bruce)
libgcc_r won't build (Jos Backus)
Also mention that make -j n world is working again


# d5ca0636 13-Apr-1999 Warner Losh <imp@FreeBSD.org>

Note that cc -aout has been broken for a while and a reminder to
recompile now that it has been fixed.

Submitted by: Peter Wemm


# 420d4744 12-Apr-1999 Masafumi Max NAKANE <max@FreeBSD.org>

Typo fix, src/sys/gnu/usr.bin/cc -> src/gnu/usr.bin/cc.


# 1f692d40 09-Apr-1999 Warner Losh <imp@FreeBSD.org>

Ooops. Forgot C++ ABI major version bump (aka breakage).


# ff5e1f79 09-Apr-1999 Warner Losh <imp@FreeBSD.org>

In reading -current, I noticed I had overlooked the NOAOUT -> WANT_AOUT
change, which deserves a mention here.


# 81725689 09-Apr-1999 Warner Losh <imp@FreeBSD.org>

Added a whole lot of information on upgrading with egcs and the common
problems discussed in -current up through approx april 7th. Those
more in the know please read these changes and send me corrections.
I've only hit a few of the cases, not all of them, so my reporting is
second hand at best.


# fe9af953 17-Mar-1999 Warner Losh <imp@FreeBSD.org>

Add pointer sys/boot/README for new boot system (this should be in a
man page, but I take what I can get)
Submitted by: chuckr

Add warning that vn can't be a loadable module for a while
Submitted by: dillon

Add name change for old atapi cd driver
Submitted by: sos


# ce32355f 09-Mar-1999 Warner Losh <imp@FreeBSD.org>

Mention new loader.rc. Point people at the updated man pages for more
details.


# f8c77507 26-Feb-1999 Warner Losh <imp@FreeBSD.org>

Note struct proc size change from Mark Newton.


# 7dd38e55 16-Feb-1999 Warner Losh <imp@FreeBSD.org>

Catch up with the past week:
Add better text for the ppbus changes
Add note about libdevstat changing forcing a recompile of some
things in the tree as well as ports that use devstat.

Thanks to those people that used HEADS UP in their message. Large,
rabid mammals to those that wanted to beat the /etc/rc* horse with the
phrase "heads up" in the subject line.


# 0edeb9e7 15-Feb-1999 Warner Losh <imp@FreeBSD.org>

nlpt -> lpt changes. Point at the man page, but refrain from
suggesting course of action if man page proves unhelpful.


# 1fc1a0dc 13-Feb-1999 Warner Losh <imp@FreeBSD.org>

lpt -> nlpt and ppbus due to Dag's changes.

Submitted by: Joseph Koshy <jkoshy@FreeBSD.ORG>

P.S. Forgive the delay on committing this. I've been out of town at
a funeral until just a few minutes ago.


# 9a3105ee 25-Jan-1999 Warner Losh <imp@FreeBSD.org>

o Add info about Julian's Linux Threads checkin (one of these
days I'm going to write a make kvm top level target).
o Add warning about the
short lived boot block breakage and briefly what to do to
fix it.


# 3652181c 21-Jan-1999 Warner Losh <imp@FreeBSD.org>

Nits.


# 8cd37f69 21-Jan-1999 Warner Losh <imp@FreeBSD.org>

Add notes about:
vinum changes
Matt Dillon's massive changes to vm_*.c
The great RELENG_3 branch event


# ad56ea87 19-Jan-1999 Warner Losh <imp@FreeBSD.org>

Add note about the need to reconfigure kernel for some new syscons
cahnges that kazu-san has committed, culled from his HEADS UP message
to -current.


# 7dafbc29 17-Jan-1999 Warner Losh <imp@FreeBSD.org>

Remove stray </a> html markers left in last commit.

Submitted by: "Philippe Charnier" <charnier@xp11.frmug.org>


# 57199806 13-Jan-1999 Warner Losh <imp@FreeBSD.org>

After much negative feedback, go back to plain ASCII for this file.


# 9857e582 12-Jan-1999 Warner Losh <imp@FreeBSD.org>

Convert to HTML. Verified to work on Netscape 4.5 and Netscape
3.something. We were getting a lot of URL links in this file and it
seemed like a good idea to convert this file to html so people can
follow them easily.

This does not use the doc tools to generate. I'm doing it all by hand
at the moment.


# a85c0f55 11-Jan-1999 Warner Losh <imp@FreeBSD.org>

Add notes about the new console system and a pointer to the changes
required by it.

Submitted by: Kazutaka YOKOTA (with minor edits by me)


# 0061cc04 06-Jan-1999 Warner Losh <imp@FreeBSD.org>

Add pointer to mergemaster.

Submitted by: Jaye Mathisen <mrcpu@internetcds.com>

Also minor formatting nits.


# db23c94f 06-Jan-1999 Warner Losh <imp@FreeBSD.org>

Add Robert Nordier's boot block URL.


# 9ba54ae0 06-Jan-1999 Warner Losh <imp@FreeBSD.org>

More Elven advice:
Update /etc/rc* if you are going to run a system with aout
libraries, otherwise ldconfig won't know what to do and all dynamic
aout binaries will fail.


# 355edc3e 05-Jan-1999 Warner Losh <imp@FreeBSD.org>

On Dec 24 the wcd driver was removed. The new driver is acd. Make a
note of this in the updating file. Put it under the 19981224 date
rather than today's date, since that was when the change was.

Submitted by: Gregory Bond <gnb@itga.com.au>

Also added note about floppy tape driver. Didn't add note about
voxware or pcvt as they have been restored to the kernel.


# 2c558794 04-Jan-1999 Warner Losh <imp@FreeBSD.org>

Add a poitner to Peter's page on the ELF migration day. This is the
day when the elves sail accross the sea to a new home, which happens
to be in your computer. They will sing glorious songs for the Eldar
days. You machine will shun the darkness that is upon the world.

Errrm, well actually you won't even notice...

Submitted by: peter
Appologies to: tokien


# e363c17b 31-Dec-1998 Warner Losh <imp@FreeBSD.org>

Added notes about upcoming uid/gid mta for the postfix integration.
Suggested by: peter

Also reworked the 981230 section in light of a better understanding of
what is in the pipeline.


# d5513f53 30-Dec-1998 Warner Losh <imp@FreeBSD.org>

Add impending flag day for ELF. Make notes about elf userland and elf
kernel forced migration happening soon.

While still incomplete, and there may be showstoppers along the way,
the advise given here is not incorrect.

Submitted indirectly by: jdk, peter wemm


# ab308df6 23-Dec-1998 Warner Losh <imp@FreeBSD.org>

Added new users/group that Matt Dillan added. While not strictly
necessary due to later changes to the tree, they may someday be
required.


# 53dfde79 14-Dec-1998 Warner Losh <imp@FreeBSD.org>

This file contains minimal instructions for the moderately clueful to
update their systems from prior versions of FreeBSD. It is only for
November 18, 1998 and newer systems. If you have an older system, you
are on your own.

I'll update this from time to time, and if it shows signs of bitrot
I'll kill it.