xref: /freebsd/UPDATING (revision 287d467c5db5a46f13566a2f9dae80a695335c73)
1Updating Information for FreeBSD current users.
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 14.x IS SLOW:
16	FreeBSD 14.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
3020220610:
31	LinuxKPI pm.h changes require an update to the latest drm-kmod version
32	before re-compiling to avoid errors.
33
3420211230:
35	The macros provided for the manipulation of CPU sets (e.g. CPU_AND)
36	have been modified to take 2 source arguments instead of only 1.
37	Externally maintained sources that use these macros will have to
38	be adapted. The FreeBSD version has been bumped to 1400046 to
39	reflect this change.
40
4120211214:
42	A number of the kernel include files are able to be included by
43	themselves.  A test has been added to buildworld to enforce this.
44
4520211209:
46	Remove mips as a recognized target. This starts the decommissioning of
47	mips support in FreeBSD. mips related items will be removed wholesale in
48	the coming days and weeks.
49
50	This broke the NO_CLEAN build for some people. Either do a clean build
51	or touch
52		lib/clang/include/llvm/Config/Targets.def
53		lib/clang/include/llvm/Config/AsmParsers.def
54		lib/clang/include/llvm/Config/Disassemblers.def
55		lib/clang/include/llvm/Config/AsmPrinters.def
56	before the build to force everything to rebuild that needs to.
57
5820211202:
59	Unbound support for RFC8375: The special-use domain 'home.arpa' is
60	by default blocked. To unblock it use a local-zone nodefault
61	statement in unbound.conf:
62		local-zone: "home.arpa." nodefault
63
64	Or use another type of local-zone to override with your choice.
65
66	The reason for this is discussed in Section 6.1 of RFC8375:
67	Because 'home.arpa.' is not globally scoped and cannot be secured
68	using DNSSEC based on the root domain's trust anchor, there is no way
69	to tell, using a standard DNS query, in which homenet scope an answer
70	belongs.  Consequently, users may experience surprising results with
71	such names when roaming to different homenets.
72
7320211110:
74	Commit b8d60729deef changed the TCP congestion control framework so
75	that any of the included congestion control modules could be
76	the single module built into the kernel. Previously newreno
77	was automatically built in through direct reference. As of
78	this commit you are required to declare at least one congestion
79	control module (e.g. 'options CC_NEWRENO') and to also declare a
80	default using the CC_DEFAULT option (e.g. options CC_DEFAULT="newreno\").
81	The GENERIC configuration includes CC_NEWRENO and defines newreno
82	as the default. If no congestion control option is built into the
83	kernel and you are including networking, the kernel compile will
84	fail. Also if no default is declared the kernel compile will fail.
85
8620211118:
87	Mips has been removed from universe builds. It will be removed from the
88	tree shortly.
89
9020211106:
91	Commit f0c9847a6c47 changed the arguments for VOP_ALLOCATE.
92	The NFS modules must be rebuilt from sources and any out
93	of tree file systems that implement their own VOP_ALLOCATE
94	may need to be modified.
95
9620211022:
97	The synchronous PPP kernel driver sppp(4) has been removed.
98	The cp(4) and ce(4) drivers are now always compiled with netgraph(4)
99	support, formerly enabled by NETGRAPH_CRONYX option.
100
10120211020:
102	sh(1) is now the default shell for the root user.  To force root to use
103	the csh shell, please run the following command as root:
104
105	# chsh -s csh
106
10720211004:
108	Ncurses distribution has been split between libtinfow and libncurses
109	with libncurses.so becoming a linker (ld) script to seamlessly link
110	to libtinfow as needed. Bump _FreeBSD_version to 1400035 to reflect
111	this change.
112
11320210923:
114	As of commit 8160a0f62be6, the dummynet module no longer depends on the
115	ipfw module. Dummynet can now be used by pf as well as ipfw. As such
116	users who relied on this dependency may need to include ipfw in the
117	list of modules to load on their systems.
118
11920210922:
120	As of commit 903873ce1560, the mixer(8) utility has got a slightly
121	new syntax. Please refer to the mixer(8) manual page for more
122	information. The old mixer utility can be installed from ports:
123	audio/freebsd-13-mixer
124
12520210911:
126	As of commit 55089ef4f8bb, the global variable nfs_maxcopyrange has
127	been deleted from the nfscommon.ko.  As such, nfsd.ko must be built
128	from up to date sources to avoid an undefined reference when
129	being loaded.
130
13120210817:
132	As of commit 62ca9fc1ad56 OpenSSL no longer enables kernel TLS
133	by default.  Users can enable kernel TLS via the "KTLS" SSL
134	option.  This can be enabled globally by using a custom
135	OpenSSL config file via OPENSSL_CONF or via an
136	application-specific configuration option for applications
137	which permit setting SSL options via SSL_CONF_cmd(3).
138
13920210811:
140	Commit 3ad1e1c1ce20 changed the internal KAPI between the NFS
141	modules. Therefore, all need to be rebuilt from sources.
142
14320210730:
144	Commit b69019c14cd8 removes pf's DIOCGETSTATESNV ioctl.
145	As of be70c7a50d32 it is no longer used by userspace, but it does mean
146	users may not be able to enumerate pf states if they update the kernel
147	past b69019c14cd8 without first updating userspace past be70c7a50d32.
148
14920210729:
150	As of commit 01ad0c007964 if_bridge member interfaces can no longer
151	change their MTU. Changing the MTU of the bridge itself will change the
152	MTU on all member interfaces instead.
153
15420210716:
155	Commit ee29e6f31111 changed the internal KAPI between the nfscommon
156	and nfsd modules. Therefore, both need to be rebuilt from sources.
157	Bump __FreeBSD_version to 1400026 for this KAPI change.
158
15920210715:
160	The 20210707 awk update brought in a change in behavior. This has
161	been corrected as of d4d252c49976. Between these dates, if you
162	installed a new awk binary, you may not be able to build a new
163	kernel because the change in behavior affected the genoffset
164	script used to build the kernel. If you did update, the fix is
165	to update your sources past the above hash and do
166		% cd usr.bin/awk
167		% make clean all
168		% sudo -E make install
169	to enable building kernels again.
170
17120210708:
172	Commit 1e0a518d6548 changed the internal KAPI between the NFS
173	modules. They all need to be rebuilt from sources.  I did not
174	bump __FreeBSD_version, since it was bumped recently.
175
17620210707:
177	awk has been updated to the latest one-true-awk version 20210215.
178	This contains a number of minor bug fixes.
179
18020210624:
181	The NFSv4 client now uses the highest minor version of NFSv4
182	supported by the NFSv4 server by default instead of minor version 0,
183	for NFSv4 mounts.
184	The "minorversion" mount option may be used to override this default.
185
18620210618:
187	Bump __FreeBSD_version to 1400024 for LinuxKPI changes.
188	Most notably netdev.h can change now as the (last) dependencies
189	(mlx4/ofed) are now using struct ifnet directly, but also for PCI
190	additions and others.
191
19220210618:
193	The directory "blacklisted" under /usr/share/certs/ has been
194	renamed to "untrusted".
195
19620210611:
197	svnlite has been removed from base. Should you need svn for any reason
198	please install the svn package or port.
199
20020210611:
201	Commit e1a907a25cfa changed the internal KAPI between the krpc
202	and nfsserver.  As such, both modules must be rebuilt from
203	sources.  Bump __FreeBSD_version to 1400022.
204
20520210610:
206	The an(4) driver has been removed from FreeBSD.
207
20820210608:
209	The vendor/openzfs branch was renamed to vendor/openzfs/legacy to
210	start tracking OpenZFS upstream more closely. Please see
211https://lists.freebsd.org/archives/freebsd-current/2021-June/000153.html
212	for details on how to correct any errors that might result. The
213	short version is that you need to remove the old branch locally:
214	    git update-ref -d refs/remotes/freebsd/vendor/openzfs
215	(assuming your upstream origin is named 'freebsd').
216
21720210525:
218	Commits 17accc08ae15 and de102f870501 add new files to LinuxKPI
219	which break drm-kmod.  In addition various other additions where
220	committed. Bump __FreeBSD_version to 1400015 to be able to
221	detect this.
222
22320210513:
224	Commit ca179c4d74f2 changed the package in which the OpenSSL
225	libraries and utilities are packaged.
226	It is recommended for pkgbase user to do:
227	pkg install -f FreeBSD-openssl
228	before pkg upgrade otherwise some dependencies might not be met
229	and pkg will stop working as libssl will not be present anymore
230	on the system.
231
23220210426:
233	Commit 875977314881 changed the internal KAPI between
234	the nfsd and nfscommon modules.  As such these modules
235	need to be rebuilt from sources.
236	Without this patch in your NFSv4.1/4.2 server, enabling
237	delegations by setting vfs.nfsd.issue_delegations non-zero
238	is not recommended.
239
24020210411:
241	Commit 7763814fc9c2 changed the internal KAPI between
242	the krpc and NFS.  As such, the krpc, nfscommon and
243	nfscl modules must all be rebuilt from sources.
244	Without this patch, NFSv4.1/4.2 mounts should not
245	be done with the nfscbd(8) daemon running, to avoid
246	needing a working back channel for server->client RPCs.
247
24820210330:
249	Commit 01ae8969a9ee fixed the NFSv4.1/4.2 server so that it
250	handles binding of the back channel as required by RFC5661.
251	Until this patch is in your server, avoid use of the "nconnects"
252	mount option for Linux NFSv4.1/4.2 mounts.
253
25420210225:
255	For 64-bit architectures the base system is now built with Position
256	Independent Executable (PIE) support enabled by default.  It may be
257	disabled using the WITHOUT_PIE knob.  A clean build is required.
258
25920210128:
260	Various LinuxKPI functionality was added which conflicts with DRM.
261	Please update your drm-kmod port to after the __FreeBSD_version 1400003
262	update.
263
26420210108:
265	PC Card attachments for all devices have been removed. In the case of
266	wi and cmx, the entire drivers were removed because they were only
267	PC Card devices. FreeBSD_version 1300134 should be used for this
268	since it was bumped so recently.
269
27020210107:
271	Transport-independent parts of HID support have been split off the USB
272	code in to separate subsystem.  Kernel configs which include one of
273	ums, ukbd, uhid, atp, wsp, wmt, uaudio, ugold or ucycom drivers should
274	be updated with adding of "device hid" line.
275
27620210105:
277	ncurses installation has been modified to only keep the widechar
278	enabled version.  Incremental build is broken for that change, so it
279	requires a clean build.
280
28120201223:
282	The FreeBSD project has migrated from Subversion to Git. Temporary
283	instructions can be found at
284	https://github.com/bsdimp/freebsd-git-docs/blob/main/src-cvt.md
285	and other documents in that repo.
286
28720201216:
288	The services database has been updated to cover more of the basic
289	services expected in a modern system. The database is big enough
290	that it will cause issues in mergemaster in Releases previous to
291	12.2 and 11.3, or in very old current systems from before r358154.
292
29320201215:
294	Obsolete in-tree GDB 6.1.1 has been removed.  GDB (including kgdb)
295	may be installed from ports or packages.
296
29720201124:
298	ping6 has been merged into ping.  It can now be called as "ping -6".
299	See ping(8) for details.
300
30120201108:
302	Default value of net.add_addr_allfibs has been changed to 0.
303	If you have multi-fib configuration and rely on existence of all
304	interface routes in every fib, you need to set the above sysctl to 1.
305
30620201030:
307	The internal pre-processor in the calendar(1) program has been
308	extended to support more C pre-processor commands (e.g. #ifdef, #else,
309	and #undef) and to detect unbalanced conditional statements.
310	Error messages have been extended to include the filename and line
311	number if processing stops to help fixing malformed data files.
312
31320201026:
314	All the data files for the calendar(1) program, except calendar.freebsd,
315	have been moved to the deskutils/calendar-data port, much like the
316	jewish calendar entries were moved to deskutils/hebcal years ago. After
317	make delete-old-files, you need to install it to retain full
318	functionality. calendar(1) will issue a reminder for files it can't
319	find.
320
32120200923:
322	LINT files are no longer generated. We now include the relevant NOTES
323	files. Note: This may cause conflicts with updating in some cases.
324	        find sys -name LINT\* -delete
325	is suggested across this commit	to remove the generated	LINT files.
326
327	If you have tried to update with generated files there, the svn
328	command you want to un-auger the tree is
329		cd sys/amd64/conf
330		svn revert -R .
331	and then do the above find from the top level. Substitute 'amd64'
332	above with where the error message indicates a conflict.
333
33420200824:
335	OpenZFS support has been integrated. Do not upgrade root pools until
336	the loader is updated to support zstd. Furthermore, we caution against
337	'zpool upgrade' for the next few weeks. The change should be transparent
338	unless you  want to use new features.
339
340	Not all "NO_CLEAN" build scenarios work across these changes. Many
341	scenarios have been tested and fixed, but rebuilding kernels without
342	rebuilding world may fail.
343
344	The ZFS cache file has moved from /boot to /etc to match the OpenZFS
345	upstream default. A fallback to /boot has been added for mountroot.
346
347	Pool auto import behavior at boot has been moved from the kernel module
348	to an explicit "zpool import -a" in one of the rc scripts enabled by
349	zfs_enable=YES. This means your non-root zpools won't auto import until
350	you upgrade your /etc/rc.d files.
351
35220200824:
353	The resume code now notifies devd with the 'kernel' system
354	rather than the old 'kern' subsystem to be consistent with
355	other use. The old notification will be created as well, but
356	will be removed prior to FreeBSD 14.0.
357
35820200821:
359	r362275 changed the internal API between the kernel RPC and the
360	NFS modules. As such, all the modules must be recompiled from
361	sources.
362
36320200817:
364	r364330 modified the internal API used between the NFS modules.
365	As such, all the NFS modules must be re-compiled from sources.
366
36720200816:
368	Clang, llvm, lld, lldb, compiler-rt, libc++, libunwind and openmp have
369	been upgraded to 11.0.0.  Please see the 20141231 entry below for
370	information about prerequisites and upgrading, if you are not already
371	using clang 3.5.0 or higher.
372
37320200810:
374	r364092 modified the internal ABI used between the kernel NFS
375	modules.  As such, all of these modules need to be rebuilt
376	from sources, so a version bump was done.
377
37820200807:
379	Makefile.inc has been updated to work around the issue documented in
380	20200729. It was a case where the optimization of using symbolic links
381	to point to binaries created a situation where we'd run new binaries
382	with old libraries starting midway through the installworld process.
383
38420200729:
385	r363679 has redefined some undefined behavior in regcomp(3); notably,
386	extraneous escapes of most ordinary characters will no longer be
387	accepted.  An exp-run has identified all of the problems with this in
388	ports, but other non-ports software may need extra escapes removed to
389	continue to function.
390
391	Because of this change, installworld may encounter the following error
392	from rtld: Undefined symbol "regcomp@FBSD_1.6" -- It is imperative that
393	you do not halt installworld. Instead, let it run to completion (whether
394	successful or not) and run installworld once more.
395
39620200627:
397	A new implementation of bc and dc has been imported in r362681. This
398	implementation corrects non-conformant behavior of the previous bc
399	and adds GNU bc compatible options. It offers a number of extensions,
400	is much faster on large values, and has support for message catalogs
401	(a number of languages are already supported, contributions of further
402	languages welcome). The option WITHOUT_GH_BC can be used to build the
403	world with the previous versions of bc and dc.
404
40520200625:
406	r362639 changed the internal API used between the NFS kernel modules.
407	As such, they all need to be rebuilt from sources.
408
40920200613:
410	r362158 changed the arguments for VFS_CHECKEXP().  As such, any
411	out of tree file systems need to be modified and rebuilt.
412	Also, any file systems that are modules must be rebuilt.
413
41420200604:
415	read(2) of a directory fd is now rejected by default.  root may
416	re-enable it for system root only on non-ZFS filesystems with the
417	security.bsd.allow_read_dir sysctl(8) MIB if
418	security.bsd.suser_enabled=1.
419
420	It may be advised to setup aliases for grep to default to `-d skip` if
421	commonly non-recursively grepping a list that includes directories and
422	the potential for the resulting stderr output is not tolerable.  Example
423	aliases are now installed, commented out, in /root/.cshrc and
424	/root/.shrc.
425
42620200523:
427	Clang, llvm, lld, lldb, compiler-rt, libc++, libunwind and openmp have
428	been upgraded to 10.0.1.  Please see the 20141231 entry below for
429	information about prerequisites and upgrading, if you are not already
430	using clang 3.5.0 or higher.
431
43220200512:
433	Support for obsolete compilers has been removed from the build system.
434	Clang 6 and GCC 6.4 are the minimum supported versions.
435
43620200424:
437	closefrom(2) has been moved under COMPAT12, and replaced in libc with a
438	stub that calls close_range(2).  If using a custom kernel configuration,
439	you may want to ensure that the COMPAT_FREEBSD12 option is included, as
440	a slightly older -CURRENT userland and older FreeBSD userlands may not
441	be functional without closefrom(2).
442
44320200414:
444	Upstream DTS from Linux 5.6 was merged and they now have the SID
445	and THS (Secure ID controller and THermal Sensor) node present.
446	The DTB overlays have now been removed from the tree for the H3/H5 and
447	A64 SoCs and the aw_sid and aw_thermal driver have been updated to
448	deal with upstream DTS. If you are using those overlays you need to
449	remove them from loader.conf and update the DTBs on the FAT partition.
450
45120200310:
452	Clang, llvm, lld, lldb, compiler-rt, libc++, libunwind and openmp have
453	been upgraded to 10.0.0.  Please see the 20141231 entry below for
454	information about prerequisites and upgrading, if you are not already
455	using clang 3.5.0 or higher.
456
45720200309:
458	The amd(8) automount daemon has been removed from the source tree.
459	As of FreeBSD 10.1 autofs(5) is the preferred tool for automounting.
460	amd is still available in the sysutils/am-utils port.
461
46220200301:
463	Removed brooktree driver (bktr.4) from the tree.
464
46520200229:
466	The WITH_GPL_DTC option has been removed.  The BSD-licenced device tree
467	compiler in usr.bin/dtc is used on all architectures which use dtc, and
468	the GPL dtc is available (if needed) from the sysutils/dtc port.
469
47020200229:
471	The WITHOUT_LLVM_LIBUNWIND option has been removed.  LLVM's libunwind
472	is used by all supported CPU architectures.
473
47420200229:
475	GCC 4.2.1 has been removed from the tree.  The WITH_GCC,
476	WITH_GCC_BOOTSTRAP, and WITH_GNUCXX options are no longer available.
477	Users who wish to build FreeBSD with GCC must use the external toolchain
478	ports or packages.
479
48020200220:
481	ncurses has been updated to a newer version (6.2-20200215). Given the ABI
482	has changed, users will have to rebuild all the ports that are linked to
483	ncurses.
484
48520200217:
486	The size of struct vnet and the magic cookie have changed.
487	Users need to recompile libkvm and all modules using VIMAGE
488	together with their new kernel.
489
49020200212:
491	Defining the long deprecated NO_CTF, NO_DEBUG_FILES, NO_INSTALLLIB,
492	NO_MAN, NO_PROFILE, and NO_WARNS variables is now an error.  Update
493	your Makefiles and scripts to define MK_<var>=no instead as required.
494
495	One exception to this is that program or library Makefiles should
496	define MAN to empty rather than setting MK_MAN=no.
497
49820200108:
499	Clang/LLVM is now the default compiler and LLD the default
500	linker for riscv64.
501
50220200107:
503	make universe no longer uses GCC 4.2.1 on any architectures.
504	Architectures not supported by in-tree Clang/LLVM require an
505	external toolchain package.
506
50720200104:
508	GCC 4.2.1 is now not built by default, as part of the GCC 4.2.1
509	retirement plan.  Specifically, the GCC, GCC_BOOTSTRAP, and GNUCXX
510	options default to off for all supported CPU architectures.  As a
511	short-term transition aid they may be enabled via WITH_* options.
512	GCC 4.2.1 is expected to be removed from the tree on 2020-03-31.
513
51420200102:
515	Support for armv5 has been disconnected and is being removed. The
516	machine combination MACHINE=arm MACHINE_ARCH=arm is no longer valid.
517	You must now use a MACHINE_ARCH of armv6 or armv7. The default
518	MACHINE_ARCH for MACHINE=arm is now armv7.
519
52020191226:
521	Clang/LLVM is now the default compiler for all powerpc architectures.
522	LLD is now the default linker for powerpc64.  The change for powerpc64
523	also includes a change to the ELFv2 ABI, incompatible with the existing
524	ABI.
525
52620191226:
527	Kernel-loadable random(4) modules are no longer unloadable.
528
52920191222:
530	Clang, llvm, lld, lldb, compiler-rt, libc++, libunwind and openmp have
531	been upgraded to 9.0.1.  Please see the 20141231 entry below for
532	information about prerequisites and upgrading, if you are not already
533	using clang 3.5.0 or higher.
534
53520191212:
536	r355677 has modified the internal interface used between the
537	NFS modules in the kernel. As such, they must all be upgraded
538	simultaneously. I will do a version bump for this.
539
54020191205:
541	The root certificates of the Mozilla CA Certificate Store have been
542	imported into the base system and can be managed with the certctl(8)
543	utility.  If you have installed the security/ca_root_nss port or package
544	with the ETCSYMLINK option (the default), be advised that there may be
545	differences between those included in the port and those included in
546	base due to differences in nss branch used as well as general update
547	frequency.  Note also that certctl(8) cannot manage certs in the
548	format used by the security/ca_root_nss port.
549
55020191120:
551	The amd(8) automount daemon has been disabled by default, and will be
552	removed in the future.  As of FreeBSD 10.1 the autofs(5) is available
553	for automounting.
554
55520191107:
556	The nctgpio and wbwd drivers have been moved to the superio bus.
557	If you have one of these drivers in a kernel configuration, then
558	you should add device superio to it.  If you use one of these drivers
559	as a module and you compile a custom set of modules, then you should
560	add superio to the set.
561
56220191021:
563	KPIs for network drivers to access interface addresses have changed.
564	Users need to recompile NIC driver modules together with kernel.
565
56620191021:
567	The net.link.tap.user_open sysctl no longer prevents user opening of
568	already created /dev/tapNN devices.  Access is still controlled by
569	node permissions, just like tun devices.  The net.link.tap.user_open
570	sysctl is now used only to allow users to perform devfs cloning of
571	tap devices, and the subsequent open may not succeed if the user is not
572	in the appropriate group.  This sysctl may be deprecated/removed
573	completely in the future.
574
57520191009:
576	mips, powerpc, and sparc64 are no longer built as part of
577	universe / tinderbox unless MAKE_OBSOLETE_GCC is defined. If
578	not defined, mips, powerpc, and sparc64 builds will look for
579	the xtoolchain binaries and if installed use them for universe
580	builds. As llvm 9.0 becomes vetted for these architectures, they
581	will be removed from the list.
582
58320191009:
584	Clang, llvm, lld, lldb, compiler-rt, libc++, libunwind and openmp have
585	been upgraded to 9.0.0.  Please see the 20141231 entry below for
586	information about prerequisites and upgrading, if you are not already
587	using clang 3.5.0 or higher.
588
58920191003:
590	The hpt27xx, hptmv, hptnr, and hptrr drivers have been removed from
591	GENERIC.  They are available as modules and can be loaded by adding
592	to /boot/loader.conf hpt27xx_load="YES", hptmv_load="YES",
593	hptnr_load="YES", or hptrr_load="YES", respectively.
594
59520190913:
596	ntpd no longer by default locks its pages in memory, allowing them
597	to be paged out by the kernel. Use rlimit memlock to restore
598	historic BSD behaviour. For example, add "rlimit memlock 32"
599	to ntp.conf to lock up to 32 MB of ntpd address space in memory.
600
60120190823:
602	Several of ping6's options have been renamed for better consistency
603	with ping.  If you use any of -ARWXaghmrtwx, you must update your
604	scripts.  See ping6(8) for details.
605
60620190727:
607	The vfs.fusefs.sync_unmount and vfs.fusefs.init_backgrounded sysctls
608	and the "-o sync_unmount" and "-o init_backgrounded" mount options have
609	been removed from mount_fusefs(8).  You can safely remove them from
610	your scripts, because they had no effect.
611
612	The vfs.fusefs.fix_broken_io, vfs.fusefs.sync_resize,
613	vfs.fusefs.refresh_size, vfs.fusefs.mmap_enable,
614	vfs.fusefs.reclaim_revoked, and vfs.fusefs.data_cache_invalidate
615	sysctls have been removed.  If you felt the need to set any of them to
616	a non-default value, please tell asomers@FreeBSD.org why.
617
61820190713:
619	Default permissions on the /var/account/acct file (and copies of it
620	rotated by periodic daily scripts) are changed from 0644 to 0640
621	because the file contains sensitive information that should not be
622	world-readable.  If the /var/account directory must be created by
623	rc.d/accounting, the mode used is now 0750.  Admins who use the
624	accounting feature are encouraged to change the mode of an existing
625	/var/account directory to 0750 or 0700.
626
62720190620:
628	Entropy collection and the /dev/random device are no longer optional
629	components.  The "device random" option has been removed.
630	Implementations of distilling algorithms can still be made loadable
631	with "options RANDOM_LOADABLE" (e.g., random_fortuna.ko).
632
63320190612:
634	Clang, llvm, lld, lldb, compiler-rt, libc++, libunwind and openmp have
635	been upgraded to 8.0.1.  Please see the 20141231 entry below for
636	information about prerequisites and upgrading, if you are not already
637	using clang 3.5.0 or higher.
638
63920190608:
640	A fix was applied to i386 kernel modules to avoid panics with
641	dpcpu or vnet.  Users need to recompile i386 kernel modules
642	having pcpu or vnet sections or they will refuse to load.
643
64420190513:
645	User-wired pages now have their own counter,
646	vm.stats.vm.v_user_wire_count.  The vm.max_wired sysctl was renamed
647	to vm.max_user_wired and changed from an unsigned int to an unsigned
648	long.  bhyve VMs wired with the -S are now subject to the user
649	wiring limit; the vm.max_user_wired sysctl may need to be tuned to
650	avoid running into the limit.
651
65220190507:
653	The IPSEC option has been removed from GENERIC.  Users requiring
654	ipsec(4) must now load the ipsec(4) kernel module.
655
65620190507:
657	The tap(4) driver has been folded into tun(4), and the module has been
658	renamed to tuntap.  You should update any kld_list="if_tap" or
659	kld_list="if_tun" entries in /etc/rc.conf, if_tap_load="YES" or
660	if_tun_load="YES" entries in /boot/loader.conf to load the if_tuntap
661	module instead, and "device tap" or "device tun" entries in kernel
662	config files to select the tuntap device instead.
663
66420190418:
665	The following knobs have been added related to tradeoffs between
666	safe use of the random device and availability in the absence of
667	entropy:
668
669	kern.random.initial_seeding.bypass_before_seeding: tunable; set
670	non-zero to bypass the random device prior to seeding, or zero to
671	block random requests until the random device is initially seeded.
672	For now, set to 1 (unsafe) by default to restore pre-r346250 boot
673	availability properties.
674
675	kern.random.initial_seeding.read_random_bypassed_before_seeding:
676	read-only diagnostic sysctl that is set when bypass is enabled and
677	read_random(9) is bypassed, to enable programmatic handling of this
678	initial condition, if desired.
679
680	kern.random.initial_seeding.arc4random_bypassed_before_seeding:
681	Similar to the above, but for arc4random(9) initial seeding.
682
683	kern.random.initial_seeding.disable_bypass_warnings: tunable; set
684	non-zero to disable warnings in dmesg when the same conditions are
685	met as for the diagnostic sysctls above.  Defaults to zero, i.e.,
686	produce warnings in dmesg when the conditions are met.
687
68820190416:
689	The loadable random module KPI has changed; the random_infra_init()
690	routine now requires a 3rd function pointer for a bool (*)(void)
691	method that returns true if the random device is seeded (and
692	therefore unblocked).
693
69420190404:
695	r345895 reverts r320698. This implies that an nfsuserd(8) daemon
696	built from head sources between r320757 (July 6, 2017) and
697	r338192 (Aug. 22, 2018) will not work unless the "-use-udpsock"
698	is added to the command line.
699	nfsuserd daemons built from head sources that are post-r338192 are
700	not affected and should continue to work.
701
70220190320:
703	The fuse(4) module has been renamed to fusefs(4) for consistency with
704	other filesystems.  You should update any kld_load="fuse" entries in
705	/etc/rc.conf, fuse_load="YES" entries in /boot/loader.conf, and
706	"options FUSE" entries in kernel config files.
707
70820190304:
709	Clang, llvm, lld, lldb, compiler-rt and libc++ have been upgraded to
710	8.0.0.  Please see the 20141231 entry below for information about
711	prerequisites and upgrading, if you are not already using clang 3.5.0
712	or higher.
713
71420190226:
715	geom_uzip(4) depends on the new module xz.  If geom_uzip is statically
716	compiled into your custom kernel, add 'device xz' statement to the
717	kernel config.
718
71920190219:
720	drm and drm2 have been removed from the tree. Please see
721	https://wiki.freebsd.org/Graphics for the latest information on
722	migrating to the drm ports.
723
72420190131:
725	Iflib is no longer unconditionally compiled into the kernel.  Drivers
726	using iflib and statically compiled into the kernel, now require
727	the 'device iflib' config option.  For the same drivers loaded as
728	modules on kernels not having 'device iflib', the iflib.ko module
729	is loaded automatically.
730
73120190125:
732	The IEEE80211_AMPDU_AGE and AH_SUPPORT_AR5416 kernel configuration
733	options no longer exist since r343219 and r343427 respectively;
734	nothing uses them, so they should be just removed from custom
735	kernel config files.
736
73720181230:
738	r342635 changes the way efibootmgr(8) works by requiring users to add
739	the -b (bootnum) parameter for commands where the bootnum was previously
740	specified with each option. For example 'efibootmgr -B 0001' is now
741	'efibootmgr -B -b 0001'.
742
74320181220:
744	r342286 modifies the NFSv4 server so that it obeys vfs.nfsd.nfs_privport
745	in the same as it is applied to NFSv2 and 3.  This implies that NFSv4
746	servers that have vfs.nfsd.nfs_privport set will only allow mounts
747	from clients using a reserved port. Since both the FreeBSD and Linux
748	NFSv4 clients use reserved ports by default, this should not affect
749	most NFSv4 mounts.
750
75120181219:
752	The XLP config has been removed. We can't support 64-bit atomics in this
753	kernel because it is running in 32-bit mode. XLP users must transition
754	to running a 64-bit kernel (XLP64 or XLPN32).
755
756	The mips GXEMUL support has been removed from FreeBSD. MALTA* + qemu is
757	the preferred emulator today and we don't need two different ones.
758
759	The old sibyte / swarm / Broadcom BCM1250 support has been
760	removed from the mips port.
761
76220181211:
763	Clang, llvm, lld, lldb, compiler-rt and libc++ have been upgraded to
764	7.0.1.  Please see the 20141231 entry below for information about
765	prerequisites and upgrading, if you are not already using clang 3.5.0
766	or higher.
767
76820181211:
769	Remove the timed and netdate programs from the base tree.  Setting
770	the time with these daemons has been obsolete for over a decade.
771
77220181126:
773	On amd64, arm64 and armv7 (architectures that install LLVM's ld.lld
774	linker as /usr/bin/ld) GNU ld is no longer installed as ld.bfd, as
775	it produces broken binaries when ifuncs are in use.  Users needing
776	GNU ld should install the binutils port or package.
777
77820181123:
779	The BSD crtbegin and crtend code has been enabled by default. It has
780	had extensive testing on amd64, arm64, and i386. It can be disabled
781	by building a world with -DWITHOUT_BSD_CRTBEGIN.
782
78320181115:
784	The set of CTM commands (ctm, ctm_smail, ctm_rmail, ctm_dequeue)
785	has been converted to a port (misc/ctm) and will be removed from
786	FreeBSD-13.  It is available as a package (ctm) for all supported
787	FreeBSD versions.
788
78920181110:
790	The default newsyslog.conf(5) file has been changed to only include
791	files in /etc/newsyslog.conf.d/ and /usr/local/etc/newsyslog.conf.d/ if
792	the filenames end in '.conf' and do not begin with a '.'.
793
794	You should check the configuration files in these two directories match
795	this naming convention. You can verify which configuration files are
796	being included using the command:
797		$ newsyslog -Nrv
798
79920181015:
800	Ports for the DRM modules have been simplified. Now, amd64 users should
801	just install the drm-kmod port. All others should install
802	drm-legacy-kmod.
803
804	Graphics hardware that's newer than about 2010 usually works with
805	drm-kmod.  For hardware older than 2013, however, some users will need
806	to use drm-legacy-kmod if drm-kmod doesn't work for them. Hardware older
807	than 2008 usually only works in drm-legacy-kmod. The graphics team can
808	only commit to hardware made since 2013 due to the complexity of the
809	market and difficulty to test all the older cards effectively. If you
810	have hardware supported by drm-kmod, you are strongly encouraged to use
811	that as you will get better support.
812
813	Other than KPI chasing, drm-legacy-kmod will not be updated. As outlined
814	elsewhere, the drm and drm2 modules will be eliminated from the src base
815	soon (with a limited exception for arm). Please update to the package
816	asap and report any issues to x11@freebsd.org.
817
818	Generally, anybody using the drm*-kmod packages should add
819	WITHOUT_DRM_MODULE=t and WITHOUT_DRM2_MODULE=t to avoid nasty
820	cross-threading surprises, especially with automatic driver
821	loading from X11 startup. These will become the defaults in 13-current
822	shortly.
823
82420181012:
825	The ixlv(4) driver has been renamed to iavf(4).  As a consequence,
826	custom kernel and module loading configuration files must be updated
827	accordingly.  Moreover, interfaces previous presented as ixlvN to the
828	system are now exposed as iavfN and network configuration files must
829	be adjusted as necessary.
830
83120181009:
832	OpenSSL has been updated to version 1.1.1.  This update included
833	additional various API changes throughout the base system.  It is
834	important to rebuild third-party software after upgrading.  The value
835	of __FreeBSD_version has been bumped accordingly.
836
83720181006:
838	The legacy DRM modules and drivers have now been added to the loader's
839	module blacklist, in favor of loading them with kld_list in rc.conf(5).
840	The module blacklist may be overridden with the loader.conf(5)
841	'module_blacklist' variable, but loading them via rc.conf(5) is strongly
842	encouraged.
843
84420181002:
845	The cam(4) based nda(4) driver will be used over nvd(4) by default on
846	powerpc64. You may set 'options NVME_USE_NVD=1' in your kernel conf or
847	loader tunable 'hw.nvme.use_nvd=1' if you wish to use the existing
848	driver.  Make sure to edit /boot/etc/kboot.conf and fstab to use the
849	nda device name.
850
85120180913:
852	Reproducible build mode is now on by default, in preparation for
853	FreeBSD 12.0.  This eliminates build metadata such as the user,
854	host, and time from the kernel (and uname), unless the working tree
855	corresponds to a modified checkout from a version control system.
856	The previous behavior can be obtained by setting the /etc/src.conf
857	knob WITHOUT_REPRODUCIBLE_BUILD.
858
85920180826:
860	The Yarrow CSPRNG has been removed from the kernel as it has not been
861	supported by its designers since at least 2003. Fortuna has been the
862	default since FreeBSD-11.
863
86420180822:
865	devctl freeze/thaw have gone into the tree, the rc scripts have been
866	updated to use them and devmatch has been changed.  You should update
867	kernel, userland and rc scripts all at the same time.
868
86920180818:
870	The default interpreter has been switched from 4th to Lua.
871	LOADER_DEFAULT_INTERP, documented in build(7), will override the default
872	interpreter.  If you have custom FORTH code you will need to set
873	LOADER_DEFAULT_INTERP=4th (valid values are 4th, lua or simp) in
874	src.conf for the build.  This will create default hard links between
875	loader and loader_4th instead of loader and loader_lua, the new default.
876	If you are using UEFI it will create the proper hard link to loader.efi.
877
878	bhyve uses userboot.so. It remains 4th-only until some issues are solved
879	regarding coexisting with multiple versions of FreeBSD are resolved.
880
88120180815:
882	ls(1) now respects the COLORTERM environment variable used in other
883	systems and software to indicate that a colored terminal is both
884	supported and desired.  If ls(1) is suddenly emitting colors, they may
885	be disabled again by either removing the unwanted COLORTERM from your
886	environment, or using `ls --color=never`.  The ls(1) specific CLICOLOR
887	may not be observed in a future release.
888
88920180808:
890	The default pager for most commands has been changed to "less".  To
891	restore the old behavior, set PAGER="more" and MANPAGER="more -s" in
892	your environment.
893
89420180731:
895	The jedec_ts(4) driver has been removed. A superset of its functionality
896	is available in the jedec_dimm(4) driver, and the manpage for that
897	driver includes migration instructions. If you have "device jedec_ts"
898	in your kernel configuration file, it must be removed.
899
90020180730:
901	amd64/GENERIC now has EFI runtime services, EFIRT, enabled by default.
902	This should have no effect if the kernel is booted via BIOS/legacy boot.
903	EFIRT may be disabled via a loader tunable, efi.rt.disabled, if a system
904	has a buggy firmware that prevents a successful boot due to use of
905	runtime services.
906
90720180727:
908	Atmel AT91RM9200 and AT91SAM9, Cavium CNS 11xx and XScale
909	support has been removed from the tree. These ports were
910	obsolete and/or known to be broken for many years.
911
91220180723:
913	loader.efi has been augmented to participate more fully in the
914	UEFI boot manager protocol. loader.efi will now look at the
915	BootXXXX environment variable to determine if a specific kernel
916	or root partition was specified. XXXX is derived from BootCurrent.
917	efibootmgr(8) manages these standard UEFI variables.
918
91920180720:
920	zfsloader's functionality has now been folded into loader.
921	zfsloader is no longer necessary once you've updated your
922	boot blocks. For a transition period, we will install a
923	hardlink for zfsloader to loader to allow a smooth transition
924	until the boot blocks can be updated (hard link because old
925	zfs boot blocks don't understand symlinks).
926
92720180719:
928	ARM64 now have efifb support, if you want to have serial console
929	on your arm64 board when an screen is connected and the bootloader
930	setup a frame buffer for us to use, just add :
931	boot_serial=YES
932	boot_multicons=YES
933	in /boot/loader.conf
934	For Raspberry Pi 3 (RPI) users, this is needed even if you don't have
935	an screen connected as the firmware will setup a frame buffer are that
936	u-boot will expose as an EFI frame buffer.
937
93820180719:
939	New uid:gid added, ntpd:ntpd (123:123).  Be sure to run mergemaster
940	or take steps to update /etc/passwd before doing installworld on
941	existing systems.  Do not skip the "mergemaster -Fp" step before
942	installworld, as described in the update procedures near the bottom
943	of this document.  Also, rc.d/ntpd now starts ntpd(8) as user ntpd
944	if the new mac_ntpd(4) policy is available, unless ntpd_flags or
945	the ntp config file contain options that change file/dir locations.
946	When such options (e.g., "statsdir" or "crypto") are used, ntpd can
947	still be run as non-root by setting ntpd_user=ntpd in rc.conf, after
948	taking steps to ensure that all required files/dirs are accessible
949	by the ntpd user.
950
95120180717:
952	Big endian arm support has been removed.
953
95420180711:
955	The static environment setup in kernel configs is no longer mutually
956	exclusive with the loader(8) environment by default.  In order to
957	restore the previous default behavior of disabling the loader(8)
958	environment if a static environment is present, you must specify
959	loader_env.disabled=1 in the static environment.
960
96120180705:
962	The ABI of syscalls used by management tools like sockstat and
963	netstat has been broken to allow 32-bit binaries to work on
964	64-bit kernels without modification.  These programs will need
965	to match the kernel in order to function.  External programs may
966	require minor modifications to accommodate a change of type in
967	structures from pointers to 64-bit virtual addresses.
968
96920180702:
970	On i386 and amd64 atomics are now inlined. Out of tree modules using
971	atomics will need to be rebuilt.
972
97320180701:
974	The '%I' format in the kern.corefile sysctl limits the number of
975	core files that a process can generate to the number stored in the
976	debug.ncores sysctl. The '%I' format is replaced by the single digit
977	index. Previously, if all indexes were taken the kernel would overwrite
978	only a core file with the highest index in a filename.
979	Currently the system will create a new core file if there is a free
980	index or if all slots are taken it will overwrite the oldest one.
981
98220180630:
983	Clang, llvm, lld, lldb, compiler-rt and libc++ have been upgraded to
984	6.0.1.  Please see the 20141231 entry below for information about
985	prerequisites and upgrading, if you are not already using clang 3.5.0
986	or higher.
987
98820180628:
989	r335753 introduced a new quoting method. However, etc/devd/devmatch.conf
990	needed to be changed to work with it. This change was made with r335763
991	and requires a mergemaster / etcupdate / etc to update the installed
992	file.
993
99420180612:
995	r334930 changed the interface between the NFS modules, so they all
996	need to be rebuilt.  r335018 did a __FreeBSD_version bump for this.
997
99820180530:
999	As of r334391 lld is the default amd64 system linker; it is installed
1000	as /usr/bin/ld.  Kernel build workarounds (see 20180510 entry) are no
1001	longer necessary.
1002
100320180530:
1004	The kernel / userland interface for devinfo changed, so you'll
1005	need a new kernel and userland as a pair for it to work (rebuilding
1006	lib/libdevinfo is all that's required). devinfo and devmatch will
1007	not work, but everything else will when there's a mismatch.
1008
100920180523:
1010	The on-disk format for hwpmc callchain records has changed to include
1011	threadid corresponding to a given record. This changes the field offsets
1012	and thus requires that libpmcstat be rebuilt before using a kernel
1013	later than r334108.
1014
101520180517:
1016	The vxge(4) driver has been removed.  This driver was introduced into
1017	HEAD one week before the Exar left the Ethernet market and is not
1018	known to be used.  If you have device vxge in your kernel config file
1019	it must be removed.
1020
102120180510:
1022	The amd64 kernel now requires a ld that supports ifunc to produce a
1023	working kernel, either lld or a newer binutils. lld is built by default
1024	on amd64, and the 'buildkernel' target uses it automatically. However,
1025	it is not the default linker, so building the kernel the traditional
1026	way requires LD=ld.lld on the command line (or LD=/usr/local/bin/ld for
1027	binutils port/package). lld will soon be default, and this requirement
1028	will go away.
1029
1030	NOTE: As of r334391 lld is the default system linker on amd64, and no
1031	workaround is necessary.
1032
103320180508:
1034	The nxge(4) driver has been removed.  This driver was for PCI-X 10g
1035	cards made by s2io/Neterion.  The company was acquired by Exar and
1036	no longer sells or supports Ethernet products.  If you have device
1037	nxge in your kernel config file it must be removed.
1038
103920180504:
1040	The tz database (tzdb) has been updated to 2018e.  This version more
1041	correctly models time stamps in time zones with negative DST such as
1042	Europe/Dublin (from 1971 on), Europe/Prague (1946/7), and
1043	Africa/Windhoek (1994/2017).  This does not affect the UT offsets, only
1044	time zone abbreviations and the tm_isdst flag.
1045
104620180502:
1047	The ixgb(4) driver has been removed.  This driver was for an early and
1048	uncommon legacy PCI 10GbE for a single ASIC, Intel 82597EX. Intel
1049	quickly shifted to the long lived ixgbe family.  If you have device
1050	ixgb in your kernel config file it must be removed.
1051
105220180501:
1053	The lmc(4) driver has been removed.  This was a WAN interface
1054	card that was already reportedly rare in 2003, and had an ambiguous
1055	license.  If you have device lmc in your kernel config file it must
1056	be removed.
1057
105820180413:
1059	Support for Arcnet networks has been removed.  If you have device
1060	arcnet or device cm in your kernel config file they must be
1061	removed.
1062
106320180411:
1064	Support for FDDI networks has been removed.  If you have device
1065	fddi or device fpa in your kernel config file they must be
1066	removed.
1067
106820180406:
1069	In addition to supporting RFC 3164 formatted messages, the
1070	syslogd(8) service is now capable of parsing RFC 5424 formatted
1071	log messages. The main benefit of using RFC 5424 is that clients
1072	may now send log messages with timestamps containing year numbers,
1073	microseconds and time zone offsets.
1074
1075	Similarly, the syslog(3) C library function has been altered to
1076	send RFC 5424 formatted messages to the local system logging
1077	daemon. On systems using syslogd(8), this change should have no
1078	negative impact, as long as syslogd(8) and the C library are
1079	updated at the same time. On systems using a different system
1080	logging daemon, it may be necessary to make configuration
1081	adjustments, depending on the software used.
1082
1083	When using syslog-ng, add the 'syslog-protocol' flag to local
1084	input sources to enable parsing of RFC 5424 formatted messages:
1085
1086		source src {
1087			unix-dgram("/var/run/log" flags(syslog-protocol));
1088		}
1089
1090	When using rsyslog, disable the 'SysSock.UseSpecialParser' option
1091	of the 'imuxsock' module to let messages be processed by the
1092	regular RFC 3164/5424 parsing pipeline:
1093
1094		module(load="imuxsock" SysSock.UseSpecialParser="off")
1095
1096	Do note that these changes only affect communication between local
1097	applications and syslogd(8). The format that syslogd(8) uses to
1098	store messages on disk or forward messages to other systems
1099	remains unchanged. syslogd(8) still uses RFC 3164 for these
1100	purposes. Options to customize this behaviour will be added in the
1101	future. Utilities that process log files stored in /var/log are
1102	thus expected to continue to function as before.
1103
1104	__FreeBSD_version has been incremented to 1200061 to denote this
1105	change.
1106
110720180328:
1108	Support for token ring networks has been removed. If you
1109	have "device token" in your kernel config you should remove
1110	it. No device drivers supported token ring.
1111
111220180323:
1113	makefs was modified to be able to tag ISO9660 El Torito boot catalog
1114	entries as EFI instead of overloading the i386 tag as done previously.
1115	The amd64 mkisoimages.sh script used to build amd64 ISO images for
1116	release was updated to use this. This may mean that makefs must be
1117	updated before "make cdrom" can be run in the release directory. This
1118	should be as simple as:
1119
1120		$ cd $SRCDIR/usr.sbin/makefs
1121		$ make depend all install
1122
112320180212:
1124	FreeBSD boot loader enhanced with Lua scripting. It's purely opt-in for
1125	now by building WITH_LOADER_LUA and WITHOUT_FORTH in /etc/src.conf.
1126	Co-existence for the transition period will come shortly. Booting is a
1127	complex environment and test coverage for Lua-enabled loaders has been
1128	thin, so it would be prudent to assume it might not work and make
1129	provisions for backup boot methods.
1130
113120180211:
1132	devmatch functionality has been turned on in devd. It will automatically
1133	load drivers for unattached devices. This may cause unexpected drivers
1134	to be loaded. Please report any problems to current@ and
1135	imp@freebsd.org.
1136
113720180114:
1138	Clang, llvm, lld, lldb, compiler-rt and libc++ have been upgraded to
1139	6.0.0.  Please see the 20141231 entry below for information about
1140	prerequisites and upgrading, if you are not already using clang 3.5.0
1141	or higher.
1142
114320180110:
1144	LLVM's lld linker is now used as the FreeBSD/amd64 bootstrap linker.
1145	This means it is used to link the kernel and userland libraries and
1146	executables, but is not yet installed as /usr/bin/ld by default.
1147
1148	To revert to ld.bfd as the bootstrap linker, in /etc/src.conf set
1149	WITHOUT_LLD_BOOTSTRAP=yes
1150
115120180110:
1152	On i386, pmtimer has been removed. Its functionality has been folded
1153	into apm. It was a no-op on ACPI in current for a while now (but was
1154	still needed on i386 in FreeBSD 11 and earlier). Users may need to
1155	remove it from kernel config files.
1156
115720180104:
1158	The use of RSS hash from the network card aka flowid has been
1159	disabled by default for lagg(4) as it's currently incompatible with
1160	the lacp and loadbalance protocols.
1161
1162	This can be re-enabled by setting the following in loader.conf:
1163	net.link.lagg.default_use_flowid="1"
1164
116520180102:
1166	The SW_WATCHDOG option is no longer necessary to enable the
1167	hardclock-based software watchdog if no hardware watchdog is
1168	configured. As before, SW_WATCHDOG will cause the software
1169	watchdog to be enabled even if a hardware watchdog is configured.
1170
117120171215:
1172	r326887 fixes the issue described in the 20171214 UPDATING entry.
1173	r326888 flips the switch back to building GELI support always.
1174
117520171214:
1176	r362593 broke ZFS + GELI support for reasons unknown. However,
1177	it also broke ZFS support generally, so GELI has been turned off
1178	by default as the lesser evil in r326857. If you boot off ZFS and/or
1179	GELI, it might not be a good time to update.
1180
118120171125:
1182	PowerPC users must update loader(8) by rebuilding world before
1183	installing a new kernel, as the protocol connecting them has
1184	changed. Without the update, loader metadata will not be passed
1185	successfully to the kernel and users will have to enter their
1186	root partition at the kernel mountroot prompt to continue booting.
1187	Newer versions of loader can boot old kernels without issue.
1188
118920171110:
1190	The LOADER_FIREWIRE_SUPPORT build variable has been renamed to
1191	WITH/OUT_LOADER_FIREWIRE. LOADER_{NO_,}GELI_SUPPORT has been renamed
1192	to WITH/OUT_LOADER_GELI.
1193
119420171106:
1195	The naive and non-compliant support of posix_fallocate(2) in ZFS
1196	has been removed as of r325320.  The system call now returns EINVAL
1197	when used on a ZFS file.  Although the new behavior complies with the
1198	standard, some consumers are not prepared to cope with it.
1199	One known victim is lld prior to r325420.
1200
120120171102:
1202	Building in a FreeBSD src checkout will automatically create object
1203	directories now rather than store files in the current directory if
1204	'make obj' was not ran.  Calling 'make obj' is no longer necessary.
1205	This feature can be disabled by setting WITHOUT_AUTO_OBJ=yes in
1206	/etc/src-env.conf (not /etc/src.conf), or passing the option in the
1207	environment.
1208
120920171101:
1210	The default MAKEOBJDIR has changed from /usr/obj/<srcdir> for native
1211	builds, and /usr/obj/<arch>/<srcdir> for cross-builds, to a unified
1212	/usr/obj/<srcdir>/<arch>.  This behavior can be changed to the old
1213	format by setting WITHOUT_UNIFIED_OBJDIR=yes in /etc/src-env.conf,
1214	the environment, or with -DWITHOUT_UNIFIED_OBJDIR when building.
1215	The UNIFIED_OBJDIR option is a transitional feature that will be
1216	removed for 12.0 release; please migrate to the new format for any
1217	tools by looking up the OBJDIR used by 'make -V .OBJDIR' means rather
1218	than hardcoding paths.
1219
122020171028:
1221	The native-xtools target no longer installs the files by default to the
1222	OBJDIR.  Use the native-xtools-install target with a DESTDIR to install
1223	to ${DESTDIR}/${NXTP} where NXTP defaults to /nxb-bin.
1224
122520171021:
1226	As part of the boot loader infrastructure cleanup, LOADER_*_SUPPORT
1227	options are changing from controlling the build if defined / undefined
1228	to controlling the build with explicit 'yes' or 'no' values. They will
1229	shift to WITH/WITHOUT options to match other options in the system.
1230
123120171010:
1232	libstand has turned into a private library for sys/boot use only.
1233	It is no longer supported as a public interface outside of sys/boot.
1234
123520171005:
1236	The arm port has split armv6 into armv6 and armv7. armv7 is now
1237	a valid TARGET_ARCH/MACHINE_ARCH setting. If you have an armv7 system
1238	and are running a kernel from before r324363, you will need to add
1239	MACHINE_ARCH=armv7 to 'make buildworld' to do a native build.
1240
124120171003:
1242	When building multiple kernels using KERNCONF, non-existent KERNCONF
1243	files will produce an error and buildkernel will fail. Previously
1244	missing KERNCONF files silently failed giving no indication as to
1245	why, only to subsequently discover during installkernel that the
1246	desired kernel was never built in the first place.
1247
124820170912:
1249	The default serial number format for CTL LUNs has changed.  This will
1250	affect users who use /dev/diskid/* device nodes, or whose FibreChannel
1251	or iSCSI clients care about their LUNs' serial numbers.  Users who
1252	require serial number stability should hardcode serial numbers in
1253	/etc/ctl.conf .
1254
125520170912:
1256	For 32-bit arm compiled for hard-float support, soft-floating point
1257	binaries now always get their shared libraries from
1258	LD_SOFT_LIBRARY_PATH (in the past, this was only used if
1259	/usr/libsoft also existed). Only users with a hard-float ld.so, but
1260	soft-float everything else should be affected.
1261
126220170826:
1263	The geli password typed at boot is now hidden.  To restore the previous
1264	behavior, see geli(8) for configuration options.
1265
126620170825:
1267	Move PMTUD blackhole counters to TCPSTATS and remove them from bare
1268	sysctl values.  Minor nit, but requires a rebuild of both world/kernel
1269	to complete.
1270
127120170814:
1272	"make check" behavior (made in ^/head@r295380) has been changed to
1273	execute from a limited sandbox, as opposed to executing from
1274	${TESTSDIR}.
1275
1276	Behavioral changes:
1277	- The "beforecheck" and "aftercheck" targets are now specified.
1278	- ${CHECKDIR} (added in commit noted above) has been removed.
1279	- Legacy behavior can be enabled by setting
1280	  WITHOUT_MAKE_CHECK_USE_SANDBOX in src.conf(5) or the environment.
1281
1282	If the limited sandbox mode is enabled, "make check" will execute
1283	"make distribution", then install, execute the tests, and clean up the
1284	sandbox if successful.
1285
1286	The "make distribution" and "make install" targets are typically run as
1287	root to set appropriate permissions and ownership at installation time.
1288	The end-user should set "WITH_INSTALL_AS_USER" in src.conf(5) or the
1289	environment if executing "make check" with limited sandbox mode using
1290	an unprivileged user.
1291
129220170808:
1293	Since the switch to GPT disk labels, fsck for UFS/FFS has been
1294	unable to automatically find alternate superblocks. As of r322297,
1295	the information needed to find alternate superblocks has been
1296	moved to the end of the area reserved for the boot block.
1297	Filesystems created with a newfs of this vintage or later
1298	will create the recovery information. If you have a filesystem
1299	created prior to this change and wish to have a recovery block
1300	created for your filesystem, you can do so by running fsck in
1301	foreground mode (i.e., do not use the -p or -y options). As it
1302	starts, fsck will ask ``SAVE DATA TO FIND ALTERNATE SUPERBLOCKS''
1303	to which you should answer yes.
1304
130520170728:
1306	As of r321665, an NFSv4 server configuration that services
1307	Kerberos mounts or clients that do not support the uid/gid in
1308	owner/owner_group string capability, must explicitly enable
1309	the nfsuserd daemon by adding nfsuserd_enable="YES" to the
1310	machine's /etc/rc.conf file.
1311
131220170722:
1313	Clang, llvm, lldb, compiler-rt and libc++ have been upgraded to 5.0.0.
1314	Please see the 20141231 entry below for information about prerequisites
1315	and upgrading, if you are not already using clang 3.5.0 or higher.
1316
131720170701:
1318	WITHOUT_RCMDS is now the default. Set WITH_RCMDS if you need the
1319	r-commands (rlogin, rsh, etc.) to be built with the base system.
1320
132120170625:
1322	The FreeBSD/powerpc platform now uses a 64-bit type for time_t.  This is
1323	a very major ABI incompatible change, so users of FreeBSD/powerpc must
1324	be careful when performing source upgrades.  It is best to run
1325	'make installworld' from an alternate root system, either a live
1326	CD/memory stick, or a temporary root partition.  Additionally, all ports
1327	must be recompiled.  powerpc64 is largely unaffected, except in the case
1328	of 32-bit compatibility.  All 32-bit binaries will be affected.
1329
133020170623:
1331	Forward compatibility for the "ino64" project have been committed. This
1332	will allow most new binaries to run on older kernels in a limited
1333	fashion.  This prevents many of the common foot-shooting actions in the
1334	upgrade as well as the limited ability to roll back the kernel across
1335	the ino64 upgrade. Complicated use cases may not work properly, though
1336	enough simpler ones work to allow recovery in most situations.
1337
133820170620:
1339	Switch back to the BSDL dtc (Device Tree Compiler). Set WITH_GPL_DTC
1340	if you require the GPL compiler.
1341
134220170618:
1343	The internal ABI used for communication between the NFS kernel modules
1344	was changed by r320085, so __FreeBSD_version was bumped to
1345	ensure all the NFS related modules are updated together.
1346
134720170617:
1348	The ABI of struct event was changed by extending the data
1349	member to 64bit and adding ext fields.  For upgrade, same
1350	precautions as for the entry 20170523 "ino64" must be
1351	followed.
1352
135320170531:
1354	The GNU roff toolchain has been removed from base. To render manpages
1355	which are not supported by mandoc(1), man(1) can fallback on GNU roff
1356	from ports (and recommends to install it).
1357	To render roff(7) documents, consider using GNU roff from ports or the
1358	heirloom doctools roff toolchain from ports via pkg install groff or
1359	via pkg install heirloom-doctools.
1360
136120170524:
1362	The ath(4) and ath_hal(4) modules now build piecemeal to allow for
1363	smaller runtime footprint builds.  This is useful for embedded systems
1364	which only require one chipset support.
1365
1366	If you load it as a module, make sure this is in /boot/loader.conf:
1367
1368	if_ath_load="YES"
1369
1370	This will load the HAL, all chip/RF backends and if_ath_pci.
1371	If you have if_ath_pci in /boot/loader.conf, ensure it is after
1372	if_ath or it will not load any HAL chipset support.
1373
1374	If you want to selectively load things (eg on cheaper ARM/MIPS
1375	platforms where RAM is at a premium) you should:
1376
1377	* load ath_hal
1378	* load the chip modules in question
1379	* load ath_rate, ath_dfs
1380	* load ath_main
1381	* load if_ath_pci and/or if_ath_ahb depending upon your particular
1382	  bus bind type - this is where probe/attach is done.
1383
1384	For further comments/feedback, poke adrian@ .
1385
138620170523:
1387	The "ino64" 64-bit inode project has been committed, which extends
1388	a number of types to 64 bits.  Upgrading in place requires care and
1389	adherence to the documented upgrade procedure.
1390
1391	If using a custom kernel configuration ensure that the
1392	COMPAT_FREEBSD11 option is included (as during the upgrade the
1393	system will be running the ino64 kernel with the existing world).
1394
1395	For the safest in-place upgrade begin by removing previous build
1396	artifacts via "rm -rf /usr/obj/*".  Then, carefully follow the full
1397	procedure documented below under the heading "To rebuild everything and
1398	install it on the current system."  Specifically, a reboot is required
1399	after installing the new kernel before installing world. While an
1400	installworld normally works by accident from multiuser after rebooting
1401	the proper kernel, there are many cases where this will fail across this
1402	upgrade and installworld from single user is required.
1403
140420170424:
1405	The NATM framework including the en(4), fatm(4), hatm(4), and
1406	patm(4) devices has been removed.  Consumers should plan a
1407	migration before the end-of-life date for FreeBSD 11.
1408
140920170420:
1410	GNU diff has been replaced by a BSD licensed diff. Some features of GNU
1411	diff has not been implemented, if those are needed a newer version of
1412	GNU diff is available via the diffutils package under the gdiff name.
1413
141420170413:
1415	As of r316810 for ipfilter, keep frags is no longer assumed when
1416	keep state is specified in a rule. r316810 aligns ipfilter with
1417	documentation in man pages separating keep frags from keep state.
1418	This allows keep state to be specified without forcing keep frags
1419	and allows keep frags to be specified independently of keep state.
1420	To maintain previous behaviour, also specify keep frags with
1421	keep state (as documented in ipf.conf.5).
1422
142320170407:
1424	arm64 builds now use the base system LLD 4.0.0 linker by default,
1425	instead of requiring that the aarch64-binutils port or package be
1426	installed. To continue using aarch64-binutils, set
1427	CROSS_BINUTILS_PREFIX=/usr/local/aarch64-freebsd/bin .
1428
142920170405:
1430	The UDP optimization in entry 20160818 that added the sysctl
1431	net.inet.udp.require_l2_bcast has been reverted.  L2 broadcast
1432	packets will no longer be treated as L3 broadcast packets.
1433
143420170331:
1435	Binds and sends to the loopback addresses, IPv6 and IPv4, will now
1436	use any explicitly assigned loopback address available in the jail
1437	instead of using the first assigned address of the jail.
1438
143920170329:
1440	The ctl.ko module no longer implements the iSCSI target frontend:
1441	cfiscsi.ko does instead.
1442
1443	If building cfiscsi.ko as a kernel module, the module can be loaded
1444	via one of the following methods:
1445	- `cfiscsi_load="YES"` in loader.conf(5).
1446	- Add `cfiscsi` to `$kld_list` in rc.conf(5).
1447	- ctladm(8)/ctld(8), when compiled with iSCSI support
1448	  (`WITH_ISCSI=yes` in src.conf(5))
1449
1450	Please see cfiscsi(4) for more details.
1451
145220170316:
1453	The mmcsd.ko module now additionally depends on geom_flashmap.ko.
1454	Also, mmc.ko and mmcsd.ko need to be a matching pair built from the
1455	same source (previously, the dependency of mmcsd.ko on mmc.ko was
1456	missing, but mmcsd.ko now will refuse to load if it is incompatible
1457	with mmc.ko).
1458
145920170315:
1460	The syntax of ipfw(8) named states was changed to avoid ambiguity.
1461	If you have used named states in the firewall rules, you need to modify
1462	them after installworld and before rebooting. Now named states must
1463	be prefixed with colon.
1464
146520170311:
1466	The old drm (sys/dev/drm/) drivers for i915 and radeon have been
1467	removed as the userland we provide cannot use them. The KMS version
1468	(sys/dev/drm2) supports the same hardware.
1469
147020170302:
1471	Clang, llvm, lldb, compiler-rt and libc++ have been upgraded to 4.0.0.
1472	Please see the 20141231 entry below for information about prerequisites
1473	and upgrading, if you are not already using clang 3.5.0 or higher.
1474
147520170221:
1476	The code that provides support for ZFS .zfs/ directory functionality
1477	has been reimplemented.  It's not possible now to create a snapshot
1478	by mkdir under .zfs/snapshot/.  That should be the only user visible
1479	change.
1480
148120170216:
1482	EISA bus support has been removed. The WITH_EISA option is no longer
1483	valid.
1484
148520170215:
1486	MCA bus support has been removed.
1487
148820170127:
1489	The WITH_LLD_AS_LD / WITHOUT_LLD_AS_LD build knobs have been renamed
1490	WITH_LLD_IS_LD / WITHOUT_LLD_IS_LD, for consistency with CLANG_IS_CC.
1491
149220170112:
1493	The EM_MULTIQUEUE kernel configuration option is deprecated now that
1494	the em(4) driver conforms to iflib specifications.
1495
149620170109:
1497	The igb(4), em(4) and lem(4) ethernet drivers are now implemented via
1498	IFLIB.  If you have a custom kernel configuration that excludes em(4)
1499	but you use igb(4), you need to re-add em(4) to your custom
1500	configuration.
1501
150220161217:
1503	Clang, llvm, lldb, compiler-rt and libc++ have been upgraded to 3.9.1.
1504	Please see the 20141231 entry below for information about prerequisites
1505	and upgrading, if you are not already using clang 3.5.0 or higher.
1506
150720161124:
1508	Clang, llvm, lldb, compiler-rt and libc++ have been upgraded to 3.9.0.
1509	Please see the 20141231 entry below for information about prerequisites
1510	and upgrading, if you are not already using clang 3.5.0 or higher.
1511
151220161119:
1513	The layout of the pmap structure has changed for powerpc to put the pmap
1514	statistics at the front for all CPU variations.  libkvm(3) and all tools
1515	that link against it need to be recompiled.
1516
151720161030:
1518	isl(4) and cyapa(4) drivers now require a new driver,
1519	chromebook_platform(4), to work properly on Chromebook-class hardware.
1520	On other types of hardware the drivers may need to be configured using
1521	device hints.  Please see the corresponding manual pages for details.
1522
152320161017:
1524	The urtwn(4) driver was merged into rtwn(4) and now consists of
1525	rtwn(4) main module + rtwn_usb(4) and rtwn_pci(4) bus-specific
1526	parts.
1527	Also, firmware for RTL8188CE was renamed due to possible name
1528	conflict (rtwnrtl8192cU(B) -> rtwnrtl8192cE(B))
1529
153020161015:
1531	GNU rcs has been removed from base.  It is available as packages:
1532	- rcs: Latest GPLv3 GNU rcs version.
1533	- rcs57: Copy of the latest version of GNU rcs (GPLv2) before it was
1534	removed from base.
1535
153620161008:
1537	Use of the cc_cdg, cc_chd, cc_hd, or cc_vegas congestion control
1538	modules now requires that the kernel configuration contain the
1539	TCP_HHOOK option. (This option is included in the GENERIC kernel.)
1540
154120161003:
1542	The WITHOUT_ELFCOPY_AS_OBJCOPY src.conf(5) knob has been retired.
1543	ELF Tool Chain's elfcopy is always installed as /usr/bin/objcopy.
1544
154520160924:
1546	Relocatable object files with the extension of .So have been renamed
1547	to use an extension of .pico instead.  The purpose of this change is
1548	to avoid a name clash with shared libraries on case-insensitive file
1549	systems.  On those file systems, foo.So is the same file as foo.so.
1550
155120160918:
1552	GNU rcs has been turned off by default.  It can (temporarily) be built
1553	again by adding WITH_RCS knob in src.conf.
1554	Otherwise, GNU rcs is available from packages:
1555	- rcs: Latest GPLv3 GNU rcs version.
1556	- rcs57: Copy of the latest version of GNU rcs (GPLv2) from base.
1557
155820160918:
1559	The backup_uses_rcs functionality has been removed from rc.subr.
1560
156120160908:
1562	The queue(3) debugging macro, QUEUE_MACRO_DEBUG, has been split into
1563	two separate components, QUEUE_MACRO_DEBUG_TRACE and
1564	QUEUE_MACRO_DEBUG_TRASH.  Define both for the original
1565	QUEUE_MACRO_DEBUG behavior.
1566
156720160824:
1568	r304787 changed some ioctl interfaces between the iSCSI userspace
1569	programs and the kernel.  ctladm, ctld, iscsictl, and iscsid must be
1570	rebuilt to work with new kernels.  __FreeBSD_version has been bumped
1571	to 1200005.
1572
157320160818:
1574	The UDP receive code has been updated to only treat incoming UDP
1575	packets that were addressed to an L2 broadcast address as L3
1576	broadcast packets.  It is not expected that this will affect any
1577	standards-conforming UDP application.  The new behaviour can be
1578	disabled by setting the sysctl net.inet.udp.require_l2_bcast to
1579	0.
1580
158120160818:
1582	Remove the openbsd_poll system call.
1583	__FreeBSD_version has been bumped because of this.
1584
158520160708:
1586	The stable/11 branch has been created from head@r302406.
1587
158820160622:
1589	The libc stub for the pipe(2) system call has been replaced with
1590	a wrapper that calls the pipe2(2) system call and the pipe(2)
1591	system call is now only implemented by the kernels that include
1592	"options COMPAT_FREEBSD10" in their config file (this is the
1593	default).  Users should ensure that this option is enabled in
1594	their kernel or upgrade userspace to r302092 before upgrading their
1595	kernel.
1596
159720160527:
1598	CAM now strips the leading spaces from each SCSI disk's serial number.
1599	This will affect users who create UFS filesystems on SCSI disks using
1600	those disk's diskid device nodes.  For example, if /etc/fstab
1601	previously contained a line like
1602	"/dev/diskid/DISK-%20%20%20%20%20%20%20ABCDEFG0123456", you should
1603	change it to "/dev/diskid/DISK-ABCDEFG0123456".  Users of geom
1604	transforms like gmirror may also be affected.  ZFS users should
1605	generally be fine.
1606
160720160523:
1608	The bitstring(3) API has been updated with new functionality and
1609	improved performance.  But it is binary-incompatible with the old API.
1610	Objects built with the new headers may not be linked against objects
1611	built with the old headers.
1612
161320160520:
1614	The brk and sbrk functions have been removed from libc on arm64.
1615	Binutils from ports has been updated to not link to these
1616	functions and should be updated to the latest version before
1617	installing a new libc.
1618
161920160517:
1620	The armv6 port now defaults to hard float ABI. Limited support
1621	for running both hardfloat and soft float on the same system
1622	is available using the libraries installed with -DWITH_LIBSOFT.
1623	This has only been tested as an upgrade path for installworld
1624	and packages may fail or need manual intervention to run. New
1625	packages will be needed.
1626
1627	To update an existing self-hosted armv6hf system, you must add
1628	TARGET_ARCH=armv6 on the make command line for both the build
1629	and the install steps.
1630
163120160510:
1632	Kernel modules compiled outside of a kernel build now default to
1633	installing to /boot/modules instead of /boot/kernel.  Many kernel
1634	modules built this way (such as those in ports) already overrode
1635	KMODDIR explicitly to install into /boot/modules.  However,
1636	manually building and installing a module from /sys/modules will
1637	now install to /boot/modules instead of /boot/kernel.
1638
163920160414:
1640	The CAM I/O scheduler has been committed to the kernel. There should be
1641	no user visible impact. This does enable NCQ Trim on ada SSDs. While the
1642	list of known rogues that claim support for this but actually corrupt
1643	data is believed to be complete, be on the lookout for data
1644	corruption. The known rogue list is believed to be complete:
1645
1646		o Crucial MX100, M550 drives with MU01 firmware.
1647		o Micron M510 and M550 drives with MU01 firmware.
1648		o Micron M500 prior to MU07 firmware
1649		o Samsung 830, 840, and 850 all firmwares
1650		o FCCT M500 all firmwares
1651
1652	Crucial has firmware http://www.crucial.com/usa/en/support-ssd-firmware
1653	with working NCQ TRIM. For Micron branded drives, see your sales rep for
1654	updated firmware. Black listed drives will work correctly because these
1655	drives work correctly so long as no NCQ TRIMs are sent to them. Given
1656	this list is the same as found in Linux, it's believed there are no
1657	other rogues in the market place. All other models from the above
1658	vendors work.
1659
1660	To be safe, if you are at all concerned, you can quirk each of your
1661	drives to prevent NCQ from being sent by setting:
1662		kern.cam.ada.X.quirks="0x2"
1663	in loader.conf. If the drive requires the 4k sector quirk, set the
1664	quirks entry to 0x3.
1665
166620160330:
1667	The FAST_DEPEND build option has been removed and its functionality is
1668	now the one true way.  The old mkdep(1) style of 'make depend' has
1669	been removed.  See 20160311 for further details.
1670
167120160317:
1672	Resource range types have grown from unsigned long to uintmax_t.  All
1673	drivers, and anything using libdevinfo, need to be recompiled.
1674
167520160311:
1676	WITH_FAST_DEPEND is now enabled by default for in-tree and out-of-tree
1677	builds.  It no longer runs mkdep(1) during 'make depend', and the
1678	'make depend' stage can safely be skipped now as it is auto ran
1679	when building 'make all' and will generate all SRCS and DPSRCS before
1680	building anything else.  Dependencies are gathered at compile time with
1681	-MF flags kept in separate .depend files per object file.  Users should
1682	run 'make cleandepend' once if using -DNO_CLEAN to clean out older
1683	stale .depend files.
1684
168520160306:
1686	On amd64, clang 3.8.0 can now insert sections of type AMD64_UNWIND into
1687	kernel modules.  Therefore, if you load any kernel modules at boot time,
1688	please install the boot loaders after you install the kernel, but before
1689	rebooting, e.g.:
1690
1691	make buildworld
1692	make buildkernel KERNCONF=YOUR_KERNEL_HERE
1693	make installkernel KERNCONF=YOUR_KERNEL_HERE
1694	make -C sys/boot install
1695	<reboot in single user>
1696
1697	Then follow the usual steps, described in the General Notes section,
1698	below.
1699
170020160305:
1701	Clang, llvm, lldb and compiler-rt have been upgraded to 3.8.0.  Please
1702	see the 20141231 entry below for information about prerequisites and
1703	upgrading, if you are not already using clang 3.5.0 or higher.
1704
170520160301:
1706	The AIO subsystem is now a standard part of the kernel.  The
1707	VFS_AIO kernel option and aio.ko kernel module have been removed.
1708	Due to stability concerns, asynchronous I/O requests are only
1709	permitted on sockets and raw disks by default.  To enable
1710	asynchronous I/O requests on all file types, set the
1711	vfs.aio.enable_unsafe sysctl to a non-zero value.
1712
171320160226:
1714	The ELF object manipulation tool objcopy is now provided by the
1715	ELF Tool Chain project rather than by GNU binutils. It should be a
1716	drop-in replacement, with the addition of arm64 support. The
1717	(temporary) src.conf knob WITHOUT_ELFCOPY_AS_OBJCOPY knob may be set
1718	to obtain the GNU version if necessary.
1719
172020160129:
1721	Building ZFS pools on top of zvols is prohibited by default.  That
1722	feature has never worked safely; it's always been prone to deadlocks.
1723	Using a zvol as the backing store for a VM guest's virtual disk will
1724	still work, even if the guest is using ZFS.  Legacy behavior can be
1725	restored by setting vfs.zfs.vol.recursive=1.
1726
172720160119:
1728	The NONE and HPN patches has been removed from OpenSSH.  They are
1729	still available in the security/openssh-portable port.
1730
173120160113:
1732	With the addition of ypldap(8), a new _ypldap user is now required
1733	during installworld. "mergemaster -p" can be used to add the user
1734	prior to installworld, as documented in the handbook.
1735
173620151216:
1737	The tftp loader (pxeboot) now uses the option root-path directive. As a
1738	consequence it no longer looks for a pxeboot.4th file on the tftp
1739	server. Instead it uses the regular /boot infrastructure as with the
1740	other loaders.
1741
174220151211:
1743	The code to start recording plug and play data into the modules has
1744	been committed. While the old tools will properly build a new kernel,
1745	a number of warnings about "unknown metadata record 4" will be produced
1746	for an older kldxref. To avoid such warnings, make sure to rebuild
1747	the kernel toolchain (or world). Make sure that you have r292078 or
1748	later when trying to build 292077 or later before rebuilding.
1749
175020151207:
1751	Debug data files are now built by default with 'make buildworld' and
1752	installed with 'make installworld'. This facilitates debugging but
1753	requires more disk space both during the build and for the installed
1754	world. Debug files may be disabled by setting WITHOUT_DEBUG_FILES=yes
1755	in src.conf(5).
1756
175720151130:
1758	r291527 changed the internal interface between the nfsd.ko and
1759	nfscommon.ko modules. As such, they must both be upgraded to-gether.
1760	__FreeBSD_version has been bumped because of this.
1761
176220151108:
1763	Add support for unicode collation strings leads to a change of
1764	order of files listed by ls(1) for example. To get back to the old
1765	behaviour, set LC_COLLATE environment variable to "C".
1766
1767	Databases administrators will need to reindex their databases given
1768	collation results will be different.
1769
1770	Due to a bug in install(1) it is recommended to remove the ancient
1771	locales before running make installworld.
1772
1773	rm -rf /usr/share/locale/*
1774
177520151030:
1776	The OpenSSL has been upgraded to 1.0.2d.  Any binaries requiring
1777	libcrypto.so.7 or libssl.so.7 must be recompiled.
1778
177920151020:
1780	Qlogic 24xx/25xx firmware images were updated from 5.5.0 to 7.3.0.
1781	Kernel modules isp_2400_multi and isp_2500_multi were removed and
1782	should be replaced with isp_2400 and isp_2500 modules respectively.
1783
178420151017:
1785	The build previously allowed using 'make -n' to not recurse into
1786	sub-directories while showing what commands would be executed, and
1787	'make -n -n' to recursively show commands.  Now 'make -n' will recurse
1788	and 'make -N' will not.
1789
179020151012:
1791	If you specify SENDMAIL_MC or SENDMAIL_CF in make.conf, mergemaster
1792	and etcupdate will now use this file. A custom sendmail.cf is now
1793	updated via this mechanism rather than via installworld.  If you had
1794	excluded sendmail.cf in mergemaster.rc or etcupdate.conf, you may
1795	want to remove the exclusion or change it to "always install".
1796	/etc/mail/sendmail.cf is now managed the same way regardless of
1797	whether SENDMAIL_MC/SENDMAIL_CF is used.  If you are not using
1798	SENDMAIL_MC/SENDMAIL_CF there should be no change in behavior.
1799
180020151011:
1801	Compatibility shims for legacy ATA device names have been removed.
1802	It includes ATA_STATIC_ID kernel option, kern.cam.ada.legacy_aliases
1803	and kern.geom.raid.legacy_aliases loader tunables, kern.devalias.*
1804	environment variables, /dev/ad* and /dev/ar* symbolic links.
1805
180620151006:
1807	Clang, llvm, lldb, compiler-rt and libc++ have been upgraded to 3.7.0.
1808	Please see the 20141231 entry below for information about prerequisites
1809	and upgrading, if you are not already using clang 3.5.0 or higher.
1810
181120150924:
1812	Kernel debug files have been moved to /usr/lib/debug/boot/kernel/,
1813	and renamed from .symbols to .debug. This reduces the size requirements
1814	on the boot partition or file system and provides consistency with
1815	userland debug files.
1816
1817	When using the supported kernel installation method the
1818	/usr/lib/debug/boot/kernel directory will be renamed (to kernel.old)
1819	as is done with /boot/kernel.
1820
1821	Developers wishing to maintain the historical behavior of installing
1822	debug files in /boot/kernel/ can set KERN_DEBUGDIR="" in src.conf(5).
1823
182420150827:
1825	The wireless drivers had undergone changes that remove the 'parent
1826	interface' from the ifconfig -l output. The rc.d network scripts
1827	used to check presence of a parent interface in the list, so old
1828	scripts would fail to start wireless networking. Thus, etcupdate(3)
1829	or mergemaster(8) run is required after kernel update, to update your
1830	rc.d scripts in /etc.
1831
183220150827:
1833	pf no longer supports 'scrub fragment crop' or 'scrub fragment drop-ovl'
1834	These configurations are now automatically interpreted as
1835	'scrub fragment reassemble'.
1836
183720150817:
1838	Kernel-loadable modules for the random(4) device are back. To use
1839	them, the kernel must have
1840
1841	device	random
1842	options	RANDOM_LOADABLE
1843
1844	kldload(8) can then be used to load random_fortuna.ko
1845	or random_yarrow.ko. Please note that due to the indirect
1846	function calls that the loadable modules need to provide,
1847	the build-in variants will be slightly more efficient.
1848
1849	The random(4) kernel option RANDOM_DUMMY has been retired due to
1850	unpopularity. It was not all that useful anyway.
1851
185220150813:
1853	The WITHOUT_ELFTOOLCHAIN_TOOLS src.conf(5) knob has been retired.
1854	Control over building the ELF Tool Chain tools is now provided by
1855	the WITHOUT_TOOLCHAIN knob.
1856
185720150810:
1858	The polarity of Pulse Per Second (PPS) capture events with the
1859	uart(4) driver has been corrected.  Prior to this change the PPS
1860	"assert" event corresponded to the trailing edge of a positive PPS
1861	pulse and the "clear" event was the leading edge of the next pulse.
1862
1863	As the width of a PPS pulse in a typical GPS receiver is on the
1864	order of 1 millisecond, most users will not notice any significant
1865	difference with this change.
1866
1867	Anyone who has compensated for the historical polarity reversal by
1868	configuring a negative offset equal to the pulse width will need to
1869	remove that workaround.
1870
187120150809:
1872	The default group assigned to /dev/dri entries has been changed
1873	from 'wheel' to 'video' with the id of '44'. If you want to have
1874	access to the dri devices please add yourself to the video group
1875	with:
1876
1877	# pw groupmod video -m $USER
1878
187920150806:
1880	The menu.rc and loader.rc files will now be replaced during
1881	upgrades. Please migrate local changes to menu.rc.local and
1882	loader.rc.local instead.
1883
188420150805:
1885	GNU Binutils versions of addr2line, c++filt, nm, readelf, size,
1886	strings and strip have been removed. The src.conf(5) knob
1887	WITHOUT_ELFTOOLCHAIN_TOOLS no longer provides the binutils tools.
1888
188920150728:
1890	As ZFS requires more kernel stack pages than is the default on some
1891	architectures e.g. i386, it now warns if KSTACK_PAGES is less than
1892	ZFS_MIN_KSTACK_PAGES (which is 4 at the time of writing).
1893
1894	Please consider using 'options KSTACK_PAGES=X' where X is greater
1895	than or equal to ZFS_MIN_KSTACK_PAGES i.e. 4 in such configurations.
1896
189720150706:
1898	sendmail has been updated to 8.15.2.  Starting with FreeBSD 11.0
1899	and sendmail 8.15, sendmail uses uncompressed IPv6 addresses by
1900	default, i.e., they will not contain "::".  For example, instead
1901	of ::1, it will be 0:0:0:0:0:0:0:1.  This permits a zero subnet
1902	to have a more specific match, such as different map entries for
1903	IPv6:0:0 vs IPv6:0.  This change requires that configuration
1904	data (including maps, files, classes, custom ruleset, etc.) must
1905	use the same format, so make certain such configuration data is
1906	upgrading.  As a very simple check search for patterns like
1907	'IPv6:[0-9a-fA-F:]*::' and 'IPv6::'.  To return to the old
1908	behavior, set the m4 option confUSE_COMPRESSED_IPV6_ADDRESSES or
1909	the cf option UseCompressedIPv6Addresses.
1910
191120150630:
1912	The default kernel entropy-processing algorithm is now
1913	Fortuna, replacing Yarrow.
1914
1915	Assuming you have 'device random' in your kernel config
1916	file, the configurations allow a kernel option to override
1917	this default. You may choose *ONE* of:
1918
1919	options	RANDOM_YARROW	# Legacy /dev/random algorithm.
1920	options	RANDOM_DUMMY	# Blocking-only driver.
1921
1922	If you have neither, you get Fortuna.  For most people,
1923	read no further, Fortuna will give a /dev/random that works
1924	like it always used to, and the difference will be irrelevant.
1925
1926	If you remove 'device random', you get *NO* kernel-processed
1927	entropy at all. This may be acceptable to folks building
1928	embedded systems, but has complications. Carry on reading,
1929	and it is assumed you know what you need.
1930
1931	*PLEASE* read random(4) and random(9) if you are in the
1932	habit of tweaking kernel configs, and/or if you are a member
1933	of the embedded community, wanting specific and not-usual
1934	behaviour from your security subsystems.
1935
1936	NOTE!! If you use RANDOM_DUMMY and/or have no 'device
1937	random', you will NOT have a functioning /dev/random, and
1938	many cryptographic features will not work, including SSH.
1939	You may also find strange behaviour from the random(3) set
1940	of library functions, in particular sranddev(3), srandomdev(3)
1941	and arc4random(3). The reason for this is that the KERN_ARND
1942	sysctl only returns entropy if it thinks it has some to
1943	share, and with RANDOM_DUMMY or no 'device random' this
1944	will never happen.
1945
194620150623:
1947	An additional fix for the issue described in the 20150614 sendmail
1948	entry below has been committed in revision 284717.
1949
195020150616:
1951	FreeBSD's old make (fmake) has been removed from the system. It is
1952	available as the devel/fmake port or via pkg install fmake.
1953
195420150615:
1955	The fix for the issue described in the 20150614 sendmail entry
1956	below has been committed in revision 284436.  The work
1957	around described in that entry is no longer needed unless the
1958	default setting is overridden by a confDH_PARAMETERS configuration
1959	setting of '5' or pointing to a 512 bit DH parameter file.
1960
196120150614:
1962	ALLOW_DEPRECATED_ATF_TOOLS/ATFFILE support has been removed from
1963	atf.test.mk (included from bsd.test.mk). Please upgrade devel/atf
1964	and devel/kyua to version 0.20+ and adjust any calling code to work
1965	with Kyuafile and kyua.
1966
196720150614:
1968	The import of openssl to address the FreeBSD-SA-15:10.openssl
1969	security advisory includes a change which rejects handshakes
1970	with DH parameters below 768 bits.  sendmail releases prior
1971	to 8.15.2 (not yet released), defaulted to a 512 bit
1972	DH parameter setting for client connections.  To work around
1973	this interoperability, sendmail can be configured to use a
1974	2048 bit DH parameter by:
1975
1976	1. Edit /etc/mail/`hostname`.mc
1977	2. If a setting for confDH_PARAMETERS does not exist or
1978	   exists and is set to a string beginning with '5',
1979	   replace it with '2'.
1980	3. If a setting for confDH_PARAMETERS exists and is set to
1981	   a file path, create a new file with:
1982		openssl dhparam -out /path/to/file 2048
1983	4. Rebuild the .cf file:
1984		cd /etc/mail/; make; make install
1985	5. Restart sendmail:
1986		cd /etc/mail/; make restart
1987
1988	A sendmail patch is coming, at which time this file will be
1989	updated.
1990
199120150604:
1992	Generation of legacy formatted entries have been disabled by default
1993	in pwd_mkdb(8), as all base system consumers of the legacy formatted
1994	entries were converted to use the new format by default when the new,
1995	machine independent format have been added and supported since FreeBSD
1996	5.x.
1997
1998	Please see the pwd_mkdb(8) manual page for further details.
1999
200020150525:
2001	Clang and llvm have been upgraded to 3.6.1 release.  Please see the
2002	20141231 entry below for information about prerequisites and upgrading,
2003	if you are not already using 3.5.0 or higher.
2004
200520150521:
2006	TI platform code switched to using vendor DTS files and this update
2007	may break existing systems running on Beaglebone, Beaglebone Black,
2008	and Pandaboard:
2009
2010	- dtb files should be regenerated/reinstalled. Filenames are the
2011	  same but content is different now
2012	- GPIO addressing was changed, now each GPIO bank (32 pins per bank)
2013	  has its own /dev/gpiocX device, e.g. pin 121 on /dev/gpioc0 in old
2014	  addressing scheme is now pin 25 on /dev/gpioc3.
2015	- Pandaboard: /etc/ttys should be updated, serial console device is
2016	  now /dev/ttyu2, not /dev/ttyu0
2017
201820150501:
2019	soelim(1) from gnu/usr.bin/groff has been replaced by usr.bin/soelim.
2020	If you need the GNU extension from groff soelim(1), install groff
2021	from package: pkg install groff, or via ports: textproc/groff.
2022
202320150423:
2024	chmod, chflags, chown and chgrp now affect symlinks in -R mode as
2025	defined in symlink(7); previously symlinks were silently ignored.
2026
202720150415:
2028	The const qualifier has been removed from iconv(3) to comply with
2029	POSIX.  The ports tree is aware of this from r384038 onwards.
2030
203120150416:
2032	Libraries specified by LIBADD in Makefiles must have a corresponding
2033	DPADD_<lib> variable to ensure correct dependencies.  This is now
2034	enforced in src.libnames.mk.
2035
203620150324:
2037	From legacy ata(4) driver was removed support for SATA controllers
2038	supported by more functional drivers ahci(4), siis(4) and mvs(4).
2039	Kernel modules ataahci and ataadaptec were removed completely,
2040	replaced by ahci and mvs modules respectively.
2041
204220150315:
2043	Clang, llvm and lldb have been upgraded to 3.6.0 release.  Please see
2044	the 20141231 entry below for information about prerequisites and
2045	upgrading, if you are not already using 3.5.0 or higher.
2046
204720150307:
2048	The 32-bit PowerPC kernel has been changed to a position-independent
2049	executable. This can only be booted with a version of loader(8)
2050	newer than January 31, 2015, so make sure to update both world and
2051	kernel before rebooting.
2052
205320150217:
2054	If you are running a -CURRENT kernel since r273872 (Oct 30th, 2014),
2055	but before r278950, the RNG was not seeded properly.  Immediately
2056	upgrade the kernel to r278950 or later and regenerate any keys (e.g.
2057	ssh keys or openssl keys) that were generated w/ a kernel from that
2058	range.  This does not affect programs that directly used /dev/random
2059	or /dev/urandom.  All userland uses of arc4random(3) are affected.
2060
206120150210:
2062	The autofs(4) ABI was changed in order to restore binary compatibility
2063	with 10.1-RELEASE.  The automountd(8) daemon needs to be rebuilt to work
2064	with the new kernel.
2065
206620150131:
2067	The powerpc64 kernel has been changed to a position-independent
2068	executable. This can only be booted with a new version of loader(8),
2069	so make sure to update both world and kernel before rebooting.
2070
207120150118:
2072	Clang and llvm have been upgraded to 3.5.1 release.  This is a bugfix
2073	only release, no new features have been added.  Please see the 20141231
2074	entry below for information about prerequisites and upgrading, if you
2075	are not already using 3.5.0.
2076
207720150107:
2078	ELF tools addr2line, elfcopy (strip), nm, size, and strings are now
2079	taken from the ELF Tool Chain project rather than GNU binutils. They
2080	should be drop-in replacements, with the addition of arm64 support.
2081	The WITHOUT_ELFTOOLCHAIN_TOOLS= knob may be used to obtain the
2082	binutils tools, if necessary. See 20150805 for updated information.
2083
208420150105:
2085	The default Unbound configuration now enables remote control
2086	using a local socket.  Users who have already enabled the
2087	local_unbound service should regenerate their configuration
2088	by running "service local_unbound setup" as root.
2089
209020150102:
2091	The GNU texinfo and GNU info pages have been removed.
2092	To be able to view GNU info pages please install texinfo from ports.
2093
209420141231:
2095	Clang, llvm and lldb have been upgraded to 3.5.0 release.
2096
2097	As of this release, a prerequisite for building clang, llvm and lldb is
2098	a C++11 capable compiler and C++11 standard library.  This means that to
2099	be able to successfully build the cross-tools stage of buildworld, with
2100	clang as the bootstrap compiler, your system compiler or cross compiler
2101	should either be clang 3.3 or later, or gcc 4.8 or later, and your
2102	system C++ library should be libc++, or libdstdc++ from gcc 4.8 or
2103	later.
2104
2105	On any standard FreeBSD 10.x or 11.x installation, where clang and
2106	libc++ are on by default (that is, on x86 or arm), this should work out
2107	of the box.
2108
2109	On 9.x installations where clang is enabled by default, e.g. on x86 and
2110	powerpc, libc++ will not be enabled by default, so libc++ should be
2111	built (with clang) and installed first.  If both clang and libc++ are
2112	missing, build clang first, then use it to build libc++.
2113
2114	On 8.x and earlier installations, upgrade to 9.x first, and then follow
2115	the instructions for 9.x above.
2116
2117	Sparc64 and mips users are unaffected, as they still use gcc 4.2.1 by
2118	default, and do not build clang.
2119
2120	Many embedded systems are resource constrained, and will not be able to
2121	build clang in a reasonable time, or in some cases at all.  In those
2122	cases, cross building bootable systems on amd64 is a workaround.
2123
2124	This new version of clang introduces a number of new warnings, of which
2125	the following are most likely to appear:
2126
2127	-Wabsolute-value
2128
2129	This warns in two cases, for both C and C++:
2130	* When the code is trying to take the absolute value of an unsigned
2131	  quantity, which is effectively a no-op, and almost never what was
2132	  intended.  The code should be fixed, if at all possible.  If you are
2133	  sure that the unsigned quantity can be safely cast to signed, without
2134	  loss of information or undefined behavior, you can add an explicit
2135	  cast, or disable the warning.
2136
2137	* When the code is trying to take an absolute value, but the called
2138	  abs() variant is for the wrong type, which can lead to truncation.
2139	  If you want to disable the warning instead of fixing the code, please
2140	  make sure that truncation will not occur, or it might lead to unwanted
2141	  side-effects.
2142
2143	-Wtautological-undefined-compare and
2144	-Wundefined-bool-conversion
2145
2146	These warn when C++ code is trying to compare 'this' against NULL, while
2147	'this' should never be NULL in well-defined C++ code.  However, there is
2148	some legacy (pre C++11) code out there, which actively abuses this
2149	feature, which was less strictly defined in previous C++ versions.
2150
2151	Squid and openjdk do this, for example.  The warning can be turned off
2152	for C++98 and earlier, but compiling the code in C++11 mode might result
2153	in unexpected behavior; for example, the parts of the program that are
2154	unreachable could be optimized away.
2155
215620141222:
2157	The old NFS client and server (kernel options NFSCLIENT, NFSSERVER)
2158	kernel sources have been removed. The .h files remain, since some
2159	utilities include them. This will need to be fixed later.
2160	If "mount -t oldnfs ..." is attempted, it will fail.
2161	If the "-o" option on mountd(8), nfsd(8) or nfsstat(1) is used,
2162	the utilities will report errors.
2163
216420141121:
2165	The handling of LOCAL_LIB_DIRS has been altered to skip addition of
2166	directories to top level SUBDIR variable when their parent
2167	directory is included in LOCAL_DIRS.  Users with build systems with
2168	such hierarchies and without SUBDIR entries in the parent
2169	directory Makefiles should add them or add the directories to
2170	LOCAL_DIRS.
2171
217220141109:
2173	faith(4) and faithd(8) have been removed from the base system. Faith
2174	has been obsolete for a very long time.
2175
217620141104:
2177	vt(4), the new console driver, is enabled by default. It brings
2178	support for Unicode and double-width characters, as well as
2179	support for UEFI and integration with the KMS kernel video
2180	drivers.
2181
2182	You may need to update your console settings in /etc/rc.conf,
2183	most probably the keymap. During boot, /etc/rc.d/syscons will
2184	indicate what you need to do.
2185
2186	vt(4) still has issues and lacks some features compared to
2187	syscons(4). See the wiki for up-to-date information:
2188	  https://wiki.freebsd.org/Newcons
2189
2190	If you want to keep using syscons(4), you can do so by adding
2191	the following line to /boot/loader.conf:
2192	  kern.vty=sc
2193
219420141102:
2195	pjdfstest has been integrated into kyua as an opt-in test suite.
2196	Please see share/doc/pjdfstest/README for more details on how to
2197	execute it.
2198
219920141009:
2200	gperf has been removed from the base system for architectures
2201	that use clang. Ports that require gperf will obtain it from the
2202	devel/gperf port.
2203
220420140923:
2205	pjdfstest has been moved from tools/regression/pjdfstest to
2206	contrib/pjdfstest .
2207
220820140922:
2209	At svn r271982, The default linux compat kernel ABI has been adjusted
2210	to 2.6.18 in support of the linux-c6 compat ports infrastructure
2211	update.  If you wish to continue using the linux-f10 compat ports,
2212	add compat.linux.osrelease=2.6.16 to your local sysctl.conf.  Users are
2213	encouraged to update their linux-compat packages to linux-c6 during
2214	their next update cycle.
2215
221620140729:
2217	The ofwfb driver, used to provide a graphics console on PowerPC when
2218	using vt(4), no longer allows mmap() of all physical memory. This
2219	will prevent Xorg on PowerPC with some ATI graphics cards from
2220	initializing properly unless x11-servers/xorg-server is updated to
2221	1.12.4_8 or newer.
2222
222320140723:
2224	The xdev targets have been converted to using TARGET and
2225	TARGET_ARCH instead of XDEV and XDEV_ARCH.
2226
222720140719:
2228	The default unbound configuration has been modified to address
2229	issues with reverse lookups on networks that use private
2230	address ranges.  If you use the local_unbound service, run
2231	"service local_unbound setup" as root to regenerate your
2232	configuration, then "service local_unbound reload" to load the
2233	new configuration.
2234
223520140709:
2236	The GNU texinfo and GNU info pages are not built and installed
2237	anymore, WITH_INFO knob has been added to allow to built and install
2238	them again.
2239	UPDATE: see 20150102 entry on texinfo's removal
2240
224120140708:
2242	The GNU readline library is now an INTERNALLIB - that is, it is
2243	statically linked into consumers (GDB and variants) in the base
2244	system, and the shared library is no longer installed.  The
2245	devel/readline port is available for third party software that
2246	requires readline.
2247
224820140702:
2249	The Itanium architecture (ia64) has been removed from the list of
2250	known architectures. This is the first step in the removal of the
2251	architecture.
2252
225320140701:
2254	Commit r268115 has added NFSv4.1 server support, merged from
2255	projects/nfsv4.1-server.  Since this includes changes to the
2256	internal interfaces between the NFS related modules, a full
2257	build of the kernel and modules will be necessary.
2258	__FreeBSD_version has been bumped.
2259
226020140629:
2261	The WITHOUT_VT_SUPPORT kernel config knob has been renamed
2262	WITHOUT_VT.  (The other _SUPPORT knobs have a consistent meaning
2263	which differs from the behaviour controlled by this knob.)
2264
226520140619:
2266	Maximal length of the serial number in CTL was increased from 16 to
2267	64 chars, that breaks ABI.  All CTL-related tools, such as ctladm
2268	and ctld, need to be rebuilt to work with a new kernel.
2269
227020140606:
2271	The libatf-c and libatf-c++ major versions were downgraded to 0 and
2272	1 respectively to match the upstream numbers.  They were out of
2273	sync because, when they were originally added to FreeBSD, the
2274	upstream versions were not respected.  These libraries are private
2275	and not yet built by default, so renumbering them should be a
2276	non-issue.  However, unclean source trees will yield broken test
2277	programs once the operator executes "make delete-old-libs" after a
2278	"make installworld".
2279
2280	Additionally, the atf-sh binary was made private by moving it into
2281	/usr/libexec/.  Already-built shell test programs will keep the
2282	path to the old binary so they will break after "make delete-old"
2283	is run.
2284
2285	If you are using WITH_TESTS=yes (not the default), wipe the object
2286	tree and rebuild from scratch to prevent spurious test failures.
2287	This is only needed once: the misnumbered libraries and misplaced
2288	binaries have been added to OptionalObsoleteFiles.inc so they will
2289	be removed during a clean upgrade.
2290
229120140512:
2292	Clang and llvm have been upgraded to 3.4.1 release.
2293
229420140508:
2295	We bogusly installed src.opts.mk in /usr/share/mk. This file should
2296	be removed to avoid issues in the future (and has been added to
2297	ObsoleteFiles.inc).
2298
229920140505:
2300	/etc/src.conf now affects only builds of the FreeBSD src tree. In the
2301	past, it affected all builds that used the bsd.*.mk files. The old
2302	behavior was a bug, but people may have relied upon it. To get this
2303	behavior back, you can .include /etc/src.conf from /etc/make.conf
2304	(which is still global and isn't changed). This also changes the
2305	behavior of incremental builds inside the tree of individual
2306	directories. Set MAKESYSPATH to ".../share/mk" to do that.
2307	Although this has survived make universe and some upgrade scenarios,
2308	other upgrade scenarios may have broken. At least one form of
2309	temporary breakage was fixed with MAKESYSPATH settings for buildworld
2310	as well... In cases where MAKESYSPATH isn't working with this
2311	setting, you'll need to set it to the full path to your tree.
2312
2313	One side effect of all this cleaning up is that bsd.compiler.mk
2314	is no longer implicitly included by bsd.own.mk. If you wish to
2315	use COMPILER_TYPE, you must now explicitly include bsd.compiler.mk
2316	as well.
2317
231820140430:
2319	The lindev device has been removed since /dev/full has been made a
2320	standard device.  __FreeBSD_version has been bumped.
2321
232220140424:
2323	The knob WITHOUT_VI was added to the base system, which controls
2324	building ex(1), vi(1), etc. Older releases of FreeBSD required ex(1)
2325	in order to reorder files share/termcap and didn't build ex(1) as a
2326	build tool, so building/installing with WITH_VI is highly advised for
2327	build hosts for older releases.
2328
2329	This issue has been fixed in stable/9 and stable/10 in r277022 and
2330	r276991, respectively.
2331
233220140418:
2333	The YES_HESIOD knob has been removed. It has been obsolete for
2334	a decade. Please move to using WITH_HESIOD instead or your builds
2335	will silently lack HESIOD.
2336
233720140405:
2338	The uart(4) driver has been changed with respect to its handling
2339	of the low-level console. Previously the uart(4) driver prevented
2340	any process from changing the baudrate or the CLOCAL and HUPCL
2341	control flags. By removing the restrictions, operators can make
2342	changes to the serial console port without having to reboot.
2343	However, when getty(8) is started on the serial device that is
2344	associated with the low-level console, a misconfigured terminal
2345	line in /etc/ttys will now have a real impact.
2346	Before upgrading the kernel, make sure that /etc/ttys has the
2347	serial console device configured as 3wire without baudrate to
2348	preserve the previous behaviour. E.g:
2349	    ttyu0  "/usr/libexec/getty 3wire"  vt100  on  secure
2350
235120140306:
2352	Support for libwrap (TCP wrappers) in rpcbind was disabled by default
2353	to improve performance.  To re-enable it, if needed, run rpcbind
2354	with command line option -W.
2355
235620140226:
2357	Switched back to the GPL dtc compiler due to updates in the upstream
2358	dts files not being supported by the BSDL dtc compiler. You will need
2359	to rebuild your kernel toolchain to pick up the new compiler. Core dumps
2360	may result while building dtb files during a kernel build if you fail
2361	to do so. Set WITHOUT_GPL_DTC if you require the BSDL compiler.
2362
236320140216:
2364	Clang and llvm have been upgraded to 3.4 release.
2365
236620140216:
2367	The nve(4) driver has been removed.  Please use the nfe(4) driver
2368	for NVIDIA nForce MCP Ethernet adapters instead.
2369
237020140212:
2371	An ABI incompatibility crept into the libc++ 3.4 import in r261283.
2372	This could cause certain C++ applications using shared libraries built
2373	against the previous version of libc++ to crash.  The incompatibility
2374	has now been fixed, but any C++ applications or shared libraries built
2375	between r261283 and r261801 should be recompiled.
2376
237720140204:
2378	OpenSSH will now ignore errors caused by kernel lacking of Capsicum
2379	capability mode support.  Please note that enabling the feature in
2380	kernel is still highly recommended.
2381
238220140131:
2383	OpenSSH is now built with sandbox support, and will use sandbox as
2384	the default privilege separation method.  This requires Capsicum
2385	capability mode support in kernel.
2386
238720140128:
2388	The libelf and libdwarf libraries have been updated to newer
2389	versions from upstream. Shared library version numbers for
2390	these two libraries were bumped. Any ports or binaries
2391	requiring these two libraries should be recompiled.
2392	__FreeBSD_version is bumped to 1100006.
2393
239420140110:
2395	If a Makefile in a tests/ directory was auto-generating a Kyuafile
2396	instead of providing an explicit one, this would prevent such
2397	Makefile from providing its own Kyuafile in the future during
2398	NO_CLEAN builds.  This has been fixed in the Makefiles but manual
2399	intervention is needed to clean an objdir if you use NO_CLEAN:
2400	  # find /usr/obj -name Kyuafile | xargs rm -f
2401
240220131213:
2403	The behavior of gss_pseudo_random() for the krb5 mechanism
2404	has changed, for applications requesting a longer random string
2405	than produced by the underlying enctype's pseudo-random() function.
2406	In particular, the random string produced from a session key of
2407	enctype aes256-cts-hmac-sha1-96 or aes256-cts-hmac-sha1-96 will
2408	be different at the 17th octet and later, after this change.
2409	The counter used in the PRF+ construction is now encoded as a
2410	big-endian integer in accordance with RFC 4402.
2411	__FreeBSD_version is bumped to 1100004.
2412
241320131108:
2414	The WITHOUT_ATF build knob has been removed and its functionality
2415	has been subsumed into the more generic WITHOUT_TESTS.  If you were
2416	using the former to disable the build of the ATF libraries, you
2417	should change your settings to use the latter.
2418
241920131025:
2420	The default version of mtree is nmtree which is obtained from
2421	NetBSD.  The output is generally the same, but may vary
2422	slightly.  If you found you need identical output adding
2423	"-F freebsd9" to the command line should do the trick.  For the
2424	time being, the old mtree is available as fmtree.
2425
242620131014:
2427	libbsdyml has been renamed to libyaml and moved to /usr/lib/private.
2428	This will break ports-mgmt/pkg. Rebuild the port, or upgrade to pkg
2429	1.1.4_8 and verify bsdyml not linked in, before running "make
2430	delete-old-libs":
2431	  # make -C /usr/ports/ports-mgmt/pkg build deinstall install clean
2432	  or
2433	  # pkg install pkg; ldd /usr/local/sbin/pkg | grep bsdyml
2434
243520131010:
2436	The stable/10 branch has been created in subversion from head
2437	revision r256279.
2438
2439COMMON ITEMS:
2440
2441	General Notes
2442	-------------
2443	Sometimes, obscure build problems are the result of environment
2444	poisoning.  This can happen because the make utility reads its
2445	environment when searching for values for global variables.  To run
2446	your build attempts in an "environmental clean room", prefix all make
2447	commands with 'env -i '.  See the env(1) manual page for more details.
2448	Occasionally a build failure will occur with "make -j" due to a race
2449	condition.  If this happens try building again without -j, and please
2450	report a bug if it happens consistently.
2451
2452	When upgrading from one major version to another it is generally best to
2453	upgrade to the latest code in the currently installed branch first, then
2454	do an upgrade to the new branch. This is the best-tested upgrade path,
2455	and has the highest probability of being successful.  Please try this
2456	approach if you encounter problems with a major version upgrade.  Since
2457	the stable 4.x branch point, one has generally been able to upgrade from
2458	anywhere in the most recent stable branch to head / current (or even the
2459	last couple of stable branches). See the top of this file when there's
2460	an exception.
2461
2462	The update process will emit an error on an attempt to perform a build
2463	or install from a FreeBSD version below the earliest supported version.
2464	When updating from an older version the update should be performed one
2465	major release at a time, including running `make delete-old` at each
2466	step.
2467
2468	When upgrading a live system, having a root shell around before
2469	installing anything can help undo problems. Not having a root shell
2470	around can lead to problems if pam has changed too much from your
2471	starting point to allow continued authentication after the upgrade.
2472
2473	This file should be read as a log of events. When a later event changes
2474	information of a prior event, the prior event should not be deleted.
2475	Instead, a pointer to the entry with the new information should be
2476	placed in the old entry. Readers of this file should also sanity check
2477	older entries before relying on them blindly. Authors of new entries
2478	should write them with this in mind.
2479
2480	ZFS notes
2481	---------
2482	When upgrading the boot ZFS pool to a new version, always follow
2483	these two steps:
2484
2485	1.) recompile and reinstall the ZFS boot loader and boot block
2486	(this is part of "make buildworld" and "make installworld")
2487
2488	2.) update the ZFS boot block on your boot drive
2489
2490	The following example updates the ZFS boot block on the
2491	freebsd-boot partition of a GPT partitioned drive ada0:
2492	"gpart bootcode -p /boot/gptzfsboot -i $N ada0"
2493	The value $N will typically be 1 (if booting from BIOS) or 2 (if
2494	booting from EFI).
2495
2496	Non-boot pools do not need these updates.
2497
2498	To build a kernel
2499	-----------------
2500	If you are updating from a prior version of FreeBSD (even one just
2501	a few days old), you should follow this procedure.  It is the most
2502	failsafe as it uses a /usr/obj tree with a fresh mini-buildworld,
2503
2504	make kernel-toolchain
2505	make -DALWAYS_CHECK_MAKE buildkernel KERNCONF=YOUR_KERNEL_HERE
2506	make -DALWAYS_CHECK_MAKE installkernel KERNCONF=YOUR_KERNEL_HERE
2507
2508	To test a kernel once
2509	---------------------
2510	If you just want to boot a kernel once (because you are not sure
2511	if it works, or if you want to boot a known bad kernel to provide
2512	debugging information) run
2513	make installkernel KERNCONF=YOUR_KERNEL_HERE KODIR=/boot/testkernel
2514	nextboot -k testkernel
2515
2516	To rebuild everything and install it on the current system.
2517	-----------------------------------------------------------
2518	# Note: sometimes if you are running current you gotta do more than
2519	# is listed here if you are upgrading from a really old current.
2520
2521	<make sure you have good level 0 dumps>
2522	make buildworld
2523	make buildkernel KERNCONF=YOUR_KERNEL_HERE
2524	make installkernel KERNCONF=YOUR_KERNEL_HERE
2525							[1]
2526	<reboot in single user>				[3]
2527	etcupdate -p					[5]
2528	make installworld
2529	etcupdate -B					[4]
2530	make delete-old					[6]
2531	<reboot>
2532
2533	To cross-install current onto a separate partition
2534	--------------------------------------------------
2535	# In this approach we use a separate partition to hold
2536	# current's root, 'usr', and 'var' directories.   A partition
2537	# holding "/", "/usr" and "/var" should be about 2GB in
2538	# size.
2539
2540	<make sure you have good level 0 dumps>
2541	<boot into -stable>
2542	make buildworld
2543	make buildkernel KERNCONF=YOUR_KERNEL_HERE
2544	<maybe newfs current's root partition>
2545	<mount current's root partition on directory ${CURRENT_ROOT}>
2546	make installworld DESTDIR=${CURRENT_ROOT} -DDB_FROM_SRC
2547	make distribution DESTDIR=${CURRENT_ROOT} # if newfs'd
2548	make installkernel KERNCONF=YOUR_KERNEL_HERE DESTDIR=${CURRENT_ROOT}
2549	cp /etc/fstab ${CURRENT_ROOT}/etc/fstab 		   # if newfs'd
2550	<edit ${CURRENT_ROOT}/etc/fstab to mount "/" from the correct partition>
2551	<reboot into current>
2552	<do a "native" rebuild/install as described in the previous section>
2553	<maybe install compatibility libraries from ports/misc/compat*>
2554	<reboot>
2555
2556
2557	To upgrade in-place from stable to current
2558	----------------------------------------------
2559	<make sure you have good level 0 dumps>
2560	make buildworld					[9]
2561	make buildkernel KERNCONF=YOUR_KERNEL_HERE	[8]
2562	make installkernel KERNCONF=YOUR_KERNEL_HERE
2563							[1]
2564	<reboot in single user>				[3]
2565	etcupdate -p					[5]
2566	make installworld
2567	etcupdate -B					[4]
2568	make delete-old					[6]
2569	<reboot>
2570
2571	Make sure that you've read the UPDATING file to understand the
2572	tweaks to various things you need.  At this point in the life
2573	cycle of current, things change often and you are on your own
2574	to cope.  The defaults can also change, so please read ALL of
2575	the UPDATING entries.
2576
2577	Also, if you are tracking -current, you must be subscribed to
2578	freebsd-current@freebsd.org.  Make sure that before you update
2579	your sources that you have read and understood all the recent
2580	messages there.  If in doubt, please track -stable which has
2581	much fewer pitfalls.
2582
2583	[1] If you have third party modules, such as vmware, you should disable
2584	them at this point so they don't crash your system on
2585	reboot. Alternatively, you should rebuild all the modules you have in
2586	your system and install them as well.  If you are running -current, you
2587	should seriously consider placing all sources to all the modules for
2588	your system (or symlinks to them) in /usr/local/sys/modules so this
2589	happens automatically. If all your modules come from ports, then adding
2590	the port origin directories to PORTS_MODULES instead is also automatic
2591	and effective, eg:
2592	     PORTS_MODULES+=x11/nvidia-driver
2593
2594	[3] From the bootblocks, boot -s, and then do
2595		fsck -p
2596		mount -u /
2597		mount -a
2598		sh /etc/rc.d/zfs start	# mount zfs filesystem, if needed
2599		cd src			# full path to source
2600		adjkerntz -i		# if CMOS is wall time
2601	Also, when doing a major release upgrade, it is required that you boot
2602	into single user mode to do the installworld.
2603
2604	[4] Note: This step is non-optional.  Failure to do this step
2605	can result in a significant reduction in the functionality of the
2606	system.  Attempting to do it by hand is not recommended and those
2607	that pursue this avenue should read this file carefully, as well
2608	as the archives of freebsd-current and freebsd-hackers mailing lists
2609	for potential gotchas.  See etcupdate(8) for more information.
2610
2611	[5] Usually this step is a no-op.  However, from time to time
2612	you may need to do this if you get unknown user in the following
2613	step.
2614
2615	[6] This only deletes old files and directories. Old libraries
2616	can be deleted by "make delete-old-libs", but you have to make
2617	sure that no program is using those libraries anymore.
2618
2619	[8] The new kernel must be able to run existing binaries used by an
2620	installworld.  When upgrading across major versions, the new kernel's
2621	configuration must include the correct COMPAT_FREEBSD<n> option for
2622	existing binaries (e.g. COMPAT_FREEBSD11 to run 11.x binaries).  Failure
2623	to do so may leave you with a system that is hard to boot to recover. A
2624	GENERIC kernel will include suitable compatibility options to run
2625	binaries from older branches.  Note that the ability to run binaries
2626	from unsupported branches is not guaranteed.
2627
2628	Make sure that you merge any new devices from GENERIC since the
2629	last time you updated your kernel config file. Options also
2630	change over time, so you may need to adjust your custom kernels
2631	for these as well.
2632
2633	[9] If CPUTYPE is defined in your /etc/make.conf, make sure to use the
2634	"?=" instead of the "=" assignment operator, so that buildworld can
2635	override the CPUTYPE if it needs to.
2636
2637	MAKEOBJDIRPREFIX must be defined in an environment variable, and
2638	not on the command line, or in /etc/make.conf.  buildworld will
2639	warn if it is improperly defined.
2640FORMAT:
2641
2642This file contains a list, in reverse chronological order, of major
2643breakages in tracking -current.  It is not guaranteed to be a complete
2644list of such breakages, and only contains entries since September 23, 2011.
2645If you need to see UPDATING entries from before that date, you will need
2646to fetch an UPDATING file from an older FreeBSD release.
2647
2648Copyright information:
2649
2650Copyright 1998-2009 M. Warner Losh <imp@FreeBSD.org>
2651
2652Redistribution, publication, translation and use, with or without
2653modification, in full or in part, in any form or format of this
2654document are permitted without further permission from the author.
2655
2656THIS DOCUMENT IS PROVIDED BY WARNER LOSH ``AS IS'' AND ANY EXPRESS OR
2657IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
2658WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
2659DISCLAIMED.  IN NO EVENT SHALL WARNER LOSH BE LIABLE FOR ANY DIRECT,
2660INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
2661(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
2662SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2663HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
2664STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
2665IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2666POSSIBILITY OF SUCH DAMAGE.
2667
2668Contact Warner Losh if you have any questions about your use of
2669this document.
2670
2671$FreeBSD$
2672