UPDATING 88 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170
  1. Updating Information for users of FreeBSD-CURRENT.
  2. This file is maintained and copyrighted by M. Warner Losh <imp@freebsd.org>.
  3. See end of file for further details. For commonly done items, please see the
  4. COMMON ITEMS: section later in the file. These instructions assume that you
  5. basically know what you are doing. If not, then please consult the FreeBSD
  6. handbook:
  7. https://docs.freebsd.org/en/books/handbook/cutting-edge/#makeworld
  8. Items affecting the ports and packages system can be found in
  9. /usr/ports/UPDATING. Please read that file before updating system packages
  10. and/or ports.
  11. NOTE TO PEOPLE WHO THINK THAT FreeBSD 15.x IS SLOW:
  12. FreeBSD 15.x has many debugging features turned on, in both the kernel
  13. and userland. These features attempt to detect incorrect use of
  14. system primitives, and encourage loud failure through extra sanity
  15. checking and fail stop semantics. They also substantially impact
  16. system performance. If you want to do performance measurement,
  17. benchmarking, and optimization, you'll want to turn them off. This
  18. includes various WITNESS- related kernel options, INVARIANTS, malloc
  19. debugging flags in userland, and various verbose features in the
  20. kernel. Many developers choose to disable these features on build
  21. machines to maximize performance. (To completely disable malloc
  22. debugging, define WITH_MALLOC_PRODUCTION in /etc/src.conf and rebuild
  23. world, or to merely disable the most expensive debugging functionality
  24. at runtime, run "ln -s 'abort:false,junk:false' /etc/malloc.conf".)
  25. 20240712:
  26. Support for armv6 has been disconnected and is being removed.
  27. 20240617:
  28. ifconfig now treats IPv4 addresses without a width or mask as an error.
  29. Specify the desired mask or width along with the IP address on the
  30. ifconfig command line and in rc.conf.
  31. 20240428:
  32. OpenBSM auditing runtime (auditd, etc.) has been moved into the new
  33. package FreeBSD-audit. If you use OpenBSM auditing and pkgbase, you
  34. should install FreeBSD-audit.
  35. 20240424:
  36. cron, lpr, and ntpd have been moved from FreeBSD-utilities into their
  37. own packages. If you use pkgbase, you should install the relevant
  38. packages: FreeBSD-cron, FreeBSD-lp, or FreeBSD-ntp.
  39. 20240205:
  40. For dynamically linked programs, system calls are now made from
  41. libsys rather than libc. No change in linkage is required as
  42. libsys is an auxiliary filter for libc. People building custom
  43. images must ensure that libsys.so.7 is included.
  44. 20240202:
  45. Loader now also read configuration files listed in local_loader_conf_files.
  46. Files listed here are the last ones read. And /boot/loader.conf.local was
  47. moved from loader_conf_files to local_loader_conf_files leaving only
  48. loader.conf and device.hints in loader_conf_files by default.
  49. The following sequencing is applied:
  50. 1. Bootstrap:
  51. /boot/defaults/loader.conf
  52. 2. Read loader_conf_files files:
  53. /boot/device.hints
  54. /boot/loader.conf
  55. 3. Read loader_conf_dirs files:
  56. /boot/loader.conf.d/*.conf
  57. 4. And finally, rread local_loader_conf_files files:
  58. /boot/loader.conf.local
  59. 20240201:
  60. sendmail 8.18.1 has been imported and merged. This version enforces
  61. stricter RFC compliance by default, especially with respect to line
  62. endings. This may cause issues with receiving messages from
  63. non-compliant MTAs; please see the first 8.18.1 release note in
  64. contrib/sendmail/RELEASE_NOTES for mitigations.
  65. 20240111:
  66. Commit cc760de2183f changed the internal interface between
  67. the nfscommon and nfscl modules. As such, both need to be
  68. rebuilt from sources. Therefore, __FreeBSD_version was
  69. bumped to 1500010.
  70. 20231120:
  71. If you have an arm64 system that uses ACPI, you will need to update your
  72. loader.efi in the ESP when you update past this point. Detection of ACPI
  73. was moved earlier in the binary so the scripts could use it, but old
  74. binaries don't have this, so we default to 'no ACPI' in this case. You can
  75. undisable ACPI by doing
  76. OK unset hint.acpi.0.disabled
  77. This can also be used to recover any other system that was updated in the
  78. small window where amd64 was also broken.
  79. 20231113:
  80. The WITHOUT_LLD_IS_LD option has been removed. When LLD is enabled
  81. it is always installed as /usr/bin/ld.
  82. 20231027:
  83. Forward compatibility (running the new code on old kernels) for the
  84. "ino64" project have been removed. The need for it has passed long ago.
  85. 20231018:
  86. Commit 57ce37f9dcd0 changed the internal KAPI between the
  87. nfscommon and nfscl modules. Both must be rebuilt from sources.
  88. 20231010:
  89. dialog(1) has been replaced in base by bsddialog(1), while most of the
  90. time replacing a dialog(1) call by a bsddialog(1) call works out of the
  91. box, bsddialog(1) is not considered as a drop-in replacement for
  92. dialog(1).
  93. If you do depend on dialog(1) functionality, please install cdialog
  94. from ports:
  95. pkg install cdialog
  96. 20230927:
  97. The EARLY_AP_STARTUP kernel option is mandatory on x86. The option
  98. has been added to DEFAULTS, so it should automatically be included in
  99. custom kernel configurations without any additional change.
  100. 20230922:
  101. A new loader tunable net.pf.default_to_drop allows pf(4)’s default
  102. behaviour to be changed from pass to drop. Previously this required
  103. recompiling the kernel with the option PF_DEFAULT_TO_DROP.
  104. 20230914:
  105. Enable splitting out pkgbase manpages into separate packages by
  106. default. To disable this, set WITHOUT_MANSPLITPKG=yes in src.conf.
  107. 20230911:
  108. Move standard include files to the clibs-dev package and move clang
  109. internal libraries and headers to clang and clang-dev. Upgrading systems
  110. installed using pkgbase past this change involves extra steps to allow
  111. for these file moves:
  112. pkg upgrade -y FreeBSD-utilities
  113. pkg upgrade -y FreeBSD-utilities-dev
  114. pkg upgrade -y
  115. 20230909:
  116. Enable vnet sysctl variables to be loader tunable. SYSCTLs which
  117. belongs to VNETs can be initialized during early boot or module
  118. loading if they are marked with CTLFLAG_TUN and there are
  119. corresponding kernel environment variables.
  120. 20230901:
  121. The WITH_INIT_ALL_PATTERN and WITH_INIT_ALL_ZERO build options have
  122. been replaced by INIT_ALL=pattern and INIT_ALL=zero respectively.
  123. 20230824:
  124. FreeBSD 15.0-CURRENT.
  125. 20230817:
  126. Serial communication (in boot loaders, kernel, and userland) has
  127. been changed to default to 115200 bps, in line with common industry
  128. practice and typcial firmware serial console redirection
  129. configuration.
  130. Note that the early x86 BIOS bootloader (i.e., boot0sio) does not
  131. support rates above 9600 bps and is not changed. boot0sio users may
  132. set BOOT_COMCONSOLE_SPEED=9600 to use 9600 for all of the boot
  133. components, or use the standard boot0 and have the boot2 stage start
  134. with the serial port at 115200.
  135. 20230807:
  136. Following the general removal of MIPS support, the ath(4) AHB bus-
  137. frontend has been removed, too, and building of the PCI support is
  138. integrated with the ath(4) main module again. As a result, there's
  139. no longer a need for if_ath_pci_load="YES" in /boot/loader.conf or
  140. "device ath_pci" in the kernel configuration.
  141. 20230803:
  142. MAXCPU has been increased to 1024 in the amd64 GENERIC kernel config.
  143. Out-of-tree kernel modules will need to be rebuilt.
  144. 20230724:
  145. CAM has been mechanically updated s/u_int(64|32|16|8)_t/uint\1_t/g
  146. to move to the standard uintXX_t types from the old, traditional
  147. BSD u_intXX_t types. This should be a NOP, but may cause problems
  148. for out of tree changes. The SIMs were not updated since most of
  149. the old u_intXX_t uses weren't due to CAM interfaces.
  150. 20230713:
  151. stable/14 branch created.
  152. 20230629:
  153. The heuristic for detecting old chromebooks with an EC bug that requires
  154. atkbdc driver workarounds has changed. There should be no functional
  155. change, but if your old chromebook's keyboard stops working, please
  156. file a PR and assign it to imp.
  157. 20230623:
  158. OpenSSL has been updated to version 3.0, including changes throughout
  159. the base system. It is important to rebuild third-party software
  160. after upgrading.
  161. 20230619:
  162. To enable pf rdr rules for connections initiated from the host, pf
  163. filter rules can be optionally enabled for packets delivered
  164. locally. This can change the behavior of rules which match packets
  165. delivered to lo0. To enable this feature:
  166. sysctl net.pf.filter_local=1
  167. service pf restart
  168. When enabled, its best to ensure that packets delivered locally are not
  169. filtered, e.g. by adding a 'skip on lo' rule.
  170. 20230613:
  171. Improvements to libtacplus(8) mean that tacplus.conf(5) now
  172. follows POSIX shell syntax rules. This may cause TACACS+
  173. authentication to fail if the shared secret contains a single
  174. quote, double quote, or backslash character which isn't
  175. already properly quoted or escaped.
  176. 20230612:
  177. Belatedly switch the default nvme block device on x86 from nvd to nda.
  178. nda created nvd compatibility links by default, so this should be a
  179. nop. If this causes problems for your application, set hw.nvme.use_nvd=1
  180. in your loader.conf or add `options NVME_USE_NVD=1` to your kernel
  181. config. To disable the nvd compatibility aliases, add
  182. kern.cam.nda.nvd_compat=0 to loader.conf. The default has been nda on
  183. all non-x86 platforms for some time now. If you need to fall back,
  184. please email imp@freebsd.org about why.
  185. Encrypted swap partitions need to be changed from nvd to nda if you
  186. migrate, or you need to use the above to switch back to nvd.
  187. 20230422:
  188. Remove portsnap(8). Users are encouraged to obtain the ports tree
  189. using git instead.
  190. 20230420:
  191. Add jobs.mk to save typing. Enables -j${JOB_MAX} and logging
  192. eg.
  193. make buildworld-jobs
  194. runs
  195. make -j${JOB_MAX} buildworld > ../buildworld.log 2>&1
  196. where JOB_MAX is derrived from ncpus in local.sys.mk if not set in env.
  197. 20230316:
  198. Video related devices for some arm devices have been renamed.
  199. If you have a custom kernel config and want to use hdmi output on
  200. IMX6 board you need to add "device dwc_hdmi" "device imx6_hdmi" and
  201. "device imx6_ipu" to it.
  202. If you have a custom kernel config and want to use hdmi output on
  203. TI AM335X board you need to add "device tda19988" to it.
  204. If you add "device hdmi" in it you need to remove it as it doesn't
  205. exist anymore.
  206. 20230221:
  207. Introduce new kernel options KBD_DELAY1 and KBD_DELAY2. See atkbdc(4)
  208. for details.
  209. 20230206:
  210. sshd now defaults to having X11Forwarding disabled, following upstream.
  211. Administrators who wish to enable X11Forwarding should add
  212. `X11Forwarding yes` to /etc/ssh/sshd_config.
  213. 20230204:
  214. Since commit 75d41cb6967 Huawei 3G/4G LTE Mobile Devices do not default
  215. to ECM, but NCM mode and need u3g and ucom modules loaded. See cdce(4).
  216. 20230130:
  217. As of commit 7c40e2d5f685, the dependency on netlink(4) has been added
  218. to the linux_common(4) module. Users relying on linux_common may need
  219. to complile netlink(4) module if it is not present in their kernel.
  220. 20230126:
  221. The WITHOUT_CXX option has been removed. C++ components in the base
  222. system are now built unconditionally.
  223. 20230113:
  224. LinuxKPI pci.h changes may require out-of-tree drivers to be recompiled.
  225. Bump _FreeBSD_version to 1400078 to be able to detect this change.
  226. 20221212:
  227. llvm-objump is now always installed as objdump. Previously there was
  228. no /usr/bin/objdump unless the WITH_LLVM_BINUTILS knob was used.
  229. Some LLVM objdump options have a different output format compared to
  230. GNU objdump; readelf is available for inspecting ELF files, and GNU
  231. objdump is available from the devel/binutils port or package.
  232. 20221205:
  233. dma(8) has replaced sendmail(8) as the default mta. For people willing
  234. to reenable sendmail(8):
  235. $ cp /usr/share/examples/sendmail/mailer.conf /etc/mail/mailer.conf
  236. and add sendmail_enable="YES" to rc.conf.
  237. 20221204:
  238. hw.bus.disable_failed_devices has changed from 'false' to 'true' by
  239. default. Now if newbus succeeds in probing a device, but fails to attach
  240. the device, we'll disable the device. In the past, we'd keep retrying
  241. the device on each new driver loaded. To get that behavior now, one
  242. needs to use devctl to re-enable the device, and reprobe it (or set
  243. the sysctl/tunable hw.bus.disable_failed_devices=false).
  244. NOTE: This was reverted 20221205 due to unexpected compatibility issues
  245. 20221122:
  246. pf no longer accepts 'scrub fragment crop' or 'scrub fragment drop-ovl'.
  247. These configurations are no longer automatically reinterpreted as
  248. 'scrub fragment reassemble'.
  249. 20221121:
  250. The WITHOUT_CLANG_IS_CC option has been removed. When Clang is enabled
  251. it is always installed as /usr/bin/cc (and c++, cpp).
  252. 20221026:
  253. Some programs have been moved into separate packages. It is recommended
  254. for pkgbase users to do:
  255. pkg install FreeBSD-dhclient FreeBSD-geom FreeBSD-resolvconf \
  256. FreeBSD-devd FreeBSD-devmatch
  257. after upgrading to restore all the component that were previously
  258. installed.
  259. 20221002:
  260. OPIE has been removed from the base system. If needed, it can
  261. be installed from ports (security/opie) or packages (opie).
  262. Otherwise, make sure that your PAM policies do not reference
  263. pam_opie or pam_opieaccess.
  264. 20220610:
  265. LinuxKPI pm.h changes require an update to the latest drm-kmod version
  266. before re-compiling to avoid errors.
  267. 20211230:
  268. The macros provided for the manipulation of CPU sets (e.g. CPU_AND)
  269. have been modified to take 2 source arguments instead of only 1.
  270. Externally maintained sources that use these macros will have to
  271. be adapted. The FreeBSD version has been bumped to 1400046 to
  272. reflect this change.
  273. 20211214:
  274. A number of the kernel include files are able to be included by
  275. themselves. A test has been added to buildworld to enforce this.
  276. 20211209:
  277. Remove mips as a recognized target. This starts the decommissioning of
  278. mips support in FreeBSD. mips related items will be removed wholesale in
  279. the coming days and weeks.
  280. This broke the NO_CLEAN build for some people. Either do a clean build
  281. or touch
  282. lib/clang/include/llvm/Config/Targets.def
  283. lib/clang/include/llvm/Config/AsmParsers.def
  284. lib/clang/include/llvm/Config/Disassemblers.def
  285. lib/clang/include/llvm/Config/AsmPrinters.def
  286. before the build to force everything to rebuild that needs to.
  287. 20211202:
  288. Unbound support for RFC8375: The special-use domain 'home.arpa' is
  289. by default blocked. To unblock it use a local-zone nodefault
  290. statement in unbound.conf:
  291. local-zone: "home.arpa." nodefault
  292. Or use another type of local-zone to override with your choice.
  293. The reason for this is discussed in Section 6.1 of RFC8375:
  294. Because 'home.arpa.' is not globally scoped and cannot be secured
  295. using DNSSEC based on the root domain's trust anchor, there is no way
  296. to tell, using a standard DNS query, in which homenet scope an answer
  297. belongs. Consequently, users may experience surprising results with
  298. such names when roaming to different homenets.
  299. 20211110:
  300. Commit b8d60729deef changed the TCP congestion control framework so
  301. that any of the included congestion control modules could be
  302. the single module built into the kernel. Previously newreno
  303. was automatically built in through direct reference. As of
  304. this commit you are required to declare at least one congestion
  305. control module (e.g. 'options CC_NEWRENO') and to also declare a
  306. default using the CC_DEFAULT option (e.g. options CC_DEFAULT="newreno\").
  307. The GENERIC configuration includes CC_NEWRENO and defines newreno
  308. as the default. If no congestion control option is built into the
  309. kernel and you are including networking, the kernel compile will
  310. fail. Also if no default is declared the kernel compile will fail.
  311. 20211118:
  312. Mips has been removed from universe builds. It will be removed from the
  313. tree shortly.
  314. 20211106:
  315. Commit f0c9847a6c47 changed the arguments for VOP_ALLOCATE.
  316. The NFS modules must be rebuilt from sources and any out
  317. of tree file systems that implement their own VOP_ALLOCATE
  318. may need to be modified.
  319. 20211022:
  320. The synchronous PPP kernel driver sppp(4) has been removed.
  321. The cp(4) and ce(4) drivers are now always compiled with netgraph(4)
  322. support, formerly enabled by NETGRAPH_CRONYX option.
  323. 20211020:
  324. sh(1) is now the default shell for the root user. To force root to use
  325. the csh shell, please run the following command as root:
  326. # chsh -s csh
  327. 20211004:
  328. Ncurses distribution has been split between libtinfow and libncurses
  329. with libncurses.so becoming a linker (ld) script to seamlessly link
  330. to libtinfow as needed. Bump _FreeBSD_version to 1400035 to reflect
  331. this change.
  332. 20210923:
  333. As of commit 8160a0f62be6, the dummynet module no longer depends on the
  334. ipfw module. Dummynet can now be used by pf as well as ipfw. As such
  335. users who relied on this dependency may need to include ipfw in the
  336. list of modules to load on their systems.
  337. 20210922:
  338. As of commit 903873ce1560, the mixer(8) utility has got a slightly
  339. new syntax. Please refer to the mixer(8) manual page for more
  340. information. The old mixer utility can be installed from ports:
  341. audio/freebsd-13-mixer
  342. 20210911:
  343. As of commit 55089ef4f8bb, the global variable nfs_maxcopyrange has
  344. been deleted from the nfscommon.ko. As such, nfsd.ko must be built
  345. from up to date sources to avoid an undefined reference when
  346. being loaded.
  347. 20210817:
  348. As of commit 62ca9fc1ad56 OpenSSL no longer enables kernel TLS
  349. by default. Users can enable kernel TLS via the "KTLS" SSL
  350. option. This can be enabled globally by using a custom
  351. OpenSSL config file via OPENSSL_CONF or via an
  352. application-specific configuration option for applications
  353. which permit setting SSL options via SSL_CONF_cmd(3).
  354. 20210811:
  355. Commit 3ad1e1c1ce20 changed the internal KAPI between the NFS
  356. modules. Therefore, all need to be rebuilt from sources.
  357. 20210730:
  358. Commit b69019c14cd8 removes pf's DIOCGETSTATESNV ioctl.
  359. As of be70c7a50d32 it is no longer used by userspace, but it does mean
  360. users may not be able to enumerate pf states if they update the kernel
  361. past b69019c14cd8 without first updating userspace past be70c7a50d32.
  362. 20210729:
  363. As of commit 01ad0c007964 if_bridge member interfaces can no longer
  364. change their MTU. Changing the MTU of the bridge itself will change the
  365. MTU on all member interfaces instead.
  366. 20210716:
  367. Commit ee29e6f31111 changed the internal KAPI between the nfscommon
  368. and nfsd modules. Therefore, both need to be rebuilt from sources.
  369. Bump __FreeBSD_version to 1400026 for this KAPI change.
  370. 20210715:
  371. The 20210707 awk update brought in a change in behavior. This has
  372. been corrected as of d4d252c49976. Between these dates, if you
  373. installed a new awk binary, you may not be able to build a new
  374. kernel because the change in behavior affected the genoffset
  375. script used to build the kernel. If you did update, the fix is
  376. to update your sources past the above hash and do
  377. % cd usr.bin/awk
  378. % make clean all
  379. % sudo -E make install
  380. to enable building kernels again.
  381. 20210708:
  382. Commit 1e0a518d6548 changed the internal KAPI between the NFS
  383. modules. They all need to be rebuilt from sources. I did not
  384. bump __FreeBSD_version, since it was bumped recently.
  385. 20210707:
  386. awk has been updated to the latest one-true-awk version 20210215.
  387. This contains a number of minor bug fixes.
  388. 20210624:
  389. The NFSv4 client now uses the highest minor version of NFSv4
  390. supported by the NFSv4 server by default instead of minor version 0,
  391. for NFSv4 mounts.
  392. The "minorversion" mount option may be used to override this default.
  393. 20210618:
  394. Bump __FreeBSD_version to 1400024 for LinuxKPI changes.
  395. Most notably netdev.h can change now as the (last) dependencies
  396. (mlx4/ofed) are now using struct ifnet directly, but also for PCI
  397. additions and others.
  398. 20210618:
  399. The directory "blacklisted" under /usr/share/certs/ has been
  400. renamed to "untrusted".
  401. 20210611:
  402. svnlite has been removed from base. Should you need svn for any reason
  403. please install the svn package or port.
  404. 20210611:
  405. Commit e1a907a25cfa changed the internal KAPI between the krpc
  406. and nfsserver. As such, both modules must be rebuilt from
  407. sources. Bump __FreeBSD_version to 1400022.
  408. 20210610:
  409. The an(4) driver has been removed from FreeBSD.
  410. 20210608:
  411. The vendor/openzfs branch was renamed to vendor/openzfs/legacy to
  412. start tracking OpenZFS upstream more closely. Please see
  413. https://lists.freebsd.org/archives/freebsd-current/2021-June/000153.html
  414. for details on how to correct any errors that might result. The
  415. short version is that you need to remove the old branch locally:
  416. git update-ref -d refs/remotes/freebsd/vendor/openzfs
  417. (assuming your upstream origin is named 'freebsd').
  418. 20210525:
  419. Commits 17accc08ae15 and de102f870501 add new files to LinuxKPI
  420. which break drm-kmod. In addition various other additions where
  421. committed. Bump __FreeBSD_version to 1400015 to be able to
  422. detect this.
  423. 20210513:
  424. Commit ca179c4d74f2 changed the package in which the OpenSSL
  425. libraries and utilities are packaged.
  426. It is recommended for pkgbase user to do:
  427. pkg install -f FreeBSD-openssl
  428. before pkg upgrade otherwise some dependencies might not be met
  429. and pkg will stop working as libssl will not be present anymore
  430. on the system.
  431. 20210426:
  432. Commit 875977314881 changed the internal KAPI between
  433. the nfsd and nfscommon modules. As such these modules
  434. need to be rebuilt from sources.
  435. Without this patch in your NFSv4.1/4.2 server, enabling
  436. delegations by setting vfs.nfsd.issue_delegations non-zero
  437. is not recommended.
  438. 20210411:
  439. Commit 7763814fc9c2 changed the internal KAPI between
  440. the krpc and NFS. As such, the krpc, nfscommon and
  441. nfscl modules must all be rebuilt from sources.
  442. Without this patch, NFSv4.1/4.2 mounts should not
  443. be done with the nfscbd(8) daemon running, to avoid
  444. needing a working back channel for server->client RPCs.
  445. 20210330:
  446. Commit 01ae8969a9ee fixed the NFSv4.1/4.2 server so that it
  447. handles binding of the back channel as required by RFC5661.
  448. Until this patch is in your server, avoid use of the "nconnects"
  449. mount option for Linux NFSv4.1/4.2 mounts.
  450. 20210225:
  451. For 64-bit architectures the base system is now built with Position
  452. Independent Executable (PIE) support enabled by default. It may be
  453. disabled using the WITHOUT_PIE knob. A clean build is required.
  454. 20210128:
  455. Various LinuxKPI functionality was added which conflicts with DRM.
  456. Please update your drm-kmod port to after the __FreeBSD_version 1400003
  457. update.
  458. 20210121:
  459. stable/13 branch created.
  460. 20210108:
  461. PC Card attachments for all devices have been removed. In the case of
  462. wi and cmx, the entire drivers were removed because they were only
  463. PC Card devices. FreeBSD_version 1300134 should be used for this
  464. since it was bumped so recently.
  465. 20210107:
  466. Transport-independent parts of HID support have been split off the USB
  467. code in to separate subsystem. Kernel configs which include one of
  468. ums, ukbd, uhid, atp, wsp, wmt, uaudio, ugold or ucycom drivers should
  469. be updated with adding of "device hid" line.
  470. 20210105:
  471. ncurses installation has been modified to only keep the widechar
  472. enabled version. Incremental build is broken for that change, so it
  473. requires a clean build.
  474. 20201223:
  475. The FreeBSD project has migrated from Subversion to Git. Temporary
  476. instructions can be found at
  477. https://github.com/bsdimp/freebsd-git-docs/blob/main/src-cvt.md
  478. and other documents in that repo.
  479. 20201216:
  480. The services database has been updated to cover more of the basic
  481. services expected in a modern system. The database is big enough
  482. that it will cause issues in mergemaster in Releases previous to
  483. 12.2 and 11.3, or in very old current systems from before r358154.
  484. 20201215:
  485. Obsolete in-tree GDB 6.1.1 has been removed. GDB (including kgdb)
  486. may be installed from ports or packages.
  487. 20201124:
  488. ping6 has been merged into ping. It can now be called as "ping -6".
  489. See ping(8) for details.
  490. 20201108:
  491. Default value of net.add_addr_allfibs has been changed to 0.
  492. If you have multi-fib configuration and rely on existence of all
  493. interface routes in every fib, you need to set the above sysctl to 1.
  494. 20201030:
  495. The internal pre-processor in the calendar(1) program has been
  496. extended to support more C pre-processor commands (e.g. #ifdef, #else,
  497. and #undef) and to detect unbalanced conditional statements.
  498. Error messages have been extended to include the filename and line
  499. number if processing stops to help fixing malformed data files.
  500. 20201026:
  501. All the data files for the calendar(1) program, except calendar.freebsd,
  502. have been moved to the deskutils/calendar-data port, much like the
  503. jewish calendar entries were moved to deskutils/hebcal years ago. After
  504. make delete-old-files, you need to install it to retain full
  505. functionality. calendar(1) will issue a reminder for files it can't
  506. find.
  507. 20200923:
  508. LINT files are no longer generated. We now include the relevant NOTES
  509. files. Note: This may cause conflicts with updating in some cases.
  510. find sys -name LINT\* -delete
  511. is suggested across this commit to remove the generated LINT files.
  512. If you have tried to update with generated files there, the svn
  513. command you want to un-auger the tree is
  514. cd sys/amd64/conf
  515. svn revert -R .
  516. and then do the above find from the top level. Substitute 'amd64'
  517. above with where the error message indicates a conflict.
  518. 20200824:
  519. OpenZFS support has been integrated. Do not upgrade root pools until
  520. the loader is updated to support zstd. Furthermore, we caution against
  521. 'zpool upgrade' for the next few weeks. The change should be transparent
  522. unless you want to use new features.
  523. Not all "NO_CLEAN" build scenarios work across these changes. Many
  524. scenarios have been tested and fixed, but rebuilding kernels without
  525. rebuilding world may fail.
  526. The ZFS cache file has moved from /boot to /etc to match the OpenZFS
  527. upstream default. A fallback to /boot has been added for mountroot.
  528. Pool auto import behavior at boot has been moved from the kernel module
  529. to an explicit "zpool import -a" in one of the rc scripts enabled by
  530. zfs_enable=YES. This means your non-root zpools won't auto import until
  531. you upgrade your /etc/rc.d files.
  532. 20200824:
  533. The resume code now notifies devd with the 'kernel' system
  534. rather than the old 'kern' subsystem to be consistent with
  535. other use. The old notification will be created as well, but
  536. will be removed prior to FreeBSD 14.0.
  537. 20200821:
  538. r362275 changed the internal API between the kernel RPC and the
  539. NFS modules. As such, all the modules must be recompiled from
  540. sources.
  541. 20200817:
  542. r364330 modified the internal API used between the NFS modules.
  543. As such, all the NFS modules must be re-compiled from sources.
  544. 20200816:
  545. Clang, llvm, lld, lldb, compiler-rt, libc++, libunwind and openmp have
  546. been upgraded to 11.0.0. Please see the 20141231 entry below for
  547. information about prerequisites and upgrading, if you are not already
  548. using clang 3.5.0 or higher.
  549. 20200810:
  550. r364092 modified the internal ABI used between the kernel NFS
  551. modules. As such, all of these modules need to be rebuilt
  552. from sources, so a version bump was done.
  553. 20200807:
  554. Makefile.inc has been updated to work around the issue documented in
  555. 20200729. It was a case where the optimization of using symbolic links
  556. to point to binaries created a situation where we'd run new binaries
  557. with old libraries starting midway through the installworld process.
  558. 20200729:
  559. r363679 has redefined some undefined behavior in regcomp(3); notably,
  560. extraneous escapes of most ordinary characters will no longer be
  561. accepted. An exp-run has identified all of the problems with this in
  562. ports, but other non-ports software may need extra escapes removed to
  563. continue to function.
  564. Because of this change, installworld may encounter the following error
  565. from rtld: Undefined symbol "regcomp@FBSD_1.6" -- It is imperative that
  566. you do not halt installworld. Instead, let it run to completion (whether
  567. successful or not) and run installworld once more.
  568. 20200627:
  569. A new implementation of bc and dc has been imported in r362681. This
  570. implementation corrects non-conformant behavior of the previous bc
  571. and adds GNU bc compatible options. It offers a number of extensions,
  572. is much faster on large values, and has support for message catalogs
  573. (a number of languages are already supported, contributions of further
  574. languages welcome). The option WITHOUT_GH_BC can be used to build the
  575. world with the previous versions of bc and dc.
  576. 20200625:
  577. r362639 changed the internal API used between the NFS kernel modules.
  578. As such, they all need to be rebuilt from sources.
  579. 20200613:
  580. r362158 changed the arguments for VFS_CHECKEXP(). As such, any
  581. out of tree file systems need to be modified and rebuilt.
  582. Also, any file systems that are modules must be rebuilt.
  583. 20200604:
  584. read(2) of a directory fd is now rejected by default. root may
  585. re-enable it for system root only on non-ZFS filesystems with the
  586. security.bsd.allow_read_dir sysctl(8) MIB if
  587. security.bsd.suser_enabled=1.
  588. It may be advised to setup aliases for grep to default to `-d skip` if
  589. commonly non-recursively grepping a list that includes directories and
  590. the potential for the resulting stderr output is not tolerable. Example
  591. aliases are now installed, commented out, in /root/.cshrc and
  592. /root/.shrc.
  593. 20200523:
  594. Clang, llvm, lld, lldb, compiler-rt, libc++, libunwind and openmp have
  595. been upgraded to 10.0.1. Please see the 20141231 entry below for
  596. information about prerequisites and upgrading, if you are not already
  597. using clang 3.5.0 or higher.
  598. 20200512:
  599. Support for obsolete compilers has been removed from the build system.
  600. Clang 6 and GCC 6.4 are the minimum supported versions.
  601. 20200424:
  602. closefrom(2) has been moved under COMPAT12, and replaced in libc with a
  603. stub that calls close_range(2). If using a custom kernel configuration,
  604. you may want to ensure that the COMPAT_FREEBSD12 option is included, as
  605. a slightly older -CURRENT userland and older FreeBSD userlands may not
  606. be functional without closefrom(2).
  607. 20200414:
  608. Upstream DTS from Linux 5.6 was merged and they now have the SID
  609. and THS (Secure ID controller and THermal Sensor) node present.
  610. The DTB overlays have now been removed from the tree for the H3/H5 and
  611. A64 SoCs and the aw_sid and aw_thermal driver have been updated to
  612. deal with upstream DTS. If you are using those overlays you need to
  613. remove them from loader.conf and update the DTBs on the FAT partition.
  614. 20200310:
  615. Clang, llvm, lld, lldb, compiler-rt, libc++, libunwind and openmp have
  616. been upgraded to 10.0.0. Please see the 20141231 entry below for
  617. information about prerequisites and upgrading, if you are not already
  618. using clang 3.5.0 or higher.
  619. 20200309:
  620. The amd(8) automount daemon has been removed from the source tree.
  621. As of FreeBSD 10.1 autofs(5) is the preferred tool for automounting.
  622. amd is still available in the sysutils/am-utils port.
  623. 20200301:
  624. Removed brooktree driver (bktr.4) from the tree.
  625. 20200229:
  626. The WITH_GPL_DTC option has been removed. The BSD-licenced device tree
  627. compiler in usr.bin/dtc is used on all architectures which use dtc, and
  628. the GPL dtc is available (if needed) from the sysutils/dtc port.
  629. 20200229:
  630. The WITHOUT_LLVM_LIBUNWIND option has been removed. LLVM's libunwind
  631. is used by all supported CPU architectures.
  632. 20200229:
  633. GCC 4.2.1 has been removed from the tree. The WITH_GCC,
  634. WITH_GCC_BOOTSTRAP, and WITH_GNUCXX options are no longer available.
  635. Users who wish to build FreeBSD with GCC must use the external toolchain
  636. ports or packages.
  637. 20200220:
  638. ncurses has been updated to a newer version (6.2-20200215). Given the ABI
  639. has changed, users will have to rebuild all the ports that are linked to
  640. ncurses.
  641. 20200217:
  642. The size of struct vnet and the magic cookie have changed.
  643. Users need to recompile libkvm and all modules using VIMAGE
  644. together with their new kernel.
  645. 20200212:
  646. Defining the long deprecated NO_CTF, NO_DEBUG_FILES, NO_INSTALLLIB,
  647. NO_MAN, NO_PROFILE, and NO_WARNS variables is now an error. Update
  648. your Makefiles and scripts to define MK_<var>=no instead as required.
  649. One exception to this is that program or library Makefiles should
  650. define MAN to empty rather than setting MK_MAN=no.
  651. 20200108:
  652. Clang/LLVM is now the default compiler and LLD the default
  653. linker for riscv64.
  654. 20200107:
  655. make universe no longer uses GCC 4.2.1 on any architectures.
  656. Architectures not supported by in-tree Clang/LLVM require an
  657. external toolchain package.
  658. 20200104:
  659. GCC 4.2.1 is now not built by default, as part of the GCC 4.2.1
  660. retirement plan. Specifically, the GCC, GCC_BOOTSTRAP, and GNUCXX
  661. options default to off for all supported CPU architectures. As a
  662. short-term transition aid they may be enabled via WITH_* options.
  663. GCC 4.2.1 is expected to be removed from the tree on 2020-03-31.
  664. 20200102:
  665. Support for armv5 has been disconnected and is being removed. The
  666. machine combination MACHINE=arm MACHINE_ARCH=arm is no longer valid.
  667. You must now use a MACHINE_ARCH of armv6 or armv7. The default
  668. MACHINE_ARCH for MACHINE=arm is now armv7.
  669. 20191226:
  670. Clang/LLVM is now the default compiler for all powerpc architectures.
  671. LLD is now the default linker for powerpc64. The change for powerpc64
  672. also includes a change to the ELFv2 ABI, incompatible with the existing
  673. ABI.
  674. 20191226:
  675. Kernel-loadable random(4) modules are no longer unloadable.
  676. 20191222:
  677. Clang, llvm, lld, lldb, compiler-rt, libc++, libunwind and openmp have
  678. been upgraded to 9.0.1. Please see the 20141231 entry below for
  679. information about prerequisites and upgrading, if you are not already
  680. using clang 3.5.0 or higher.
  681. 20191212:
  682. r355677 has modified the internal interface used between the
  683. NFS modules in the kernel. As such, they must all be upgraded
  684. simultaneously. I will do a version bump for this.
  685. 20191205:
  686. The root certificates of the Mozilla CA Certificate Store have been
  687. imported into the base system and can be managed with the certctl(8)
  688. utility. If you have installed the security/ca_root_nss port or package
  689. with the ETCSYMLINK option (the default), be advised that there may be
  690. differences between those included in the port and those included in
  691. base due to differences in nss branch used as well as general update
  692. frequency. Note also that certctl(8) cannot manage certs in the
  693. format used by the security/ca_root_nss port.
  694. 20191120:
  695. The amd(8) automount daemon has been disabled by default, and will be
  696. removed in the future. As of FreeBSD 10.1 the autofs(5) is available
  697. for automounting.
  698. 20191107:
  699. The nctgpio and wbwd drivers have been moved to the superio bus.
  700. If you have one of these drivers in a kernel configuration, then
  701. you should add device superio to it. If you use one of these drivers
  702. as a module and you compile a custom set of modules, then you should
  703. add superio to the set.
  704. 20191021:
  705. KPIs for network drivers to access interface addresses have changed.
  706. Users need to recompile NIC driver modules together with kernel.
  707. 20191021:
  708. The net.link.tap.user_open sysctl no longer prevents user opening of
  709. already created /dev/tapNN devices. Access is still controlled by
  710. node permissions, just like tun devices. The net.link.tap.user_open
  711. sysctl is now used only to allow users to perform devfs cloning of
  712. tap devices, and the subsequent open may not succeed if the user is not
  713. in the appropriate group. This sysctl may be deprecated/removed
  714. completely in the future.
  715. 20191009:
  716. mips, powerpc, and sparc64 are no longer built as part of
  717. universe / tinderbox unless MAKE_OBSOLETE_GCC is defined. If
  718. not defined, mips, powerpc, and sparc64 builds will look for
  719. the xtoolchain binaries and if installed use them for universe
  720. builds. As llvm 9.0 becomes vetted for these architectures, they
  721. will be removed from the list.
  722. 20191009:
  723. Clang, llvm, lld, lldb, compiler-rt, libc++, libunwind and openmp have
  724. been upgraded to 9.0.0. Please see the 20141231 entry below for
  725. information about prerequisites and upgrading, if you are not already
  726. using clang 3.5.0 or higher.
  727. 20191003:
  728. The hpt27xx, hptmv, hptnr, and hptrr drivers have been removed from
  729. GENERIC. They are available as modules and can be loaded by adding
  730. to /boot/loader.conf hpt27xx_load="YES", hptmv_load="YES",
  731. hptnr_load="YES", or hptrr_load="YES", respectively.
  732. 20190913:
  733. ntpd no longer by default locks its pages in memory, allowing them
  734. to be paged out by the kernel. Use rlimit memlock to restore
  735. historic BSD behaviour. For example, add "rlimit memlock 32"
  736. to ntp.conf to lock up to 32 MB of ntpd address space in memory.
  737. 20190823:
  738. Several of ping6's options have been renamed for better consistency
  739. with ping. If you use any of -ARWXaghmrtwx, you must update your
  740. scripts. See ping6(8) for details.
  741. 20190727:
  742. The vfs.fusefs.sync_unmount and vfs.fusefs.init_backgrounded sysctls
  743. and the "-o sync_unmount" and "-o init_backgrounded" mount options have
  744. been removed from mount_fusefs(8). You can safely remove them from
  745. your scripts, because they had no effect.
  746. The vfs.fusefs.fix_broken_io, vfs.fusefs.sync_resize,
  747. vfs.fusefs.refresh_size, vfs.fusefs.mmap_enable,
  748. vfs.fusefs.reclaim_revoked, and vfs.fusefs.data_cache_invalidate
  749. sysctls have been removed. If you felt the need to set any of them to
  750. a non-default value, please tell asomers@FreeBSD.org why.
  751. 20190713:
  752. Default permissions on the /var/account/acct file (and copies of it
  753. rotated by periodic daily scripts) are changed from 0644 to 0640
  754. because the file contains sensitive information that should not be
  755. world-readable. If the /var/account directory must be created by
  756. rc.d/accounting, the mode used is now 0750. Admins who use the
  757. accounting feature are encouraged to change the mode of an existing
  758. /var/account directory to 0750 or 0700.
  759. 20190620:
  760. Entropy collection and the /dev/random device are no longer optional
  761. components. The "device random" option has been removed.
  762. Implementations of distilling algorithms can still be made loadable
  763. with "options RANDOM_LOADABLE" (e.g., random_fortuna.ko).
  764. 20190612:
  765. Clang, llvm, lld, lldb, compiler-rt, libc++, libunwind and openmp have
  766. been upgraded to 8.0.1. Please see the 20141231 entry below for
  767. information about prerequisites and upgrading, if you are not already
  768. using clang 3.5.0 or higher.
  769. 20190608:
  770. A fix was applied to i386 kernel modules to avoid panics with
  771. dpcpu or vnet. Users need to recompile i386 kernel modules
  772. having pcpu or vnet sections or they will refuse to load.
  773. 20190513:
  774. User-wired pages now have their own counter,
  775. vm.stats.vm.v_user_wire_count. The vm.max_wired sysctl was renamed
  776. to vm.max_user_wired and changed from an unsigned int to an unsigned
  777. long. bhyve VMs wired with the -S are now subject to the user
  778. wiring limit; the vm.max_user_wired sysctl may need to be tuned to
  779. avoid running into the limit.
  780. 20190507:
  781. The IPSEC option has been removed from GENERIC. Users requiring
  782. ipsec(4) must now load the ipsec(4) kernel module.
  783. 20190507:
  784. The tap(4) driver has been folded into tun(4), and the module has been
  785. renamed to tuntap. You should update any kld_list="if_tap" or
  786. kld_list="if_tun" entries in /etc/rc.conf, if_tap_load="YES" or
  787. if_tun_load="YES" entries in /boot/loader.conf to load the if_tuntap
  788. module instead, and "device tap" or "device tun" entries in kernel
  789. config files to select the tuntap device instead.
  790. 20190418:
  791. The following knobs have been added related to tradeoffs between
  792. safe use of the random device and availability in the absence of
  793. entropy:
  794. kern.random.initial_seeding.bypass_before_seeding: tunable; set
  795. non-zero to bypass the random device prior to seeding, or zero to
  796. block random requests until the random device is initially seeded.
  797. For now, set to 1 (unsafe) by default to restore pre-r346250 boot
  798. availability properties.
  799. kern.random.initial_seeding.read_random_bypassed_before_seeding:
  800. read-only diagnostic sysctl that is set when bypass is enabled and
  801. read_random(9) is bypassed, to enable programmatic handling of this
  802. initial condition, if desired.
  803. kern.random.initial_seeding.arc4random_bypassed_before_seeding:
  804. Similar to the above, but for arc4random(9) initial seeding.
  805. kern.random.initial_seeding.disable_bypass_warnings: tunable; set
  806. non-zero to disable warnings in dmesg when the same conditions are
  807. met as for the diagnostic sysctls above. Defaults to zero, i.e.,
  808. produce warnings in dmesg when the conditions are met.
  809. 20190416:
  810. The loadable random module KPI has changed; the random_infra_init()
  811. routine now requires a 3rd function pointer for a bool (*)(void)
  812. method that returns true if the random device is seeded (and
  813. therefore unblocked).
  814. 20190404:
  815. r345895 reverts r320698. This implies that an nfsuserd(8) daemon
  816. built from head sources between r320757 (July 6, 2017) and
  817. r338192 (Aug. 22, 2018) will not work unless the "-use-udpsock"
  818. is added to the command line.
  819. nfsuserd daemons built from head sources that are post-r338192 are
  820. not affected and should continue to work.
  821. 20190320:
  822. The fuse(4) module has been renamed to fusefs(4) for consistency with
  823. other filesystems. You should update any kld_load="fuse" entries in
  824. /etc/rc.conf, fuse_load="YES" entries in /boot/loader.conf, and
  825. "options FUSE" entries in kernel config files.
  826. 20190304:
  827. Clang, llvm, lld, lldb, compiler-rt and libc++ have been upgraded to
  828. 8.0.0. Please see the 20141231 entry below for information about
  829. prerequisites and upgrading, if you are not already using clang 3.5.0
  830. or higher.
  831. 20190226:
  832. geom_uzip(4) depends on the new module xz. If geom_uzip is statically
  833. compiled into your custom kernel, add 'device xz' statement to the
  834. kernel config.
  835. 20190219:
  836. drm and drm2 have been removed from the tree. Please see
  837. https://wiki.freebsd.org/Graphics for the latest information on
  838. migrating to the drm ports.
  839. 20190131:
  840. Iflib is no longer unconditionally compiled into the kernel. Drivers
  841. using iflib and statically compiled into the kernel, now require
  842. the 'device iflib' config option. For the same drivers loaded as
  843. modules on kernels not having 'device iflib', the iflib.ko module
  844. is loaded automatically.
  845. 20190125:
  846. The IEEE80211_AMPDU_AGE and AH_SUPPORT_AR5416 kernel configuration
  847. options no longer exist since r343219 and r343427 respectively;
  848. nothing uses them, so they should be just removed from custom
  849. kernel config files.
  850. 20181230:
  851. r342635 changes the way efibootmgr(8) works by requiring users to add
  852. the -b (bootnum) parameter for commands where the bootnum was previously
  853. specified with each option. For example 'efibootmgr -B 0001' is now
  854. 'efibootmgr -B -b 0001'.
  855. 20181220:
  856. r342286 modifies the NFSv4 server so that it obeys vfs.nfsd.nfs_privport
  857. in the same as it is applied to NFSv2 and 3. This implies that NFSv4
  858. servers that have vfs.nfsd.nfs_privport set will only allow mounts
  859. from clients using a reserved port. Since both the FreeBSD and Linux
  860. NFSv4 clients use reserved ports by default, this should not affect
  861. most NFSv4 mounts.
  862. 20181219:
  863. The XLP config has been removed. We can't support 64-bit atomics in this
  864. kernel because it is running in 32-bit mode. XLP users must transition
  865. to running a 64-bit kernel (XLP64 or XLPN32).
  866. The mips GXEMUL support has been removed from FreeBSD. MALTA* + qemu is
  867. the preferred emulator today and we don't need two different ones.
  868. The old sibyte / swarm / Broadcom BCM1250 support has been
  869. removed from the mips port.
  870. 20181211:
  871. Clang, llvm, lld, lldb, compiler-rt and libc++ have been upgraded to
  872. 7.0.1. Please see the 20141231 entry below for information about
  873. prerequisites and upgrading, if you are not already using clang 3.5.0
  874. or higher.
  875. 20181211:
  876. Remove the timed and netdate programs from the base tree. Setting
  877. the time with these daemons has been obsolete for over a decade.
  878. 20181126:
  879. On amd64, arm64 and armv7 (architectures that install LLVM's ld.lld
  880. linker as /usr/bin/ld) GNU ld is no longer installed as ld.bfd, as
  881. it produces broken binaries when ifuncs are in use. Users needing
  882. GNU ld should install the binutils port or package.
  883. 20181123:
  884. The BSD crtbegin and crtend code has been enabled by default. It has
  885. had extensive testing on amd64, arm64, and i386. It can be disabled
  886. by building a world with -DWITHOUT_BSD_CRTBEGIN.
  887. 20181115:
  888. The set of CTM commands (ctm, ctm_smail, ctm_rmail, ctm_dequeue)
  889. has been converted to a port (misc/ctm) and will be removed from
  890. FreeBSD-13. It is available as a package (ctm) for all supported
  891. FreeBSD versions.
  892. 20181110:
  893. The default newsyslog.conf(5) file has been changed to only include
  894. files in /etc/newsyslog.conf.d/ and /usr/local/etc/newsyslog.conf.d/ if
  895. the filenames end in '.conf' and do not begin with a '.'.
  896. You should check the configuration files in these two directories match
  897. this naming convention. You can verify which configuration files are
  898. being included using the command:
  899. $ newsyslog -Nrv
  900. 20181019:
  901. Stable/12 was branched created.
  902. 20181015:
  903. Ports for the DRM modules have been simplified. Now, amd64 users should
  904. just install the drm-kmod port. All others should install
  905. drm-legacy-kmod.
  906. Graphics hardware that's newer than about 2010 usually works with
  907. drm-kmod. For hardware older than 2013, however, some users will need
  908. to use drm-legacy-kmod if drm-kmod doesn't work for them. Hardware older
  909. than 2008 usually only works in drm-legacy-kmod. The graphics team can
  910. only commit to hardware made since 2013 due to the complexity of the
  911. market and difficulty to test all the older cards effectively. If you
  912. have hardware supported by drm-kmod, you are strongly encouraged to use
  913. that as you will get better support.
  914. Other than KPI chasing, drm-legacy-kmod will not be updated. As outlined
  915. elsewhere, the drm and drm2 modules will be eliminated from the src base
  916. soon (with a limited exception for arm). Please update to the package
  917. asap and report any issues to x11@freebsd.org.
  918. Generally, anybody using the drm*-kmod packages should add
  919. WITHOUT_DRM_MODULE=t and WITHOUT_DRM2_MODULE=t to avoid nasty
  920. cross-threading surprises, especially with automatic driver
  921. loading from X11 startup. These will become the defaults in 13-current
  922. shortly.
  923. 20181012:
  924. The ixlv(4) driver has been renamed to iavf(4). As a consequence,
  925. custom kernel and module loading configuration files must be updated
  926. accordingly. Moreover, interfaces previous presented as ixlvN to the
  927. system are now exposed as iavfN and network configuration files must
  928. be adjusted as necessary.
  929. 20181009:
  930. OpenSSL has been updated to version 1.1.1. This update included
  931. additional various API changes throughout the base system. It is
  932. important to rebuild third-party software after upgrading. The value
  933. of __FreeBSD_version has been bumped accordingly.
  934. 20181006:
  935. The legacy DRM modules and drivers have now been added to the loader's
  936. module blacklist, in favor of loading them with kld_list in rc.conf(5).
  937. The module blacklist may be overridden with the loader.conf(5)
  938. 'module_blacklist' variable, but loading them via rc.conf(5) is strongly
  939. encouraged.
  940. 20181002:
  941. The cam(4) based nda(4) driver will be used over nvd(4) by default on
  942. powerpc64. You may set 'options NVME_USE_NVD=1' in your kernel conf or
  943. loader tunable 'hw.nvme.use_nvd=1' if you wish to use the existing
  944. driver. Make sure to edit /boot/etc/kboot.conf and fstab to use the
  945. nda device name.
  946. 20180913:
  947. Reproducible build mode is now on by default, in preparation for
  948. FreeBSD 12.0. This eliminates build metadata such as the user,
  949. host, and time from the kernel (and uname), unless the working tree
  950. corresponds to a modified checkout from a version control system.
  951. The previous behavior can be obtained by setting the /etc/src.conf
  952. knob WITHOUT_REPRODUCIBLE_BUILD.
  953. 20180826:
  954. The Yarrow CSPRNG has been removed from the kernel as it has not been
  955. supported by its designers since at least 2003. Fortuna has been the
  956. default since FreeBSD-11.
  957. 20180822:
  958. devctl freeze/thaw have gone into the tree, the rc scripts have been
  959. updated to use them and devmatch has been changed. You should update
  960. kernel, userland and rc scripts all at the same time.
  961. 20180818:
  962. The default interpreter has been switched from 4th to Lua.
  963. LOADER_DEFAULT_INTERP, documented in build(7), will override the default
  964. interpreter. If you have custom FORTH code you will need to set
  965. LOADER_DEFAULT_INTERP=4th (valid values are 4th, lua or simp) in
  966. src.conf for the build. This will create default hard links between
  967. loader and loader_4th instead of loader and loader_lua, the new default.
  968. If you are using UEFI it will create the proper hard link to loader.efi.
  969. bhyve uses userboot.so. It remains 4th-only until some issues are solved
  970. regarding coexisting with multiple versions of FreeBSD are resolved.
  971. 20180815:
  972. ls(1) now respects the COLORTERM environment variable used in other
  973. systems and software to indicate that a colored terminal is both
  974. supported and desired. If ls(1) is suddenly emitting colors, they may
  975. be disabled again by either removing the unwanted COLORTERM from your
  976. environment, or using `ls --color=never`. The ls(1) specific CLICOLOR
  977. may not be observed in a future release.
  978. 20180808:
  979. The default pager for most commands has been changed to "less". To
  980. restore the old behavior, set PAGER="more" and MANPAGER="more -s" in
  981. your environment.
  982. 20180731:
  983. The jedec_ts(4) driver has been removed. A superset of its functionality
  984. is available in the jedec_dimm(4) driver, and the manpage for that
  985. driver includes migration instructions. If you have "device jedec_ts"
  986. in your kernel configuration file, it must be removed.
  987. 20180730:
  988. amd64/GENERIC now has EFI runtime services, EFIRT, enabled by default.
  989. This should have no effect if the kernel is booted via BIOS/legacy boot.
  990. EFIRT may be disabled via a loader tunable, efi.rt.disabled, if a system
  991. has a buggy firmware that prevents a successful boot due to use of
  992. runtime services.
  993. 20180727:
  994. Atmel AT91RM9200 and AT91SAM9, Cavium CNS 11xx and XScale
  995. support has been removed from the tree. These ports were
  996. obsolete and/or known to be broken for many years.
  997. 20180723:
  998. loader.efi has been augmented to participate more fully in the
  999. UEFI boot manager protocol. loader.efi will now look at the
  1000. BootXXXX environment variable to determine if a specific kernel
  1001. or root partition was specified. XXXX is derived from BootCurrent.
  1002. efibootmgr(8) manages these standard UEFI variables.
  1003. 20180720:
  1004. zfsloader's functionality has now been folded into loader.
  1005. zfsloader is no longer necessary once you've updated your
  1006. boot blocks. For a transition period, we will install a
  1007. hardlink for zfsloader to loader to allow a smooth transition
  1008. until the boot blocks can be updated (hard link because old
  1009. zfs boot blocks don't understand symlinks).
  1010. 20180719:
  1011. ARM64 now have efifb support, if you want to have serial console
  1012. on your arm64 board when an screen is connected and the bootloader
  1013. setup a frame buffer for us to use, just add :
  1014. boot_serial=YES
  1015. boot_multicons=YES
  1016. in /boot/loader.conf
  1017. For Raspberry Pi 3 (RPI) users, this is needed even if you don't have
  1018. an screen connected as the firmware will setup a frame buffer are that
  1019. u-boot will expose as an EFI frame buffer.
  1020. 20180719:
  1021. New uid:gid added, ntpd:ntpd (123:123). Be sure to run mergemaster
  1022. or take steps to update /etc/passwd before doing installworld on
  1023. existing systems. Do not skip the "mergemaster -Fp" step before
  1024. installworld, as described in the update procedures near the bottom
  1025. of this document. Also, rc.d/ntpd now starts ntpd(8) as user ntpd
  1026. if the new mac_ntpd(4) policy is available, unless ntpd_flags or
  1027. the ntp config file contain options that change file/dir locations.
  1028. When such options (e.g., "statsdir" or "crypto") are used, ntpd can
  1029. still be run as non-root by setting ntpd_user=ntpd in rc.conf, after
  1030. taking steps to ensure that all required files/dirs are accessible
  1031. by the ntpd user.
  1032. 20180717:
  1033. Big endian arm support has been removed.
  1034. 20180711:
  1035. The static environment setup in kernel configs is no longer mutually
  1036. exclusive with the loader(8) environment by default. In order to
  1037. restore the previous default behavior of disabling the loader(8)
  1038. environment if a static environment is present, you must specify
  1039. loader_env.disabled=1 in the static environment.
  1040. 20180705:
  1041. The ABI of syscalls used by management tools like sockstat and
  1042. netstat has been broken to allow 32-bit binaries to work on
  1043. 64-bit kernels without modification. These programs will need
  1044. to match the kernel in order to function. External programs may
  1045. require minor modifications to accommodate a change of type in
  1046. structures from pointers to 64-bit virtual addresses.
  1047. 20180702:
  1048. On i386 and amd64 atomics are now inlined. Out of tree modules using
  1049. atomics will need to be rebuilt.
  1050. 20180701:
  1051. The '%I' format in the kern.corefile sysctl limits the number of
  1052. core files that a process can generate to the number stored in the
  1053. debug.ncores sysctl. The '%I' format is replaced by the single digit
  1054. index. Previously, if all indexes were taken the kernel would overwrite
  1055. only a core file with the highest index in a filename.
  1056. Currently the system will create a new core file if there is a free
  1057. index or if all slots are taken it will overwrite the oldest one.
  1058. 20180630:
  1059. Clang, llvm, lld, lldb, compiler-rt and libc++ have been upgraded to
  1060. 6.0.1. Please see the 20141231 entry below for information about
  1061. prerequisites and upgrading, if you are not already using clang 3.5.0
  1062. or higher.
  1063. 20180628:
  1064. r335753 introduced a new quoting method. However, etc/devd/devmatch.conf
  1065. needed to be changed to work with it. This change was made with r335763
  1066. and requires a mergemaster / etcupdate / etc to update the installed
  1067. file.
  1068. 20180612:
  1069. r334930 changed the interface between the NFS modules, so they all
  1070. need to be rebuilt. r335018 did a __FreeBSD_version bump for this.
  1071. 20180530:
  1072. As of r334391 lld is the default amd64 system linker; it is installed
  1073. as /usr/bin/ld. Kernel build workarounds (see 20180510 entry) are no
  1074. longer necessary.
  1075. 20180530:
  1076. The kernel / userland interface for devinfo changed, so you'll
  1077. need a new kernel and userland as a pair for it to work (rebuilding
  1078. lib/libdevinfo is all that's required). devinfo and devmatch will
  1079. not work, but everything else will when there's a mismatch.
  1080. 20180523:
  1081. The on-disk format for hwpmc callchain records has changed to include
  1082. threadid corresponding to a given record. This changes the field offsets
  1083. and thus requires that libpmcstat be rebuilt before using a kernel
  1084. later than r334108.
  1085. 20180517:
  1086. The vxge(4) driver has been removed. This driver was introduced into
  1087. HEAD one week before the Exar left the Ethernet market and is not
  1088. known to be used. If you have device vxge in your kernel config file
  1089. it must be removed.
  1090. 20180510:
  1091. The amd64 kernel now requires a ld that supports ifunc to produce a
  1092. working kernel, either lld or a newer binutils. lld is built by default
  1093. on amd64, and the 'buildkernel' target uses it automatically. However,
  1094. it is not the default linker, so building the kernel the traditional
  1095. way requires LD=ld.lld on the command line (or LD=/usr/local/bin/ld for
  1096. binutils port/package). lld will soon be default, and this requirement
  1097. will go away.
  1098. NOTE: As of r334391 lld is the default system linker on amd64, and no
  1099. workaround is necessary.
  1100. 20180508:
  1101. The nxge(4) driver has been removed. This driver was for PCI-X 10g
  1102. cards made by s2io/Neterion. The company was acquired by Exar and
  1103. no longer sells or supports Ethernet products. If you have device
  1104. nxge in your kernel config file it must be removed.
  1105. 20180504:
  1106. The tz database (tzdb) has been updated to 2018e. This version more
  1107. correctly models time stamps in time zones with negative DST such as
  1108. Europe/Dublin (from 1971 on), Europe/Prague (1946/7), and
  1109. Africa/Windhoek (1994/2017). This does not affect the UT offsets, only
  1110. time zone abbreviations and the tm_isdst flag.
  1111. 20180502:
  1112. The ixgb(4) driver has been removed. This driver was for an early and
  1113. uncommon legacy PCI 10GbE for a single ASIC, Intel 82597EX. Intel
  1114. quickly shifted to the long lived ixgbe family. If you have device
  1115. ixgb in your kernel config file it must be removed.
  1116. 20180501:
  1117. The lmc(4) driver has been removed. This was a WAN interface
  1118. card that was already reportedly rare in 2003, and had an ambiguous
  1119. license. If you have device lmc in your kernel config file it must
  1120. be removed.
  1121. 20180413:
  1122. Support for Arcnet networks has been removed. If you have device
  1123. arcnet or device cm in your kernel config file they must be
  1124. removed.
  1125. 20180411:
  1126. Support for FDDI networks has been removed. If you have device
  1127. fddi or device fpa in your kernel config file they must be
  1128. removed.
  1129. 20180406:
  1130. In addition to supporting RFC 3164 formatted messages, the
  1131. syslogd(8) service is now capable of parsing RFC 5424 formatted
  1132. log messages. The main benefit of using RFC 5424 is that clients
  1133. may now send log messages with timestamps containing year numbers,
  1134. microseconds and time zone offsets.
  1135. Similarly, the syslog(3) C library function has been altered to
  1136. send RFC 5424 formatted messages to the local system logging
  1137. daemon. On systems using syslogd(8), this change should have no
  1138. negative impact, as long as syslogd(8) and the C library are
  1139. updated at the same time. On systems using a different system
  1140. logging daemon, it may be necessary to make configuration
  1141. adjustments, depending on the software used.
  1142. When using syslog-ng, add the 'syslog-protocol' flag to local
  1143. input sources to enable parsing of RFC 5424 formatted messages:
  1144. source src {
  1145. unix-dgram("/var/run/log" flags(syslog-protocol));
  1146. }
  1147. When using rsyslog, disable the 'SysSock.UseSpecialParser' option
  1148. of the 'imuxsock' module to let messages be processed by the
  1149. regular RFC 3164/5424 parsing pipeline:
  1150. module(load="imuxsock" SysSock.UseSpecialParser="off")
  1151. Do note that these changes only affect communication between local
  1152. applications and syslogd(8). The format that syslogd(8) uses to
  1153. store messages on disk or forward messages to other systems
  1154. remains unchanged. syslogd(8) still uses RFC 3164 for these
  1155. purposes. Options to customize this behaviour will be added in the
  1156. future. Utilities that process log files stored in /var/log are
  1157. thus expected to continue to function as before.
  1158. __FreeBSD_version has been incremented to 1200061 to denote this
  1159. change.
  1160. 20180328:
  1161. Support for token ring networks has been removed. If you
  1162. have "device token" in your kernel config you should remove
  1163. it. No device drivers supported token ring.
  1164. 20180323:
  1165. makefs was modified to be able to tag ISO9660 El Torito boot catalog
  1166. entries as EFI instead of overloading the i386 tag as done previously.
  1167. The amd64 mkisoimages.sh script used to build amd64 ISO images for
  1168. release was updated to use this. This may mean that makefs must be
  1169. updated before "make cdrom" can be run in the release directory. This
  1170. should be as simple as:
  1171. $ cd $SRCDIR/usr.sbin/makefs
  1172. $ make depend all install
  1173. 20180212:
  1174. FreeBSD boot loader enhanced with Lua scripting. It's purely opt-in for
  1175. now by building WITH_LOADER_LUA and WITHOUT_FORTH in /etc/src.conf.
  1176. Co-existence for the transition period will come shortly. Booting is a
  1177. complex environment and test coverage for Lua-enabled loaders has been
  1178. thin, so it would be prudent to assume it might not work and make
  1179. provisions for backup boot methods.
  1180. 20180211:
  1181. devmatch functionality has been turned on in devd. It will automatically
  1182. load drivers for unattached devices. This may cause unexpected drivers
  1183. to be loaded. Please report any problems to current@ and
  1184. imp@freebsd.org.
  1185. 20180114:
  1186. Clang, llvm, lld, lldb, compiler-rt and libc++ have been upgraded to
  1187. 6.0.0. Please see the 20141231 entry below for information about
  1188. prerequisites and upgrading, if you are not already using clang 3.5.0
  1189. or higher.
  1190. 20180110:
  1191. LLVM's lld linker is now used as the FreeBSD/amd64 bootstrap linker.
  1192. This means it is used to link the kernel and userland libraries and
  1193. executables, but is not yet installed as /usr/bin/ld by default.
  1194. To revert to ld.bfd as the bootstrap linker, in /etc/src.conf set
  1195. WITHOUT_LLD_BOOTSTRAP=yes
  1196. 20180110:
  1197. On i386, pmtimer has been removed. Its functionality has been folded
  1198. into apm. It was a no-op on ACPI in current for a while now (but was
  1199. still needed on i386 in FreeBSD 11 and earlier). Users may need to
  1200. remove it from kernel config files.
  1201. 20180104:
  1202. The use of RSS hash from the network card aka flowid has been
  1203. disabled by default for lagg(4) as it's currently incompatible with
  1204. the lacp and loadbalance protocols.
  1205. This can be re-enabled by setting the following in loader.conf:
  1206. net.link.lagg.default_use_flowid="1"
  1207. 20180102:
  1208. The SW_WATCHDOG option is no longer necessary to enable the
  1209. hardclock-based software watchdog if no hardware watchdog is
  1210. configured. As before, SW_WATCHDOG will cause the software
  1211. watchdog to be enabled even if a hardware watchdog is configured.
  1212. 20171215:
  1213. r326887 fixes the issue described in the 20171214 UPDATING entry.
  1214. r326888 flips the switch back to building GELI support always.
  1215. 20171214:
  1216. r362593 broke ZFS + GELI support for reasons unknown. However,
  1217. it also broke ZFS support generally, so GELI has been turned off
  1218. by default as the lesser evil in r326857. If you boot off ZFS and/or
  1219. GELI, it might not be a good time to update.
  1220. 20171125:
  1221. PowerPC users must update loader(8) by rebuilding world before
  1222. installing a new kernel, as the protocol connecting them has
  1223. changed. Without the update, loader metadata will not be passed
  1224. successfully to the kernel and users will have to enter their
  1225. root partition at the kernel mountroot prompt to continue booting.
  1226. Newer versions of loader can boot old kernels without issue.
  1227. 20171110:
  1228. The LOADER_FIREWIRE_SUPPORT build variable has been renamed to
  1229. WITH/OUT_LOADER_FIREWIRE. LOADER_{NO_,}GELI_SUPPORT has been renamed
  1230. to WITH/OUT_LOADER_GELI.
  1231. 20171106:
  1232. The naive and non-compliant support of posix_fallocate(2) in ZFS
  1233. has been removed as of r325320. The system call now returns EINVAL
  1234. when used on a ZFS file. Although the new behavior complies with the
  1235. standard, some consumers are not prepared to cope with it.
  1236. One known victim is lld prior to r325420.
  1237. 20171102:
  1238. Building in a FreeBSD src checkout will automatically create object
  1239. directories now rather than store files in the current directory if
  1240. 'make obj' was not ran. Calling 'make obj' is no longer necessary.
  1241. This feature can be disabled by setting WITHOUT_AUTO_OBJ=yes in
  1242. /etc/src-env.conf (not /etc/src.conf), or passing the option in the
  1243. environment.
  1244. 20171101:
  1245. The default MAKEOBJDIR has changed from /usr/obj/<srcdir> for native
  1246. builds, and /usr/obj/<arch>/<srcdir> for cross-builds, to a unified
  1247. /usr/obj/<srcdir>/<arch>. This behavior can be changed to the old
  1248. format by setting WITHOUT_UNIFIED_OBJDIR=yes in /etc/src-env.conf,
  1249. the environment, or with -DWITHOUT_UNIFIED_OBJDIR when building.
  1250. The UNIFIED_OBJDIR option is a transitional feature that will be
  1251. removed for 12.0 release; please migrate to the new format for any
  1252. tools by looking up the OBJDIR used by 'make -V .OBJDIR' means rather
  1253. than hardcoding paths.
  1254. 20171028:
  1255. The native-xtools target no longer installs the files by default to the
  1256. OBJDIR. Use the native-xtools-install target with a DESTDIR to install
  1257. to ${DESTDIR}/${NXTP} where NXTP defaults to /nxb-bin.
  1258. 20171021:
  1259. As part of the boot loader infrastructure cleanup, LOADER_*_SUPPORT
  1260. options are changing from controlling the build if defined / undefined
  1261. to controlling the build with explicit 'yes' or 'no' values. They will
  1262. shift to WITH/WITHOUT options to match other options in the system.
  1263. 20171010:
  1264. libstand has turned into a private library for sys/boot use only.
  1265. It is no longer supported as a public interface outside of sys/boot.
  1266. 20171005:
  1267. The arm port has split armv6 into armv6 and armv7. armv7 is now
  1268. a valid TARGET_ARCH/MACHINE_ARCH setting. If you have an armv7 system
  1269. and are running a kernel from before r324363, you will need to add
  1270. MACHINE_ARCH=armv7 to 'make buildworld' to do a native build.
  1271. 20171003:
  1272. When building multiple kernels using KERNCONF, non-existent KERNCONF
  1273. files will produce an error and buildkernel will fail. Previously
  1274. missing KERNCONF files silently failed giving no indication as to
  1275. why, only to subsequently discover during installkernel that the
  1276. desired kernel was never built in the first place.
  1277. 20170912:
  1278. The default serial number format for CTL LUNs has changed. This will
  1279. affect users who use /dev/diskid/* device nodes, or whose FibreChannel
  1280. or iSCSI clients care about their LUNs' serial numbers. Users who
  1281. require serial number stability should hardcode serial numbers in
  1282. /etc/ctl.conf .
  1283. 20170912:
  1284. For 32-bit arm compiled for hard-float support, soft-floating point
  1285. binaries now always get their shared libraries from
  1286. LD_SOFT_LIBRARY_PATH (in the past, this was only used if
  1287. /usr/libsoft also existed). Only users with a hard-float ld.so, but
  1288. soft-float everything else should be affected.
  1289. 20170826:
  1290. The geli password typed at boot is now hidden. To restore the previous
  1291. behavior, see geli(8) for configuration options.
  1292. 20170825:
  1293. Move PMTUD blackhole counters to TCPSTATS and remove them from bare
  1294. sysctl values. Minor nit, but requires a rebuild of both world/kernel
  1295. to complete.
  1296. 20170814:
  1297. "make check" behavior (made in ^/head@r295380) has been changed to
  1298. execute from a limited sandbox, as opposed to executing from
  1299. ${TESTSDIR}.
  1300. Behavioral changes:
  1301. - The "beforecheck" and "aftercheck" targets are now specified.
  1302. - ${CHECKDIR} (added in commit noted above) has been removed.
  1303. - Legacy behavior can be enabled by setting
  1304. WITHOUT_MAKE_CHECK_USE_SANDBOX in src.conf(5) or the environment.
  1305. If the limited sandbox mode is enabled, "make check" will execute
  1306. "make distribution", then install, execute the tests, and clean up the
  1307. sandbox if successful.
  1308. The "make distribution" and "make install" targets are typically run as
  1309. root to set appropriate permissions and ownership at installation time.
  1310. The end-user should set "WITH_INSTALL_AS_USER" in src.conf(5) or the
  1311. environment if executing "make check" with limited sandbox mode using
  1312. an unprivileged user.
  1313. 20170808:
  1314. Since the switch to GPT disk labels, fsck for UFS/FFS has been
  1315. unable to automatically find alternate superblocks. As of r322297,
  1316. the information needed to find alternate superblocks has been
  1317. moved to the end of the area reserved for the boot block.
  1318. Filesystems created with a newfs of this vintage or later
  1319. will create the recovery information. If you have a filesystem
  1320. created prior to this change and wish to have a recovery block
  1321. created for your filesystem, you can do so by running fsck in
  1322. foreground mode (i.e., do not use the -p or -y options). As it
  1323. starts, fsck will ask ``SAVE DATA TO FIND ALTERNATE SUPERBLOCKS''
  1324. to which you should answer yes.
  1325. 20170728:
  1326. As of r321665, an NFSv4 server configuration that services
  1327. Kerberos mounts or clients that do not support the uid/gid in
  1328. owner/owner_group string capability, must explicitly enable
  1329. the nfsuserd daemon by adding nfsuserd_enable="YES" to the
  1330. machine's /etc/rc.conf file.
  1331. 20170722:
  1332. Clang, llvm, lldb, compiler-rt and libc++ have been upgraded to 5.0.0.
  1333. Please see the 20141231 entry below for information about prerequisites
  1334. and upgrading, if you are not already using clang 3.5.0 or higher.
  1335. 20170701:
  1336. WITHOUT_RCMDS is now the default. Set WITH_RCMDS if you need the
  1337. r-commands (rlogin, rsh, etc.) to be built with the base system.
  1338. 20170625:
  1339. The FreeBSD/powerpc platform now uses a 64-bit type for time_t. This is
  1340. a very major ABI incompatible change, so users of FreeBSD/powerpc must
  1341. be careful when performing source upgrades. It is best to run
  1342. 'make installworld' from an alternate root system, either a live
  1343. CD/memory stick, or a temporary root partition. Additionally, all ports
  1344. must be recompiled. powerpc64 is largely unaffected, except in the case
  1345. of 32-bit compatibility. All 32-bit binaries will be affected.
  1346. 20170623:
  1347. Forward compatibility for the "ino64" project have been committed. This
  1348. will allow most new binaries to run on older kernels in a limited
  1349. fashion. This prevents many of the common foot-shooting actions in the
  1350. upgrade as well as the limited ability to roll back the kernel across
  1351. the ino64 upgrade. Complicated use cases may not work properly, though
  1352. enough simpler ones work to allow recovery in most situations.
  1353. 20170620:
  1354. Switch back to the BSDL dtc (Device Tree Compiler). Set WITH_GPL_DTC
  1355. if you require the GPL compiler.
  1356. 20170619:
  1357. Forward compatibility for the "ino64" project have been committed. This
  1358. will allow most new binaries to run on older kernels in a limited
  1359. fashion. This prevents many of the common foot-shooting actions in the
  1360. upgrade as well as the limited ability to roll back the kernel across
  1361. the ino64 upgrade. Complicated use cases may not work properly, though
  1362. enough simpler ones work to allow recovery in most situations.
  1363. 20170618:
  1364. The internal ABI used for communication between the NFS kernel modules
  1365. was changed by r320085, so __FreeBSD_version was bumped to
  1366. ensure all the NFS related modules are updated together.
  1367. 20170617:
  1368. The ABI of struct event was changed by extending the data
  1369. member to 64bit and adding ext fields. For upgrade, same
  1370. precautions as for the entry 20170523 "ino64" must be
  1371. followed.
  1372. 20170531:
  1373. The GNU roff toolchain has been removed from base. To render manpages
  1374. which are not supported by mandoc(1), man(1) can fallback on GNU roff
  1375. from ports (and recommends to install it).
  1376. To render roff(7) documents, consider using GNU roff from ports or the
  1377. heirloom doctools roff toolchain from ports via pkg install groff or
  1378. via pkg install heirloom-doctools.
  1379. 20170524:
  1380. The ath(4) and ath_hal(4) modules now build piecemeal to allow for
  1381. smaller runtime footprint builds. This is useful for embedded systems
  1382. which only require one chipset support.
  1383. If you load it as a module, make sure this is in /boot/loader.conf:
  1384. if_ath_load="YES"
  1385. This will load the HAL, all chip/RF backends and if_ath_pci.
  1386. If you have if_ath_pci in /boot/loader.conf, ensure it is after
  1387. if_ath or it will not load any HAL chipset support.
  1388. If you want to selectively load things (eg on cheaper ARM/MIPS
  1389. platforms where RAM is at a premium) you should:
  1390. * load ath_hal
  1391. * load the chip modules in question
  1392. * load ath_rate, ath_dfs
  1393. * load ath_main
  1394. * load if_ath_pci and/or if_ath_ahb depending upon your particular
  1395. bus bind type - this is where probe/attach is done.
  1396. For further comments/feedback, poke adrian@ .
  1397. 20170523:
  1398. The "ino64" 64-bit inode project has been committed, which extends
  1399. a number of types to 64 bits. Upgrading in place requires care and
  1400. adherence to the documented upgrade procedure.
  1401. If using a custom kernel configuration ensure that the
  1402. COMPAT_FREEBSD11 option is included (as during the upgrade the
  1403. system will be running the ino64 kernel with the existing world).
  1404. For the safest in-place upgrade begin by removing previous build
  1405. artifacts via "rm -rf /usr/obj/*". Then, carefully follow the full
  1406. procedure documented below under the heading "To rebuild everything and
  1407. install it on the current system." Specifically, a reboot is required
  1408. after installing the new kernel before installing world. While an
  1409. installworld normally works by accident from multiuser after rebooting
  1410. the proper kernel, there are many cases where this will fail across this
  1411. upgrade and installworld from single user is required.
  1412. 20170424:
  1413. The NATM framework including the en(4), fatm(4), hatm(4), and
  1414. patm(4) devices has been removed. Consumers should plan a
  1415. migration before the end-of-life date for FreeBSD 11.
  1416. 20170420:
  1417. GNU diff has been replaced by a BSD licensed diff. Some features of GNU
  1418. diff has not been implemented, if those are needed a newer version of
  1419. GNU diff is available via the diffutils package under the gdiff name.
  1420. 20170413:
  1421. As of r316810 for ipfilter, keep frags is no longer assumed when
  1422. keep state is specified in a rule. r316810 aligns ipfilter with
  1423. documentation in man pages separating keep frags from keep state.
  1424. This allows keep state to be specified without forcing keep frags
  1425. and allows keep frags to be specified independently of keep state.
  1426. To maintain previous behaviour, also specify keep frags with
  1427. keep state (as documented in ipf.conf.5).
  1428. 20170407:
  1429. arm64 builds now use the base system LLD 4.0.0 linker by default,
  1430. instead of requiring that the aarch64-binutils port or package be
  1431. installed. To continue using aarch64-binutils, set
  1432. CROSS_BINUTILS_PREFIX=/usr/local/aarch64-freebsd/bin .
  1433. 20170405:
  1434. The UDP optimization in entry 20160818 that added the sysctl
  1435. net.inet.udp.require_l2_bcast has been reverted. L2 broadcast
  1436. packets will no longer be treated as L3 broadcast packets.
  1437. 20170331:
  1438. Binds and sends to the loopback addresses, IPv6 and IPv4, will now
  1439. use any explicitly assigned loopback address available in the jail
  1440. instead of using the first assigned address of the jail.
  1441. 20170329:
  1442. The ctl.ko module no longer implements the iSCSI target frontend:
  1443. cfiscsi.ko does instead.
  1444. If building cfiscsi.ko as a kernel module, the module can be loaded
  1445. via one of the following methods:
  1446. - `cfiscsi_load="YES"` in loader.conf(5).
  1447. - Add `cfiscsi` to `$kld_list` in rc.conf(5).
  1448. - ctladm(8)/ctld(8), when compiled with iSCSI support
  1449. (`WITH_ISCSI=yes` in src.conf(5))
  1450. Please see cfiscsi(4) for more details.
  1451. 20170316:
  1452. The mmcsd.ko module now additionally depends on geom_flashmap.ko.
  1453. Also, mmc.ko and mmcsd.ko need to be a matching pair built from the
  1454. same source (previously, the dependency of mmcsd.ko on mmc.ko was
  1455. missing, but mmcsd.ko now will refuse to load if it is incompatible
  1456. with mmc.ko).
  1457. 20170315:
  1458. The syntax of ipfw(8) named states was changed to avoid ambiguity.
  1459. If you have used named states in the firewall rules, you need to modify
  1460. them after installworld and before rebooting. Now named states must
  1461. be prefixed with colon.
  1462. 20170311:
  1463. The old drm (sys/dev/drm/) drivers for i915 and radeon have been
  1464. removed as the userland we provide cannot use them. The KMS version
  1465. (sys/dev/drm2) supports the same hardware.
  1466. 20170302:
  1467. Clang, llvm, lldb, compiler-rt and libc++ have been upgraded to 4.0.0.
  1468. Please see the 20141231 entry below for information about prerequisites
  1469. and upgrading, if you are not already using clang 3.5.0 or higher.
  1470. 20170221:
  1471. The code that provides support for ZFS .zfs/ directory functionality
  1472. has been reimplemented. It's not possible now to create a snapshot
  1473. by mkdir under .zfs/snapshot/. That should be the only user visible
  1474. change.
  1475. 20170216:
  1476. EISA bus support has been removed. The WITH_EISA option is no longer
  1477. valid.
  1478. 20170215:
  1479. MCA bus support has been removed.
  1480. 20170127:
  1481. The WITH_LLD_AS_LD / WITHOUT_LLD_AS_LD build knobs have been renamed
  1482. WITH_LLD_IS_LD / WITHOUT_LLD_IS_LD, for consistency with CLANG_IS_CC.
  1483. 20170112:
  1484. The EM_MULTIQUEUE kernel configuration option is deprecated now that
  1485. the em(4) driver conforms to iflib specifications.
  1486. 20170109:
  1487. The igb(4), em(4) and lem(4) ethernet drivers are now implemented via
  1488. IFLIB. If you have a custom kernel configuration that excludes em(4)
  1489. but you use igb(4), you need to re-add em(4) to your custom
  1490. configuration.
  1491. 20161217:
  1492. Clang, llvm, lldb, compiler-rt and libc++ have been upgraded to 3.9.1.
  1493. Please see the 20141231 entry below for information about prerequisites
  1494. and upgrading, if you are not already using clang 3.5.0 or higher.
  1495. 20161124:
  1496. Clang, llvm, lldb, compiler-rt and libc++ have been upgraded to 3.9.0.
  1497. Please see the 20141231 entry below for information about prerequisites
  1498. and upgrading, if you are not already using clang 3.5.0 or higher.
  1499. 20161119:
  1500. The layout of the pmap structure has changed for powerpc to put the pmap
  1501. statistics at the front for all CPU variations. libkvm(3) and all tools
  1502. that link against it need to be recompiled.
  1503. 20161030:
  1504. isl(4) and cyapa(4) drivers now require a new driver,
  1505. chromebook_platform(4), to work properly on Chromebook-class hardware.
  1506. On other types of hardware the drivers may need to be configured using
  1507. device hints. Please see the corresponding manual pages for details.
  1508. 20161017:
  1509. The urtwn(4) driver was merged into rtwn(4) and now consists of
  1510. rtwn(4) main module + rtwn_usb(4) and rtwn_pci(4) bus-specific
  1511. parts.
  1512. Also, firmware for RTL8188CE was renamed due to possible name
  1513. conflict (rtwnrtl8192cU(B) -> rtwnrtl8192cE(B))
  1514. 20161015:
  1515. GNU rcs has been removed from base. It is available as packages:
  1516. - rcs: Latest GPLv3 GNU rcs version.
  1517. - rcs57: Copy of the latest version of GNU rcs (GPLv2) before it was
  1518. removed from base.
  1519. 20161008:
  1520. Use of the cc_cdg, cc_chd, cc_hd, or cc_vegas congestion control
  1521. modules now requires that the kernel configuration contain the
  1522. TCP_HHOOK option. (This option is included in the GENERIC kernel.)
  1523. 20161003:
  1524. The WITHOUT_ELFCOPY_AS_OBJCOPY src.conf(5) knob has been retired.
  1525. ELF Tool Chain's elfcopy is always installed as /usr/bin/objcopy.
  1526. 20160924:
  1527. Relocatable object files with the extension of .So have been renamed
  1528. to use an extension of .pico instead. The purpose of this change is
  1529. to avoid a name clash with shared libraries on case-insensitive file
  1530. systems. On those file systems, foo.So is the same file as foo.so.
  1531. 20160918:
  1532. GNU rcs has been turned off by default. It can (temporarily) be built
  1533. again by adding WITH_RCS knob in src.conf.
  1534. Otherwise, GNU rcs is available from packages:
  1535. - rcs: Latest GPLv3 GNU rcs version.
  1536. - rcs57: Copy of the latest version of GNU rcs (GPLv2) from base.
  1537. 20160918:
  1538. The backup_uses_rcs functionality has been removed from rc.subr.
  1539. 20160908:
  1540. The queue(3) debugging macro, QUEUE_MACRO_DEBUG, has been split into
  1541. two separate components, QUEUE_MACRO_DEBUG_TRACE and
  1542. QUEUE_MACRO_DEBUG_TRASH. Define both for the original
  1543. QUEUE_MACRO_DEBUG behavior.
  1544. 20160824:
  1545. r304787 changed some ioctl interfaces between the iSCSI userspace
  1546. programs and the kernel. ctladm, ctld, iscsictl, and iscsid must be
  1547. rebuilt to work with new kernels. __FreeBSD_version has been bumped
  1548. to 1200005.
  1549. 20160818:
  1550. The UDP receive code has been updated to only treat incoming UDP
  1551. packets that were addressed to an L2 broadcast address as L3
  1552. broadcast packets. It is not expected that this will affect any
  1553. standards-conforming UDP application. The new behaviour can be
  1554. disabled by setting the sysctl net.inet.udp.require_l2_bcast to
  1555. 0.
  1556. 20160818:
  1557. Remove the openbsd_poll system call.
  1558. __FreeBSD_version has been bumped because of this.
  1559. 20160708:
  1560. The stable/11 branch has been created from head@r302406.
  1561. After branch N is created, entries older than the N-2 branch point are removed
  1562. from this file. After stable/14 is branched and current becomes FreeBSD 15,
  1563. entries older than stable/12 branch point will be removed from current's
  1564. UPDATING file.
  1565. COMMON ITEMS:
  1566. General Notes
  1567. -------------
  1568. Sometimes, obscure build problems are the result of environment
  1569. poisoning. This can happen because the make utility reads its
  1570. environment when searching for values for global variables. To run
  1571. your build attempts in an "environmental clean room", prefix all make
  1572. commands with 'env -i '. See the env(1) manual page for more details.
  1573. Occasionally a build failure will occur with "make -j" due to a race
  1574. condition. If this happens try building again without -j, and please
  1575. report a bug if it happens consistently.
  1576. When upgrading from one major version to another it is generally best to
  1577. upgrade to the latest code in the currently installed branch first, then
  1578. do an upgrade to the new branch. This is the best-tested upgrade path,
  1579. and has the highest probability of being successful. Please try this
  1580. approach if you encounter problems with a major version upgrade. Since
  1581. the stable 4.x branch point, one has generally been able to upgrade from
  1582. anywhere in the most recent stable branch to head / current (or even the
  1583. last couple of stable branches). See the top of this file when there's
  1584. an exception.
  1585. The update process will emit an error on an attempt to perform a build
  1586. or install from a FreeBSD version below the earliest supported version.
  1587. When updating from an older version the update should be performed one
  1588. major release at a time, including running `make delete-old` at each
  1589. step.
  1590. When upgrading a live system, having a root shell around before
  1591. installing anything can help undo problems. Not having a root shell
  1592. around can lead to problems if pam has changed too much from your
  1593. starting point to allow continued authentication after the upgrade.
  1594. This file should be read as a log of events. When a later event changes
  1595. information of a prior event, the prior event should not be deleted.
  1596. Instead, a pointer to the entry with the new information should be
  1597. placed in the old entry. Readers of this file should also sanity check
  1598. older entries before relying on them blindly. Authors of new entries
  1599. should write them with this in mind.
  1600. ZFS notes
  1601. ---------
  1602. When upgrading the boot ZFS pool to a new version (via zpool upgrade),
  1603. always follow these three steps:
  1604. 1) recompile and reinstall the ZFS boot loader and boot block
  1605. (this is part of "make buildworld" and "make installworld")
  1606. 2) update the ZFS boot block on your boot drive (only required when
  1607. doing a zpool upgrade):
  1608. When booting on x86 via BIOS, use the following to update the ZFS boot
  1609. block on the freebsd-boot partition of a GPT partitioned drive ada0:
  1610. gpart bootcode -p /boot/gptzfsboot -i $N ada0
  1611. The value $N will typically be 1. For EFI booting, see EFI notes.
  1612. 3) zpool upgrade the root pool. New bootblocks will work with old
  1613. pools, but not vice versa, so they need to be updated before any
  1614. zpool upgrade.
  1615. Non-boot pools do not need these updates.
  1616. EFI notes
  1617. ---------
  1618. There are two locations the boot loader can be installed into. The
  1619. current location (and the default) is \efi\freebsd\loader.efi and using
  1620. efibootmgr(8) to configure it. The old location, that must be used on
  1621. deficient systems that don't honor efibootmgr(8) protocols, is the
  1622. fallback location of \EFI\BOOT\BOOTxxx.EFI. Generally, you will copy
  1623. /boot/loader.efi to this location, but on systems installed a long time
  1624. ago the ESP may be too small and /boot/boot1.efi may be needed unless
  1625. the ESP has been expanded in the meantime.
  1626. Recent systems will have the ESP mounted on /boot/efi, but older ones
  1627. may not have it mounted at all, or mounted in a different
  1628. location. Older arm SD images with MBR used /boot/msdos as the
  1629. mountpoint. The ESP is a MSDOS filesystem.
  1630. The EFI boot loader rarely needs to be updated. For ZFS booting,
  1631. however, you must update loader.efi before you do 'zpool upgrade' the
  1632. root zpool, otherwise the old loader.efi may reject the upgraded zpool
  1633. since it does not automatically understand some new features.
  1634. See loader.efi(8) and uefi(8) for more details.
  1635. To build a kernel
  1636. -----------------
  1637. If you are updating from a prior version of FreeBSD (even one just
  1638. a few days old), you should follow this procedure. It is the most
  1639. failsafe as it uses a /usr/obj tree with a fresh mini-buildworld,
  1640. make kernel-toolchain
  1641. make -DALWAYS_CHECK_MAKE buildkernel KERNCONF=YOUR_KERNEL_HERE
  1642. make -DALWAYS_CHECK_MAKE installkernel KERNCONF=YOUR_KERNEL_HERE
  1643. To test a kernel once
  1644. ---------------------
  1645. If you just want to boot a kernel once (because you are not sure
  1646. if it works, or if you want to boot a known bad kernel to provide
  1647. debugging information) run
  1648. make installkernel KERNCONF=YOUR_KERNEL_HERE KODIR=/boot/testkernel
  1649. nextboot -k testkernel
  1650. To rebuild everything and install it on the current system.
  1651. -----------------------------------------------------------
  1652. # Note: sometimes if you are running current you gotta do more than
  1653. # is listed here if you are upgrading from a really old current.
  1654. <make sure you have good level 0 dumps>
  1655. make buildworld
  1656. make buildkernel KERNCONF=YOUR_KERNEL_HERE
  1657. make installkernel KERNCONF=YOUR_KERNEL_HERE
  1658. [1]
  1659. <reboot in single user> [3]
  1660. etcupdate -p [5]
  1661. make installworld
  1662. etcupdate -B [4]
  1663. make delete-old [6]
  1664. <reboot>
  1665. To cross-install current onto a separate partition
  1666. --------------------------------------------------
  1667. # In this approach we use a separate partition to hold
  1668. # current's root, 'usr', and 'var' directories. A partition
  1669. # holding "/", "/usr" and "/var" should be about 2GB in
  1670. # size.
  1671. <make sure you have good level 0 dumps>
  1672. <boot into -stable>
  1673. make buildworld
  1674. make buildkernel KERNCONF=YOUR_KERNEL_HERE
  1675. <maybe newfs current's root partition>
  1676. <mount current's root partition on directory ${CURRENT_ROOT}>
  1677. make installworld DESTDIR=${CURRENT_ROOT} -DDB_FROM_SRC
  1678. make distribution DESTDIR=${CURRENT_ROOT} # if newfs'd
  1679. make installkernel KERNCONF=YOUR_KERNEL_HERE DESTDIR=${CURRENT_ROOT}
  1680. cp /etc/fstab ${CURRENT_ROOT}/etc/fstab # if newfs'd
  1681. <edit ${CURRENT_ROOT}/etc/fstab to mount "/" from the correct partition>
  1682. <reboot into current>
  1683. <do a "native" rebuild/install as described in the previous section>
  1684. <maybe install compatibility libraries from ports/misc/compat*>
  1685. <reboot>
  1686. To upgrade in-place from stable to current
  1687. ----------------------------------------------
  1688. <make sure you have good level 0 dumps>
  1689. make buildworld [9]
  1690. make buildkernel KERNCONF=YOUR_KERNEL_HERE [8]
  1691. make installkernel KERNCONF=YOUR_KERNEL_HERE
  1692. [1]
  1693. <reboot in single user> [3]
  1694. etcupdate -p [5]
  1695. make installworld
  1696. etcupdate -B [4]
  1697. make delete-old [6]
  1698. <reboot>
  1699. Make sure that you've read the UPDATING file to understand the
  1700. tweaks to various things you need. At this point in the life
  1701. cycle of current, things change often and you are on your own
  1702. to cope. The defaults can also change, so please read ALL of
  1703. the UPDATING entries.
  1704. Also, if you are tracking -current, you must be subscribed to
  1705. freebsd-current@freebsd.org. Make sure that before you update
  1706. your sources that you have read and understood all the recent
  1707. messages there. If in doubt, please track -stable which has
  1708. much fewer pitfalls.
  1709. [1] If you have third party modules, such as vmware, you should disable
  1710. them at this point so they don't crash your system on
  1711. reboot. Alternatively, you should rebuild all the modules you have in
  1712. your system and install them as well. If you are running -current, you
  1713. should seriously consider placing all sources to all the modules for
  1714. your system (or symlinks to them) in /usr/local/sys/modules so this
  1715. happens automatically. If all your modules come from ports, then adding
  1716. the port origin directories to PORTS_MODULES instead is also automatic
  1717. and effective, eg:
  1718. PORTS_MODULES+=x11/nvidia-driver
  1719. [3] From the bootblocks, boot -s, and then do
  1720. fsck -p
  1721. mount -u /
  1722. mount -a
  1723. sh /etc/rc.d/zfs start # mount zfs filesystem, if needed
  1724. cd src # full path to source
  1725. adjkerntz -i # if CMOS is wall time
  1726. Also, when doing a major release upgrade, it is required that you boot
  1727. into single user mode to do the installworld.
  1728. [4] Note: This step is non-optional. Failure to do this step
  1729. can result in a significant reduction in the functionality of the
  1730. system. Attempting to do it by hand is not recommended and those
  1731. that pursue this avenue should read this file carefully, as well
  1732. as the archives of freebsd-current and freebsd-hackers mailing lists
  1733. for potential gotchas. See etcupdate(8) for more information.
  1734. [5] Usually this step is a no-op. However, from time to time
  1735. you may need to do this if you get unknown user in the following
  1736. step.
  1737. [6] This only deletes old files and directories. Old libraries
  1738. can be deleted by "make delete-old-libs", but you have to make
  1739. sure that no program is using those libraries anymore.
  1740. [8] The new kernel must be able to run existing binaries used by an
  1741. installworld. When upgrading across major versions, the new kernel's
  1742. configuration must include the correct COMPAT_FREEBSD<n> option for
  1743. existing binaries (e.g. COMPAT_FREEBSD11 to run 11.x binaries). Failure
  1744. to do so may leave you with a system that is hard to boot to recover. A
  1745. GENERIC kernel will include suitable compatibility options to run
  1746. binaries from older branches. Note that the ability to run binaries
  1747. from unsupported branches is not guaranteed.
  1748. Make sure that you merge any new devices from GENERIC since the
  1749. last time you updated your kernel config file. Options also
  1750. change over time, so you may need to adjust your custom kernels
  1751. for these as well.
  1752. [9] If CPUTYPE is defined in your /etc/make.conf, make sure to use the
  1753. "?=" instead of the "=" assignment operator, so that buildworld can
  1754. override the CPUTYPE if it needs to.
  1755. MAKEOBJDIRPREFIX must be defined in an environment variable, and
  1756. not on the command line, or in /etc/make.conf. buildworld will
  1757. warn if it is improperly defined.
  1758. FORMAT:
  1759. This file contains a list, in reverse chronological order, of major
  1760. breakages in tracking -current. It is not guaranteed to be a complete
  1761. list of such breakages, and only contains entries since September 23, 2011.
  1762. If you need to see UPDATING entries from before that date, you will need
  1763. to fetch an UPDATING file from an older FreeBSD release.
  1764. Copyright information:
  1765. Copyright 1998-2009 M. Warner Losh <imp@FreeBSD.org>
  1766. Redistribution, publication, translation and use, with or without
  1767. modification, in full or in part, in any form or format of this
  1768. document are permitted without further permission from the author.
  1769. THIS DOCUMENT IS PROVIDED BY WARNER LOSH ``AS IS'' AND ANY EXPRESS OR
  1770. IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  1771. WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  1772. DISCLAIMED. IN NO EVENT SHALL WARNER LOSH BE LIABLE FOR ANY DIRECT,
  1773. INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  1774. (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
  1775. SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  1776. HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
  1777. STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
  1778. IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  1779. POSSIBILITY OF SUCH DAMAGE.
  1780. Contact Warner Losh if you have any questions about your use of
  1781. this document.