1Updating Information for users of FreeBSD stable/14. 2 3This file is maintained and copyrighted by M. Warner Losh <[email protected]>. 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 1520250410: 16 14.2-RELEASE-p3 EN-25:04.tzdata 17 EN-25:05.expat 18 EN-25:06.daemon 19 EN-25:07.openssl 20 EN-25:08.caroot 21 22 Timezone database information update [EN-25:04.tzdata] 23 24 Update expat to 2.7.1 [EN-25:05.expat] 25 26 daemon(8) missing signals [EN-25:06.daemon] 27 28 Update OpenSSL to 3.0.16 [EN-25:07.openssl] 29 30 Root certificate bundle update [EN-25:08.caroot] 31 3220250221: 33 14.2-RELEASE-p2 SA-25:05.openssh 34 35 Multiple vulnerabilities in OpenSSH [SA-25:05.openssh] 36 3720250129: 38 14.2-RELEASE-p1 SA-25:02.fs 39 SA-25:03.etcupdate 40 SA-25:04.ktrace 41 EN-25:02.audit 42 EN-25:03.tzdata 43 44 Buffer overflow in some filesystems via NFS [SA-25:02.fs] 45 46 Unprivileged access to system files [SA-25:03.etcupdate] 47 48 Uninitialized kernel memory disclosure via ktrace(2) [SA-25:04.ktrace] 49 50 System call auditing disabled by DTrace [EN-25:02.audit] 51 52 Timezone database information update [EN-25:03.tzdata] 53 5420241203: 55 14.2-RELEASE. 56 5720240419: 58 Clang, llvm, lld, lldb, compiler-rt, libc++, libunwind and openmp have 59 been upgraded to 18.1.6. It is important that you run `make delete-old` 60 as described in the COMMON ITEMS section, otherwise several libc++ 61 headers that are obsolete and need to be removed can cause compilation 62 errors in C++ programs. 63 6420240415: 65 MFC e0f3dc82727f: If you have an arm64 system that uses ACPI, you will 66 need to update your loader.efi in the ESP when you update past this 67 point. Detection of ACPI was moved earlier in the binary so the scripts 68 could use it, but old binaries don't have this, so we default to 'no 69 ACPI' in this case. 70 7120240218: 72 MFC of 713db49d06de changed 'struct ieee80211vap' internals in net80211. 73 Given we do not have enough spares and the struct is allocated by 74 drivers, all wireless drivers have to be recompiled. 75 __FreeBSD_version is updated to 1400509 to track this change. 76 7720240207: 78 sendmail 8.18.1 has been imported and merged. This version enforces 79 stricter RFC compliance by default, especially with respect to line 80 endings. This may cause issues with receiving messages from 81 non-compliant MTAs; please see the first 8.18.1 release note in 82 contrib/sendmail/RELEASE_NOTES for mitigations. 83 8420240202: 85 Loader now also read configuration files listed in local_loader_conf_files. 86 Files listed here are the last ones read. And /boot/loader.conf.local was 87 moved from loader_conf_files to local_loader_conf_files leaving only 88 loader.conf and device.hints in loader_conf_files by default. 89 90 The following sequencing is applied: 91 92 1. Bootstrap: 93 /boot/defaults/loader.conf 94 95 2. Read loader_conf_files files: 96 /boot/device.hints 97 /boot/loader.conf 98 99 3. Read loader_conf_dirs files: 100 /boot/loader.conf.d/*.conf 101 102 4. And finally, rread local_loader_conf_files files: 103 /boot/loader.conf.local 104 10520240119: 106 Commit d34f4baaf138 changed the internal interface between 107 the nfscommon and nfscl modules. As such, both need to be 108 rebuilt from sources. Therefore, bump __FreeBSD_version 109 to 1400506. 110 11120231229: 112 Commit 925d9b3abac2 modified the internal API between 113 the nfscommon and nfscl modules. 114 As such, both of these modules need to be rebuilt from 115 sources. Therefore, the __FreeBSD_version has been bumped 116 to 1400503. 117 11820231224: 119 Commits acc704b36192 and b8e137d8d32d both modified the 120 internal API between the kgssapi and krpc modules. 121 As such, both of these modules need to be rebuilt from 122 sources. 123 As such, __FreeBSD_version has been bumped to 1400502. 124 12520231113: 126 The WITHOUT_LLD_IS_LD option has been removed. When LLD is enabled 127 it is always installed as /usr/bin/ld. 128 12920230924: 130 Enable splitting out pkgbase manpages into separate packages by 131 default. To disable this, set WITHOUT_MANSPLITPKG=yes in src.conf. 132 133 13420230924: 135 Move standard include files to the clibs-dev package and move clang 136 internal libraries and headers to clang and clang-dev. Upgrading systems 137 installed using pkgbase past this change involves extra steps to allow 138 for these file moves: 139 140 pkg upgrade -y FreeBSD-utilities 141 pkg upgrade -y FreeBSD-utilities-dev 142 pkg upgrade -y 143 14420230824: 145 __FreeBSD_version 1400097 after the branching stable/14 from main. 146 14720230817: 148 Serial communication (in boot loaders, kernel, and userland) has 149 been changed to default to 115200 bps, in line with common industry 150 practice and typcial firmware serial console redirection 151 configuration. 152 153 Note that the early x86 BIOS bootloader (i.e., boot0sio) does not 154 support rates above 9600 bps and is not changed. boot0sio users may 155 set BOOT_COMCONSOLE_SPEED=9600 to use 9600 for all of the boot 156 components, or use the standard boot0 and have the boot2 stage start 157 with the serial port at 115200. 158 15920230807: 160 Following the general removal of MIPS support, the ath(4) AHB bus- 161 frontend has been removed, too, and building of the PCI support is 162 integrated with the ath(4) main module again. As a result, there's 163 no longer a need for if_ath_pci_load="YES" in /boot/loader.conf or 164 "device ath_pci" in the kernel configuration. 165 16620230803: 167 MAXCPU has been increased to 1024 in the amd64 GENERIC kernel config. 168 Out-of-tree kernel modules will need to be rebuilt. 169 17020230724: 171 CAM has been mechanically updated s/u_int(64|32|16|8)_t/uint\1_t/g 172 to move to the standard uintXX_t types from the old, traditional 173 BSD u_intXX_t types. This should be a NOP, but may cause problems 174 for out of tree changes. The SIMs were not updated since most of 175 the old u_intXX_t uses weren't due to CAM interfaces. 176 17720230629: 178 The heuristic for detecting old chromebooks with an EC bug that requires 179 atkbdc driver workarounds has changed. There should be no functional 180 change, but if your old chromebook's keyboard stops working, please 181 file a PR and assign it to imp. 182 18320230623: 184 OpenSSL has been updated to version 3.0, including changes throughout 185 the base system. It is important to rebuild third-party software 186 after upgrading. 187 18820230619: 189 To enable pf rdr rules for connections initiated from the host, pf 190 filter rules can be optionally enabled for packets delivered 191 locally. This can change the behavior of rules which match packets 192 delivered to lo0. To enable this feature: 193 194 sysctl net.pf.filter_local=1 195 service pf restart 196 197 When enabled, its best to ensure that packets delivered locally are not 198 filtered, e.g. by adding a 'skip on lo' rule. 199 20020230613: 201 Improvements to libtacplus(8) mean that tacplus.conf(5) now 202 follows POSIX shell syntax rules. This may cause TACACS+ 203 authentication to fail if the shared secret contains a single 204 quote, double quote, or backslash character which isn't 205 already properly quoted or escaped. 206 20720230612: 208 Belatedly switch the default nvme block device on x86 from nvd to nda. 209 nda created nvd compatibility links by default, so this should be a 210 nop. If this causes problems for your application, set hw.nvme.use_nvd=1 211 in your loader.conf or add `options NVME_USE_NVD=1` to your kernel 212 config. To disable the nvd compatibility aliases, add 213 kern.cam.nda.nvd_compat=0 to loader.conf. The default has been nda on 214 all non-x86 platforms for some time now. If you need to fall back, 215 please email [email protected] about why. 216 217 Encrypted swap partitions need to be changed from nvd to nda if you 218 migrate, or you need to use the above to switch back to nvd. 219 22020230422: 221 Remove portsnap(8). Users are encouraged to obtain the ports tree 222 using git instead. 223 22420230420: 225 Add jobs.mk to save typing. Enables -j${JOB_MAX} and logging 226 eg. 227 make buildworld-jobs 228 runs 229 make -j${JOB_MAX} buildworld > ../buildworld.log 2>&1 230 231 where JOB_MAX is derrived from ncpus in local.sys.mk if not set in env. 232 23320230316: 234 Video related devices for some arm devices have been renamed. 235 If you have a custom kernel config and want to use hdmi output on 236 IMX6 board you need to add "device dwc_hdmi" "device imx6_hdmi" and 237 "device imx6_ipu" to it. 238 If you have a custom kernel config and want to use hdmi output on 239 TI AM335X board you need to add "device tda19988" to it. 240 If you add "device hdmi" in it you need to remove it as it doesn't 241 exist anymore. 242 24320230221: 244 Introduce new kernel options KBD_DELAY1 and KBD_DELAY2. See atkbdc(4) 245 for details. 246 24720230206: 248 sshd now defaults to having X11Forwarding disabled, following upstream. 249 Administrators who wish to enable X11Forwarding should add 250 `X11Forwarding yes` to /etc/ssh/sshd_config. 251 25220230204: 253 Since commit 75d41cb6967 Huawei 3G/4G LTE Mobile Devices do not default 254 to ECM, but NCM mode and need u3g and ucom modules loaded. See cdce(4). 255 25620230130: 257 As of commit 7c40e2d5f685, the dependency on netlink(4) has been added 258 to the linux_common(4) module. Users relying on linux_common may need 259 to complile netlink(4) module if it is not present in their kernel. 260 26120230126: 262 The WITHOUT_CXX option has been removed. C++ components in the base 263 system are now built unconditionally. 264 26520230113: 266 LinuxKPI pci.h changes may require out-of-tree drivers to be recompiled. 267 Bump _FreeBSD_version to 1400078 to be able to detect this change. 268 26920221212: 270 llvm-objump is now always installed as objdump. Previously there was 271 no /usr/bin/objdump unless the WITH_LLVM_BINUTILS knob was used. 272 273 Some LLVM objdump options have a different output format compared to 274 GNU objdump; readelf is available for inspecting ELF files, and GNU 275 objdump is available from the devel/binutils port or package. 276 27720221205: 278 dma(8) has replaced sendmail(8) as the default mta. For people willing 279 to reenable sendmail(8): 280 281 $ cp /usr/share/examples/sendmail/mailer.conf /etc/mail/mailer.conf 282 283 and add sendmail_enable="YES" to rc.conf. 284 28520221204: 286 hw.bus.disable_failed_devices has changed from 'false' to 'true' by 287 default. Now if newbus succeeds in probing a device, but fails to attach 288 the device, we'll disable the device. In the past, we'd keep retrying 289 the device on each new driver loaded. To get that behavior now, one 290 needs to use devctl to re-enable the device, and reprobe it (or set 291 the sysctl/tunable hw.bus.disable_failed_devices=false). 292 293 NOTE: This was reverted 20221205 due to unexpected compatibility issues 294 29520221122: 296 pf no longer accepts 'scrub fragment crop' or 'scrub fragment drop-ovl'. 297 These configurations are no longer automatically reinterpreted as 298 'scrub fragment reassemble'. 299 30020221121: 301 The WITHOUT_CLANG_IS_CC option has been removed. When Clang is enabled 302 it is always installed as /usr/bin/cc (and c++, cpp). 303 30420221026: 305 Some programs have been moved into separate packages. It is recommended 306 for pkgbase users to do: 307 308 pkg install FreeBSD-dhclient FreeBSD-geom FreeBSD-resolvconf \ 309 FreeBSD-devd FreeBSD-devmatch 310 311 after upgrading to restore all the component that were previously 312 installed. 313 31420221002: 315 OPIE has been removed from the base system. If needed, it can 316 be installed from ports (security/opie) or packages (opie). 317 Otherwise, make sure that your PAM policies do not reference 318 pam_opie or pam_opieaccess. 319 32020220610: 321 LinuxKPI pm.h changes require an update to the latest drm-kmod version 322 before re-compiling to avoid errors. 323 32420211230: 325 The macros provided for the manipulation of CPU sets (e.g. CPU_AND) 326 have been modified to take 2 source arguments instead of only 1. 327 Externally maintained sources that use these macros will have to 328 be adapted. The FreeBSD version has been bumped to 1400046 to 329 reflect this change. 330 33120211214: 332 A number of the kernel include files are able to be included by 333 themselves. A test has been added to buildworld to enforce this. 334 33520211209: 336 Remove mips as a recognized target. This starts the decommissioning of 337 mips support in FreeBSD. mips related items will be removed wholesale in 338 the coming days and weeks. 339 340 This broke the NO_CLEAN build for some people. Either do a clean build 341 or touch 342 lib/clang/include/llvm/Config/Targets.def 343 lib/clang/include/llvm/Config/AsmParsers.def 344 lib/clang/include/llvm/Config/Disassemblers.def 345 lib/clang/include/llvm/Config/AsmPrinters.def 346 before the build to force everything to rebuild that needs to. 347 34820211202: 349 Unbound support for RFC8375: The special-use domain 'home.arpa' is 350 by default blocked. To unblock it use a local-zone nodefault 351 statement in unbound.conf: 352 local-zone: "home.arpa." nodefault 353 354 Or use another type of local-zone to override with your choice. 355 356 The reason for this is discussed in Section 6.1 of RFC8375: 357 Because 'home.arpa.' is not globally scoped and cannot be secured 358 using DNSSEC based on the root domain's trust anchor, there is no way 359 to tell, using a standard DNS query, in which homenet scope an answer 360 belongs. Consequently, users may experience surprising results with 361 such names when roaming to different homenets. 362 36320211118: 364 Mips has been removed from universe builds. It will be removed from the 365 tree shortly. 366 36720211110: 368 Commit b8d60729deef changed the TCP congestion control framework so 369 that any of the included congestion control modules could be 370 the single module built into the kernel. Previously newreno 371 was automatically built in through direct reference. As of 372 this commit you are required to declare at least one congestion 373 control module (e.g. 'options CC_NEWRENO') and to also declare a 374 default using the CC_DEFAULT option (e.g. options CC_DEFAULT="newreno\"). 375 The GENERIC configuration includes CC_NEWRENO and defines newreno 376 as the default. If no congestion control option is built into the 377 kernel and you are including networking, the kernel compile will 378 fail. Also if no default is declared the kernel compile will fail. 379 38020211106: 381 Commit f0c9847a6c47 changed the arguments for VOP_ALLOCATE. 382 The NFS modules must be rebuilt from sources and any out 383 of tree file systems that implement their own VOP_ALLOCATE 384 may need to be modified. 385 38620211022: 387 The synchronous PPP kernel driver sppp(4) has been removed. 388 The cp(4) and ce(4) drivers are now always compiled with netgraph(4) 389 support, formerly enabled by NETGRAPH_CRONYX option. 390 39120211020: 392 sh(1) is now the default shell for the root user. To force root to use 393 the csh shell, please run the following command as root: 394 395 # chsh -s csh 396 39720211004: 398 Ncurses distribution has been split between libtinfow and libncurses 399 with libncurses.so becoming a linker (ld) script to seamlessly link 400 to libtinfow as needed. Bump _FreeBSD_version to 1400035 to reflect 401 this change. 402 40320210923: 404 As of commit 8160a0f62be6, the dummynet module no longer depends on the 405 ipfw module. Dummynet can now be used by pf as well as ipfw. As such 406 users who relied on this dependency may need to include ipfw in the 407 list of modules to load on their systems. 408 40920210922: 410 As of commit 903873ce1560, the mixer(8) utility has got a slightly 411 new syntax. Please refer to the mixer(8) manual page for more 412 information. The old mixer utility can be installed from ports: 413 audio/freebsd-13-mixer 414 41520210911: 416 As of commit 55089ef4f8bb, the global variable nfs_maxcopyrange has 417 been deleted from the nfscommon.ko. As such, nfsd.ko must be built 418 from up to date sources to avoid an undefined reference when 419 being loaded. 420 42120210817: 422 As of commit 62ca9fc1ad56 OpenSSL no longer enables kernel TLS 423 by default. Users can enable kernel TLS via the "KTLS" SSL 424 option. This can be enabled globally by using a custom 425 OpenSSL config file via OPENSSL_CONF or via an 426 application-specific configuration option for applications 427 which permit setting SSL options via SSL_CONF_cmd(3). 428 42920210811: 430 Commit 3ad1e1c1ce20 changed the internal KAPI between the NFS 431 modules. Therefore, all need to be rebuilt from sources. 432 43320210730: 434 Commit b69019c14cd8 removes pf's DIOCGETSTATESNV ioctl. 435 As of be70c7a50d32 it is no longer used by userspace, but it does mean 436 users may not be able to enumerate pf states if they update the kernel 437 past b69019c14cd8 without first updating userspace past be70c7a50d32. 438 43920210729: 440 As of commit 01ad0c007964 if_bridge member interfaces can no longer 441 change their MTU. Changing the MTU of the bridge itself will change the 442 MTU on all member interfaces instead. 443 44420210716: 445 Commit ee29e6f31111 changed the internal KAPI between the nfscommon 446 and nfsd modules. Therefore, both need to be rebuilt from sources. 447 Bump __FreeBSD_version to 1400026 for this KAPI change. 448 44920210715: 450 The 20210707 awk update brought in a change in behavior. This has 451 been corrected as of d4d252c49976. Between these dates, if you 452 installed a new awk binary, you may not be able to build a new 453 kernel because the change in behavior affected the genoffset 454 script used to build the kernel. If you did update, the fix is 455 to update your sources past the above hash and do 456 % cd usr.bin/awk 457 % make clean all 458 % sudo -E make install 459 to enable building kernels again. 460 46120210708: 462 Commit 1e0a518d6548 changed the internal KAPI between the NFS 463 modules. They all need to be rebuilt from sources. I did not 464 bump __FreeBSD_version, since it was bumped recently. 465 46620210707: 467 awk has been updated to the latest one-true-awk version 20210215. 468 This contains a number of minor bug fixes. 469 47020210624: 471 The NFSv4 client now uses the highest minor version of NFSv4 472 supported by the NFSv4 server by default instead of minor version 0, 473 for NFSv4 mounts. 474 The "minorversion" mount option may be used to override this default. 475 47620210618: 477 Bump __FreeBSD_version to 1400024 for LinuxKPI changes. 478 Most notably netdev.h can change now as the (last) dependencies 479 (mlx4/ofed) are now using struct ifnet directly, but also for PCI 480 additions and others. 481 48220210618: 483 The directory "blacklisted" under /usr/share/certs/ has been 484 renamed to "untrusted". 485 48620210611: 487 svnlite has been removed from base. Should you need svn for any reason 488 please install the svn package or port. 489 49020210611: 491 Commit e1a907a25cfa changed the internal KAPI between the krpc 492 and nfsserver. As such, both modules must be rebuilt from 493 sources. Bump __FreeBSD_version to 1400022. 494 49520210610: 496 The an(4) driver has been removed from FreeBSD. 497 49820210608: 499 The vendor/openzfs branch was renamed to vendor/openzfs/legacy to 500 start tracking OpenZFS upstream more closely. Please see 501https://lists.freebsd.org/archives/freebsd-current/2021-June/000153.html 502 for details on how to correct any errors that might result. The 503 short version is that you need to remove the old branch locally: 504 git update-ref -d refs/remotes/freebsd/vendor/openzfs 505 (assuming your upstream origin is named 'freebsd'). 506 50720210525: 508 Commits 17accc08ae15 and de102f870501 add new files to LinuxKPI 509 which break drm-kmod. In addition various other additions where 510 committed. Bump __FreeBSD_version to 1400015 to be able to 511 detect this. 512 51320210513: 514 Commit ca179c4d74f2 changed the package in which the OpenSSL 515 libraries and utilities are packaged. 516 It is recommended for pkgbase user to do: 517 pkg install -f FreeBSD-openssl 518 before pkg upgrade otherwise some dependencies might not be met 519 and pkg will stop working as libssl will not be present anymore 520 on the system. 521 52220210426: 523 Commit 875977314881 changed the internal KAPI between 524 the nfsd and nfscommon modules. As such these modules 525 need to be rebuilt from sources. 526 Without this patch in your NFSv4.1/4.2 server, enabling 527 delegations by setting vfs.nfsd.issue_delegations non-zero 528 is not recommended. 529 53020210411: 531 Commit 7763814fc9c2 changed the internal KAPI between 532 the krpc and NFS. As such, the krpc, nfscommon and 533 nfscl modules must all be rebuilt from sources. 534 Without this patch, NFSv4.1/4.2 mounts should not 535 be done with the nfscbd(8) daemon running, to avoid 536 needing a working back channel for server->client RPCs. 537 53820210330: 539 Commit 01ae8969a9ee fixed the NFSv4.1/4.2 server so that it 540 handles binding of the back channel as required by RFC5661. 541 Until this patch is in your server, avoid use of the "nconnects" 542 mount option for Linux NFSv4.1/4.2 mounts. 543 54420210225: 545 For 64-bit architectures the base system is now built with Position 546 Independent Executable (PIE) support enabled by default. It may be 547 disabled using the WITHOUT_PIE knob. A clean build is required. 548 54920210128: 550 Various LinuxKPI functionality was added which conflicts with DRM. 551 Please update your drm-kmod port to after the __FreeBSD_version 1400003 552 update. 553 55420210108: 555 PC Card attachments for all devices have been removed. In the case of 556 wi and cmx, the entire drivers were removed because they were only 557 PC Card devices. FreeBSD_version 1300134 should be used for this 558 since it was bumped so recently. 559 56020210107: 561 Transport-independent parts of HID support have been split off the USB 562 code in to separate subsystem. Kernel configs which include one of 563 ums, ukbd, uhid, atp, wsp, wmt, uaudio, ugold or ucycom drivers should 564 be updated with adding of "device hid" line. 565 56620210105: 567 ncurses installation has been modified to only keep the widechar 568 enabled version. Incremental build is broken for that change, so it 569 requires a clean build. 570 57120201223: 572 The FreeBSD project has migrated from Subversion to Git. Temporary 573 instructions can be found at 574 https://github.com/bsdimp/freebsd-git-docs/blob/main/src-cvt.md 575 and other documents in that repo. 576 57720201216: 578 The services database has been updated to cover more of the basic 579 services expected in a modern system. The database is big enough 580 that it will cause issues in mergemaster in Releases previous to 581 12.2 and 11.3, or in very old current systems from before r358154. 582 58320201215: 584 Obsolete in-tree GDB 6.1.1 has been removed. GDB (including kgdb) 585 may be installed from ports or packages. 586 58720201124: 588 ping6 has been merged into ping. It can now be called as "ping -6". 589 See ping(8) for details. 590 59120201108: 592 Default value of net.add_addr_allfibs has been changed to 0. 593 If you have multi-fib configuration and rely on existence of all 594 interface routes in every fib, you need to set the above sysctl to 1. 595 59620201030: 597 The internal pre-processor in the calendar(1) program has been 598 extended to support more C pre-processor commands (e.g. #ifdef, #else, 599 and #undef) and to detect unbalanced conditional statements. 600 Error messages have been extended to include the filename and line 601 number if processing stops to help fixing malformed data files. 602 60320201026: 604 All the data files for the calendar(1) program, except calendar.freebsd, 605 have been moved to the deskutils/calendar-data port, much like the 606 jewish calendar entries were moved to deskutils/hebcal years ago. After 607 make delete-old-files, you need to install it to retain full 608 functionality. calendar(1) will issue a reminder for files it can't 609 find. 610 61120200923: 612 LINT files are no longer generated. We now include the relevant NOTES 613 files. Note: This may cause conflicts with updating in some cases. 614 find sys -name LINT\* -delete 615 is suggested across this commit to remove the generated LINT files. 616 617 If you have tried to update with generated files there, the svn 618 command you want to un-auger the tree is 619 cd sys/amd64/conf 620 svn revert -R . 621 and then do the above find from the top level. Substitute 'amd64' 622 above with where the error message indicates a conflict. 623 62420200824: 625 OpenZFS support has been integrated. Do not upgrade root pools until 626 the loader is updated to support zstd. Furthermore, we caution against 627 'zpool upgrade' for the next few weeks. The change should be transparent 628 unless you want to use new features. 629 630 Not all "NO_CLEAN" build scenarios work across these changes. Many 631 scenarios have been tested and fixed, but rebuilding kernels without 632 rebuilding world may fail. 633 634 The ZFS cache file has moved from /boot to /etc to match the OpenZFS 635 upstream default. A fallback to /boot has been added for mountroot. 636 637 Pool auto import behavior at boot has been moved from the kernel module 638 to an explicit "zpool import -a" in one of the rc scripts enabled by 639 zfs_enable=YES. This means your non-root zpools won't auto import until 640 you upgrade your /etc/rc.d files. 641 64220200824: 643 The resume code now notifies devd with the 'kernel' system 644 rather than the old 'kern' subsystem to be consistent with 645 other use. The old notification will be created as well, but 646 will be removed prior to FreeBSD 14.0. 647 64820200821: 649 r362275 changed the internal API between the kernel RPC and the 650 NFS modules. As such, all the modules must be recompiled from 651 sources. 652 65320200817: 654 r364330 modified the internal API used between the NFS modules. 655 As such, all the NFS modules must be re-compiled from sources. 656 65720200816: 658 Clang, llvm, lld, lldb, compiler-rt, libc++, libunwind and openmp have 659 been upgraded to 11.0.0. Please see the 20141231 entry below for 660 information about prerequisites and upgrading, if you are not already 661 using clang 3.5.0 or higher. 662 66320200810: 664 r364092 modified the internal ABI used between the kernel NFS 665 modules. As such, all of these modules need to be rebuilt 666 from sources, so a version bump was done. 667 66820200807: 669 Makefile.inc has been updated to work around the issue documented in 670 20200729. It was a case where the optimization of using symbolic links 671 to point to binaries created a situation where we'd run new binaries 672 with old libraries starting midway through the installworld process. 673 67420200729: 675 r363679 has redefined some undefined behavior in regcomp(3); notably, 676 extraneous escapes of most ordinary characters will no longer be 677 accepted. An exp-run has identified all of the problems with this in 678 ports, but other non-ports software may need extra escapes removed to 679 continue to function. 680 681 Because of this change, installworld may encounter the following error 682 from rtld: Undefined symbol "regcomp@FBSD_1.6" -- It is imperative that 683 you do not halt installworld. Instead, let it run to completion (whether 684 successful or not) and run installworld once more. 685 68620200627: 687 A new implementation of bc and dc has been imported in r362681. This 688 implementation corrects non-conformant behavior of the previous bc 689 and adds GNU bc compatible options. It offers a number of extensions, 690 is much faster on large values, and has support for message catalogs 691 (a number of languages are already supported, contributions of further 692 languages welcome). The option WITHOUT_GH_BC can be used to build the 693 world with the previous versions of bc and dc. 694 69520200625: 696 r362639 changed the internal API used between the NFS kernel modules. 697 As such, they all need to be rebuilt from sources. 698 69920200613: 700 r362158 changed the arguments for VFS_CHECKEXP(). As such, any 701 out of tree file systems need to be modified and rebuilt. 702 Also, any file systems that are modules must be rebuilt. 703 70420200604: 705 read(2) of a directory fd is now rejected by default. root may 706 re-enable it for system root only on non-ZFS filesystems with the 707 security.bsd.allow_read_dir sysctl(8) MIB if 708 security.bsd.suser_enabled=1. 709 710 It may be advised to setup aliases for grep to default to `-d skip` if 711 commonly non-recursively grepping a list that includes directories and 712 the potential for the resulting stderr output is not tolerable. Example 713 aliases are now installed, commented out, in /root/.cshrc and 714 /root/.shrc. 715 71620200523: 717 Clang, llvm, lld, lldb, compiler-rt, libc++, libunwind and openmp have 718 been upgraded to 10.0.1. Please see the 20141231 entry below for 719 information about prerequisites and upgrading, if you are not already 720 using clang 3.5.0 or higher. 721 72220200512: 723 Support for obsolete compilers has been removed from the build system. 724 Clang 6 and GCC 6.4 are the minimum supported versions. 725 72620200424: 727 closefrom(2) has been moved under COMPAT12, and replaced in libc with a 728 stub that calls close_range(2). If using a custom kernel configuration, 729 you may want to ensure that the COMPAT_FREEBSD12 option is included, as 730 a slightly older -CURRENT userland and older FreeBSD userlands may not 731 be functional without closefrom(2). 732 73320200414: 734 Upstream DTS from Linux 5.6 was merged and they now have the SID 735 and THS (Secure ID controller and THermal Sensor) node present. 736 The DTB overlays have now been removed from the tree for the H3/H5 and 737 A64 SoCs and the aw_sid and aw_thermal driver have been updated to 738 deal with upstream DTS. If you are using those overlays you need to 739 remove them from loader.conf and update the DTBs on the FAT partition. 740 74120200310: 742 Clang, llvm, lld, lldb, compiler-rt, libc++, libunwind and openmp have 743 been upgraded to 10.0.0. Please see the 20141231 entry below for 744 information about prerequisites and upgrading, if you are not already 745 using clang 3.5.0 or higher. 746 74720200309: 748 The amd(8) automount daemon has been removed from the source tree. 749 As of FreeBSD 10.1 autofs(5) is the preferred tool for automounting. 750 amd is still available in the sysutils/am-utils port. 751 75220200301: 753 Removed brooktree driver (bktr.4) from the tree. 754 75520200229: 756 The WITH_GPL_DTC option has been removed. The BSD-licenced device tree 757 compiler in usr.bin/dtc is used on all architectures which use dtc, and 758 the GPL dtc is available (if needed) from the sysutils/dtc port. 759 76020200229: 761 The WITHOUT_LLVM_LIBUNWIND option has been removed. LLVM's libunwind 762 is used by all supported CPU architectures. 763 76420200229: 765 GCC 4.2.1 has been removed from the tree. The WITH_GCC, 766 WITH_GCC_BOOTSTRAP, and WITH_GNUCXX options are no longer available. 767 Users who wish to build FreeBSD with GCC must use the external toolchain 768 ports or packages. 769 77020200220: 771 ncurses has been updated to a newer version (6.2-20200215). Given the ABI 772 has changed, users will have to rebuild all the ports that are linked to 773 ncurses. 774 77520200217: 776 The size of struct vnet and the magic cookie have changed. 777 Users need to recompile libkvm and all modules using VIMAGE 778 together with their new kernel. 779 78020200212: 781 Defining the long deprecated NO_CTF, NO_DEBUG_FILES, NO_INSTALLLIB, 782 NO_MAN, NO_PROFILE, and NO_WARNS variables is now an error. Update 783 your Makefiles and scripts to define MK_<var>=no instead as required. 784 785 One exception to this is that program or library Makefiles should 786 define MAN to empty rather than setting MK_MAN=no. 787 78820200108: 789 Clang/LLVM is now the default compiler and LLD the default 790 linker for riscv64. 791 79220200107: 793 make universe no longer uses GCC 4.2.1 on any architectures. 794 Architectures not supported by in-tree Clang/LLVM require an 795 external toolchain package. 796 79720200104: 798 GCC 4.2.1 is now not built by default, as part of the GCC 4.2.1 799 retirement plan. Specifically, the GCC, GCC_BOOTSTRAP, and GNUCXX 800 options default to off for all supported CPU architectures. As a 801 short-term transition aid they may be enabled via WITH_* options. 802 GCC 4.2.1 is expected to be removed from the tree on 2020-03-31. 803 80420200102: 805 Support for armv5 has been disconnected and is being removed. The 806 machine combination MACHINE=arm MACHINE_ARCH=arm is no longer valid. 807 You must now use a MACHINE_ARCH of armv6 or armv7. The default 808 MACHINE_ARCH for MACHINE=arm is now armv7. 809 81020191226: 811 Clang/LLVM is now the default compiler for all powerpc architectures. 812 LLD is now the default linker for powerpc64. The change for powerpc64 813 also includes a change to the ELFv2 ABI, incompatible with the existing 814 ABI. 815 81620191226: 817 Kernel-loadable random(4) modules are no longer unloadable. 818 81920191222: 820 Clang, llvm, lld, lldb, compiler-rt, libc++, libunwind and openmp have 821 been upgraded to 9.0.1. Please see the 20141231 entry below for 822 information about prerequisites and upgrading, if you are not already 823 using clang 3.5.0 or higher. 824 82520191212: 826 r355677 has modified the internal interface used between the 827 NFS modules in the kernel. As such, they must all be upgraded 828 simultaneously. I will do a version bump for this. 829 83020191205: 831 The root certificates of the Mozilla CA Certificate Store have been 832 imported into the base system and can be managed with the certctl(8) 833 utility. If you have installed the security/ca_root_nss port or package 834 with the ETCSYMLINK option (the default), be advised that there may be 835 differences between those included in the port and those included in 836 base due to differences in nss branch used as well as general update 837 frequency. Note also that certctl(8) cannot manage certs in the 838 format used by the security/ca_root_nss port. 839 84020191120: 841 The amd(8) automount daemon has been disabled by default, and will be 842 removed in the future. As of FreeBSD 10.1 the autofs(5) is available 843 for automounting. 844 84520191107: 846 The nctgpio and wbwd drivers have been moved to the superio bus. 847 If you have one of these drivers in a kernel configuration, then 848 you should add device superio to it. If you use one of these drivers 849 as a module and you compile a custom set of modules, then you should 850 add superio to the set. 851 85220191021: 853 KPIs for network drivers to access interface addresses have changed. 854 Users need to recompile NIC driver modules together with kernel. 855 85620191021: 857 The net.link.tap.user_open sysctl no longer prevents user opening of 858 already created /dev/tapNN devices. Access is still controlled by 859 node permissions, just like tun devices. The net.link.tap.user_open 860 sysctl is now used only to allow users to perform devfs cloning of 861 tap devices, and the subsequent open may not succeed if the user is not 862 in the appropriate group. This sysctl may be deprecated/removed 863 completely in the future. 864 86520191009: 866 mips, powerpc, and sparc64 are no longer built as part of 867 universe / tinderbox unless MAKE_OBSOLETE_GCC is defined. If 868 not defined, mips, powerpc, and sparc64 builds will look for 869 the xtoolchain binaries and if installed use them for universe 870 builds. As llvm 9.0 becomes vetted for these architectures, they 871 will be removed from the list. 872 87320191009: 874 Clang, llvm, lld, lldb, compiler-rt, libc++, libunwind and openmp have 875 been upgraded to 9.0.0. Please see the 20141231 entry below for 876 information about prerequisites and upgrading, if you are not already 877 using clang 3.5.0 or higher. 878 87920191003: 880 The hpt27xx, hptmv, hptnr, and hptrr drivers have been removed from 881 GENERIC. They are available as modules and can be loaded by adding 882 to /boot/loader.conf hpt27xx_load="YES", hptmv_load="YES", 883 hptnr_load="YES", or hptrr_load="YES", respectively. 884 88520190913: 886 ntpd no longer by default locks its pages in memory, allowing them 887 to be paged out by the kernel. Use rlimit memlock to restore 888 historic BSD behaviour. For example, add "rlimit memlock 32" 889 to ntp.conf to lock up to 32 MB of ntpd address space in memory. 890 89120190823: 892 Several of ping6's options have been renamed for better consistency 893 with ping. If you use any of -ARWXaghmrtwx, you must update your 894 scripts. See ping6(8) for details. 895 89620190727: 897 The vfs.fusefs.sync_unmount and vfs.fusefs.init_backgrounded sysctls 898 and the "-o sync_unmount" and "-o init_backgrounded" mount options have 899 been removed from mount_fusefs(8). You can safely remove them from 900 your scripts, because they had no effect. 901 902 The vfs.fusefs.fix_broken_io, vfs.fusefs.sync_resize, 903 vfs.fusefs.refresh_size, vfs.fusefs.mmap_enable, 904 vfs.fusefs.reclaim_revoked, and vfs.fusefs.data_cache_invalidate 905 sysctls have been removed. If you felt the need to set any of them to 906 a non-default value, please tell [email protected] why. 907 90820190713: 909 Default permissions on the /var/account/acct file (and copies of it 910 rotated by periodic daily scripts) are changed from 0644 to 0640 911 because the file contains sensitive information that should not be 912 world-readable. If the /var/account directory must be created by 913 rc.d/accounting, the mode used is now 0750. Admins who use the 914 accounting feature are encouraged to change the mode of an existing 915 /var/account directory to 0750 or 0700. 916 91720190620: 918 Entropy collection and the /dev/random device are no longer optional 919 components. The "device random" option has been removed. 920 Implementations of distilling algorithms can still be made loadable 921 with "options RANDOM_LOADABLE" (e.g., random_fortuna.ko). 922 92320190612: 924 Clang, llvm, lld, lldb, compiler-rt, libc++, libunwind and openmp have 925 been upgraded to 8.0.1. Please see the 20141231 entry below for 926 information about prerequisites and upgrading, if you are not already 927 using clang 3.5.0 or higher. 928 92920190608: 930 A fix was applied to i386 kernel modules to avoid panics with 931 dpcpu or vnet. Users need to recompile i386 kernel modules 932 having pcpu or vnet sections or they will refuse to load. 933 93420190513: 935 User-wired pages now have their own counter, 936 vm.stats.vm.v_user_wire_count. The vm.max_wired sysctl was renamed 937 to vm.max_user_wired and changed from an unsigned int to an unsigned 938 long. bhyve VMs wired with the -S are now subject to the user 939 wiring limit; the vm.max_user_wired sysctl may need to be tuned to 940 avoid running into the limit. 941 94220190507: 943 The IPSEC option has been removed from GENERIC. Users requiring 944 ipsec(4) must now load the ipsec(4) kernel module. 945 94620190507: 947 The tap(4) driver has been folded into tun(4), and the module has been 948 renamed to tuntap. You should update any kld_list="if_tap" or 949 kld_list="if_tun" entries in /etc/rc.conf, if_tap_load="YES" or 950 if_tun_load="YES" entries in /boot/loader.conf to load the if_tuntap 951 module instead, and "device tap" or "device tun" entries in kernel 952 config files to select the tuntap device instead. 953 95420190418: 955 The following knobs have been added related to tradeoffs between 956 safe use of the random device and availability in the absence of 957 entropy: 958 959 kern.random.initial_seeding.bypass_before_seeding: tunable; set 960 non-zero to bypass the random device prior to seeding, or zero to 961 block random requests until the random device is initially seeded. 962 For now, set to 1 (unsafe) by default to restore pre-r346250 boot 963 availability properties. 964 965 kern.random.initial_seeding.read_random_bypassed_before_seeding: 966 read-only diagnostic sysctl that is set when bypass is enabled and 967 read_random(9) is bypassed, to enable programmatic handling of this 968 initial condition, if desired. 969 970 kern.random.initial_seeding.arc4random_bypassed_before_seeding: 971 Similar to the above, but for arc4random(9) initial seeding. 972 973 kern.random.initial_seeding.disable_bypass_warnings: tunable; set 974 non-zero to disable warnings in dmesg when the same conditions are 975 met as for the diagnostic sysctls above. Defaults to zero, i.e., 976 produce warnings in dmesg when the conditions are met. 977 97820190416: 979 The loadable random module KPI has changed; the random_infra_init() 980 routine now requires a 3rd function pointer for a bool (*)(void) 981 method that returns true if the random device is seeded (and 982 therefore unblocked). 983 98420190404: 985 r345895 reverts r320698. This implies that an nfsuserd(8) daemon 986 built from head sources between r320757 (July 6, 2017) and 987 r338192 (Aug. 22, 2018) will not work unless the "-use-udpsock" 988 is added to the command line. 989 nfsuserd daemons built from head sources that are post-r338192 are 990 not affected and should continue to work. 991 99220190320: 993 The fuse(4) module has been renamed to fusefs(4) for consistency with 994 other filesystems. You should update any kld_load="fuse" entries in 995 /etc/rc.conf, fuse_load="YES" entries in /boot/loader.conf, and 996 "options FUSE" entries in kernel config files. 997 99820190304: 999 Clang, llvm, lld, lldb, compiler-rt and libc++ have been upgraded to 1000 8.0.0. Please see the 20141231 entry below for information about 1001 prerequisites and upgrading, if you are not already using clang 3.5.0 1002 or higher. 1003 100420190226: 1005 geom_uzip(4) depends on the new module xz. If geom_uzip is statically 1006 compiled into your custom kernel, add 'device xz' statement to the 1007 kernel config. 1008 100920190219: 1010 drm and drm2 have been removed from the tree. Please see 1011 https://wiki.freebsd.org/Graphics for the latest information on 1012 migrating to the drm ports. 1013 101420190131: 1015 Iflib is no longer unconditionally compiled into the kernel. Drivers 1016 using iflib and statically compiled into the kernel, now require 1017 the 'device iflib' config option. For the same drivers loaded as 1018 modules on kernels not having 'device iflib', the iflib.ko module 1019 is loaded automatically. 1020 102120190125: 1022 The IEEE80211_AMPDU_AGE and AH_SUPPORT_AR5416 kernel configuration 1023 options no longer exist since r343219 and r343427 respectively; 1024 nothing uses them, so they should be just removed from custom 1025 kernel config files. 1026 102720181230: 1028 r342635 changes the way efibootmgr(8) works by requiring users to add 1029 the -b (bootnum) parameter for commands where the bootnum was previously 1030 specified with each option. For example 'efibootmgr -B 0001' is now 1031 'efibootmgr -B -b 0001'. 1032 103320181220: 1034 r342286 modifies the NFSv4 server so that it obeys vfs.nfsd.nfs_privport 1035 in the same as it is applied to NFSv2 and 3. This implies that NFSv4 1036 servers that have vfs.nfsd.nfs_privport set will only allow mounts 1037 from clients using a reserved port. Since both the FreeBSD and Linux 1038 NFSv4 clients use reserved ports by default, this should not affect 1039 most NFSv4 mounts. 1040 104120181219: 1042 The XLP config has been removed. We can't support 64-bit atomics in this 1043 kernel because it is running in 32-bit mode. XLP users must transition 1044 to running a 64-bit kernel (XLP64 or XLPN32). 1045 1046 The mips GXEMUL support has been removed from FreeBSD. MALTA* + qemu is 1047 the preferred emulator today and we don't need two different ones. 1048 1049 The old sibyte / swarm / Broadcom BCM1250 support has been 1050 removed from the mips port. 1051 105220181211: 1053 Clang, llvm, lld, lldb, compiler-rt and libc++ have been upgraded to 1054 7.0.1. Please see the 20141231 entry below for information about 1055 prerequisites and upgrading, if you are not already using clang 3.5.0 1056 or higher. 1057 105820181211: 1059 Remove the timed and netdate programs from the base tree. Setting 1060 the time with these daemons has been obsolete for over a decade. 1061 106220181126: 1063 On amd64, arm64 and armv7 (architectures that install LLVM's ld.lld 1064 linker as /usr/bin/ld) GNU ld is no longer installed as ld.bfd, as 1065 it produces broken binaries when ifuncs are in use. Users needing 1066 GNU ld should install the binutils port or package. 1067 106820181123: 1069 The BSD crtbegin and crtend code has been enabled by default. It has 1070 had extensive testing on amd64, arm64, and i386. It can be disabled 1071 by building a world with -DWITHOUT_BSD_CRTBEGIN. 1072 107320181115: 1074 The set of CTM commands (ctm, ctm_smail, ctm_rmail, ctm_dequeue) 1075 has been converted to a port (misc/ctm) and will be removed from 1076 FreeBSD-13. It is available as a package (ctm) for all supported 1077 FreeBSD versions. 1078 107920181110: 1080 The default newsyslog.conf(5) file has been changed to only include 1081 files in /etc/newsyslog.conf.d/ and /usr/local/etc/newsyslog.conf.d/ if 1082 the filenames end in '.conf' and do not begin with a '.'. 1083 1084 You should check the configuration files in these two directories match 1085 this naming convention. You can verify which configuration files are 1086 being included using the command: 1087 $ newsyslog -Nrv 1088 108920181015: 1090 Ports for the DRM modules have been simplified. Now, amd64 users should 1091 just install the drm-kmod port. All others should install 1092 drm-legacy-kmod. 1093 1094 Graphics hardware that's newer than about 2010 usually works with 1095 drm-kmod. For hardware older than 2013, however, some users will need 1096 to use drm-legacy-kmod if drm-kmod doesn't work for them. Hardware older 1097 than 2008 usually only works in drm-legacy-kmod. The graphics team can 1098 only commit to hardware made since 2013 due to the complexity of the 1099 market and difficulty to test all the older cards effectively. If you 1100 have hardware supported by drm-kmod, you are strongly encouraged to use 1101 that as you will get better support. 1102 1103 Other than KPI chasing, drm-legacy-kmod will not be updated. As outlined 1104 elsewhere, the drm and drm2 modules will be eliminated from the src base 1105 soon (with a limited exception for arm). Please update to the package 1106 asap and report any issues to [email protected]. 1107 1108 Generally, anybody using the drm*-kmod packages should add 1109 WITHOUT_DRM_MODULE=t and WITHOUT_DRM2_MODULE=t to avoid nasty 1110 cross-threading surprises, especially with automatic driver 1111 loading from X11 startup. These will become the defaults in 13-current 1112 shortly. 1113 111420181012: 1115 The ixlv(4) driver has been renamed to iavf(4). As a consequence, 1116 custom kernel and module loading configuration files must be updated 1117 accordingly. Moreover, interfaces previous presented as ixlvN to the 1118 system are now exposed as iavfN and network configuration files must 1119 be adjusted as necessary. 1120 112120181009: 1122 OpenSSL has been updated to version 1.1.1. This update included 1123 additional various API changes throughout the base system. It is 1124 important to rebuild third-party software after upgrading. The value 1125 of __FreeBSD_version has been bumped accordingly. 1126 112720181006: 1128 The legacy DRM modules and drivers have now been added to the loader's 1129 module blacklist, in favor of loading them with kld_list in rc.conf(5). 1130 The module blacklist may be overridden with the loader.conf(5) 1131 'module_blacklist' variable, but loading them via rc.conf(5) is strongly 1132 encouraged. 1133 113420181002: 1135 The cam(4) based nda(4) driver will be used over nvd(4) by default on 1136 powerpc64. You may set 'options NVME_USE_NVD=1' in your kernel conf or 1137 loader tunable 'hw.nvme.use_nvd=1' if you wish to use the existing 1138 driver. Make sure to edit /boot/etc/kboot.conf and fstab to use the 1139 nda device name. 1140 114120180913: 1142 Reproducible build mode is now on by default, in preparation for 1143 FreeBSD 12.0. This eliminates build metadata such as the user, 1144 host, and time from the kernel (and uname), unless the working tree 1145 corresponds to a modified checkout from a version control system. 1146 The previous behavior can be obtained by setting the /etc/src.conf 1147 knob WITHOUT_REPRODUCIBLE_BUILD. 1148 114920180826: 1150 The Yarrow CSPRNG has been removed from the kernel as it has not been 1151 supported by its designers since at least 2003. Fortuna has been the 1152 default since FreeBSD-11. 1153 115420180822: 1155 devctl freeze/thaw have gone into the tree, the rc scripts have been 1156 updated to use them and devmatch has been changed. You should update 1157 kernel, userland and rc scripts all at the same time. 1158 115920180818: 1160 The default interpreter has been switched from 4th to Lua. 1161 LOADER_DEFAULT_INTERP, documented in build(7), will override the default 1162 interpreter. If you have custom FORTH code you will need to set 1163 LOADER_DEFAULT_INTERP=4th (valid values are 4th, lua or simp) in 1164 src.conf for the build. This will create default hard links between 1165 loader and loader_4th instead of loader and loader_lua, the new default. 1166 If you are using UEFI it will create the proper hard link to loader.efi. 1167 1168 bhyve uses userboot.so. It remains 4th-only until some issues are solved 1169 regarding coexisting with multiple versions of FreeBSD are resolved. 1170 117120180815: 1172 ls(1) now respects the COLORTERM environment variable used in other 1173 systems and software to indicate that a colored terminal is both 1174 supported and desired. If ls(1) is suddenly emitting colors, they may 1175 be disabled again by either removing the unwanted COLORTERM from your 1176 environment, or using `ls --color=never`. The ls(1) specific CLICOLOR 1177 may not be observed in a future release. 1178 117920180808: 1180 The default pager for most commands has been changed to "less". To 1181 restore the old behavior, set PAGER="more" and MANPAGER="more -s" in 1182 your environment. 1183 118420180731: 1185 The jedec_ts(4) driver has been removed. A superset of its functionality 1186 is available in the jedec_dimm(4) driver, and the manpage for that 1187 driver includes migration instructions. If you have "device jedec_ts" 1188 in your kernel configuration file, it must be removed. 1189 119020180730: 1191 amd64/GENERIC now has EFI runtime services, EFIRT, enabled by default. 1192 This should have no effect if the kernel is booted via BIOS/legacy boot. 1193 EFIRT may be disabled via a loader tunable, efi.rt.disabled, if a system 1194 has a buggy firmware that prevents a successful boot due to use of 1195 runtime services. 1196 119720180727: 1198 Atmel AT91RM9200 and AT91SAM9, Cavium CNS 11xx and XScale 1199 support has been removed from the tree. These ports were 1200 obsolete and/or known to be broken for many years. 1201 120220180723: 1203 loader.efi has been augmented to participate more fully in the 1204 UEFI boot manager protocol. loader.efi will now look at the 1205 BootXXXX environment variable to determine if a specific kernel 1206 or root partition was specified. XXXX is derived from BootCurrent. 1207 efibootmgr(8) manages these standard UEFI variables. 1208 120920180720: 1210 zfsloader's functionality has now been folded into loader. 1211 zfsloader is no longer necessary once you've updated your 1212 boot blocks. For a transition period, we will install a 1213 hardlink for zfsloader to loader to allow a smooth transition 1214 until the boot blocks can be updated (hard link because old 1215 zfs boot blocks don't understand symlinks). 1216 121720180719: 1218 ARM64 now have efifb support, if you want to have serial console 1219 on your arm64 board when an screen is connected and the bootloader 1220 setup a frame buffer for us to use, just add : 1221 boot_serial=YES 1222 boot_multicons=YES 1223 in /boot/loader.conf 1224 For Raspberry Pi 3 (RPI) users, this is needed even if you don't have 1225 an screen connected as the firmware will setup a frame buffer are that 1226 u-boot will expose as an EFI frame buffer. 1227 122820180719: 1229 New uid:gid added, ntpd:ntpd (123:123). Be sure to run mergemaster 1230 or take steps to update /etc/passwd before doing installworld on 1231 existing systems. Do not skip the "mergemaster -Fp" step before 1232 installworld, as described in the update procedures near the bottom 1233 of this document. Also, rc.d/ntpd now starts ntpd(8) as user ntpd 1234 if the new mac_ntpd(4) policy is available, unless ntpd_flags or 1235 the ntp config file contain options that change file/dir locations. 1236 When such options (e.g., "statsdir" or "crypto") are used, ntpd can 1237 still be run as non-root by setting ntpd_user=ntpd in rc.conf, after 1238 taking steps to ensure that all required files/dirs are accessible 1239 by the ntpd user. 1240 124120180717: 1242 Big endian arm support has been removed. 1243 124420180711: 1245 The static environment setup in kernel configs is no longer mutually 1246 exclusive with the loader(8) environment by default. In order to 1247 restore the previous default behavior of disabling the loader(8) 1248 environment if a static environment is present, you must specify 1249 loader_env.disabled=1 in the static environment. 1250 125120180705: 1252 The ABI of syscalls used by management tools like sockstat and 1253 netstat has been broken to allow 32-bit binaries to work on 1254 64-bit kernels without modification. These programs will need 1255 to match the kernel in order to function. External programs may 1256 require minor modifications to accommodate a change of type in 1257 structures from pointers to 64-bit virtual addresses. 1258 125920180702: 1260 On i386 and amd64 atomics are now inlined. Out of tree modules using 1261 atomics will need to be rebuilt. 1262 126320180701: 1264 The '%I' format in the kern.corefile sysctl limits the number of 1265 core files that a process can generate to the number stored in the 1266 debug.ncores sysctl. The '%I' format is replaced by the single digit 1267 index. Previously, if all indexes were taken the kernel would overwrite 1268 only a core file with the highest index in a filename. 1269 Currently the system will create a new core file if there is a free 1270 index or if all slots are taken it will overwrite the oldest one. 1271 127220180630: 1273 Clang, llvm, lld, lldb, compiler-rt and libc++ have been upgraded to 1274 6.0.1. Please see the 20141231 entry below for information about 1275 prerequisites and upgrading, if you are not already using clang 3.5.0 1276 or higher. 1277 127820180628: 1279 r335753 introduced a new quoting method. However, etc/devd/devmatch.conf 1280 needed to be changed to work with it. This change was made with r335763 1281 and requires a mergemaster / etcupdate / etc to update the installed 1282 file. 1283 128420180612: 1285 r334930 changed the interface between the NFS modules, so they all 1286 need to be rebuilt. r335018 did a __FreeBSD_version bump for this. 1287 128820180530: 1289 As of r334391 lld is the default amd64 system linker; it is installed 1290 as /usr/bin/ld. Kernel build workarounds (see 20180510 entry) are no 1291 longer necessary. 1292 129320180530: 1294 The kernel / userland interface for devinfo changed, so you'll 1295 need a new kernel and userland as a pair for it to work (rebuilding 1296 lib/libdevinfo is all that's required). devinfo and devmatch will 1297 not work, but everything else will when there's a mismatch. 1298 129920180523: 1300 The on-disk format for hwpmc callchain records has changed to include 1301 threadid corresponding to a given record. This changes the field offsets 1302 and thus requires that libpmcstat be rebuilt before using a kernel 1303 later than r334108. 1304 130520180517: 1306 The vxge(4) driver has been removed. This driver was introduced into 1307 HEAD one week before the Exar left the Ethernet market and is not 1308 known to be used. If you have device vxge in your kernel config file 1309 it must be removed. 1310 131120180510: 1312 The amd64 kernel now requires a ld that supports ifunc to produce a 1313 working kernel, either lld or a newer binutils. lld is built by default 1314 on amd64, and the 'buildkernel' target uses it automatically. However, 1315 it is not the default linker, so building the kernel the traditional 1316 way requires LD=ld.lld on the command line (or LD=/usr/local/bin/ld for 1317 binutils port/package). lld will soon be default, and this requirement 1318 will go away. 1319 1320 NOTE: As of r334391 lld is the default system linker on amd64, and no 1321 workaround is necessary. 1322 132320180508: 1324 The nxge(4) driver has been removed. This driver was for PCI-X 10g 1325 cards made by s2io/Neterion. The company was acquired by Exar and 1326 no longer sells or supports Ethernet products. If you have device 1327 nxge in your kernel config file it must be removed. 1328 132920180504: 1330 The tz database (tzdb) has been updated to 2018e. This version more 1331 correctly models time stamps in time zones with negative DST such as 1332 Europe/Dublin (from 1971 on), Europe/Prague (1946/7), and 1333 Africa/Windhoek (1994/2017). This does not affect the UT offsets, only 1334 time zone abbreviations and the tm_isdst flag. 1335 133620180502: 1337 The ixgb(4) driver has been removed. This driver was for an early and 1338 uncommon legacy PCI 10GbE for a single ASIC, Intel 82597EX. Intel 1339 quickly shifted to the long lived ixgbe family. If you have device 1340 ixgb in your kernel config file it must be removed. 1341 134220180501: 1343 The lmc(4) driver has been removed. This was a WAN interface 1344 card that was already reportedly rare in 2003, and had an ambiguous 1345 license. If you have device lmc in your kernel config file it must 1346 be removed. 1347 134820180413: 1349 Support for Arcnet networks has been removed. If you have device 1350 arcnet or device cm in your kernel config file they must be 1351 removed. 1352 135320180411: 1354 Support for FDDI networks has been removed. If you have device 1355 fddi or device fpa in your kernel config file they must be 1356 removed. 1357 135820180406: 1359 In addition to supporting RFC 3164 formatted messages, the 1360 syslogd(8) service is now capable of parsing RFC 5424 formatted 1361 log messages. The main benefit of using RFC 5424 is that clients 1362 may now send log messages with timestamps containing year numbers, 1363 microseconds and time zone offsets. 1364 1365 Similarly, the syslog(3) C library function has been altered to 1366 send RFC 5424 formatted messages to the local system logging 1367 daemon. On systems using syslogd(8), this change should have no 1368 negative impact, as long as syslogd(8) and the C library are 1369 updated at the same time. On systems using a different system 1370 logging daemon, it may be necessary to make configuration 1371 adjustments, depending on the software used. 1372 1373 When using syslog-ng, add the 'syslog-protocol' flag to local 1374 input sources to enable parsing of RFC 5424 formatted messages: 1375 1376 source src { 1377 unix-dgram("/var/run/log" flags(syslog-protocol)); 1378 } 1379 1380 When using rsyslog, disable the 'SysSock.UseSpecialParser' option 1381 of the 'imuxsock' module to let messages be processed by the 1382 regular RFC 3164/5424 parsing pipeline: 1383 1384 module(load="imuxsock" SysSock.UseSpecialParser="off") 1385 1386 Do note that these changes only affect communication between local 1387 applications and syslogd(8). The format that syslogd(8) uses to 1388 store messages on disk or forward messages to other systems 1389 remains unchanged. syslogd(8) still uses RFC 3164 for these 1390 purposes. Options to customize this behaviour will be added in the 1391 future. Utilities that process log files stored in /var/log are 1392 thus expected to continue to function as before. 1393 1394 __FreeBSD_version has been incremented to 1200061 to denote this 1395 change. 1396 139720180328: 1398 Support for token ring networks has been removed. If you 1399 have "device token" in your kernel config you should remove 1400 it. No device drivers supported token ring. 1401 140220180323: 1403 makefs was modified to be able to tag ISO9660 El Torito boot catalog 1404 entries as EFI instead of overloading the i386 tag as done previously. 1405 The amd64 mkisoimages.sh script used to build amd64 ISO images for 1406 release was updated to use this. This may mean that makefs must be 1407 updated before "make cdrom" can be run in the release directory. This 1408 should be as simple as: 1409 1410 $ cd $SRCDIR/usr.sbin/makefs 1411 $ make depend all install 1412 141320180212: 1414 FreeBSD boot loader enhanced with Lua scripting. It's purely opt-in for 1415 now by building WITH_LOADER_LUA and WITHOUT_FORTH in /etc/src.conf. 1416 Co-existence for the transition period will come shortly. Booting is a 1417 complex environment and test coverage for Lua-enabled loaders has been 1418 thin, so it would be prudent to assume it might not work and make 1419 provisions for backup boot methods. 1420 142120180211: 1422 devmatch functionality has been turned on in devd. It will automatically 1423 load drivers for unattached devices. This may cause unexpected drivers 1424 to be loaded. Please report any problems to current@ and 1425 [email protected]. 1426 142720180114: 1428 Clang, llvm, lld, lldb, compiler-rt and libc++ have been upgraded to 1429 6.0.0. Please see the 20141231 entry below for information about 1430 prerequisites and upgrading, if you are not already using clang 3.5.0 1431 or higher. 1432 143320180110: 1434 LLVM's lld linker is now used as the FreeBSD/amd64 bootstrap linker. 1435 This means it is used to link the kernel and userland libraries and 1436 executables, but is not yet installed as /usr/bin/ld by default. 1437 1438 To revert to ld.bfd as the bootstrap linker, in /etc/src.conf set 1439 WITHOUT_LLD_BOOTSTRAP=yes 1440 144120180110: 1442 On i386, pmtimer has been removed. Its functionality has been folded 1443 into apm. It was a no-op on ACPI in current for a while now (but was 1444 still needed on i386 in FreeBSD 11 and earlier). Users may need to 1445 remove it from kernel config files. 1446 144720180104: 1448 The use of RSS hash from the network card aka flowid has been 1449 disabled by default for lagg(4) as it's currently incompatible with 1450 the lacp and loadbalance protocols. 1451 1452 This can be re-enabled by setting the following in loader.conf: 1453 net.link.lagg.default_use_flowid="1" 1454 145520180102: 1456 The SW_WATCHDOG option is no longer necessary to enable the 1457 hardclock-based software watchdog if no hardware watchdog is 1458 configured. As before, SW_WATCHDOG will cause the software 1459 watchdog to be enabled even if a hardware watchdog is configured. 1460 146120171215: 1462 r326887 fixes the issue described in the 20171214 UPDATING entry. 1463 r326888 flips the switch back to building GELI support always. 1464 146520171214: 1466 r362593 broke ZFS + GELI support for reasons unknown. However, 1467 it also broke ZFS support generally, so GELI has been turned off 1468 by default as the lesser evil in r326857. If you boot off ZFS and/or 1469 GELI, it might not be a good time to update. 1470 147120171125: 1472 PowerPC users must update loader(8) by rebuilding world before 1473 installing a new kernel, as the protocol connecting them has 1474 changed. Without the update, loader metadata will not be passed 1475 successfully to the kernel and users will have to enter their 1476 root partition at the kernel mountroot prompt to continue booting. 1477 Newer versions of loader can boot old kernels without issue. 1478 147920171110: 1480 The LOADER_FIREWIRE_SUPPORT build variable has been renamed to 1481 WITH/OUT_LOADER_FIREWIRE. LOADER_{NO_,}GELI_SUPPORT has been renamed 1482 to WITH/OUT_LOADER_GELI. 1483 148420171106: 1485 The naive and non-compliant support of posix_fallocate(2) in ZFS 1486 has been removed as of r325320. The system call now returns EINVAL 1487 when used on a ZFS file. Although the new behavior complies with the 1488 standard, some consumers are not prepared to cope with it. 1489 One known victim is lld prior to r325420. 1490 149120171102: 1492 Building in a FreeBSD src checkout will automatically create object 1493 directories now rather than store files in the current directory if 1494 'make obj' was not ran. Calling 'make obj' is no longer necessary. 1495 This feature can be disabled by setting WITHOUT_AUTO_OBJ=yes in 1496 /etc/src-env.conf (not /etc/src.conf), or passing the option in the 1497 environment. 1498 149920171101: 1500 The default MAKEOBJDIR has changed from /usr/obj/<srcdir> for native 1501 builds, and /usr/obj/<arch>/<srcdir> for cross-builds, to a unified 1502 /usr/obj/<srcdir>/<arch>. This behavior can be changed to the old 1503 format by setting WITHOUT_UNIFIED_OBJDIR=yes in /etc/src-env.conf, 1504 the environment, or with -DWITHOUT_UNIFIED_OBJDIR when building. 1505 The UNIFIED_OBJDIR option is a transitional feature that will be 1506 removed for 12.0 release; please migrate to the new format for any 1507 tools by looking up the OBJDIR used by 'make -V .OBJDIR' means rather 1508 than hardcoding paths. 1509 151020171028: 1511 The native-xtools target no longer installs the files by default to the 1512 OBJDIR. Use the native-xtools-install target with a DESTDIR to install 1513 to ${DESTDIR}/${NXTP} where NXTP defaults to /nxb-bin. 1514 151520171021: 1516 As part of the boot loader infrastructure cleanup, LOADER_*_SUPPORT 1517 options are changing from controlling the build if defined / undefined 1518 to controlling the build with explicit 'yes' or 'no' values. They will 1519 shift to WITH/WITHOUT options to match other options in the system. 1520 152120171010: 1522 libstand has turned into a private library for sys/boot use only. 1523 It is no longer supported as a public interface outside of sys/boot. 1524 152520171005: 1526 The arm port has split armv6 into armv6 and armv7. armv7 is now 1527 a valid TARGET_ARCH/MACHINE_ARCH setting. If you have an armv7 system 1528 and are running a kernel from before r324363, you will need to add 1529 MACHINE_ARCH=armv7 to 'make buildworld' to do a native build. 1530 153120171003: 1532 When building multiple kernels using KERNCONF, non-existent KERNCONF 1533 files will produce an error and buildkernel will fail. Previously 1534 missing KERNCONF files silently failed giving no indication as to 1535 why, only to subsequently discover during installkernel that the 1536 desired kernel was never built in the first place. 1537 153820170912: 1539 The default serial number format for CTL LUNs has changed. This will 1540 affect users who use /dev/diskid/* device nodes, or whose FibreChannel 1541 or iSCSI clients care about their LUNs' serial numbers. Users who 1542 require serial number stability should hardcode serial numbers in 1543 /etc/ctl.conf . 1544 154520170912: 1546 For 32-bit arm compiled for hard-float support, soft-floating point 1547 binaries now always get their shared libraries from 1548 LD_SOFT_LIBRARY_PATH (in the past, this was only used if 1549 /usr/libsoft also existed). Only users with a hard-float ld.so, but 1550 soft-float everything else should be affected. 1551 155220170826: 1553 The geli password typed at boot is now hidden. To restore the previous 1554 behavior, see geli(8) for configuration options. 1555 155620170825: 1557 Move PMTUD blackhole counters to TCPSTATS and remove them from bare 1558 sysctl values. Minor nit, but requires a rebuild of both world/kernel 1559 to complete. 1560 156120170814: 1562 "make check" behavior (made in ^/head@r295380) has been changed to 1563 execute from a limited sandbox, as opposed to executing from 1564 ${TESTSDIR}. 1565 1566 Behavioral changes: 1567 - The "beforecheck" and "aftercheck" targets are now specified. 1568 - ${CHECKDIR} (added in commit noted above) has been removed. 1569 - Legacy behavior can be enabled by setting 1570 WITHOUT_MAKE_CHECK_USE_SANDBOX in src.conf(5) or the environment. 1571 1572 If the limited sandbox mode is enabled, "make check" will execute 1573 "make distribution", then install, execute the tests, and clean up the 1574 sandbox if successful. 1575 1576 The "make distribution" and "make install" targets are typically run as 1577 root to set appropriate permissions and ownership at installation time. 1578 The end-user should set "WITH_INSTALL_AS_USER" in src.conf(5) or the 1579 environment if executing "make check" with limited sandbox mode using 1580 an unprivileged user. 1581 158220170808: 1583 Since the switch to GPT disk labels, fsck for UFS/FFS has been 1584 unable to automatically find alternate superblocks. As of r322297, 1585 the information needed to find alternate superblocks has been 1586 moved to the end of the area reserved for the boot block. 1587 Filesystems created with a newfs of this vintage or later 1588 will create the recovery information. If you have a filesystem 1589 created prior to this change and wish to have a recovery block 1590 created for your filesystem, you can do so by running fsck in 1591 foreground mode (i.e., do not use the -p or -y options). As it 1592 starts, fsck will ask ``SAVE DATA TO FIND ALTERNATE SUPERBLOCKS'' 1593 to which you should answer yes. 1594 159520170728: 1596 As of r321665, an NFSv4 server configuration that services 1597 Kerberos mounts or clients that do not support the uid/gid in 1598 owner/owner_group string capability, must explicitly enable 1599 the nfsuserd daemon by adding nfsuserd_enable="YES" to the 1600 machine's /etc/rc.conf file. 1601 160220170722: 1603 Clang, llvm, lldb, compiler-rt and libc++ have been upgraded to 5.0.0. 1604 Please see the 20141231 entry below for information about prerequisites 1605 and upgrading, if you are not already using clang 3.5.0 or higher. 1606 160720170701: 1608 WITHOUT_RCMDS is now the default. Set WITH_RCMDS if you need the 1609 r-commands (rlogin, rsh, etc.) to be built with the base system. 1610 161120170625: 1612 The FreeBSD/powerpc platform now uses a 64-bit type for time_t. This is 1613 a very major ABI incompatible change, so users of FreeBSD/powerpc must 1614 be careful when performing source upgrades. It is best to run 1615 'make installworld' from an alternate root system, either a live 1616 CD/memory stick, or a temporary root partition. Additionally, all ports 1617 must be recompiled. powerpc64 is largely unaffected, except in the case 1618 of 32-bit compatibility. All 32-bit binaries will be affected. 1619 162020170623: 1621 Forward compatibility for the "ino64" project have been committed. This 1622 will allow most new binaries to run on older kernels in a limited 1623 fashion. This prevents many of the common foot-shooting actions in the 1624 upgrade as well as the limited ability to roll back the kernel across 1625 the ino64 upgrade. Complicated use cases may not work properly, though 1626 enough simpler ones work to allow recovery in most situations. 1627 162820170620: 1629 Switch back to the BSDL dtc (Device Tree Compiler). Set WITH_GPL_DTC 1630 if you require the GPL compiler. 1631 163220170618: 1633 The internal ABI used for communication between the NFS kernel modules 1634 was changed by r320085, so __FreeBSD_version was bumped to 1635 ensure all the NFS related modules are updated together. 1636 163720170617: 1638 The ABI of struct event was changed by extending the data 1639 member to 64bit and adding ext fields. For upgrade, same 1640 precautions as for the entry 20170523 "ino64" must be 1641 followed. 1642 164320170531: 1644 The GNU roff toolchain has been removed from base. To render manpages 1645 which are not supported by mandoc(1), man(1) can fallback on GNU roff 1646 from ports (and recommends to install it). 1647 To render roff(7) documents, consider using GNU roff from ports or the 1648 heirloom doctools roff toolchain from ports via pkg install groff or 1649 via pkg install heirloom-doctools. 1650 165120170524: 1652 The ath(4) and ath_hal(4) modules now build piecemeal to allow for 1653 smaller runtime footprint builds. This is useful for embedded systems 1654 which only require one chipset support. 1655 1656 If you load it as a module, make sure this is in /boot/loader.conf: 1657 1658 if_ath_load="YES" 1659 1660 This will load the HAL, all chip/RF backends and if_ath_pci. 1661 If you have if_ath_pci in /boot/loader.conf, ensure it is after 1662 if_ath or it will not load any HAL chipset support. 1663 1664 If you want to selectively load things (eg on cheaper ARM/MIPS 1665 platforms where RAM is at a premium) you should: 1666 1667 * load ath_hal 1668 * load the chip modules in question 1669 * load ath_rate, ath_dfs 1670 * load ath_main 1671 * load if_ath_pci and/or if_ath_ahb depending upon your particular 1672 bus bind type - this is where probe/attach is done. 1673 1674 For further comments/feedback, poke adrian@ . 1675 167620170523: 1677 The "ino64" 64-bit inode project has been committed, which extends 1678 a number of types to 64 bits. Upgrading in place requires care and 1679 adherence to the documented upgrade procedure. 1680 1681 If using a custom kernel configuration ensure that the 1682 COMPAT_FREEBSD11 option is included (as during the upgrade the 1683 system will be running the ino64 kernel with the existing world). 1684 1685 For the safest in-place upgrade begin by removing previous build 1686 artifacts via "rm -rf /usr/obj/*". Then, carefully follow the full 1687 procedure documented below under the heading "To rebuild everything and 1688 install it on the current system." Specifically, a reboot is required 1689 after installing the new kernel before installing world. While an 1690 installworld normally works by accident from multiuser after rebooting 1691 the proper kernel, there are many cases where this will fail across this 1692 upgrade and installworld from single user is required. 1693 169420170424: 1695 The NATM framework including the en(4), fatm(4), hatm(4), and 1696 patm(4) devices has been removed. Consumers should plan a 1697 migration before the end-of-life date for FreeBSD 11. 1698 169920170420: 1700 GNU diff has been replaced by a BSD licensed diff. Some features of GNU 1701 diff has not been implemented, if those are needed a newer version of 1702 GNU diff is available via the diffutils package under the gdiff name. 1703 170420170413: 1705 As of r316810 for ipfilter, keep frags is no longer assumed when 1706 keep state is specified in a rule. r316810 aligns ipfilter with 1707 documentation in man pages separating keep frags from keep state. 1708 This allows keep state to be specified without forcing keep frags 1709 and allows keep frags to be specified independently of keep state. 1710 To maintain previous behaviour, also specify keep frags with 1711 keep state (as documented in ipf.conf.5). 1712 171320170407: 1714 arm64 builds now use the base system LLD 4.0.0 linker by default, 1715 instead of requiring that the aarch64-binutils port or package be 1716 installed. To continue using aarch64-binutils, set 1717 CROSS_BINUTILS_PREFIX=/usr/local/aarch64-freebsd/bin . 1718 171920170405: 1720 The UDP optimization in entry 20160818 that added the sysctl 1721 net.inet.udp.require_l2_bcast has been reverted. L2 broadcast 1722 packets will no longer be treated as L3 broadcast packets. 1723 172420170331: 1725 Binds and sends to the loopback addresses, IPv6 and IPv4, will now 1726 use any explicitly assigned loopback address available in the jail 1727 instead of using the first assigned address of the jail. 1728 172920170329: 1730 The ctl.ko module no longer implements the iSCSI target frontend: 1731 cfiscsi.ko does instead. 1732 1733 If building cfiscsi.ko as a kernel module, the module can be loaded 1734 via one of the following methods: 1735 - `cfiscsi_load="YES"` in loader.conf(5). 1736 - Add `cfiscsi` to `$kld_list` in rc.conf(5). 1737 - ctladm(8)/ctld(8), when compiled with iSCSI support 1738 (`WITH_ISCSI=yes` in src.conf(5)) 1739 1740 Please see cfiscsi(4) for more details. 1741 174220170316: 1743 The mmcsd.ko module now additionally depends on geom_flashmap.ko. 1744 Also, mmc.ko and mmcsd.ko need to be a matching pair built from the 1745 same source (previously, the dependency of mmcsd.ko on mmc.ko was 1746 missing, but mmcsd.ko now will refuse to load if it is incompatible 1747 with mmc.ko). 1748 174920170315: 1750 The syntax of ipfw(8) named states was changed to avoid ambiguity. 1751 If you have used named states in the firewall rules, you need to modify 1752 them after installworld and before rebooting. Now named states must 1753 be prefixed with colon. 1754 175520170311: 1756 The old drm (sys/dev/drm/) drivers for i915 and radeon have been 1757 removed as the userland we provide cannot use them. The KMS version 1758 (sys/dev/drm2) supports the same hardware. 1759 176020170302: 1761 Clang, llvm, lldb, compiler-rt and libc++ have been upgraded to 4.0.0. 1762 Please see the 20141231 entry below for information about prerequisites 1763 and upgrading, if you are not already using clang 3.5.0 or higher. 1764 176520170221: 1766 The code that provides support for ZFS .zfs/ directory functionality 1767 has been reimplemented. It's not possible now to create a snapshot 1768 by mkdir under .zfs/snapshot/. That should be the only user visible 1769 change. 1770 177120170216: 1772 EISA bus support has been removed. The WITH_EISA option is no longer 1773 valid. 1774 177520170215: 1776 MCA bus support has been removed. 1777 177820170127: 1779 The WITH_LLD_AS_LD / WITHOUT_LLD_AS_LD build knobs have been renamed 1780 WITH_LLD_IS_LD / WITHOUT_LLD_IS_LD, for consistency with CLANG_IS_CC. 1781 178220170112: 1783 The EM_MULTIQUEUE kernel configuration option is deprecated now that 1784 the em(4) driver conforms to iflib specifications. 1785 178620170109: 1787 The igb(4), em(4) and lem(4) ethernet drivers are now implemented via 1788 IFLIB. If you have a custom kernel configuration that excludes em(4) 1789 but you use igb(4), you need to re-add em(4) to your custom 1790 configuration. 1791 179220161217: 1793 Clang, llvm, lldb, compiler-rt and libc++ have been upgraded to 3.9.1. 1794 Please see the 20141231 entry below for information about prerequisites 1795 and upgrading, if you are not already using clang 3.5.0 or higher. 1796 179720161124: 1798 Clang, llvm, lldb, compiler-rt and libc++ have been upgraded to 3.9.0. 1799 Please see the 20141231 entry below for information about prerequisites 1800 and upgrading, if you are not already using clang 3.5.0 or higher. 1801 180220161119: 1803 The layout of the pmap structure has changed for powerpc to put the pmap 1804 statistics at the front for all CPU variations. libkvm(3) and all tools 1805 that link against it need to be recompiled. 1806 180720161030: 1808 isl(4) and cyapa(4) drivers now require a new driver, 1809 chromebook_platform(4), to work properly on Chromebook-class hardware. 1810 On other types of hardware the drivers may need to be configured using 1811 device hints. Please see the corresponding manual pages for details. 1812 181320161017: 1814 The urtwn(4) driver was merged into rtwn(4) and now consists of 1815 rtwn(4) main module + rtwn_usb(4) and rtwn_pci(4) bus-specific 1816 parts. 1817 Also, firmware for RTL8188CE was renamed due to possible name 1818 conflict (rtwnrtl8192cU(B) -> rtwnrtl8192cE(B)) 1819 182020161015: 1821 GNU rcs has been removed from base. It is available as packages: 1822 - rcs: Latest GPLv3 GNU rcs version. 1823 - rcs57: Copy of the latest version of GNU rcs (GPLv2) before it was 1824 removed from base. 1825 182620161008: 1827 Use of the cc_cdg, cc_chd, cc_hd, or cc_vegas congestion control 1828 modules now requires that the kernel configuration contain the 1829 TCP_HHOOK option. (This option is included in the GENERIC kernel.) 1830 183120161003: 1832 The WITHOUT_ELFCOPY_AS_OBJCOPY src.conf(5) knob has been retired. 1833 ELF Tool Chain's elfcopy is always installed as /usr/bin/objcopy. 1834 183520160924: 1836 Relocatable object files with the extension of .So have been renamed 1837 to use an extension of .pico instead. The purpose of this change is 1838 to avoid a name clash with shared libraries on case-insensitive file 1839 systems. On those file systems, foo.So is the same file as foo.so. 1840 184120160918: 1842 GNU rcs has been turned off by default. It can (temporarily) be built 1843 again by adding WITH_RCS knob in src.conf. 1844 Otherwise, GNU rcs is available from packages: 1845 - rcs: Latest GPLv3 GNU rcs version. 1846 - rcs57: Copy of the latest version of GNU rcs (GPLv2) from base. 1847 184820160918: 1849 The backup_uses_rcs functionality has been removed from rc.subr. 1850 185120160908: 1852 The queue(3) debugging macro, QUEUE_MACRO_DEBUG, has been split into 1853 two separate components, QUEUE_MACRO_DEBUG_TRACE and 1854 QUEUE_MACRO_DEBUG_TRASH. Define both for the original 1855 QUEUE_MACRO_DEBUG behavior. 1856 185720160824: 1858 r304787 changed some ioctl interfaces between the iSCSI userspace 1859 programs and the kernel. ctladm, ctld, iscsictl, and iscsid must be 1860 rebuilt to work with new kernels. __FreeBSD_version has been bumped 1861 to 1200005. 1862 186320160818: 1864 The UDP receive code has been updated to only treat incoming UDP 1865 packets that were addressed to an L2 broadcast address as L3 1866 broadcast packets. It is not expected that this will affect any 1867 standards-conforming UDP application. The new behaviour can be 1868 disabled by setting the sysctl net.inet.udp.require_l2_bcast to 1869 0. 1870 187120160818: 1872 Remove the openbsd_poll system call. 1873 __FreeBSD_version has been bumped because of this. 1874 187520160708: 1876 The stable/11 branch has been created from head@r302406. 1877 1878After branch N is created, entries older than the N-2 branch point are removed 1879from this file. After stable/14 is branched and current becomes FreeBSD 15, 1880entries older than stable/12 branch point will be removed from current's 1881UPDATING file. 1882 1883COMMON ITEMS: 1884 1885 General Notes 1886 ------------- 1887 Sometimes, obscure build problems are the result of environment 1888 poisoning. This can happen because the make utility reads its 1889 environment when searching for values for global variables. To run 1890 your build attempts in an "environmental clean room", prefix all make 1891 commands with 'env -i '. See the env(1) manual page for more details. 1892 Occasionally a build failure will occur with "make -j" due to a race 1893 condition. If this happens try building again without -j, and please 1894 report a bug if it happens consistently. 1895 1896 When upgrading from one major version to another it is generally best to 1897 upgrade to the latest code in the currently installed branch first, then 1898 do an upgrade to the new branch. This is the best-tested upgrade path, 1899 and has the highest probability of being successful. Please try this 1900 approach if you encounter problems with a major version upgrade. Since 1901 the stable 4.x branch point, one has generally been able to upgrade from 1902 anywhere in the most recent stable branch to head / current (or even the 1903 last couple of stable branches). See the top of this file when there's 1904 an exception. 1905 1906 The update process will emit an error on an attempt to perform a build 1907 or install from a FreeBSD version below the earliest supported version. 1908 When updating from an older version the update should be performed one 1909 major release at a time, including running `make delete-old` at each 1910 step. 1911 1912 When upgrading a live system, having a root shell around before 1913 installing anything can help undo problems. Not having a root shell 1914 around can lead to problems if pam has changed too much from your 1915 starting point to allow continued authentication after the upgrade. 1916 1917 This file should be read as a log of events. When a later event changes 1918 information of a prior event, the prior event should not be deleted. 1919 Instead, a pointer to the entry with the new information should be 1920 placed in the old entry. Readers of this file should also sanity check 1921 older entries before relying on them blindly. Authors of new entries 1922 should write them with this in mind. 1923 1924 ZFS notes 1925 --------- 1926 When upgrading the boot ZFS pool to a new version (via zpool upgrade), 1927 always follow these three steps: 1928 1929 1) recompile and reinstall the ZFS boot loader and boot block 1930 (this is part of "make buildworld" and "make installworld") 1931 1932 2) update the ZFS boot block on your boot drive (only required when 1933 doing a zpool upgrade): 1934 1935 When booting on x86 via BIOS, use the following to update the ZFS boot 1936 block on the freebsd-boot partition of a GPT partitioned drive ada0: 1937 gpart bootcode -p /boot/gptzfsboot -i $N ada0 1938 The value $N will typically be 1. For EFI booting, see EFI notes. 1939 1940 3) zpool upgrade the root pool. New bootblocks will work with old 1941 pools, but not vice versa, so they need to be updated before any 1942 zpool upgrade. 1943 1944 Non-boot pools do not need these updates. 1945 1946 EFI notes 1947 --------- 1948 1949 There are two locations the boot loader can be installed into. The 1950 current location (and the default) is \efi\freebsd\loader.efi and using 1951 efibootmgr(8) to configure it. The old location, that must be used on 1952 deficient systems that don't honor efibootmgr(8) protocols, is the 1953 fallback location of \EFI\BOOT\BOOTxxx.EFI. Generally, you will copy 1954 /boot/loader.efi to this location, but on systems installed a long time 1955 ago the ESP may be too small and /boot/boot1.efi may be needed unless 1956 the ESP has been expanded in the meantime. 1957 1958 Recent systems will have the ESP mounted on /boot/efi, but older ones 1959 may not have it mounted at all, or mounted in a different 1960 location. Older arm SD images with MBR used /boot/msdos as the 1961 mountpoint. The ESP is a MSDOS filesystem. 1962 1963 The EFI boot loader rarely needs to be updated. For ZFS booting, 1964 however, you must update loader.efi before you do 'zpool upgrade' the 1965 root zpool, otherwise the old loader.efi may reject the upgraded zpool 1966 since it does not automatically understand some new features. 1967 1968 See loader.efi(8) and uefi(8) for more details. 1969 1970 To build a kernel 1971 ----------------- 1972 If you are updating from a prior version of FreeBSD (even one just 1973 a few days old), you should follow this procedure. It is the most 1974 failsafe as it uses a /usr/obj tree with a fresh mini-buildworld, 1975 1976 make kernel-toolchain 1977 make -DALWAYS_CHECK_MAKE buildkernel KERNCONF=YOUR_KERNEL_HERE 1978 make -DALWAYS_CHECK_MAKE installkernel KERNCONF=YOUR_KERNEL_HERE 1979 1980 If you are running kernel modules from ports, see FOOTNOTE [1]. 1981 1982 To test a kernel once 1983 --------------------- 1984 If you just want to boot a kernel once (because you are not sure 1985 if it works, or if you want to boot a known bad kernel to provide 1986 debugging information) run 1987 make installkernel KERNCONF=YOUR_KERNEL_HERE KODIR=/boot/testkernel 1988 nextboot -k testkernel 1989 1990 To rebuild everything and install it on the current system. 1991 ----------------------------------------------------------- 1992 # Note: sometimes if you are running current you gotta do more than 1993 # is listed here if you are upgrading from a really old current. 1994 1995 <make sure you have good level 0 dumps> 1996 make buildworld 1997 make buildkernel KERNCONF=YOUR_KERNEL_HERE 1998 make installkernel KERNCONF=YOUR_KERNEL_HERE [1] 1999 <reboot in single user> [3] 2000 etcupdate -p [5] 2001 make installworld 2002 etcupdate -B [4] 2003 make delete-old [6] 2004 <reboot> 2005 2006 To cross-install current onto a separate partition 2007 -------------------------------------------------- 2008 # In this approach we use a separate partition to hold 2009 # current's root, 'usr', and 'var' directories. A partition 2010 # holding "/", "/usr" and "/var" should be about 2GB in 2011 # size. 2012 2013 <make sure you have good level 0 dumps> 2014 <boot into -stable> 2015 make buildworld 2016 make buildkernel KERNCONF=YOUR_KERNEL_HERE [1] 2017 <maybe newfs current's root partition> 2018 <mount current's root partition on directory ${CURRENT_ROOT}> 2019 make installworld DESTDIR=${CURRENT_ROOT} -DDB_FROM_SRC 2020 make distribution DESTDIR=${CURRENT_ROOT} # if newfs'd 2021 make installkernel KERNCONF=YOUR_KERNEL_HERE DESTDIR=${CURRENT_ROOT} 2022 cp /etc/fstab ${CURRENT_ROOT}/etc/fstab # if newfs'd 2023 <edit ${CURRENT_ROOT}/etc/fstab to mount "/" from the correct partition> 2024 <reboot into current> 2025 <do a "native" rebuild/install as described in the previous section> 2026 <maybe install compatibility libraries from ports/misc/compat*> 2027 <reboot> 2028 2029 2030 To upgrade in-place from stable to current 2031 ---------------------------------------------- 2032 <make sure you have good level 0 dumps> 2033 make buildworld [9] 2034 make buildkernel KERNCONF=YOUR_KERNEL_HERE [8] 2035 make installkernel KERNCONF=YOUR_KERNEL_HERE [1] 2036 <reboot in single user> [3] 2037 etcupdate -p [5] 2038 make installworld 2039 etcupdate -B [4] 2040 make delete-old [6] 2041 <reboot> 2042 2043 Make sure that you've read the UPDATING file to understand the 2044 tweaks to various things you need. At this point in the life 2045 cycle of current, things change often and you are on your own 2046 to cope. The defaults can also change, so please read ALL of 2047 the UPDATING entries. 2048 2049 Also, if you are tracking -current, you must be subscribed to 2050 [email protected]. Make sure that before you update 2051 your sources that you have read and understood all the recent 2052 messages there. If in doubt, please track -stable which has 2053 much fewer pitfalls. 2054 2055FOOTNOTES: 2056 2057 [1] If you have third party modules, such as drm-kmod or vmware, you 2058 should disable them at this point so they don't crash your system on 2059 reboot. Alternatively, you should rebuild all the modules you have in 2060 your system and install them as well. If you are running -current, you 2061 should seriously consider placing all sources to all the modules for 2062 your system (or symlinks to them) in /usr/local/sys/modules so this 2063 happens automatically. If all your modules come from ports, then adding 2064 the port origin directories to PORTS_MODULES instead is also automatic 2065 and effective, eg: 2066 PORTS_MODULES+=x11/nvidia-driver 2067 2068 [3] From the bootblocks, boot -s, and then do 2069 fsck -p 2070 mount -u / 2071 mount -a 2072 sh /etc/rc.d/zfs start # mount zfs filesystem, if needed 2073 cd src # full path to source 2074 adjkerntz -i # if CMOS is wall time 2075 Also, when doing a major release upgrade, it is required that you boot 2076 into single user mode to do the installworld. 2077 2078 [4] Note: This step is non-optional. Failure to do this step 2079 can result in a significant reduction in the functionality of the 2080 system. Attempting to do it by hand is not recommended and those 2081 that pursue this avenue should read this file carefully, as well 2082 as the archives of freebsd-current and freebsd-hackers mailing lists 2083 for potential gotchas. See etcupdate(8) for more information. 2084 2085 [5] Usually this step is a no-op. However, from time to time 2086 you may need to do this if you get unknown user in the following 2087 step. 2088 2089 [6] This only deletes old files and directories. Old libraries 2090 can be deleted by "make delete-old-libs", but you have to make 2091 sure that no program is using those libraries anymore. 2092 2093 [8] The new kernel must be able to run existing binaries used by an 2094 installworld. When upgrading across major versions, the new kernel's 2095 configuration must include the correct COMPAT_FREEBSD<n> option for 2096 existing binaries (e.g. COMPAT_FREEBSD11 to run 11.x binaries). Failure 2097 to do so may leave you with a system that is hard to boot to recover. A 2098 GENERIC kernel will include suitable compatibility options to run 2099 binaries from older branches. Note that the ability to run binaries 2100 from unsupported branches is not guaranteed. 2101 2102 Make sure that you merge any new devices from GENERIC since the 2103 last time you updated your kernel config file. Options also 2104 change over time, so you may need to adjust your custom kernels 2105 for these as well. 2106 2107 [9] If CPUTYPE is defined in your /etc/make.conf, make sure to use the 2108 "?=" instead of the "=" assignment operator, so that buildworld can 2109 override the CPUTYPE if it needs to. 2110 2111 MAKEOBJDIRPREFIX must be defined in an environment variable, and 2112 not on the command line, or in /etc/make.conf. buildworld will 2113 warn if it is improperly defined. 2114FORMAT: 2115 2116This file contains a list, in reverse chronological order, of major 2117breakages in tracking -current. It is not guaranteed to be a complete 2118list of such breakages, and only contains entries since September 23, 2011. 2119If you need to see UPDATING entries from before that date, you will need 2120to fetch an UPDATING file from an older FreeBSD release. 2121 2122Copyright information: 2123 2124Copyright 1998-2009 M. Warner Losh <[email protected]> 2125 2126Redistribution, publication, translation and use, with or without 2127modification, in full or in part, in any form or format of this 2128document are permitted without further permission from the author. 2129 2130THIS DOCUMENT IS PROVIDED BY WARNER LOSH ``AS IS'' AND ANY EXPRESS OR 2131IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 2132WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 2133DISCLAIMED. IN NO EVENT SHALL WARNER LOSH BE LIABLE FOR ANY DIRECT, 2134INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 2135(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 2136SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2137HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 2138STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 2139IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 2140POSSIBILITY OF SUCH DAMAGE. 2141 2142Contact Warner Losh if you have any questions about your use of 2143this document. 2144