xref: /freebsd/UPDATING (revision 376508ef2f794a57606a791166f1ce7f20d3ccaf)
1Updating Information for users of FreeBSD-CURRENT.
2
3This file is maintained and copyrighted by M. Warner Losh <imp@freebsd.org>.
4See end of file for further details.  For commonly done items, please see the
5COMMON ITEMS: section later in the file.  These instructions assume that you
6basically know what you are doing.  If not, then please consult the FreeBSD
7handbook:
8
9    https://docs.freebsd.org/en/books/handbook/cutting-edge/#makeworld
10
11Items affecting the ports and packages system can be found in
12/usr/ports/UPDATING.  Please read that file before updating system packages
13and/or ports.
14
15NOTE TO PEOPLE WHO THINK THAT FreeBSD 16.x IS SLOW:
16	FreeBSD 16.x has many debugging features turned on, in both the kernel
17	and userland.  These features attempt to detect incorrect use of
18	system primitives, and encourage loud failure through extra sanity
19	checking and fail stop semantics.  They also substantially impact
20	system performance.  If you want to do performance measurement,
21	benchmarking, and optimization, you'll want to turn them off.  This
22	includes various WITNESS- related kernel options, INVARIANTS, malloc
23	debugging flags in userland, and various verbose features in the
24	kernel.  Many developers choose to disable these features on build
25	machines to maximize performance.  (To completely disable malloc
26	debugging, define WITH_MALLOC_PRODUCTION in /etc/src.conf and rebuild
27	world, or to merely disable the most expensive debugging functionality
28	at runtime, run "ln -s 'abort:false,junk:false' /etc/malloc.conf".)
29
3020251012:
31	Blacklist has been renamed upstream to Blocklist.  If you have it
32	configured, rename all configuration files, firewall anchors or
33	sentinel files to reflect the new nomenclature.  Old setups will
34	continue to work emitting a warning.
35
3620251002:
37	Audio-related utilities including mixer(8) and virtual_oss(8) have
38	moved to the new FreeBSD-sound package.  If you have set-optional or
39	set-base installed this package will be installed automatically,
40	otherwise you should install it manually if you need these utilities.
41
4220250929:
43	Both drm-kmod and nividia-drm ports had to be updated to either no
44	longer conflict on LinuxKPI vs. native PCI changes and/or to keep
45	working after some LinuxKPI PCI adjustments which were previously
46	hidden behind native PCI.
47	Bump __FreeBSD_version 1600001 so users will pick up updated packages.
48
4920250929:
50	The deprecated ftpd(8) has been removed.  Users who still need ftpd
51	can install the ftp/freebsd-ftpd port.  pkgbase users should remove
52	the orphaned FreeBSD-ftpd package.
53
5420250923:
55	Several changes which affect pkgbase users (only):
56
57	powerd has been moved to a new FreeBSD-powerd package.  If you have
58	FreeBSD-set-minimal installed, the new package will be installed
59	automatically, otherwise you may want to install it by hand.
60
61	libpmc and related utilities (/usr/sbin/pmc*) have moved to the new
62	FreeBSD-pmc package.  If you use these, you may want to install the
63	package.
64
65	The libbz2 package has been renamed to bzip2, and /usr/bin/bzip2 has
66	been moved to the new package.  If you have set-minimal installed,
67	the new package will be added automatically, otherwise you may want
68	to manually install it.
69
70	This only affects pkgbase users.
71
7220250918:
73	mandoc (including /usr/bin/man) has been moved to a new package,
74	FreeBSD-mandoc.  If you have the minimal set installed, this package
75	will be installed automatically, otherwise you may want to install it.
76
77	Kyua has been moved to the FreeBSD-kyua package, and ATF has been moved
78	to the FreeBSD-atf* packages.  If you have FreeBSD-tests installed,
79	these packages will be installed automatically, otherwise you should
80	manually install them if you need these tools.
81
82	This only affects pkgbase users.
83
8420250912:
85	If SRCCONF is unset and a file named src.conf is present at
86	the top of the source tree, it will now be used instead of
87	/etc/src.conf.
88
8920250907:
90	The MANSPLITPKG knob has been turned off by default, so pkgbase builds
91	will no longer generate "-man" subpackages; instead the manpages will
92	be shipped in the packages they belong to.  If you want to continue
93	building split man packages, set WITH_MANSPLITPKG=1.
94
9520250905:
96	FreeBSD 16.0-CURRENT.
97
9820250903:
99	The BLOAT_KERNEL_WITH_EXTERR kernel config option has been renamed to
100	EXTERR_STRINGS.
101
10220250827:
103	The names of pkg repositories defined in /etc/pkg/FreeBSD.conf have
104	changed: "FreeBSD" is now "FreeBSD-ports", and "FreeBSD-kmods" is now
105	"FreeBSD-ports-kmods".  Users with /usr/local/etc/pkg/repos files
106	which override these will need to adjust their configuration to match
107	the new names.
108
10920250823:
110	The set of pkgbase packages for Kerberos and OpenSSL has changed.
111	After updating past 250e77d4f0a5, you should check 'pkg orphans'
112	and remove any orphaned packages, then examine the output of
113	'pkg install -r base -g FreeBSD-openssl\* FreeBSD-kerberos\*'
114	and install any new packages you need.
115
11620250823:
117	To restore bridge(4)'s ABI compatibility with ifconfig from 14.x or
118	earlier, the size of struct ifbreq has changed, so you must update
119	the kernel and /sbin/ifconfig at the same time or you will not be
120	able to add interfaces to bridge.  This is particularly important
121	if you require bridge for network access during boot, in which case
122	you should install the new kernel and the new /sbin/ifconfig prior
123	to rebooting.
124
12520250820:
126	The WITHOUT_GSSAPI src.conf knob has been removed.  This was already
127	a no-op for MIT Kerberos, so this only affects builds which set
128	WITHOUT_MITKRB5=1, in which case you now always get libgssapi.
129
130	Also, Heimdal's compile_et and libcom_err are now controlled by
131	WITHOUT_KERBEROS, not WITHOUT_KERBEROS_SUPPORT.  This matches
132	the behaviour of the MIT Kerberos versions.
133
13420250820:
135	Commits 08c7dd2fbe4f and a4197ea47777 have changed the ABI between
136	libvmmapi and the vmm device. If using a custom kernel configuration,
137	please ensure that the COMPAT_FREEBSD14 option is included so older
138	versions of libvmmapi continue working as expected.
139
14020250819:
141	The CLEAN option has been switched back from default-on to default-off.
142	This reverts the 20250808 change below, which had reverted the 20240729
143	change before it.  Note that some src.conf(5) options are known to break
144	ABI or compatibility in ways that may require a clean build initially
145	when switched.
146
14720250816:
148	Sendmail's libmilter has been moved to its own package.  If you want
149	to compile applications that use libmilter, you should install the
150	FreeBSD-libmilter* packages.
151
152	If you only have FreeBSD-sendmail installed for applications that
153	require libmilter, you can now remove it.
154
15520250815:
156	The [gs]etgroups(2)syscalls have changed. To maintain backwards
157	compatibility with existing programs, you need COMPAT_FREEBSD14 in
158	your kernel config until all applications which use this are
159	rebuild/reinstalled.
160
16120250815:
162	jemalloc 5.3.0 has been committed to the tree.
163
16420250815:
165	The removal of Secure RPC DES authentication noted in 20250810
166	has been reverted.  (However, it is still non-functional.)
167
16820250813:
169	Commit cce64f2e6851 changed the internal KAPI between the NFS
170	modules.  As such, all of them need to be rebuilt from sources.
171	__FreeBSD_version has been bumped to 1500060 already today,
172	 so I will not bump it again for this.
173
17420250813:
175	The gpiobus_attach_bus() function has been removed. Drivers should now
176	use the gpiobus_add_bus() function instead. The difference being that
177	gpiobus_add_bus() doesn't call bus_attach_children(), calling it will
178	be the responsibility of the caller now.
179
18020250810:
181	Support for Secure RPC DES authentication has been removed.
182	The keyserv(8) daemon was already removed, but support for it in libc
183	has also been removed, so if you somehow still had keyserv installed,
184	it will now stop working.  There is no workaround for this.  Removing
185	DES is considered a feature.
186
18720250808:
188	The CLEAN option has been switched back from default-off to
189	default-on.  This reverts the 20240729 change below.
190
19120250807:
192	routed(8) and route6d(8) have moved to the FreeBSD-rip package.
193	If you use either of these, you should install the new package.
194
19520250806:
196	if_epair(4) now uses ether_gen_addr(9) to generate a stable MAC
197	address.
198	To keep using the random address, set the loader tunable
199	net.link.epair.ether_gen_addr=0.
200
20120250804:
202	bsdconfig (including sysrc(8)) has moved to the new bsdconfig
203	package.  If you use pkgbase and wish to use bsdconfig, you should
204	install FreeBSD-bsdconfig.
205
20620250730:
207	The usbhid(4) USB HID driver is now enabled by default, and will be
208	used in preference to other USB HID drivers like ukbd(4), ums(4), and
209	uhid(4).  Work on a FIDO/U2F driver and moused(8) is in progress.
210	The default is being switched now so that we can find and fix any
211	additional issues prior to FreeBSD 15.0.
212
213	To revert to the previous USB HID driver behavior, set the loader
214	tunable hw.usb.usbhid.enable=0.
215
21620250727:
217	bmake (i.e., /usr/bin/make and /usr/share/mk) has moved to a new
218	package, FreeBSD-bmake.  If you use pkgbase and you need make, you
219	should install this package.
220
22120250726:
222	amd64 kernel configurations must contain "options SMP".
223
22420250725:
225	gssd(8) has been moved to a new package, FreeBSD-gssd.  If you use
226	pkgbase and you need gssd, you should install this package.
227
22820250724:
229	The Kerberos packages which are built when WITH_MITKRB5 is enabled
230	have been renamed from FreeBSD-krb5* to FreeBSD-kerberos*.  This
231	affects pkgbase users who manually enabled WITH_MITKRB5, *or* use
232	the default value of WITH_MITKRB5 and updated past c7da9fb90b0b
233	(20250721) which made WITH_MITKRB5 the default.
234
235	In either case, if you have FreeBSD-krb5* packages installed, you
236	should remove them and (re)install the equivalent FreeBSD-kerberos*
237	packages instead.
238
23920250721:
240	WITH_MITKRB5 is now enabled by default. MIT KRB5 has replaced
241	Heimdal in base. Ports that use USES=gssapi must be rebuilt.
242	A clean buildworld is required.
243
24420250719:
245	Commits 392a82b225 and c00baac0ab both changed the
246	internal API between the NFS modules.  As such, all
247	these modules need to be rebuilt from sources.
248	__FreeBSD_version was bumped to 1500053 for this.
249
25020250710:
251	The shar(1) utility has been removed from base.  The
252	sysutils/freebsd-shar port was created to maintain this version of
253	shar(1) past its removal from base.
254
25520250704:
256	LinuxKPI device.h and acpi changes effecting drivers and drm-kmod.
257	Bump __FreeBSD_version 1500050 to be able to detect these changes.
258
25920250630:
260	Commits 171f66b0c2ca and 8e2a90ac8089 changed the internal
261	api between nfscommon.ko and the other nfs modules.
262	Bump __FreeBSD_version to 1500049 for this.
263	All NFS related modules must be rebuilt from up-to-date
264	sources.
265
26620250625:
267	"make delete-old" will now remove the Forth bootloader entirely
268	if the system is built with WITHOUT_FORTH.
269
27020250614:
271	MIT KRB5 (MIT Kerberos5) has been imported into 15-CURRENT. To
272	and install MIT KRB5, add WITH_MITKRB5=yes to /etc/src.conf. This
273	will build and install MIT KRB5 1.21.3. And it will remove Heimdal
274	1.5.2 when delete-old and delete-old-libs are run. To revert back
275	simply buildworld/installworld again with delete-old-libs and
276	delete-old.
277
278	At the moment we only know of a couple of ports that might be
279	affected. Adjusting libmap.conf does not circumvent runtime issues.
280	The few affected ports must be rebuilt. A successful exp-run will be
281	run before MIT KRB5 becomes default.
282
283	Those using the KDC in FreeBSD base may wish to wait. The Heimdal
284	HDB is incompatible with the MIT KRB5 KDC. The migration procedure
285	is a little involved.
286
28720250603:
288	LinuxKPI dma-mapping.h were pulled into the tree from drm-kmod.
289	Bump _FreeBSD_version to 1500045 to be able to detect this change.
290
29120250527:
292	pf changed extension header handling. It now treats AH headers on IPv4 just
293	like AH headers on IPv6 and skips over them, allowing filtering on the inner
294	protocol.
295
29620250527:
297	pf now blocks IPv6 packets with a hop-by-hop or destination options header by
298	default. Such packets can be passed by adding "allow-opts" to the rule. IPv6
299	options are now handled just like their IPv4 counterparts.
300
30120250527:
302	The CAM target layer userland, i.e. ctld(8), ctladm(8) and ctlstat(8),
303	has moved to the new FreeBSD-ctl package.  If you use pkgbase and you
304	need the CAM Target Layer, you should install the new package.
305
306	Development-related tools (e.g. ar and nm) have moved to the new
307	"FreeBSD-toolchain" package, which subsumes and obsoletes the
308	existing "FreeBSD-elftoolchain" package.  If you use pkgbase and
309	need to compile software, you should install the new package and
310	ensure the old FreeBSD-elftoolchain* packages are completely removed.
311
31220250521:
313	Commit e64fe5ad3a23 removed in6_maxmtu and its setter in6_setmaxmtu().
314	in6_maxmtu is used to store the max IPv6 MTU of all interfaces,
315	however it does not have any in-tree consumers since the introduction
316	from the KAME project. The removal should have little impact, and the
317	max IPv6 MTU can be easily retrieved by iterating over all the attached
318	interface if 3rd party modules need it.
319
32020250515:
321	Commit 772258c89f28 changed the internal API between the nfscommon
322	and nfscl modules.  Both need to be built from updated sources.
323
32420250513:
325	The bridge(4) sysctl net.link.bridge.member_ifaddrs now defaults to 0,
326	meaning that interfaces added to a bridge may not have IP addresses
327	assigned.  Refer to bridge(4) for more information.
328
32920250507:
330	UMASS quirks and auto-quirk probing has been overhauled. CAM now won't
331	send SYNCHRONIZE CACHE unless MODE PAGE 8 is present and valid. This
332	should allow more devices to work (since the auto quirk code was updated
333	in 14 and broke several e-readers and the like). Please send imp@freebsd.org
334	any regression reports.
335
33620250504:
337	Commit 9419e086e1a3 changed the internal API between the nfscommon
338	and nfscl modules.  Both need to be built from updated sources.
339
34020250412:
341	LinuxKPI alloc routines were changed to return physically contiguous
342	memory where expected. These changes may require out-of-tree drivers
343	to be recompiled.
344	Bump __FreeBSD_version to 1500037 to be able to detect this change.
345
34620250409:
347	Intel iwlwifi firmware has been removed from the src repository.
348	Before updating their system, users of iwlwifi(4) or iwx(4) must
349	install the appropriate firmware for their chipset using fwget(8) or
350	building it from ports.
351
35220250314:
353	We now use LLVM's binary utilities (nm, objcopy, etc.) by default.
354	The WITHOUT_LLVM_BINUTILS src.conf(5) knob can be used to revert to
355	ELF Tool Chain tools if desired.
356
35720250303:
358	Commit 4a77657cbc01 changed the ABI between ipfw(8) and ipfw(4).
359	Please note that the old ipfw(8) binary will not work with the new
360	ipfw(4) module. Therefore, it is recommended to disable ipfw during
361	the upgrade, otherwise the host system may become inaccessible because
362	ipfw rules cannot be installed with the old binary.
363
36420250214:
365	Commit 4517fbfd4251 modified the internal API between the
366	nfscommon and nfscl modules.  As such, both of these modules
367	need to be rebuilt from sources.
368
36920250201:
370	The NFS related daemons, that provide RPC services to the kernel:
371	gssd(8), rpcbind(8), rpc.tlsservd(8) and rpc.tlsclntd(8), now use a
372	different transport - netlink(4) socket instead of unix(4).  Users of
373	NFS need to upgrade both kernel and world (binaries and libc) at once.
374	Also, any revision between 88cd1e17a7d8 and 99e5a70046da should be
375	avoided.
376
37720250129:
378	Defer the January 19, 2038 date limit in UFS1 filesystems to
379	February 7, 2106. This affects only UFS1 format filesystems.
380	See commit message 1111a44301da for details.
381
38220250127:
383	The Allwinner a10_timer driver has been renamed to aw_driver. If you
384	have a custom kernel configuration including the line 'device
385	a10_timer', it must be adjusted to 'device aw_timer'. The same applies
386	for device exclusions with 'nodevice'.
387
38820250106:
389	A new SOC_ROCKCHIP options appeared, so if you have a custom kernel configuration
390	targeting Rockchip SoC you need to add it so shared and mandatory drivers for
391	this SoC family will be selected.
392	Also a new rk8xx device was added, this select the base driver for Rockchip PMIC.
393
39420241223:
395	The layout of NFS file handles for the tarfs, tmpfs, cd9660, and ext2fs
396	file systems has changed.  An NFS server that exports any of these file
397	systems will need its clients to unmount and remount the exports.
398
39920241216:
400	The iwm(4) firmwares are no longer compiled as kernel modules but instead
401	shipped as raw files. For pkgbase users if you use iwm(4) you will need
402	to install the FreeBSD-firmware-iwm package.
403
40420241124:
405	The OpenBSD derived bc and dc implementations and the WITHOUT_GH_BC
406	option that allowed building them instead of the advanced version
407	imported more than 4 years ago have been removed.
408
40920241107:
410	The ng_ubt(4) driver now requires firmwares to be loaded on Realtek
411	adaptors with rtlbtfw(8) utility. It no longer attaches to devices
412	standing in bootloader mode. Firmware files are available in the
413	comms/rtlbt-firmware port.
414
41520241025:
416	The support for the rc_fast_and_loose variable has been removed from
417	rc.subr(8). Users setting rc_fast_and_loose on their systems are
418	advised to make sure their customizations to rc service scripts
419	do not depend on having a single shell environment shared across
420	all the rc service scripts during booting and shutdown.
421
42220241013:
423	The ciss driver was updated to cope better with hotplug events that
424	caused it to panic before, and to support more than 48 drives attached
425	to the card. These changes were made w/o benefit of hardware for testing
426	and ciss(4) users should be on the lookout for regressions.
427
42820240729:
429	The build now defaults to WITHOUT_CLEAN - i.e., no automatic clean
430	is performed at the beginning of buildworld or buildkernel.  The
431	WITH_CLEAN src.conf(5) knob can be used to restore the previous
432	behaviour.
433
434	If you encounter incremental build issues, please report them to the
435	freebsd-current mailing list so that a special-case dependency can be
436	added, if necessary.
437
43820240715:
439	We now lean more heavily on ACPI enumeration for some traditional
440	devices. uart has moved from isa to acpi so the hints act as wiring
441	instead of device enumeration. Hints for parallel port, floppy, etc
442	have been removed.  Before upgrading, grep your dmesg for lines like:
443		uart1: non-PNP ISA device will be removed from GENERIC in FreeBSD 15.
444	to see if you need to start including hints for the device on isa
445	in your loader.conf or device.hints file. APU1 (but not APU2) boards
446	are known to be affected, but there may be others.
447
44820240712:
449	Support for armv6 has been disconnected and is being removed.
450
45120240617:
452	ifconfig now treats IPv4 addresses without a width or mask as an error.
453	Specify the desired mask or width along with the IP address on the
454	ifconfig command line and in rc.conf.
455
45620240428:
457	OpenBSM auditing runtime (auditd, etc.) has been moved into the new
458	package FreeBSD-audit.  If you use OpenBSM auditing and pkgbase, you
459	should install FreeBSD-audit.
460
46120240424:
462	cron, lpr, and ntpd have been moved from FreeBSD-utilities into their
463	own packages.  If you use pkgbase, you should install the relevant
464	packages: FreeBSD-cron, FreeBSD-lp, or FreeBSD-ntp.
465
46620240406:
467	Clang, llvm, lld, lldb, compiler-rt, libc++, libunwind and openmp have
468	been upgraded to 18.1.6. It is important that you run `make delete-old`
469	as described in the COMMON ITEMS section, otherwise several libc++
470	headers that are obsolete and need to be removed can cause compilation
471	errors in C++ programs.
472
47320240205:
474	For dynamically linked programs, system calls are now made from
475	libsys rather than libc.  No change in linkage is required as
476	libsys is an auxiliary filter for libc.  People building custom
477	images must ensure that libsys.so.7 is included.
478
47920240202:
480	Loader now also read configuration files listed in local_loader_conf_files.
481	Files listed here are the last ones read. And /boot/loader.conf.local was
482	moved from loader_conf_files to local_loader_conf_files leaving only
483	loader.conf and device.hints in loader_conf_files by default.
484
485	The following sequencing is applied:
486
487	1. Bootstrap:
488	    /boot/defaults/loader.conf
489
490	2. Read loader_conf_files files:
491	    /boot/device.hints
492	    /boot/loader.conf
493
494	3. Read loader_conf_dirs files:
495	    /boot/loader.conf.d/*.conf
496
497	4. And finally, rread local_loader_conf_files files:
498	    /boot/loader.conf.local
499
50020240201:
501	sendmail 8.18.1 has been imported and merged.  This version enforces
502	stricter RFC compliance by default, especially with respect to line
503	endings.  This may cause issues with receiving messages from
504	non-compliant MTAs; please see the first 8.18.1 release note in
505	contrib/sendmail/RELEASE_NOTES for mitigations.
506
50720240111:
508	Commit cc760de2183f changed the internal interface between
509	the nfscommon and nfscl modules.  As such, both need to be
510	rebuilt from sources.  Therefore, __FreeBSD_version was
511	bumped to 1500010.
512
51320231120:
514	If you have an arm64 system that uses ACPI, you will need to update your
515	loader.efi in the ESP when you update past this point.  Detection of ACPI
516	was moved earlier in the binary so the scripts could use it, but old
517	binaries don't have this, so we default to 'no ACPI' in this case. You can
518	undisable ACPI by doing
519		OK unset hint.acpi.0.disabled
520	This can also be used to recover any other system that was updated in the
521	small window where amd64 was also broken.
522
52320231113:
524	The WITHOUT_LLD_IS_LD option has been removed.  When LLD is enabled
525	it is always installed as /usr/bin/ld.
526
52720231027:
528	Forward compatibility (running the new code on old kernels) for the
529	"ino64" project have been removed. The need for it has passed long ago.
530
53120231018:
532	Commit 57ce37f9dcd0 changed the internal KAPI between the
533	nfscommon and nfscl modules.  Both must be rebuilt from sources.
534
53520231010:
536	dialog(1) has been replaced in base by bsddialog(1), while most of the
537	time replacing a dialog(1) call by a bsddialog(1) call works out of the
538	box, bsddialog(1) is not considered as a drop-in replacement for
539	dialog(1).
540
541	If you do depend on dialog(1) functionality, please install cdialog
542	from ports:
543
544	pkg install cdialog
545
54620230927:
547	The EARLY_AP_STARTUP kernel option is mandatory on x86.  The option
548	has been added to DEFAULTS, so it should automatically be included in
549	custom kernel configurations without any additional change.
550
55120230922:
552	A new loader tunable net.pf.default_to_drop allows pf(4)’s default
553	behaviour to be changed from pass to drop. Previously this required
554	recompiling the kernel with the option PF_DEFAULT_TO_DROP.
555
55620230914:
557	Enable splitting out pkgbase manpages into separate packages by
558	default. To disable this, set WITHOUT_MANSPLITPKG=yes in src.conf.
559
56020230911:
561	Move standard include files to the clibs-dev package and move clang
562	internal libraries and headers to clang and clang-dev. Upgrading systems
563	installed using pkgbase past this change involves extra steps to allow
564	for these file moves:
565
566		pkg upgrade -y FreeBSD-utilities
567		pkg upgrade -y FreeBSD-utilities-dev
568		pkg upgrade -y
569
57020230909:
571	Enable vnet sysctl variables to be loader tunable. SYSCTLs which
572	belongs to VNETs can be initialized during early boot or module
573	loading if they are marked with CTLFLAG_TUN and there are
574	corresponding kernel environment variables.
575
57620230901:
577	The WITH_INIT_ALL_PATTERN and WITH_INIT_ALL_ZERO build options have
578	been replaced by INIT_ALL=pattern and INIT_ALL=zero respectively.
579
58020230824:
581	FreeBSD 15.0-CURRENT.
582
58320230817:
584	Serial communication (in boot loaders, kernel, and userland) has
585	been changed to default to 115200 bps, in line with common industry
586	practice and typical firmware serial console redirection
587	configuration.
588
589	Note that the early x86 BIOS bootloader (i.e., boot0sio) does not
590	support rates above 9600 bps and is not changed. boot0sio users may
591	set BOOT_COMCONSOLE_SPEED=9600 to use 9600 for all of the boot
592	components, or use the standard boot0 and have the boot2 stage start
593	with the serial port at 115200.
594
59520230807:
596	Following the general removal of MIPS support, the ath(4) AHB bus-
597	frontend has been removed, too, and building of the PCI support is
598	integrated with the ath(4) main module again. As a result, there's
599	no longer a need for if_ath_pci_load="YES" in /boot/loader.conf or
600	"device ath_pci" in the kernel configuration.
601
60220230803:
603	MAXCPU has been increased to 1024 in the amd64 GENERIC kernel config.
604	Out-of-tree kernel modules will need to be rebuilt.
605
60620230724:
607	CAM has been mechanically updated s/u_int(64|32|16|8)_t/uint\1_t/g
608	to move to the standard uintXX_t types from the old, traditional
609	BSD u_intXX_t types. This should be a NOP, but may cause problems
610	for out of tree changes. The SIMs were not updated since most of
611	the old u_intXX_t uses weren't due to CAM interfaces.
612
61320230713:
614	stable/14 branch created.
615
61620230629:
617	The heuristic for detecting old chromebooks with an EC bug that requires
618	atkbdc driver workarounds has changed. There should be no functional
619	change, but if your old chromebook's keyboard stops working, please
620	file a PR and assign it to imp.
621
62220230623:
623	OpenSSL has been updated to version 3.0, including changes throughout
624	the base system.  It is important to rebuild third-party software
625	after upgrading.
626
62720230619:
628	To enable pf rdr rules for connections initiated from the host, pf
629	filter rules can be optionally enabled for packets delivered
630	locally. This can change the behavior of rules which match packets
631	delivered to lo0. To enable this feature:
632
633		sysctl net.pf.filter_local=1
634		service pf restart
635
636	When enabled, its best to ensure that packets delivered locally are not
637	filtered, e.g. by adding a 'skip on lo' rule.
638
63920230613:
640	Improvements to libtacplus(8) mean that tacplus.conf(5) now
641	follows POSIX shell syntax rules. This may cause TACACS+
642	authentication to fail if the shared secret contains a single
643	quote, double quote, or backslash character which isn't
644	already properly quoted or escaped.
645
64620230612:
647	Belatedly switch the default nvme block device on x86 from nvd to nda.
648	nda created nvd compatibility links by default, so this should be a
649	nop. If this causes problems for your application, set hw.nvme.use_nvd=1
650	in your loader.conf or add `options NVME_USE_NVD=1` to your kernel
651	config. To disable the nvd compatibility aliases, add
652	kern.cam.nda.nvd_compat=0 to loader.conf.  The default has been nda on
653	all non-x86 platforms for some time now. If you need to fall back,
654	please email imp@freebsd.org about why.
655
656	Encrypted swap partitions need to be changed from nvd to nda if you
657	migrate, or you need to use the above to switch back to nvd.
658
65920230422:
660	Remove portsnap(8).  Users are encouraged to obtain the ports tree
661	using git instead.
662
66320230420:
664	Add jobs.mk to save typing. Enables -j${JOB_MAX} and logging
665	eg.
666		make buildworld-jobs
667	runs
668		make -j${JOB_MAX} buildworld > ../buildworld.log 2>&1
669
670	where JOB_MAX is derived from ncpus in local.sys.mk if not set in env.
671
67220230316:
673	Video related devices for some arm devices have been renamed.
674	If you have a custom kernel config and want to use hdmi output on
675	IMX6 board you need to add "device dwc_hdmi" "device imx6_hdmi" and
676	"device imx6_ipu" to it.
677	If you have a custom kernel config and want to use hdmi output on
678	TI AM335X board you need to add "device tda19988" to it.
679	If you add "device hdmi" in it you need to remove it as it doesn't
680	exist anymore.
681
68220230221:
683	Introduce new kernel options KBD_DELAY1 and KBD_DELAY2. See atkbdc(4)
684	for details.
685
68620230206:
687	sshd now defaults to having X11Forwarding disabled, following upstream.
688	Administrators who wish to enable X11Forwarding should add
689	`X11Forwarding yes` to /etc/ssh/sshd_config.
690
69120230204:
692	Since commit 75d41cb6967 Huawei 3G/4G LTE Mobile Devices do not default
693	to ECM, but NCM mode and need u3g and ucom modules loaded. See cdce(4).
694
69520230130:
696	As of commit 7c40e2d5f685, the dependency on netlink(4) has been added
697	to the linux_common(4) module. Users relying on linux_common may need
698	to compile netlink(4) module if it is not present in their kernel.
699
70020230126:
701	The WITHOUT_CXX option has been removed. C++ components in the base
702	system are now built unconditionally.
703
70420230113:
705	LinuxKPI pci.h changes may require out-of-tree drivers to be recompiled.
706	Bump _FreeBSD_version to 1400078 to be able to detect this change.
707
70820221212:
709	llvm-objdump is now always installed as objdump.  Previously there was
710	no /usr/bin/objdump unless the WITH_LLVM_BINUTILS knob was used.
711
712	Some LLVM objdump options have a different output format compared to
713	GNU objdump; readelf is available for inspecting ELF files, and GNU
714	objdump is available from the devel/binutils port or package.
715
71620221205:
717	dma(8) has replaced sendmail(8) as the default mta.  For people willing
718	to re-enable sendmail(8):
719
720	$ cp /usr/share/examples/sendmail/mailer.conf /etc/mail/mailer.conf
721
722	and add sendmail_enable="YES" to rc.conf.
723
72420221204:
725	hw.bus.disable_failed_devices has changed from 'false' to 'true' by
726	default. Now if newbus succeeds in probing a device, but fails to attach
727	the device, we'll disable the device. In the past, we'd keep retrying
728	the device on each new driver loaded. To get that behavior now, one
729	needs to use devctl to re-enable the device, and reprobe it (or set
730	the sysctl/tunable hw.bus.disable_failed_devices=false).
731
732	NOTE: This was reverted 20221205 due to unexpected compatibility issues
733
73420221122:
735	pf no longer accepts 'scrub fragment crop' or 'scrub fragment drop-ovl'.
736	These configurations are no longer automatically reinterpreted as
737	'scrub fragment reassemble'.
738
73920221121:
740	The WITHOUT_CLANG_IS_CC option has been removed.  When Clang is enabled
741	it is always installed as /usr/bin/cc (and c++, cpp).
742
74320221026:
744	Some programs have been moved into separate packages. It is recommended
745	for pkgbase users to do:
746
747	pkg install FreeBSD-dhclient FreeBSD-geom FreeBSD-resolvconf \
748	  FreeBSD-devd FreeBSD-devmatch
749
750	after upgrading to restore all the component that were previously
751	installed.
752
75320221002:
754	OPIE has been removed from the base system.  If needed, it can
755	be installed from ports (security/opie) or packages (opie).
756	Otherwise, make sure that your PAM policies do not reference
757	pam_opie or pam_opieaccess.
758
75920220610:
760	LinuxKPI pm.h changes require an update to the latest drm-kmod version
761	before re-compiling to avoid errors.
762
76320211230:
764	The macros provided for the manipulation of CPU sets (e.g. CPU_AND)
765	have been modified to take 2 source arguments instead of only 1.
766	Externally maintained sources that use these macros will have to
767	be adapted. The FreeBSD version has been bumped to 1400046 to
768	reflect this change.
769
77020211214:
771	A number of the kernel include files are able to be included by
772	themselves.  A test has been added to buildworld to enforce this.
773
77420211209:
775	Remove mips as a recognized target. This starts the decommissioning of
776	mips support in FreeBSD. mips related items will be removed wholesale in
777	the coming days and weeks.
778
779	This broke the NO_CLEAN build for some people. Either do a clean build
780	or touch
781		lib/clang/include/llvm/Config/Targets.def
782		lib/clang/include/llvm/Config/AsmParsers.def
783		lib/clang/include/llvm/Config/Disassemblers.def
784		lib/clang/include/llvm/Config/AsmPrinters.def
785	before the build to force everything to rebuild that needs to.
786
78720211202:
788	Unbound support for RFC8375: The special-use domain 'home.arpa' is
789	by default blocked. To unblock it use a local-zone nodefault
790	statement in unbound.conf:
791		local-zone: "home.arpa." nodefault
792
793	Or use another type of local-zone to override with your choice.
794
795	The reason for this is discussed in Section 6.1 of RFC8375:
796	Because 'home.arpa.' is not globally scoped and cannot be secured
797	using DNSSEC based on the root domain's trust anchor, there is no way
798	to tell, using a standard DNS query, in which homenet scope an answer
799	belongs.  Consequently, users may experience surprising results with
800	such names when roaming to different homenets.
801
80220211110:
803	Commit b8d60729deef changed the TCP congestion control framework so
804	that any of the included congestion control modules could be
805	the single module built into the kernel. Previously newreno
806	was automatically built in through direct reference. As of
807	this commit you are required to declare at least one congestion
808	control module (e.g. 'options CC_NEWRENO') and to also declare a
809	default using the CC_DEFAULT option (e.g. options CC_DEFAULT="newreno\").
810	The GENERIC configuration includes CC_NEWRENO and defines newreno
811	as the default. If no congestion control option is built into the
812	kernel and you are including networking, the kernel compile will
813	fail. Also if no default is declared the kernel compile will fail.
814
81520211118:
816	Mips has been removed from universe builds. It will be removed from the
817	tree shortly.
818
81920211106:
820	Commit f0c9847a6c47 changed the arguments for VOP_ALLOCATE.
821	The NFS modules must be rebuilt from sources and any out
822	of tree file systems that implement their own VOP_ALLOCATE
823	may need to be modified.
824
82520211022:
826	The synchronous PPP kernel driver sppp(4) has been removed.
827	The cp(4) and ce(4) drivers are now always compiled with netgraph(4)
828	support, formerly enabled by NETGRAPH_CRONYX option.
829
83020211020:
831	sh(1) is now the default shell for the root user.  To force root to use
832	the csh shell, please run the following command as root:
833
834	# chsh -s csh
835
83620211004:
837	Ncurses distribution has been split between libtinfow and libncurses
838	with libncurses.so becoming a linker (ld) script to seamlessly link
839	to libtinfow as needed. Bump _FreeBSD_version to 1400035 to reflect
840	this change.
841
84220210923:
843	As of commit 8160a0f62be6, the dummynet module no longer depends on the
844	ipfw module. Dummynet can now be used by pf as well as ipfw. As such
845	users who relied on this dependency may need to include ipfw in the
846	list of modules to load on their systems.
847
84820210922:
849	As of commit 903873ce1560, the mixer(8) utility has got a slightly
850	new syntax. Please refer to the mixer(8) manual page for more
851	information. The old mixer utility can be installed from ports:
852	audio/freebsd-13-mixer
853
85420210911:
855	As of commit 55089ef4f8bb, the global variable nfs_maxcopyrange has
856	been deleted from the nfscommon.ko.  As such, nfsd.ko must be built
857	from up to date sources to avoid an undefined reference when
858	being loaded.
859
86020210817:
861	As of commit 62ca9fc1ad56 OpenSSL no longer enables kernel TLS
862	by default.  Users can enable kernel TLS via the "KTLS" SSL
863	option.  This can be enabled globally by using a custom
864	OpenSSL config file via OPENSSL_CONF or via an
865	application-specific configuration option for applications
866	which permit setting SSL options via SSL_CONF_cmd(3).
867
86820210811:
869	Commit 3ad1e1c1ce20 changed the internal KAPI between the NFS
870	modules. Therefore, all need to be rebuilt from sources.
871
87220210730:
873	Commit b69019c14cd8 removes pf's DIOCGETSTATESNV ioctl.
874	As of be70c7a50d32 it is no longer used by userspace, but it does mean
875	users may not be able to enumerate pf states if they update the kernel
876	past b69019c14cd8 without first updating userspace past be70c7a50d32.
877
87820210729:
879	As of commit 01ad0c007964 if_bridge member interfaces can no longer
880	change their MTU. Changing the MTU of the bridge itself will change the
881	MTU on all member interfaces instead.
882
88320210716:
884	Commit ee29e6f31111 changed the internal KAPI between the nfscommon
885	and nfsd modules. Therefore, both need to be rebuilt from sources.
886	Bump __FreeBSD_version to 1400026 for this KAPI change.
887
88820210715:
889	The 20210707 awk update brought in a change in behavior. This has
890	been corrected as of d4d252c49976. Between these dates, if you
891	installed a new awk binary, you may not be able to build a new
892	kernel because the change in behavior affected the genoffset
893	script used to build the kernel. If you did update, the fix is
894	to update your sources past the above hash and do
895		% cd usr.bin/awk
896		% make clean all
897		% sudo -E make install
898	to enable building kernels again.
899
90020210708:
901	Commit 1e0a518d6548 changed the internal KAPI between the NFS
902	modules. They all need to be rebuilt from sources.  I did not
903	bump __FreeBSD_version, since it was bumped recently.
904
90520210707:
906	awk has been updated to the latest one-true-awk version 20210215.
907	This contains a number of minor bug fixes.
908
90920210624:
910	The NFSv4 client now uses the highest minor version of NFSv4
911	supported by the NFSv4 server by default instead of minor version 0,
912	for NFSv4 mounts.
913	The "minorversion" mount option may be used to override this default.
914
91520210618:
916	Bump __FreeBSD_version to 1400024 for LinuxKPI changes.
917	Most notably netdev.h can change now as the (last) dependencies
918	(mlx4/ofed) are now using struct ifnet directly, but also for PCI
919	additions and others.
920
92120210618:
922	The directory "blacklisted" under /usr/share/certs/ has been
923	renamed to "untrusted".
924
92520210611:
926	svnlite has been removed from base. Should you need svn for any reason
927	please install the svn package or port.
928
92920210611:
930	Commit e1a907a25cfa changed the internal KAPI between the krpc
931	and nfsserver.  As such, both modules must be rebuilt from
932	sources.  Bump __FreeBSD_version to 1400022.
933
93420210610:
935	The an(4) driver has been removed from FreeBSD.
936
93720210608:
938	The vendor/openzfs branch was renamed to vendor/openzfs/legacy to
939	start tracking OpenZFS upstream more closely. Please see
940https://lists.freebsd.org/archives/freebsd-current/2021-June/000153.html
941	for details on how to correct any errors that might result. The
942	short version is that you need to remove the old branch locally:
943	    git update-ref -d refs/remotes/freebsd/vendor/openzfs
944	(assuming your upstream origin is named 'freebsd').
945
94620210525:
947	Commits 17accc08ae15 and de102f870501 add new files to LinuxKPI
948	which break drm-kmod.  In addition various other additions where
949	committed. Bump __FreeBSD_version to 1400015 to be able to
950	detect this.
951
95220210513:
953	Commit ca179c4d74f2 changed the package in which the OpenSSL
954	libraries and utilities are packaged.
955	It is recommended for pkgbase user to do:
956	pkg install -f FreeBSD-openssl
957	before pkg upgrade otherwise some dependencies might not be met
958	and pkg will stop working as libssl will not be present anymore
959	on the system.
960
96120210426:
962	Commit 875977314881 changed the internal KAPI between
963	the nfsd and nfscommon modules.  As such these modules
964	need to be rebuilt from sources.
965	Without this patch in your NFSv4.1/4.2 server, enabling
966	delegations by setting vfs.nfsd.issue_delegations non-zero
967	is not recommended.
968
96920210411:
970	Commit 7763814fc9c2 changed the internal KAPI between
971	the krpc and NFS.  As such, the krpc, nfscommon and
972	nfscl modules must all be rebuilt from sources.
973	Without this patch, NFSv4.1/4.2 mounts should not
974	be done with the nfscbd(8) daemon running, to avoid
975	needing a working back channel for server->client RPCs.
976
97720210330:
978	Commit 01ae8969a9ee fixed the NFSv4.1/4.2 server so that it
979	handles binding of the back channel as required by RFC5661.
980	Until this patch is in your server, avoid use of the "nconnects"
981	mount option for Linux NFSv4.1/4.2 mounts.
982
98320210225:
984	For 64-bit architectures the base system is now built with Position
985	Independent Executable (PIE) support enabled by default.  It may be
986	disabled using the WITHOUT_PIE knob.  A clean build is required.
987
98820210128:
989	Various LinuxKPI functionality was added which conflicts with DRM.
990	Please update your drm-kmod port to after the __FreeBSD_version 1400003
991	update.
992
99320210121:
994	stable/13 branch created.
995
99620210108:
997	PC Card attachments for all devices have been removed. In the case of
998	wi and cmx, the entire drivers were removed because they were only
999	PC Card devices. FreeBSD_version 1300134 should be used for this
1000	since it was bumped so recently.
1001
100220210107:
1003	Transport-independent parts of HID support have been split off the USB
1004	code in to separate subsystem.  Kernel configs which include one of
1005	ums, ukbd, uhid, atp, wsp, wmt, uaudio, ugold or ucycom drivers should
1006	be updated with adding of "device hid" line.
1007
100820210105:
1009	ncurses installation has been modified to only keep the widechar
1010	enabled version.  Incremental build is broken for that change, so it
1011	requires a clean build.
1012
101320201223:
1014	The FreeBSD project has migrated from Subversion to Git. Temporary
1015	instructions can be found at
1016	https://github.com/bsdimp/freebsd-git-docs/blob/main/src-cvt.md
1017	and other documents in that repo.
1018
101920201216:
1020	The services database has been updated to cover more of the basic
1021	services expected in a modern system. The database is big enough
1022	that it will cause issues in mergemaster in Releases previous to
1023	12.2 and 11.3, or in very old current systems from before r358154.
1024
102520201215:
1026	Obsolete in-tree GDB 6.1.1 has been removed.  GDB (including kgdb)
1027	may be installed from ports or packages.
1028
102920201124:
1030	ping6 has been merged into ping.  It can now be called as "ping -6".
1031	See ping(8) for details.
1032
103320201108:
1034	Default value of net.add_addr_allfibs has been changed to 0.
1035	If you have multi-fib configuration and rely on existence of all
1036	interface routes in every fib, you need to set the above sysctl to 1.
1037
103820201030:
1039	The internal pre-processor in the calendar(1) program has been
1040	extended to support more C pre-processor commands (e.g. #ifdef, #else,
1041	and #undef) and to detect unbalanced conditional statements.
1042	Error messages have been extended to include the filename and line
1043	number if processing stops to help fixing malformed data files.
1044
104520201026:
1046	All the data files for the calendar(1) program, except calendar.freebsd,
1047	have been moved to the deskutils/calendar-data port, much like the
1048	jewish calendar entries were moved to deskutils/hebcal years ago. After
1049	make delete-old-files, you need to install it to retain full
1050	functionality. calendar(1) will issue a reminder for files it can't
1051	find.
1052
105320200923:
1054	LINT files are no longer generated. We now include the relevant NOTES
1055	files. Note: This may cause conflicts with updating in some cases.
1056	        find sys -name LINT\* -delete
1057	is suggested across this commit	to remove the generated	LINT files.
1058
1059	If you have tried to update with generated files there, the svn
1060	command you want to un-auger the tree is
1061		cd sys/amd64/conf
1062		svn revert -R .
1063	and then do the above find from the top level. Substitute 'amd64'
1064	above with where the error message indicates a conflict.
1065
106620200824:
1067	OpenZFS support has been integrated. Do not upgrade root pools until
1068	the loader is updated to support zstd. Furthermore, we caution against
1069	'zpool upgrade' for the next few weeks. The change should be transparent
1070	unless you  want to use new features.
1071
1072	Not all "NO_CLEAN" build scenarios work across these changes. Many
1073	scenarios have been tested and fixed, but rebuilding kernels without
1074	rebuilding world may fail.
1075
1076	The ZFS cache file has moved from /boot to /etc to match the OpenZFS
1077	upstream default. A fallback to /boot has been added for mountroot.
1078
1079	Pool auto import behavior at boot has been moved from the kernel module
1080	to an explicit "zpool import -a" in one of the rc scripts enabled by
1081	zfs_enable=YES. This means your non-root zpools won't auto import until
1082	you upgrade your /etc/rc.d files.
1083
108420200824:
1085	The resume code now notifies devd with the 'kernel' system
1086	rather than the old 'kern' subsystem to be consistent with
1087	other use. The old notification will be created as well, but
1088	will be removed prior to FreeBSD 14.0.
1089
109020200821:
1091	r362275 changed the internal API between the kernel RPC and the
1092	NFS modules. As such, all the modules must be recompiled from
1093	sources.
1094
109520200817:
1096	r364330 modified the internal API used between the NFS modules.
1097	As such, all the NFS modules must be re-compiled from sources.
1098
109920200816:
1100	Clang, llvm, lld, lldb, compiler-rt, libc++, libunwind and openmp have
1101	been upgraded to 11.0.0.  Please see the 20141231 entry below for
1102	information about prerequisites and upgrading, if you are not already
1103	using clang 3.5.0 or higher.
1104
110520200810:
1106	r364092 modified the internal ABI used between the kernel NFS
1107	modules.  As such, all of these modules need to be rebuilt
1108	from sources, so a version bump was done.
1109
111020200807:
1111	Makefile.inc has been updated to work around the issue documented in
1112	20200729. It was a case where the optimization of using symbolic links
1113	to point to binaries created a situation where we'd run new binaries
1114	with old libraries starting midway through the installworld process.
1115
111620200729:
1117	r363679 has redefined some undefined behavior in regcomp(3); notably,
1118	extraneous escapes of most ordinary characters will no longer be
1119	accepted.  An exp-run has identified all of the problems with this in
1120	ports, but other non-ports software may need extra escapes removed to
1121	continue to function.
1122
1123	Because of this change, installworld may encounter the following error
1124	from rtld: Undefined symbol "regcomp@FBSD_1.6" -- It is imperative that
1125	you do not halt installworld. Instead, let it run to completion (whether
1126	successful or not) and run installworld once more.
1127
112820200627:
1129	A new implementation of bc and dc has been imported in r362681. This
1130	implementation corrects non-conformant behavior of the previous bc
1131	and adds GNU bc compatible options. It offers a number of extensions,
1132	is much faster on large values, and has support for message catalogs
1133	(a number of languages are already supported, contributions of further
1134	languages welcome). The option WITHOUT_GH_BC can be used to build the
1135	world with the previous versions of bc and dc.
1136
113720200625:
1138	r362639 changed the internal API used between the NFS kernel modules.
1139	As such, they all need to be rebuilt from sources.
1140
114120200613:
1142	r362158 changed the arguments for VFS_CHECKEXP().  As such, any
1143	out of tree file systems need to be modified and rebuilt.
1144	Also, any file systems that are modules must be rebuilt.
1145
114620200604:
1147	read(2) of a directory fd is now rejected by default.  root may
1148	re-enable it for system root only on non-ZFS filesystems with the
1149	security.bsd.allow_read_dir sysctl(8) MIB if
1150	security.bsd.suser_enabled=1.
1151
1152	It may be advised to setup aliases for grep to default to `-d skip` if
1153	commonly non-recursively grepping a list that includes directories and
1154	the potential for the resulting stderr output is not tolerable.  Example
1155	aliases are now installed, commented out, in /root/.cshrc and
1156	/root/.shrc.
1157
115820200523:
1159	Clang, llvm, lld, lldb, compiler-rt, libc++, libunwind and openmp have
1160	been upgraded to 10.0.1.  Please see the 20141231 entry below for
1161	information about prerequisites and upgrading, if you are not already
1162	using clang 3.5.0 or higher.
1163
116420200512:
1165	Support for obsolete compilers has been removed from the build system.
1166	Clang 6 and GCC 6.4 are the minimum supported versions.
1167
116820200424:
1169	closefrom(2) has been moved under COMPAT12, and replaced in libc with a
1170	stub that calls close_range(2).  If using a custom kernel configuration,
1171	you may want to ensure that the COMPAT_FREEBSD12 option is included, as
1172	a slightly older -CURRENT userland and older FreeBSD userlands may not
1173	be functional without closefrom(2).
1174
117520200414:
1176	Upstream DTS from Linux 5.6 was merged and they now have the SID
1177	and THS (Secure ID controller and THermal Sensor) node present.
1178	The DTB overlays have now been removed from the tree for the H3/H5 and
1179	A64 SoCs and the aw_sid and aw_thermal driver have been updated to
1180	deal with upstream DTS. If you are using those overlays you need to
1181	remove them from loader.conf and update the DTBs on the FAT partition.
1182
118320200310:
1184	Clang, llvm, lld, lldb, compiler-rt, libc++, libunwind and openmp have
1185	been upgraded to 10.0.0.  Please see the 20141231 entry below for
1186	information about prerequisites and upgrading, if you are not already
1187	using clang 3.5.0 or higher.
1188
118920200309:
1190	The amd(8) automount daemon has been removed from the source tree.
1191	As of FreeBSD 10.1 autofs(5) is the preferred tool for automounting.
1192	amd is still available in the sysutils/am-utils port.
1193
119420200301:
1195	Removed brooktree driver (bktr.4) from the tree.
1196
119720200229:
1198	The WITH_GPL_DTC option has been removed.  The BSD-licenced device tree
1199	compiler in usr.bin/dtc is used on all architectures which use dtc, and
1200	the GPL dtc is available (if needed) from the sysutils/dtc port.
1201
120220200229:
1203	The WITHOUT_LLVM_LIBUNWIND option has been removed.  LLVM's libunwind
1204	is used by all supported CPU architectures.
1205
120620200229:
1207	GCC 4.2.1 has been removed from the tree.  The WITH_GCC,
1208	WITH_GCC_BOOTSTRAP, and WITH_GNUCXX options are no longer available.
1209	Users who wish to build FreeBSD with GCC must use the external toolchain
1210	ports or packages.
1211
121220200220:
1213	ncurses has been updated to a newer version (6.2-20200215). Given the ABI
1214	has changed, users will have to rebuild all the ports that are linked to
1215	ncurses.
1216
121720200217:
1218	The size of struct vnet and the magic cookie have changed.
1219	Users need to recompile libkvm and all modules using VIMAGE
1220	together with their new kernel.
1221
122220200212:
1223	Defining the long deprecated NO_CTF, NO_DEBUG_FILES, NO_INSTALLLIB,
1224	NO_MAN, NO_PROFILE, and NO_WARNS variables is now an error.  Update
1225	your Makefiles and scripts to define MK_<var>=no instead as required.
1226
1227	One exception to this is that program or library Makefiles should
1228	define MAN to empty rather than setting MK_MAN=no.
1229
123020200108:
1231	Clang/LLVM is now the default compiler and LLD the default
1232	linker for riscv64.
1233
123420200107:
1235	make universe no longer uses GCC 4.2.1 on any architectures.
1236	Architectures not supported by in-tree Clang/LLVM require an
1237	external toolchain package.
1238
123920200104:
1240	GCC 4.2.1 is now not built by default, as part of the GCC 4.2.1
1241	retirement plan.  Specifically, the GCC, GCC_BOOTSTRAP, and GNUCXX
1242	options default to off for all supported CPU architectures.  As a
1243	short-term transition aid they may be enabled via WITH_* options.
1244	GCC 4.2.1 is expected to be removed from the tree on 2020-03-31.
1245
124620200102:
1247	Support for armv5 has been disconnected and is being removed. The
1248	machine combination MACHINE=arm MACHINE_ARCH=arm is no longer valid.
1249	You must now use a MACHINE_ARCH of armv6 or armv7. The default
1250	MACHINE_ARCH for MACHINE=arm is now armv7.
1251
125220191226:
1253	Clang/LLVM is now the default compiler for all powerpc architectures.
1254	LLD is now the default linker for powerpc64.  The change for powerpc64
1255	also includes a change to the ELFv2 ABI, incompatible with the existing
1256	ABI.
1257
125820191226:
1259	Kernel-loadable random(4) modules are no longer unloadable.
1260
126120191222:
1262	Clang, llvm, lld, lldb, compiler-rt, libc++, libunwind and openmp have
1263	been upgraded to 9.0.1.  Please see the 20141231 entry below for
1264	information about prerequisites and upgrading, if you are not already
1265	using clang 3.5.0 or higher.
1266
126720191212:
1268	r355677 has modified the internal interface used between the
1269	NFS modules in the kernel. As such, they must all be upgraded
1270	simultaneously. I will do a version bump for this.
1271
127220191205:
1273	The root certificates of the Mozilla CA Certificate Store have been
1274	imported into the base system and can be managed with the certctl(8)
1275	utility.  If you have installed the security/ca_root_nss port or package
1276	with the ETCSYMLINK option (the default), be advised that there may be
1277	differences between those included in the port and those included in
1278	base due to differences in nss branch used as well as general update
1279	frequency.  Note also that certctl(8) cannot manage certs in the
1280	format used by the security/ca_root_nss port.
1281
128220191120:
1283	The amd(8) automount daemon has been disabled by default, and will be
1284	removed in the future.  As of FreeBSD 10.1 the autofs(5) is available
1285	for automounting.
1286
128720191107:
1288	The nctgpio and wbwd drivers have been moved to the superio bus.
1289	If you have one of these drivers in a kernel configuration, then
1290	you should add device superio to it.  If you use one of these drivers
1291	as a module and you compile a custom set of modules, then you should
1292	add superio to the set.
1293
129420191021:
1295	KPIs for network drivers to access interface addresses have changed.
1296	Users need to recompile NIC driver modules together with kernel.
1297
129820191021:
1299	The net.link.tap.user_open sysctl no longer prevents user opening of
1300	already created /dev/tapNN devices.  Access is still controlled by
1301	node permissions, just like tun devices.  The net.link.tap.user_open
1302	sysctl is now used only to allow users to perform devfs cloning of
1303	tap devices, and the subsequent open may not succeed if the user is not
1304	in the appropriate group.  This sysctl may be deprecated/removed
1305	completely in the future.
1306
130720191009:
1308	mips, powerpc, and sparc64 are no longer built as part of
1309	universe / tinderbox unless MAKE_OBSOLETE_GCC is defined. If
1310	not defined, mips, powerpc, and sparc64 builds will look for
1311	the xtoolchain binaries and if installed use them for universe
1312	builds. As llvm 9.0 becomes vetted for these architectures, they
1313	will be removed from the list.
1314
131520191009:
1316	Clang, llvm, lld, lldb, compiler-rt, libc++, libunwind and openmp have
1317	been upgraded to 9.0.0.  Please see the 20141231 entry below for
1318	information about prerequisites and upgrading, if you are not already
1319	using clang 3.5.0 or higher.
1320
132120191003:
1322	The hpt27xx, hptmv, hptnr, and hptrr drivers have been removed from
1323	GENERIC.  They are available as modules and can be loaded by adding
1324	to /boot/loader.conf hpt27xx_load="YES", hptmv_load="YES",
1325	hptnr_load="YES", or hptrr_load="YES", respectively.
1326
132720190913:
1328	ntpd no longer by default locks its pages in memory, allowing them
1329	to be paged out by the kernel. Use rlimit memlock to restore
1330	historic BSD behaviour. For example, add "rlimit memlock 32"
1331	to ntp.conf to lock up to 32 MB of ntpd address space in memory.
1332
133320190823:
1334	Several of ping6's options have been renamed for better consistency
1335	with ping.  If you use any of -ARWXaghmrtwx, you must update your
1336	scripts.  See ping6(8) for details.
1337
133820190727:
1339	The vfs.fusefs.sync_unmount and vfs.fusefs.init_backgrounded sysctls
1340	and the "-o sync_unmount" and "-o init_backgrounded" mount options have
1341	been removed from mount_fusefs(8).  You can safely remove them from
1342	your scripts, because they had no effect.
1343
1344	The vfs.fusefs.fix_broken_io, vfs.fusefs.sync_resize,
1345	vfs.fusefs.refresh_size, vfs.fusefs.mmap_enable,
1346	vfs.fusefs.reclaim_revoked, and vfs.fusefs.data_cache_invalidate
1347	sysctls have been removed.  If you felt the need to set any of them to
1348	a non-default value, please tell asomers@FreeBSD.org why.
1349
135020190713:
1351	Default permissions on the /var/account/acct file (and copies of it
1352	rotated by periodic daily scripts) are changed from 0644 to 0640
1353	because the file contains sensitive information that should not be
1354	world-readable.  If the /var/account directory must be created by
1355	rc.d/accounting, the mode used is now 0750.  Admins who use the
1356	accounting feature are encouraged to change the mode of an existing
1357	/var/account directory to 0750 or 0700.
1358
135920190620:
1360	Entropy collection and the /dev/random device are no longer optional
1361	components.  The "device random" option has been removed.
1362	Implementations of distilling algorithms can still be made loadable
1363	with "options RANDOM_LOADABLE" (e.g., random_fortuna.ko).
1364
136520190612:
1366	Clang, llvm, lld, lldb, compiler-rt, libc++, libunwind and openmp have
1367	been upgraded to 8.0.1.  Please see the 20141231 entry below for
1368	information about prerequisites and upgrading, if you are not already
1369	using clang 3.5.0 or higher.
1370
137120190608:
1372	A fix was applied to i386 kernel modules to avoid panics with
1373	dpcpu or vnet.  Users need to recompile i386 kernel modules
1374	having pcpu or vnet sections or they will refuse to load.
1375
137620190513:
1377	User-wired pages now have their own counter,
1378	vm.stats.vm.v_user_wire_count.  The vm.max_wired sysctl was renamed
1379	to vm.max_user_wired and changed from an unsigned int to an unsigned
1380	long.  bhyve VMs wired with the -S are now subject to the user
1381	wiring limit; the vm.max_user_wired sysctl may need to be tuned to
1382	avoid running into the limit.
1383
138420190507:
1385	The IPSEC option has been removed from GENERIC.  Users requiring
1386	ipsec(4) must now load the ipsec(4) kernel module.
1387
138820190507:
1389	The tap(4) driver has been folded into tun(4), and the module has been
1390	renamed to tuntap.  You should update any kld_list="if_tap" or
1391	kld_list="if_tun" entries in /etc/rc.conf, if_tap_load="YES" or
1392	if_tun_load="YES" entries in /boot/loader.conf to load the if_tuntap
1393	module instead, and "device tap" or "device tun" entries in kernel
1394	config files to select the tuntap device instead.
1395
139620190418:
1397	The following knobs have been added related to tradeoffs between
1398	safe use of the random device and availability in the absence of
1399	entropy:
1400
1401	kern.random.initial_seeding.bypass_before_seeding: tunable; set
1402	non-zero to bypass the random device prior to seeding, or zero to
1403	block random requests until the random device is initially seeded.
1404	For now, set to 1 (unsafe) by default to restore pre-r346250 boot
1405	availability properties.
1406
1407	kern.random.initial_seeding.read_random_bypassed_before_seeding:
1408	read-only diagnostic sysctl that is set when bypass is enabled and
1409	read_random(9) is bypassed, to enable programmatic handling of this
1410	initial condition, if desired.
1411
1412	kern.random.initial_seeding.arc4random_bypassed_before_seeding:
1413	Similar to the above, but for arc4random(9) initial seeding.
1414
1415	kern.random.initial_seeding.disable_bypass_warnings: tunable; set
1416	non-zero to disable warnings in dmesg when the same conditions are
1417	met as for the diagnostic sysctls above.  Defaults to zero, i.e.,
1418	produce warnings in dmesg when the conditions are met.
1419
142020190416:
1421	The loadable random module KPI has changed; the random_infra_init()
1422	routine now requires a 3rd function pointer for a bool (*)(void)
1423	method that returns true if the random device is seeded (and
1424	therefore unblocked).
1425
142620190404:
1427	r345895 reverts r320698. This implies that an nfsuserd(8) daemon
1428	built from head sources between r320757 (July 6, 2017) and
1429	r338192 (Aug. 22, 2018) will not work unless the "-use-udpsock"
1430	is added to the command line.
1431	nfsuserd daemons built from head sources that are post-r338192 are
1432	not affected and should continue to work.
1433
143420190320:
1435	The fuse(4) module has been renamed to fusefs(4) for consistency with
1436	other filesystems.  You should update any kld_load="fuse" entries in
1437	/etc/rc.conf, fuse_load="YES" entries in /boot/loader.conf, and
1438	"options FUSE" entries in kernel config files.
1439
144020190304:
1441	Clang, llvm, lld, lldb, compiler-rt and libc++ have been upgraded to
1442	8.0.0.  Please see the 20141231 entry below for information about
1443	prerequisites and upgrading, if you are not already using clang 3.5.0
1444	or higher.
1445
144620190226:
1447	geom_uzip(4) depends on the new module xz.  If geom_uzip is statically
1448	compiled into your custom kernel, add 'device xz' statement to the
1449	kernel config.
1450
145120190219:
1452	drm and drm2 have been removed from the tree. Please see
1453	https://wiki.freebsd.org/Graphics for the latest information on
1454	migrating to the drm ports.
1455
145620190131:
1457	Iflib is no longer unconditionally compiled into the kernel.  Drivers
1458	using iflib and statically compiled into the kernel, now require
1459	the 'device iflib' config option.  For the same drivers loaded as
1460	modules on kernels not having 'device iflib', the iflib.ko module
1461	is loaded automatically.
1462
146320190125:
1464	The IEEE80211_AMPDU_AGE and AH_SUPPORT_AR5416 kernel configuration
1465	options no longer exist since r343219 and r343427 respectively;
1466	nothing uses them, so they should be just removed from custom
1467	kernel config files.
1468
146920181230:
1470	r342635 changes the way efibootmgr(8) works by requiring users to add
1471	the -b (bootnum) parameter for commands where the bootnum was previously
1472	specified with each option. For example 'efibootmgr -B 0001' is now
1473	'efibootmgr -B -b 0001'.
1474
147520181220:
1476	r342286 modifies the NFSv4 server so that it obeys vfs.nfsd.nfs_privport
1477	in the same as it is applied to NFSv2 and 3.  This implies that NFSv4
1478	servers that have vfs.nfsd.nfs_privport set will only allow mounts
1479	from clients using a reserved port. Since both the FreeBSD and Linux
1480	NFSv4 clients use reserved ports by default, this should not affect
1481	most NFSv4 mounts.
1482
148320181219:
1484	The XLP config has been removed. We can't support 64-bit atomics in this
1485	kernel because it is running in 32-bit mode. XLP users must transition
1486	to running a 64-bit kernel (XLP64 or XLPN32).
1487
1488	The mips GXEMUL support has been removed from FreeBSD. MALTA* + qemu is
1489	the preferred emulator today and we don't need two different ones.
1490
1491	The old sibyte / swarm / Broadcom BCM1250 support has been
1492	removed from the mips port.
1493
149420181211:
1495	Clang, llvm, lld, lldb, compiler-rt and libc++ have been upgraded to
1496	7.0.1.  Please see the 20141231 entry below for information about
1497	prerequisites and upgrading, if you are not already using clang 3.5.0
1498	or higher.
1499
150020181211:
1501	Remove the timed and netdate programs from the base tree.  Setting
1502	the time with these daemons has been obsolete for over a decade.
1503
150420181126:
1505	On amd64, arm64 and armv7 (architectures that install LLVM's ld.lld
1506	linker as /usr/bin/ld) GNU ld is no longer installed as ld.bfd, as
1507	it produces broken binaries when ifuncs are in use.  Users needing
1508	GNU ld should install the binutils port or package.
1509
151020181123:
1511	The BSD crtbegin and crtend code has been enabled by default. It has
1512	had extensive testing on amd64, arm64, and i386. It can be disabled
1513	by building a world with -DWITHOUT_BSD_CRTBEGIN.
1514
151520181115:
1516	The set of CTM commands (ctm, ctm_smail, ctm_rmail, ctm_dequeue)
1517	has been converted to a port (misc/ctm) and will be removed from
1518	FreeBSD-13.  It is available as a package (ctm) for all supported
1519	FreeBSD versions.
1520
152120181110:
1522	The default newsyslog.conf(5) file has been changed to only include
1523	files in /etc/newsyslog.conf.d/ and /usr/local/etc/newsyslog.conf.d/ if
1524	the filenames end in '.conf' and do not begin with a '.'.
1525
1526	You should check the configuration files in these two directories match
1527	this naming convention. You can verify which configuration files are
1528	being included using the command:
1529		$ newsyslog -Nrv
1530
153120181019:
1532	Stable/12 was branched created.
1533
153420181015:
1535	Ports for the DRM modules have been simplified. Now, amd64 users should
1536	just install the drm-kmod port. All others should install
1537	drm-legacy-kmod.
1538
1539	Graphics hardware that's newer than about 2010 usually works with
1540	drm-kmod.  For hardware older than 2013, however, some users will need
1541	to use drm-legacy-kmod if drm-kmod doesn't work for them. Hardware older
1542	than 2008 usually only works in drm-legacy-kmod. The graphics team can
1543	only commit to hardware made since 2013 due to the complexity of the
1544	market and difficulty to test all the older cards effectively. If you
1545	have hardware supported by drm-kmod, you are strongly encouraged to use
1546	that as you will get better support.
1547
1548	Other than KPI chasing, drm-legacy-kmod will not be updated. As outlined
1549	elsewhere, the drm and drm2 modules will be eliminated from the src base
1550	soon (with a limited exception for arm). Please update to the package
1551	asap and report any issues to x11@freebsd.org.
1552
1553	Generally, anybody using the drm*-kmod packages should add
1554	WITHOUT_DRM_MODULE=t and WITHOUT_DRM2_MODULE=t to avoid nasty
1555	cross-threading surprises, especially with automatic driver
1556	loading from X11 startup. These will become the defaults in 13-current
1557	shortly.
1558
155920181012:
1560	The ixlv(4) driver has been renamed to iavf(4).  As a consequence,
1561	custom kernel and module loading configuration files must be updated
1562	accordingly.  Moreover, interfaces previous presented as ixlvN to the
1563	system are now exposed as iavfN and network configuration files must
1564	be adjusted as necessary.
1565
156620181009:
1567	OpenSSL has been updated to version 1.1.1.  This update included
1568	additional various API changes throughout the base system.  It is
1569	important to rebuild third-party software after upgrading.  The value
1570	of __FreeBSD_version has been bumped accordingly.
1571
157220181006:
1573	The legacy DRM modules and drivers have now been added to the loader's
1574	module blacklist, in favor of loading them with kld_list in rc.conf(5).
1575	The module blacklist may be overridden with the loader.conf(5)
1576	'module_blacklist' variable, but loading them via rc.conf(5) is strongly
1577	encouraged.
1578
157920181002:
1580	The cam(4) based nda(4) driver will be used over nvd(4) by default on
1581	powerpc64. You may set 'options NVME_USE_NVD=1' in your kernel conf or
1582	loader tunable 'hw.nvme.use_nvd=1' if you wish to use the existing
1583	driver.  Make sure to edit /boot/etc/kboot.conf and fstab to use the
1584	nda device name.
1585
158620180913:
1587	Reproducible build mode is now on by default, in preparation for
1588	FreeBSD 12.0.  This eliminates build metadata such as the user,
1589	host, and time from the kernel (and uname), unless the working tree
1590	corresponds to a modified checkout from a version control system.
1591	The previous behavior can be obtained by setting the /etc/src.conf
1592	knob WITHOUT_REPRODUCIBLE_BUILD.
1593
159420180826:
1595	The Yarrow CSPRNG has been removed from the kernel as it has not been
1596	supported by its designers since at least 2003. Fortuna has been the
1597	default since FreeBSD-11.
1598
159920180822:
1600	devctl freeze/thaw have gone into the tree, the rc scripts have been
1601	updated to use them and devmatch has been changed.  You should update
1602	kernel, userland and rc scripts all at the same time.
1603
160420180818:
1605	The default interpreter has been switched from 4th to Lua.
1606	LOADER_DEFAULT_INTERP, documented in build(7), will override the default
1607	interpreter.  If you have custom FORTH code you will need to set
1608	LOADER_DEFAULT_INTERP=4th (valid values are 4th, lua or simp) in
1609	src.conf for the build.  This will create default hard links between
1610	loader and loader_4th instead of loader and loader_lua, the new default.
1611	If you are using UEFI it will create the proper hard link to loader.efi.
1612
1613	bhyve uses userboot.so. It remains 4th-only until some issues are solved
1614	regarding coexisting with multiple versions of FreeBSD are resolved.
1615
161620180815:
1617	ls(1) now respects the COLORTERM environment variable used in other
1618	systems and software to indicate that a colored terminal is both
1619	supported and desired.  If ls(1) is suddenly emitting colors, they may
1620	be disabled again by either removing the unwanted COLORTERM from your
1621	environment, or using `ls --color=never`.  The ls(1) specific CLICOLOR
1622	may not be observed in a future release.
1623
162420180808:
1625	The default pager for most commands has been changed to "less".  To
1626	restore the old behavior, set PAGER="more" and MANPAGER="more -s" in
1627	your environment.
1628
162920180731:
1630	The jedec_ts(4) driver has been removed. A superset of its functionality
1631	is available in the jedec_dimm(4) driver, and the manpage for that
1632	driver includes migration instructions. If you have "device jedec_ts"
1633	in your kernel configuration file, it must be removed.
1634
163520180730:
1636	amd64/GENERIC now has EFI runtime services, EFIRT, enabled by default.
1637	This should have no effect if the kernel is booted via BIOS/legacy boot.
1638	EFIRT may be disabled via a loader tunable, efi.rt.disabled, if a system
1639	has a buggy firmware that prevents a successful boot due to use of
1640	runtime services.
1641
164220180727:
1643	Atmel AT91RM9200 and AT91SAM9, Cavium CNS 11xx and XScale
1644	support has been removed from the tree. These ports were
1645	obsolete and/or known to be broken for many years.
1646
164720180723:
1648	loader.efi has been augmented to participate more fully in the
1649	UEFI boot manager protocol. loader.efi will now look at the
1650	BootXXXX environment variable to determine if a specific kernel
1651	or root partition was specified. XXXX is derived from BootCurrent.
1652	efibootmgr(8) manages these standard UEFI variables.
1653
165420180720:
1655	zfsloader's functionality has now been folded into loader.
1656	zfsloader is no longer necessary once you've updated your
1657	boot blocks. For a transition period, we will install a
1658	hardlink for zfsloader to loader to allow a smooth transition
1659	until the boot blocks can be updated (hard link because old
1660	zfs boot blocks don't understand symlinks).
1661
166220180719:
1663	ARM64 now have efifb support, if you want to have serial console
1664	on your arm64 board when an screen is connected and the bootloader
1665	setup a frame buffer for us to use, just add :
1666	boot_serial=YES
1667	boot_multicons=YES
1668	in /boot/loader.conf
1669	For Raspberry Pi 3 (RPI) users, this is needed even if you don't have
1670	an screen connected as the firmware will setup a frame buffer are that
1671	u-boot will expose as an EFI frame buffer.
1672
167320180719:
1674	New uid:gid added, ntpd:ntpd (123:123).  Be sure to run mergemaster
1675	or take steps to update /etc/passwd before doing installworld on
1676	existing systems.  Do not skip the "mergemaster -Fp" step before
1677	installworld, as described in the update procedures near the bottom
1678	of this document.  Also, rc.d/ntpd now starts ntpd(8) as user ntpd
1679	if the new mac_ntpd(4) policy is available, unless ntpd_flags or
1680	the ntp config file contain options that change file/dir locations.
1681	When such options (e.g., "statsdir" or "crypto") are used, ntpd can
1682	still be run as non-root by setting ntpd_user=ntpd in rc.conf, after
1683	taking steps to ensure that all required files/dirs are accessible
1684	by the ntpd user.
1685
168620180717:
1687	Big endian arm support has been removed.
1688
168920180711:
1690	The static environment setup in kernel configs is no longer mutually
1691	exclusive with the loader(8) environment by default.  In order to
1692	restore the previous default behavior of disabling the loader(8)
1693	environment if a static environment is present, you must specify
1694	loader_env.disabled=1 in the static environment.
1695
169620180705:
1697	The ABI of syscalls used by management tools like sockstat and
1698	netstat has been broken to allow 32-bit binaries to work on
1699	64-bit kernels without modification.  These programs will need
1700	to match the kernel in order to function.  External programs may
1701	require minor modifications to accommodate a change of type in
1702	structures from pointers to 64-bit virtual addresses.
1703
170420180702:
1705	On i386 and amd64 atomics are now inlined. Out of tree modules using
1706	atomics will need to be rebuilt.
1707
170820180701:
1709	The '%I' format in the kern.corefile sysctl limits the number of
1710	core files that a process can generate to the number stored in the
1711	debug.ncores sysctl. The '%I' format is replaced by the single digit
1712	index. Previously, if all indexes were taken the kernel would overwrite
1713	only a core file with the highest index in a filename.
1714	Currently the system will create a new core file if there is a free
1715	index or if all slots are taken it will overwrite the oldest one.
1716
171720180630:
1718	Clang, llvm, lld, lldb, compiler-rt and libc++ have been upgraded to
1719	6.0.1.  Please see the 20141231 entry below for information about
1720	prerequisites and upgrading, if you are not already using clang 3.5.0
1721	or higher.
1722
172320180628:
1724	r335753 introduced a new quoting method. However, etc/devd/devmatch.conf
1725	needed to be changed to work with it. This change was made with r335763
1726	and requires a mergemaster / etcupdate / etc to update the installed
1727	file.
1728
172920180612:
1730	r334930 changed the interface between the NFS modules, so they all
1731	need to be rebuilt.  r335018 did a __FreeBSD_version bump for this.
1732
173320180530:
1734	As of r334391 lld is the default amd64 system linker; it is installed
1735	as /usr/bin/ld.  Kernel build workarounds (see 20180510 entry) are no
1736	longer necessary.
1737
173820180530:
1739	The kernel / userland interface for devinfo changed, so you'll
1740	need a new kernel and userland as a pair for it to work (rebuilding
1741	lib/libdevinfo is all that's required). devinfo and devmatch will
1742	not work, but everything else will when there's a mismatch.
1743
174420180523:
1745	The on-disk format for hwpmc callchain records has changed to include
1746	threadid corresponding to a given record. This changes the field offsets
1747	and thus requires that libpmcstat be rebuilt before using a kernel
1748	later than r334108.
1749
175020180517:
1751	The vxge(4) driver has been removed.  This driver was introduced into
1752	HEAD one week before the Exar left the Ethernet market and is not
1753	known to be used.  If you have device vxge in your kernel config file
1754	it must be removed.
1755
175620180510:
1757	The amd64 kernel now requires a ld that supports ifunc to produce a
1758	working kernel, either lld or a newer binutils. lld is built by default
1759	on amd64, and the 'buildkernel' target uses it automatically. However,
1760	it is not the default linker, so building the kernel the traditional
1761	way requires LD=ld.lld on the command line (or LD=/usr/local/bin/ld for
1762	binutils port/package). lld will soon be default, and this requirement
1763	will go away.
1764
1765	NOTE: As of r334391 lld is the default system linker on amd64, and no
1766	workaround is necessary.
1767
176820180508:
1769	The nxge(4) driver has been removed.  This driver was for PCI-X 10g
1770	cards made by s2io/Neterion.  The company was acquired by Exar and
1771	no longer sells or supports Ethernet products.  If you have device
1772	nxge in your kernel config file it must be removed.
1773
177420180504:
1775	The tz database (tzdb) has been updated to 2018e.  This version more
1776	correctly models time stamps in time zones with negative DST such as
1777	Europe/Dublin (from 1971 on), Europe/Prague (1946/7), and
1778	Africa/Windhoek (1994/2017).  This does not affect the UT offsets, only
1779	time zone abbreviations and the tm_isdst flag.
1780
178120180502:
1782	The ixgb(4) driver has been removed.  This driver was for an early and
1783	uncommon legacy PCI 10GbE for a single ASIC, Intel 82597EX. Intel
1784	quickly shifted to the long lived ixgbe family.  If you have device
1785	ixgb in your kernel config file it must be removed.
1786
178720180501:
1788	The lmc(4) driver has been removed.  This was a WAN interface
1789	card that was already reportedly rare in 2003, and had an ambiguous
1790	license.  If you have device lmc in your kernel config file it must
1791	be removed.
1792
179320180413:
1794	Support for Arcnet networks has been removed.  If you have device
1795	arcnet or device cm in your kernel config file they must be
1796	removed.
1797
179820180411:
1799	Support for FDDI networks has been removed.  If you have device
1800	fddi or device fpa in your kernel config file they must be
1801	removed.
1802
180320180406:
1804	In addition to supporting RFC 3164 formatted messages, the
1805	syslogd(8) service is now capable of parsing RFC 5424 formatted
1806	log messages. The main benefit of using RFC 5424 is that clients
1807	may now send log messages with timestamps containing year numbers,
1808	microseconds and time zone offsets.
1809
1810	Similarly, the syslog(3) C library function has been altered to
1811	send RFC 5424 formatted messages to the local system logging
1812	daemon. On systems using syslogd(8), this change should have no
1813	negative impact, as long as syslogd(8) and the C library are
1814	updated at the same time. On systems using a different system
1815	logging daemon, it may be necessary to make configuration
1816	adjustments, depending on the software used.
1817
1818	When using syslog-ng, add the 'syslog-protocol' flag to local
1819	input sources to enable parsing of RFC 5424 formatted messages:
1820
1821		source src {
1822			unix-dgram("/var/run/log" flags(syslog-protocol));
1823		}
1824
1825	When using rsyslog, disable the 'SysSock.UseSpecialParser' option
1826	of the 'imuxsock' module to let messages be processed by the
1827	regular RFC 3164/5424 parsing pipeline:
1828
1829		module(load="imuxsock" SysSock.UseSpecialParser="off")
1830
1831	Do note that these changes only affect communication between local
1832	applications and syslogd(8). The format that syslogd(8) uses to
1833	store messages on disk or forward messages to other systems
1834	remains unchanged. syslogd(8) still uses RFC 3164 for these
1835	purposes. Options to customize this behaviour will be added in the
1836	future. Utilities that process log files stored in /var/log are
1837	thus expected to continue to function as before.
1838
1839	__FreeBSD_version has been incremented to 1200061 to denote this
1840	change.
1841
184220180328:
1843	Support for token ring networks has been removed. If you
1844	have "device token" in your kernel config you should remove
1845	it. No device drivers supported token ring.
1846
184720180323:
1848	makefs was modified to be able to tag ISO9660 El Torito boot catalog
1849	entries as EFI instead of overloading the i386 tag as done previously.
1850	The amd64 mkisoimages.sh script used to build amd64 ISO images for
1851	release was updated to use this. This may mean that makefs must be
1852	updated before "make cdrom" can be run in the release directory. This
1853	should be as simple as:
1854
1855		$ cd $SRCDIR/usr.sbin/makefs
1856		$ make depend all install
1857
185820180212:
1859	FreeBSD boot loader enhanced with Lua scripting. It's purely opt-in for
1860	now by building WITH_LOADER_LUA and WITHOUT_FORTH in /etc/src.conf.
1861	Co-existence for the transition period will come shortly. Booting is a
1862	complex environment and test coverage for Lua-enabled loaders has been
1863	thin, so it would be prudent to assume it might not work and make
1864	provisions for backup boot methods.
1865
186620180211:
1867	devmatch functionality has been turned on in devd. It will automatically
1868	load drivers for unattached devices. This may cause unexpected drivers
1869	to be loaded. Please report any problems to current@ and
1870	imp@freebsd.org.
1871
187220180114:
1873	Clang, llvm, lld, lldb, compiler-rt and libc++ have been upgraded to
1874	6.0.0.  Please see the 20141231 entry below for information about
1875	prerequisites and upgrading, if you are not already using clang 3.5.0
1876	or higher.
1877
187820180110:
1879	LLVM's lld linker is now used as the FreeBSD/amd64 bootstrap linker.
1880	This means it is used to link the kernel and userland libraries and
1881	executables, but is not yet installed as /usr/bin/ld by default.
1882
1883	To revert to ld.bfd as the bootstrap linker, in /etc/src.conf set
1884	WITHOUT_LLD_BOOTSTRAP=yes
1885
188620180110:
1887	On i386, pmtimer has been removed. Its functionality has been folded
1888	into apm. It was a no-op on ACPI in current for a while now (but was
1889	still needed on i386 in FreeBSD 11 and earlier). Users may need to
1890	remove it from kernel config files.
1891
189220180104:
1893	The use of RSS hash from the network card aka flowid has been
1894	disabled by default for lagg(4) as it's currently incompatible with
1895	the lacp and loadbalance protocols.
1896
1897	This can be re-enabled by setting the following in loader.conf:
1898	net.link.lagg.default_use_flowid="1"
1899
190020180102:
1901	The SW_WATCHDOG option is no longer necessary to enable the
1902	hardclock-based software watchdog if no hardware watchdog is
1903	configured. As before, SW_WATCHDOG will cause the software
1904	watchdog to be enabled even if a hardware watchdog is configured.
1905
190620171215:
1907	r326887 fixes the issue described in the 20171214 UPDATING entry.
1908	r326888 flips the switch back to building GELI support always.
1909
191020171214:
1911	r362593 broke ZFS + GELI support for reasons unknown. However,
1912	it also broke ZFS support generally, so GELI has been turned off
1913	by default as the lesser evil in r326857. If you boot off ZFS and/or
1914	GELI, it might not be a good time to update.
1915
191620171125:
1917	PowerPC users must update loader(8) by rebuilding world before
1918	installing a new kernel, as the protocol connecting them has
1919	changed. Without the update, loader metadata will not be passed
1920	successfully to the kernel and users will have to enter their
1921	root partition at the kernel mountroot prompt to continue booting.
1922	Newer versions of loader can boot old kernels without issue.
1923
192420171110:
1925	The LOADER_FIREWIRE_SUPPORT build variable has been renamed to
1926	WITH/OUT_LOADER_FIREWIRE. LOADER_{NO_,}GELI_SUPPORT has been renamed
1927	to WITH/OUT_LOADER_GELI.
1928
192920171106:
1930	The naive and non-compliant support of posix_fallocate(2) in ZFS
1931	has been removed as of r325320.  The system call now returns EINVAL
1932	when used on a ZFS file.  Although the new behavior complies with the
1933	standard, some consumers are not prepared to cope with it.
1934	One known victim is lld prior to r325420.
1935
193620171102:
1937	Building in a FreeBSD src checkout will automatically create object
1938	directories now rather than store files in the current directory if
1939	'make obj' was not ran.  Calling 'make obj' is no longer necessary.
1940	This feature can be disabled by setting WITHOUT_AUTO_OBJ=yes in
1941	/etc/src-env.conf (not /etc/src.conf), or passing the option in the
1942	environment.
1943
194420171101:
1945	The default MAKEOBJDIR has changed from /usr/obj/<srcdir> for native
1946	builds, and /usr/obj/<arch>/<srcdir> for cross-builds, to a unified
1947	/usr/obj/<srcdir>/<arch>.  This behavior can be changed to the old
1948	format by setting WITHOUT_UNIFIED_OBJDIR=yes in /etc/src-env.conf,
1949	the environment, or with -DWITHOUT_UNIFIED_OBJDIR when building.
1950	The UNIFIED_OBJDIR option is a transitional feature that will be
1951	removed for 12.0 release; please migrate to the new format for any
1952	tools by looking up the OBJDIR used by 'make -V .OBJDIR' means rather
1953	than hardcoding paths.
1954
195520171028:
1956	The native-xtools target no longer installs the files by default to the
1957	OBJDIR.  Use the native-xtools-install target with a DESTDIR to install
1958	to ${DESTDIR}/${NXTP} where NXTP defaults to /nxb-bin.
1959
196020171021:
1961	As part of the boot loader infrastructure cleanup, LOADER_*_SUPPORT
1962	options are changing from controlling the build if defined / undefined
1963	to controlling the build with explicit 'yes' or 'no' values. They will
1964	shift to WITH/WITHOUT options to match other options in the system.
1965
196620171010:
1967	libstand has turned into a private library for sys/boot use only.
1968	It is no longer supported as a public interface outside of sys/boot.
1969
197020171005:
1971	The arm port has split armv6 into armv6 and armv7. armv7 is now
1972	a valid TARGET_ARCH/MACHINE_ARCH setting. If you have an armv7 system
1973	and are running a kernel from before r324363, you will need to add
1974	MACHINE_ARCH=armv7 to 'make buildworld' to do a native build.
1975
197620171003:
1977	When building multiple kernels using KERNCONF, non-existent KERNCONF
1978	files will produce an error and buildkernel will fail. Previously
1979	missing KERNCONF files silently failed giving no indication as to
1980	why, only to subsequently discover during installkernel that the
1981	desired kernel was never built in the first place.
1982
198320170912:
1984	The default serial number format for CTL LUNs has changed.  This will
1985	affect users who use /dev/diskid/* device nodes, or whose FibreChannel
1986	or iSCSI clients care about their LUNs' serial numbers.  Users who
1987	require serial number stability should hardcode serial numbers in
1988	/etc/ctl.conf .
1989
199020170912:
1991	For 32-bit arm compiled for hard-float support, soft-floating point
1992	binaries now always get their shared libraries from
1993	LD_SOFT_LIBRARY_PATH (in the past, this was only used if
1994	/usr/libsoft also existed). Only users with a hard-float ld.so, but
1995	soft-float everything else should be affected.
1996
199720170826:
1998	The geli password typed at boot is now hidden.  To restore the previous
1999	behavior, see geli(8) for configuration options.
2000
200120170825:
2002	Move PMTUD blackhole counters to TCPSTATS and remove them from bare
2003	sysctl values.  Minor nit, but requires a rebuild of both world/kernel
2004	to complete.
2005
200620170814:
2007	"make check" behavior (made in ^/head@r295380) has been changed to
2008	execute from a limited sandbox, as opposed to executing from
2009	${TESTSDIR}.
2010
2011	Behavioral changes:
2012	- The "beforecheck" and "aftercheck" targets are now specified.
2013	- ${CHECKDIR} (added in commit noted above) has been removed.
2014	- Legacy behavior can be enabled by setting
2015	  WITHOUT_MAKE_CHECK_USE_SANDBOX in src.conf(5) or the environment.
2016
2017	If the limited sandbox mode is enabled, "make check" will execute
2018	"make distribution", then install, execute the tests, and clean up the
2019	sandbox if successful.
2020
2021	The "make distribution" and "make install" targets are typically run as
2022	root to set appropriate permissions and ownership at installation time.
2023	The end-user should set "WITH_INSTALL_AS_USER" in src.conf(5) or the
2024	environment if executing "make check" with limited sandbox mode using
2025	an unprivileged user.
2026
202720170808:
2028	Since the switch to GPT disk labels, fsck for UFS/FFS has been
2029	unable to automatically find alternate superblocks. As of r322297,
2030	the information needed to find alternate superblocks has been
2031	moved to the end of the area reserved for the boot block.
2032	Filesystems created with a newfs of this vintage or later
2033	will create the recovery information. If you have a filesystem
2034	created prior to this change and wish to have a recovery block
2035	created for your filesystem, you can do so by running fsck in
2036	foreground mode (i.e., do not use the -p or -y options). As it
2037	starts, fsck will ask ``SAVE DATA TO FIND ALTERNATE SUPERBLOCKS''
2038	to which you should answer yes.
2039
204020170728:
2041	As of r321665, an NFSv4 server configuration that services
2042	Kerberos mounts or clients that do not support the uid/gid in
2043	owner/owner_group string capability, must explicitly enable
2044	the nfsuserd daemon by adding nfsuserd_enable="YES" to the
2045	machine's /etc/rc.conf file.
2046
204720170722:
2048	Clang, llvm, lldb, compiler-rt and libc++ have been upgraded to 5.0.0.
2049	Please see the 20141231 entry below for information about prerequisites
2050	and upgrading, if you are not already using clang 3.5.0 or higher.
2051
205220170701:
2053	WITHOUT_RCMDS is now the default. Set WITH_RCMDS if you need the
2054	r-commands (rlogin, rsh, etc.) to be built with the base system.
2055
205620170625:
2057	The FreeBSD/powerpc platform now uses a 64-bit type for time_t.  This is
2058	a very major ABI incompatible change, so users of FreeBSD/powerpc must
2059	be careful when performing source upgrades.  It is best to run
2060	'make installworld' from an alternate root system, either a live
2061	CD/memory stick, or a temporary root partition.  Additionally, all ports
2062	must be recompiled.  powerpc64 is largely unaffected, except in the case
2063	of 32-bit compatibility.  All 32-bit binaries will be affected.
2064
206520170623:
2066	Forward compatibility for the "ino64" project have been committed. This
2067	will allow most new binaries to run on older kernels in a limited
2068	fashion.  This prevents many of the common foot-shooting actions in the
2069	upgrade as well as the limited ability to roll back the kernel across
2070	the ino64 upgrade. Complicated use cases may not work properly, though
2071	enough simpler ones work to allow recovery in most situations.
2072
207320170620:
2074	Switch back to the BSDL dtc (Device Tree Compiler). Set WITH_GPL_DTC
2075	if you require the GPL compiler.
2076
207720170619:
2078	Forward compatibility for the "ino64" project have been committed. This
2079	will allow most new binaries to run on older kernels in a limited
2080	fashion.  This prevents many of the common foot-shooting actions in the
2081	upgrade as well as the limited ability to roll back the kernel across
2082	the ino64 upgrade. Complicated use cases may not work properly, though
2083	enough simpler ones work to allow recovery in most situations.
2084
208520170618:
2086	The internal ABI used for communication between the NFS kernel modules
2087	was changed by r320085, so __FreeBSD_version was bumped to
2088	ensure all the NFS related modules are updated together.
2089
209020170617:
2091	The ABI of struct event was changed by extending the data
2092	member to 64bit and adding ext fields.  For upgrade, same
2093	precautions as for the entry 20170523 "ino64" must be
2094	followed.
2095
209620170531:
2097	The GNU roff toolchain has been removed from base. To render manpages
2098	which are not supported by mandoc(1), man(1) can fallback on GNU roff
2099	from ports (and recommends to install it).
2100	To render roff(7) documents, consider using GNU roff from ports or the
2101	heirloom doctools roff toolchain from ports via pkg install groff or
2102	via pkg install heirloom-doctools.
2103
210420170524:
2105	The ath(4) and ath_hal(4) modules now build piecemeal to allow for
2106	smaller runtime footprint builds.  This is useful for embedded systems
2107	which only require one chipset support.
2108
2109	If you load it as a module, make sure this is in /boot/loader.conf:
2110
2111	if_ath_load="YES"
2112
2113	This will load the HAL, all chip/RF backends and if_ath_pci.
2114	If you have if_ath_pci in /boot/loader.conf, ensure it is after
2115	if_ath or it will not load any HAL chipset support.
2116
2117	If you want to selectively load things (eg on cheaper ARM/MIPS
2118	platforms where RAM is at a premium) you should:
2119
2120	* load ath_hal
2121	* load the chip modules in question
2122	* load ath_rate, ath_dfs
2123	* load ath_main
2124	* load if_ath_pci and/or if_ath_ahb depending upon your particular
2125	  bus bind type - this is where probe/attach is done.
2126
2127	For further comments/feedback, poke adrian@ .
2128
212920170523:
2130	The "ino64" 64-bit inode project has been committed, which extends
2131	a number of types to 64 bits.  Upgrading in place requires care and
2132	adherence to the documented upgrade procedure.
2133
2134	If using a custom kernel configuration ensure that the
2135	COMPAT_FREEBSD11 option is included (as during the upgrade the
2136	system will be running the ino64 kernel with the existing world).
2137
2138	For the safest in-place upgrade begin by removing previous build
2139	artifacts via "rm -rf /usr/obj/*".  Then, carefully follow the full
2140	procedure documented below under the heading "To rebuild everything and
2141	install it on the current system."  Specifically, a reboot is required
2142	after installing the new kernel before installing world. While an
2143	installworld normally works by accident from multiuser after rebooting
2144	the proper kernel, there are many cases where this will fail across this
2145	upgrade and installworld from single user is required.
2146
214720170424:
2148	The NATM framework including the en(4), fatm(4), hatm(4), and
2149	patm(4) devices has been removed.  Consumers should plan a
2150	migration before the end-of-life date for FreeBSD 11.
2151
215220170420:
2153	GNU diff has been replaced by a BSD licensed diff. Some features of GNU
2154	diff has not been implemented, if those are needed a newer version of
2155	GNU diff is available via the diffutils package under the gdiff name.
2156
215720170413:
2158	As of r316810 for ipfilter, keep frags is no longer assumed when
2159	keep state is specified in a rule. r316810 aligns ipfilter with
2160	documentation in man pages separating keep frags from keep state.
2161	This allows keep state to be specified without forcing keep frags
2162	and allows keep frags to be specified independently of keep state.
2163	To maintain previous behaviour, also specify keep frags with
2164	keep state (as documented in ipf.conf.5).
2165
216620170407:
2167	arm64 builds now use the base system LLD 4.0.0 linker by default,
2168	instead of requiring that the aarch64-binutils port or package be
2169	installed. To continue using aarch64-binutils, set
2170	CROSS_BINUTILS_PREFIX=/usr/local/aarch64-freebsd/bin .
2171
217220170405:
2173	The UDP optimization in entry 20160818 that added the sysctl
2174	net.inet.udp.require_l2_bcast has been reverted.  L2 broadcast
2175	packets will no longer be treated as L3 broadcast packets.
2176
217720170331:
2178	Binds and sends to the loopback addresses, IPv6 and IPv4, will now
2179	use any explicitly assigned loopback address available in the jail
2180	instead of using the first assigned address of the jail.
2181
218220170329:
2183	The ctl.ko module no longer implements the iSCSI target frontend:
2184	cfiscsi.ko does instead.
2185
2186	If building cfiscsi.ko as a kernel module, the module can be loaded
2187	via one of the following methods:
2188	- `cfiscsi_load="YES"` in loader.conf(5).
2189	- Add `cfiscsi` to `$kld_list` in rc.conf(5).
2190	- ctladm(8)/ctld(8), when compiled with iSCSI support
2191	  (`WITH_ISCSI=yes` in src.conf(5))
2192
2193	Please see cfiscsi(4) for more details.
2194
219520170316:
2196	The mmcsd.ko module now additionally depends on geom_flashmap.ko.
2197	Also, mmc.ko and mmcsd.ko need to be a matching pair built from the
2198	same source (previously, the dependency of mmcsd.ko on mmc.ko was
2199	missing, but mmcsd.ko now will refuse to load if it is incompatible
2200	with mmc.ko).
2201
220220170315:
2203	The syntax of ipfw(8) named states was changed to avoid ambiguity.
2204	If you have used named states in the firewall rules, you need to modify
2205	them after installworld and before rebooting. Now named states must
2206	be prefixed with colon.
2207
220820170311:
2209	The old drm (sys/dev/drm/) drivers for i915 and radeon have been
2210	removed as the userland we provide cannot use them. The KMS version
2211	(sys/dev/drm2) supports the same hardware.
2212
221320170302:
2214	Clang, llvm, lldb, compiler-rt and libc++ have been upgraded to 4.0.0.
2215	Please see the 20141231 entry below for information about prerequisites
2216	and upgrading, if you are not already using clang 3.5.0 or higher.
2217
221820170221:
2219	The code that provides support for ZFS .zfs/ directory functionality
2220	has been reimplemented.  It's not possible now to create a snapshot
2221	by mkdir under .zfs/snapshot/.  That should be the only user visible
2222	change.
2223
222420170216:
2225	EISA bus support has been removed. The WITH_EISA option is no longer
2226	valid.
2227
222820170215:
2229	MCA bus support has been removed.
2230
223120170127:
2232	The WITH_LLD_AS_LD / WITHOUT_LLD_AS_LD build knobs have been renamed
2233	WITH_LLD_IS_LD / WITHOUT_LLD_IS_LD, for consistency with CLANG_IS_CC.
2234
223520170112:
2236	The EM_MULTIQUEUE kernel configuration option is deprecated now that
2237	the em(4) driver conforms to iflib specifications.
2238
223920170109:
2240	The igb(4), em(4) and lem(4) ethernet drivers are now implemented via
2241	IFLIB.  If you have a custom kernel configuration that excludes em(4)
2242	but you use igb(4), you need to re-add em(4) to your custom
2243	configuration.
2244
224520161217:
2246	Clang, llvm, lldb, compiler-rt and libc++ have been upgraded to 3.9.1.
2247	Please see the 20141231 entry below for information about prerequisites
2248	and upgrading, if you are not already using clang 3.5.0 or higher.
2249
225020161124:
2251	Clang, llvm, lldb, compiler-rt and libc++ have been upgraded to 3.9.0.
2252	Please see the 20141231 entry below for information about prerequisites
2253	and upgrading, if you are not already using clang 3.5.0 or higher.
2254
225520161119:
2256	The layout of the pmap structure has changed for powerpc to put the pmap
2257	statistics at the front for all CPU variations.  libkvm(3) and all tools
2258	that link against it need to be recompiled.
2259
226020161030:
2261	isl(4) and cyapa(4) drivers now require a new driver,
2262	chromebook_platform(4), to work properly on Chromebook-class hardware.
2263	On other types of hardware the drivers may need to be configured using
2264	device hints.  Please see the corresponding manual pages for details.
2265
226620161017:
2267	The urtwn(4) driver was merged into rtwn(4) and now consists of
2268	rtwn(4) main module + rtwn_usb(4) and rtwn_pci(4) bus-specific
2269	parts.
2270	Also, firmware for RTL8188CE was renamed due to possible name
2271	conflict (rtwnrtl8192cU(B) -> rtwnrtl8192cE(B))
2272
227320161015:
2274	GNU rcs has been removed from base.  It is available as packages:
2275	- rcs: Latest GPLv3 GNU rcs version.
2276	- rcs57: Copy of the latest version of GNU rcs (GPLv2) before it was
2277	removed from base.
2278
227920161008:
2280	Use of the cc_cdg, cc_chd, cc_hd, or cc_vegas congestion control
2281	modules now requires that the kernel configuration contain the
2282	TCP_HHOOK option. (This option is included in the GENERIC kernel.)
2283
228420161003:
2285	The WITHOUT_ELFCOPY_AS_OBJCOPY src.conf(5) knob has been retired.
2286	ELF Tool Chain's elfcopy is always installed as /usr/bin/objcopy.
2287
228820160924:
2289	Relocatable object files with the extension of .So have been renamed
2290	to use an extension of .pico instead.  The purpose of this change is
2291	to avoid a name clash with shared libraries on case-insensitive file
2292	systems.  On those file systems, foo.So is the same file as foo.so.
2293
229420160918:
2295	GNU rcs has been turned off by default.  It can (temporarily) be built
2296	again by adding WITH_RCS knob in src.conf.
2297	Otherwise, GNU rcs is available from packages:
2298	- rcs: Latest GPLv3 GNU rcs version.
2299	- rcs57: Copy of the latest version of GNU rcs (GPLv2) from base.
2300
230120160918:
2302	The backup_uses_rcs functionality has been removed from rc.subr.
2303
230420160908:
2305	The queue(3) debugging macro, QUEUE_MACRO_DEBUG, has been split into
2306	two separate components, QUEUE_MACRO_DEBUG_TRACE and
2307	QUEUE_MACRO_DEBUG_TRASH.  Define both for the original
2308	QUEUE_MACRO_DEBUG behavior.
2309
231020160824:
2311	r304787 changed some ioctl interfaces between the iSCSI userspace
2312	programs and the kernel.  ctladm, ctld, iscsictl, and iscsid must be
2313	rebuilt to work with new kernels.  __FreeBSD_version has been bumped
2314	to 1200005.
2315
231620160818:
2317	The UDP receive code has been updated to only treat incoming UDP
2318	packets that were addressed to an L2 broadcast address as L3
2319	broadcast packets.  It is not expected that this will affect any
2320	standards-conforming UDP application.  The new behaviour can be
2321	disabled by setting the sysctl net.inet.udp.require_l2_bcast to
2322	0.
2323
232420160818:
2325	Remove the openbsd_poll system call.
2326	__FreeBSD_version has been bumped because of this.
2327
232820160708:
2329	The stable/11 branch has been created from head@r302406.
2330
2331After branch N is created, entries older than the N-2 branch point are removed
2332from this file. After stable/14 is branched and current becomes FreeBSD 15,
2333entries older than stable/12 branch point will be removed from current's
2334UPDATING file.
2335
2336COMMON ITEMS:
2337
2338	General Notes
2339	-------------
2340	Sometimes, obscure build problems are the result of environment
2341	poisoning.  This can happen because the make utility reads its
2342	environment when searching for values for global variables.  To run
2343	your build attempts in an "environmental clean room", prefix all make
2344	commands with 'env -i '.  See the env(1) manual page for more details.
2345	Occasionally a build failure will occur with "make -j" due to a race
2346	condition.  If this happens try building again without -j, and please
2347	report a bug if it happens consistently.
2348
2349	When upgrading from one major version to another it is generally best to
2350	upgrade to the latest code in the currently installed branch first, then
2351	do an upgrade to the new branch. This is the best-tested upgrade path,
2352	and has the highest probability of being successful.  Please try this
2353	approach if you encounter problems with a major version upgrade.  Since
2354	the stable 4.x branch point, one has generally been able to upgrade from
2355	anywhere in the most recent stable branch to head / current (or even the
2356	last couple of stable branches). See the top of this file when there's
2357	an exception.
2358
2359	The update process will emit an error on an attempt to perform a build
2360	or install from a FreeBSD version below the earliest supported version.
2361	When updating from an older version the update should be performed one
2362	major release at a time, including running `make delete-old` at each
2363	step.
2364
2365	When upgrading a live system, having a root shell around before
2366	installing anything can help undo problems. Not having a root shell
2367	around can lead to problems if pam has changed too much from your
2368	starting point to allow continued authentication after the upgrade.
2369
2370	This file should be read as a log of events. When a later event changes
2371	information of a prior event, the prior event should not be deleted.
2372	Instead, a pointer to the entry with the new information should be
2373	placed in the old entry. Readers of this file should also sanity check
2374	older entries before relying on them blindly. Authors of new entries
2375	should write them with this in mind.
2376
2377	ZFS notes
2378	---------
2379	When upgrading the boot ZFS pool to a new version (via zpool upgrade),
2380	always follow these three steps:
2381
2382	1) recompile and reinstall the ZFS boot loader and boot block
2383	(this is part of "make buildworld" and "make installworld")
2384
2385	2) update the ZFS boot block on your boot drive (only required when
2386	doing a zpool upgrade):
2387
2388	When booting on x86 via BIOS, use the following to update the ZFS boot
2389	block on the freebsd-boot partition of a GPT partitioned drive ada0:
2390		gpart bootcode -p /boot/gptzfsboot -i $N ada0
2391	The value $N will typically be 1.  For EFI booting, see EFI notes.
2392
2393	3) zpool upgrade the root pool. New bootblocks will work with old
2394	pools, but not vice versa, so they need to be updated before any
2395	zpool upgrade.
2396
2397	Non-boot pools do not need these updates.
2398
2399	EFI notes
2400	---------
2401
2402	There are two locations the boot loader can be installed into. The
2403	current location (and the default) is \efi\freebsd\loader.efi and using
2404	efibootmgr(8) to configure it. The old location, that must be used on
2405	deficient systems that don't honor efibootmgr(8) protocols, is the
2406	fallback location of \EFI\BOOT\BOOTxxx.EFI. Generally, you will copy
2407	/boot/loader.efi to this location, but on systems installed a long time
2408	ago the ESP may be too small and /boot/boot1.efi may be needed unless
2409	the ESP has been expanded in the meantime.
2410
2411	Recent systems will have the ESP mounted on /boot/efi, but older ones
2412	may not have it mounted at all, or mounted in a different
2413	location. Older arm SD images with MBR used /boot/msdos as the
2414	mountpoint. The ESP is a MSDOS filesystem.
2415
2416	The EFI boot loader rarely needs to be updated. For ZFS booting,
2417	however, you must update loader.efi before you do 'zpool upgrade' the
2418	root zpool, otherwise the old loader.efi may reject the upgraded zpool
2419	since it does not automatically understand some new features.
2420
2421	See loader.efi(8) and uefi(8) for more details.
2422
2423	To build a kernel
2424	-----------------
2425	If you are updating from a prior version of FreeBSD (even one just
2426	a few days old), you should follow this procedure.  It is the most
2427	failsafe as it uses a /usr/obj tree with a fresh mini-buildworld,
2428
2429	make kernel-toolchain
2430	make -DALWAYS_CHECK_MAKE buildkernel KERNCONF=YOUR_KERNEL_HERE
2431	make -DALWAYS_CHECK_MAKE installkernel KERNCONF=YOUR_KERNEL_HERE
2432
2433	If you are running kernel modules from ports, see FOOTNOTE [1].
2434
2435	To test a kernel once
2436	---------------------
2437	If you just want to boot a kernel once (because you are not sure
2438	if it works, or if you want to boot a known bad kernel to provide
2439	debugging information) run
2440	make installkernel KERNCONF=YOUR_KERNEL_HERE KODIR=/boot/testkernel
2441	nextboot -k testkernel
2442
2443	To rebuild everything and install it on the current system.
2444	-----------------------------------------------------------
2445	# Note: sometimes if you are running current you gotta do more than
2446	# is listed here if you are upgrading from a really old current.
2447
2448	<make sure you have good level 0 dumps>		[2]
2449	make buildworld
2450	<make sure any needed PORTS_MODULES are set>	[1]
2451	make buildkernel KERNCONF=YOUR_KERNEL_HERE
2452	make installkernel KERNCONF=YOUR_KERNEL_HERE
2453	<reboot in single user>				[3]
2454	etcupdate -p					[5]
2455	make installworld
2456	etcupdate -B					[4]
2457	make delete-old					[6]
2458	<reboot>
2459
2460	To cross-install current onto a separate partition
2461	--------------------------------------------------
2462	# In this approach we use a separate partition to hold
2463	# current's root, 'usr', and 'var' directories.   A partition
2464	# holding "/", "/usr" and "/var" should be about 2GB in
2465	# size.
2466
2467	<make sure you have good level 0 dumps>
2468	<boot into -stable>
2469	make buildworld
2470	make buildkernel KERNCONF=YOUR_KERNEL_HERE	[1]
2471	<maybe newfs current's root partition>
2472	<mount current's root partition on directory ${CURRENT_ROOT}>
2473	make installworld DESTDIR=${CURRENT_ROOT} -DDB_FROM_SRC
2474	make distribution DESTDIR=${CURRENT_ROOT} # if newfs'd
2475	make installkernel KERNCONF=YOUR_KERNEL_HERE DESTDIR=${CURRENT_ROOT}
2476	cp /etc/fstab ${CURRENT_ROOT}/etc/fstab 		   # if newfs'd
2477	<edit ${CURRENT_ROOT}/etc/fstab to mount "/" from the correct partition>
2478	<reboot into current>
2479	<do a "native" rebuild/install as described in the previous section>
2480	<maybe install compatibility libraries from ports/misc/compat*>
2481	<reboot>
2482
2483
2484	To upgrade in-place from stable to current
2485	----------------------------------------------
2486	<make sure you have good level 0 dumps>		[2]
2487	make buildworld					[9]
2488	<make sure any needed PORTS_MODULES are set>	[1]
2489	make buildkernel KERNCONF=YOUR_KERNEL_HERE	[8]
2490	make installkernel KERNCONF=YOUR_KERNEL_HERE
2491	<reboot in single user>				[3]
2492	etcupdate -p					[5]
2493	make installworld
2494	etcupdate -B					[4]
2495	make delete-old					[6]
2496	<reboot>
2497
2498	Make sure that you've read the UPDATING file to understand the
2499	tweaks to various things you need.  At this point in the life
2500	cycle of current, things change often and you are on your own
2501	to cope.  The defaults can also change, so please read ALL of
2502	the UPDATING entries.
2503
2504	Also, if you are tracking -current, you must be subscribed to
2505	freebsd-current@freebsd.org.  Make sure that before you update
2506	your sources that you have read and understood all the recent
2507	messages there.  If in doubt, please track -stable which has
2508	much fewer pitfalls.
2509
2510FOOTNOTES:
2511
2512	[1] If you have third party modules, such as drm-kmod or vmware, you
2513	should disable them at this point so they don't crash your system on
2514	reboot. Alternatively, you should rebuild all the modules you have in
2515	your system and install them as well.  If you are running -current, you
2516	should seriously consider placing all sources to all the modules for
2517	your system (or symlinks to them) in /usr/local/sys/modules so this
2518	happens automatically. If all your modules come from ports, then adding
2519	the port origin directories to PORTS_MODULES instead is also automatic
2520	and effective, eg:
2521	     PORTS_MODULES+=graphics/drm-kmod graphics/nvidia-drm-kmod
2522
2523	[2] To make complete dumps on zfs(4), use bectl(8), which
2524	creates bootable snapshots of configurable depth that are
2525	selectable via the bootloader. For ufs(4), use dump(8) and
2526	restore(8).
2527
2528	[3] From the bootblocks, boot -s, and then do
2529		fsck -p
2530		mount -u /
2531		mount -a
2532		sh /etc/rc.d/zfs start	# mount zfs filesystem, if needed
2533		cd src			# full path to source
2534		adjkerntz -i		# if CMOS is wall time
2535	Also, when doing a major release upgrade, it is required that you boot
2536	into single user mode to do the installworld.
2537
2538	[4] Note: This step is non-optional.  Failure to do this step
2539	can result in a significant reduction in the functionality of the
2540	system.  Attempting to do it by hand is not recommended and those
2541	that pursue this avenue should read this file carefully, as well
2542	as the archives of freebsd-current and freebsd-hackers mailing lists
2543	for potential gotchas.  See etcupdate(8) for more information.
2544
2545	[5] Usually this step is a no-op.  However, from time to time
2546	you may need to do this if you get unknown user in the following
2547	step.
2548
2549	[6] This only deletes old files and directories. Old libraries
2550	can be deleted by "make delete-old-libs", but you have to make
2551	sure that no program is using those libraries anymore.
2552
2553	[8] The new kernel must be able to run existing binaries used by an
2554	installworld.  When upgrading across major versions, the new kernel's
2555	configuration must include the correct COMPAT_FREEBSD<n> option for
2556	existing binaries (e.g. COMPAT_FREEBSD11 to run 11.x binaries).  Failure
2557	to do so may leave you with a system that is hard to boot to recover. A
2558	GENERIC kernel will include suitable compatibility options to run
2559	binaries from older branches.  Note that the ability to run binaries
2560	from unsupported branches is not guaranteed.
2561
2562	Make sure that you merge any new devices from GENERIC since the
2563	last time you updated your kernel config file. Options also
2564	change over time, so you may need to adjust your custom kernels
2565	for these as well.
2566
2567	[9] If CPUTYPE is defined in your /etc/make.conf, make sure to use the
2568	"?=" instead of the "=" assignment operator, so that buildworld can
2569	override the CPUTYPE if it needs to.
2570
2571	MAKEOBJDIRPREFIX must be defined in an environment variable, and
2572	not on the command line, or in /etc/make.conf.  buildworld will
2573	warn if it is improperly defined.
2574FORMAT:
2575
2576This file contains a list, in reverse chronological order, of major
2577breakages in tracking -current.  It is not guaranteed to be a complete
2578list of such breakages, and only contains entries since September 23, 2011.
2579If you need to see UPDATING entries from before that date, you will need
2580to fetch an UPDATING file from an older FreeBSD release.
2581
2582Copyright information:
2583
2584Copyright 1998-2009 M. Warner Losh <imp@FreeBSD.org>
2585
2586Redistribution, publication, translation and use, with or without
2587modification, in full or in part, in any form or format of this
2588document are permitted without further permission from the author.
2589
2590THIS DOCUMENT IS PROVIDED BY WARNER LOSH ``AS IS'' AND ANY EXPRESS OR
2591IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
2592WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
2593DISCLAIMED.  IN NO EVENT SHALL WARNER LOSH BE LIABLE FOR ANY DIRECT,
2594INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
2595(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
2596SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2597HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
2598STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
2599IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2600POSSIBILITY OF SUCH DAMAGE.
2601
2602Contact Warner Losh if you have any questions about your use of
2603this document.
2604