drm/radeon: add missing ttm_eu_backoff_reservation to radeon_bo_list_validate
[dragonfly.git] / UPDATING
bloba51422add33553cc901951ba8e07918739ca72a4
1 # Updating Information for DragonFly users.
4 # This file should warn you of any pitfalls which you might need to work around
5 # when trying to update your DragonFly system.  The information below is
6 # in reverse-time order, with the latest information at the top.
8 # If you discover any problem, please contact the bugs@lists.dragonflybsd.org
9 # mailing list with the details.
11 +-----------------------------------------------------------------------+
12 +         UPGRADING DRAGONFLY FROM 5.2 TO LATER VERSIONS                +
13 +-----------------------------------------------------------------------+
15 DIGI, RP AND SI DRIVERS REMOVED
16 -------------------------------
18 The digi(4), rp(4) and si(4) serial drivers have been removed. None of
19 them were in our default kernel configuration file. The sicontrol(8)
20 utility was removed, too.
22 MKINITRD COMMAND REMOVED
23 ------------------------
25 The mkinitrd(8) command is removed and its functionality is replaced by
26 the new "initrd" make target.  After rebooting into the new world and
27 verifying everything works, execute "make initrd" to upgrade the rescue
28 tools and initrd image.
30 IPSEC, IPSEC_ESP AND IPSEC_DEBUG REMOVED FROM VKERNEL64 CONFIG
31 --------------------------------------------------------------
33 IPsec has been removed from the system. Of our standard kernel
34 configurations, only the virtual kernel one had it. People running
35 vkernels with configuration files derived from our VKERNEL64 will
36 have to remove these options manually.
38 +-----------------------------------------------------------------------+
39 +         UPGRADING DRAGONFLY FROM 5.0 TO LATER VERSIONS                +
40 +-----------------------------------------------------------------------+
42 VIRTIO_PCI REMOVED FROM KERNEL CONFIG
43 -------------------------------------
45 The "device virtio_pci" line in X86_64_GENERIC has been removed. People
46 with configuration files derived from it have to remove it manually.
48 VARIOUS 'R' COMMANDS AND DAEMONS REMOVED
49 ----------------------------------------
51 rcp(1), rlogin(1), rlogind(8), rsh(1) and rshd(8) have been removed.
52 For those that still need them, there is the net/bsdrcmds port.
54 VARIOUS FORMER OPTIONS REMOVED
55 ------------------------------
57 Various former kernel configuration options which had been no-ops for
58 some time were completely removed: SYSVMSG, SYSVSEM, SYSVSHM, P1003_1B,
59 _KPOSIX_VERSION and DSCHED_FQ. Users that have any of these still in
60 their kernel configuration files have to remove them.
62 BOOTSTRAPPING LIMITED FROM PRE 4.4
63 ----------------------------------
65 Upgrading to 5.1 and later versions now require at least 4.4 in
66 preparations for upcoming base compilers updates.
68 IF_PPP, PPPD, IF_FAITH, AND FAITHD REMOVED
69 ------------------------------------------
71 if_ppp has been replaced by "user ppp", i.e. ppp(8) and tun(4). It had
72 already been removed from our default kernel configuration before 5.0,
73 so only people with custom configurations based on earlier X86_64_GENERIC
74 will have to remove it manually.
76 The faith(4) interface has been completely removed after it had also
77 been removed from our default kernel configuration. 
79 +-----------------------------------------------------------------------+
80 +         UPGRADING DRAGONFLY FROM 4.8 TO LATER VERSIONS                +
81 +-----------------------------------------------------------------------+
83 FFS_ROOT OPTION DISABLED
84 ------------------------
86 The FFS_ROOT option has been made a no-op and will be completely removed
87 at some point in the future. Users with a custom kernel configuration
88 can remove this option from it now.
90 +-----------------------------------------------------------------------+
91 +         UPGRADING DRAGONFLY FROM 4.6 TO LATER VERSIONS                +
92 +-----------------------------------------------------------------------+
94 AHC, AHD, AIC, NCV, NSP AND STG DRIVERS REMOVED
95 -----------------------------------------------
97 They were all in our X86_64_GENERIC kernel configuration file, along with
98 the AHC_REG_PRETTY_PRINT and AHD_REG_PRETTY_PRINT options, so any custom
99 configuration files derived from it need adjustment.
101 PORTAL FILE SYSTEM REMOVED
102 --------------------------
104 It has been broken for a long time now.
106 BINUTILS 2.27 REPLACES 2.24, PRIMARY
107 ------------------------------------
109 The oldest of the two versions of Binutils, version 2.24, was removed
110 and replaced with Binutils 2.27.  It becomes the primary version version
111 of binutils and version 2.25 becomes the alternate.
113 The accepted values of BINUTILSVER are now "binutils227" (default) and
114 "binutils225".  The building of Binutils 2.25 can be prevented by setting
115 NO_ALTBINUTILS=yes in make.conf.
117 COMPAT_43 KERNEL OPTION REMOVED
118 -------------------------------
120 It was commented out in our default configs for several years now, but
121 might still be present in custom configs created before Nov. 2011.
123 OPENSSL REMOVED
124 ---------------
126 OpenSSL has been removed from base and replaced with a private version of
127 LibreSSL.  The previously installed OpenSSL libraries, headers, and man
128 pages will remain on the system unless the "make upgrade" command is
129 specifically instructed to remove them.  To do this, define
130 REMOVE_OPENSSL_FILES for the upgrade command, e.g.
131 "make upgrade REMOVE_OPENSSL_FILES=yes"
133 28-Oct-2016: openssl has been replaced by ressl.  It is recommended that any
134 stale OpenSSL files be removed to avoid configuration scripts from using
135 the stale and potentially vulnerable version, but all binaries that are
136 dynamically linked to the OpenSSL libraries should be rebuilt first to
137 avoid breakage.
139 OPENSSH HPN REMOVED
140 -------------------
142 It has become too cumbersome to maintain HPN patches in OpenSSH in base.
143 To use OpenSSH in base remove HPN config, if you have added it.
144 Check files below for HPN config, see a few lines below.
145   /etc/ssh/ssh_config, /etc/ssh/sshd_config, ~/.ssh/config
146 sshd(8) will fail to start if HPN config is used.
148 NOTE: HPN config in sshd_config will prohibit remote access to host using ssh.
150 HPN config:
151 HPNDisabled
152 HPNBufferSize
153 TcpRcvBuf
154 TcpRcvBufPoll
155 NoneEnabled
156 NoneSwitch
157 cipher MTR-AES-CTR
158 cipher NONE
160 OpenSSH HPN is a patch set to OpenSSH providing higher performance under some
161 circumstances, especially for networking.
162 If HPN functionality is needed, install security/openssh from dports.
164 CS, EX AND VX DRIVERS REMOVED
165 -----------------------------
167 The cs(4), ex(4) and vx(4) drivers have been removed. They were very
168 old and its doubtful they ever worked properly in x86_64 but they were
169 in X86_64_GENERIC, so custom configurations derived from it have to be
170 adjusted.
172 +-----------------------------------------------------------------------+
173 +         UPGRADING DRAGONFLY FROM 4.4 TO LATER VERSIONS                +
174 +-----------------------------------------------------------------------+
176 AMD REMOVED
177 -----------
179 The am-utils automounter suite has been removed. It stopped working
180 at some point and was never fixed. autofs(5) and the associated
181 userland has been brought in from FreeBSD and replaces it.
183 AN DRIVER REMOVED
184 -----------------
186 The an(4) driver has been removed. It was in the X86_64_GENERIC kernel
187 config file, so any configurations derived from it have to be adjusted.
189 /DEV/DRI GROUP CHANGED
190 ----------------------
192 The default group assigned to /dev/dri entries has been changed
193 from 'wheel' to 'video' with the id of '44'. If you want to have
194 access to the dri devices please add yourself to the video group
195 with:
197 # pw groupmod video -m $USER
199 +-----------------------------------------------------------------------+
200 +         UPGRADING DRAGONFLY FROM 4.2 TO LATER VERSIONS                +
201 +-----------------------------------------------------------------------+
203 DSCHED REMOVED
204 --------------
206 dsched(4) has been removed and one of its kernel options, DSCHED_FQ, was
207 in our default kernel config file. So the DSCHED_FQ option has been turned
208 into a no-op for now and can be removed from custom configurations.
210 EST DRIVER REMOVED, COMPILE_ET AND LIBCOM_ERR TOO
211 -------------------------------------------------
213 The est(4) driver has been removed. All CPUs it supported (except one)
214 were 32 bits only. Those who are still using the Core 2 Duo T7500 should
215 report back if there are any issues with this CPU and our regular ACPI
216 P-state support.
218 Also, compile_et(1) and com_err(3) have been removed as well. They
219 should have been removed along with kerberos support, back in 2009.
221 SEVERAL LOCALES RENAMED
222 -----------------------
224 Several locales were using obsolete and misleading names, and thus have
225 been adjusted to current standards. Any users of the following locales
226 need to select alternates:
228 DFLY 4.2 locale            DFLY 4.4 alterative locale
229 ---------------            ------------------------------------
230 mn_MN.UTF-8                mn_Cyrl_MN.UTF-8
231 no_NO.UTF-8                nb_NO.UTF-8      or nn_NO.UTF-8
232 no_NO.ISO8859-1            nb_NO.ISO8869-1  or nn_NO.ISO8859-1
233 no_NO.ISO8859-15           nb_NO.ISO8859-15 or nn_NO.ISO8859-15
234 sr_YU.UTF-8                sr_Cyrl_RS.UTF-8 or sr_Latn_RS.UTF-8
235 sr_YU.ISO8859-5            sr_Cyrl_RS.ISO8859-5
236 sr_YU.ISO8859-2            sr_Latn_RS.ISO8859-2
237 zh_CN.GBK                  zh_Hans_CN.GBK
238 zh_CN.UTF-8                zh_Hans_CN.UTF-8
239 zh_CN.eucCN                zh_Hans_CN.eucCN
240 zh_CN.GB2312               zh_Hans_CH.GB2312
241 zh_CN.GB18030              zh_Hans_CH.GB18030
242 zh_HK.Big5HKSCS            zh_Hant_HK.Big5HKSCS
243 zh_HK.UTF_8                zh_Hant_HK.UTF-8
244 zh_TW.Big5                 zh_Hant_TW.Big5
245 zh_TW.UTF-8                zh_Hant_TW.UTF-8
247 +-----------------------------------------------------------------------+
248 +         UPGRADING DRAGONFLY FROM 4.0 TO LATER VERSIONS                +
249 +-----------------------------------------------------------------------+
251 BINUTILS 2.25 REPLACES 2.22, PRIMARY
252 ------------------------------------
254 The oldest of the two versions of Binutils, version 2.22, was removed
255 and replaced with Binutils 2.25.  It becomes the primary version version
256 of binutils and version 2.24 becomes the alternate.  There are 8 current
257 CVE written against 2.24, so for security reasons version 2.25 should
258 always be used.
260 The accepted values of BINUTILSVER are now "binutils225" (default) and
261 "binutils224".  The building of Binutils 2.24 can be prevented by setting
262 NO_ALTBINUTILS=yes in make.conf.
264 LOADER OPTIONS CHANGED
265 ----------------------
267 Right after the development branch started, the Fred art accompanying the
268 loader menu was improved.  The line between Fred and the menu was removed
269 by default (but can optionally be returned) and the placement shifted as
270 a result.  The drawing was improved, and the colored version was improved,
271 changing the eyes and wing color from white to red.  A new color version
272 of Fred was added, one with a blue scheme.
274 The loader menu defaults have changed since release 4.0:  The vertical
275 line was removed, the loader is displayed in color by default*, and the
276 blue scheme is used.
278 The loader.conf changes are:
279 loader_color:   option has been removed
280 loader_plain:   option has been added, it changed menu to monochrome
281 fred_is_red:    changes color scheme from blue to red
282 fred_is_blue:   option existed only on 4.1, it has been removed
283 fred_separated: Adds line between Fred and menu (as seen previously)
285 * If loader.conf defines "console" as "comconsole" or "console" is defined
286   in the environment as "comconsole" then color will not be displayed,
287   even if loader_plain value is "NO".
289 SENDMAIL REMOVED FROM BASE
290 --------------------------
292 The only Mail Transfer Agent provided now is DragonFly Mail Agent (dma).
293 If the system being upgraded is still configured to use the sendmail
294 binaries from base, the "make upgrade" command will fail.
296 The administrator must change /etc/mail/mailer.conf to switch the
297 mailwrapper to dma or a DPorts-based MTA prior to running the upgrade
298 command that permanently removes sendmail executables and could
299 potentially break a running mail server.
301 Refer: http://www.dragonflybsd.com/docs/docs/newhandbook/mta/ for
302 detailed instructions on how to configure the MTA selection.
304 _KPOSIX_VERSION and P1003_1B OPTIONS REMOVED
305 --------------------------------------------
307 The _KPOSIX_VERSION and P1003_1B kernel options have been changed to
308 no-ops. They can be removed from custom kernel configurations.
310 SOUND SYSTEM UPDATED FROM FreeBSD 11-CURRENT
311 --------------------------------------------
313 Many more sound devices may be detected.
315 If the default device choosen isn't to your liking, setting the sysctl
316 hw.snd.default_unit to a different number will change it.
318 SCTP SUPPORT DROPPED
319 --------------------
321 Support for the SCTP protocol has been removed.
323 OLD USB DRIVERS REMOVED
324 -----------------------
326 The old USB stack, along with the kernel config option "device oldusb"
327 and the make.conf variable "WANT_OLDUSB" have been removed. This means
328 that for custom kernel configuration files which were derived from a
329 GENERIC or X86_64_GENERIC file prior to making the usb4bsd stack default,
330 various (old USB stack specific) devices will now complain about being
331 unknown:
333   * oldusb      (obviously)
334   * natausb     (not yet ported to usb4bsd)
335   * rue         (not yet ported to usb4bsd)
336   * ugen        (no longer needed in usb4bsd)
337   * urio        (not yet ported to usb4bsd)
338   * uscanner    (no longer needed in usb4bsd)
340 They should be removed or commented out in such custom kernel configs.
342 GCC 5
343 -----
345 The GCC 4.4 compiler has been retired.  It has been replaced by a GCC 5.1.
346 The following make.conf variables no longer work: NO_GCC44, NO_OBJC, and
347 NO_CXX.  The latter was never documented and the latest versions of GCC are
348 partially written in C++ so a C++ compiler is no longer optional.  In
349 practical terms it has not been optional for many years as other base
350 components are also written in C++.  The resource savings by avoiding
351 building Objective-C compiler is so small, the complexity added by NO_OBJC
352 internally was deemed a bad tradeoff so that is the reason for its removal.
353 Also note that no "info" pages are installed with GCC 5.  After this entry
354 was originally written, all info pages were removed from DragonFly.
356 GCC 5.1 has been designated as the primary compiler.  As such, there is a
357 new make.conf variable, NO_ALTCOMPILER.  It will block the rebuilding of
358 the designated secondary compiler, GCC 4.7.  However, while DPorts
359 primarily uses GCC 5 to build ports now, it still uses GCC 4.7 as well, so
360 if building ports from source is desired, don't block building of the
361 secondary compiler.
363 +-----------------------------------------------------------------------+
364 +         UPGRADING DRAGONFLY FROM 3.8 TO LATER VERSIONS                +
365 +-----------------------------------------------------------------------+
367 SMP AND DEVICE_POLLING OPTIONS MADE UNKNOWN
368 -------------------------------------------
370 DEVICE_POLLING was replaced by IFPOLL_ENABLE and the former SMP code is
371 the default now (even on single-core systems), both for, like, 21 months.
372 We kept the options around as no-ops as a convenience, to allow people
373 using the same config for the then current release and the then current
374 master. That period is now over, so any configs still having those
375 options have to be adjusted.
377 SYSVIPC SYSCALLS MADE NON-OPTIONAL
378 ----------------------------------
380 The code related to the SYSVMSG, SYSVSEM and SYSVSHM kernel options is
381 now compiled in by default. The options are no-ops for now.
383 DEFAULT DRIVER CHANGED FOR LSI "THUNDERBOLT" SERIES RAID CONTROLLERS
384 --------------------------------------------------------------------
386 The default driver for those controllers is now mrsas(4) due to reports
387 of file system corruption using the mfi(4) driver. The whole issue (and
388 how to deal with potential problems when switching) was explained here:
390 http://lists.dragonflybsd.org/pipermail/users/2014-July/128703.html
392 A tunable is provided for letting those controllers still attach via
393 the mfi(4) driver, hw.mrsas.mfi_enable (see mrsas(4) manual page).
395 OLDER NETWORK DRIVERS MOVED TO I386 ONLY
396 ----------------------------------------
398 The following drivers have been made i386 only: ed(4), sr(4), ng_sync_ar
399 and ng_sync_sr. ed(4) used to be in X86_64_GENERIC, so it has to be
400 removed in kernel configs derived from X86_64_GENERIC.
402 +-----------------------------------------------------------------------+
403 +         UPGRADING DRAGONFLY FROM 3.6 TO LATER VERSIONS                +
404 +-----------------------------------------------------------------------+
406 UPDATE FROM MOST RECENT 3.6
407 ---------------------------
409 Versions of 3.6 built before June 25th have a bug where installworld might 
410 crash during installation of the new initrd.  Upgrade to the latest version
411 of 3.6 before updating to 3.8 or later.
413 ATM, IPX, NCP AND NWFS SUPPORT DROPPED
414 --------------------------------------
416 Support for the IPX and NCP network protocols and for mouting NetWare
417 file systems has been dropped. Dito for ATM protocol support.
419 INITRD IMAGES NOW INSTALLED BY DEFAULT
420 --------------------------------------
422 An initial ramdisk image is now installed in /boot/kernel/initrd.img.gz
424 Older images installed under the file name of initrd.img will be removed
425 automatically by the make upgrade process.
427 USB4BSD IS NOW THE DEFAULT USB STACK
428 ------------------------------------
430 To get back to the old stack, put "WANT_OLDUSB=yes" in /etc/make.conf and
431 replace "device usb" with "device oldusb" in the kernel configuration.
433 MORE ISA SUPPORT DROPPED
434 ------------------------
436 ISA support has been dropped from the following drivers: adv(4), an(4),
437 ar(4), cs(4), digi(4), ed(4), ep(4), ex(4), fe(4), lnc(4), sbni(4),
438 si(4), sn(4), and stg(4).
440 +-----------------------------------------------------------------------+
441 +         UPGRADING DRAGONFLY FROM 3.4 TO LATER VERSIONS                +
442 +-----------------------------------------------------------------------+
444 ABI CHANGE
445 ----------
447 Installed third-party software (dports) will have to be rebuilt after upgrade,
448 or reinstalled from binary packages.
450 UPDATING FROM 3.4 TO 3.6
451 ------------------------
453 This only applies for this specific upgrade due to locale changes; it is 
454 not needed for upgrades after 3.6.  Please update in this order:
456 make buildworld
457 make buildkernel
458 make installworld
459 make installkernel
460 *reboot*
461 make upgrade
463 See this mailing list post for details:
464 http://lists.dragonflybsd.org/pipermail/users/2013-September/090163.html
466 CYRIX OPTIONS REMOVED
467 ---------------------
469 The following Cyrix related options have been removed: CPU_BTB_EN,
470 CPU_CYRIX_NO_LOCK, CPU_DIRECT_MAPPED_CACHE, CPU_DISABLE_5X86_LSSER,
471 CPU_FASTER_5X86_FPU, CPU_IORT, CPU_LOOP_EN, CPU_RSTK_EN, CPU_SUSP_HLT,
472 CYRIX_CACHE_WORKS, and CYRIX_CACHE_REALLY_WORKS
474 ISA SUPPORT REMOVED FROM RP(4)
475 ------------------------------
477 ISA support has been removed from the rp(4) driver. It is now PCI only.
479 +-----------------------------------------------------------------------+
480 +         UPGRADING DRAGONFLY FROM 3.2 TO LATER VERSIONS                +
481 +-----------------------------------------------------------------------+
483 COMPAT_SUNOS OPTION REMOVED
484 ---------------------------
486 The COMPAT_SUNOS option has been removed. It was meant to provide binary
487 compatibility with SunOS 4.x for the sparc32 port of 4.4BSD.
489 ISA SOUND CARD SUPPORT REMOVED
490 ------------------------------
492 The following modules have been removed (all for ISA sound cards):
493 snd_ad1816.ko, snd_ess.ko, snd_mss.ko, snd_sb8.ko, snd_sb16.ko, snd_sbc.ko
495 GCC 4.7
496 -------
498 DragonFly has switched base compilers.  GCC 4.7 is now the default
499 compiler and GCC 4.4 is the alternative compiler.  The "NO_GCC47" make
500 variable ceases to work now.
502 Users who wish to build only GCC 4.7 have to use NO_GCC44 in the
503 /etc/make.conf to prohibit GCC 4.4 from building.  However, using it is
504 highly discouraged.  There are a few packages in pkgsrc that do not build
505 with GCC 4.7 and the new "DPorts" system uses GCC 4.4 by default.  At
506 this time, it is recommended to keep both compilers on the base system.
508 SMP OPTION REMOVED
509 ------------------
511 The SMP kernel option has been made a no-op. All kernels now feature SMP
512 support. If you have 'options SMP' in your kernel config, you can as well
513 remove it.
515 DEVICE_POLLING OPTION REPLACED BY IFPOLL_ENABLE OPTION, KTR_POLLING REMOVED
516 ---------------------------------------------------------------------------
518 The DEVICE_POLLING kernel option has been made a no-op and it has been
519 replaced by IFPOLL_ENABLE.  If you have 'options DEVICE_POLLING' in your
520 kernel config, you need to change it to IFPOLL_ENABLE.
522 Also, the KTR_POLLING kernel option has been removed, so it must be
523 removed from kernel configs that have it.
525 BUSLOGIC, CYCLADES AND STALLION ISA SUPPORT REMOVED
526 ---------------------------------------------------
528 The bt(4) driver for Buslogic SCSI adapters has been made PCI only. ISA
529 cards will no longer be detected.
531 The same has been done for Stallion multiport serial controllers. stli(4)
532 has been completely removed (along with the stlload(8) and stlstty(8)
533 utilities) and stl(4) was changed to support only PCI cards. Similarly,
534 ISA support was removed from cy(4) too. All these drivers are i386 only.
536 COMPAT_OLDISA OPTION GONE
537 -------------------------
539 The i386 specific COMPAT_OLDISA kernel option has been removed, since
540 nothing needs it anymore.
542 +-----------------------------------------------------------------------+
543 +         UPGRADING DRAGONFLY FROM 3.0 TO LATER VERSIONS                +
544 +-----------------------------------------------------------------------+
546 APIC_IO OPTION REMOVED
547 ----------------------
549 The APIC_IO kernel option is no longer accepted after having been without
550 effect for a while. The hw.ioapic_enable tunable now serves its purpose.
551 If you have 'options APIC_IO' in your kernel config, you'll have to
552 remove it.
554 WATCHDOG_ENABLE & HW_WDOG OPTIONS REMOVED
555 -----------------------------------------
557 The wdog framework is now compiled into our kernels by default, so the
558 options are no longer needed.
560 DOSCMD(1) REMOVED
561 -----------------
563 doscmd(1) has been removed. It was i386 only. The doscmd(1) specific
564 NO_X make.conf option was removed too.
566 GCC 4.7
567 -------
569 GCC 4.7 has been brought in and replaces GCC 4.1 as DragonFly's non-
570 default compiler in base (default is still GCC 4.4).
572 Users who wish to build only GCC 4.4 have to replace NO_GCC41 with
573 NO_GCC47 in /etc/make.conf.
575 USB4BSD
576 -------
578 A new USB stack (from FreeBSD) has been brought in. The following
579 modules have been ported so far: usb, uhci, ohci, ehci, xhci, umass,
580 usfs, uether, if_axe, if_udav, ukbd, ums, uep, uhid, usb_quirk,
581 and uaudio.
583 It is not yet the default. To activate it, WANT_USB4BSD=yes has to
584 be put in make.conf and device "usb4bsd" (quotes needed) has to
585 replace device usb in the kernel config. After that, a full
586 build/install/upgrade cycle is needed.
588 Note that this is experimental and incomplete, but we are interested
589 in hearing about issues with it, of course.
591 ISA SUPPORT REMOVED FROM AIC-6260/6360 DRIVER
592 ---------------------------------------------
594 ISA adapter support was dropped from the aic(4) driver.
596 +-----------------------------------------------------------------------+
597 +         UPGRADING DRAGONFLY FROM 2.10 TO LATER VERSIONS               +
598 +-----------------------------------------------------------------------+
600 SEVERAL ISA DRIVERS REMOVED
601 ---------------------------
603 The following ISA only drivers have been removed along with a couple of
604 associated userland tools:
606 aha(4)
607 asc(4) & sasc(1)
609 dgb(4)
610 el(4)
611 gpib
612 gsc(4) & sgsc(1)
613 ie(4)
614 labpc(4)
615 le(4)
616 mse(4)
617 rc(4)
618 rdp(4)
619 spigot
620 tw(4) & xten(1) & xtend(8)
621 wl(4) & wlconfig(8)
622 wt(4)
624 Note that two of these drivers (aha(4) and ie(4)) are in our GENERIC
625 config and one (aha(4)) is in our X86_64_GENERIC kernel configuration
626 file.
628 If buildkernel complains about any of these drivers, just remove them
629 from your kernel configuration.
631 BINUTILS 2.20
632 -------------
633 Binutils 2.20 has been removed in favor of Binutils 2.22.  The accepted
634 values of BINUTILSVERS are now binutils221 and binutils222 (default).
636 BUILDWORLD/-KERNEL PARALLELIZATION WORK
637 ---------------------------------------
638 Due to changes in the way we build with more than one make job, you
639 will have to update install(1) and mkdir(1) prior to buildworld if you
640 want to build with 'make -j':
642 cd /usr/src/usr.bin/xinstall; make; make install; make clean
643 cd /usr/src/bin/mkdir; make; make install; make clean
645 DMA(8) UPGRADE
646 --------------
647 dma(8) has been upgraded to v0.7 which no longer supports the
648 /etc/dma/virtusertable. Some of its functionality has been replaced
649 with the MASQUERADE keyword and the EMAIL environment variable (see
650 the dma(8) manual page).
652 +-----------------------------------------------------------------------+
653 +         UPGRADING DRAGONFLY FROM 2.8 TO LATER VERSIONS                +
654 +-----------------------------------------------------------------------+
656 GCC 4.4 & BINUTILS 2.21
657 -----------------------
659 GCC 4.4 has been made DragonFly's default compiler and Binutils 2.21 has
660 been made DragonFly's default Binutils.
662 That means that any settings that set CCVER to 'gcc44' are not needed
663 anymore. Instead, CCVER can be set to 'gcc41' to go back to using
664 GCC 4.1.
666 It also means that 'binutils221' as a value for BINUTILSVER has no
667 effect anymore. 2.17 has been removed and 'binutils220' is available
668 as an option.
670 The NO_GCC44 option has been removed and will not affect the build
671 anymore. There is now a NO_GCC41 option that will prevent GCC 4.1 from
672 building in a similar fashion.
674 Note that you must do a full buildworld/buildkernel for upgrading.
676 pkg_radd settings
677 -----------------
679 The config file for pkg_radd has moved from /etc/settings.conf to 
680 /etc/pkg_radd.conf.  Save the contents of settings.conf before upgrading
681 if this is needed.  This warning only applies if /etc/settings.conf 
682 exists.  pkg_radd will continue to work with defaults.
684 +-----------------------------------------------------------------------+
685 +         20100927                                                      +
686 +         UPGRADING DRAGONFLY FROM 2.6 to 2.8 or HEAD                   +
687 +-----------------------------------------------------------------------+
689 OpenSSL
690 --------
692 OpenSSL has been upgraded, and SHLIB_MAJOR was bumped for libssh and libcrypto.
693 This shouldn't break any 3rd-party software, but you'll need to recompile your
694 3rd-party software if you want it to link against the new version of OpenSSL.
696 Loader
697 -------
699 A new loader (dloader) has been added which better handles booting from
700 multiple kernel/module versions.
702 To upgrade (Only for this upgrade, for post 2.8 upgrades see GENERAL below)
704         cd /usr/src
705         make buildworld
706         make installworld
707         make upgrade
708         make buildkernel KERNCONF=<KERNELNAME>
709         make installkernel KERNCONF=<KERNELNAME>
711 Note that you must installworld and run the 'upgrade' target before
712 installing the new kernel.
714 BIND
715 -----
717 BIND has been removed from the base system.  The ldns and drill tools have 
718 been added for basic functionality.  Use 'drill' where you would normally 
719 use nslookup or dig, or install BIND from pkgsrc.  It's available as 
720 net/bind95, net/bind96, or net/bind97 as of this writing.
722 This only affects older systems upgrading to 2.8.  New 2.8+ installs 
723 include BIND as a pkgsrc package.
725 +-----------------------------------------------------------------------+
726 +         UPGRADING DRAGONFLY ON AN EXISTING DRAGONFLY SYSTEM           +
727 +                               GENERAL                                 +
728 +-----------------------------------------------------------------------+
730 Instructions on how to obtain and maintain DragonFly source code using git
731 are in the development(7) manual page.
733 To upgrade a DragonFly system from sources you run the following sequence:
735         cd /usr/src
736         make buildworld
737         make buildkernel KERNCONF=<KERNELNAME>
738         make installkernel KERNCONF=<KERNELNAME>
739         make installworld
741 You will also want to run the 'upgrade' target to upgrade your /etc and the
742 rest of your system.  The upgrade target is aware of stale files created by
743 older DragonFly installations and should delete them automatically.
745         make upgrade
747 See the build(7) manual page for further information.
749 Once you've done a full build of the world and kernel you can do incremental
750 upgrades of either by using the 'quickworld' and 'quickkernel' targets
751 instead of 'buildworld' and 'buildkernel'.  If you have any problems with
752 the quick targets, try updating your repo first, and then a full buildworld
753 and buildkernel as shown above, before asking for help.
755 +-----------------------------------------------------------------------+
756 +         UPGRADING FROM DRAGONFLY <= 2.0 TO DRAGONFLY >= 2.1           +
757 +-----------------------------------------------------------------------+
759 In 2.1 kernel and modules has moved to boot directory.  For most cases
760 this is handled automatically by 'make upgrade'.  A few cases needs manual
761 intervention:
763  * When installing a kernel without first doing a make buildworld,
764    installworld and upgrade to the same DESTDIR as kernel:
765    make DESTDIR/boot directory and move kernel and modules into this boot
766    directory; also move kernel.old and modules.old.
767    Typical example is vkernel(7), use (no modules used):
769         cd /var/vkernel
770         mkdir boot
771         chflags noschg kernel
772         mv kernel kernel.old boot
773         chflags schg boot/kernel
774         
775  * When using a boot-only partition, /boot/loader.rc needs to be edited:
776    delete occurrences of '/boot/'.
777    These occurences can normally be deleted in any case, see loader(8).
779 +-----------------------------------------------------------------------+
780 +         UPGRADING FROM DRAGONFLY <= 1.8 TO DRAGONFLY >= 1.9           +
781 +-----------------------------------------------------------------------+
783 In 1.9 major changes to the disk management infrastructure have taken
784 place.  make upgrade may not catch all of your disk devices in /dev,
785 so after upgrading be sure to cd /dev; ./MAKEDEV <blah> where <blah>
786 are all of your disk devices.  HOWEVER, from late 2.3 on we run devfs
787 and MAKEDEV no longer exists.
789 The biggest changes in 1.9 are:
791 (1) That whole-slice devices such as da0s1 no longer share the same device
792     id as partition c devices such as da0s1c.
794 (2) The whole-disk device (e.g. da0) is full raw access to the disk,
795     with no snooping or reserved sectors.  Consequently you cannot run
796     disklabel on this device.  Instead you must run disklabel on a
797     whole-slice device.
799 (3) The 'compatibility' partitions now use slice 0 in the device name,
800     so instead of da0a you must specify da0s0a.  Also, as per (1) above,
801     accessing the disklabel for the compatibility partitions must be
802     done via slice 0 (da0s0).
804 (4) Many device drivers that used to fake up labels, such as CD, ACD, VN,
805     and CCD now run through the disk management layer and are assigned
806     real disk management devices.   VN and CCD in particular do not usually
807     use a MBR and disklabels must be accessed through the compatibility
808     slice 0.  Your /etc/ccd.conf file still specifies 'ccd0', though, you
809     don't name it 'ccd0s0' in the config file.
811 Generally speaking, you have to get used to running fdisk and disklabel on
812 the correctly specified device names.  A lot of the wiggle, such as running
813 disklabel on a partition, has been removed.
815 +-----------------------------------------------------------------------+
816 +         UPGRADING FROM OLDER VERSIONS OF DRAGONFLY OR FREEBSD         +
817 +-----------------------------------------------------------------------+
819 > Kerberos IV
820 -------------
822 Kerberos IV (eBones) was removed from the tree, please consider moving to
823 Kerberos 5 (Heimdal).
825 > Package Management System
826 ---------------------------
828 Starting with the 1.4 release, DragonFly uses NetBSD's pkgsrc package
829 management system.  The necessary tools to build and maintain packages
830 are provided in /usr/pkg/bin and /usr/pkg/sbin.  Make sure that these
831 directories are in your PATH variable.
833 In order to obtain a reasonably current snapshot of the pkgsrc tree, use
834 the tarball from NetBSD:
836         fetch -o /tmp/pkgsrc.tar.gz ftp://ftp.NetBSD.org/pub/NetBSD/packages/pkgsrc.tar.gz
837         cd /usr; tar -xzf /tmp/pkgsrc.tar.gz; chown -R root:wheel pkgsrc
839 This tree can then be kept up to date with cvs update:
841         cd /usr/pkgsrc; cvs up
843 NOTE! If you upgraded from a pre-1.4 system to 1.4 or later, you need to
844 build and install the pkgsrc bootstrap manually:
846         cd /usr/pkgsrc/bootstrap
847         ./bootstrap --pkgdbdir /var/db/pkg --prefix /usr/pkg
849 +-----------------------------------------------------------------------+
850 +         UPGRADING DRAGONFLY ON AN EXISTING DRAGONFLY SYSTEM           +
851 +         UPDATING FROM PRE-1.2 SYSTEMS OR FreeBSD 4.x TO               +
852 +         DRAGONFLY 1.3+ (EITHER PREVIEW or HEAD)                       +
853 +-----------------------------------------------------------------------+
855 The compatibility shims for the build environment have been removed, you
856 have to update to DragonFly 1.2 release branch first.
858 The default PAM configuration has moved from /etc/pam.conf to /etc/pam.d/.
859 The existing configuration can be converted using /etc/pam.d/convert.sh.
860 Entries in /etc/pam.d/ override entries in /etc/pam.conf. In addition
861 the pam_skey.so module was retired, you have to remove it manually from
862 your configuration, when you convert it.
864 > Required user and group IDs when upgrading from either FreeBSD or DragonFly
865 ---------------------
867 The following users may be missing from your password file.  Use vipw and
868 add any that are missing:
870 smmsp:*:25:25::0:0:Sendmail Submission User:/var/spool/clientmqueue:/sbin/nologin
871 _pflogd:*:64:64::0:0:pflogd privsep user:/var/empty:/sbin/nologin
873 The following groups may be missing from your group file.  Use vi /etc/group
874 and add any that are missing:
876 smmsp:*:25:
877 authpf:*:63:
878 _pflogd:*:64:
881 > Upgrading to DragonFly from FreeBSD
882 ---------------------
884 You can build the DragonFly world and DragonFly kernels on a FreeBSD-4.x or
885 FreeBSD-5.x machine and then install DragonFly over FreeBSD, replacing
886 FreeBSD.  Note that the DragonFly buildworld target does not try to reuse
887 make depend information, it starts from scratch, so no pre-cleaning of the
888 object hierarchy is necessary.
890         # get the CVS repository (it is placed in /home/dcvs, 500MB).
891         # Please use the -h option and a mirror site to pull the 
892         # initial repository, but feel free to use the main repository
893         # machine to pull updates.
894         cvsup /usr/share/examples/cvsup/DragonFly-cvs-supfile
895         # install the source from the CVS hierarchy (remove preexisting
896         # FreeBSD src first) (500MB)
897         cd /usr
898         rm -rf src
899         cvs -R -d /home/dcvs checkout -P src
901         # build it (500MB used in /usr/obj)
902         #
903         cd /usr/src
904         make buildworld
905         make buildkernel KERNCONF=<KERNELNAME>
907 Once you have built DragonFly you have to install it over FreeBSD.  Since
908 DragonFly does not track changes made by FreeBSD to its include file 
909 hierarchy and include file pollution can cause all sorts of unexpected
910 compilation issues to come up, it is best to wipe your include hierarchy
911 prior to installing DragonFly.  Note that you should not wipe any installed
912 FreeBSD header files or binaries until after you have successfully completed
913 the build steps above.
915         rm -rf /usr/include
916         mkdir /usr/include
917         make installkernel KERNCONF=<KERNELNAME>
918         make installworld
920 Then you need to upgrade your system.  DragonFly's 'make upgrade' target 
921 will unconditionally upgrade the /etc files that sysops do not usually
922 mess around with, such as the files in /etc/rc.d.  It will also remove any
923 obsolete files such as utilities and manpages that have been removed from
924 the system since the version you're coming from.  If you are unsure we 
925 recommend that you make a backup of at least your /etc before applying
926 this step.  Note that DragonFly's RC system is basically RCNG from
927 FreeBSD-5, but there are some differences in the contents of the RC files.
929         make upgrade
931 NOTE! Never do a 'make upgrade' before 'make installworld' has been run.
932 Doing so might leave your system in an unusable state.
934 Finally we recommend that you do an 'ls -lta BLAH' for /bin, /sbin, /usr/bin,
935 /usr/bin, and /usr/lib, and remove any stale files that you find.  Please
936 report these files to the DragonFly developers so that they can be added to
937 the 'upgrade' target.