xref: /freebsd/UPDATING (revision b54dcb897a5fa66ff1013d0ea403ed8894e34b8a)
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
3020260812:
31	The new video(4) framework has landed. <sys/videoio.h> is now provided
32	as the API for communicating with it. __FreeBSD_version has been bumped
33	to 1600020 for ports that need to detect this changeover.
34
3520260728:
36	The Intel 82576 and I350 Virtual Function devices have been split from
37	the igb(4) driver into the igbv driver.  Interfaces previously exposed
38	as igbN are now exposed as igbvN.  Network configuration files must be
39	updated accordingly.
40
4120260727:
42	The wait_for_pids() function in rc.subr, used by rc scripts
43	when stopping or restarting a service, has been modified to
44	use pwait(1)'s new -r option, which requires kernel support.
45	When upgrading across this change, you should install a new
46	kernel first, then reboot, then install a new world, run
47	etcupdate, and reboot again.  Otherwise, you may find that
48	rc.subr is unable to stop services because the running kernel
49	does not provide the support that the updated pwait(1) needs.
50	Alternatively, if you deem it safe, you may use fastboot(8) to
51	reboot without shutting down services first.
52
5320260620:
54	On powerpc64le, long double is now IEEE 754 binary128 (quad
55	precision, 113-bit mantissa) instead of 64-bit double.  This is an
56	ABI-incompatible change with no symbol versioning: all C and C++
57	code that passes, returns, or stores long double (or long double
58	complex) -- including printf/scanf "%Lf", strtold, and the libm
59	*l() routines -- must be rebuilt against the new world.  Mixing old
60	and new objects that exchange long double values will silently
61	corrupt data.  Rebuild all installed ports and any out-of-tree
62	software after upgrading.  Big-endian powerpc and powerpc64 are
63	unaffected and keep 64-bit long double.
64
6520260521:
66	Audio devices are now created with GID 43 / audio. You will need to add
67	users who need access to audio devices to this group.
68
6920260512:
70	"bsdinstall script" will now do a pkgbase installation by default.  To
71	revert to the legacy distset installation, set "DISTRIBUTIONS" in
72	your installerconfig.
73
7420260412:
75	The /etc/rc.d/NETWORKING script no longer provides the legacy
76	NETWORK alias. Third-party or local RC scripts that still use
77	"REQUIRE: NETWORK" shall be updated to use "REQUIRE: NETWORKING"
78	instead.
79
8020260129:
81	The "net.inet6.ip6.use_stableaddr" sysctl is now on by default.
82	This changes the default algorithm to choose IPv6 SLAAC autogenerated
83	addresses from embedding the interface hardware address to using
84	SHA256-HMAC hash as described in RFC 7217 to derive an opaque but
85	stable Address.  If you are using autoconfigured IPv6 addresses at
86	reboot they will be different after this change, but constant
87	thereafter, please update your DNS records if any.
88
8920260106:
90	Zstd has moved to the new "zstd" package.  If you have set-minimal
91	installed, this package will be installed automatically, otherwise
92	you might want to install it manually.  This change only affects
93	pkgbase users.
94
9520251222:
96	Commit 9f49f436a9ec changed the internal KAPI between the NFS
97	modules. As such, nfscommon, nfscl and nfsd must all be rebuilt
98	from sources.
99
10020251212:
101	Timeouts for SCSI bus probing have been drastically reduced. They are
102	now tuneables that can be set in the boot loader should you have a
103	device that requires a longer-than-standards imply timeout but
104	none-the-less works.
105
106	kern.cam.tur_timeout		(default was 60s, now 1s)
107	kern.cam.inquiry_timeout	(default was 60s, now 1s)
108	kern.cam.reportluns_timeout	(default is 60s)
109	kern.cam.modesense_timeout	(default was 60s, now 1s)
110
11120251115:
112	The FreeBSD-base repository is now defined in /etc/pkg/FreeBSD.conf,
113	disabled by default.  In -CURRENT and -STABLE this points at nightly
114	builds on pkg.freebsd.org; for BETA/RC/RELEASE builds it points at
115	release engineering builds on pkgbase.freebsd.org.
116
117	Users of pkgbase will need to replace any existing definition of the
118	FreeBSD-base repository in /usr/local/etc/pkg/repos/ with a single
119	line "FreeBSD-base: { enabled: yes }".
120
12120251110:
122	OpenPAM (including libpam and the PAM modules) has moved to the new
123	"pam" package.  The pam-lib subpackage, which includes libpam, will
124	be automatically installed when required.
125
126	If you have set-minimal(-jail) installed, the pam base package which
127	contains the PAM modules will also be automatically installed.
128	If you don't, you MUST manually install the FreeBSD-pam package if you
129	need to authenticate users, otherwise you won't be able to log in.
130
131	This change only affects pkgbase users.
132
13320251105:
134	pf(4) now supports nat64 via the af-to keyword.
135
13620251102:
137	Commit e5aa60d06958 changed the internal KAPI between
138	the NFS modules.  As such, they all need to be rebuilt
139	from sources.  __FreeBSD_version was bumped to 1600004 for this.
140
14120251025:
142	flua(1) has moved to the new FreeBSD-flua package.  If you use flua,
143	you may want to install this package if it's not otherwise installed
144	as a dependency of something else.  This change only affects pkgbase
145	users.
146
14720251021:
148	Bump __FreeBSD_version to 1600002 for LinuxKPI.  An embedded struct
149	has changed size and might possibly be an issue otherwise.
150
15120251016:
152	With the migration to OpenZFS in FreeBSD 13.x a number of ZFS sysctls
153	moved to new locations, but backwards compatibility aliases were
154	provided.  These aliases will be removed in the near future.  Please
155	update /etc/sysctl.conf to reference the new OIDs.  For example,
156
157	        vfs.zfs.min_auto_ashift=12
158
159	needs to be changed to
160
161	        vfs.zfs.vdev.min_auto_ashift=12
162
16320251015:
164	The "FreeBSD-unbound" package is renamed to "FreeBSD-local-unbound".
165	If you have set-optional or set-base installed, the new package will
166	be installed automatically, otherwise you should manually install the
167	new package and remove the old one.
168
169	This change only affects pkgbase users.
170
17120251012:
172	Blacklist has been renamed upstream to Blocklist.  If you have it
173	configured, rename all configuration files, firewall anchors or
174	sentinel files to reflect the new nomenclature.  Old setups will
175	continue to work emitting a warning.
176
17720251002:
178	Audio-related utilities including mixer(8) and virtual_oss(8) have
179	moved to the new FreeBSD-sound package.  If you have set-optional or
180	set-base installed this package will be installed automatically,
181	otherwise you should install it manually if you need these utilities.
182
18320250929:
184	Both drm-kmod and nividia-drm ports had to be updated to either no
185	longer conflict on LinuxKPI vs. native PCI changes and/or to keep
186	working after some LinuxKPI PCI adjustments which were previously
187	hidden behind native PCI.
188	Bump __FreeBSD_version 1600001 so users will pick up updated packages.
189
19020250929:
191	The deprecated ftpd(8) has been removed.  Users who still need ftpd
192	can install the ftp/freebsd-ftpd port.  pkgbase users should remove
193	the orphaned FreeBSD-ftpd package.
194
19520250923:
196	Several changes which affect pkgbase users (only):
197
198	powerd has been moved to a new FreeBSD-powerd package.  If you have
199	FreeBSD-set-minimal installed, the new package will be installed
200	automatically, otherwise you may want to install it by hand.
201
202	libpmc and related utilities (/usr/sbin/pmc*) have moved to the new
203	FreeBSD-pmc package.  If you use these, you may want to install the
204	package.
205
206	The libbz2 package has been renamed to bzip2, and /usr/bin/bzip2 has
207	been moved to the new package.  If you have set-minimal installed,
208	the new package will be added automatically, otherwise you may want
209	to manually install it.
210
211	This only affects pkgbase users.
212
21320250918:
214	mandoc (including /usr/bin/man) has been moved to a new package,
215	FreeBSD-mandoc.  If you have the minimal set installed, this package
216	will be installed automatically, otherwise you may want to install it.
217
218	Kyua has been moved to the FreeBSD-kyua package, and ATF has been moved
219	to the FreeBSD-atf* packages.  If you have FreeBSD-tests installed,
220	these packages will be installed automatically, otherwise you should
221	manually install them if you need these tools.
222
223	This only affects pkgbase users.
224
22520250912:
226	If SRCCONF is unset and a file named src.conf is present at
227	the top of the source tree, it will now be used instead of
228	/etc/src.conf.
229
23020250907:
231	The MANSPLITPKG knob has been turned off by default, so pkgbase builds
232	will no longer generate "-man" subpackages; instead the manpages will
233	be shipped in the packages they belong to.  If you want to continue
234	building split man packages, set WITH_MANSPLITPKG=1.
235
23620250905:
237	FreeBSD 16.0-CURRENT.
238
23920250903:
240	The BLOAT_KERNEL_WITH_EXTERR kernel config option has been renamed to
241	EXTERR_STRINGS.
242
24320250827:
244	The names of pkg repositories defined in /etc/pkg/FreeBSD.conf have
245	changed: "FreeBSD" is now "FreeBSD-ports", and "FreeBSD-kmods" is now
246	"FreeBSD-ports-kmods".  Users with /usr/local/etc/pkg/repos files
247	which override these will need to adjust their configuration to match
248	the new names.
249
25020250823:
251	The set of pkgbase packages for Kerberos and OpenSSL has changed.
252	After updating past 250e77d4f0a5, you should check 'pkg orphans'
253	and remove any orphaned packages, then examine the output of
254	'pkg install -r base -g FreeBSD-openssl\* FreeBSD-kerberos\*'
255	and install any new packages you need.
256
25720250823:
258	To restore bridge(4)'s ABI compatibility with ifconfig from 14.x or
259	earlier, the size of struct ifbreq has changed, so you must update
260	the kernel and /sbin/ifconfig at the same time or you will not be
261	able to add interfaces to bridge.  This is particularly important
262	if you require bridge for network access during boot, in which case
263	you should install the new kernel and the new /sbin/ifconfig prior
264	to rebooting.
265
26620250820:
267	The WITHOUT_GSSAPI src.conf knob has been removed.  This was already
268	a no-op for MIT Kerberos, so this only affects builds which set
269	WITHOUT_MITKRB5=1, in which case you now always get libgssapi.
270
271	Also, Heimdal's compile_et and libcom_err are now controlled by
272	WITHOUT_KERBEROS, not WITHOUT_KERBEROS_SUPPORT.  This matches
273	the behaviour of the MIT Kerberos versions.
274
27520250820:
276	Commits 08c7dd2fbe4f and a4197ea47777 have changed the ABI between
277	libvmmapi and the vmm device. If using a custom kernel configuration,
278	please ensure that the COMPAT_FREEBSD14 option is included so older
279	versions of libvmmapi continue working as expected.
280
28120250819:
282	The CLEAN option has been switched back from default-on to default-off.
283	This reverts the 20250808 change below, which had reverted the 20240729
284	change before it.  Note that some src.conf(5) options are known to break
285	ABI or compatibility in ways that may require a clean build initially
286	when switched.
287
28820250816:
289	Sendmail's libmilter has been moved to its own package.  If you want
290	to compile applications that use libmilter, you should install the
291	FreeBSD-libmilter* packages.
292
293	If you only have FreeBSD-sendmail installed for applications that
294	require libmilter, you can now remove it.
295
29620250815:
297	The [gs]etgroups(2)syscalls have changed. To maintain backwards
298	compatibility with existing programs, you need COMPAT_FREEBSD14 in
299	your kernel config until all applications which use this are
300	rebuild/reinstalled.
301
30220250815:
303	jemalloc 5.3.0 has been committed to the tree.
304
30520250815:
306	The removal of Secure RPC DES authentication noted in 20250810
307	has been reverted.  (However, it is still non-functional.)
308
30920250813:
310	Commit cce64f2e6851 changed the internal KAPI between the NFS
311	modules.  As such, all of them need to be rebuilt from sources.
312	__FreeBSD_version has been bumped to 1500060 already today,
313	 so I will not bump it again for this.
314
31520250813:
316	The gpiobus_attach_bus() function has been removed. Drivers should now
317	use the gpiobus_add_bus() function instead. The difference being that
318	gpiobus_add_bus() doesn't call bus_attach_children(), calling it will
319	be the responsibility of the caller now.
320
32120250810:
322	Support for Secure RPC DES authentication has been removed.
323	The keyserv(8) daemon was already removed, but support for it in libc
324	has also been removed, so if you somehow still had keyserv installed,
325	it will now stop working.  There is no workaround for this.  Removing
326	DES is considered a feature.
327
32820250808:
329	The CLEAN option has been switched back from default-off to
330	default-on.  This reverts the 20240729 change below.
331
33220250807:
333	routed(8) and route6d(8) have moved to the FreeBSD-rip package.
334	If you use either of these, you should install the new package.
335
33620250806:
337	if_epair(4) now uses ether_gen_addr(9) to generate a stable MAC
338	address.
339	To keep using the random address, set the loader tunable
340	net.link.epair.ether_gen_addr=0.
341
34220250804:
343	bsdconfig (including sysrc(8)) has moved to the new bsdconfig
344	package.  If you use pkgbase and wish to use bsdconfig, you should
345	install FreeBSD-bsdconfig.
346
34720250730:
348	The usbhid(4) USB HID driver is now enabled by default, and will be
349	used in preference to other USB HID drivers like ukbd(4), ums(4), and
350	uhid(4).  Work on a FIDO/U2F driver and moused(8) is in progress.
351	The default is being switched now so that we can find and fix any
352	additional issues prior to FreeBSD 15.0.
353
354	To revert to the previous USB HID driver behavior, set the loader
355	tunable hw.usb.usbhid.enable=0.
356
35720250727:
358	bmake (i.e., /usr/bin/make and /usr/share/mk) has moved to a new
359	package, FreeBSD-bmake.  If you use pkgbase and you need make, you
360	should install this package.
361
36220250726:
363	amd64 kernel configurations must contain "options SMP".
364
36520250725:
366	gssd(8) has been moved to a new package, FreeBSD-gssd.  If you use
367	pkgbase and you need gssd, you should install this package.
368
36920250724:
370	The Kerberos packages which are built when WITH_MITKRB5 is enabled
371	have been renamed from FreeBSD-krb5* to FreeBSD-kerberos*.  This
372	affects pkgbase users who manually enabled WITH_MITKRB5, *or* use
373	the default value of WITH_MITKRB5 and updated past c7da9fb90b0b
374	(20250721) which made WITH_MITKRB5 the default.
375
376	In either case, if you have FreeBSD-krb5* packages installed, you
377	should remove them and (re)install the equivalent FreeBSD-kerberos*
378	packages instead.
379
38020250721:
381	WITH_MITKRB5 is now enabled by default. MIT KRB5 has replaced
382	Heimdal in base. Ports that use USES=gssapi must be rebuilt.
383	A clean buildworld is required.
384
38520250719:
386	Commits 392a82b225 and c00baac0ab both changed the
387	internal API between the NFS modules.  As such, all
388	these modules need to be rebuilt from sources.
389	__FreeBSD_version was bumped to 1500053 for this.
390
39120250710:
392	The shar(1) utility has been removed from base.  The
393	sysutils/freebsd-shar port was created to maintain this version of
394	shar(1) past its removal from base.
395
39620250704:
397	LinuxKPI device.h and acpi changes effecting drivers and drm-kmod.
398	Bump __FreeBSD_version 1500050 to be able to detect these changes.
399
40020250630:
401	Commits 171f66b0c2ca and 8e2a90ac8089 changed the internal
402	api between nfscommon.ko and the other nfs modules.
403	Bump __FreeBSD_version to 1500049 for this.
404	All NFS related modules must be rebuilt from up-to-date
405	sources.
406
40720250625:
408	"make delete-old" will now remove the Forth bootloader entirely
409	if the system is built with WITHOUT_FORTH.
410
41120250614:
412	MIT KRB5 (MIT Kerberos5) has been imported into 15-CURRENT. To
413	and install MIT KRB5, add WITH_MITKRB5=yes to /etc/src.conf. This
414	will build and install MIT KRB5 1.21.3. And it will remove Heimdal
415	1.5.2 when delete-old and delete-old-libs are run. To revert back
416	simply buildworld/installworld again with delete-old-libs and
417	delete-old.
418
419	At the moment we only know of a couple of ports that might be
420	affected. Adjusting libmap.conf does not circumvent runtime issues.
421	The few affected ports must be rebuilt. A successful exp-run will be
422	run before MIT KRB5 becomes default.
423
424	Those using the KDC in FreeBSD base may wish to wait. The Heimdal
425	HDB is incompatible with the MIT KRB5 KDC. The migration procedure
426	is a little involved.
427
42820250603:
429	LinuxKPI dma-mapping.h were pulled into the tree from drm-kmod.
430	Bump _FreeBSD_version to 1500045 to be able to detect this change.
431
43220250527:
433	pf changed extension header handling. It now treats AH headers on IPv4 just
434	like AH headers on IPv6 and skips over them, allowing filtering on the inner
435	protocol.
436
43720250527:
438	pf now blocks IPv6 packets with a hop-by-hop or destination options header by
439	default. Such packets can be passed by adding "allow-opts" to the rule. IPv6
440	options are now handled just like their IPv4 counterparts.
441
44220250527:
443	The CAM target layer userland, i.e. ctld(8), ctladm(8) and ctlstat(8),
444	has moved to the new FreeBSD-ctl package.  If you use pkgbase and you
445	need the CAM Target Layer, you should install the new package.
446
447	Development-related tools (e.g. ar and nm) have moved to the new
448	"FreeBSD-toolchain" package, which subsumes and obsoletes the
449	existing "FreeBSD-elftoolchain" package.  If you use pkgbase and
450	need to compile software, you should install the new package and
451	ensure the old FreeBSD-elftoolchain* packages are completely removed.
452
45320250521:
454	Commit e64fe5ad3a23 removed in6_maxmtu and its setter in6_setmaxmtu().
455	in6_maxmtu is used to store the max IPv6 MTU of all interfaces,
456	however it does not have any in-tree consumers since the introduction
457	from the KAME project. The removal should have little impact, and the
458	max IPv6 MTU can be easily retrieved by iterating over all the attached
459	interface if 3rd party modules need it.
460
46120250515:
462	Commit 772258c89f28 changed the internal API between the nfscommon
463	and nfscl modules.  Both need to be built from updated sources.
464
46520250513:
466	The bridge(4) sysctl net.link.bridge.member_ifaddrs now defaults to 0,
467	meaning that interfaces added to a bridge may not have IP addresses
468	assigned.  Refer to bridge(4) for more information.
469
47020250507:
471	UMASS quirks and auto-quirk probing has been overhauled. CAM now won't
472	send SYNCHRONIZE CACHE unless MODE PAGE 8 is present and valid. This
473	should allow more devices to work (since the auto quirk code was updated
474	in 14 and broke several e-readers and the like). Please send imp@freebsd.org
475	any regression reports.
476
47720250504:
478	Commit 9419e086e1a3 changed the internal API between the nfscommon
479	and nfscl modules.  Both need to be built from updated sources.
480
48120250412:
482	LinuxKPI alloc routines were changed to return physically contiguous
483	memory where expected. These changes may require out-of-tree drivers
484	to be recompiled.
485	Bump __FreeBSD_version to 1500037 to be able to detect this change.
486
48720250409:
488	Intel iwlwifi firmware has been removed from the src repository.
489	Before updating their system, users of iwlwifi(4) or iwx(4) must
490	install the appropriate firmware for their chipset using fwget(8) or
491	building it from ports.
492
49320250314:
494	We now use LLVM's binary utilities (nm, objcopy, etc.) by default.
495	The WITHOUT_LLVM_BINUTILS src.conf(5) knob can be used to revert to
496	ELF Tool Chain tools if desired.
497
49820250303:
499	Commit 4a77657cbc01 changed the ABI between ipfw(8) and ipfw(4).
500	Please note that the old ipfw(8) binary will not work with the new
501	ipfw(4) module. Therefore, it is recommended to disable ipfw during
502	the upgrade, otherwise the host system may become inaccessible because
503	ipfw rules cannot be installed with the old binary.
504
50520250214:
506	Commit 4517fbfd4251 modified the internal API between the
507	nfscommon and nfscl modules.  As such, both of these modules
508	need to be rebuilt from sources.
509
51020250201:
511	The NFS related daemons, that provide RPC services to the kernel:
512	gssd(8), rpcbind(8), rpc.tlsservd(8) and rpc.tlsclntd(8), now use a
513	different transport - netlink(4) socket instead of unix(4).  Users of
514	NFS need to upgrade both kernel and world (binaries and libc) at once.
515	Also, any revision between 88cd1e17a7d8 and 99e5a70046da should be
516	avoided.
517
51820250129:
519	Defer the January 19, 2038 date limit in UFS1 filesystems to
520	February 7, 2106. This affects only UFS1 format filesystems.
521	See commit message 1111a44301da for details.
522
52320250127:
524	The Allwinner a10_timer driver has been renamed to aw_driver. If you
525	have a custom kernel configuration including the line 'device
526	a10_timer', it must be adjusted to 'device aw_timer'. The same applies
527	for device exclusions with 'nodevice'.
528
52920250106:
530	A new SOC_ROCKCHIP options appeared, so if you have a custom kernel configuration
531	targeting Rockchip SoC you need to add it so shared and mandatory drivers for
532	this SoC family will be selected.
533	Also a new rk8xx device was added, this select the base driver for Rockchip PMIC.
534
53520241223:
536	The layout of NFS file handles for the tarfs, tmpfs, cd9660, and ext2fs
537	file systems has changed.  An NFS server that exports any of these file
538	systems will need its clients to unmount and remount the exports.
539
54020241216:
541	The iwm(4) firmwares are no longer compiled as kernel modules but instead
542	shipped as raw files. For pkgbase users if you use iwm(4) you will need
543	to install the FreeBSD-firmware-iwm package.
544
54520241124:
546	The OpenBSD derived bc and dc implementations and the WITHOUT_GH_BC
547	option that allowed building them instead of the advanced version
548	imported more than 4 years ago have been removed.
549
55020241107:
551	The ng_ubt(4) driver now requires firmwares to be loaded on Realtek
552	adaptors with rtlbtfw(8) utility. It no longer attaches to devices
553	standing in bootloader mode. Firmware files are available in the
554	comms/rtlbt-firmware port.
555
55620241025:
557	The support for the rc_fast_and_loose variable has been removed from
558	rc.subr(8). Users setting rc_fast_and_loose on their systems are
559	advised to make sure their customizations to rc service scripts
560	do not depend on having a single shell environment shared across
561	all the rc service scripts during booting and shutdown.
562
56320241013:
564	The ciss driver was updated to cope better with hotplug events that
565	caused it to panic before, and to support more than 48 drives attached
566	to the card. These changes were made w/o benefit of hardware for testing
567	and ciss(4) users should be on the lookout for regressions.
568
56920240729:
570	The build now defaults to WITHOUT_CLEAN - i.e., no automatic clean
571	is performed at the beginning of buildworld or buildkernel.  The
572	WITH_CLEAN src.conf(5) knob can be used to restore the previous
573	behaviour.
574
575	If you encounter incremental build issues, please report them to the
576	freebsd-current mailing list so that a special-case dependency can be
577	added, if necessary.
578
57920240715:
580	We now lean more heavily on ACPI enumeration for some traditional
581	devices. uart has moved from isa to acpi so the hints act as wiring
582	instead of device enumeration. Hints for parallel port, floppy, etc
583	have been removed.  Before upgrading, grep your dmesg for lines like:
584		uart1: non-PNP ISA device will be removed from GENERIC in FreeBSD 15.
585	to see if you need to start including hints for the device on isa
586	in your loader.conf or device.hints file. APU1 (but not APU2) boards
587	are known to be affected, but there may be others.
588
58920240712:
590	Support for armv6 has been disconnected and is being removed.
591
59220240617:
593	ifconfig now treats IPv4 addresses without a width or mask as an error.
594	Specify the desired mask or width along with the IP address on the
595	ifconfig command line and in rc.conf.
596
59720240428:
598	OpenBSM auditing runtime (auditd, etc.) has been moved into the new
599	package FreeBSD-audit.  If you use OpenBSM auditing and pkgbase, you
600	should install FreeBSD-audit.
601
60220240424:
603	cron, lpr, and ntpd have been moved from FreeBSD-utilities into their
604	own packages.  If you use pkgbase, you should install the relevant
605	packages: FreeBSD-cron, FreeBSD-lp, or FreeBSD-ntp.
606
60720240406:
608	Clang, llvm, lld, lldb, compiler-rt, libc++, libunwind and openmp have
609	been upgraded to 18.1.6. It is important that you run `make delete-old`
610	as described in the COMMON ITEMS section, otherwise several libc++
611	headers that are obsolete and need to be removed can cause compilation
612	errors in C++ programs.
613
61420240205:
615	For dynamically linked programs, system calls are now made from
616	libsys rather than libc.  No change in linkage is required as
617	libsys is an auxiliary filter for libc.  People building custom
618	images must ensure that libsys.so.7 is included.
619
62020240202:
621	Loader now also read configuration files listed in local_loader_conf_files.
622	Files listed here are the last ones read. And /boot/loader.conf.local was
623	moved from loader_conf_files to local_loader_conf_files leaving only
624	loader.conf and device.hints in loader_conf_files by default.
625
626	The following sequencing is applied:
627
628	1. Bootstrap:
629	    /boot/defaults/loader.conf
630
631	2. Read loader_conf_files files:
632	    /boot/device.hints
633	    /boot/loader.conf
634
635	3. Read loader_conf_dirs files:
636	    /boot/loader.conf.d/*.conf
637
638	4. And finally, rread local_loader_conf_files files:
639	    /boot/loader.conf.local
640
64120240201:
642	sendmail 8.18.1 has been imported and merged.  This version enforces
643	stricter RFC compliance by default, especially with respect to line
644	endings.  This may cause issues with receiving messages from
645	non-compliant MTAs; please see the first 8.18.1 release note in
646	contrib/sendmail/RELEASE_NOTES for mitigations.
647
64820240111:
649	Commit cc760de2183f changed the internal interface between
650	the nfscommon and nfscl modules.  As such, both need to be
651	rebuilt from sources.  Therefore, __FreeBSD_version was
652	bumped to 1500010.
653
65420231120:
655	If you have an arm64 system that uses ACPI, you will need to update your
656	loader.efi in the ESP when you update past this point.  Detection of ACPI
657	was moved earlier in the binary so the scripts could use it, but old
658	binaries don't have this, so we default to 'no ACPI' in this case. You can
659	undisable ACPI by doing
660		OK unset hint.acpi.0.disabled
661	This can also be used to recover any other system that was updated in the
662	small window where amd64 was also broken.
663
66420231113:
665	The WITHOUT_LLD_IS_LD option has been removed.  When LLD is enabled
666	it is always installed as /usr/bin/ld.
667
66820231027:
669	Forward compatibility (running the new code on old kernels) for the
670	"ino64" project have been removed. The need for it has passed long ago.
671
67220231018:
673	Commit 57ce37f9dcd0 changed the internal KAPI between the
674	nfscommon and nfscl modules.  Both must be rebuilt from sources.
675
67620231010:
677	dialog(1) has been replaced in base by bsddialog(1), while most of the
678	time replacing a dialog(1) call by a bsddialog(1) call works out of the
679	box, bsddialog(1) is not considered as a drop-in replacement for
680	dialog(1).
681
682	If you do depend on dialog(1) functionality, please install cdialog
683	from ports:
684
685	pkg install cdialog
686
68720230927:
688	The EARLY_AP_STARTUP kernel option is mandatory on x86.  The option
689	has been added to DEFAULTS, so it should automatically be included in
690	custom kernel configurations without any additional change.
691
69220230922:
693	A new loader tunable net.pf.default_to_drop allows pf(4)’s default
694	behaviour to be changed from pass to drop. Previously this required
695	recompiling the kernel with the option PF_DEFAULT_TO_DROP.
696
69720230914:
698	Enable splitting out pkgbase manpages into separate packages by
699	default. To disable this, set WITHOUT_MANSPLITPKG=yes in src.conf.
700
70120230911:
702	Move standard include files to the clibs-dev package and move clang
703	internal libraries and headers to clang and clang-dev. Upgrading systems
704	installed using pkgbase past this change involves extra steps to allow
705	for these file moves:
706
707		pkg upgrade -y FreeBSD-utilities
708		pkg upgrade -y FreeBSD-utilities-dev
709		pkg upgrade -y
710
71120230909:
712	Enable vnet sysctl variables to be loader tunable. SYSCTLs which
713	belongs to VNETs can be initialized during early boot or module
714	loading if they are marked with CTLFLAG_TUN and there are
715	corresponding kernel environment variables.
716
71720230901:
718	The WITH_INIT_ALL_PATTERN and WITH_INIT_ALL_ZERO build options have
719	been replaced by INIT_ALL=pattern and INIT_ALL=zero respectively.
720
72120230824:
722	FreeBSD 15.0-CURRENT.
723
72420230817:
725	Serial communication (in boot loaders, kernel, and userland) has
726	been changed to default to 115200 bps, in line with common industry
727	practice and typical firmware serial console redirection
728	configuration.
729
730	Note that the early x86 BIOS bootloader (i.e., boot0sio) does not
731	support rates above 9600 bps and is not changed. boot0sio users may
732	set BOOT_COMCONSOLE_SPEED=9600 to use 9600 for all of the boot
733	components, or use the standard boot0 and have the boot2 stage start
734	with the serial port at 115200.
735
73620230807:
737	Following the general removal of MIPS support, the ath(4) AHB bus-
738	frontend has been removed, too, and building of the PCI support is
739	integrated with the ath(4) main module again. As a result, there's
740	no longer a need for if_ath_pci_load="YES" in /boot/loader.conf or
741	"device ath_pci" in the kernel configuration.
742
74320230803:
744	MAXCPU has been increased to 1024 in the amd64 GENERIC kernel config.
745	Out-of-tree kernel modules will need to be rebuilt.
746
74720230724:
748	CAM has been mechanically updated s/u_int(64|32|16|8)_t/uint\1_t/g
749	to move to the standard uintXX_t types from the old, traditional
750	BSD u_intXX_t types. This should be a NOP, but may cause problems
751	for out of tree changes. The SIMs were not updated since most of
752	the old u_intXX_t uses weren't due to CAM interfaces.
753
75420230713:
755	stable/14 branch created.
756
75720230629:
758	The heuristic for detecting old chromebooks with an EC bug that requires
759	atkbdc driver workarounds has changed. There should be no functional
760	change, but if your old chromebook's keyboard stops working, please
761	file a PR and assign it to imp.
762
76320230623:
764	OpenSSL has been updated to version 3.0, including changes throughout
765	the base system.  It is important to rebuild third-party software
766	after upgrading.
767
76820230619:
769	To enable pf rdr rules for connections initiated from the host, pf
770	filter rules can be optionally enabled for packets delivered
771	locally. This can change the behavior of rules which match packets
772	delivered to lo0. To enable this feature:
773
774		sysctl net.pf.filter_local=1
775		service pf restart
776
777	When enabled, its best to ensure that packets delivered locally are not
778	filtered, e.g. by adding a 'skip on lo' rule.
779
78020230613:
781	Improvements to libtacplus(8) mean that tacplus.conf(5) now
782	follows POSIX shell syntax rules. This may cause TACACS+
783	authentication to fail if the shared secret contains a single
784	quote, double quote, or backslash character which isn't
785	already properly quoted or escaped.
786
78720230612:
788	Belatedly switch the default nvme block device on x86 from nvd to nda.
789	nda created nvd compatibility links by default, so this should be a
790	nop. If this causes problems for your application, set hw.nvme.use_nvd=1
791	in your loader.conf or add `options NVME_USE_NVD=1` to your kernel
792	config. To disable the nvd compatibility aliases, add
793	kern.cam.nda.nvd_compat=0 to loader.conf.  The default has been nda on
794	all non-x86 platforms for some time now. If you need to fall back,
795	please email imp@freebsd.org about why.
796
797	Encrypted swap partitions need to be changed from nvd to nda if you
798	migrate, or you need to use the above to switch back to nvd.
799
80020230422:
801	Remove portsnap(8).  Users are encouraged to obtain the ports tree
802	using git instead.
803
80420230420:
805	Add jobs.mk to save typing. Enables -j${JOB_MAX} and logging
806	eg.
807		make buildworld-jobs
808	runs
809		make -j${JOB_MAX} buildworld > ../buildworld.log 2>&1
810
811	where JOB_MAX is derived from ncpus in local.sys.mk if not set in env.
812
81320230316:
814	Video related devices for some arm devices have been renamed.
815	If you have a custom kernel config and want to use hdmi output on
816	IMX6 board you need to add "device dwc_hdmi" "device imx6_hdmi" and
817	"device imx6_ipu" to it.
818	If you have a custom kernel config and want to use hdmi output on
819	TI AM335X board you need to add "device tda19988" to it.
820	If you add "device hdmi" in it you need to remove it as it doesn't
821	exist anymore.
822
82320230221:
824	Introduce new kernel options KBD_DELAY1 and KBD_DELAY2. See atkbdc(4)
825	for details.
826
82720230206:
828	sshd now defaults to having X11Forwarding disabled, following upstream.
829	Administrators who wish to enable X11Forwarding should add
830	`X11Forwarding yes` to /etc/ssh/sshd_config.
831
83220230204:
833	Since commit 75d41cb6967 Huawei 3G/4G LTE Mobile Devices do not default
834	to ECM, but NCM mode and need u3g and ucom modules loaded. See cdce(4).
835
83620230130:
837	As of commit 7c40e2d5f685, the dependency on netlink(4) has been added
838	to the linux_common(4) module. Users relying on linux_common may need
839	to compile netlink(4) module if it is not present in their kernel.
840
84120230126:
842	The WITHOUT_CXX option has been removed. C++ components in the base
843	system are now built unconditionally.
844
84520230113:
846	LinuxKPI pci.h changes may require out-of-tree drivers to be recompiled.
847	Bump _FreeBSD_version to 1400078 to be able to detect this change.
848
84920221212:
850	llvm-objdump is now always installed as objdump.  Previously there was
851	no /usr/bin/objdump unless the WITH_LLVM_BINUTILS knob was used.
852
853	Some LLVM objdump options have a different output format compared to
854	GNU objdump; readelf is available for inspecting ELF files, and GNU
855	objdump is available from the devel/binutils port or package.
856
85720221205:
858	dma(8) has replaced sendmail(8) as the default mta.  For people willing
859	to re-enable sendmail(8):
860
861	$ cp /usr/share/examples/sendmail/mailer.conf /etc/mail/mailer.conf
862
863	and add sendmail_enable="YES" to rc.conf.
864
86520221204:
866	hw.bus.disable_failed_devices has changed from 'false' to 'true' by
867	default. Now if newbus succeeds in probing a device, but fails to attach
868	the device, we'll disable the device. In the past, we'd keep retrying
869	the device on each new driver loaded. To get that behavior now, one
870	needs to use devctl to re-enable the device, and reprobe it (or set
871	the sysctl/tunable hw.bus.disable_failed_devices=false).
872
873	NOTE: This was reverted 20221205 due to unexpected compatibility issues
874
87520221122:
876	pf no longer accepts 'scrub fragment crop' or 'scrub fragment drop-ovl'.
877	These configurations are no longer automatically reinterpreted as
878	'scrub fragment reassemble'.
879
88020221121:
881	The WITHOUT_CLANG_IS_CC option has been removed.  When Clang is enabled
882	it is always installed as /usr/bin/cc (and c++, cpp).
883
88420221026:
885	Some programs have been moved into separate packages. It is recommended
886	for pkgbase users to do:
887
888	pkg install FreeBSD-dhclient FreeBSD-geom FreeBSD-resolvconf \
889	  FreeBSD-devd FreeBSD-devmatch
890
891	after upgrading to restore all the component that were previously
892	installed.
893
89420221002:
895	OPIE has been removed from the base system.  If needed, it can
896	be installed from ports (security/opie) or packages (opie).
897	Otherwise, make sure that your PAM policies do not reference
898	pam_opie or pam_opieaccess.
899
90020220610:
901	LinuxKPI pm.h changes require an update to the latest drm-kmod version
902	before re-compiling to avoid errors.
903
90420211230:
905	The macros provided for the manipulation of CPU sets (e.g. CPU_AND)
906	have been modified to take 2 source arguments instead of only 1.
907	Externally maintained sources that use these macros will have to
908	be adapted. The FreeBSD version has been bumped to 1400046 to
909	reflect this change.
910
91120211214:
912	A number of the kernel include files are able to be included by
913	themselves.  A test has been added to buildworld to enforce this.
914
91520211209:
916	Remove mips as a recognized target. This starts the decommissioning of
917	mips support in FreeBSD. mips related items will be removed wholesale in
918	the coming days and weeks.
919
920	This broke the NO_CLEAN build for some people. Either do a clean build
921	or touch
922		lib/clang/include/llvm/Config/Targets.def
923		lib/clang/include/llvm/Config/AsmParsers.def
924		lib/clang/include/llvm/Config/Disassemblers.def
925		lib/clang/include/llvm/Config/AsmPrinters.def
926	before the build to force everything to rebuild that needs to.
927
92820211202:
929	Unbound support for RFC8375: The special-use domain 'home.arpa' is
930	by default blocked. To unblock it use a local-zone nodefault
931	statement in unbound.conf:
932		local-zone: "home.arpa." nodefault
933
934	Or use another type of local-zone to override with your choice.
935
936	The reason for this is discussed in Section 6.1 of RFC8375:
937	Because 'home.arpa.' is not globally scoped and cannot be secured
938	using DNSSEC based on the root domain's trust anchor, there is no way
939	to tell, using a standard DNS query, in which homenet scope an answer
940	belongs.  Consequently, users may experience surprising results with
941	such names when roaming to different homenets.
942
94320211118:
944	Mips has been removed from universe builds. It will be removed from the
945	tree shortly.
946
94720211110:
948	Commit b8d60729deef changed the TCP congestion control framework so
949	that any of the included congestion control modules could be
950	the single module built into the kernel. Previously newreno
951	was automatically built in through direct reference. As of
952	this commit you are required to declare at least one congestion
953	control module (e.g. 'options CC_NEWRENO') and to also declare a
954	default using the CC_DEFAULT option (e.g. options CC_DEFAULT="newreno\").
955	The GENERIC configuration includes CC_NEWRENO and defines newreno
956	as the default. If no congestion control option is built into the
957	kernel and you are including networking, the kernel compile will
958	fail. Also if no default is declared the kernel compile will fail.
959
96020211106:
961	Commit f0c9847a6c47 changed the arguments for VOP_ALLOCATE.
962	The NFS modules must be rebuilt from sources and any out
963	of tree file systems that implement their own VOP_ALLOCATE
964	may need to be modified.
965
96620211022:
967	The synchronous PPP kernel driver sppp(4) has been removed.
968	The cp(4) and ce(4) drivers are now always compiled with netgraph(4)
969	support, formerly enabled by NETGRAPH_CRONYX option.
970
97120211020:
972	sh(1) is now the default shell for the root user.  To force root to use
973	the csh shell, please run the following command as root:
974
975	# chsh -s csh
976
97720211004:
978	Ncurses distribution has been split between libtinfow and libncurses
979	with libncurses.so becoming a linker (ld) script to seamlessly link
980	to libtinfow as needed. Bump _FreeBSD_version to 1400035 to reflect
981	this change.
982
98320210923:
984	As of commit 8160a0f62be6, the dummynet module no longer depends on the
985	ipfw module. Dummynet can now be used by pf as well as ipfw. As such
986	users who relied on this dependency may need to include ipfw in the
987	list of modules to load on their systems.
988
98920210922:
990	As of commit 903873ce1560, the mixer(8) utility has got a slightly
991	new syntax. Please refer to the mixer(8) manual page for more
992	information. The old mixer utility can be installed from ports:
993	audio/freebsd-13-mixer
994
99520210911:
996	As of commit 55089ef4f8bb, the global variable nfs_maxcopyrange has
997	been deleted from the nfscommon.ko.  As such, nfsd.ko must be built
998	from up to date sources to avoid an undefined reference when
999	being loaded.
1000
100120210817:
1002	As of commit 62ca9fc1ad56 OpenSSL no longer enables kernel TLS
1003	by default.  Users can enable kernel TLS via the "KTLS" SSL
1004	option.  This can be enabled globally by using a custom
1005	OpenSSL config file via OPENSSL_CONF or via an
1006	application-specific configuration option for applications
1007	which permit setting SSL options via SSL_CONF_cmd(3).
1008
100920210811:
1010	Commit 3ad1e1c1ce20 changed the internal KAPI between the NFS
1011	modules. Therefore, all need to be rebuilt from sources.
1012
101320210730:
1014	Commit b69019c14cd8 removes pf's DIOCGETSTATESNV ioctl.
1015	As of be70c7a50d32 it is no longer used by userspace, but it does mean
1016	users may not be able to enumerate pf states if they update the kernel
1017	past b69019c14cd8 without first updating userspace past be70c7a50d32.
1018
101920210729:
1020	As of commit 01ad0c007964 if_bridge member interfaces can no longer
1021	change their MTU. Changing the MTU of the bridge itself will change the
1022	MTU on all member interfaces instead.
1023
102420210716:
1025	Commit ee29e6f31111 changed the internal KAPI between the nfscommon
1026	and nfsd modules. Therefore, both need to be rebuilt from sources.
1027	Bump __FreeBSD_version to 1400026 for this KAPI change.
1028
102920210715:
1030	The 20210707 awk update brought in a change in behavior. This has
1031	been corrected as of d4d252c49976. Between these dates, if you
1032	installed a new awk binary, you may not be able to build a new
1033	kernel because the change in behavior affected the genoffset
1034	script used to build the kernel. If you did update, the fix is
1035	to update your sources past the above hash and do
1036		% cd usr.bin/awk
1037		% make clean all
1038		% sudo -E make install
1039	to enable building kernels again.
1040
104120210708:
1042	Commit 1e0a518d6548 changed the internal KAPI between the NFS
1043	modules. They all need to be rebuilt from sources.  I did not
1044	bump __FreeBSD_version, since it was bumped recently.
1045
104620210707:
1047	awk has been updated to the latest one-true-awk version 20210215.
1048	This contains a number of minor bug fixes.
1049
105020210624:
1051	The NFSv4 client now uses the highest minor version of NFSv4
1052	supported by the NFSv4 server by default instead of minor version 0,
1053	for NFSv4 mounts.
1054	The "minorversion" mount option may be used to override this default.
1055
105620210618:
1057	Bump __FreeBSD_version to 1400024 for LinuxKPI changes.
1058	Most notably netdev.h can change now as the (last) dependencies
1059	(mlx4/ofed) are now using struct ifnet directly, but also for PCI
1060	additions and others.
1061
106220210618:
1063	The directory "blacklisted" under /usr/share/certs/ has been
1064	renamed to "untrusted".
1065
106620210611:
1067	svnlite has been removed from base. Should you need svn for any reason
1068	please install the svn package or port.
1069
107020210611:
1071	Commit e1a907a25cfa changed the internal KAPI between the krpc
1072	and nfsserver.  As such, both modules must be rebuilt from
1073	sources.  Bump __FreeBSD_version to 1400022.
1074
107520210610:
1076	The an(4) driver has been removed from FreeBSD.
1077
107820210608:
1079	The vendor/openzfs branch was renamed to vendor/openzfs/legacy to
1080	start tracking OpenZFS upstream more closely. Please see
1081https://lists.freebsd.org/archives/freebsd-current/2021-June/000153.html
1082	for details on how to correct any errors that might result. The
1083	short version is that you need to remove the old branch locally:
1084	    git update-ref -d refs/remotes/freebsd/vendor/openzfs
1085	(assuming your upstream origin is named 'freebsd').
1086
108720210525:
1088	Commits 17accc08ae15 and de102f870501 add new files to LinuxKPI
1089	which break drm-kmod.  In addition various other additions where
1090	committed. Bump __FreeBSD_version to 1400015 to be able to
1091	detect this.
1092
109320210513:
1094	Commit ca179c4d74f2 changed the package in which the OpenSSL
1095	libraries and utilities are packaged.
1096	It is recommended for pkgbase user to do:
1097	pkg install -f FreeBSD-openssl
1098	before pkg upgrade otherwise some dependencies might not be met
1099	and pkg will stop working as libssl will not be present anymore
1100	on the system.
1101
110220210426:
1103	Commit 875977314881 changed the internal KAPI between
1104	the nfsd and nfscommon modules.  As such these modules
1105	need to be rebuilt from sources.
1106	Without this patch in your NFSv4.1/4.2 server, enabling
1107	delegations by setting vfs.nfsd.issue_delegations non-zero
1108	is not recommended.
1109
111020210411:
1111	Commit 7763814fc9c2 changed the internal KAPI between
1112	the krpc and NFS.  As such, the krpc, nfscommon and
1113	nfscl modules must all be rebuilt from sources.
1114	Without this patch, NFSv4.1/4.2 mounts should not
1115	be done with the nfscbd(8) daemon running, to avoid
1116	needing a working back channel for server->client RPCs.
1117
111820210330:
1119	Commit 01ae8969a9ee fixed the NFSv4.1/4.2 server so that it
1120	handles binding of the back channel as required by RFC5661.
1121	Until this patch is in your server, avoid use of the "nconnects"
1122	mount option for Linux NFSv4.1/4.2 mounts.
1123
112420210225:
1125	For 64-bit architectures the base system is now built with Position
1126	Independent Executable (PIE) support enabled by default.  It may be
1127	disabled using the WITHOUT_PIE knob.  A clean build is required.
1128
112920210128:
1130	Various LinuxKPI functionality was added which conflicts with DRM.
1131	Please update your drm-kmod port to after the __FreeBSD_version 1400003
1132	update.
1133
113420210121:
1135	stable/13 branch created.
1136
113720210108:
1138	PC Card attachments for all devices have been removed. In the case of
1139	wi and cmx, the entire drivers were removed because they were only
1140	PC Card devices. FreeBSD_version 1300134 should be used for this
1141	since it was bumped so recently.
1142
114320210107:
1144	Transport-independent parts of HID support have been split off the USB
1145	code in to separate subsystem.  Kernel configs which include one of
1146	ums, ukbd, uhid, atp, wsp, wmt, uaudio, ugold or ucycom drivers should
1147	be updated with adding of "device hid" line.
1148
114920210105:
1150	ncurses installation has been modified to only keep the widechar
1151	enabled version.  Incremental build is broken for that change, so it
1152	requires a clean build.
1153
115420201223:
1155	The FreeBSD project has migrated from Subversion to Git. Temporary
1156	instructions can be found at
1157	https://github.com/bsdimp/freebsd-git-docs/blob/main/src-cvt.md
1158	and other documents in that repo.
1159
116020201216:
1161	The services database has been updated to cover more of the basic
1162	services expected in a modern system. The database is big enough
1163	that it will cause issues in mergemaster in Releases previous to
1164	12.2 and 11.3, or in very old current systems from before r358154.
1165
116620201215:
1167	Obsolete in-tree GDB 6.1.1 has been removed.  GDB (including kgdb)
1168	may be installed from ports or packages.
1169
117020201124:
1171	ping6 has been merged into ping.  It can now be called as "ping -6".
1172	See ping(8) for details.
1173
117420201108:
1175	Default value of net.add_addr_allfibs has been changed to 0.
1176	If you have multi-fib configuration and rely on existence of all
1177	interface routes in every fib, you need to set the above sysctl to 1.
1178
117920201030:
1180	The internal pre-processor in the calendar(1) program has been
1181	extended to support more C pre-processor commands (e.g. #ifdef, #else,
1182	and #undef) and to detect unbalanced conditional statements.
1183	Error messages have been extended to include the filename and line
1184	number if processing stops to help fixing malformed data files.
1185
118620201026:
1187	All the data files for the calendar(1) program, except calendar.freebsd,
1188	have been moved to the deskutils/calendar-data port, much like the
1189	jewish calendar entries were moved to deskutils/hebcal years ago. After
1190	make delete-old-files, you need to install it to retain full
1191	functionality. calendar(1) will issue a reminder for files it can't
1192	find.
1193
119420200923:
1195	LINT files are no longer generated. We now include the relevant NOTES
1196	files. Note: This may cause conflicts with updating in some cases.
1197	        find sys -name LINT\* -delete
1198	is suggested across this commit	to remove the generated	LINT files.
1199
1200	If you have tried to update with generated files there, the svn
1201	command you want to un-auger the tree is
1202		cd sys/amd64/conf
1203		svn revert -R .
1204	and then do the above find from the top level. Substitute 'amd64'
1205	above with where the error message indicates a conflict.
1206
120720200824:
1208	OpenZFS support has been integrated. Do not upgrade root pools until
1209	the loader is updated to support zstd. Furthermore, we caution against
1210	'zpool upgrade' for the next few weeks. The change should be transparent
1211	unless you  want to use new features.
1212
1213	Not all "NO_CLEAN" build scenarios work across these changes. Many
1214	scenarios have been tested and fixed, but rebuilding kernels without
1215	rebuilding world may fail.
1216
1217	The ZFS cache file has moved from /boot to /etc to match the OpenZFS
1218	upstream default. A fallback to /boot has been added for mountroot.
1219
1220	Pool auto import behavior at boot has been moved from the kernel module
1221	to an explicit "zpool import -a" in one of the rc scripts enabled by
1222	zfs_enable=YES. This means your non-root zpools won't auto import until
1223	you upgrade your /etc/rc.d files.
1224
122520200824:
1226	The resume code now notifies devd with the 'kernel' system
1227	rather than the old 'kern' subsystem to be consistent with
1228	other use. The old notification will be created as well, but
1229	will be removed prior to FreeBSD 14.0.
1230
123120200821:
1232	r362275 changed the internal API between the kernel RPC and the
1233	NFS modules. As such, all the modules must be recompiled from
1234	sources.
1235
123620200817:
1237	r364330 modified the internal API used between the NFS modules.
1238	As such, all the NFS modules must be re-compiled from sources.
1239
124020200816:
1241	Clang, llvm, lld, lldb, compiler-rt, libc++, libunwind and openmp have
1242	been upgraded to 11.0.0.  Please see the 20141231 entry below for
1243	information about prerequisites and upgrading, if you are not already
1244	using clang 3.5.0 or higher.
1245
124620200810:
1247	r364092 modified the internal ABI used between the kernel NFS
1248	modules.  As such, all of these modules need to be rebuilt
1249	from sources, so a version bump was done.
1250
125120200807:
1252	Makefile.inc has been updated to work around the issue documented in
1253	20200729. It was a case where the optimization of using symbolic links
1254	to point to binaries created a situation where we'd run new binaries
1255	with old libraries starting midway through the installworld process.
1256
125720200729:
1258	r363679 has redefined some undefined behavior in regcomp(3); notably,
1259	extraneous escapes of most ordinary characters will no longer be
1260	accepted.  An exp-run has identified all of the problems with this in
1261	ports, but other non-ports software may need extra escapes removed to
1262	continue to function.
1263
1264	Because of this change, installworld may encounter the following error
1265	from rtld: Undefined symbol "regcomp@FBSD_1.6" -- It is imperative that
1266	you do not halt installworld. Instead, let it run to completion (whether
1267	successful or not) and run installworld once more.
1268
126920200627:
1270	A new implementation of bc and dc has been imported in r362681. This
1271	implementation corrects non-conformant behavior of the previous bc
1272	and adds GNU bc compatible options. It offers a number of extensions,
1273	is much faster on large values, and has support for message catalogs
1274	(a number of languages are already supported, contributions of further
1275	languages welcome). The option WITHOUT_GH_BC can be used to build the
1276	world with the previous versions of bc and dc.
1277
127820200625:
1279	r362639 changed the internal API used between the NFS kernel modules.
1280	As such, they all need to be rebuilt from sources.
1281
128220200613:
1283	r362158 changed the arguments for VFS_CHECKEXP().  As such, any
1284	out of tree file systems need to be modified and rebuilt.
1285	Also, any file systems that are modules must be rebuilt.
1286
128720200604:
1288	read(2) of a directory fd is now rejected by default.  root may
1289	re-enable it for system root only on non-ZFS filesystems with the
1290	security.bsd.allow_read_dir sysctl(8) MIB if
1291	security.bsd.suser_enabled=1.
1292
1293	It may be advised to setup aliases for grep to default to `-d skip` if
1294	commonly non-recursively grepping a list that includes directories and
1295	the potential for the resulting stderr output is not tolerable.  Example
1296	aliases are now installed, commented out, in /root/.cshrc and
1297	/root/.shrc.
1298
129920200523:
1300	Clang, llvm, lld, lldb, compiler-rt, libc++, libunwind and openmp have
1301	been upgraded to 10.0.1.  Please see the 20141231 entry below for
1302	information about prerequisites and upgrading, if you are not already
1303	using clang 3.5.0 or higher.
1304
130520200512:
1306	Support for obsolete compilers has been removed from the build system.
1307	Clang 6 and GCC 6.4 are the minimum supported versions.
1308
130920200424:
1310	closefrom(2) has been moved under COMPAT12, and replaced in libc with a
1311	stub that calls close_range(2).  If using a custom kernel configuration,
1312	you may want to ensure that the COMPAT_FREEBSD12 option is included, as
1313	a slightly older -CURRENT userland and older FreeBSD userlands may not
1314	be functional without closefrom(2).
1315
131620200414:
1317	Upstream DTS from Linux 5.6 was merged and they now have the SID
1318	and THS (Secure ID controller and THermal Sensor) node present.
1319	The DTB overlays have now been removed from the tree for the H3/H5 and
1320	A64 SoCs and the aw_sid and aw_thermal driver have been updated to
1321	deal with upstream DTS. If you are using those overlays you need to
1322	remove them from loader.conf and update the DTBs on the FAT partition.
1323
132420200310:
1325	Clang, llvm, lld, lldb, compiler-rt, libc++, libunwind and openmp have
1326	been upgraded to 10.0.0.  Please see the 20141231 entry below for
1327	information about prerequisites and upgrading, if you are not already
1328	using clang 3.5.0 or higher.
1329
133020200309:
1331	The amd(8) automount daemon has been removed from the source tree.
1332	As of FreeBSD 10.1 autofs(5) is the preferred tool for automounting.
1333	amd is still available in the sysutils/am-utils port.
1334
133520200301:
1336	Removed brooktree driver (bktr.4) from the tree.
1337
133820200229:
1339	The WITH_GPL_DTC option has been removed.  The BSD-licenced device tree
1340	compiler in usr.bin/dtc is used on all architectures which use dtc, and
1341	the GPL dtc is available (if needed) from the sysutils/dtc port.
1342
134320200229:
1344	The WITHOUT_LLVM_LIBUNWIND option has been removed.  LLVM's libunwind
1345	is used by all supported CPU architectures.
1346
134720200229:
1348	GCC 4.2.1 has been removed from the tree.  The WITH_GCC,
1349	WITH_GCC_BOOTSTRAP, and WITH_GNUCXX options are no longer available.
1350	Users who wish to build FreeBSD with GCC must use the external toolchain
1351	ports or packages.
1352
135320200220:
1354	ncurses has been updated to a newer version (6.2-20200215). Given the ABI
1355	has changed, users will have to rebuild all the ports that are linked to
1356	ncurses.
1357
135820200217:
1359	The size of struct vnet and the magic cookie have changed.
1360	Users need to recompile libkvm and all modules using VIMAGE
1361	together with their new kernel.
1362
136320200212:
1364	Defining the long deprecated NO_CTF, NO_DEBUG_FILES, NO_INSTALLLIB,
1365	NO_MAN, NO_PROFILE, and NO_WARNS variables is now an error.  Update
1366	your Makefiles and scripts to define MK_<var>=no instead as required.
1367
1368	One exception to this is that program or library Makefiles should
1369	define MAN to empty rather than setting MK_MAN=no.
1370
137120200108:
1372	Clang/LLVM is now the default compiler and LLD the default
1373	linker for riscv64.
1374
137520200107:
1376	make universe no longer uses GCC 4.2.1 on any architectures.
1377	Architectures not supported by in-tree Clang/LLVM require an
1378	external toolchain package.
1379
138020200104:
1381	GCC 4.2.1 is now not built by default, as part of the GCC 4.2.1
1382	retirement plan.  Specifically, the GCC, GCC_BOOTSTRAP, and GNUCXX
1383	options default to off for all supported CPU architectures.  As a
1384	short-term transition aid they may be enabled via WITH_* options.
1385	GCC 4.2.1 is expected to be removed from the tree on 2020-03-31.
1386
138720200102:
1388	Support for armv5 has been disconnected and is being removed. The
1389	machine combination MACHINE=arm MACHINE_ARCH=arm is no longer valid.
1390	You must now use a MACHINE_ARCH of armv6 or armv7. The default
1391	MACHINE_ARCH for MACHINE=arm is now armv7.
1392
139320191226:
1394	Clang/LLVM is now the default compiler for all powerpc architectures.
1395	LLD is now the default linker for powerpc64.  The change for powerpc64
1396	also includes a change to the ELFv2 ABI, incompatible with the existing
1397	ABI.
1398
139920191226:
1400	Kernel-loadable random(4) modules are no longer unloadable.
1401
140220191222:
1403	Clang, llvm, lld, lldb, compiler-rt, libc++, libunwind and openmp have
1404	been upgraded to 9.0.1.  Please see the 20141231 entry below for
1405	information about prerequisites and upgrading, if you are not already
1406	using clang 3.5.0 or higher.
1407
140820191212:
1409	r355677 has modified the internal interface used between the
1410	NFS modules in the kernel. As such, they must all be upgraded
1411	simultaneously. I will do a version bump for this.
1412
141320191205:
1414	The root certificates of the Mozilla CA Certificate Store have been
1415	imported into the base system and can be managed with the certctl(8)
1416	utility.  If you have installed the security/ca_root_nss port or package
1417	with the ETCSYMLINK option (the default), be advised that there may be
1418	differences between those included in the port and those included in
1419	base due to differences in nss branch used as well as general update
1420	frequency.  Note also that certctl(8) cannot manage certs in the
1421	format used by the security/ca_root_nss port.
1422
142320191120:
1424	The amd(8) automount daemon has been disabled by default, and will be
1425	removed in the future.  As of FreeBSD 10.1 the autofs(5) is available
1426	for automounting.
1427
142820191107:
1429	The nctgpio and wbwd drivers have been moved to the superio bus.
1430	If you have one of these drivers in a kernel configuration, then
1431	you should add device superio to it.  If you use one of these drivers
1432	as a module and you compile a custom set of modules, then you should
1433	add superio to the set.
1434
143520191021:
1436	KPIs for network drivers to access interface addresses have changed.
1437	Users need to recompile NIC driver modules together with kernel.
1438
143920191021:
1440	The net.link.tap.user_open sysctl no longer prevents user opening of
1441	already created /dev/tapNN devices.  Access is still controlled by
1442	node permissions, just like tun devices.  The net.link.tap.user_open
1443	sysctl is now used only to allow users to perform devfs cloning of
1444	tap devices, and the subsequent open may not succeed if the user is not
1445	in the appropriate group.  This sysctl may be deprecated/removed
1446	completely in the future.
1447
144820191009:
1449	mips, powerpc, and sparc64 are no longer built as part of
1450	universe / tinderbox unless MAKE_OBSOLETE_GCC is defined. If
1451	not defined, mips, powerpc, and sparc64 builds will look for
1452	the xtoolchain binaries and if installed use them for universe
1453	builds. As llvm 9.0 becomes vetted for these architectures, they
1454	will be removed from the list.
1455
145620191009:
1457	Clang, llvm, lld, lldb, compiler-rt, libc++, libunwind and openmp have
1458	been upgraded to 9.0.0.  Please see the 20141231 entry below for
1459	information about prerequisites and upgrading, if you are not already
1460	using clang 3.5.0 or higher.
1461
146220191003:
1463	The hpt27xx, hptmv, hptnr, and hptrr drivers have been removed from
1464	GENERIC.  They are available as modules and can be loaded by adding
1465	to /boot/loader.conf hpt27xx_load="YES", hptmv_load="YES",
1466	hptnr_load="YES", or hptrr_load="YES", respectively.
1467
146820190913:
1469	ntpd no longer by default locks its pages in memory, allowing them
1470	to be paged out by the kernel. Use rlimit memlock to restore
1471	historic BSD behaviour. For example, add "rlimit memlock 32"
1472	to ntp.conf to lock up to 32 MB of ntpd address space in memory.
1473
147420190823:
1475	Several of ping6's options have been renamed for better consistency
1476	with ping.  If you use any of -ARWXaghmrtwx, you must update your
1477	scripts.  See ping6(8) for details.
1478
147920190727:
1480	The vfs.fusefs.sync_unmount and vfs.fusefs.init_backgrounded sysctls
1481	and the "-o sync_unmount" and "-o init_backgrounded" mount options have
1482	been removed from mount_fusefs(8).  You can safely remove them from
1483	your scripts, because they had no effect.
1484
1485	The vfs.fusefs.fix_broken_io, vfs.fusefs.sync_resize,
1486	vfs.fusefs.refresh_size, vfs.fusefs.mmap_enable,
1487	vfs.fusefs.reclaim_revoked, and vfs.fusefs.data_cache_invalidate
1488	sysctls have been removed.  If you felt the need to set any of them to
1489	a non-default value, please tell asomers@FreeBSD.org why.
1490
149120190713:
1492	Default permissions on the /var/account/acct file (and copies of it
1493	rotated by periodic daily scripts) are changed from 0644 to 0640
1494	because the file contains sensitive information that should not be
1495	world-readable.  If the /var/account directory must be created by
1496	rc.d/accounting, the mode used is now 0750.  Admins who use the
1497	accounting feature are encouraged to change the mode of an existing
1498	/var/account directory to 0750 or 0700.
1499
150020190620:
1501	Entropy collection and the /dev/random device are no longer optional
1502	components.  The "device random" option has been removed.
1503	Implementations of distilling algorithms can still be made loadable
1504	with "options RANDOM_LOADABLE" (e.g., random_fortuna.ko).
1505
150620190612:
1507	Clang, llvm, lld, lldb, compiler-rt, libc++, libunwind and openmp have
1508	been upgraded to 8.0.1.  Please see the 20141231 entry below for
1509	information about prerequisites and upgrading, if you are not already
1510	using clang 3.5.0 or higher.
1511
151220190608:
1513	A fix was applied to i386 kernel modules to avoid panics with
1514	dpcpu or vnet.  Users need to recompile i386 kernel modules
1515	having pcpu or vnet sections or they will refuse to load.
1516
151720190513:
1518	User-wired pages now have their own counter,
1519	vm.stats.vm.v_user_wire_count.  The vm.max_wired sysctl was renamed
1520	to vm.max_user_wired and changed from an unsigned int to an unsigned
1521	long.  bhyve VMs wired with the -S are now subject to the user
1522	wiring limit; the vm.max_user_wired sysctl may need to be tuned to
1523	avoid running into the limit.
1524
152520190507:
1526	The IPSEC option has been removed from GENERIC.  Users requiring
1527	ipsec(4) must now load the ipsec(4) kernel module.
1528
152920190507:
1530	The tap(4) driver has been folded into tun(4), and the module has been
1531	renamed to tuntap.  You should update any kld_list="if_tap" or
1532	kld_list="if_tun" entries in /etc/rc.conf, if_tap_load="YES" or
1533	if_tun_load="YES" entries in /boot/loader.conf to load the if_tuntap
1534	module instead, and "device tap" or "device tun" entries in kernel
1535	config files to select the tuntap device instead.
1536
153720190418:
1538	The following knobs have been added related to tradeoffs between
1539	safe use of the random device and availability in the absence of
1540	entropy:
1541
1542	kern.random.initial_seeding.bypass_before_seeding: tunable; set
1543	non-zero to bypass the random device prior to seeding, or zero to
1544	block random requests until the random device is initially seeded.
1545	For now, set to 1 (unsafe) by default to restore pre-r346250 boot
1546	availability properties.
1547
1548	kern.random.initial_seeding.read_random_bypassed_before_seeding:
1549	read-only diagnostic sysctl that is set when bypass is enabled and
1550	read_random(9) is bypassed, to enable programmatic handling of this
1551	initial condition, if desired.
1552
1553	kern.random.initial_seeding.arc4random_bypassed_before_seeding:
1554	Similar to the above, but for arc4random(9) initial seeding.
1555
1556	kern.random.initial_seeding.disable_bypass_warnings: tunable; set
1557	non-zero to disable warnings in dmesg when the same conditions are
1558	met as for the diagnostic sysctls above.  Defaults to zero, i.e.,
1559	produce warnings in dmesg when the conditions are met.
1560
156120190416:
1562	The loadable random module KPI has changed; the random_infra_init()
1563	routine now requires a 3rd function pointer for a bool (*)(void)
1564	method that returns true if the random device is seeded (and
1565	therefore unblocked).
1566
156720190404:
1568	r345895 reverts r320698. This implies that an nfsuserd(8) daemon
1569	built from head sources between r320757 (July 6, 2017) and
1570	r338192 (Aug. 22, 2018) will not work unless the "-use-udpsock"
1571	is added to the command line.
1572	nfsuserd daemons built from head sources that are post-r338192 are
1573	not affected and should continue to work.
1574
157520190320:
1576	The fuse(4) module has been renamed to fusefs(4) for consistency with
1577	other filesystems.  You should update any kld_load="fuse" entries in
1578	/etc/rc.conf, fuse_load="YES" entries in /boot/loader.conf, and
1579	"options FUSE" entries in kernel config files.
1580
158120190304:
1582	Clang, llvm, lld, lldb, compiler-rt and libc++ have been upgraded to
1583	8.0.0.  Please see the 20141231 entry below for information about
1584	prerequisites and upgrading, if you are not already using clang 3.5.0
1585	or higher.
1586
158720190226:
1588	geom_uzip(4) depends on the new module xz.  If geom_uzip is statically
1589	compiled into your custom kernel, add 'device xz' statement to the
1590	kernel config.
1591
159220190219:
1593	drm and drm2 have been removed from the tree. Please see
1594	https://wiki.freebsd.org/Graphics for the latest information on
1595	migrating to the drm ports.
1596
159720190131:
1598	Iflib is no longer unconditionally compiled into the kernel.  Drivers
1599	using iflib and statically compiled into the kernel, now require
1600	the 'device iflib' config option.  For the same drivers loaded as
1601	modules on kernels not having 'device iflib', the iflib.ko module
1602	is loaded automatically.
1603
160420190125:
1605	The IEEE80211_AMPDU_AGE and AH_SUPPORT_AR5416 kernel configuration
1606	options no longer exist since r343219 and r343427 respectively;
1607	nothing uses them, so they should be just removed from custom
1608	kernel config files.
1609
161020181230:
1611	r342635 changes the way efibootmgr(8) works by requiring users to add
1612	the -b (bootnum) parameter for commands where the bootnum was previously
1613	specified with each option. For example 'efibootmgr -B 0001' is now
1614	'efibootmgr -B -b 0001'.
1615
161620181220:
1617	r342286 modifies the NFSv4 server so that it obeys vfs.nfsd.nfs_privport
1618	in the same as it is applied to NFSv2 and 3.  This implies that NFSv4
1619	servers that have vfs.nfsd.nfs_privport set will only allow mounts
1620	from clients using a reserved port. Since both the FreeBSD and Linux
1621	NFSv4 clients use reserved ports by default, this should not affect
1622	most NFSv4 mounts.
1623
162420181219:
1625	The XLP config has been removed. We can't support 64-bit atomics in this
1626	kernel because it is running in 32-bit mode. XLP users must transition
1627	to running a 64-bit kernel (XLP64 or XLPN32).
1628
1629	The mips GXEMUL support has been removed from FreeBSD. MALTA* + qemu is
1630	the preferred emulator today and we don't need two different ones.
1631
1632	The old sibyte / swarm / Broadcom BCM1250 support has been
1633	removed from the mips port.
1634
163520181211:
1636	Clang, llvm, lld, lldb, compiler-rt and libc++ have been upgraded to
1637	7.0.1.  Please see the 20141231 entry below for information about
1638	prerequisites and upgrading, if you are not already using clang 3.5.0
1639	or higher.
1640
164120181211:
1642	Remove the timed and netdate programs from the base tree.  Setting
1643	the time with these daemons has been obsolete for over a decade.
1644
164520181126:
1646	On amd64, arm64 and armv7 (architectures that install LLVM's ld.lld
1647	linker as /usr/bin/ld) GNU ld is no longer installed as ld.bfd, as
1648	it produces broken binaries when ifuncs are in use.  Users needing
1649	GNU ld should install the binutils port or package.
1650
165120181123:
1652	The BSD crtbegin and crtend code has been enabled by default. It has
1653	had extensive testing on amd64, arm64, and i386. It can be disabled
1654	by building a world with -DWITHOUT_BSD_CRTBEGIN.
1655
165620181115:
1657	The set of CTM commands (ctm, ctm_smail, ctm_rmail, ctm_dequeue)
1658	has been converted to a port (misc/ctm) and will be removed from
1659	FreeBSD-13.  It is available as a package (ctm) for all supported
1660	FreeBSD versions.
1661
166220181110:
1663	The default newsyslog.conf(5) file has been changed to only include
1664	files in /etc/newsyslog.conf.d/ and /usr/local/etc/newsyslog.conf.d/ if
1665	the filenames end in '.conf' and do not begin with a '.'.
1666
1667	You should check the configuration files in these two directories match
1668	this naming convention. You can verify which configuration files are
1669	being included using the command:
1670		$ newsyslog -Nrv
1671
167220181019:
1673	Stable/12 was branched created.
1674
167520181015:
1676	Ports for the DRM modules have been simplified. Now, amd64 users should
1677	just install the drm-kmod port. All others should install
1678	drm-legacy-kmod.
1679
1680	Graphics hardware that's newer than about 2010 usually works with
1681	drm-kmod.  For hardware older than 2013, however, some users will need
1682	to use drm-legacy-kmod if drm-kmod doesn't work for them. Hardware older
1683	than 2008 usually only works in drm-legacy-kmod. The graphics team can
1684	only commit to hardware made since 2013 due to the complexity of the
1685	market and difficulty to test all the older cards effectively. If you
1686	have hardware supported by drm-kmod, you are strongly encouraged to use
1687	that as you will get better support.
1688
1689	Other than KPI chasing, drm-legacy-kmod will not be updated. As outlined
1690	elsewhere, the drm and drm2 modules will be eliminated from the src base
1691	soon (with a limited exception for arm). Please update to the package
1692	asap and report any issues to x11@freebsd.org.
1693
1694	Generally, anybody using the drm*-kmod packages should add
1695	WITHOUT_DRM_MODULE=t and WITHOUT_DRM2_MODULE=t to avoid nasty
1696	cross-threading surprises, especially with automatic driver
1697	loading from X11 startup. These will become the defaults in 13-current
1698	shortly.
1699
170020181012:
1701	The ixlv(4) driver has been renamed to iavf(4).  As a consequence,
1702	custom kernel and module loading configuration files must be updated
1703	accordingly.  Moreover, interfaces previous presented as ixlvN to the
1704	system are now exposed as iavfN and network configuration files must
1705	be adjusted as necessary.
1706
170720181009:
1708	OpenSSL has been updated to version 1.1.1.  This update included
1709	additional various API changes throughout the base system.  It is
1710	important to rebuild third-party software after upgrading.  The value
1711	of __FreeBSD_version has been bumped accordingly.
1712
171320181006:
1714	The legacy DRM modules and drivers have now been added to the loader's
1715	module blacklist, in favor of loading them with kld_list in rc.conf(5).
1716	The module blacklist may be overridden with the loader.conf(5)
1717	'module_blacklist' variable, but loading them via rc.conf(5) is strongly
1718	encouraged.
1719
172020181002:
1721	The cam(4) based nda(4) driver will be used over nvd(4) by default on
1722	powerpc64. You may set 'options NVME_USE_NVD=1' in your kernel conf or
1723	loader tunable 'hw.nvme.use_nvd=1' if you wish to use the existing
1724	driver.  Make sure to edit /boot/etc/kboot.conf and fstab to use the
1725	nda device name.
1726
172720180913:
1728	Reproducible build mode is now on by default, in preparation for
1729	FreeBSD 12.0.  This eliminates build metadata such as the user,
1730	host, and time from the kernel (and uname), unless the working tree
1731	corresponds to a modified checkout from a version control system.
1732	The previous behavior can be obtained by setting the /etc/src.conf
1733	knob WITHOUT_REPRODUCIBLE_BUILD.
1734
173520180826:
1736	The Yarrow CSPRNG has been removed from the kernel as it has not been
1737	supported by its designers since at least 2003. Fortuna has been the
1738	default since FreeBSD-11.
1739
174020180822:
1741	devctl freeze/thaw have gone into the tree, the rc scripts have been
1742	updated to use them and devmatch has been changed.  You should update
1743	kernel, userland and rc scripts all at the same time.
1744
174520180818:
1746	The default interpreter has been switched from 4th to Lua.
1747	LOADER_DEFAULT_INTERP, documented in build(7), will override the default
1748	interpreter.  If you have custom FORTH code you will need to set
1749	LOADER_DEFAULT_INTERP=4th (valid values are 4th, lua or simp) in
1750	src.conf for the build.  This will create default hard links between
1751	loader and loader_4th instead of loader and loader_lua, the new default.
1752	If you are using UEFI it will create the proper hard link to loader.efi.
1753
1754	bhyve uses userboot.so. It remains 4th-only until some issues are solved
1755	regarding coexisting with multiple versions of FreeBSD are resolved.
1756
175720180815:
1758	ls(1) now respects the COLORTERM environment variable used in other
1759	systems and software to indicate that a colored terminal is both
1760	supported and desired.  If ls(1) is suddenly emitting colors, they may
1761	be disabled again by either removing the unwanted COLORTERM from your
1762	environment, or using `ls --color=never`.  The ls(1) specific CLICOLOR
1763	may not be observed in a future release.
1764
176520180808:
1766	The default pager for most commands has been changed to "less".  To
1767	restore the old behavior, set PAGER="more" and MANPAGER="more -s" in
1768	your environment.
1769
177020180731:
1771	The jedec_ts(4) driver has been removed. A superset of its functionality
1772	is available in the jedec_dimm(4) driver, and the manpage for that
1773	driver includes migration instructions. If you have "device jedec_ts"
1774	in your kernel configuration file, it must be removed.
1775
177620180730:
1777	amd64/GENERIC now has EFI runtime services, EFIRT, enabled by default.
1778	This should have no effect if the kernel is booted via BIOS/legacy boot.
1779	EFIRT may be disabled via a loader tunable, efi.rt.disabled, if a system
1780	has a buggy firmware that prevents a successful boot due to use of
1781	runtime services.
1782
178320180727:
1784	Atmel AT91RM9200 and AT91SAM9, Cavium CNS 11xx and XScale
1785	support has been removed from the tree. These ports were
1786	obsolete and/or known to be broken for many years.
1787
178820180723:
1789	loader.efi has been augmented to participate more fully in the
1790	UEFI boot manager protocol. loader.efi will now look at the
1791	BootXXXX environment variable to determine if a specific kernel
1792	or root partition was specified. XXXX is derived from BootCurrent.
1793	efibootmgr(8) manages these standard UEFI variables.
1794
179520180720:
1796	zfsloader's functionality has now been folded into loader.
1797	zfsloader is no longer necessary once you've updated your
1798	boot blocks. For a transition period, we will install a
1799	hardlink for zfsloader to loader to allow a smooth transition
1800	until the boot blocks can be updated (hard link because old
1801	zfs boot blocks don't understand symlinks).
1802
180320180719:
1804	ARM64 now have efifb support, if you want to have serial console
1805	on your arm64 board when an screen is connected and the bootloader
1806	setup a frame buffer for us to use, just add :
1807	boot_serial=YES
1808	boot_multicons=YES
1809	in /boot/loader.conf
1810	For Raspberry Pi 3 (RPI) users, this is needed even if you don't have
1811	an screen connected as the firmware will setup a frame buffer are that
1812	u-boot will expose as an EFI frame buffer.
1813
181420180719:
1815	New uid:gid added, ntpd:ntpd (123:123).  Be sure to run mergemaster
1816	or take steps to update /etc/passwd before doing installworld on
1817	existing systems.  Do not skip the "mergemaster -Fp" step before
1818	installworld, as described in the update procedures near the bottom
1819	of this document.  Also, rc.d/ntpd now starts ntpd(8) as user ntpd
1820	if the new mac_ntpd(4) policy is available, unless ntpd_flags or
1821	the ntp config file contain options that change file/dir locations.
1822	When such options (e.g., "statsdir" or "crypto") are used, ntpd can
1823	still be run as non-root by setting ntpd_user=ntpd in rc.conf, after
1824	taking steps to ensure that all required files/dirs are accessible
1825	by the ntpd user.
1826
182720180717:
1828	Big endian arm support has been removed.
1829
183020180711:
1831	The static environment setup in kernel configs is no longer mutually
1832	exclusive with the loader(8) environment by default.  In order to
1833	restore the previous default behavior of disabling the loader(8)
1834	environment if a static environment is present, you must specify
1835	loader_env.disabled=1 in the static environment.
1836
183720180705:
1838	The ABI of syscalls used by management tools like sockstat and
1839	netstat has been broken to allow 32-bit binaries to work on
1840	64-bit kernels without modification.  These programs will need
1841	to match the kernel in order to function.  External programs may
1842	require minor modifications to accommodate a change of type in
1843	structures from pointers to 64-bit virtual addresses.
1844
184520180702:
1846	On i386 and amd64 atomics are now inlined. Out of tree modules using
1847	atomics will need to be rebuilt.
1848
184920180701:
1850	The '%I' format in the kern.corefile sysctl limits the number of
1851	core files that a process can generate to the number stored in the
1852	debug.ncores sysctl. The '%I' format is replaced by the single digit
1853	index. Previously, if all indexes were taken the kernel would overwrite
1854	only a core file with the highest index in a filename.
1855	Currently the system will create a new core file if there is a free
1856	index or if all slots are taken it will overwrite the oldest one.
1857
185820180630:
1859	Clang, llvm, lld, lldb, compiler-rt and libc++ have been upgraded to
1860	6.0.1.  Please see the 20141231 entry below for information about
1861	prerequisites and upgrading, if you are not already using clang 3.5.0
1862	or higher.
1863
186420180628:
1865	r335753 introduced a new quoting method. However, etc/devd/devmatch.conf
1866	needed to be changed to work with it. This change was made with r335763
1867	and requires a mergemaster / etcupdate / etc to update the installed
1868	file.
1869
187020180612:
1871	r334930 changed the interface between the NFS modules, so they all
1872	need to be rebuilt.  r335018 did a __FreeBSD_version bump for this.
1873
187420180530:
1875	As of r334391 lld is the default amd64 system linker; it is installed
1876	as /usr/bin/ld.  Kernel build workarounds (see 20180510 entry) are no
1877	longer necessary.
1878
187920180530:
1880	The kernel / userland interface for devinfo changed, so you'll
1881	need a new kernel and userland as a pair for it to work (rebuilding
1882	lib/libdevinfo is all that's required). devinfo and devmatch will
1883	not work, but everything else will when there's a mismatch.
1884
188520180523:
1886	The on-disk format for hwpmc callchain records has changed to include
1887	threadid corresponding to a given record. This changes the field offsets
1888	and thus requires that libpmcstat be rebuilt before using a kernel
1889	later than r334108.
1890
189120180517:
1892	The vxge(4) driver has been removed.  This driver was introduced into
1893	HEAD one week before the Exar left the Ethernet market and is not
1894	known to be used.  If you have device vxge in your kernel config file
1895	it must be removed.
1896
189720180510:
1898	The amd64 kernel now requires a ld that supports ifunc to produce a
1899	working kernel, either lld or a newer binutils. lld is built by default
1900	on amd64, and the 'buildkernel' target uses it automatically. However,
1901	it is not the default linker, so building the kernel the traditional
1902	way requires LD=ld.lld on the command line (or LD=/usr/local/bin/ld for
1903	binutils port/package). lld will soon be default, and this requirement
1904	will go away.
1905
1906	NOTE: As of r334391 lld is the default system linker on amd64, and no
1907	workaround is necessary.
1908
190920180508:
1910	The nxge(4) driver has been removed.  This driver was for PCI-X 10g
1911	cards made by s2io/Neterion.  The company was acquired by Exar and
1912	no longer sells or supports Ethernet products.  If you have device
1913	nxge in your kernel config file it must be removed.
1914
191520180504:
1916	The tz database (tzdb) has been updated to 2018e.  This version more
1917	correctly models time stamps in time zones with negative DST such as
1918	Europe/Dublin (from 1971 on), Europe/Prague (1946/7), and
1919	Africa/Windhoek (1994/2017).  This does not affect the UT offsets, only
1920	time zone abbreviations and the tm_isdst flag.
1921
192220180502:
1923	The ixgb(4) driver has been removed.  This driver was for an early and
1924	uncommon legacy PCI 10GbE for a single ASIC, Intel 82597EX. Intel
1925	quickly shifted to the long lived ixgbe family.  If you have device
1926	ixgb in your kernel config file it must be removed.
1927
192820180501:
1929	The lmc(4) driver has been removed.  This was a WAN interface
1930	card that was already reportedly rare in 2003, and had an ambiguous
1931	license.  If you have device lmc in your kernel config file it must
1932	be removed.
1933
193420180413:
1935	Support for Arcnet networks has been removed.  If you have device
1936	arcnet or device cm in your kernel config file they must be
1937	removed.
1938
193920180411:
1940	Support for FDDI networks has been removed.  If you have device
1941	fddi or device fpa in your kernel config file they must be
1942	removed.
1943
194420180406:
1945	In addition to supporting RFC 3164 formatted messages, the
1946	syslogd(8) service is now capable of parsing RFC 5424 formatted
1947	log messages. The main benefit of using RFC 5424 is that clients
1948	may now send log messages with timestamps containing year numbers,
1949	microseconds and time zone offsets.
1950
1951	Similarly, the syslog(3) C library function has been altered to
1952	send RFC 5424 formatted messages to the local system logging
1953	daemon. On systems using syslogd(8), this change should have no
1954	negative impact, as long as syslogd(8) and the C library are
1955	updated at the same time. On systems using a different system
1956	logging daemon, it may be necessary to make configuration
1957	adjustments, depending on the software used.
1958
1959	When using syslog-ng, add the 'syslog-protocol' flag to local
1960	input sources to enable parsing of RFC 5424 formatted messages:
1961
1962		source src {
1963			unix-dgram("/var/run/log" flags(syslog-protocol));
1964		}
1965
1966	When using rsyslog, disable the 'SysSock.UseSpecialParser' option
1967	of the 'imuxsock' module to let messages be processed by the
1968	regular RFC 3164/5424 parsing pipeline:
1969
1970		module(load="imuxsock" SysSock.UseSpecialParser="off")
1971
1972	Do note that these changes only affect communication between local
1973	applications and syslogd(8). The format that syslogd(8) uses to
1974	store messages on disk or forward messages to other systems
1975	remains unchanged. syslogd(8) still uses RFC 3164 for these
1976	purposes. Options to customize this behaviour will be added in the
1977	future. Utilities that process log files stored in /var/log are
1978	thus expected to continue to function as before.
1979
1980	__FreeBSD_version has been incremented to 1200061 to denote this
1981	change.
1982
198320180328:
1984	Support for token ring networks has been removed. If you
1985	have "device token" in your kernel config you should remove
1986	it. No device drivers supported token ring.
1987
198820180323:
1989	makefs was modified to be able to tag ISO9660 El Torito boot catalog
1990	entries as EFI instead of overloading the i386 tag as done previously.
1991	The amd64 mkisoimages.sh script used to build amd64 ISO images for
1992	release was updated to use this. This may mean that makefs must be
1993	updated before "make cdrom" can be run in the release directory. This
1994	should be as simple as:
1995
1996		$ cd $SRCDIR/usr.sbin/makefs
1997		$ make depend all install
1998
199920180212:
2000	FreeBSD boot loader enhanced with Lua scripting. It's purely opt-in for
2001	now by building WITH_LOADER_LUA and WITHOUT_FORTH in /etc/src.conf.
2002	Co-existence for the transition period will come shortly. Booting is a
2003	complex environment and test coverage for Lua-enabled loaders has been
2004	thin, so it would be prudent to assume it might not work and make
2005	provisions for backup boot methods.
2006
200720180211:
2008	devmatch functionality has been turned on in devd. It will automatically
2009	load drivers for unattached devices. This may cause unexpected drivers
2010	to be loaded. Please report any problems to current@ and
2011	imp@freebsd.org.
2012
201320180114:
2014	Clang, llvm, lld, lldb, compiler-rt and libc++ have been upgraded to
2015	6.0.0.  Please see the 20141231 entry below for information about
2016	prerequisites and upgrading, if you are not already using clang 3.5.0
2017	or higher.
2018
201920180110:
2020	LLVM's lld linker is now used as the FreeBSD/amd64 bootstrap linker.
2021	This means it is used to link the kernel and userland libraries and
2022	executables, but is not yet installed as /usr/bin/ld by default.
2023
2024	To revert to ld.bfd as the bootstrap linker, in /etc/src.conf set
2025	WITHOUT_LLD_BOOTSTRAP=yes
2026
202720180110:
2028	On i386, pmtimer has been removed. Its functionality has been folded
2029	into apm. It was a no-op on ACPI in current for a while now (but was
2030	still needed on i386 in FreeBSD 11 and earlier). Users may need to
2031	remove it from kernel config files.
2032
203320180104:
2034	The use of RSS hash from the network card aka flowid has been
2035	disabled by default for lagg(4) as it's currently incompatible with
2036	the lacp and loadbalance protocols.
2037
2038	This can be re-enabled by setting the following in loader.conf:
2039	net.link.lagg.default_use_flowid="1"
2040
204120180102:
2042	The SW_WATCHDOG option is no longer necessary to enable the
2043	hardclock-based software watchdog if no hardware watchdog is
2044	configured. As before, SW_WATCHDOG will cause the software
2045	watchdog to be enabled even if a hardware watchdog is configured.
2046
204720171215:
2048	r326887 fixes the issue described in the 20171214 UPDATING entry.
2049	r326888 flips the switch back to building GELI support always.
2050
205120171214:
2052	r362593 broke ZFS + GELI support for reasons unknown. However,
2053	it also broke ZFS support generally, so GELI has been turned off
2054	by default as the lesser evil in r326857. If you boot off ZFS and/or
2055	GELI, it might not be a good time to update.
2056
205720171125:
2058	PowerPC users must update loader(8) by rebuilding world before
2059	installing a new kernel, as the protocol connecting them has
2060	changed. Without the update, loader metadata will not be passed
2061	successfully to the kernel and users will have to enter their
2062	root partition at the kernel mountroot prompt to continue booting.
2063	Newer versions of loader can boot old kernels without issue.
2064
206520171110:
2066	The LOADER_FIREWIRE_SUPPORT build variable has been renamed to
2067	WITH/OUT_LOADER_FIREWIRE. LOADER_{NO_,}GELI_SUPPORT has been renamed
2068	to WITH/OUT_LOADER_GELI.
2069
207020171106:
2071	The naive and non-compliant support of posix_fallocate(2) in ZFS
2072	has been removed as of r325320.  The system call now returns EINVAL
2073	when used on a ZFS file.  Although the new behavior complies with the
2074	standard, some consumers are not prepared to cope with it.
2075	One known victim is lld prior to r325420.
2076
207720171102:
2078	Building in a FreeBSD src checkout will automatically create object
2079	directories now rather than store files in the current directory if
2080	'make obj' was not ran.  Calling 'make obj' is no longer necessary.
2081	This feature can be disabled by setting WITHOUT_AUTO_OBJ=yes in
2082	/etc/src-env.conf (not /etc/src.conf), or passing the option in the
2083	environment.
2084
208520171101:
2086	The default MAKEOBJDIR has changed from /usr/obj/<srcdir> for native
2087	builds, and /usr/obj/<arch>/<srcdir> for cross-builds, to a unified
2088	/usr/obj/<srcdir>/<arch>.  This behavior can be changed to the old
2089	format by setting WITHOUT_UNIFIED_OBJDIR=yes in /etc/src-env.conf,
2090	the environment, or with -DWITHOUT_UNIFIED_OBJDIR when building.
2091	The UNIFIED_OBJDIR option is a transitional feature that will be
2092	removed for 12.0 release; please migrate to the new format for any
2093	tools by looking up the OBJDIR used by 'make -V .OBJDIR' means rather
2094	than hardcoding paths.
2095
209620171028:
2097	The native-xtools target no longer installs the files by default to the
2098	OBJDIR.  Use the native-xtools-install target with a DESTDIR to install
2099	to ${DESTDIR}/${NXTP} where NXTP defaults to /nxb-bin.
2100
210120171021:
2102	As part of the boot loader infrastructure cleanup, LOADER_*_SUPPORT
2103	options are changing from controlling the build if defined / undefined
2104	to controlling the build with explicit 'yes' or 'no' values. They will
2105	shift to WITH/WITHOUT options to match other options in the system.
2106
210720171010:
2108	libstand has turned into a private library for sys/boot use only.
2109	It is no longer supported as a public interface outside of sys/boot.
2110
211120171005:
2112	The arm port has split armv6 into armv6 and armv7. armv7 is now
2113	a valid TARGET_ARCH/MACHINE_ARCH setting. If you have an armv7 system
2114	and are running a kernel from before r324363, you will need to add
2115	MACHINE_ARCH=armv7 to 'make buildworld' to do a native build.
2116
211720171003:
2118	When building multiple kernels using KERNCONF, non-existent KERNCONF
2119	files will produce an error and buildkernel will fail. Previously
2120	missing KERNCONF files silently failed giving no indication as to
2121	why, only to subsequently discover during installkernel that the
2122	desired kernel was never built in the first place.
2123
212420170912:
2125	The default serial number format for CTL LUNs has changed.  This will
2126	affect users who use /dev/diskid/* device nodes, or whose FibreChannel
2127	or iSCSI clients care about their LUNs' serial numbers.  Users who
2128	require serial number stability should hardcode serial numbers in
2129	/etc/ctl.conf .
2130
213120170912:
2132	For 32-bit arm compiled for hard-float support, soft-floating point
2133	binaries now always get their shared libraries from
2134	LD_SOFT_LIBRARY_PATH (in the past, this was only used if
2135	/usr/libsoft also existed). Only users with a hard-float ld.so, but
2136	soft-float everything else should be affected.
2137
213820170826:
2139	The geli password typed at boot is now hidden.  To restore the previous
2140	behavior, see geli(8) for configuration options.
2141
214220170825:
2143	Move PMTUD blackhole counters to TCPSTATS and remove them from bare
2144	sysctl values.  Minor nit, but requires a rebuild of both world/kernel
2145	to complete.
2146
214720170814:
2148	"make check" behavior (made in ^/head@r295380) has been changed to
2149	execute from a limited sandbox, as opposed to executing from
2150	${TESTSDIR}.
2151
2152	Behavioral changes:
2153	- The "beforecheck" and "aftercheck" targets are now specified.
2154	- ${CHECKDIR} (added in commit noted above) has been removed.
2155	- Legacy behavior can be enabled by setting
2156	  WITHOUT_MAKE_CHECK_USE_SANDBOX in src.conf(5) or the environment.
2157
2158	If the limited sandbox mode is enabled, "make check" will execute
2159	"make distribution", then install, execute the tests, and clean up the
2160	sandbox if successful.
2161
2162	The "make distribution" and "make install" targets are typically run as
2163	root to set appropriate permissions and ownership at installation time.
2164	The end-user should set "WITH_INSTALL_AS_USER" in src.conf(5) or the
2165	environment if executing "make check" with limited sandbox mode using
2166	an unprivileged user.
2167
216820170808:
2169	Since the switch to GPT disk labels, fsck for UFS/FFS has been
2170	unable to automatically find alternate superblocks. As of r322297,
2171	the information needed to find alternate superblocks has been
2172	moved to the end of the area reserved for the boot block.
2173	Filesystems created with a newfs of this vintage or later
2174	will create the recovery information. If you have a filesystem
2175	created prior to this change and wish to have a recovery block
2176	created for your filesystem, you can do so by running fsck in
2177	foreground mode (i.e., do not use the -p or -y options). As it
2178	starts, fsck will ask ``SAVE DATA TO FIND ALTERNATE SUPERBLOCKS''
2179	to which you should answer yes.
2180
218120170728:
2182	As of r321665, an NFSv4 server configuration that services
2183	Kerberos mounts or clients that do not support the uid/gid in
2184	owner/owner_group string capability, must explicitly enable
2185	the nfsuserd daemon by adding nfsuserd_enable="YES" to the
2186	machine's /etc/rc.conf file.
2187
218820170722:
2189	Clang, llvm, lldb, compiler-rt and libc++ have been upgraded to 5.0.0.
2190	Please see the 20141231 entry below for information about prerequisites
2191	and upgrading, if you are not already using clang 3.5.0 or higher.
2192
219320170701:
2194	WITHOUT_RCMDS is now the default. Set WITH_RCMDS if you need the
2195	r-commands (rlogin, rsh, etc.) to be built with the base system.
2196
219720170625:
2198	The FreeBSD/powerpc platform now uses a 64-bit type for time_t.  This is
2199	a very major ABI incompatible change, so users of FreeBSD/powerpc must
2200	be careful when performing source upgrades.  It is best to run
2201	'make installworld' from an alternate root system, either a live
2202	CD/memory stick, or a temporary root partition.  Additionally, all ports
2203	must be recompiled.  powerpc64 is largely unaffected, except in the case
2204	of 32-bit compatibility.  All 32-bit binaries will be affected.
2205
220620170623:
2207	Forward compatibility for the "ino64" project have been committed. This
2208	will allow most new binaries to run on older kernels in a limited
2209	fashion.  This prevents many of the common foot-shooting actions in the
2210	upgrade as well as the limited ability to roll back the kernel across
2211	the ino64 upgrade. Complicated use cases may not work properly, though
2212	enough simpler ones work to allow recovery in most situations.
2213
221420170620:
2215	Switch back to the BSDL dtc (Device Tree Compiler). Set WITH_GPL_DTC
2216	if you require the GPL compiler.
2217
221820170619:
2219	Forward compatibility for the "ino64" project have been committed. This
2220	will allow most new binaries to run on older kernels in a limited
2221	fashion.  This prevents many of the common foot-shooting actions in the
2222	upgrade as well as the limited ability to roll back the kernel across
2223	the ino64 upgrade. Complicated use cases may not work properly, though
2224	enough simpler ones work to allow recovery in most situations.
2225
222620170618:
2227	The internal ABI used for communication between the NFS kernel modules
2228	was changed by r320085, so __FreeBSD_version was bumped to
2229	ensure all the NFS related modules are updated together.
2230
223120170617:
2232	The ABI of struct event was changed by extending the data
2233	member to 64bit and adding ext fields.  For upgrade, same
2234	precautions as for the entry 20170523 "ino64" must be
2235	followed.
2236
223720170531:
2238	The GNU roff toolchain has been removed from base. To render manpages
2239	which are not supported by mandoc(1), man(1) can fallback on GNU roff
2240	from ports (and recommends to install it).
2241	To render roff(7) documents, consider using GNU roff from ports or the
2242	heirloom doctools roff toolchain from ports via pkg install groff or
2243	via pkg install heirloom-doctools.
2244
224520170524:
2246	The ath(4) and ath_hal(4) modules now build piecemeal to allow for
2247	smaller runtime footprint builds.  This is useful for embedded systems
2248	which only require one chipset support.
2249
2250	If you load it as a module, make sure this is in /boot/loader.conf:
2251
2252	if_ath_load="YES"
2253
2254	This will load the HAL, all chip/RF backends and if_ath_pci.
2255	If you have if_ath_pci in /boot/loader.conf, ensure it is after
2256	if_ath or it will not load any HAL chipset support.
2257
2258	If you want to selectively load things (eg on cheaper ARM/MIPS
2259	platforms where RAM is at a premium) you should:
2260
2261	* load ath_hal
2262	* load the chip modules in question
2263	* load ath_rate, ath_dfs
2264	* load ath_main
2265	* load if_ath_pci and/or if_ath_ahb depending upon your particular
2266	  bus bind type - this is where probe/attach is done.
2267
2268	For further comments/feedback, poke adrian@ .
2269
227020170523:
2271	The "ino64" 64-bit inode project has been committed, which extends
2272	a number of types to 64 bits.  Upgrading in place requires care and
2273	adherence to the documented upgrade procedure.
2274
2275	If using a custom kernel configuration ensure that the
2276	COMPAT_FREEBSD11 option is included (as during the upgrade the
2277	system will be running the ino64 kernel with the existing world).
2278
2279	For the safest in-place upgrade begin by removing previous build
2280	artifacts via "rm -rf /usr/obj/*".  Then, carefully follow the full
2281	procedure documented below under the heading "To rebuild everything and
2282	install it on the current system."  Specifically, a reboot is required
2283	after installing the new kernel before installing world. While an
2284	installworld normally works by accident from multiuser after rebooting
2285	the proper kernel, there are many cases where this will fail across this
2286	upgrade and installworld from single user is required.
2287
228820170424:
2289	The NATM framework including the en(4), fatm(4), hatm(4), and
2290	patm(4) devices has been removed.  Consumers should plan a
2291	migration before the end-of-life date for FreeBSD 11.
2292
229320170420:
2294	GNU diff has been replaced by a BSD licensed diff. Some features of GNU
2295	diff has not been implemented, if those are needed a newer version of
2296	GNU diff is available via the diffutils package under the gdiff name.
2297
229820170413:
2299	As of r316810 for ipfilter, keep frags is no longer assumed when
2300	keep state is specified in a rule. r316810 aligns ipfilter with
2301	documentation in man pages separating keep frags from keep state.
2302	This allows keep state to be specified without forcing keep frags
2303	and allows keep frags to be specified independently of keep state.
2304	To maintain previous behaviour, also specify keep frags with
2305	keep state (as documented in ipf.conf.5).
2306
230720170407:
2308	arm64 builds now use the base system LLD 4.0.0 linker by default,
2309	instead of requiring that the aarch64-binutils port or package be
2310	installed. To continue using aarch64-binutils, set
2311	CROSS_BINUTILS_PREFIX=/usr/local/aarch64-freebsd/bin .
2312
231320170405:
2314	The UDP optimization in entry 20160818 that added the sysctl
2315	net.inet.udp.require_l2_bcast has been reverted.  L2 broadcast
2316	packets will no longer be treated as L3 broadcast packets.
2317
231820170331:
2319	Binds and sends to the loopback addresses, IPv6 and IPv4, will now
2320	use any explicitly assigned loopback address available in the jail
2321	instead of using the first assigned address of the jail.
2322
232320170329:
2324	The ctl.ko module no longer implements the iSCSI target frontend:
2325	cfiscsi.ko does instead.
2326
2327	If building cfiscsi.ko as a kernel module, the module can be loaded
2328	via one of the following methods:
2329	- `cfiscsi_load="YES"` in loader.conf(5).
2330	- Add `cfiscsi` to `$kld_list` in rc.conf(5).
2331	- ctladm(8)/ctld(8), when compiled with iSCSI support
2332	  (`WITH_ISCSI=yes` in src.conf(5))
2333
2334	Please see cfiscsi(4) for more details.
2335
233620170316:
2337	The mmcsd.ko module now additionally depends on geom_flashmap.ko.
2338	Also, mmc.ko and mmcsd.ko need to be a matching pair built from the
2339	same source (previously, the dependency of mmcsd.ko on mmc.ko was
2340	missing, but mmcsd.ko now will refuse to load if it is incompatible
2341	with mmc.ko).
2342
234320170315:
2344	The syntax of ipfw(8) named states was changed to avoid ambiguity.
2345	If you have used named states in the firewall rules, you need to modify
2346	them after installworld and before rebooting. Now named states must
2347	be prefixed with colon.
2348
234920170311:
2350	The old drm (sys/dev/drm/) drivers for i915 and radeon have been
2351	removed as the userland we provide cannot use them. The KMS version
2352	(sys/dev/drm2) supports the same hardware.
2353
235420170302:
2355	Clang, llvm, lldb, compiler-rt and libc++ have been upgraded to 4.0.0.
2356	Please see the 20141231 entry below for information about prerequisites
2357	and upgrading, if you are not already using clang 3.5.0 or higher.
2358
235920170221:
2360	The code that provides support for ZFS .zfs/ directory functionality
2361	has been reimplemented.  It's not possible now to create a snapshot
2362	by mkdir under .zfs/snapshot/.  That should be the only user visible
2363	change.
2364
236520170216:
2366	EISA bus support has been removed. The WITH_EISA option is no longer
2367	valid.
2368
236920170215:
2370	MCA bus support has been removed.
2371
237220170127:
2373	The WITH_LLD_AS_LD / WITHOUT_LLD_AS_LD build knobs have been renamed
2374	WITH_LLD_IS_LD / WITHOUT_LLD_IS_LD, for consistency with CLANG_IS_CC.
2375
237620170112:
2377	The EM_MULTIQUEUE kernel configuration option is deprecated now that
2378	the em(4) driver conforms to iflib specifications.
2379
238020170109:
2381	The igb(4), em(4) and lem(4) ethernet drivers are now implemented via
2382	IFLIB.  If you have a custom kernel configuration that excludes em(4)
2383	but you use igb(4), you need to re-add em(4) to your custom
2384	configuration.
2385
238620161217:
2387	Clang, llvm, lldb, compiler-rt and libc++ have been upgraded to 3.9.1.
2388	Please see the 20141231 entry below for information about prerequisites
2389	and upgrading, if you are not already using clang 3.5.0 or higher.
2390
239120161124:
2392	Clang, llvm, lldb, compiler-rt and libc++ have been upgraded to 3.9.0.
2393	Please see the 20141231 entry below for information about prerequisites
2394	and upgrading, if you are not already using clang 3.5.0 or higher.
2395
239620161119:
2397	The layout of the pmap structure has changed for powerpc to put the pmap
2398	statistics at the front for all CPU variations.  libkvm(3) and all tools
2399	that link against it need to be recompiled.
2400
240120161030:
2402	isl(4) and cyapa(4) drivers now require a new driver,
2403	chromebook_platform(4), to work properly on Chromebook-class hardware.
2404	On other types of hardware the drivers may need to be configured using
2405	device hints.  Please see the corresponding manual pages for details.
2406
240720161017:
2408	The urtwn(4) driver was merged into rtwn(4) and now consists of
2409	rtwn(4) main module + rtwn_usb(4) and rtwn_pci(4) bus-specific
2410	parts.
2411	Also, firmware for RTL8188CE was renamed due to possible name
2412	conflict (rtwnrtl8192cU(B) -> rtwnrtl8192cE(B))
2413
241420161015:
2415	GNU rcs has been removed from base.  It is available as packages:
2416	- rcs: Latest GPLv3 GNU rcs version.
2417	- rcs57: Copy of the latest version of GNU rcs (GPLv2) before it was
2418	removed from base.
2419
242020161008:
2421	Use of the cc_cdg, cc_chd, cc_hd, or cc_vegas congestion control
2422	modules now requires that the kernel configuration contain the
2423	TCP_HHOOK option. (This option is included in the GENERIC kernel.)
2424
242520161003:
2426	The WITHOUT_ELFCOPY_AS_OBJCOPY src.conf(5) knob has been retired.
2427	ELF Tool Chain's elfcopy is always installed as /usr/bin/objcopy.
2428
242920160924:
2430	Relocatable object files with the extension of .So have been renamed
2431	to use an extension of .pico instead.  The purpose of this change is
2432	to avoid a name clash with shared libraries on case-insensitive file
2433	systems.  On those file systems, foo.So is the same file as foo.so.
2434
243520160918:
2436	GNU rcs has been turned off by default.  It can (temporarily) be built
2437	again by adding WITH_RCS knob in src.conf.
2438	Otherwise, GNU rcs is available from packages:
2439	- rcs: Latest GPLv3 GNU rcs version.
2440	- rcs57: Copy of the latest version of GNU rcs (GPLv2) from base.
2441
244220160918:
2443	The backup_uses_rcs functionality has been removed from rc.subr.
2444
244520160908:
2446	The queue(3) debugging macro, QUEUE_MACRO_DEBUG, has been split into
2447	two separate components, QUEUE_MACRO_DEBUG_TRACE and
2448	QUEUE_MACRO_DEBUG_TRASH.  Define both for the original
2449	QUEUE_MACRO_DEBUG behavior.
2450
245120160824:
2452	r304787 changed some ioctl interfaces between the iSCSI userspace
2453	programs and the kernel.  ctladm, ctld, iscsictl, and iscsid must be
2454	rebuilt to work with new kernels.  __FreeBSD_version has been bumped
2455	to 1200005.
2456
245720160818:
2458	The UDP receive code has been updated to only treat incoming UDP
2459	packets that were addressed to an L2 broadcast address as L3
2460	broadcast packets.  It is not expected that this will affect any
2461	standards-conforming UDP application.  The new behaviour can be
2462	disabled by setting the sysctl net.inet.udp.require_l2_bcast to
2463	0.
2464
246520160818:
2466	Remove the openbsd_poll system call.
2467	__FreeBSD_version has been bumped because of this.
2468
246920160708:
2470	The stable/11 branch has been created from head@r302406.
2471
2472After branch N is created, entries older than the N-2 branch point are removed
2473from this file. After stable/14 is branched and current becomes FreeBSD 15,
2474entries older than stable/12 branch point will be removed from current's
2475UPDATING file.
2476
2477COMMON ITEMS:
2478
2479	General Notes
2480	-------------
2481	Sometimes, obscure build problems are the result of environment
2482	poisoning.  This can happen because the make utility reads its
2483	environment when searching for values for global variables.  To run
2484	your build attempts in an "environmental clean room", prefix all make
2485	commands with 'env -i '.  See the env(1) manual page for more details.
2486	Occasionally a build failure will occur with "make -j" due to a race
2487	condition.  If this happens try building again without -j, and please
2488	report a bug if it happens consistently.
2489
2490	When upgrading from one major version to another it is generally best to
2491	upgrade to the latest code in the currently installed branch first, then
2492	do an upgrade to the new branch. This is the best-tested upgrade path,
2493	and has the highest probability of being successful.  Please try this
2494	approach if you encounter problems with a major version upgrade.  Since
2495	the stable 4.x branch point, one has generally been able to upgrade from
2496	anywhere in the most recent stable branch to head / current (or even the
2497	last couple of stable branches). See the top of this file when there's
2498	an exception.
2499
2500	The update process will emit an error on an attempt to perform a build
2501	or install from a FreeBSD version below the earliest supported version.
2502	When updating from an older version the update should be performed one
2503	major release at a time, including running `make delete-old` at each
2504	step.
2505
2506	When upgrading a live system, having a root shell around before
2507	installing anything can help undo problems. Not having a root shell
2508	around can lead to problems if pam has changed too much from your
2509	starting point to allow continued authentication after the upgrade.
2510
2511	This file should be read as a log of events. When a later event changes
2512	information of a prior event, the prior event should not be deleted.
2513	Instead, a pointer to the entry with the new information should be
2514	placed in the old entry. Readers of this file should also sanity check
2515	older entries before relying on them blindly. Authors of new entries
2516	should write them with this in mind.
2517
2518	ZFS notes
2519	---------
2520	When upgrading the boot ZFS pool to a new version (via zpool upgrade),
2521	always follow these three steps:
2522
2523	1) recompile and reinstall the ZFS boot loader and boot block
2524	(this is part of "make buildworld" and "make installworld")
2525
2526	2) update the ZFS boot block on your boot drive (only required when
2527	doing a zpool upgrade):
2528
2529	When booting on x86 via BIOS, use the following to update the ZFS boot
2530	block on the freebsd-boot partition of a GPT partitioned drive ada0:
2531		gpart bootcode -p /boot/gptzfsboot -i $N ada0
2532	The value $N will typically be 1.  For EFI booting, see EFI notes.
2533
2534	3) zpool upgrade the root pool. New bootblocks will work with old
2535	pools, but not vice versa, so they need to be updated before any
2536	zpool upgrade.
2537
2538	Non-boot pools do not need these updates.
2539
2540	EFI notes
2541	---------
2542
2543	There are two locations the boot loader can be installed into. The
2544	current location (and the default) is \efi\freebsd\loader.efi and using
2545	efibootmgr(8) to configure it. The old location, that must be used on
2546	deficient systems that don't honor efibootmgr(8) protocols, is the
2547	fallback location of \EFI\BOOT\BOOTxxx.EFI. Generally, you will copy
2548	/boot/loader.efi to this location, but on systems installed a long time
2549	ago the ESP may be too small and /boot/boot1.efi may be needed unless
2550	the ESP has been expanded in the meantime.
2551
2552	Recent systems will have the ESP mounted on /boot/efi, but older ones
2553	may not have it mounted at all, or mounted in a different
2554	location. Older arm SD images with MBR used /boot/msdos as the
2555	mountpoint. The ESP is a MSDOS filesystem.
2556
2557	The EFI boot loader rarely needs to be updated. For ZFS booting,
2558	however, you must update loader.efi before you do 'zpool upgrade' the
2559	root zpool, otherwise the old loader.efi may reject the upgraded zpool
2560	since it does not automatically understand some new features.
2561
2562	See loader.efi(8) and uefi(8) for more details.
2563
2564	To build a kernel
2565	-----------------
2566	If you are updating from a prior version of FreeBSD (even one just
2567	a few days old), you should follow this procedure.  It is the most
2568	failsafe as it uses a /usr/obj tree with a fresh mini-buildworld,
2569
2570	make kernel-toolchain
2571	make -DALWAYS_CHECK_MAKE buildkernel KERNCONF=YOUR_KERNEL_HERE
2572	make -DALWAYS_CHECK_MAKE installkernel KERNCONF=YOUR_KERNEL_HERE
2573
2574	If you are running kernel modules from ports, see FOOTNOTE [1].
2575
2576	To test a kernel once
2577	---------------------
2578	If you just want to boot a kernel once (because you are not sure
2579	if it works, or if you want to boot a known bad kernel to provide
2580	debugging information) run
2581	make installkernel KERNCONF=YOUR_KERNEL_HERE KODIR=/boot/testkernel
2582	nextboot -k testkernel
2583
2584	To rebuild everything and install it on the current system.
2585	-----------------------------------------------------------
2586	# Note: sometimes if you are running current you gotta do more than
2587	# is listed here if you are upgrading from a really old current.
2588
2589	<make sure you have good level 0 dumps>		[2]
2590	make buildworld
2591	<make sure any needed PORTS_MODULES are set>	[1]
2592	make buildkernel KERNCONF=YOUR_KERNEL_HERE
2593	make installkernel KERNCONF=YOUR_KERNEL_HERE
2594	<reboot in single user>				[3]
2595	etcupdate -p					[5]
2596	make installworld
2597	etcupdate					[4]
2598	make delete-old					[6]
2599	<reboot>
2600
2601	To cross-install current onto a separate partition
2602	--------------------------------------------------
2603	# In this approach we use a separate partition to hold
2604	# current's root, 'usr', and 'var' directories.   A partition
2605	# holding "/", "/usr" and "/var" should be about 2GB in
2606	# size.
2607
2608	<make sure you have good level 0 dumps>
2609	<boot into -stable>
2610	make buildworld
2611	make buildkernel KERNCONF=YOUR_KERNEL_HERE	[1]
2612	<maybe newfs current's root partition>
2613	<mount current's root partition on directory ${CURRENT_ROOT}>
2614	make installworld DESTDIR=${CURRENT_ROOT} -DDB_FROM_SRC
2615	make distribution DESTDIR=${CURRENT_ROOT} # if newfs'd
2616	make installkernel KERNCONF=YOUR_KERNEL_HERE DESTDIR=${CURRENT_ROOT}
2617	cp /etc/fstab ${CURRENT_ROOT}/etc/fstab 		   # if newfs'd
2618	<edit ${CURRENT_ROOT}/etc/fstab to mount "/" from the correct partition>
2619	<reboot into current>
2620	<do a "native" rebuild/install as described in the previous section>
2621	<maybe install compatibility libraries from ports/misc/compat*>
2622	<reboot>
2623
2624
2625	To upgrade in-place from stable to current
2626	----------------------------------------------
2627	<make sure you have good level 0 dumps>		[2]
2628	make buildworld					[9]
2629	<make sure any needed PORTS_MODULES are set>	[1]
2630	make buildkernel KERNCONF=YOUR_KERNEL_HERE	[8]
2631	make installkernel KERNCONF=YOUR_KERNEL_HERE
2632	<reboot in single user>				[3]
2633	etcupdate -p					[5]
2634	make installworld
2635	etcupdate					[4]
2636	make delete-old					[6]
2637	<reboot>
2638
2639	Make sure that you've read the UPDATING file to understand the
2640	tweaks to various things you need.  At this point in the life
2641	cycle of current, things change often and you are on your own
2642	to cope.  The defaults can also change, so please read ALL of
2643	the UPDATING entries.
2644
2645	Also, if you are tracking -current, you must be subscribed to
2646	freebsd-current@freebsd.org.  Make sure that before you update
2647	your sources that you have read and understood all the recent
2648	messages there.  If in doubt, please track -stable which has
2649	much fewer pitfalls.
2650
2651FOOTNOTES:
2652
2653	[1] If you have third party modules, such as drm-kmod or vmware, you
2654	should disable them at this point so they don't crash your system on
2655	reboot. Alternatively, you should rebuild all the modules you have in
2656	your system and install them as well.  If you are running -current, you
2657	should seriously consider placing all sources to all the modules for
2658	your system (or symlinks to them) in /usr/local/sys/modules so this
2659	happens automatically. If all your modules come from ports, then adding
2660	the port origin directories to PORTS_MODULES instead is also automatic
2661	and effective, eg:
2662	     PORTS_MODULES+=graphics/drm-kmod graphics/nvidia-drm-kmod
2663
2664	[2] To make complete dumps on zfs(4), use bectl(8), which
2665	creates bootable snapshots of configurable depth that are
2666	selectable via the bootloader. For ufs(4), use dump(8) and
2667	restore(8).
2668
2669	[3] From the bootblocks, boot -s, and then do
2670		fsck -p
2671		mount -u /
2672		mount -a
2673		sh /etc/rc.d/zfs start	# mount zfs filesystem, if needed
2674		cd src			# full path to source
2675		adjkerntz -i		# if CMOS is wall time
2676	Also, when doing a major release upgrade, it is required that you boot
2677	into single user mode to do the installworld.
2678
2679	[4] Note: This step is non-optional.  Failure to do this step
2680	can result in a significant reduction in the functionality of the
2681	system.  Attempting to do it by hand is not recommended and those
2682	that pursue this avenue should read this file carefully, as well
2683	as the archives of freebsd-current and freebsd-hackers mailing lists
2684	for potential gotchas.  See etcupdate(8) for more information.
2685
2686	[5] Usually this step is a no-op.  However, from time to time
2687	you may need to do this if you get unknown user in the following
2688	step.
2689
2690	[6] This only deletes old files and directories. Old libraries
2691	can be deleted by "make delete-old-libs", but you have to make
2692	sure that no program is using those libraries anymore.
2693
2694	[8] The new kernel must be able to run existing binaries used by an
2695	installworld.  When upgrading across major versions, the new kernel's
2696	configuration must include the correct COMPAT_FREEBSD<n> option for
2697	existing binaries (e.g. COMPAT_FREEBSD11 to run 11.x binaries).  Failure
2698	to do so may leave you with a system that is hard to boot to recover. A
2699	GENERIC kernel will include suitable compatibility options to run
2700	binaries from older branches.  Note that the ability to run binaries
2701	from unsupported branches is not guaranteed.
2702
2703	Make sure that you merge any new devices from GENERIC since the
2704	last time you updated your kernel config file. Options also
2705	change over time, so you may need to adjust your custom kernels
2706	for these as well.
2707
2708	[9] If CPUTYPE is defined in your /etc/make.conf, make sure to use the
2709	"?=" instead of the "=" assignment operator, so that buildworld can
2710	override the CPUTYPE if it needs to.
2711
2712	MAKEOBJDIRPREFIX must be defined in an environment variable, and
2713	not on the command line, or in /etc/make.conf.  buildworld will
2714	warn if it is improperly defined.
2715FORMAT:
2716
2717This file contains a list, in reverse chronological order, of major
2718breakages in tracking -current.  It is not guaranteed to be a complete
2719list of such breakages, and only contains entries since September 23, 2011.
2720If you need to see UPDATING entries from before that date, you will need
2721to fetch an UPDATING file from an older FreeBSD release.
2722
2723Copyright information:
2724
2725Copyright 1998-2009 M. Warner Losh <imp@FreeBSD.org>
2726
2727Redistribution, publication, translation and use, with or without
2728modification, in full or in part, in any form or format of this
2729document are permitted without further permission from the author.
2730
2731THIS DOCUMENT IS PROVIDED BY WARNER LOSH ``AS IS'' AND ANY EXPRESS OR
2732IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
2733WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
2734DISCLAIMED.  IN NO EVENT SHALL WARNER LOSH BE LIABLE FOR ANY DIRECT,
2735INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
2736(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
2737SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2738HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
2739STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
2740IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2741POSSIBILITY OF SUCH DAMAGE.
2742
2743Contact Warner Losh if you have any questions about your use of
2744this document.
2745