UPDATING 101 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440
  1. Updating Information for FreeBSD current users.
  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://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
  8. Items affecting the ports and packages system can be found in
  9. /usr/ports/UPDATING. Please read that file before running portupgrade.
  10. NOTE TO PEOPLE WHO THINK THAT FreeBSD 14.x IS SLOW:
  11. FreeBSD 14.x has many debugging features turned on, in both the kernel
  12. and userland. These features attempt to detect incorrect use of
  13. system primitives, and encourage loud failure through extra sanity
  14. checking and fail stop semantics. They also substantially impact
  15. system performance. If you want to do performance measurement,
  16. benchmarking, and optimization, you'll want to turn them off. This
  17. includes various WITNESS- related kernel options, INVARIANTS, malloc
  18. debugging flags in userland, and various verbose features in the
  19. kernel. Many developers choose to disable these features on build
  20. machines to maximize performance. (To completely disable malloc
  21. debugging, define WITH_MALLOC_PRODUCTION in /etc/src.conf and rebuild
  22. world, or to merely disable the most expensive debugging functionality
  23. at runtime, run "ln -s 'abort:false,junk:false' /etc/malloc.conf".)
  24. 20210108:
  25. PC Card attachments for all devices have been removed. In the case of
  26. wi and cmx, the entire drivers were removed because they were only
  27. PC Card devices. FreeBSD_version 1300134 should be used for this
  28. since it was bumped so recently.
  29. 20210107:
  30. Transport-independent parts of HID support have been split off the USB
  31. code in to separate subsystem. Kernel configs which include one of
  32. ums, ukbd, uhid, atp, wsp, wmt, uaudio, ugold or ucycom drivers should
  33. be updated with adding of "device hid" line.
  34. 20210105:
  35. ncurses installation has been modified to only keep the widechar
  36. enabled version. Incremental build is broken for that change, so it
  37. requires a clean build.
  38. 20201223:
  39. The FreeBSD project has migrated from Subversion to Git. Temporary
  40. instructions can be found at
  41. https://github.com/bsdimp/freebsd-git-docs/blob/main/src-cvt.md
  42. and other documents in that repo.
  43. 20201216:
  44. The services database has been updated to cover more of the basic
  45. services expected in a modern system. The database is big enough
  46. that it will cause issues in mergemaster in Releases previous to
  47. 12.2 and 11.3, or in very old current systems from before r358154.
  48. 20201215:
  49. Obsolete in-tree GDB 6.1.1 has been removed. GDB (including kgdb)
  50. may be installed from ports or packages.
  51. 20201124:
  52. ping6 has been merged into ping. It can now be called as "ping -6".
  53. See ping(8) for details.
  54. 20201108:
  55. Default value of net.add_addr_allfibs has been changed to 0.
  56. If you have multi-fib configuration and rely on existence of all
  57. interface routes in every fib, you need to set the above sysctl to 1.
  58. 20201030:
  59. The internal pre-processor in the calendar(1) program has been
  60. extended to support more C pre-processor commands (e.g. #ifdef, #else,
  61. and #undef) and to detect unbalanced conditional statements.
  62. Error messages have been extended to include the filename and line
  63. number if processing stops to help fixing malformed data files.
  64. 20201026:
  65. All the data files for the calendar(1) program, except calendar.freebsd,
  66. have been moved to the deskutils/calendar-data port, much like the
  67. jewish calendar entries were moved to deskutils/hebcal years ago. After
  68. make delete-old-files, you need to install it to retain full
  69. functionality. calendar(1) will issue a reminder for files it can't
  70. find.
  71. 20200923:
  72. LINT files are no longer generated. We now include the relevant NOTES
  73. files. Note: This may cause conflicts with updating in some cases.
  74. find sys -name LINT\* -delete
  75. is suggested across this commit to remove the generated LINT files.
  76. If you have tried to update with generated files there, the svn
  77. command you want to un-auger the tree is
  78. cd sys/amd64/conf
  79. svn revert -R .
  80. and then do the above find from the top level. Substitute 'amd64'
  81. above with where the error message indicates a conflict.
  82. 20200824:
  83. OpenZFS support has been integrated. Do not upgrade root pools until
  84. the loader is updated to support zstd. Furthermore, we caution against
  85. 'zpool upgrade' for the next few weeks. The change should be transparent
  86. unless you want to use new features.
  87. Not all "NO_CLEAN" build scenarios work across these changes. Many
  88. scenarios have been tested and fixed, but rebuilding kernels without
  89. rebuilding world may fail.
  90. The ZFS cache file has moved from /boot to /etc to match the OpenZFS
  91. upstream default. A fallback to /boot has been added for mountroot.
  92. Pool auto import behavior at boot has been moved from the kernel module
  93. to an explicit "zpool import -a" in one of the rc scripts enabled by
  94. zfs_enable=YES. This means your non-root zpools won't auto import until
  95. you upgrade your /etc/rc.d files.
  96. 20200824:
  97. The resume code now notifies devd with the 'kernel' system
  98. rather than the old 'kern' subsystem to be consistent with
  99. other use. The old notification will be created as well, but
  100. will be removed prior to FreeBSD 14.0.
  101. 20200821:
  102. r362275 changed the internal API between the kernel RPC and the
  103. NFS modules. As such, all the modules must be recompiled from
  104. sources.
  105. 20200817:
  106. r364330 modified the internal API used between the NFS modules.
  107. As such, all the NFS modules must be re-compiled from sources.
  108. 20200816:
  109. Clang, llvm, lld, lldb, compiler-rt, libc++, libunwind and openmp have
  110. been upgraded to 11.0.0. Please see the 20141231 entry below for
  111. information about prerequisites and upgrading, if you are not already
  112. using clang 3.5.0 or higher.
  113. 20200810:
  114. r364092 modified the internal ABI used between the kernel NFS
  115. modules. As such, all of these modules need to be rebuilt
  116. from sources, so a version bump was done.
  117. 20200807:
  118. Makefile.inc has been updated to work around the issue documented in
  119. 20200729. It was a case where the optimization of using symbolic links
  120. to point to binaries created a situation where we'd run new binaries
  121. with old libraries starting midway through the installworld process.
  122. 20200729:
  123. r363679 has redefined some undefined behavior in regcomp(3); notably,
  124. extraneous escapes of most ordinary characters will no longer be
  125. accepted. An exp-run has identified all of the problems with this in
  126. ports, but other non-ports software may need extra escapes removed to
  127. continue to function.
  128. Because of this change, installworld may encounter the following error
  129. from rtld: Undefined symbol "regcomp@FBSD_1.6" -- It is imperative that
  130. you do not halt installworld. Instead, let it run to completion (whether
  131. successful or not) and run installworld once more.
  132. 20200627:
  133. A new implementation of bc and dc has been imported in r362681. This
  134. implementation corrects non-conformant behavior of the previous bc
  135. and adds GNU bc compatible options. It offers a number of extensions,
  136. is much faster on large values, and has support for message catalogs
  137. (a number of languages are already supported, contributions of further
  138. languages welcome). The option WITHOUT_GH_BC can be used to build the
  139. world with the previous versions of bc and dc.
  140. 20200625:
  141. r362639 changed the internal API used between the NFS kernel modules.
  142. As such, they all need to be rebuilt from sources.
  143. 20200613:
  144. r362158 changed the arguments for VFS_CHECKEXP(). As such, any
  145. out of tree file systems need to be modified and rebuilt.
  146. Also, any file systems that are modules must be rebuilt.
  147. 20200604:
  148. read(2) of a directory fd is now rejected by default. root may
  149. re-enable it for system root only on non-ZFS filesystems with the
  150. security.bsd.allow_read_dir sysctl(8) MIB if
  151. security.bsd.suser_enabled=1.
  152. It may be advised to setup aliases for grep to default to `-d skip` if
  153. commonly non-recursively grepping a list that includes directories and
  154. the potential for the resulting stderr output is not tolerable. Example
  155. aliases are now installed, commented out, in /root/.cshrc and
  156. /root/.shrc.
  157. 20200523:
  158. Clang, llvm, lld, lldb, compiler-rt, libc++, libunwind and openmp have
  159. been upgraded to 10.0.1. Please see the 20141231 entry below for
  160. information about prerequisites and upgrading, if you are not already
  161. using clang 3.5.0 or higher.
  162. 20200512:
  163. Support for obsolete compilers has been removed from the build system.
  164. Clang 6 and GCC 6.4 are the minimum supported versions.
  165. 20200424:
  166. closefrom(2) has been moved under COMPAT12, and replaced in libc with a
  167. stub that calls close_range(2). If using a custom kernel configuration,
  168. you may want to ensure that the COMPAT_FREEBSD12 option is included, as
  169. a slightly older -CURRENT userland and older FreeBSD userlands may not
  170. be functional without closefrom(2).
  171. 20200414:
  172. Upstream DTS from Linux 5.6 was merged and they now have the SID
  173. and THS (Secure ID controller and THermal Sensor) node present.
  174. The DTB overlays have now been removed from the tree for the H3/H5 and
  175. A64 SoCs and the aw_sid and aw_thermal driver have been updated to
  176. deal with upstream DTS. If you are using those overlays you need to
  177. remove them from loader.conf and update the DTBs on the FAT partition.
  178. 20200310:
  179. Clang, llvm, lld, lldb, compiler-rt, libc++, libunwind and openmp have
  180. been upgraded to 10.0.0. Please see the 20141231 entry below for
  181. information about prerequisites and upgrading, if you are not already
  182. using clang 3.5.0 or higher.
  183. 20200309:
  184. The amd(8) automount daemon has been removed from the source tree.
  185. As of FreeBSD 10.1 autofs(5) is the preferred tool for automounting.
  186. amd is still available in the sysutils/am-utils port.
  187. 20200301:
  188. Removed brooktree driver (bktr.4) from the tree.
  189. 20200229:
  190. The WITH_GPL_DTC option has been removed. The BSD-licenced device tree
  191. compiler in usr.bin/dtc is used on all architectures which use dtc, and
  192. the GPL dtc is available (if needed) from the sysutils/dtc port.
  193. 20200229:
  194. The WITHOUT_LLVM_LIBUNWIND option has been removed. LLVM's libunwind
  195. is used by all supported CPU architectures.
  196. 20200229:
  197. GCC 4.2.1 has been removed from the tree. The WITH_GCC,
  198. WITH_GCC_BOOTSTRAP, and WITH_GNUCXX options are no longer available.
  199. Users who wish to build FreeBSD with GCC must use the external toolchain
  200. ports or packages.
  201. 20200220:
  202. ncurses has been updated to a newer version (6.2-20200215). Given the ABI
  203. has changed, users will have to rebuild all the ports that are linked to
  204. ncurses.
  205. 20200217:
  206. The size of struct vnet and the magic cookie have changed.
  207. Users need to recompile libkvm and all modules using VIMAGE
  208. together with their new kernel.
  209. 20200212:
  210. Defining the long deprecated NO_CTF, NO_DEBUG_FILES, NO_INSTALLLIB,
  211. NO_MAN, NO_PROFILE, and NO_WARNS variables is now an error. Update
  212. your Makefiles and scripts to define MK_<var>=no instead as required.
  213. One exception to this is that program or library Makefiles should
  214. define MAN to empty rather than setting MK_MAN=no.
  215. 20200108:
  216. Clang/LLVM is now the default compiler and LLD the default
  217. linker for riscv64.
  218. 20200107:
  219. make universe no longer uses GCC 4.2.1 on any architectures.
  220. Architectures not supported by in-tree Clang/LLVM require an
  221. external toolchain package.
  222. 20200104:
  223. GCC 4.2.1 is now not built by default, as part of the GCC 4.2.1
  224. retirement plan. Specifically, the GCC, GCC_BOOTSTRAP, and GNUCXX
  225. options default to off for all supported CPU architectures. As a
  226. short-term transition aid they may be enabled via WITH_* options.
  227. GCC 4.2.1 is expected to be removed from the tree on 2020-03-31.
  228. 20200102:
  229. Support for armv5 has been disconnected and is being removed. The
  230. machine combination MACHINE=arm MACHINE_ARCH=arm is no longer valid.
  231. You must now use a MACHINE_ARCH of armv6 or armv7. The default
  232. MACHINE_ARCH for MACHINE=arm is now armv7.
  233. 20191226:
  234. Clang/LLVM is now the default compiler for all powerpc architectures.
  235. LLD is now the default linker for powerpc64. The change for powerpc64
  236. also includes a change to the ELFv2 ABI, incompatible with the existing
  237. ABI.
  238. 20191226:
  239. Kernel-loadable random(4) modules are no longer unloadable.
  240. 20191222:
  241. Clang, llvm, lld, lldb, compiler-rt, libc++, libunwind and openmp have
  242. been upgraded to 9.0.1. Please see the 20141231 entry below for
  243. information about prerequisites and upgrading, if you are not already
  244. using clang 3.5.0 or higher.
  245. 20191212:
  246. r355677 has modified the internal interface used between the
  247. NFS modules in the kernel. As such, they must all be upgraded
  248. simultaneously. I will do a version bump for this.
  249. 20191205:
  250. The root certificates of the Mozilla CA Certificate Store have been
  251. imported into the base system and can be managed with the certctl(8)
  252. utility. If you have installed the security/ca_root_nss port or package
  253. with the ETCSYMLINK option (the default), be advised that there may be
  254. differences between those included in the port and those included in
  255. base due to differences in nss branch used as well as general update
  256. frequency. Note also that certctl(8) cannot manage certs in the
  257. format used by the security/ca_root_nss port.
  258. 20191120:
  259. The amd(8) automount daemon has been disabled by default, and will be
  260. removed in the future. As of FreeBSD 10.1 the autofs(5) is available
  261. for automounting.
  262. 20191107:
  263. The nctgpio and wbwd drivers have been moved to the superio bus.
  264. If you have one of these drivers in a kernel configuration, then
  265. you should add device superio to it. If you use one of these drivers
  266. as a module and you compile a custom set of modules, then you should
  267. add superio to the set.
  268. 20191021:
  269. KPIs for network drivers to access interface addresses have changed.
  270. Users need to recompile NIC driver modules together with kernel.
  271. 20191021:
  272. The net.link.tap.user_open sysctl no longer prevents user opening of
  273. already created /dev/tapNN devices. Access is still controlled by
  274. node permissions, just like tun devices. The net.link.tap.user_open
  275. sysctl is now used only to allow users to perform devfs cloning of
  276. tap devices, and the subsequent open may not succeed if the user is not
  277. in the appropriate group. This sysctl may be deprecated/removed
  278. completely in the future.
  279. 20191009:
  280. mips, powerpc, and sparc64 are no longer built as part of
  281. universe / tinderbox unless MAKE_OBSOLETE_GCC is defined. If
  282. not defined, mips, powerpc, and sparc64 builds will look for
  283. the xtoolchain binaries and if installed use them for universe
  284. builds. As llvm 9.0 becomes vetted for these architectures, they
  285. will be removed from the list.
  286. 20191009:
  287. Clang, llvm, lld, lldb, compiler-rt, libc++, libunwind and openmp have
  288. been upgraded to 9.0.0. Please see the 20141231 entry below for
  289. information about prerequisites and upgrading, if you are not already
  290. using clang 3.5.0 or higher.
  291. 20191003:
  292. The hpt27xx, hptmv, hptnr, and hptrr drivers have been removed from
  293. GENERIC. They are available as modules and can be loaded by adding
  294. to /boot/loader.conf hpt27xx_load="YES", hptmv_load="YES",
  295. hptnr_load="YES", or hptrr_load="YES", respectively.
  296. 20190913:
  297. ntpd no longer by default locks its pages in memory, allowing them
  298. to be paged out by the kernel. Use rlimit memlock to restore
  299. historic BSD behaviour. For example, add "rlimit memlock 32"
  300. to ntp.conf to lock up to 32 MB of ntpd address space in memory.
  301. 20190823:
  302. Several of ping6's options have been renamed for better consistency
  303. with ping. If you use any of -ARWXaghmrtwx, you must update your
  304. scripts. See ping6(8) for details.
  305. 20190727:
  306. The vfs.fusefs.sync_unmount and vfs.fusefs.init_backgrounded sysctls
  307. and the "-o sync_unmount" and "-o init_backgrounded" mount options have
  308. been removed from mount_fusefs(8). You can safely remove them from
  309. your scripts, because they had no effect.
  310. The vfs.fusefs.fix_broken_io, vfs.fusefs.sync_resize,
  311. vfs.fusefs.refresh_size, vfs.fusefs.mmap_enable,
  312. vfs.fusefs.reclaim_revoked, and vfs.fusefs.data_cache_invalidate
  313. sysctls have been removed. If you felt the need to set any of them to
  314. a non-default value, please tell asomers@FreeBSD.org why.
  315. 20190713:
  316. Default permissions on the /var/account/acct file (and copies of it
  317. rotated by periodic daily scripts) are changed from 0644 to 0640
  318. because the file contains sensitive information that should not be
  319. world-readable. If the /var/account directory must be created by
  320. rc.d/accounting, the mode used is now 0750. Admins who use the
  321. accounting feature are encouraged to change the mode of an existing
  322. /var/account directory to 0750 or 0700.
  323. 20190620:
  324. Entropy collection and the /dev/random device are no longer optional
  325. components. The "device random" option has been removed.
  326. Implementations of distilling algorithms can still be made loadable
  327. with "options RANDOM_LOADABLE" (e.g., random_fortuna.ko).
  328. 20190612:
  329. Clang, llvm, lld, lldb, compiler-rt, libc++, libunwind and openmp have
  330. been upgraded to 8.0.1. Please see the 20141231 entry below for
  331. information about prerequisites and upgrading, if you are not already
  332. using clang 3.5.0 or higher.
  333. 20190608:
  334. A fix was applied to i386 kernel modules to avoid panics with
  335. dpcpu or vnet. Users need to recompile i386 kernel modules
  336. having pcpu or vnet sections or they will refuse to load.
  337. 20190513:
  338. User-wired pages now have their own counter,
  339. vm.stats.vm.v_user_wire_count. The vm.max_wired sysctl was renamed
  340. to vm.max_user_wired and changed from an unsigned int to an unsigned
  341. long. bhyve VMs wired with the -S are now subject to the user
  342. wiring limit; the vm.max_user_wired sysctl may need to be tuned to
  343. avoid running into the limit.
  344. 20190507:
  345. The IPSEC option has been removed from GENERIC. Users requiring
  346. ipsec(4) must now load the ipsec(4) kernel module.
  347. 20190507:
  348. The tap(4) driver has been folded into tun(4), and the module has been
  349. renamed to tuntap. You should update any kld_list="if_tap" or
  350. kld_list="if_tun" entries in /etc/rc.conf, if_tap_load="YES" or
  351. if_tun_load="YES" entries in /boot/loader.conf to load the if_tuntap
  352. module instead, and "device tap" or "device tun" entries in kernel
  353. config files to select the tuntap device instead.
  354. 20190418:
  355. The following knobs have been added related to tradeoffs between
  356. safe use of the random device and availability in the absence of
  357. entropy:
  358. kern.random.initial_seeding.bypass_before_seeding: tunable; set
  359. non-zero to bypass the random device prior to seeding, or zero to
  360. block random requests until the random device is initially seeded.
  361. For now, set to 1 (unsafe) by default to restore pre-r346250 boot
  362. availability properties.
  363. kern.random.initial_seeding.read_random_bypassed_before_seeding:
  364. read-only diagnostic sysctl that is set when bypass is enabled and
  365. read_random(9) is bypassed, to enable programmatic handling of this
  366. initial condition, if desired.
  367. kern.random.initial_seeding.arc4random_bypassed_before_seeding:
  368. Similar to the above, but for for arc4random(9) initial seeding.
  369. kern.random.initial_seeding.disable_bypass_warnings: tunable; set
  370. non-zero to disable warnings in dmesg when the same conditions are
  371. met as for the diagnostic sysctls above. Defaults to zero, i.e.,
  372. produce warnings in dmesg when the conditions are met.
  373. 20190416:
  374. The loadable random module KPI has changed; the random_infra_init()
  375. routine now requires a 3rd function pointer for a bool (*)(void)
  376. method that returns true if the random device is seeded (and
  377. therefore unblocked).
  378. 20190404:
  379. r345895 reverts r320698. This implies that an nfsuserd(8) daemon
  380. built from head sources between r320757 (July 6, 2017) and
  381. r338192 (Aug. 22, 2018) will not work unless the "-use-udpsock"
  382. is added to the command line.
  383. nfsuserd daemons built from head sources that are post-r338192 are
  384. not affected and should continue to work.
  385. 20190320:
  386. The fuse(4) module has been renamed to fusefs(4) for consistency with
  387. other filesystems. You should update any kld_load="fuse" entries in
  388. /etc/rc.conf, fuse_load="YES" entries in /boot/loader.conf, and
  389. "options FUSE" entries in kernel config files.
  390. 20190304:
  391. Clang, llvm, lld, lldb, compiler-rt and libc++ have been upgraded to
  392. 8.0.0. Please see the 20141231 entry below for information about
  393. prerequisites and upgrading, if you are not already using clang 3.5.0
  394. or higher.
  395. 20190226:
  396. geom_uzip(4) depends on the new module xz. If geom_uzip is statically
  397. compiled into your custom kernel, add 'device xz' statement to the
  398. kernel config.
  399. 20190219:
  400. drm and drm2 have been removed from the tree. Please see
  401. https://wiki.freebsd.org/Graphics for the latest information on
  402. migrating to the drm ports.
  403. 20190131:
  404. Iflib is no longer unconditionally compiled into the kernel. Drivers
  405. using iflib and statically compiled into the kernel, now require
  406. the 'device iflib' config option. For the same drivers loaded as
  407. modules on kernels not having 'device iflib', the iflib.ko module
  408. is loaded automatically.
  409. 20190125:
  410. The IEEE80211_AMPDU_AGE and AH_SUPPORT_AR5416 kernel configuration
  411. options no longer exist since r343219 and r343427 respectively;
  412. nothing uses them, so they should be just removed from custom
  413. kernel config files.
  414. 20181230:
  415. r342635 changes the way efibootmgr(8) works by requiring users to add
  416. the -b (bootnum) parameter for commands where the bootnum was previously
  417. specified with each option. For example 'efibootmgr -B 0001' is now
  418. 'efibootmgr -B -b 0001'.
  419. 20181220:
  420. r342286 modifies the NFSv4 server so that it obeys vfs.nfsd.nfs_privport
  421. in the same as it is applied to NFSv2 and 3. This implies that NFSv4
  422. servers that have vfs.nfsd.nfs_privport set will only allow mounts
  423. from clients using a reserved port#. Since both the FreeBSD and Linux
  424. NFSv4 clients use reserved port#s by default, this should not affect
  425. most NFSv4 mounts.
  426. 20181219:
  427. The XLP config has been removed. We can't support 64-bit atomics in this
  428. kernel because it is running in 32-bit mode. XLP users must transition
  429. to running a 64-bit kernel (XLP64 or XLPN32).
  430. The mips GXEMUL support has been removed from FreeBSD. MALTA* + qemu is
  431. the preferred emulator today and we don't need two different ones.
  432. The old sibyte / swarm / Broadcom BCM1250 support has been
  433. removed from the mips port.
  434. 20181211:
  435. Clang, llvm, lld, lldb, compiler-rt and libc++ have been upgraded to
  436. 7.0.1. Please see the 20141231 entry below for information about
  437. prerequisites and upgrading, if you are not already using clang 3.5.0
  438. or higher.
  439. 20181211:
  440. Remove the timed and netdate programs from the base tree. Setting
  441. the time with these daemons has been obsolete for over a decade.
  442. 20181126:
  443. On amd64, arm64 and armv7 (architectures that install LLVM's ld.lld
  444. linker as /usr/bin/ld) GNU ld is no longer installed as ld.bfd, as
  445. it produces broken binaries when ifuncs are in use. Users needing
  446. GNU ld should install the binutils port or package.
  447. 20181123:
  448. The BSD crtbegin and crtend code has been enabled by default. It has
  449. had extensive testing on amd64, arm64, and i386. It can be disabled
  450. by building a world with -DWITHOUT_BSD_CRTBEGIN.
  451. 20181115:
  452. The set of CTM commands (ctm, ctm_smail, ctm_rmail, ctm_dequeue)
  453. has been converted to a port (misc/ctm) and will be removed from
  454. FreeBSD-13. It is available as a package (ctm) for all supported
  455. FreeBSD versions.
  456. 20181110:
  457. The default newsyslog.conf(5) file has been changed to only include
  458. files in /etc/newsyslog.conf.d/ and /usr/local/etc/newsyslog.conf.d/ if
  459. the filenames end in '.conf' and do not begin with a '.'.
  460. You should check the configuration files in these two directories match
  461. this naming convention. You can verify which configuration files are
  462. being included using the command:
  463. $ newsyslog -Nrv
  464. 20181015:
  465. Ports for the DRM modules have been simplified. Now, amd64 users should
  466. just install the drm-kmod port. All others should install
  467. drm-legacy-kmod.
  468. Graphics hardware that's newer than about 2010 usually works with
  469. drm-kmod. For hardware older than 2013, however, some users will need
  470. to use drm-legacy-kmod if drm-kmod doesn't work for them. Hardware older
  471. than 2008 usually only works in drm-legacy-kmod. The graphics team can
  472. only commit to hardware made since 2013 due to the complexity of the
  473. market and difficulty to test all the older cards effectively. If you
  474. have hardware supported by drm-kmod, you are strongly encouraged to use
  475. that as you will get better support.
  476. Other than KPI chasing, drm-legacy-kmod will not be updated. As outlined
  477. elsewhere, the drm and drm2 modules will be eliminated from the src base
  478. soon (with a limited exception for arm). Please update to the package
  479. asap and report any issues to x11@freebsd.org.
  480. Generally, anybody using the drm*-kmod packages should add
  481. WITHOUT_DRM_MODULE=t and WITHOUT_DRM2_MODULE=t to avoid nasty
  482. cross-threading surprises, especially with automatic driver
  483. loading from X11 startup. These will become the defaults in 13-current
  484. shortly.
  485. 20181012:
  486. The ixlv(4) driver has been renamed to iavf(4). As a consequence,
  487. custom kernel and module loading configuration files must be updated
  488. accordingly. Moreover, interfaces previous presented as ixlvN to the
  489. system are now exposed as iavfN and network configuration files must
  490. be adjusted as necessary.
  491. 20181009:
  492. OpenSSL has been updated to version 1.1.1. This update included
  493. additional various API changes throughout the base system. It is
  494. important to rebuild third-party software after upgrading. The value
  495. of __FreeBSD_version has been bumped accordingly.
  496. 20181006:
  497. The legacy DRM modules and drivers have now been added to the loader's
  498. module blacklist, in favor of loading them with kld_list in rc.conf(5).
  499. The module blacklist may be overridden with the loader.conf(5)
  500. 'module_blacklist' variable, but loading them via rc.conf(5) is strongly
  501. encouraged.
  502. 20181002:
  503. The cam(4) based nda(4) driver will be used over nvd(4) by default on
  504. powerpc64. You may set 'options NVME_USE_NVD=1' in your kernel conf or
  505. loader tunable 'hw.nvme.use_nvd=1' if you wish to use the existing
  506. driver. Make sure to edit /boot/etc/kboot.conf and fstab to use the
  507. nda device name.
  508. 20180913:
  509. Reproducible build mode is now on by default, in preparation for
  510. FreeBSD 12.0. This eliminates build metadata such as the user,
  511. host, and time from the kernel (and uname), unless the working tree
  512. corresponds to a modified checkout from a version control system.
  513. The previous behavior can be obtained by setting the /etc/src.conf
  514. knob WITHOUT_REPRODUCIBLE_BUILD.
  515. 20180826:
  516. The Yarrow CSPRNG has been removed from the kernel as it has not been
  517. supported by its designers since at least 2003. Fortuna has been the
  518. default since FreeBSD-11.
  519. 20180822:
  520. devctl freeze/thaw have gone into the tree, the rc scripts have been
  521. updated to use them and devmatch has been changed. You should update
  522. kernel, userland and rc scripts all at the same time.
  523. 20180818:
  524. The default interpreter has been switched from 4th to Lua.
  525. LOADER_DEFAULT_INTERP, documented in build(7), will override the default
  526. interpreter. If you have custom FORTH code you will need to set
  527. LOADER_DEFAULT_INTERP=4th (valid values are 4th, lua or simp) in
  528. src.conf for the build. This will create default hard links between
  529. loader and loader_4th instead of loader and loader_lua, the new default.
  530. If you are using UEFI it will create the proper hard link to loader.efi.
  531. bhyve uses userboot.so. It remains 4th-only until some issues are solved
  532. regarding coexisting with multiple versions of FreeBSD are resolved.
  533. 20180815:
  534. ls(1) now respects the COLORTERM environment variable used in other
  535. systems and software to indicate that a colored terminal is both
  536. supported and desired. If ls(1) is suddenly emitting colors, they may
  537. be disabled again by either removing the unwanted COLORTERM from your
  538. environment, or using `ls --color=never`. The ls(1) specific CLICOLOR
  539. may not be observed in a future release.
  540. 20180808:
  541. The default pager for most commands has been changed to "less". To
  542. restore the old behavior, set PAGER="more" and MANPAGER="more -s" in
  543. your environment.
  544. 20180731:
  545. The jedec_ts(4) driver has been removed. A superset of its functionality
  546. is available in the jedec_dimm(4) driver, and the manpage for that
  547. driver includes migration instructions. If you have "device jedec_ts"
  548. in your kernel configuration file, it must be removed.
  549. 20180730:
  550. amd64/GENERIC now has EFI runtime services, EFIRT, enabled by default.
  551. This should have no effect if the kernel is booted via BIOS/legacy boot.
  552. EFIRT may be disabled via a loader tunable, efi.rt.disabled, if a system
  553. has a buggy firmware that prevents a successful boot due to use of
  554. runtime services.
  555. 20180727:
  556. Atmel AT91RM9200 and AT91SAM9, Cavium CNS 11xx and XScale
  557. support has been removed from the tree. These ports were
  558. obsolete and/or known to be broken for many years.
  559. 20180723:
  560. loader.efi has been augmented to participate more fully in the
  561. UEFI boot manager protocol. loader.efi will now look at the
  562. BootXXXX environment variable to determine if a specific kernel
  563. or root partition was specified. XXXX is derived from BootCurrent.
  564. efibootmgr(8) manages these standard UEFI variables.
  565. 20180720:
  566. zfsloader's functionality has now been folded into loader.
  567. zfsloader is no longer necessary once you've updated your
  568. boot blocks. For a transition period, we will install a
  569. hardlink for zfsloader to loader to allow a smooth transition
  570. until the boot blocks can be updated (hard link because old
  571. zfs boot blocks don't understand symlinks).
  572. 20180719:
  573. ARM64 now have efifb support, if you want to have serial console
  574. on your arm64 board when an screen is connected and the bootloader
  575. setup a frame buffer for us to use, just add :
  576. boot_serial=YES
  577. boot_multicons=YES
  578. in /boot/loader.conf
  579. For Raspberry Pi 3 (RPI) users, this is needed even if you don't have
  580. an screen connected as the firmware will setup a frame buffer are that
  581. u-boot will expose as an EFI frame buffer.
  582. 20180719:
  583. New uid:gid added, ntpd:ntpd (123:123). Be sure to run mergemaster
  584. or take steps to update /etc/passwd before doing installworld on
  585. existing systems. Do not skip the "mergemaster -Fp" step before
  586. installworld, as described in the update procedures near the bottom
  587. of this document. Also, rc.d/ntpd now starts ntpd(8) as user ntpd
  588. if the new mac_ntpd(4) policy is available, unless ntpd_flags or
  589. the ntp config file contain options that change file/dir locations.
  590. When such options (e.g., "statsdir" or "crypto") are used, ntpd can
  591. still be run as non-root by setting ntpd_user=ntpd in rc.conf, after
  592. taking steps to ensure that all required files/dirs are accessible
  593. by the ntpd user.
  594. 20180717:
  595. Big endian arm support has been removed.
  596. 20180711:
  597. The static environment setup in kernel configs is no longer mutually
  598. exclusive with the loader(8) environment by default. In order to
  599. restore the previous default behavior of disabling the loader(8)
  600. environment if a static environment is present, you must specify
  601. loader_env.disabled=1 in the static environment.
  602. 20180705:
  603. The ABI of syscalls used by management tools like sockstat and
  604. netstat has been broken to allow 32-bit binaries to work on
  605. 64-bit kernels without modification. These programs will need
  606. to match the kernel in order to function. External programs may
  607. require minor modifications to accommodate a change of type in
  608. structures from pointers to 64-bit virtual addresses.
  609. 20180702:
  610. On i386 and amd64 atomics are now inlined. Out of tree modules using
  611. atomics will need to be rebuilt.
  612. 20180701:
  613. The '%I' format in the kern.corefile sysctl limits the number of
  614. core files that a process can generate to the number stored in the
  615. debug.ncores sysctl. The '%I' format is replaced by the single digit
  616. index. Previously, if all indexes were taken the kernel would overwrite
  617. only a core file with the highest index in a filename.
  618. Currently the system will create a new core file if there is a free
  619. index or if all slots are taken it will overwrite the oldest one.
  620. 20180630:
  621. Clang, llvm, lld, lldb, compiler-rt and libc++ have been upgraded to
  622. 6.0.1. Please see the 20141231 entry below for information about
  623. prerequisites and upgrading, if you are not already using clang 3.5.0
  624. or higher.
  625. 20180628:
  626. r335753 introduced a new quoting method. However, etc/devd/devmatch.conf
  627. needed to be changed to work with it. This change was made with r335763
  628. and requires a mergemaster / etcupdate / etc to update the installed
  629. file.
  630. 20180612:
  631. r334930 changed the interface between the NFS modules, so they all
  632. need to be rebuilt. r335018 did a __FreeBSD_version bump for this.
  633. 20180530:
  634. As of r334391 lld is the default amd64 system linker; it is installed
  635. as /usr/bin/ld. Kernel build workarounds (see 20180510 entry) are no
  636. longer necessary.
  637. 20180530:
  638. The kernel / userland interface for devinfo changed, so you'll
  639. need a new kernel and userland as a pair for it to work (rebuilding
  640. lib/libdevinfo is all that's required). devinfo and devmatch will
  641. not work, but everything else will when there's a mismatch.
  642. 20180523:
  643. The on-disk format for hwpmc callchain records has changed to include
  644. threadid corresponding to a given record. This changes the field offsets
  645. and thus requires that libpmcstat be rebuilt before using a kernel
  646. later than r334108.
  647. 20180517:
  648. The vxge(4) driver has been removed. This driver was introduced into
  649. HEAD one week before the Exar left the Ethernet market and is not
  650. known to be used. If you have device vxge in your kernel config file
  651. it must be removed.
  652. 20180510:
  653. The amd64 kernel now requires a ld that supports ifunc to produce a
  654. working kernel, either lld or a newer binutils. lld is built by default
  655. on amd64, and the 'buildkernel' target uses it automatically. However,
  656. it is not the default linker, so building the kernel the traditional
  657. way requires LD=ld.lld on the command line (or LD=/usr/local/bin/ld for
  658. binutils port/package). lld will soon be default, and this requirement
  659. will go away.
  660. NOTE: As of r334391 lld is the default system linker on amd64, and no
  661. workaround is necessary.
  662. 20180508:
  663. The nxge(4) driver has been removed. This driver was for PCI-X 10g
  664. cards made by s2io/Neterion. The company was acquired by Exar and
  665. no longer sells or supports Ethernet products. If you have device
  666. nxge in your kernel config file it must be removed.
  667. 20180504:
  668. The tz database (tzdb) has been updated to 2018e. This version more
  669. correctly models time stamps in time zones with negative DST such as
  670. Europe/Dublin (from 1971 on), Europe/Prague (1946/7), and
  671. Africa/Windhoek (1994/2017). This does not affect the UT offsets, only
  672. time zone abbreviations and the tm_isdst flag.
  673. 20180502:
  674. The ixgb(4) driver has been removed. This driver was for an early and
  675. uncommon legacy PCI 10GbE for a single ASIC, Intel 82597EX. Intel
  676. quickly shifted to the long lived ixgbe family. If you have device
  677. ixgb in your kernel config file it must be removed.
  678. 20180501:
  679. The lmc(4) driver has been removed. This was a WAN interface
  680. card that was already reportedly rare in 2003, and had an ambiguous
  681. license. If you have device lmc in your kernel config file it must
  682. be removed.
  683. 20180413:
  684. Support for Arcnet networks has been removed. If you have device
  685. arcnet or device cm in your kernel config file they must be
  686. removed.
  687. 20180411:
  688. Support for FDDI networks has been removed. If you have device
  689. fddi or device fpa in your kernel config file they must be
  690. removed.
  691. 20180406:
  692. In addition to supporting RFC 3164 formatted messages, the
  693. syslogd(8) service is now capable of parsing RFC 5424 formatted
  694. log messages. The main benefit of using RFC 5424 is that clients
  695. may now send log messages with timestamps containing year numbers,
  696. microseconds and time zone offsets.
  697. Similarly, the syslog(3) C library function has been altered to
  698. send RFC 5424 formatted messages to the local system logging
  699. daemon. On systems using syslogd(8), this change should have no
  700. negative impact, as long as syslogd(8) and the C library are
  701. updated at the same time. On systems using a different system
  702. logging daemon, it may be necessary to make configuration
  703. adjustments, depending on the software used.
  704. When using syslog-ng, add the 'syslog-protocol' flag to local
  705. input sources to enable parsing of RFC 5424 formatted messages:
  706. source src {
  707. unix-dgram("/var/run/log" flags(syslog-protocol));
  708. }
  709. When using rsyslog, disable the 'SysSock.UseSpecialParser' option
  710. of the 'imuxsock' module to let messages be processed by the
  711. regular RFC 3164/5424 parsing pipeline:
  712. module(load="imuxsock" SysSock.UseSpecialParser="off")
  713. Do note that these changes only affect communication between local
  714. applications and syslogd(8). The format that syslogd(8) uses to
  715. store messages on disk or forward messages to other systems
  716. remains unchanged. syslogd(8) still uses RFC 3164 for these
  717. purposes. Options to customize this behaviour will be added in the
  718. future. Utilities that process log files stored in /var/log are
  719. thus expected to continue to function as before.
  720. __FreeBSD_version has been incremented to 1200061 to denote this
  721. change.
  722. 20180328:
  723. Support for token ring networks has been removed. If you
  724. have "device token" in your kernel config you should remove
  725. it. No device drivers supported token ring.
  726. 20180323:
  727. makefs was modified to be able to tag ISO9660 El Torito boot catalog
  728. entries as EFI instead of overloading the i386 tag as done previously.
  729. The amd64 mkisoimages.sh script used to build amd64 ISO images for
  730. release was updated to use this. This may mean that makefs must be
  731. updated before "make cdrom" can be run in the release directory. This
  732. should be as simple as:
  733. $ cd $SRCDIR/usr.sbin/makefs
  734. $ make depend all install
  735. 20180212:
  736. FreeBSD boot loader enhanced with Lua scripting. It's purely opt-in for
  737. now by building WITH_LOADER_LUA and WITHOUT_FORTH in /etc/src.conf.
  738. Co-existence for the transition period will come shortly. Booting is a
  739. complex environment and test coverage for Lua-enabled loaders has been
  740. thin, so it would be prudent to assume it might not work and make
  741. provisions for backup boot methods.
  742. 20180211:
  743. devmatch functionality has been turned on in devd. It will automatically
  744. load drivers for unattached devices. This may cause unexpected drivers
  745. to be loaded. Please report any problems to current@ and
  746. imp@freebsd.org.
  747. 20180114:
  748. Clang, llvm, lld, lldb, compiler-rt and libc++ have been upgraded to
  749. 6.0.0. Please see the 20141231 entry below for information about
  750. prerequisites and upgrading, if you are not already using clang 3.5.0
  751. or higher.
  752. 20180110:
  753. LLVM's lld linker is now used as the FreeBSD/amd64 bootstrap linker.
  754. This means it is used to link the kernel and userland libraries and
  755. executables, but is not yet installed as /usr/bin/ld by default.
  756. To revert to ld.bfd as the bootstrap linker, in /etc/src.conf set
  757. WITHOUT_LLD_BOOTSTRAP=yes
  758. 20180110:
  759. On i386, pmtimer has been removed. Its functionality has been folded
  760. into apm. It was a no-op on ACPI in current for a while now (but was
  761. still needed on i386 in FreeBSD 11 and earlier). Users may need to
  762. remove it from kernel config files.
  763. 20180104:
  764. The use of RSS hash from the network card aka flowid has been
  765. disabled by default for lagg(4) as it's currently incompatible with
  766. the lacp and loadbalance protocols.
  767. This can be re-enabled by setting the following in loader.conf:
  768. net.link.lagg.default_use_flowid="1"
  769. 20180102:
  770. The SW_WATCHDOG option is no longer necessary to enable the
  771. hardclock-based software watchdog if no hardware watchdog is
  772. configured. As before, SW_WATCHDOG will cause the software
  773. watchdog to be enabled even if a hardware watchdog is configured.
  774. 20171215:
  775. r326887 fixes the issue described in the 20171214 UPDATING entry.
  776. r326888 flips the switch back to building GELI support always.
  777. 20171214:
  778. r362593 broke ZFS + GELI support for reasons unknown. However,
  779. it also broke ZFS support generally, so GELI has been turned off
  780. by default as the lesser evil in r326857. If you boot off ZFS and/or
  781. GELI, it might not be a good time to update.
  782. 20171125:
  783. PowerPC users must update loader(8) by rebuilding world before
  784. installing a new kernel, as the protocol connecting them has
  785. changed. Without the update, loader metadata will not be passed
  786. successfully to the kernel and users will have to enter their
  787. root partition at the kernel mountroot prompt to continue booting.
  788. Newer versions of loader can boot old kernels without issue.
  789. 20171110:
  790. The LOADER_FIREWIRE_SUPPORT build variable as been renamed to
  791. WITH/OUT_LOADER_FIREWIRE. LOADER_{NO_,}GELI_SUPPORT has been renamed
  792. to WITH/OUT_LOADER_GELI.
  793. 20171106:
  794. The naive and non-compliant support of posix_fallocate(2) in ZFS
  795. has been removed as of r325320. The system call now returns EINVAL
  796. when used on a ZFS file. Although the new behavior complies with the
  797. standard, some consumers are not prepared to cope with it.
  798. One known victim is lld prior to r325420.
  799. 20171102:
  800. Building in a FreeBSD src checkout will automatically create object
  801. directories now rather than store files in the current directory if
  802. 'make obj' was not ran. Calling 'make obj' is no longer necessary.
  803. This feature can be disabled by setting WITHOUT_AUTO_OBJ=yes in
  804. /etc/src-env.conf (not /etc/src.conf), or passing the option in the
  805. environment.
  806. 20171101:
  807. The default MAKEOBJDIR has changed from /usr/obj/<srcdir> for native
  808. builds, and /usr/obj/<arch>/<srcdir> for cross-builds, to a unified
  809. /usr/obj/<srcdir>/<arch>. This behavior can be changed to the old
  810. format by setting WITHOUT_UNIFIED_OBJDIR=yes in /etc/src-env.conf,
  811. the environment, or with -DWITHOUT_UNIFIED_OBJDIR when building.
  812. The UNIFIED_OBJDIR option is a transitional feature that will be
  813. removed for 12.0 release; please migrate to the new format for any
  814. tools by looking up the OBJDIR used by 'make -V .OBJDIR' means rather
  815. than hardcoding paths.
  816. 20171028:
  817. The native-xtools target no longer installs the files by default to the
  818. OBJDIR. Use the native-xtools-install target with a DESTDIR to install
  819. to ${DESTDIR}/${NXTP} where NXTP defaults to /nxb-bin.
  820. 20171021:
  821. As part of the boot loader infrastructure cleanup, LOADER_*_SUPPORT
  822. options are changing from controlling the build if defined / undefined
  823. to controlling the build with explicit 'yes' or 'no' values. They will
  824. shift to WITH/WITHOUT options to match other options in the system.
  825. 20171010:
  826. libstand has turned into a private library for sys/boot use only.
  827. It is no longer supported as a public interface outside of sys/boot.
  828. 20171005:
  829. The arm port has split armv6 into armv6 and armv7. armv7 is now
  830. a valid TARGET_ARCH/MACHINE_ARCH setting. If you have an armv7 system
  831. and are running a kernel from before r324363, you will need to add
  832. MACHINE_ARCH=armv7 to 'make buildworld' to do a native build.
  833. 20171003:
  834. When building multiple kernels using KERNCONF, non-existent KERNCONF
  835. files will produce an error and buildkernel will fail. Previously
  836. missing KERNCONF files silently failed giving no indication as to
  837. why, only to subsequently discover during installkernel that the
  838. desired kernel was never built in the first place.
  839. 20170912:
  840. The default serial number format for CTL LUNs has changed. This will
  841. affect users who use /dev/diskid/* device nodes, or whose FibreChannel
  842. or iSCSI clients care about their LUNs' serial numbers. Users who
  843. require serial number stability should hardcode serial numbers in
  844. /etc/ctl.conf .
  845. 20170912:
  846. For 32-bit arm compiled for hard-float support, soft-floating point
  847. binaries now always get their shared libraries from
  848. LD_SOFT_LIBRARY_PATH (in the past, this was only used if
  849. /usr/libsoft also existed). Only users with a hard-float ld.so, but
  850. soft-float everything else should be affected.
  851. 20170826:
  852. The geli password typed at boot is now hidden. To restore the previous
  853. behavior, see geli(8) for configuration options.
  854. 20170825:
  855. Move PMTUD blackhole counters to TCPSTATS and remove them from bare
  856. sysctl values. Minor nit, but requires a rebuild of both world/kernel
  857. to complete.
  858. 20170814:
  859. "make check" behavior (made in ^/head@r295380) has been changed to
  860. execute from a limited sandbox, as opposed to executing from
  861. ${TESTSDIR}.
  862. Behavioral changes:
  863. - The "beforecheck" and "aftercheck" targets are now specified.
  864. - ${CHECKDIR} (added in commit noted above) has been removed.
  865. - Legacy behavior can be enabled by setting
  866. WITHOUT_MAKE_CHECK_USE_SANDBOX in src.conf(5) or the environment.
  867. If the limited sandbox mode is enabled, "make check" will execute
  868. "make distribution", then install, execute the tests, and clean up the
  869. sandbox if successful.
  870. The "make distribution" and "make install" targets are typically run as
  871. root to set appropriate permissions and ownership at installation time.
  872. The end-user should set "WITH_INSTALL_AS_USER" in src.conf(5) or the
  873. environment if executing "make check" with limited sandbox mode using
  874. an unprivileged user.
  875. 20170808:
  876. Since the switch to GPT disk labels, fsck for UFS/FFS has been
  877. unable to automatically find alternate superblocks. As of r322297,
  878. the information needed to find alternate superblocks has been
  879. moved to the end of the area reserved for the boot block.
  880. Filesystems created with a newfs of this vintage or later
  881. will create the recovery information. If you have a filesystem
  882. created prior to this change and wish to have a recovery block
  883. created for your filesystem, you can do so by running fsck in
  884. foreground mode (i.e., do not use the -p or -y options). As it
  885. starts, fsck will ask ``SAVE DATA TO FIND ALTERNATE SUPERBLOCKS''
  886. to which you should answer yes.
  887. 20170728:
  888. As of r321665, an NFSv4 server configuration that services
  889. Kerberos mounts or clients that do not support the uid/gid in
  890. owner/owner_group string capability, must explicitly enable
  891. the nfsuserd daemon by adding nfsuserd_enable="YES" to the
  892. machine's /etc/rc.conf file.
  893. 20170722:
  894. Clang, llvm, lldb, compiler-rt and libc++ have been upgraded to 5.0.0.
  895. Please see the 20141231 entry below for information about prerequisites
  896. and upgrading, if you are not already using clang 3.5.0 or higher.
  897. 20170701:
  898. WITHOUT_RCMDS is now the default. Set WITH_RCMDS if you need the
  899. r-commands (rlogin, rsh, etc.) to be built with the base system.
  900. 20170625:
  901. The FreeBSD/powerpc platform now uses a 64-bit type for time_t. This is
  902. a very major ABI incompatible change, so users of FreeBSD/powerpc must
  903. be careful when performing source upgrades. It is best to run
  904. 'make installworld' from an alternate root system, either a live
  905. CD/memory stick, or a temporary root partition. Additionally, all ports
  906. must be recompiled. powerpc64 is largely unaffected, except in the case
  907. of 32-bit compatibility. All 32-bit binaries will be affected.
  908. 20170623:
  909. Forward compatibility for the "ino64" project have been committed. This
  910. will allow most new binaries to run on older kernels in a limited
  911. fashion. This prevents many of the common foot-shooting actions in the
  912. upgrade as well as the limited ability to roll back the kernel across
  913. the ino64 upgrade. Complicated use cases may not work properly, though
  914. enough simpler ones work to allow recovery in most situations.
  915. 20170620:
  916. Switch back to the BSDL dtc (Device Tree Compiler). Set WITH_GPL_DTC
  917. if you require the GPL compiler.
  918. 20170618:
  919. The internal ABI used for communication between the NFS kernel modules
  920. was changed by r320085, so __FreeBSD_version was bumped to
  921. ensure all the NFS related modules are updated together.
  922. 20170617:
  923. The ABI of struct event was changed by extending the data
  924. member to 64bit and adding ext fields. For upgrade, same
  925. precautions as for the entry 20170523 "ino64" must be
  926. followed.
  927. 20170531:
  928. The GNU roff toolchain has been removed from base. To render manpages
  929. which are not supported by mandoc(1), man(1) can fallback on GNU roff
  930. from ports (and recommends to install it).
  931. To render roff(7) documents, consider using GNU roff from ports or the
  932. heirloom doctools roff toolchain from ports via pkg install groff or
  933. via pkg install heirloom-doctools.
  934. 20170524:
  935. The ath(4) and ath_hal(4) modules now build piecemeal to allow for
  936. smaller runtime footprint builds. This is useful for embedded systems
  937. which only require one chipset support.
  938. If you load it as a module, make sure this is in /boot/loader.conf:
  939. if_ath_load="YES"
  940. This will load the HAL, all chip/RF backends and if_ath_pci.
  941. If you have if_ath_pci in /boot/loader.conf, ensure it is after
  942. if_ath or it will not load any HAL chipset support.
  943. If you want to selectively load things (eg on ye cheape ARM/MIPS
  944. platforms where RAM is at a premium) you should:
  945. * load ath_hal
  946. * load the chip modules in question
  947. * load ath_rate, ath_dfs
  948. * load ath_main
  949. * load if_ath_pci and/or if_ath_ahb depending upon your particular
  950. bus bind type - this is where probe/attach is done.
  951. For further comments/feedback, poke adrian@ .
  952. 20170523:
  953. The "ino64" 64-bit inode project has been committed, which extends
  954. a number of types to 64 bits. Upgrading in place requires care and
  955. adherence to the documented upgrade procedure.
  956. If using a custom kernel configuration ensure that the
  957. COMPAT_FREEBSD11 option is included (as during the upgrade the
  958. system will be running the ino64 kernel with the existing world).
  959. For the safest in-place upgrade begin by removing previous build
  960. artifacts via "rm -rf /usr/obj/*". Then, carefully follow the full
  961. procedure documented below under the heading "To rebuild everything and
  962. install it on the current system." Specifically, a reboot is required
  963. after installing the new kernel before installing world. While an
  964. installworld normally works by accident from multiuser after rebooting
  965. the proper kernel, there are many cases where this will fail across this
  966. upgrade and installworld from single user is required.
  967. 20170424:
  968. The NATM framework including the en(4), fatm(4), hatm(4), and
  969. patm(4) devices has been removed. Consumers should plan a
  970. migration before the end-of-life date for FreeBSD 11.
  971. 20170420:
  972. GNU diff has been replaced by a BSD licensed diff. Some features of GNU
  973. diff has not been implemented, if those are needed a newer version of
  974. GNU diff is available via the diffutils package under the gdiff name.
  975. 20170413:
  976. As of r316810 for ipfilter, keep frags is no longer assumed when
  977. keep state is specified in a rule. r316810 aligns ipfilter with
  978. documentation in man pages separating keep frags from keep state.
  979. This allows keep state to be specified without forcing keep frags
  980. and allows keep frags to be specified independently of keep state.
  981. To maintain previous behaviour, also specify keep frags with
  982. keep state (as documented in ipf.conf.5).
  983. 20170407:
  984. arm64 builds now use the base system LLD 4.0.0 linker by default,
  985. instead of requiring that the aarch64-binutils port or package be
  986. installed. To continue using aarch64-binutils, set
  987. CROSS_BINUTILS_PREFIX=/usr/local/aarch64-freebsd/bin .
  988. 20170405:
  989. The UDP optimization in entry 20160818 that added the sysctl
  990. net.inet.udp.require_l2_bcast has been reverted. L2 broadcast
  991. packets will no longer be treated as L3 broadcast packets.
  992. 20170331:
  993. Binds and sends to the loopback addresses, IPv6 and IPv4, will now
  994. use any explicitly assigned loopback address available in the jail
  995. instead of using the first assigned address of the jail.
  996. 20170329:
  997. The ctl.ko module no longer implements the iSCSI target frontend:
  998. cfiscsi.ko does instead.
  999. If building cfiscsi.ko as a kernel module, the module can be loaded
  1000. via one of the following methods:
  1001. - `cfiscsi_load="YES"` in loader.conf(5).
  1002. - Add `cfiscsi` to `$kld_list` in rc.conf(5).
  1003. - ctladm(8)/ctld(8), when compiled with iSCSI support
  1004. (`WITH_ISCSI=yes` in src.conf(5))
  1005. Please see cfiscsi(4) for more details.
  1006. 20170316:
  1007. The mmcsd.ko module now additionally depends on geom_flashmap.ko.
  1008. Also, mmc.ko and mmcsd.ko need to be a matching pair built from the
  1009. same source (previously, the dependency of mmcsd.ko on mmc.ko was
  1010. missing, but mmcsd.ko now will refuse to load if it is incompatible
  1011. with mmc.ko).
  1012. 20170315:
  1013. The syntax of ipfw(8) named states was changed to avoid ambiguity.
  1014. If you have used named states in the firewall rules, you need to modify
  1015. them after installworld and before rebooting. Now named states must
  1016. be prefixed with colon.
  1017. 20170311:
  1018. The old drm (sys/dev/drm/) drivers for i915 and radeon have been
  1019. removed as the userland we provide cannot use them. The KMS version
  1020. (sys/dev/drm2) supports the same hardware.
  1021. 20170302:
  1022. Clang, llvm, lldb, compiler-rt and libc++ have been upgraded to 4.0.0.
  1023. Please see the 20141231 entry below for information about prerequisites
  1024. and upgrading, if you are not already using clang 3.5.0 or higher.
  1025. 20170221:
  1026. The code that provides support for ZFS .zfs/ directory functionality
  1027. has been reimplemented. It's not possible now to create a snapshot
  1028. by mkdir under .zfs/snapshot/. That should be the only user visible
  1029. change.
  1030. 20170216:
  1031. EISA bus support has been removed. The WITH_EISA option is no longer
  1032. valid.
  1033. 20170215:
  1034. MCA bus support has been removed.
  1035. 20170127:
  1036. The WITH_LLD_AS_LD / WITHOUT_LLD_AS_LD build knobs have been renamed
  1037. WITH_LLD_IS_LD / WITHOUT_LLD_IS_LD, for consistency with CLANG_IS_CC.
  1038. 20170112:
  1039. The EM_MULTIQUEUE kernel configuration option is deprecated now that
  1040. the em(4) driver conforms to iflib specifications.
  1041. 20170109:
  1042. The igb(4), em(4) and lem(4) ethernet drivers are now implemented via
  1043. IFLIB. If you have a custom kernel configuration that excludes em(4)
  1044. but you use igb(4), you need to re-add em(4) to your custom
  1045. configuration.
  1046. 20161217:
  1047. Clang, llvm, lldb, compiler-rt and libc++ have been upgraded to 3.9.1.
  1048. Please see the 20141231 entry below for information about prerequisites
  1049. and upgrading, if you are not already using clang 3.5.0 or higher.
  1050. 20161124:
  1051. Clang, llvm, lldb, compiler-rt and libc++ have been upgraded to 3.9.0.
  1052. Please see the 20141231 entry below for information about prerequisites
  1053. and upgrading, if you are not already using clang 3.5.0 or higher.
  1054. 20161119:
  1055. The layout of the pmap structure has changed for powerpc to put the pmap
  1056. statistics at the front for all CPU variations. libkvm(3) and all tools
  1057. that link against it need to be recompiled.
  1058. 20161030:
  1059. isl(4) and cyapa(4) drivers now require a new driver,
  1060. chromebook_platform(4), to work properly on Chromebook-class hardware.
  1061. On other types of hardware the drivers may need to be configured using
  1062. device hints. Please see the corresponding manual pages for details.
  1063. 20161017:
  1064. The urtwn(4) driver was merged into rtwn(4) and now consists of
  1065. rtwn(4) main module + rtwn_usb(4) and rtwn_pci(4) bus-specific
  1066. parts.
  1067. Also, firmware for RTL8188CE was renamed due to possible name
  1068. conflict (rtwnrtl8192cU(B) -> rtwnrtl8192cE(B))
  1069. 20161015:
  1070. GNU rcs has been removed from base. It is available as packages:
  1071. - rcs: Latest GPLv3 GNU rcs version.
  1072. - rcs57: Copy of the latest version of GNU rcs (GPLv2) before it was
  1073. removed from base.
  1074. 20161008:
  1075. Use of the cc_cdg, cc_chd, cc_hd, or cc_vegas congestion control
  1076. modules now requires that the kernel configuration contain the
  1077. TCP_HHOOK option. (This option is included in the GENERIC kernel.)
  1078. 20161003:
  1079. The WITHOUT_ELFCOPY_AS_OBJCOPY src.conf(5) knob has been retired.
  1080. ELF Tool Chain's elfcopy is always installed as /usr/bin/objcopy.
  1081. 20160924:
  1082. Relocatable object files with the extension of .So have been renamed
  1083. to use an extension of .pico instead. The purpose of this change is
  1084. to avoid a name clash with shared libraries on case-insensitive file
  1085. systems. On those file systems, foo.So is the same file as foo.so.
  1086. 20160918:
  1087. GNU rcs has been turned off by default. It can (temporarily) be built
  1088. again by adding WITH_RCS knob in src.conf.
  1089. Otherwise, GNU rcs is available from packages:
  1090. - rcs: Latest GPLv3 GNU rcs version.
  1091. - rcs57: Copy of the latest version of GNU rcs (GPLv2) from base.
  1092. 20160918:
  1093. The backup_uses_rcs functionality has been removed from rc.subr.
  1094. 20160908:
  1095. The queue(3) debugging macro, QUEUE_MACRO_DEBUG, has been split into
  1096. two separate components, QUEUE_MACRO_DEBUG_TRACE and
  1097. QUEUE_MACRO_DEBUG_TRASH. Define both for the original
  1098. QUEUE_MACRO_DEBUG behavior.
  1099. 20160824:
  1100. r304787 changed some ioctl interfaces between the iSCSI userspace
  1101. programs and the kernel. ctladm, ctld, iscsictl, and iscsid must be
  1102. rebuilt to work with new kernels. __FreeBSD_version has been bumped
  1103. to 1200005.
  1104. 20160818:
  1105. The UDP receive code has been updated to only treat incoming UDP
  1106. packets that were addressed to an L2 broadcast address as L3
  1107. broadcast packets. It is not expected that this will affect any
  1108. standards-conforming UDP application. The new behaviour can be
  1109. disabled by setting the sysctl net.inet.udp.require_l2_bcast to
  1110. 0.
  1111. 20160818:
  1112. Remove the openbsd_poll system call.
  1113. __FreeBSD_version has been bumped because of this.
  1114. 20160708:
  1115. The stable/11 branch has been created from head@r302406.
  1116. 20160622:
  1117. The libc stub for the pipe(2) system call has been replaced with
  1118. a wrapper that calls the pipe2(2) system call and the pipe(2)
  1119. system call is now only implemented by the kernels that include
  1120. "options COMPAT_FREEBSD10" in their config file (this is the
  1121. default). Users should ensure that this option is enabled in
  1122. their kernel or upgrade userspace to r302092 before upgrading their
  1123. kernel.
  1124. 20160527:
  1125. CAM will now strip leading spaces from SCSI disks' serial numbers.
  1126. This will affect users who create UFS filesystems on SCSI disks using
  1127. those disk's diskid device nodes. For example, if /etc/fstab
  1128. previously contained a line like
  1129. "/dev/diskid/DISK-%20%20%20%20%20%20%20ABCDEFG0123456", you should
  1130. change it to "/dev/diskid/DISK-ABCDEFG0123456". Users of geom
  1131. transforms like gmirror may also be affected. ZFS users should
  1132. generally be fine.
  1133. 20160523:
  1134. The bitstring(3) API has been updated with new functionality and
  1135. improved performance. But it is binary-incompatible with the old API.
  1136. Objects built with the new headers may not be linked against objects
  1137. built with the old headers.
  1138. 20160520:
  1139. The brk and sbrk functions have been removed from libc on arm64.
  1140. Binutils from ports has been updated to not link to these
  1141. functions and should be updated to the latest version before
  1142. installing a new libc.
  1143. 20160517:
  1144. The armv6 port now defaults to hard float ABI. Limited support
  1145. for running both hardfloat and soft float on the same system
  1146. is available using the libraries installed with -DWITH_LIBSOFT.
  1147. This has only been tested as an upgrade path for installworld
  1148. and packages may fail or need manual intervention to run. New
  1149. packages will be needed.
  1150. To update an existing self-hosted armv6hf system, you must add
  1151. TARGET_ARCH=armv6 on the make command line for both the build
  1152. and the install steps.
  1153. 20160510:
  1154. Kernel modules compiled outside of a kernel build now default to
  1155. installing to /boot/modules instead of /boot/kernel. Many kernel
  1156. modules built this way (such as those in ports) already overrode
  1157. KMODDIR explicitly to install into /boot/modules. However,
  1158. manually building and installing a module from /sys/modules will
  1159. now install to /boot/modules instead of /boot/kernel.
  1160. 20160414:
  1161. The CAM I/O scheduler has been committed to the kernel. There should be
  1162. no user visible impact. This does enable NCQ Trim on ada SSDs. While the
  1163. list of known rogues that claim support for this but actually corrupt
  1164. data is believed to be complete, be on the lookout for data
  1165. corruption. The known rogue list is believed to be complete:
  1166. o Crucial MX100, M550 drives with MU01 firmware.
  1167. o Micron M510 and M550 drives with MU01 firmware.
  1168. o Micron M500 prior to MU07 firmware
  1169. o Samsung 830, 840, and 850 all firmwares
  1170. o FCCT M500 all firmwares
  1171. Crucial has firmware http://www.crucial.com/usa/en/support-ssd-firmware
  1172. with working NCQ TRIM. For Micron branded drives, see your sales rep for
  1173. updated firmware. Black listed drives will work correctly because these
  1174. drives work correctly so long as no NCQ TRIMs are sent to them. Given
  1175. this list is the same as found in Linux, it's believed there are no
  1176. other rogues in the market place. All other models from the above
  1177. vendors work.
  1178. To be safe, if you are at all concerned, you can quirk each of your
  1179. drives to prevent NCQ from being sent by setting:
  1180. kern.cam.ada.X.quirks="0x2"
  1181. in loader.conf. If the drive requires the 4k sector quirk, set the
  1182. quirks entry to 0x3.
  1183. 20160330:
  1184. The FAST_DEPEND build option has been removed and its functionality is
  1185. now the one true way. The old mkdep(1) style of 'make depend' has
  1186. been removed. See 20160311 for further details.
  1187. 20160317:
  1188. Resource range types have grown from unsigned long to uintmax_t. All
  1189. drivers, and anything using libdevinfo, need to be recompiled.
  1190. 20160311:
  1191. WITH_FAST_DEPEND is now enabled by default for in-tree and out-of-tree
  1192. builds. It no longer runs mkdep(1) during 'make depend', and the
  1193. 'make depend' stage can safely be skipped now as it is auto ran
  1194. when building 'make all' and will generate all SRCS and DPSRCS before
  1195. building anything else. Dependencies are gathered at compile time with
  1196. -MF flags kept in separate .depend files per object file. Users should
  1197. run 'make cleandepend' once if using -DNO_CLEAN to clean out older
  1198. stale .depend files.
  1199. 20160306:
  1200. On amd64, clang 3.8.0 can now insert sections of type AMD64_UNWIND into
  1201. kernel modules. Therefore, if you load any kernel modules at boot time,
  1202. please install the boot loaders after you install the kernel, but before
  1203. rebooting, e.g.:
  1204. make buildworld
  1205. make buildkernel KERNCONF=YOUR_KERNEL_HERE
  1206. make installkernel KERNCONF=YOUR_KERNEL_HERE
  1207. make -C sys/boot install
  1208. <reboot in single user>
  1209. Then follow the usual steps, described in the General Notes section,
  1210. below.
  1211. 20160305:
  1212. Clang, llvm, lldb and compiler-rt have been upgraded to 3.8.0. Please
  1213. see the 20141231 entry below for information about prerequisites and
  1214. upgrading, if you are not already using clang 3.5.0 or higher.
  1215. 20160301:
  1216. The AIO subsystem is now a standard part of the kernel. The
  1217. VFS_AIO kernel option and aio.ko kernel module have been removed.
  1218. Due to stability concerns, asynchronous I/O requests are only
  1219. permitted on sockets and raw disks by default. To enable
  1220. asynchronous I/O requests on all file types, set the
  1221. vfs.aio.enable_unsafe sysctl to a non-zero value.
  1222. 20160226:
  1223. The ELF object manipulation tool objcopy is now provided by the
  1224. ELF Tool Chain project rather than by GNU binutils. It should be a
  1225. drop-in replacement, with the addition of arm64 support. The
  1226. (temporary) src.conf knob WITHOUT_ELFCOPY_AS_OBJCOPY knob may be set
  1227. to obtain the GNU version if necessary.
  1228. 20160129:
  1229. Building ZFS pools on top of zvols is prohibited by default. That
  1230. feature has never worked safely; it's always been prone to deadlocks.
  1231. Using a zvol as the backing store for a VM guest's virtual disk will
  1232. still work, even if the guest is using ZFS. Legacy behavior can be
  1233. restored by setting vfs.zfs.vol.recursive=1.
  1234. 20160119:
  1235. The NONE and HPN patches has been removed from OpenSSH. They are
  1236. still available in the security/openssh-portable port.
  1237. 20160113:
  1238. With the addition of ypldap(8), a new _ypldap user is now required
  1239. during installworld. "mergemaster -p" can be used to add the user
  1240. prior to installworld, as documented in the handbook.
  1241. 20151216:
  1242. The tftp loader (pxeboot) now uses the option root-path directive. As a
  1243. consequence it no longer looks for a pxeboot.4th file on the tftp
  1244. server. Instead it uses the regular /boot infrastructure as with the
  1245. other loaders.
  1246. 20151211:
  1247. The code to start recording plug and play data into the modules has
  1248. been committed. While the old tools will properly build a new kernel,
  1249. a number of warnings about "unknown metadata record 4" will be produced
  1250. for an older kldxref. To avoid such warnings, make sure to rebuild
  1251. the kernel toolchain (or world). Make sure that you have r292078 or
  1252. later when trying to build 292077 or later before rebuilding.
  1253. 20151207:
  1254. Debug data files are now built by default with 'make buildworld' and
  1255. installed with 'make installworld'. This facilitates debugging but
  1256. requires more disk space both during the build and for the installed
  1257. world. Debug files may be disabled by setting WITHOUT_DEBUG_FILES=yes
  1258. in src.conf(5).
  1259. 20151130:
  1260. r291527 changed the internal interface between the nfsd.ko and
  1261. nfscommon.ko modules. As such, they must both be upgraded to-gether.
  1262. __FreeBSD_version has been bumped because of this.
  1263. 20151108:
  1264. Add support for unicode collation strings leads to a change of
  1265. order of files listed by ls(1) for example. To get back to the old
  1266. behaviour, set LC_COLLATE environment variable to "C".
  1267. Databases administrators will need to reindex their databases given
  1268. collation results will be different.
  1269. Due to a bug in install(1) it is recommended to remove the ancient
  1270. locales before running make installworld.
  1271. rm -rf /usr/share/locale/*
  1272. 20151030:
  1273. The OpenSSL has been upgraded to 1.0.2d. Any binaries requiring
  1274. libcrypto.so.7 or libssl.so.7 must be recompiled.
  1275. 20151020:
  1276. Qlogic 24xx/25xx firmware images were updated from 5.5.0 to 7.3.0.
  1277. Kernel modules isp_2400_multi and isp_2500_multi were removed and
  1278. should be replaced with isp_2400 and isp_2500 modules respectively.
  1279. 20151017:
  1280. The build previously allowed using 'make -n' to not recurse into
  1281. sub-directories while showing what commands would be executed, and
  1282. 'make -n -n' to recursively show commands. Now 'make -n' will recurse
  1283. and 'make -N' will not.
  1284. 20151012:
  1285. If you specify SENDMAIL_MC or SENDMAIL_CF in make.conf, mergemaster
  1286. and etcupdate will now use this file. A custom sendmail.cf is now
  1287. updated via this mechanism rather than via installworld. If you had
  1288. excluded sendmail.cf in mergemaster.rc or etcupdate.conf, you may
  1289. want to remove the exclusion or change it to "always install".
  1290. /etc/mail/sendmail.cf is now managed the same way regardless of
  1291. whether SENDMAIL_MC/SENDMAIL_CF is used. If you are not using
  1292. SENDMAIL_MC/SENDMAIL_CF there should be no change in behavior.
  1293. 20151011:
  1294. Compatibility shims for legacy ATA device names have been removed.
  1295. It includes ATA_STATIC_ID kernel option, kern.cam.ada.legacy_aliases
  1296. and kern.geom.raid.legacy_aliases loader tunables, kern.devalias.*
  1297. environment variables, /dev/ad* and /dev/ar* symbolic links.
  1298. 20151006:
  1299. Clang, llvm, lldb, compiler-rt and libc++ have been upgraded to 3.7.0.
  1300. Please see the 20141231 entry below for information about prerequisites
  1301. and upgrading, if you are not already using clang 3.5.0 or higher.
  1302. 20150924:
  1303. Kernel debug files have been moved to /usr/lib/debug/boot/kernel/,
  1304. and renamed from .symbols to .debug. This reduces the size requirements
  1305. on the boot partition or file system and provides consistency with
  1306. userland debug files.
  1307. When using the supported kernel installation method the
  1308. /usr/lib/debug/boot/kernel directory will be renamed (to kernel.old)
  1309. as is done with /boot/kernel.
  1310. Developers wishing to maintain the historical behavior of installing
  1311. debug files in /boot/kernel/ can set KERN_DEBUGDIR="" in src.conf(5).
  1312. 20150827:
  1313. The wireless drivers had undergone changes that remove the 'parent
  1314. interface' from the ifconfig -l output. The rc.d network scripts
  1315. used to check presence of a parent interface in the list, so old
  1316. scripts would fail to start wireless networking. Thus, etcupdate(3)
  1317. or mergemaster(8) run is required after kernel update, to update your
  1318. rc.d scripts in /etc.
  1319. 20150827:
  1320. pf no longer supports 'scrub fragment crop' or 'scrub fragment drop-ovl'
  1321. These configurations are now automatically interpreted as
  1322. 'scrub fragment reassemble'.
  1323. 20150817:
  1324. Kernel-loadable modules for the random(4) device are back. To use
  1325. them, the kernel must have
  1326. device random
  1327. options RANDOM_LOADABLE
  1328. kldload(8) can then be used to load random_fortuna.ko
  1329. or random_yarrow.ko. Please note that due to the indirect
  1330. function calls that the loadable modules need to provide,
  1331. the build-in variants will be slightly more efficient.
  1332. The random(4) kernel option RANDOM_DUMMY has been retired due to
  1333. unpopularity. It was not all that useful anyway.
  1334. 20150813:
  1335. The WITHOUT_ELFTOOLCHAIN_TOOLS src.conf(5) knob has been retired.
  1336. Control over building the ELF Tool Chain tools is now provided by
  1337. the WITHOUT_TOOLCHAIN knob.
  1338. 20150810:
  1339. The polarity of Pulse Per Second (PPS) capture events with the
  1340. uart(4) driver has been corrected. Prior to this change the PPS
  1341. "assert" event corresponded to the trailing edge of a positive PPS
  1342. pulse and the "clear" event was the leading edge of the next pulse.
  1343. As the width of a PPS pulse in a typical GPS receiver is on the
  1344. order of 1 millisecond, most users will not notice any significant
  1345. difference with this change.
  1346. Anyone who has compensated for the historical polarity reversal by
  1347. configuring a negative offset equal to the pulse width will need to
  1348. remove that workaround.
  1349. 20150809:
  1350. The default group assigned to /dev/dri entries has been changed
  1351. from 'wheel' to 'video' with the id of '44'. If you want to have
  1352. access to the dri devices please add yourself to the video group
  1353. with:
  1354. # pw groupmod video -m $USER
  1355. 20150806:
  1356. The menu.rc and loader.rc files will now be replaced during
  1357. upgrades. Please migrate local changes to menu.rc.local and
  1358. loader.rc.local instead.
  1359. 20150805:
  1360. GNU Binutils versions of addr2line, c++filt, nm, readelf, size,
  1361. strings and strip have been removed. The src.conf(5) knob
  1362. WITHOUT_ELFTOOLCHAIN_TOOLS no longer provides the binutils tools.
  1363. 20150728:
  1364. As ZFS requires more kernel stack pages than is the default on some
  1365. architectures e.g. i386, it now warns if KSTACK_PAGES is less than
  1366. ZFS_MIN_KSTACK_PAGES (which is 4 at the time of writing).
  1367. Please consider using 'options KSTACK_PAGES=X' where X is greater
  1368. than or equal to ZFS_MIN_KSTACK_PAGES i.e. 4 in such configurations.
  1369. 20150706:
  1370. sendmail has been updated to 8.15.2. Starting with FreeBSD 11.0
  1371. and sendmail 8.15, sendmail uses uncompressed IPv6 addresses by
  1372. default, i.e., they will not contain "::". For example, instead
  1373. of ::1, it will be 0:0:0:0:0:0:0:1. This permits a zero subnet
  1374. to have a more specific match, such as different map entries for
  1375. IPv6:0:0 vs IPv6:0. This change requires that configuration
  1376. data (including maps, files, classes, custom ruleset, etc.) must
  1377. use the same format, so make certain such configuration data is
  1378. upgrading. As a very simple check search for patterns like
  1379. 'IPv6:[0-9a-fA-F:]*::' and 'IPv6::'. To return to the old
  1380. behavior, set the m4 option confUSE_COMPRESSED_IPV6_ADDRESSES or
  1381. the cf option UseCompressedIPv6Addresses.
  1382. 20150630:
  1383. The default kernel entropy-processing algorithm is now
  1384. Fortuna, replacing Yarrow.
  1385. Assuming you have 'device random' in your kernel config
  1386. file, the configurations allow a kernel option to override
  1387. this default. You may choose *ONE* of:
  1388. options RANDOM_YARROW # Legacy /dev/random algorithm.
  1389. options RANDOM_DUMMY # Blocking-only driver.
  1390. If you have neither, you get Fortuna. For most people,
  1391. read no further, Fortuna will give a /dev/random that works
  1392. like it always used to, and the difference will be irrelevant.
  1393. If you remove 'device random', you get *NO* kernel-processed
  1394. entropy at all. This may be acceptable to folks building
  1395. embedded systems, but has complications. Carry on reading,
  1396. and it is assumed you know what you need.
  1397. *PLEASE* read random(4) and random(9) if you are in the
  1398. habit of tweaking kernel configs, and/or if you are a member
  1399. of the embedded community, wanting specific and not-usual
  1400. behaviour from your security subsystems.
  1401. NOTE!! If you use RANDOM_DUMMY and/or have no 'device
  1402. random', you will NOT have a functioning /dev/random, and
  1403. many cryptographic features will not work, including SSH.
  1404. You may also find strange behaviour from the random(3) set
  1405. of library functions, in particular sranddev(3), srandomdev(3)
  1406. and arc4random(3). The reason for this is that the KERN_ARND
  1407. sysctl only returns entropy if it thinks it has some to
  1408. share, and with RANDOM_DUMMY or no 'device random' this
  1409. will never happen.
  1410. 20150623:
  1411. An additional fix for the issue described in the 20150614 sendmail
  1412. entry below has been committed in revision 284717.
  1413. 20150616:
  1414. FreeBSD's old make (fmake) has been removed from the system. It is
  1415. available as the devel/fmake port or via pkg install fmake.
  1416. 20150615:
  1417. The fix for the issue described in the 20150614 sendmail entry
  1418. below has been committed in revision 284436. The work
  1419. around described in that entry is no longer needed unless the
  1420. default setting is overridden by a confDH_PARAMETERS configuration
  1421. setting of '5' or pointing to a 512 bit DH parameter file.
  1422. 20150614:
  1423. ALLOW_DEPRECATED_ATF_TOOLS/ATFFILE support has been removed from
  1424. atf.test.mk (included from bsd.test.mk). Please upgrade devel/atf
  1425. and devel/kyua to version 0.20+ and adjust any calling code to work
  1426. with Kyuafile and kyua.
  1427. 20150614:
  1428. The import of openssl to address the FreeBSD-SA-15:10.openssl
  1429. security advisory includes a change which rejects handshakes
  1430. with DH parameters below 768 bits. sendmail releases prior
  1431. to 8.15.2 (not yet released), defaulted to a 512 bit
  1432. DH parameter setting for client connections. To work around
  1433. this interoperability, sendmail can be configured to use a
  1434. 2048 bit DH parameter by:
  1435. 1. Edit /etc/mail/`hostname`.mc
  1436. 2. If a setting for confDH_PARAMETERS does not exist or
  1437. exists and is set to a string beginning with '5',
  1438. replace it with '2'.
  1439. 3. If a setting for confDH_PARAMETERS exists and is set to
  1440. a file path, create a new file with:
  1441. openssl dhparam -out /path/to/file 2048
  1442. 4. Rebuild the .cf file:
  1443. cd /etc/mail/; make; make install
  1444. 5. Restart sendmail:
  1445. cd /etc/mail/; make restart
  1446. A sendmail patch is coming, at which time this file will be
  1447. updated.
  1448. 20150604:
  1449. Generation of legacy formatted entries have been disabled by default
  1450. in pwd_mkdb(8), as all base system consumers of the legacy formatted
  1451. entries were converted to use the new format by default when the new,
  1452. machine independent format have been added and supported since FreeBSD
  1453. 5.x.
  1454. Please see the pwd_mkdb(8) manual page for further details.
  1455. 20150525:
  1456. Clang and llvm have been upgraded to 3.6.1 release. Please see the
  1457. 20141231 entry below for information about prerequisites and upgrading,
  1458. if you are not already using 3.5.0 or higher.
  1459. 20150521:
  1460. TI platform code switched to using vendor DTS files and this update
  1461. may break existing systems running on Beaglebone, Beaglebone Black,
  1462. and Pandaboard:
  1463. - dtb files should be regenerated/reinstalled. Filenames are the
  1464. same but content is different now
  1465. - GPIO addressing was changed, now each GPIO bank (32 pins per bank)
  1466. has its own /dev/gpiocX device, e.g. pin 121 on /dev/gpioc0 in old
  1467. addressing scheme is now pin 25 on /dev/gpioc3.
  1468. - Pandaboard: /etc/ttys should be updated, serial console device is
  1469. now /dev/ttyu2, not /dev/ttyu0
  1470. 20150501:
  1471. soelim(1) from gnu/usr.bin/groff has been replaced by usr.bin/soelim.
  1472. If you need the GNU extension from groff soelim(1), install groff
  1473. from package: pkg install groff, or via ports: textproc/groff.
  1474. 20150423:
  1475. chmod, chflags, chown and chgrp now affect symlinks in -R mode as
  1476. defined in symlink(7); previously symlinks were silently ignored.
  1477. 20150415:
  1478. The const qualifier has been removed from iconv(3) to comply with
  1479. POSIX. The ports tree is aware of this from r384038 onwards.
  1480. 20150416:
  1481. Libraries specified by LIBADD in Makefiles must have a corresponding
  1482. DPADD_<lib> variable to ensure correct dependencies. This is now
  1483. enforced in src.libnames.mk.
  1484. 20150324:
  1485. From legacy ata(4) driver was removed support for SATA controllers
  1486. supported by more functional drivers ahci(4), siis(4) and mvs(4).
  1487. Kernel modules ataahci and ataadaptec were removed completely,
  1488. replaced by ahci and mvs modules respectively.
  1489. 20150315:
  1490. Clang, llvm and lldb have been upgraded to 3.6.0 release. Please see
  1491. the 20141231 entry below for information about prerequisites and
  1492. upgrading, if you are not already using 3.5.0 or higher.
  1493. 20150307:
  1494. The 32-bit PowerPC kernel has been changed to a position-independent
  1495. executable. This can only be booted with a version of loader(8)
  1496. newer than January 31, 2015, so make sure to update both world and
  1497. kernel before rebooting.
  1498. 20150217:
  1499. If you are running a -CURRENT kernel since r273872 (Oct 30th, 2014),
  1500. but before r278950, the RNG was not seeded properly. Immediately
  1501. upgrade the kernel to r278950 or later and regenerate any keys (e.g.
  1502. ssh keys or openssl keys) that were generated w/ a kernel from that
  1503. range. This does not affect programs that directly used /dev/random
  1504. or /dev/urandom. All userland uses of arc4random(3) are affected.
  1505. 20150210:
  1506. The autofs(4) ABI was changed in order to restore binary compatibility
  1507. with 10.1-RELEASE. The automountd(8) daemon needs to be rebuilt to work
  1508. with the new kernel.
  1509. 20150131:
  1510. The powerpc64 kernel has been changed to a position-independent
  1511. executable. This can only be booted with a new version of loader(8),
  1512. so make sure to update both world and kernel before rebooting.
  1513. 20150118:
  1514. Clang and llvm have been upgraded to 3.5.1 release. This is a bugfix
  1515. only release, no new features have been added. Please see the 20141231
  1516. entry below for information about prerequisites and upgrading, if you
  1517. are not already using 3.5.0.
  1518. 20150107:
  1519. ELF tools addr2line, elfcopy (strip), nm, size, and strings are now
  1520. taken from the ELF Tool Chain project rather than GNU binutils. They
  1521. should be drop-in replacements, with the addition of arm64 support.
  1522. The WITHOUT_ELFTOOLCHAIN_TOOLS= knob may be used to obtain the
  1523. binutils tools, if necessary. See 20150805 for updated information.
  1524. 20150105:
  1525. The default Unbound configuration now enables remote control
  1526. using a local socket. Users who have already enabled the
  1527. local_unbound service should regenerate their configuration
  1528. by running "service local_unbound setup" as root.
  1529. 20150102:
  1530. The GNU texinfo and GNU info pages have been removed.
  1531. To be able to view GNU info pages please install texinfo from ports.
  1532. 20141231:
  1533. Clang, llvm and lldb have been upgraded to 3.5.0 release.
  1534. As of this release, a prerequisite for building clang, llvm and lldb is
  1535. a C++11 capable compiler and C++11 standard library. This means that to
  1536. be able to successfully build the cross-tools stage of buildworld, with
  1537. clang as the bootstrap compiler, your system compiler or cross compiler
  1538. should either be clang 3.3 or later, or gcc 4.8 or later, and your
  1539. system C++ library should be libc++, or libdstdc++ from gcc 4.8 or
  1540. later.
  1541. On any standard FreeBSD 10.x or 11.x installation, where clang and
  1542. libc++ are on by default (that is, on x86 or arm), this should work out
  1543. of the box.
  1544. On 9.x installations where clang is enabled by default, e.g. on x86 and
  1545. powerpc, libc++ will not be enabled by default, so libc++ should be
  1546. built (with clang) and installed first. If both clang and libc++ are
  1547. missing, build clang first, then use it to build libc++.
  1548. On 8.x and earlier installations, upgrade to 9.x first, and then follow
  1549. the instructions for 9.x above.
  1550. Sparc64 and mips users are unaffected, as they still use gcc 4.2.1 by
  1551. default, and do not build clang.
  1552. Many embedded systems are resource constrained, and will not be able to
  1553. build clang in a reasonable time, or in some cases at all. In those
  1554. cases, cross building bootable systems on amd64 is a workaround.
  1555. This new version of clang introduces a number of new warnings, of which
  1556. the following are most likely to appear:
  1557. -Wabsolute-value
  1558. This warns in two cases, for both C and C++:
  1559. * When the code is trying to take the absolute value of an unsigned
  1560. quantity, which is effectively a no-op, and almost never what was
  1561. intended. The code should be fixed, if at all possible. If you are
  1562. sure that the unsigned quantity can be safely cast to signed, without
  1563. loss of information or undefined behavior, you can add an explicit
  1564. cast, or disable the warning.
  1565. * When the code is trying to take an absolute value, but the called
  1566. abs() variant is for the wrong type, which can lead to truncation.
  1567. If you want to disable the warning instead of fixing the code, please
  1568. make sure that truncation will not occur, or it might lead to unwanted
  1569. side-effects.
  1570. -Wtautological-undefined-compare and
  1571. -Wundefined-bool-conversion
  1572. These warn when C++ code is trying to compare 'this' against NULL, while
  1573. 'this' should never be NULL in well-defined C++ code. However, there is
  1574. some legacy (pre C++11) code out there, which actively abuses this
  1575. feature, which was less strictly defined in previous C++ versions.
  1576. Squid and openjdk do this, for example. The warning can be turned off
  1577. for C++98 and earlier, but compiling the code in C++11 mode might result
  1578. in unexpected behavior; for example, the parts of the program that are
  1579. unreachable could be optimized away.
  1580. 20141222:
  1581. The old NFS client and server (kernel options NFSCLIENT, NFSSERVER)
  1582. kernel sources have been removed. The .h files remain, since some
  1583. utilities include them. This will need to be fixed later.
  1584. If "mount -t oldnfs ..." is attempted, it will fail.
  1585. If the "-o" option on mountd(8), nfsd(8) or nfsstat(1) is used,
  1586. the utilities will report errors.
  1587. 20141121:
  1588. The handling of LOCAL_LIB_DIRS has been altered to skip addition of
  1589. directories to top level SUBDIR variable when their parent
  1590. directory is included in LOCAL_DIRS. Users with build systems with
  1591. such hierarchies and without SUBDIR entries in the parent
  1592. directory Makefiles should add them or add the directories to
  1593. LOCAL_DIRS.
  1594. 20141109:
  1595. faith(4) and faithd(8) have been removed from the base system. Faith
  1596. has been obsolete for a very long time.
  1597. 20141104:
  1598. vt(4), the new console driver, is enabled by default. It brings
  1599. support for Unicode and double-width characters, as well as
  1600. support for UEFI and integration with the KMS kernel video
  1601. drivers.
  1602. You may need to update your console settings in /etc/rc.conf,
  1603. most probably the keymap. During boot, /etc/rc.d/syscons will
  1604. indicate what you need to do.
  1605. vt(4) still has issues and lacks some features compared to
  1606. syscons(4). See the wiki for up-to-date information:
  1607. https://wiki.freebsd.org/Newcons
  1608. If you want to keep using syscons(4), you can do so by adding
  1609. the following line to /boot/loader.conf:
  1610. kern.vty=sc
  1611. 20141102:
  1612. pjdfstest has been integrated into kyua as an opt-in test suite.
  1613. Please see share/doc/pjdfstest/README for more details on how to
  1614. execute it.
  1615. 20141009:
  1616. gperf has been removed from the base system for architectures
  1617. that use clang. Ports that require gperf will obtain it from the
  1618. devel/gperf port.
  1619. 20140923:
  1620. pjdfstest has been moved from tools/regression/pjdfstest to
  1621. contrib/pjdfstest .
  1622. 20140922:
  1623. At svn r271982, The default linux compat kernel ABI has been adjusted
  1624. to 2.6.18 in support of the linux-c6 compat ports infrastructure
  1625. update. If you wish to continue using the linux-f10 compat ports,
  1626. add compat.linux.osrelease=2.6.16 to your local sysctl.conf. Users are
  1627. encouraged to update their linux-compat packages to linux-c6 during
  1628. their next update cycle.
  1629. 20140729:
  1630. The ofwfb driver, used to provide a graphics console on PowerPC when
  1631. using vt(4), no longer allows mmap() of all physical memory. This
  1632. will prevent Xorg on PowerPC with some ATI graphics cards from
  1633. initializing properly unless x11-servers/xorg-server is updated to
  1634. 1.12.4_8 or newer.
  1635. 20140723:
  1636. The xdev targets have been converted to using TARGET and
  1637. TARGET_ARCH instead of XDEV and XDEV_ARCH.
  1638. 20140719:
  1639. The default unbound configuration has been modified to address
  1640. issues with reverse lookups on networks that use private
  1641. address ranges. If you use the local_unbound service, run
  1642. "service local_unbound setup" as root to regenerate your
  1643. configuration, then "service local_unbound reload" to load the
  1644. new configuration.
  1645. 20140709:
  1646. The GNU texinfo and GNU info pages are not built and installed
  1647. anymore, WITH_INFO knob has been added to allow to built and install
  1648. them again.
  1649. UPDATE: see 20150102 entry on texinfo's removal
  1650. 20140708:
  1651. The GNU readline library is now an INTERNALLIB - that is, it is
  1652. statically linked into consumers (GDB and variants) in the base
  1653. system, and the shared library is no longer installed. The
  1654. devel/readline port is available for third party software that
  1655. requires readline.
  1656. 20140702:
  1657. The Itanium architecture (ia64) has been removed from the list of
  1658. known architectures. This is the first step in the removal of the
  1659. architecture.
  1660. 20140701:
  1661. Commit r268115 has added NFSv4.1 server support, merged from
  1662. projects/nfsv4.1-server. Since this includes changes to the
  1663. internal interfaces between the NFS related modules, a full
  1664. build of the kernel and modules will be necessary.
  1665. __FreeBSD_version has been bumped.
  1666. 20140629:
  1667. The WITHOUT_VT_SUPPORT kernel config knob has been renamed
  1668. WITHOUT_VT. (The other _SUPPORT knobs have a consistent meaning
  1669. which differs from the behaviour controlled by this knob.)
  1670. 20140619:
  1671. Maximal length of the serial number in CTL was increased from 16 to
  1672. 64 chars, that breaks ABI. All CTL-related tools, such as ctladm
  1673. and ctld, need to be rebuilt to work with a new kernel.
  1674. 20140606:
  1675. The libatf-c and libatf-c++ major versions were downgraded to 0 and
  1676. 1 respectively to match the upstream numbers. They were out of
  1677. sync because, when they were originally added to FreeBSD, the
  1678. upstream versions were not respected. These libraries are private
  1679. and not yet built by default, so renumbering them should be a
  1680. non-issue. However, unclean source trees will yield broken test
  1681. programs once the operator executes "make delete-old-libs" after a
  1682. "make installworld".
  1683. Additionally, the atf-sh binary was made private by moving it into
  1684. /usr/libexec/. Already-built shell test programs will keep the
  1685. path to the old binary so they will break after "make delete-old"
  1686. is run.
  1687. If you are using WITH_TESTS=yes (not the default), wipe the object
  1688. tree and rebuild from scratch to prevent spurious test failures.
  1689. This is only needed once: the misnumbered libraries and misplaced
  1690. binaries have been added to OptionalObsoleteFiles.inc so they will
  1691. be removed during a clean upgrade.
  1692. 20140512:
  1693. Clang and llvm have been upgraded to 3.4.1 release.
  1694. 20140508:
  1695. We bogusly installed src.opts.mk in /usr/share/mk. This file should
  1696. be removed to avoid issues in the future (and has been added to
  1697. ObsoleteFiles.inc).
  1698. 20140505:
  1699. /etc/src.conf now affects only builds of the FreeBSD src tree. In the
  1700. past, it affected all builds that used the bsd.*.mk files. The old
  1701. behavior was a bug, but people may have relied upon it. To get this
  1702. behavior back, you can .include /etc/src.conf from /etc/make.conf
  1703. (which is still global and isn't changed). This also changes the
  1704. behavior of incremental builds inside the tree of individual
  1705. directories. Set MAKESYSPATH to ".../share/mk" to do that.
  1706. Although this has survived make universe and some upgrade scenarios,
  1707. other upgrade scenarios may have broken. At least one form of
  1708. temporary breakage was fixed with MAKESYSPATH settings for buildworld
  1709. as well... In cases where MAKESYSPATH isn't working with this
  1710. setting, you'll need to set it to the full path to your tree.
  1711. One side effect of all this cleaning up is that bsd.compiler.mk
  1712. is no longer implicitly included by bsd.own.mk. If you wish to
  1713. use COMPILER_TYPE, you must now explicitly include bsd.compiler.mk
  1714. as well.
  1715. 20140430:
  1716. The lindev device has been removed since /dev/full has been made a
  1717. standard device. __FreeBSD_version has been bumped.
  1718. 20140424:
  1719. The knob WITHOUT_VI was added to the base system, which controls
  1720. building ex(1), vi(1), etc. Older releases of FreeBSD required ex(1)
  1721. in order to reorder files share/termcap and didn't build ex(1) as a
  1722. build tool, so building/installing with WITH_VI is highly advised for
  1723. build hosts for older releases.
  1724. This issue has been fixed in stable/9 and stable/10 in r277022 and
  1725. r276991, respectively.
  1726. 20140418:
  1727. The YES_HESIOD knob has been removed. It has been obsolete for
  1728. a decade. Please move to using WITH_HESIOD instead or your builds
  1729. will silently lack HESIOD.
  1730. 20140405:
  1731. The uart(4) driver has been changed with respect to its handling
  1732. of the low-level console. Previously the uart(4) driver prevented
  1733. any process from changing the baudrate or the CLOCAL and HUPCL
  1734. control flags. By removing the restrictions, operators can make
  1735. changes to the serial console port without having to reboot.
  1736. However, when getty(8) is started on the serial device that is
  1737. associated with the low-level console, a misconfigured terminal
  1738. line in /etc/ttys will now have a real impact.
  1739. Before upgrading the kernel, make sure that /etc/ttys has the
  1740. serial console device configured as 3wire without baudrate to
  1741. preserve the previous behaviour. E.g:
  1742. ttyu0 "/usr/libexec/getty 3wire" vt100 on secure
  1743. 20140306:
  1744. Support for libwrap (TCP wrappers) in rpcbind was disabled by default
  1745. to improve performance. To re-enable it, if needed, run rpcbind
  1746. with command line option -W.
  1747. 20140226:
  1748. Switched back to the GPL dtc compiler due to updates in the upstream
  1749. dts files not being supported by the BSDL dtc compiler. You will need
  1750. to rebuild your kernel toolchain to pick up the new compiler. Core dumps
  1751. may result while building dtb files during a kernel build if you fail
  1752. to do so. Set WITHOUT_GPL_DTC if you require the BSDL compiler.
  1753. 20140216:
  1754. Clang and llvm have been upgraded to 3.4 release.
  1755. 20140216:
  1756. The nve(4) driver has been removed. Please use the nfe(4) driver
  1757. for NVIDIA nForce MCP Ethernet adapters instead.
  1758. 20140212:
  1759. An ABI incompatibility crept into the libc++ 3.4 import in r261283.
  1760. This could cause certain C++ applications using shared libraries built
  1761. against the previous version of libc++ to crash. The incompatibility
  1762. has now been fixed, but any C++ applications or shared libraries built
  1763. between r261283 and r261801 should be recompiled.
  1764. 20140204:
  1765. OpenSSH will now ignore errors caused by kernel lacking of Capsicum
  1766. capability mode support. Please note that enabling the feature in
  1767. kernel is still highly recommended.
  1768. 20140131:
  1769. OpenSSH is now built with sandbox support, and will use sandbox as
  1770. the default privilege separation method. This requires Capsicum
  1771. capability mode support in kernel.
  1772. 20140128:
  1773. The libelf and libdwarf libraries have been updated to newer
  1774. versions from upstream. Shared library version numbers for
  1775. these two libraries were bumped. Any ports or binaries
  1776. requiring these two libraries should be recompiled.
  1777. __FreeBSD_version is bumped to 1100006.
  1778. 20140110:
  1779. If a Makefile in a tests/ directory was auto-generating a Kyuafile
  1780. instead of providing an explicit one, this would prevent such
  1781. Makefile from providing its own Kyuafile in the future during
  1782. NO_CLEAN builds. This has been fixed in the Makefiles but manual
  1783. intervention is needed to clean an objdir if you use NO_CLEAN:
  1784. # find /usr/obj -name Kyuafile | xargs rm -f
  1785. 20131213:
  1786. The behavior of gss_pseudo_random() for the krb5 mechanism
  1787. has changed, for applications requesting a longer random string
  1788. than produced by the underlying enctype's pseudo-random() function.
  1789. In particular, the random string produced from a session key of
  1790. enctype aes256-cts-hmac-sha1-96 or aes256-cts-hmac-sha1-96 will
  1791. be different at the 17th octet and later, after this change.
  1792. The counter used in the PRF+ construction is now encoded as a
  1793. big-endian integer in accordance with RFC 4402.
  1794. __FreeBSD_version is bumped to 1100004.
  1795. 20131108:
  1796. The WITHOUT_ATF build knob has been removed and its functionality
  1797. has been subsumed into the more generic WITHOUT_TESTS. If you were
  1798. using the former to disable the build of the ATF libraries, you
  1799. should change your settings to use the latter.
  1800. 20131025:
  1801. The default version of mtree is nmtree which is obtained from
  1802. NetBSD. The output is generally the same, but may vary
  1803. slightly. If you found you need identical output adding
  1804. "-F freebsd9" to the command line should do the trick. For the
  1805. time being, the old mtree is available as fmtree.
  1806. 20131014:
  1807. libbsdyml has been renamed to libyaml and moved to /usr/lib/private.
  1808. This will break ports-mgmt/pkg. Rebuild the port, or upgrade to pkg
  1809. 1.1.4_8 and verify bsdyml not linked in, before running "make
  1810. delete-old-libs":
  1811. # make -C /usr/ports/ports-mgmt/pkg build deinstall install clean
  1812. or
  1813. # pkg install pkg; ldd /usr/local/sbin/pkg | grep bsdyml
  1814. 20131010:
  1815. The stable/10 branch has been created in subversion from head
  1816. revision r256279.
  1817. COMMON ITEMS:
  1818. General Notes
  1819. -------------
  1820. Sometimes, obscure build problems are the result of environment
  1821. poisoning. This can happen because the make utility reads its
  1822. environment when searching for values for global variables. To run
  1823. your build attempts in an "environmental clean room", prefix all make
  1824. commands with 'env -i '. See the env(1) manual page for more details.
  1825. Occasionally a build failure will occur with "make -j" due to a race
  1826. condition. If this happens try building again without -j, and please
  1827. report a bug if it happens consistently.
  1828. When upgrading from one major version to another it is generally best to
  1829. upgrade to the latest code in the currently installed branch first, then
  1830. do an upgrade to the new branch. This is the best-tested upgrade path,
  1831. and has the highest probability of being successful. Please try this
  1832. approach if you encounter problems with a major version upgrade. Since
  1833. the stable 4.x branch point, one has generally been able to upgrade from
  1834. anywhere in the most recent stable branch to head / current (or even the
  1835. last couple of stable branches). See the top of this file when there's
  1836. an exception.
  1837. The update process will emit an error on an attempt to perform a build
  1838. or install from a FreeBSD version below the earliest supported version.
  1839. When updating from an older version the update should be performed one
  1840. major release at a time, including running `make delete-old` at each
  1841. step.
  1842. When upgrading a live system, having a root shell around before
  1843. installing anything can help undo problems. Not having a root shell
  1844. around can lead to problems if pam has changed too much from your
  1845. starting point to allow continued authentication after the upgrade.
  1846. This file should be read as a log of events. When a later event changes
  1847. information of a prior event, the prior event should not be deleted.
  1848. Instead, a pointer to the entry with the new information should be
  1849. placed in the old entry. Readers of this file should also sanity check
  1850. older entries before relying on them blindly. Authors of new entries
  1851. should write them with this in mind.
  1852. ZFS notes
  1853. ---------
  1854. When upgrading the boot ZFS pool to a new version, always follow
  1855. these two steps:
  1856. 1.) recompile and reinstall the ZFS boot loader and boot block
  1857. (this is part of "make buildworld" and "make installworld")
  1858. 2.) update the ZFS boot block on your boot drive
  1859. The following example updates the ZFS boot block on the
  1860. freebsd-boot partition of a GPT partitioned drive ada0:
  1861. "gpart bootcode -p /boot/gptzfsboot -i $N ada0"
  1862. The value $N will typically be 1 (if booting from BIOS) or 2 (if
  1863. booting from EFI).
  1864. Non-boot pools do not need these updates.
  1865. To build a kernel
  1866. -----------------
  1867. If you are updating from a prior version of FreeBSD (even one just
  1868. a few days old), you should follow this procedure. It is the most
  1869. failsafe as it uses a /usr/obj tree with a fresh mini-buildworld,
  1870. make kernel-toolchain
  1871. make -DALWAYS_CHECK_MAKE buildkernel KERNCONF=YOUR_KERNEL_HERE
  1872. make -DALWAYS_CHECK_MAKE installkernel KERNCONF=YOUR_KERNEL_HERE
  1873. To test a kernel once
  1874. ---------------------
  1875. If you just want to boot a kernel once (because you are not sure
  1876. if it works, or if you want to boot a known bad kernel to provide
  1877. debugging information) run
  1878. make installkernel KERNCONF=YOUR_KERNEL_HERE KODIR=/boot/testkernel
  1879. nextboot -k testkernel
  1880. To rebuild everything and install it on the current system.
  1881. -----------------------------------------------------------
  1882. # Note: sometimes if you are running current you gotta do more than
  1883. # is listed here if you are upgrading from a really old current.
  1884. <make sure you have good level 0 dumps>
  1885. make buildworld
  1886. make buildkernel KERNCONF=YOUR_KERNEL_HERE
  1887. make installkernel KERNCONF=YOUR_KERNEL_HERE
  1888. [1]
  1889. <reboot in single user> [3]
  1890. mergemaster -Fp [5]
  1891. make installworld
  1892. mergemaster -Fi [4]
  1893. make delete-old [6]
  1894. <reboot>
  1895. To cross-install current onto a separate partition
  1896. --------------------------------------------------
  1897. # In this approach we use a separate partition to hold
  1898. # current's root, 'usr', and 'var' directories. A partition
  1899. # holding "/", "/usr" and "/var" should be about 2GB in
  1900. # size.
  1901. <make sure you have good level 0 dumps>
  1902. <boot into -stable>
  1903. make buildworld
  1904. make buildkernel KERNCONF=YOUR_KERNEL_HERE
  1905. <maybe newfs current's root partition>
  1906. <mount current's root partition on directory ${CURRENT_ROOT}>
  1907. make installworld DESTDIR=${CURRENT_ROOT} -DDB_FROM_SRC
  1908. make distribution DESTDIR=${CURRENT_ROOT} # if newfs'd
  1909. make installkernel KERNCONF=YOUR_KERNEL_HERE DESTDIR=${CURRENT_ROOT}
  1910. cp /etc/fstab ${CURRENT_ROOT}/etc/fstab # if newfs'd
  1911. <edit ${CURRENT_ROOT}/etc/fstab to mount "/" from the correct partition>
  1912. <reboot into current>
  1913. <do a "native" rebuild/install as described in the previous section>
  1914. <maybe install compatibility libraries from ports/misc/compat*>
  1915. <reboot>
  1916. To upgrade in-place from stable to current
  1917. ----------------------------------------------
  1918. <make sure you have good level 0 dumps>
  1919. make buildworld [9]
  1920. make buildkernel KERNCONF=YOUR_KERNEL_HERE [8]
  1921. make installkernel KERNCONF=YOUR_KERNEL_HERE
  1922. [1]
  1923. <reboot in single user> [3]
  1924. mergemaster -Fp [5]
  1925. make installworld
  1926. mergemaster -Fi [4]
  1927. make delete-old [6]
  1928. <reboot>
  1929. Make sure that you've read the UPDATING file to understand the
  1930. tweaks to various things you need. At this point in the life
  1931. cycle of current, things change often and you are on your own
  1932. to cope. The defaults can also change, so please read ALL of
  1933. the UPDATING entries.
  1934. Also, if you are tracking -current, you must be subscribed to
  1935. freebsd-current@freebsd.org. Make sure that before you update
  1936. your sources that you have read and understood all the recent
  1937. messages there. If in doubt, please track -stable which has
  1938. much fewer pitfalls.
  1939. [1] If you have third party modules, such as vmware, you should disable
  1940. them at this point so they don't crash your system on
  1941. reboot. Alternatively, you should rebuild all the modules you have in
  1942. your system and install them as well. If you are running -current, you
  1943. should seriously consider placing all sources to all the modules for
  1944. your system (or symlinks to them) in /usr/local/sys/modules so this
  1945. happens automatically. If all your modules come from ports, then adding
  1946. the port origin directories to PORTS_MODULES instead is also automatic
  1947. and effective, eg:
  1948. PORTS_MODULES+=x11/nvidia-driver
  1949. [3] From the bootblocks, boot -s, and then do
  1950. fsck -p
  1951. mount -u /
  1952. mount -a
  1953. sh /etc/rc.d/zfs start # mount zfs filesystem, if needed
  1954. cd src # full path to source
  1955. adjkerntz -i # if CMOS is wall time
  1956. Also, when doing a major release upgrade, it is required that you boot
  1957. into single user mode to do the installworld.
  1958. [4] Note: This step is non-optional. Failure to do this step
  1959. can result in a significant reduction in the functionality of the
  1960. system. Attempting to do it by hand is not recommended and those
  1961. that pursue this avenue should read this file carefully, as well
  1962. as the archives of freebsd-current and freebsd-hackers mailing lists
  1963. for potential gotchas. The -U option is also useful to consider.
  1964. See mergemaster(8) for more information.
  1965. [5] Usually this step is a no-op. However, from time to time
  1966. you may need to do this if you get unknown user in the following
  1967. step. It never hurts to do it all the time. You may need to
  1968. install a new mergemaster (cd src/usr.sbin/mergemaster && make
  1969. install) after the buildworld before this step if you last updated
  1970. from current before 20130425 or from -stable before 20130430.
  1971. [6] This only deletes old files and directories. Old libraries
  1972. can be deleted by "make delete-old-libs", but you have to make
  1973. sure that no program is using those libraries anymore.
  1974. [8] The new kernel must be able to run existing binaries used by an
  1975. installworld. When upgrading across major versions, the new kernel's
  1976. configuration must include the correct COMPAT_FREEBSD<n> option for
  1977. existing binaries (e.g. COMPAT_FREEBSD11 to run 11.x binaries). Failure
  1978. to do so may leave you with a system that is hard to boot to recover. A
  1979. GENERIC kernel will include suitable compatibility options to run
  1980. binaries from older branches. Note that the ability to run binaries
  1981. from unsupported branches is not guaranteed.
  1982. Make sure that you merge any new devices from GENERIC since the
  1983. last time you updated your kernel config file. Options also
  1984. change over time, so you may need to adjust your custom kernels
  1985. for these as well.
  1986. [9] If CPUTYPE is defined in your /etc/make.conf, make sure to use the
  1987. "?=" instead of the "=" assignment operator, so that buildworld can
  1988. override the CPUTYPE if it needs to.
  1989. MAKEOBJDIRPREFIX must be defined in an environment variable, and
  1990. not on the command line, or in /etc/make.conf. buildworld will
  1991. warn if it is improperly defined.
  1992. FORMAT:
  1993. This file contains a list, in reverse chronological order, of major
  1994. breakages in tracking -current. It is not guaranteed to be a complete
  1995. list of such breakages, and only contains entries since September 23, 2011.
  1996. If you need to see UPDATING entries from before that date, you will need
  1997. to fetch an UPDATING file from an older FreeBSD release.
  1998. Copyright information:
  1999. Copyright 1998-2009 M. Warner Losh <imp@FreeBSD.org>
  2000. Redistribution, publication, translation and use, with or without
  2001. modification, in full or in part, in any form or format of this
  2002. document are permitted without further permission from the author.
  2003. THIS DOCUMENT IS PROVIDED BY WARNER LOSH ``AS IS'' AND ANY EXPRESS OR
  2004. IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  2005. WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  2006. DISCLAIMED. IN NO EVENT SHALL WARNER LOSH BE LIABLE FOR ANY DIRECT,
  2007. INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  2008. (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
  2009. SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  2010. HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
  2011. STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
  2012. IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  2013. POSSIBILITY OF SUCH DAMAGE.
  2014. Contact Warner Losh if you have any questions about your use of
  2015. this document.
  2016. $FreeBSD$