xref: /dflybsd-src/UPDATING (revision 08f7a79f8fe88d8a4bcf1ee316fdbed5c261c445)
1d2a0deccSMatthew Dillon# Updating Information for DragonFly users.
2d2a0deccSMatthew Dillon#
3d2a0deccSMatthew Dillon#
4d2a0deccSMatthew Dillon# This file should warn you of any pitfalls which you might need to work around
5d2a0deccSMatthew Dillon# when trying to update your DragonFly system.  The information below is
6d2a0deccSMatthew Dillon# in reverse-time order, with the latest information at the top.
7d2a0deccSMatthew Dillon#
8d2a0deccSMatthew Dillon# If you discover any problem, please contact the bugs@lists.dragonflybsd.org
9d2a0deccSMatthew Dillon# mailing list with the details.
10984263bcSMatthew Dillon
1164aeb497SSascha Wildner+-----------------------------------------------------------------------+
12ae75c143SSascha Wildner+         UPGRADING DRAGONFLY FROM 6.0 TO LATER VERSIONS                +
13ae75c143SSascha Wildner+-----------------------------------------------------------------------+
14ae75c143SSascha Wildner
15*08f7a79fSSascha WildnerA.OUT AND GZIPPED A.OUT EXECUTABLE SUPPORT REMOVED
16*08f7a79fSSascha Wildner--------------------------------------------------
17*08f7a79fSSascha Wildner
18*08f7a79fSSascha WildnerThese have not been useful for a long time, if ever.
19*08f7a79fSSascha Wildner
20c719bfedSSascha WildnerACPI_NO_SEMAPHORES OPTION REMOVED
21c719bfedSSascha Wildner---------------------------------
22c719bfedSSascha Wildner
23c719bfedSSascha WildnerThe ACPI_NO_SEMAPHORES kernel configuration option has been removed. It
24c719bfedSSascha Wildnerwas never part of our default kernel config.
25c719bfedSSascha Wildner
26ae75c143SSascha WildnerNDIS DRIVER REMOVED
27ae75c143SSascha Wildner-------------------
28ae75c143SSascha Wildner
29ae75c143SSascha WildnerThe ndis(4) driver has been removed. The NDISAPI kernel option has been
30ae75c143SSascha Wildnermade a no-op and will be removed at a later point in time. Users with a
31ae75c143SSascha Wildnercustom kernel configuration can remove this option from it now.
32ae75c143SSascha Wildner
33ae75c143SSascha Wildner+-----------------------------------------------------------------------+
34c0af9a0dSzrj+         UPGRADING DRAGONFLY FROM 5.6 TO LATER VERSIONS                +
35c0af9a0dSzrj+-----------------------------------------------------------------------+
36c0af9a0dSzrj
37628f4db5SzrjBINUTILS 2.34 REPLACES 2.25, PRIMARY
38628f4db5Szrj------------------------------------
39628f4db5Szrj
40628f4db5SzrjThe oldest of the two versions of Binutils, version 2.25, was removed
41628f4db5Szrjand replaced with Binutils 2.34.  It becomes the primary version of
42628f4db5Szrjbinutils and version 2.27 becomes the alternate.
43628f4db5Szrj
44628f4db5SzrjThe accepted values of BINUTILSVER are now "binutils234" (default) and
45628f4db5Szrj"binutils227".  The building of Binutils 2.27 can be prevented by setting
46628f4db5SzrjNO_ALTBINUTILS=yes in make.conf
47628f4db5Szrj
48a0f1cde0SzrjLIBRADIUS AND LIBTACPLUS REMOVED
49a0f1cde0Szrj--------------------------------
50a0f1cde0Szrj
51a0f1cde0SzrjBoth libraries have been moved from base to DPorts net/ category.
52a0f1cde0Szrj
53b8bfb053SzrjPAM_SSH MODULE REMOVED
54b8bfb053Szrj----------------------
55b8bfb053Szrj
56b8bfb053SzrjThe pam_ssh(8) have been removed from base to DPorts security/pam_ssh.
57b8bfb053Szrj
58e2e9821dSSascha WildnerUTMP LEGACY API REMOVED
59e2e9821dSSascha Wildner-----------------------
60e2e9821dSSascha Wildner
61e2e9821dSSascha WildnerThe legacy "utmp" API (getutent() and friends, utmp.h, etc.) has been
62e2e9821dSSascha Wildnerremoved, and we are now using the POSIX "utmpx" API (getutxent(),
63e2e9821dSSascha Wildnerutmpx.h, etc.) only. The most visible change for users is that the
64e2e9821dSSascha Wildner/var/log/wtmp file will no longer be written to, just /var/log/wtmpx.
65e2e9821dSSascha WildnerThe wtmpcvt(1) utility is provided to convert old wtmp format files to
66e2e9821dSSascha Wildnerwtmpx.
67e2e9821dSSascha Wildner
68e2e9821dSSascha WildnerTo not break old applications, the utmp symbols are still provided by
69e2e9821dSSascha Wildnerlibc as dummy functions that do nothing and always succeed.
70e2e9821dSSascha Wildner
71b2223336SSascha WildnerTIMED AND TIMEDC REMOVED
72b2223336SSascha Wildner------------------------
73b2223336SSascha Wildner
74b2223336SSascha Wildnertimed(8) and timedc(8) have been removed because they are beyond
75b2223336SSascha Wildnerobsolete for setting the time.
76b2223336SSascha Wildner
77c0af9a0dSzrjLIBOPIE, LIBMD REMOVED
78c0af9a0dSzrj----------------------
79c0af9a0dSzrj
80c0af9a0dSzrjRemoval of OPIE requires /etc/pam.d/ configs to be updated.
81c0af9a0dSzrj
82c0af9a0dSzrj+-----------------------------------------------------------------------+
835c1170ceSSascha Wildner+         UPGRADING DRAGONFLY FROM 5.4 TO LATER VERSIONS                +
845c1170ceSSascha Wildner+-----------------------------------------------------------------------+
855c1170ceSSascha Wildner
8692a42612SzrjGCC50 REMOVED
8792a42612Szrj-------------
8892a42612Szrj
8992a42612SzrjThe GCC50 compiler has been retired.  It has been replaced by a GCC80.
9092a42612SzrjThe default alternative compiler has stayed the same - GCC47.
9192a42612Szrj
9292a42612Szrj
93ee3ebee6SSascha WildnerPUFFS, PUTTER AND LIBREFUSE REMOVED
94ee3ebee6SSascha Wildner-----------------------------------
95ee3ebee6SSascha Wildner
96ee3ebee6SSascha WildnerThe puffs(4)/putter(4) subsystem has been removed, along with librefuse,
97ee3ebee6SSascha Wildnerlibpuffs, and the mount_psshfs(8) utility. All of these have never been
98ee3ebee6SSascha Wildnerworking correctly.
99ee3ebee6SSascha Wildner
1005c1170ceSSascha WildnerFFS_ROOT OPTION REMOVED
1015c1170ceSSascha Wildner-----------------------
1025c1170ceSSascha Wildner
1035c1170ceSSascha WildnerThe FFS_ROOT kernel configuration option has been finally removed, after
1045c1170ceSSascha Wildnerhaving been a no-op since 4.9. That means users using a custom kernel
1055c1170ceSSascha Wildnerconfiguration file that still contains it need to remove the option from
1065c1170ceSSascha Wildnerthat file.
1075c1170ceSSascha Wildner
1085c1170ceSSascha Wildner+-----------------------------------------------------------------------+
1096ffa2848SSascha Wildner+         UPGRADING DRAGONFLY FROM 5.2 TO LATER VERSIONS                +
110d9d67b59SSascha Wildner+-----------------------------------------------------------------------+
111d9d67b59SSascha Wildner
112c585ae0fSSascha WildnerDIGI, RP AND SI DRIVERS REMOVED
113c585ae0fSSascha Wildner-------------------------------
114c585ae0fSSascha Wildner
115c585ae0fSSascha WildnerThe digi(4), rp(4) and si(4) serial drivers have been removed. None of
116c585ae0fSSascha Wildnerthem were in our default kernel configuration file. The sicontrol(8)
117c585ae0fSSascha Wildnerutility was removed, too.
118c585ae0fSSascha Wildner
119e79a303fSAaron LIMKINITRD COMMAND REMOVED
120e79a303fSAaron LI------------------------
121e79a303fSAaron LI
122e79a303fSAaron LIThe mkinitrd(8) command is removed and its functionality is replaced by
123e79a303fSAaron LIthe new "initrd" make target.  After rebooting into the new world and
124e79a303fSAaron LIverifying everything works, execute "make initrd" to upgrade the rescue
125e79a303fSAaron LItools and initrd image.
126e79a303fSAaron LI
127755d70b8SSascha WildnerIPSEC, IPSEC_ESP AND IPSEC_DEBUG REMOVED FROM VKERNEL64 CONFIG
128755d70b8SSascha Wildner--------------------------------------------------------------
129755d70b8SSascha Wildner
130755d70b8SSascha WildnerIPsec has been removed from the system. Of our standard kernel
131755d70b8SSascha Wildnerconfigurations, only the virtual kernel one had it. People running
132755d70b8SSascha Wildnervkernels with configuration files derived from our VKERNEL64 will
133755d70b8SSascha Wildnerhave to remove these options manually.
134755d70b8SSascha Wildner
1356ffa2848SSascha Wildner+-----------------------------------------------------------------------+
1366ffa2848SSascha Wildner+         UPGRADING DRAGONFLY FROM 5.0 TO LATER VERSIONS                +
1376ffa2848SSascha Wildner+-----------------------------------------------------------------------+
1386ffa2848SSascha Wildner
139c07d5880SSascha WildnerVIRTIO_PCI REMOVED FROM KERNEL CONFIG
140c07d5880SSascha Wildner-------------------------------------
141c07d5880SSascha Wildner
142c07d5880SSascha WildnerThe "device virtio_pci" line in X86_64_GENERIC has been removed. People
143c07d5880SSascha Wildnerwith configuration files derived from it have to remove it manually.
144c07d5880SSascha Wildner
1452458c6f4SSascha WildnerVARIOUS 'R' COMMANDS AND DAEMONS REMOVED
1462458c6f4SSascha Wildner----------------------------------------
1472458c6f4SSascha Wildner
1482458c6f4SSascha Wildnerrcp(1), rlogin(1), rlogind(8), rsh(1) and rshd(8) have been removed.
1492458c6f4SSascha WildnerFor those that still need them, there is the net/bsdrcmds port.
1502458c6f4SSascha Wildner
151a26d33cfSSascha WildnerVARIOUS FORMER OPTIONS REMOVED
152a26d33cfSSascha Wildner------------------------------
153a26d33cfSSascha Wildner
154a26d33cfSSascha WildnerVarious former kernel configuration options which had been no-ops for
155a26d33cfSSascha Wildnersome time were completely removed: SYSVMSG, SYSVSEM, SYSVSHM, P1003_1B,
156a26d33cfSSascha Wildner_KPOSIX_VERSION and DSCHED_FQ. Users that have any of these still in
157a26d33cfSSascha Wildnertheir kernel configuration files have to remove them.
158a26d33cfSSascha Wildner
159a90cc0c2SzrjBOOTSTRAPPING LIMITED FROM PRE 4.4
160a90cc0c2Szrj----------------------------------
161a90cc0c2Szrj
162a90cc0c2SzrjUpgrading to 5.1 and later versions now require at least 4.4 in
163a90cc0c2Szrjpreparations for upcoming base compilers updates.
164a90cc0c2Szrj
16506937ef9SSascha WildnerIF_PPP, PPPD, IF_FAITH, AND FAITHD REMOVED
16606937ef9SSascha Wildner------------------------------------------
167a90cc0c2Szrj
16806937ef9SSascha Wildnerif_ppp has been replaced by "user ppp", i.e. ppp(8) and tun(4). It had
169d9d67b59SSascha Wildneralready been removed from our default kernel configuration before 5.0,
170d9d67b59SSascha Wildnerso only people with custom configurations based on earlier X86_64_GENERIC
171d9d67b59SSascha Wildnerwill have to remove it manually.
172d9d67b59SSascha Wildner
17306937ef9SSascha WildnerThe faith(4) interface has been completely removed after it had also
17406937ef9SSascha Wildnerbeen removed from our default kernel configuration.
17506937ef9SSascha Wildner
176d9d67b59SSascha Wildner+-----------------------------------------------------------------------+
1771b2d852eSSascha Wildner+         UPGRADING DRAGONFLY FROM 4.8 TO LATER VERSIONS                +
1781b2d852eSSascha Wildner+-----------------------------------------------------------------------+
1791b2d852eSSascha Wildner
1801b2d852eSSascha WildnerFFS_ROOT OPTION DISABLED
1811b2d852eSSascha Wildner------------------------
1821b2d852eSSascha Wildner
1831b2d852eSSascha WildnerThe FFS_ROOT option has been made a no-op and will be completely removed
1841b2d852eSSascha Wildnerat some point in the future. Users with a custom kernel configuration
1851b2d852eSSascha Wildnercan remove this option from it now.
1861b2d852eSSascha Wildner
1871b2d852eSSascha Wildner+-----------------------------------------------------------------------+
1883522bdfeSSascha Wildner+         UPGRADING DRAGONFLY FROM 4.6 TO LATER VERSIONS                +
1893522bdfeSSascha Wildner+-----------------------------------------------------------------------+
1903522bdfeSSascha Wildner
1914d6bb23eSJustin C. SherrillDSA OPENSSH KEYS DEPRECATED
1924d6bb23eSJustin C. Sherrill---------------------------
1934d6bb23eSJustin C. Sherrill
1944d6bb23eSJustin C. SherrillNote that DSA OpenSSH keys were deprecated in the 4.6 to 4.8 release.
1954d6bb23eSJustin C. SherrillIf you are upgrading from a release older than 4.8 and use DSA OpenSSH
1964d6bb23eSJustin C. Sherrillkeys, please update your private/public key pair or risk locking
1974d6bb23eSJustin C. Sherrillyourself out.
1984d6bb23eSJustin C. Sherrill
1997efec73eSSascha WildnerAHC, AHD, AIC, NCV, NSP AND STG DRIVERS REMOVED
2007efec73eSSascha Wildner-----------------------------------------------
2019ef43fc3SSascha Wildner
2027efec73eSSascha WildnerThey were all in our X86_64_GENERIC kernel configuration file, along with
2037efec73eSSascha Wildnerthe AHC_REG_PRETTY_PRINT and AHD_REG_PRETTY_PRINT options, so any custom
2047efec73eSSascha Wildnerconfiguration files derived from it need adjustment.
2059ef43fc3SSascha Wildner
206be813d7aSSascha WildnerPORTAL FILE SYSTEM REMOVED
207be813d7aSSascha Wildner--------------------------
208be813d7aSSascha Wildner
209be813d7aSSascha WildnerIt has been broken for a long time now.
210be813d7aSSascha Wildner
2115cc5a38cSzrjBINUTILS 2.27 REPLACES 2.24, PRIMARY
2125cc5a38cSzrj------------------------------------
2135cc5a38cSzrj
2145cc5a38cSzrjThe oldest of the two versions of Binutils, version 2.24, was removed
2155cc5a38cSzrjand replaced with Binutils 2.27.  It becomes the primary version version
2165cc5a38cSzrjof binutils and version 2.25 becomes the alternate.
2175cc5a38cSzrj
2185cc5a38cSzrjThe accepted values of BINUTILSVER are now "binutils227" (default) and
2195cc5a38cSzrj"binutils225".  The building of Binutils 2.25 can be prevented by setting
2205cc5a38cSzrjNO_ALTBINUTILS=yes in make.conf.
2215cc5a38cSzrj
222d6e8ab2dSSascha WildnerCOMPAT_43 KERNEL OPTION REMOVED
223d6e8ab2dSSascha Wildner-------------------------------
224d6e8ab2dSSascha Wildner
225d6e8ab2dSSascha WildnerIt was commented out in our default configs for several years now, but
226d6e8ab2dSSascha Wildnermight still be present in custom configs created before Nov. 2011.
227d6e8ab2dSSascha Wildner
228adfb2c71SJohn MarinoOPENSSL REMOVED
229adfb2c71SJohn Marino---------------
230adfb2c71SJohn Marino
231adfb2c71SJohn MarinoOpenSSL has been removed from base and replaced with a private version of
232adfb2c71SJohn MarinoLibreSSL.  The previously installed OpenSSL libraries, headers, and man
233adfb2c71SJohn Marinopages will remain on the system unless the "make upgrade" command is
234adfb2c71SJohn Marinospecifically instructed to remove them.  To do this, define
235adfb2c71SJohn MarinoREMOVE_OPENSSL_FILES for the upgrade command, e.g.
236adfb2c71SJohn Marino"make upgrade REMOVE_OPENSSL_FILES=yes"
237adfb2c71SJohn Marino
2385b245968SMatthew Dillon28-Oct-2016: openssl has been replaced by ressl.  It is recommended that any
2395b245968SMatthew Dillonstale OpenSSL files be removed to avoid configuration scripts from using
2405b245968SMatthew Dillonthe stale and potentially vulnerable version, but all binaries that are
2415b245968SMatthew Dillondynamically linked to the OpenSSL libraries should be rebuilt first to
2425b245968SMatthew Dillonavoid breakage.
243adfb2c71SJohn Marino
2449682bad8SThomas NikolajsenOPENSSH HPN REMOVED
2459682bad8SThomas Nikolajsen-------------------
2469682bad8SThomas Nikolajsen
2479682bad8SThomas NikolajsenIt has become too cumbersome to maintain HPN patches in OpenSSH in base.
2489682bad8SThomas NikolajsenTo use OpenSSH in base remove HPN config, if you have added it.
2499682bad8SThomas NikolajsenCheck files below for HPN config, see a few lines below.
2509682bad8SThomas Nikolajsen  /etc/ssh/ssh_config, /etc/ssh/sshd_config, ~/.ssh/config
2519682bad8SThomas Nikolajsensshd(8) will fail to start if HPN config is used.
2529682bad8SThomas Nikolajsen
2539682bad8SThomas NikolajsenNOTE: HPN config in sshd_config will prohibit remote access to host using ssh.
2549682bad8SThomas Nikolajsen
2559682bad8SThomas NikolajsenHPN config:
2569682bad8SThomas NikolajsenHPNDisabled
2579682bad8SThomas NikolajsenHPNBufferSize
2589682bad8SThomas NikolajsenTcpRcvBuf
2599682bad8SThomas NikolajsenTcpRcvBufPoll
2609682bad8SThomas NikolajsenNoneEnabled
2619682bad8SThomas NikolajsenNoneSwitch
2629682bad8SThomas Nikolajsencipher MTR-AES-CTR
2639682bad8SThomas Nikolajsencipher NONE
2649682bad8SThomas Nikolajsen
2659682bad8SThomas NikolajsenOpenSSH HPN is a patch set to OpenSSH providing higher performance under some
2669682bad8SThomas Nikolajsencircumstances, especially for networking.
2679682bad8SThomas NikolajsenIf HPN functionality is needed, install security/openssh from dports.
2689682bad8SThomas Nikolajsen
269859c2e53SSascha WildnerCS, EX AND VX DRIVERS REMOVED
270859c2e53SSascha Wildner-----------------------------
2713522bdfeSSascha Wildner
272859c2e53SSascha WildnerThe cs(4), ex(4) and vx(4) drivers have been removed. They were very
273859c2e53SSascha Wildnerold and its doubtful they ever worked properly in x86_64 but they were
274859c2e53SSascha Wildnerin X86_64_GENERIC, so custom configurations derived from it have to be
2753a609f3dSSascha Wildneradjusted.
2763522bdfeSSascha Wildner
2773522bdfeSSascha Wildner+-----------------------------------------------------------------------+
27882aec1d3SFrançois Tigeot+         UPGRADING DRAGONFLY FROM 4.4 TO LATER VERSIONS                +
27982aec1d3SFrançois Tigeot+-----------------------------------------------------------------------+
28082aec1d3SFrançois Tigeot
281f1826c3eSSascha WildnerAMD REMOVED
282f1826c3eSSascha Wildner-----------
283f1826c3eSSascha Wildner
284f1826c3eSSascha WildnerThe am-utils automounter suite has been removed. It stopped working
285f1826c3eSSascha Wildnerat some point and was never fixed. autofs(5) and the associated
286f1826c3eSSascha Wildneruserland has been brought in from FreeBSD and replaces it.
287f1826c3eSSascha Wildner
288c222305fSSascha WildnerAN DRIVER REMOVED
289c222305fSSascha Wildner-----------------
290c222305fSSascha Wildner
291c222305fSSascha WildnerThe an(4) driver has been removed. It was in the X86_64_GENERIC kernel
292c222305fSSascha Wildnerconfig file, so any configurations derived from it have to be adjusted.
293c222305fSSascha Wildner
294c222305fSSascha Wildner/DEV/DRI GROUP CHANGED
295c222305fSSascha Wildner----------------------
29682aec1d3SFrançois Tigeot
29782aec1d3SFrançois TigeotThe default group assigned to /dev/dri entries has been changed
29882aec1d3SFrançois Tigeotfrom 'wheel' to 'video' with the id of '44'. If you want to have
29982aec1d3SFrançois Tigeotaccess to the dri devices please add yourself to the video group
30082aec1d3SFrançois Tigeotwith:
30182aec1d3SFrançois Tigeot
30282aec1d3SFrançois Tigeot# pw groupmod video -m $USER
30382aec1d3SFrançois Tigeot
30482aec1d3SFrançois Tigeot+-----------------------------------------------------------------------+
305dbf3d3baSJohn Marino+         UPGRADING DRAGONFLY FROM 4.2 TO LATER VERSIONS                +
306dbf3d3baSJohn Marino+-----------------------------------------------------------------------+
307dbf3d3baSJohn Marino
30854af9d02SSascha WildnerDSCHED REMOVED
30954af9d02SSascha Wildner--------------
31054af9d02SSascha Wildner
31154af9d02SSascha Wildnerdsched(4) has been removed and one of its kernel options, DSCHED_FQ, was
31254af9d02SSascha Wildnerin our default kernel config file. So the DSCHED_FQ option has been turned
31354af9d02SSascha Wildnerinto a no-op for now and can be removed from custom configurations.
31454af9d02SSascha Wildner
31568ef81edSSascha WildnerEST DRIVER REMOVED, COMPILE_ET AND LIBCOM_ERR TOO
31668ef81edSSascha Wildner-------------------------------------------------
31768ef81edSSascha Wildner
31868ef81edSSascha WildnerThe est(4) driver has been removed. All CPUs it supported (except one)
31968ef81edSSascha Wildnerwere 32 bits only. Those who are still using the Core 2 Duo T7500 should
32068ef81edSSascha Wildnerreport back if there are any issues with this CPU and our regular ACPI
32168ef81edSSascha WildnerP-state support.
32268ef81edSSascha Wildner
32368ef81edSSascha WildnerAlso, compile_et(1) and com_err(3) have been removed as well. They
32468ef81edSSascha Wildnershould have been removed along with kerberos support, back in 2009.
32568ef81edSSascha Wildner
326dbf3d3baSJohn MarinoSEVERAL LOCALES RENAMED
327dbf3d3baSJohn Marino-----------------------
328dbf3d3baSJohn Marino
329dbf3d3baSJohn MarinoSeveral locales were using obsolete and misleading names, and thus have
330dbf3d3baSJohn Marinobeen adjusted to current standards. Any users of the following locales
331dbf3d3baSJohn Marinoneed to select alternates:
332dbf3d3baSJohn Marino
333dbf3d3baSJohn MarinoDFLY 4.2 locale            DFLY 4.4 alterative locale
334dbf3d3baSJohn Marino---------------            ------------------------------------
335dbf3d3baSJohn Marinomn_MN.UTF-8                mn_Cyrl_MN.UTF-8
336dbf3d3baSJohn Marinono_NO.UTF-8                nb_NO.UTF-8      or nn_NO.UTF-8
337dbf3d3baSJohn Marinono_NO.ISO8859-1            nb_NO.ISO8869-1  or nn_NO.ISO8859-1
338dbf3d3baSJohn Marinono_NO.ISO8859-15           nb_NO.ISO8859-15 or nn_NO.ISO8859-15
339dbf3d3baSJohn Marinosr_YU.UTF-8                sr_Cyrl_RS.UTF-8 or sr_Latn_RS.UTF-8
340dbf3d3baSJohn Marinosr_YU.ISO8859-5            sr_Cyrl_RS.ISO8859-5
341dbf3d3baSJohn Marinosr_YU.ISO8859-2            sr_Latn_RS.ISO8859-2
342dbf3d3baSJohn Marinozh_CN.GBK                  zh_Hans_CN.GBK
343dbf3d3baSJohn Marinozh_CN.UTF-8                zh_Hans_CN.UTF-8
344dbf3d3baSJohn Marinozh_CN.eucCN                zh_Hans_CN.eucCN
345dbf3d3baSJohn Marinozh_CN.GB2312               zh_Hans_CH.GB2312
346dbf3d3baSJohn Marinozh_CN.GB18030              zh_Hans_CH.GB18030
347dbf3d3baSJohn Marinozh_HK.Big5HKSCS            zh_Hant_HK.Big5HKSCS
348dbf3d3baSJohn Marinozh_HK.UTF_8                zh_Hant_HK.UTF-8
349dbf3d3baSJohn Marinozh_TW.Big5                 zh_Hant_TW.Big5
350dbf3d3baSJohn Marinozh_TW.UTF-8                zh_Hant_TW.UTF-8
351dbf3d3baSJohn Marino
352dbf3d3baSJohn Marino+-----------------------------------------------------------------------+
3532a617999SSascha Wildner+         UPGRADING DRAGONFLY FROM 4.0 TO LATER VERSIONS                +
3542a617999SSascha Wildner+-----------------------------------------------------------------------+
3552a617999SSascha Wildner
35665c3b857SJohn MarinoBINUTILS 2.25 REPLACES 2.22, PRIMARY
35765c3b857SJohn Marino------------------------------------
35865c3b857SJohn Marino
35965c3b857SJohn MarinoThe oldest of the two versions of Binutils, version 2.22, was removed
36065c3b857SJohn Marinoand replaced with Binutils 2.25.  It becomes the primary version version
36165c3b857SJohn Marinoof binutils and version 2.24 becomes the alternate.  There are 8 current
36265c3b857SJohn MarinoCVE written against 2.24, so for security reasons version 2.25 should
36365c3b857SJohn Marinoalways be used.
36465c3b857SJohn Marino
36565c3b857SJohn MarinoThe accepted values of BINUTILSVER are now "binutils225" (default) and
36665c3b857SJohn Marino"binutils224".  The building of Binutils 2.24 can be prevented by setting
36765c3b857SJohn MarinoNO_ALTBINUTILS=yes in make.conf.
36865c3b857SJohn Marino
36972b78560SJohn MarinoLOADER OPTIONS CHANGED
37072b78560SJohn Marino----------------------
37172b78560SJohn Marino
37272b78560SJohn MarinoRight after the development branch started, the Fred art accompanying the
37372b78560SJohn Marinoloader menu was improved.  The line between Fred and the menu was removed
37472b78560SJohn Marinoby default (but can optionally be returned) and the placement shifted as
37572b78560SJohn Marinoa result.  The drawing was improved, and the colored version was improved,
37672b78560SJohn Marinochanging the eyes and wing color from white to red.  A new color version
37772b78560SJohn Marinoof Fred was added, one with a blue scheme.
37872b78560SJohn Marino
37972b78560SJohn MarinoThe loader menu defaults have changed since release 4.0:  The vertical
38072b78560SJohn Marinoline was removed, the loader is displayed in color by default*, and the
38172b78560SJohn Marinoblue scheme is used.
38272b78560SJohn Marino
38372b78560SJohn MarinoThe loader.conf changes are:
38472b78560SJohn Marinoloader_color:   option has been removed
38572b78560SJohn Marinoloader_plain:   option has been added, it changed menu to monochrome
38672b78560SJohn Marinofred_is_red:    changes color scheme from blue to red
38772b78560SJohn Marinofred_is_blue:   option existed only on 4.1, it has been removed
38872b78560SJohn Marinofred_separated: Adds line between Fred and menu (as seen previously)
38972b78560SJohn Marino
39072b78560SJohn Marino* If loader.conf defines "console" as "comconsole" or "console" is defined
39172b78560SJohn Marino  in the environment as "comconsole" then color will not be displayed,
39272b78560SJohn Marino  even if loader_plain value is "NO".
39372b78560SJohn Marino
394cbab4ab1SJohn MarinoSENDMAIL REMOVED FROM BASE
395cbab4ab1SJohn Marino--------------------------
396cbab4ab1SJohn Marino
397cbab4ab1SJohn MarinoThe only Mail Transfer Agent provided now is DragonFly Mail Agent (dma).
398cbab4ab1SJohn MarinoIf the system being upgraded is still configured to use the sendmail
399cbab4ab1SJohn Marinobinaries from base, the "make upgrade" command will fail.
400cbab4ab1SJohn Marino
401cbab4ab1SJohn MarinoThe administrator must change /etc/mail/mailer.conf to switch the
402cbab4ab1SJohn Marinomailwrapper to dma or a DPorts-based MTA prior to running the upgrade
403cbab4ab1SJohn Marinocommand that permanently removes sendmail executables and could
404cbab4ab1SJohn Marinopotentially break a running mail server.
405cbab4ab1SJohn Marino
406cbab4ab1SJohn MarinoRefer: http://www.dragonflybsd.com/docs/docs/newhandbook/mta/ for
407cbab4ab1SJohn Marinodetailed instructions on how to configure the MTA selection.
408cbab4ab1SJohn Marino
409a7ac1ee9SSascha Wildner_KPOSIX_VERSION and P1003_1B OPTIONS REMOVED
410a7ac1ee9SSascha Wildner--------------------------------------------
411a7ac1ee9SSascha Wildner
412a7ac1ee9SSascha WildnerThe _KPOSIX_VERSION and P1003_1B kernel options have been changed to
413a7ac1ee9SSascha Wildnerno-ops. They can be removed from custom kernel configurations.
414a7ac1ee9SSascha Wildner
415aa7c3d6bSFrançois TigeotSOUND SYSTEM UPDATED FROM FreeBSD 11-CURRENT
416aa7c3d6bSFrançois Tigeot--------------------------------------------
417aa7c3d6bSFrançois Tigeot
418aa7c3d6bSFrançois TigeotMany more sound devices may be detected.
419aa7c3d6bSFrançois Tigeot
420bbb35c81SSascha WildnerIf the default device chosen isn't to your liking, setting the sysctl
421aa7c3d6bSFrançois Tigeothw.snd.default_unit to a different number will change it.
422aa7c3d6bSFrançois Tigeot
42360a260adSSascha WildnerSCTP SUPPORT DROPPED
42460a260adSSascha Wildner--------------------
42560a260adSSascha Wildner
42660a260adSSascha WildnerSupport for the SCTP protocol has been removed.
42760a260adSSascha Wildner
4282a617999SSascha WildnerOLD USB DRIVERS REMOVED
4292a617999SSascha Wildner-----------------------
4302a617999SSascha Wildner
4312a617999SSascha WildnerThe old USB stack, along with the kernel config option "device oldusb"
4322a617999SSascha Wildnerand the make.conf variable "WANT_OLDUSB" have been removed. This means
4332a617999SSascha Wildnerthat for custom kernel configuration files which were derived from a
4342a617999SSascha WildnerGENERIC or X86_64_GENERIC file prior to making the usb4bsd stack default,
4352a617999SSascha Wildnervarious (old USB stack specific) devices will now complain about being
4362a617999SSascha Wildnerunknown:
4372a617999SSascha Wildner
4382a617999SSascha Wildner  * oldusb	(obviously)
4392a617999SSascha Wildner  * natausb	(not yet ported to usb4bsd)
4402a617999SSascha Wildner  * rue		(not yet ported to usb4bsd)
4412a617999SSascha Wildner  * ugen	(no longer needed in usb4bsd)
4422a617999SSascha Wildner  * urio	(not yet ported to usb4bsd)
4432a617999SSascha Wildner  * uscanner	(no longer needed in usb4bsd)
4442a617999SSascha Wildner
4452a617999SSascha WildnerThey should be removed or commented out in such custom kernel configs.
4462a617999SSascha Wildner
4474e8e707fSJohn MarinoGCC 5
4484e8e707fSJohn Marino-----
449e9b676f1SJohn Marino
4504e8e707fSJohn MarinoThe GCC 4.4 compiler has been retired.  It has been replaced by a GCC 5.1.
4514e8e707fSJohn MarinoThe following make.conf variables no longer work: NO_GCC44, NO_OBJC, and
4524e8e707fSJohn MarinoNO_CXX.  The latter was never documented and the latest versions of GCC are
4534e8e707fSJohn Marinopartially written in C++ so a C++ compiler is no longer optional.  In
4544e8e707fSJohn Marinopractical terms it has not been optional for many years as other base
4554e8e707fSJohn Marinocomponents are also written in C++.  The resource savings by avoiding
4564e8e707fSJohn Marinobuilding Objective-C compiler is so small, the complexity added by NO_OBJC
4574e8e707fSJohn Marinointernally was deemed a bad tradeoff so that is the reason for its removal.
4584e8e707fSJohn MarinoAlso note that no "info" pages are installed with GCC 5.  After this entry
4594e8e707fSJohn Marinowas originally written, all info pages were removed from DragonFly.
460e9b676f1SJohn Marino
4614e8e707fSJohn MarinoGCC 5.1 has been designated as the primary compiler.  As such, there is a
4624e8e707fSJohn Marinonew make.conf variable, NO_ALTCOMPILER.  It will block the rebuilding of
4634e8e707fSJohn Marinothe designated secondary compiler, GCC 4.7.  However, while DPorts
4644e8e707fSJohn Marinoprimarily uses GCC 5 to build ports now, it still uses GCC 4.7 as well, so
4654e8e707fSJohn Marinoif building ports from source is desired, don't block building of the
4664e8e707fSJohn Marinosecondary compiler.
467e9b676f1SJohn Marino
4682a617999SSascha Wildner+-----------------------------------------------------------------------+
4690055c35bSSascha Wildner+         UPGRADING DRAGONFLY FROM 3.8 TO LATER VERSIONS                +
4700055c35bSSascha Wildner+-----------------------------------------------------------------------+
4710055c35bSSascha Wildner
4722a617999SSascha WildnerSMP AND DEVICE_POLLING OPTIONS MADE UNKNOWN
47339b3e0a1SSascha Wildner-------------------------------------------
47439b3e0a1SSascha Wildner
47539b3e0a1SSascha WildnerDEVICE_POLLING was replaced by IFPOLL_ENABLE and the former SMP code is
47639b3e0a1SSascha Wildnerthe default now (even on single-core systems), both for, like, 21 months.
47739b3e0a1SSascha WildnerWe kept the options around as no-ops as a convenience, to allow people
47839b3e0a1SSascha Wildnerusing the same config for the then current release and the then current
47939b3e0a1SSascha Wildnermaster. That period is now over, so any configs still having those
48039b3e0a1SSascha Wildneroptions have to be adjusted.
48139b3e0a1SSascha Wildner
48210ceb702SSascha WildnerSYSVIPC SYSCALLS MADE NON-OPTIONAL
48310ceb702SSascha Wildner----------------------------------
48410ceb702SSascha Wildner
48510ceb702SSascha WildnerThe code related to the SYSVMSG, SYSVSEM and SYSVSHM kernel options is
48610ceb702SSascha Wildnernow compiled in by default. The options are no-ops for now.
48710ceb702SSascha Wildner
48879a3e83fSSascha WildnerDEFAULT DRIVER CHANGED FOR LSI "THUNDERBOLT" SERIES RAID CONTROLLERS
48979a3e83fSSascha Wildner--------------------------------------------------------------------
49079a3e83fSSascha Wildner
49179a3e83fSSascha WildnerThe default driver for those controllers is now mrsas(4) due to reports
49279a3e83fSSascha Wildnerof file system corruption using the mfi(4) driver. The whole issue (and
49379a3e83fSSascha Wildnerhow to deal with potential problems when switching) was explained here:
49479a3e83fSSascha Wildner
49579a3e83fSSascha Wildnerhttp://lists.dragonflybsd.org/pipermail/users/2014-July/128703.html
49679a3e83fSSascha Wildner
49779a3e83fSSascha WildnerA tunable is provided for letting those controllers still attach via
49879a3e83fSSascha Wildnerthe mfi(4) driver, hw.mrsas.mfi_enable (see mrsas(4) manual page).
49979a3e83fSSascha Wildner
5000055c35bSSascha WildnerOLDER NETWORK DRIVERS MOVED TO I386 ONLY
5010055c35bSSascha Wildner----------------------------------------
5020055c35bSSascha Wildner
5030055c35bSSascha WildnerThe following drivers have been made i386 only: ed(4), sr(4), ng_sync_ar
5040055c35bSSascha Wildnerand ng_sync_sr. ed(4) used to be in X86_64_GENERIC, so it has to be
5050055c35bSSascha Wildnerremoved in kernel configs derived from X86_64_GENERIC.
5060055c35bSSascha Wildner
5070055c35bSSascha Wildner+-----------------------------------------------------------------------+
50862d4130dSSascha Wildner+         UPGRADING DRAGONFLY FROM 3.6 TO LATER VERSIONS                +
509e19e3c77SSascha Wildner+-----------------------------------------------------------------------+
510e19e3c77SSascha Wildner
511a6a7c140SJustin C. SherrillUPDATE FROM MOST RECENT 3.6
512a6a7c140SJustin C. Sherrill---------------------------
513a6a7c140SJustin C. Sherrill
514a6a7c140SJustin C. SherrillVersions of 3.6 built before June 25th have a bug where installworld might
515a6a7c140SJustin C. Sherrillcrash during installation of the new initrd.  Upgrade to the latest version
516a6a7c140SJustin C. Sherrillof 3.6 before updating to 3.8 or later.
517a6a7c140SJustin C. Sherrill
5187c87aae6SSascha WildnerATM, IPX, NCP AND NWFS SUPPORT DROPPED
5197c87aae6SSascha Wildner--------------------------------------
5206f25d555SSascha Wildner
5216f25d555SSascha WildnerSupport for the IPX and NCP network protocols and for mouting NetWare
5227c87aae6SSascha Wildnerfile systems has been dropped. Dito for ATM protocol support.
5236f25d555SSascha Wildner
5246f25d555SSascha WildnerINITRD IMAGES NOW INSTALLED BY DEFAULT
5256f25d555SSascha Wildner--------------------------------------
5266f25d555SSascha Wildner
5276f25d555SSascha WildnerAn initial ramdisk image is now installed in /boot/kernel/initrd.img.gz
5286f25d555SSascha Wildner
5296f25d555SSascha WildnerOlder images installed under the file name of initrd.img will be removed
5306f25d555SSascha Wildnerautomatically by the make upgrade process.
5316f25d555SSascha Wildner
532f0478b8bSSascha WildnerUSB4BSD IS NOW THE DEFAULT USB STACK
533f0478b8bSSascha Wildner------------------------------------
534f0478b8bSSascha Wildner
535f0478b8bSSascha WildnerTo get back to the old stack, put "WANT_OLDUSB=yes" in /etc/make.conf and
536f0478b8bSSascha Wildnerreplace "device usb" with "device oldusb" in the kernel configuration.
537f0478b8bSSascha Wildner
538e19e3c77SSascha WildnerMORE ISA SUPPORT DROPPED
539e19e3c77SSascha Wildner------------------------
540e19e3c77SSascha Wildner
541e19e3c77SSascha WildnerISA support has been dropped from the following drivers: adv(4), an(4),
542e19e3c77SSascha Wildnerar(4), cs(4), digi(4), ed(4), ep(4), ex(4), fe(4), lnc(4), sbni(4),
543e19e3c77SSascha Wildnersi(4), sn(4), and stg(4).
544e19e3c77SSascha Wildner
545e19e3c77SSascha Wildner+-----------------------------------------------------------------------+
54662d4130dSSascha Wildner+         UPGRADING DRAGONFLY FROM 3.4 TO LATER VERSIONS                +
5479332798aSSascha Wildner+-----------------------------------------------------------------------+
5489332798aSSascha Wildner
549c04df145SJustin C. SherrillABI CHANGE
550c04df145SJustin C. Sherrill----------
551c04df145SJustin C. Sherrill
552c04df145SJustin C. SherrillInstalled third-party software (dports) will have to be rebuilt after upgrade,
553c04df145SJustin C. Sherrillor reinstalled from binary packages.
554c04df145SJustin C. Sherrill
5552b455b95SJustin C. SherrillUPDATING FROM 3.4 TO 3.6
5562b455b95SJustin C. Sherrill------------------------
5572b455b95SJustin C. Sherrill
5582b455b95SJustin C. SherrillThis only applies for this specific upgrade due to locale changes; it is
5592b455b95SJustin C. Sherrillnot needed for upgrades after 3.6.  Please update in this order:
5602b455b95SJustin C. Sherrill
5612b455b95SJustin C. Sherrillmake buildworld
5622b455b95SJustin C. Sherrillmake buildkernel
5632b455b95SJustin C. Sherrillmake installworld
5642b455b95SJustin C. Sherrillmake installkernel
5652b455b95SJustin C. Sherrill*reboot*
5662b455b95SJustin C. Sherrillmake upgrade
5672b455b95SJustin C. Sherrill
5682b455b95SJustin C. SherrillSee this mailing list post for details:
5692b455b95SJustin C. Sherrillhttp://lists.dragonflybsd.org/pipermail/users/2013-September/090163.html
5702b455b95SJustin C. Sherrill
5719332798aSSascha WildnerCYRIX OPTIONS REMOVED
5729332798aSSascha Wildner---------------------
5739332798aSSascha Wildner
5749332798aSSascha WildnerThe following Cyrix related options have been removed: CPU_BTB_EN,
5759332798aSSascha WildnerCPU_CYRIX_NO_LOCK, CPU_DIRECT_MAPPED_CACHE, CPU_DISABLE_5X86_LSSER,
5769332798aSSascha WildnerCPU_FASTER_5X86_FPU, CPU_IORT, CPU_LOOP_EN, CPU_RSTK_EN, CPU_SUSP_HLT,
5779332798aSSascha WildnerCYRIX_CACHE_WORKS, and CYRIX_CACHE_REALLY_WORKS
5789332798aSSascha Wildner
5799332798aSSascha WildnerISA SUPPORT REMOVED FROM RP(4)
5809332798aSSascha Wildner------------------------------
5819332798aSSascha Wildner
5829332798aSSascha WildnerISA support has been removed from the rp(4) driver. It is now PCI only.
5839332798aSSascha Wildner
5849332798aSSascha Wildner+-----------------------------------------------------------------------+
58562d4130dSSascha Wildner+         UPGRADING DRAGONFLY FROM 3.2 TO LATER VERSIONS                +
58664aeb497SSascha Wildner+-----------------------------------------------------------------------+
58764aeb497SSascha Wildner
588d88b9605SSascha WildnerCOMPAT_SUNOS OPTION REMOVED
589d88b9605SSascha Wildner---------------------------
590d88b9605SSascha Wildner
591d88b9605SSascha WildnerThe COMPAT_SUNOS option has been removed. It was meant to provide binary
592d88b9605SSascha Wildnercompatibility with SunOS 4.x for the sparc32 port of 4.4BSD.
593d88b9605SSascha Wildner
59443f215d7SSascha WildnerISA SOUND CARD SUPPORT REMOVED
59543f215d7SSascha Wildner------------------------------
59643f215d7SSascha Wildner
59743f215d7SSascha WildnerThe following modules have been removed (all for ISA sound cards):
59843f215d7SSascha Wildnersnd_ad1816.ko, snd_ess.ko, snd_mss.ko, snd_sb8.ko, snd_sb16.ko, snd_sbc.ko
59943f215d7SSascha Wildner
6006100d1deSJohn MarinoGCC 4.7
6016100d1deSJohn Marino-------
6026100d1deSJohn Marino
6036100d1deSJohn MarinoDragonFly has switched base compilers.  GCC 4.7 is now the default
6046100d1deSJohn Marinocompiler and GCC 4.4 is the alternative compiler.  The "NO_GCC47" make
6056100d1deSJohn Marinovariable ceases to work now.
6066100d1deSJohn Marino
6076100d1deSJohn MarinoUsers who wish to build only GCC 4.7 have to use NO_GCC44 in the
6086100d1deSJohn Marino/etc/make.conf to prohibit GCC 4.4 from building.  However, using it is
6096100d1deSJohn Marinohighly discouraged.  There are a few packages in pkgsrc that do not build
6106100d1deSJohn Marinowith GCC 4.7 and the new "DPorts" system uses GCC 4.4 by default.  At
6116100d1deSJohn Marinothis time, it is recommended to keep both compilers on the base system.
6126100d1deSJohn Marino
6132089bb7cSSascha WildnerSMP OPTION REMOVED
6142089bb7cSSascha Wildner------------------
6152089bb7cSSascha Wildner
6162089bb7cSSascha WildnerThe SMP kernel option has been made a no-op. All kernels now feature SMP
6172089bb7cSSascha Wildnersupport. If you have 'options SMP' in your kernel config, you can as well
6182089bb7cSSascha Wildnerremove it.
6192089bb7cSSascha Wildner
6201c297ed0SSascha WildnerDEVICE_POLLING OPTION REPLACED BY IFPOLL_ENABLE OPTION, KTR_POLLING REMOVED
6211c297ed0SSascha Wildner---------------------------------------------------------------------------
622640dc18fSSepherosa Ziehau
623640dc18fSSepherosa ZiehauThe DEVICE_POLLING kernel option has been made a no-op and it has been
624640dc18fSSepherosa Ziehaureplaced by IFPOLL_ENABLE.  If you have 'options DEVICE_POLLING' in your
625640dc18fSSepherosa Ziehaukernel config, you need to change it to IFPOLL_ENABLE.
626640dc18fSSepherosa Ziehau
6271c297ed0SSascha WildnerAlso, the KTR_POLLING kernel option has been removed, so it must be
6281c297ed0SSascha Wildnerremoved from kernel configs that have it.
6291c297ed0SSascha Wildner
630558b0a0bSSascha WildnerBUSLOGIC, CYCLADES AND STALLION ISA SUPPORT REMOVED
631558b0a0bSSascha Wildner---------------------------------------------------
632850c4634SSascha Wildner
633850c4634SSascha WildnerThe bt(4) driver for Buslogic SCSI adapters has been made PCI only. ISA
634850c4634SSascha Wildnercards will no longer be detected.
635850c4634SSascha Wildner
636e6f626a1SSascha WildnerThe same has been done for Stallion multiport serial controllers. stli(4)
637e6f626a1SSascha Wildnerhas been completely removed (along with the stlload(8) and stlstty(8)
638558b0a0bSSascha Wildnerutilities) and stl(4) was changed to support only PCI cards. Similarly,
639558b0a0bSSascha WildnerISA support was removed from cy(4) too. All these drivers are i386 only.
640e6f626a1SSascha Wildner
641e98bcb27SSascha WildnerCOMPAT_OLDISA OPTION GONE
642e98bcb27SSascha Wildner-------------------------
643e98bcb27SSascha Wildner
644e98bcb27SSascha WildnerThe i386 specific COMPAT_OLDISA kernel option has been removed, since
645e98bcb27SSascha Wildnernothing needs it anymore.
646e98bcb27SSascha Wildner
647640dc18fSSepherosa Ziehau+-----------------------------------------------------------------------+
64862d4130dSSascha Wildner+         UPGRADING DRAGONFLY FROM 3.0 TO LATER VERSIONS                +
649c691bb43SSascha Wildner+-----------------------------------------------------------------------+
650c691bb43SSascha Wildner
651c691bb43SSascha WildnerAPIC_IO OPTION REMOVED
652c691bb43SSascha Wildner----------------------
653c691bb43SSascha Wildner
654c691bb43SSascha WildnerThe APIC_IO kernel option is no longer accepted after having been without
655c691bb43SSascha Wildnereffect for a while. The hw.ioapic_enable tunable now serves its purpose.
656c691bb43SSascha WildnerIf you have 'options APIC_IO' in your kernel config, you'll have to
657c691bb43SSascha Wildnerremove it.
658c691bb43SSascha Wildner
6596d488cc3SSascha WildnerWATCHDOG_ENABLE & HW_WDOG OPTIONS REMOVED
6606d488cc3SSascha Wildner-----------------------------------------
661cf03d6cdSSascha Wildner
662cf03d6cdSSascha WildnerThe wdog framework is now compiled into our kernels by default, so the
6636d488cc3SSascha Wildneroptions are no longer needed.
664cf03d6cdSSascha Wildner
665397ffc5cSSascha WildnerDOSCMD(1) REMOVED
666397ffc5cSSascha Wildner-----------------
667397ffc5cSSascha Wildner
668397ffc5cSSascha Wildnerdoscmd(1) has been removed. It was i386 only. The doscmd(1) specific
669397ffc5cSSascha WildnerNO_X make.conf option was removed too.
670397ffc5cSSascha Wildner
671a1404d4fSSascha WildnerGCC 4.7
672a1404d4fSSascha Wildner-------
673a1404d4fSSascha Wildner
674a1404d4fSSascha WildnerGCC 4.7 has been brought in and replaces GCC 4.1 as DragonFly's non-
675a1404d4fSSascha Wildnerdefault compiler in base (default is still GCC 4.4).
676a1404d4fSSascha Wildner
677a1404d4fSSascha WildnerUsers who wish to build only GCC 4.4 have to replace NO_GCC41 with
678a1404d4fSSascha WildnerNO_GCC47 in /etc/make.conf.
679a1404d4fSSascha Wildner
6802508820fSSascha WildnerUSB4BSD
6812508820fSSascha Wildner-------
6822508820fSSascha Wildner
6832508820fSSascha WildnerA new USB stack (from FreeBSD) has been brought in. The following
6842508820fSSascha Wildnermodules have been ported so far: usb, uhci, ohci, ehci, xhci, umass,
6852508820fSSascha Wildnerusfs, uether, if_axe, if_udav, ukbd, ums, uep, uhid, usb_quirk,
6862508820fSSascha Wildnerand uaudio.
6872508820fSSascha Wildner
6882508820fSSascha WildnerIt is not yet the default. To activate it, WANT_USB4BSD=yes has to
689c7200221SSascha Wildnerbe put in make.conf and device "usb4bsd" (quotes needed) has to
690c7200221SSascha Wildnerreplace device usb in the kernel config. After that, a full
691c7200221SSascha Wildnerbuild/install/upgrade cycle is needed.
6922508820fSSascha Wildner
6932508820fSSascha WildnerNote that this is experimental and incomplete, but we are interested
6942508820fSSascha Wildnerin hearing about issues with it, of course.
6952508820fSSascha Wildner
696ae0870a3SSascha WildnerISA SUPPORT REMOVED FROM AIC-6260/6360 DRIVER
697ae0870a3SSascha Wildner---------------------------------------------
698ae0870a3SSascha Wildner
699ae0870a3SSascha WildnerISA adapter support was dropped from the aic(4) driver.
700ae0870a3SSascha Wildner
701c691bb43SSascha Wildner+-----------------------------------------------------------------------+
70262d4130dSSascha Wildner+         UPGRADING DRAGONFLY FROM 2.10 TO LATER VERSIONS               +
70396386d4bSSascha Wildner+-----------------------------------------------------------------------+
70496386d4bSSascha Wildner
70596386d4bSSascha WildnerSEVERAL ISA DRIVERS REMOVED
70696386d4bSSascha Wildner---------------------------
70796386d4bSSascha Wildner
70896386d4bSSascha WildnerThe following ISA only drivers have been removed along with a couple of
70996386d4bSSascha Wildnerassociated userland tools:
71096386d4bSSascha Wildner
71196386d4bSSascha Wildneraha(4)
71296386d4bSSascha Wildnerasc(4) & sasc(1)
71396386d4bSSascha Wildnerctx
71496386d4bSSascha Wildnerdgb(4)
71596386d4bSSascha Wildnerel(4)
71696386d4bSSascha Wildnergpib
71796386d4bSSascha Wildnergsc(4) & sgsc(1)
71896386d4bSSascha Wildnerie(4)
71996386d4bSSascha Wildnerlabpc(4)
72096386d4bSSascha Wildnerle(4)
72196386d4bSSascha Wildnermse(4)
72296386d4bSSascha Wildnerrc(4)
72396386d4bSSascha Wildnerrdp(4)
72496386d4bSSascha Wildnerspigot
72596386d4bSSascha Wildnertw(4) & xten(1) & xtend(8)
72696386d4bSSascha Wildnerwl(4) & wlconfig(8)
72796386d4bSSascha Wildnerwt(4)
72896386d4bSSascha Wildner
72996386d4bSSascha WildnerNote that two of these drivers (aha(4) and ie(4)) are in our GENERIC
73096386d4bSSascha Wildnerconfig and one (aha(4)) is in our X86_64_GENERIC kernel configuration
73196386d4bSSascha Wildnerfile.
73296386d4bSSascha Wildner
73396386d4bSSascha WildnerIf buildkernel complains about any of these drivers, just remove them
73496386d4bSSascha Wildnerfrom your kernel configuration.
73596386d4bSSascha Wildner
736919eb219SJohn MarinoBINUTILS 2.20
737919eb219SJohn Marino-------------
73837c5a0dbSJohn MarinoBinutils 2.20 has been removed in favor of Binutils 2.22.  The accepted
739e685772eSJohn Marinovalues of BINUTILSVERS are now binutils221 and binutils222 (default).
740919eb219SJohn Marino
74183bc1e2aSSascha WildnerBUILDWORLD/-KERNEL PARALLELIZATION WORK
74283bc1e2aSSascha Wildner---------------------------------------
74383bc1e2aSSascha WildnerDue to changes in the way we build with more than one make job, you
74483bc1e2aSSascha Wildnerwill have to update install(1) and mkdir(1) prior to buildworld if you
74583bc1e2aSSascha Wildnerwant to build with 'make -j':
74683bc1e2aSSascha Wildner
74783bc1e2aSSascha Wildnercd /usr/src/usr.bin/xinstall; make; make install; make clean
74883bc1e2aSSascha Wildnercd /usr/src/bin/mkdir; make; make install; make clean
74983bc1e2aSSascha Wildner
750eca86bd9SSascha WildnerDMA(8) UPGRADE
751eca86bd9SSascha Wildner--------------
752eca86bd9SSascha Wildnerdma(8) has been upgraded to v0.7 which no longer supports the
753eca86bd9SSascha Wildner/etc/dma/virtusertable. Some of its functionality has been replaced
754eca86bd9SSascha Wildnerwith the MASQUERADE keyword and the EMAIL environment variable (see
755eca86bd9SSascha Wildnerthe dma(8) manual page).
756eca86bd9SSascha Wildner
75796386d4bSSascha Wildner+-----------------------------------------------------------------------+
75862d4130dSSascha Wildner+         UPGRADING DRAGONFLY FROM 2.8 TO LATER VERSIONS                +
759a4a39c94SJustin C. Sherrill+-----------------------------------------------------------------------+
760a4a39c94SJustin C. Sherrill
761b1242318SSascha WildnerGCC 4.4 & BINUTILS 2.21
762b1242318SSascha Wildner-----------------------
76330c91f0cSSascha Wildner
764b1242318SSascha WildnerGCC 4.4 has been made DragonFly's default compiler and Binutils 2.21 has
765b1242318SSascha Wildnerbeen made DragonFly's default Binutils.
76630c91f0cSSascha Wildner
76730c91f0cSSascha WildnerThat means that any settings that set CCVER to 'gcc44' are not needed
76830c91f0cSSascha Wildneranymore. Instead, CCVER can be set to 'gcc41' to go back to using
76930c91f0cSSascha WildnerGCC 4.1.
77030c91f0cSSascha Wildner
771b1242318SSascha WildnerIt also means that 'binutils221' as a value for BINUTILSVER has no
772b1242318SSascha Wildnereffect anymore. 2.17 has been removed and 'binutils220' is available
773b1242318SSascha Wildneras an option.
774b1242318SSascha Wildner
7755738210dSSascha WildnerThe NO_GCC44 option has been removed and will not affect the build
77630c91f0cSSascha Wildneranymore. There is now a NO_GCC41 option that will prevent GCC 4.1 from
77730c91f0cSSascha Wildnerbuilding in a similar fashion.
77830c91f0cSSascha Wildner
77980abb3beSSascha WildnerNote that you must do a full buildworld/buildkernel for upgrading.
78030c91f0cSSascha Wildner
781a4a39c94SJustin C. Sherrillpkg_radd settings
782c983d16eSSascha Wildner-----------------
783a4a39c94SJustin C. Sherrill
784a4a39c94SJustin C. SherrillThe config file for pkg_radd has moved from /etc/settings.conf to
785a4a39c94SJustin C. Sherrill/etc/pkg_radd.conf.  Save the contents of settings.conf before upgrading
786a4a39c94SJustin C. Sherrillif this is needed.  This warning only applies if /etc/settings.conf
787a4a39c94SJustin C. Sherrillexists.  pkg_radd will continue to work with defaults.
788a4a39c94SJustin C. Sherrill
789a4a39c94SJustin C. Sherrill+-----------------------------------------------------------------------+
79072fe41d3SPeter Avalos+         20100927							+
7911bb1cc14SMatthias Schmidt+         UPGRADING DRAGONFLY FROM 2.6 to 2.8 or HEAD			+
792b79f66ddSJoe Talbott+-----------------------------------------------------------------------+
793b79f66ddSJoe Talbott
79472fe41d3SPeter AvalosOpenSSL
795c983d16eSSascha Wildner--------
79672fe41d3SPeter Avalos
79772fe41d3SPeter AvalosOpenSSL has been upgraded, and SHLIB_MAJOR was bumped for libssh and libcrypto.
79872fe41d3SPeter AvalosThis shouldn't break any 3rd-party software, but you'll need to recompile your
79972fe41d3SPeter Avalos3rd-party software if you want it to link against the new version of OpenSSL.
80072fe41d3SPeter Avalos
8018eb0b612SJustin C. SherrillLoader
802c983d16eSSascha Wildner-------
8038eb0b612SJustin C. Sherrill
804b79f66ddSJoe TalbottA new loader (dloader) has been added which better handles booting from
805b79f66ddSJoe Talbottmultiple kernel/module versions.
806b79f66ddSJoe Talbott
807b79f66ddSJoe TalbottTo upgrade (Only for this upgrade, for post 2.8 upgrades see GENERAL below)
808b79f66ddSJoe Talbott
809b79f66ddSJoe Talbott	cd /usr/src
810b79f66ddSJoe Talbott	make buildworld
811b79f66ddSJoe Talbott	make installworld
812b79f66ddSJoe Talbott	make upgrade
813b79f66ddSJoe Talbott	make buildkernel KERNCONF=<KERNELNAME>
814b79f66ddSJoe Talbott	make installkernel KERNCONF=<KERNELNAME>
815b79f66ddSJoe Talbott
816b79f66ddSJoe TalbottNote that you must installworld and run the 'upgrade' target before
817b79f66ddSJoe Talbottinstalling the new kernel.
818b79f66ddSJoe Talbott
8198eb0b612SJustin C. SherrillBIND
820c983d16eSSascha Wildner-----
8218eb0b612SJustin C. Sherrill
8228eb0b612SJustin C. SherrillBIND has been removed from the base system.  The ldns and drill tools have
8238eb0b612SJustin C. Sherrillbeen added for basic functionality.  Use 'drill' where you would normally
8248eb0b612SJustin C. Sherrilluse nslookup or dig, or install BIND from pkgsrc.  It's available as
8258eb0b612SJustin C. Sherrillnet/bind95, net/bind96, or net/bind97 as of this writing.
8268eb0b612SJustin C. Sherrill
8278eb0b612SJustin C. SherrillThis only affects older systems upgrading to 2.8.  New 2.8+ installs
8288eb0b612SJustin C. Sherrillinclude BIND as a pkgsrc package.
8298eb0b612SJustin C. Sherrill
830b79f66ddSJoe Talbott+-----------------------------------------------------------------------+
831d2a0deccSMatthew Dillon+         UPGRADING DRAGONFLY ON AN EXISTING DRAGONFLY SYSTEM		+
832d2a0deccSMatthew Dillon+				GENERAL					+
833d2a0deccSMatthew Dillon+-----------------------------------------------------------------------+
834984263bcSMatthew Dillon
835a700883cSSascha WildnerInstructions on how to obtain and maintain DragonFly source code using git
836a700883cSSascha Wildnerare in the development(7) manual page.
837d2a0deccSMatthew Dillon
838d2a0deccSMatthew DillonTo upgrade a DragonFly system from sources you run the following sequence:
839d2a0deccSMatthew Dillon
840d2a0deccSMatthew Dillon	cd /usr/src
841d2a0deccSMatthew Dillon	make buildworld
842d2a0deccSMatthew Dillon	make buildkernel KERNCONF=<KERNELNAME>
843d2a0deccSMatthew Dillon	make installkernel KERNCONF=<KERNELNAME>
844d2a0deccSMatthew Dillon	make installworld
845d2a0deccSMatthew Dillon
846d2a0deccSMatthew DillonYou will also want to run the 'upgrade' target to upgrade your /etc and the
847d2a0deccSMatthew Dillonrest of your system.  The upgrade target is aware of stale files created by
848d2a0deccSMatthew Dillonolder DragonFly installations and should delete them automatically.
849d2a0deccSMatthew Dillon
850d2a0deccSMatthew Dillon	make upgrade
851d2a0deccSMatthew Dillon
852a700883cSSascha WildnerSee the build(7) manual page for further information.
853a700883cSSascha Wildner
854d2a0deccSMatthew DillonOnce you've done a full build of the world and kernel you can do incremental
855d2a0deccSMatthew Dillonupgrades of either by using the 'quickworld' and 'quickkernel' targets
856d2a0deccSMatthew Dilloninstead of 'buildworld' and 'buildkernel'.  If you have any problems with
857a700883cSSascha Wildnerthe quick targets, try updating your repo first, and then a full buildworld
858d2a0deccSMatthew Dillonand buildkernel as shown above, before asking for help.
8594523a2c0SThomas Nikolajsen
8604523a2c0SThomas Nikolajsen+-----------------------------------------------------------------------+
8614523a2c0SThomas Nikolajsen+         UPGRADING FROM DRAGONFLY <= 2.0 TO DRAGONFLY >= 2.1		+
8624523a2c0SThomas Nikolajsen+-----------------------------------------------------------------------+
8634523a2c0SThomas Nikolajsen
8644523a2c0SThomas NikolajsenIn 2.1 kernel and modules has moved to boot directory.  For most cases
8654523a2c0SThomas Nikolajsenthis is handled automatically by 'make upgrade'.  A few cases needs manual
8664523a2c0SThomas Nikolajsenintervention:
8674523a2c0SThomas Nikolajsen
8684523a2c0SThomas Nikolajsen * When installing a kernel without first doing a make buildworld,
8694523a2c0SThomas Nikolajsen   installworld and upgrade to the same DESTDIR as kernel:
8704523a2c0SThomas Nikolajsen   make DESTDIR/boot directory and move kernel and modules into this boot
8714523a2c0SThomas Nikolajsen   directory; also move kernel.old and modules.old.
8724523a2c0SThomas Nikolajsen   Typical example is vkernel(7), use (no modules used):
8734523a2c0SThomas Nikolajsen
8744523a2c0SThomas Nikolajsen	cd /var/vkernel
8754523a2c0SThomas Nikolajsen	mkdir boot
8764523a2c0SThomas Nikolajsen	chflags noschg kernel
8774523a2c0SThomas Nikolajsen	mv kernel kernel.old boot
8784523a2c0SThomas Nikolajsen	chflags schg boot/kernel
8794523a2c0SThomas Nikolajsen
8804523a2c0SThomas Nikolajsen * When using a boot-only partition, /boot/loader.rc needs to be edited:
8814523a2c0SThomas Nikolajsen   delete occurrences of '/boot/'.
882bbb35c81SSascha Wildner   These occurrences can normally be deleted in any case, see loader(8).
883d2a0deccSMatthew Dillon
884d2a0deccSMatthew Dillon+-----------------------------------------------------------------------+
885d2a0deccSMatthew Dillon+         UPGRADING FROM DRAGONFLY <= 1.8 TO DRAGONFLY >= 1.9		+
886d2a0deccSMatthew Dillon+-----------------------------------------------------------------------+
887d2a0deccSMatthew Dillon
888d2a0deccSMatthew DillonIn 1.9 major changes to the disk management infrastructure have taken
889d2a0deccSMatthew Dillonplace.  make upgrade may not catch all of your disk devices in /dev,
890d2a0deccSMatthew Dillonso after upgrading be sure to cd /dev; ./MAKEDEV <blah> where <blah>
89145e80934SMatthew Dillonare all of your disk devices.  HOWEVER, from late 2.3 on we run devfs
89245e80934SMatthew Dillonand MAKEDEV no longer exists.
893d2a0deccSMatthew Dillon
894d2a0deccSMatthew DillonThe biggest changes in 1.9 are:
895d2a0deccSMatthew Dillon
896d2a0deccSMatthew Dillon(1) That whole-slice devices such as da0s1 no longer share the same device
897d2a0deccSMatthew Dillon    id as partition c devices such as da0s1c.
898d2a0deccSMatthew Dillon
899d2a0deccSMatthew Dillon(2) The whole-disk device (e.g. da0) is full raw access to the disk,
900d2a0deccSMatthew Dillon    with no snooping or reserved sectors.  Consequently you cannot run
901d2a0deccSMatthew Dillon    disklabel on this device.  Instead you must run disklabel on a
902d2a0deccSMatthew Dillon    whole-slice device.
903d2a0deccSMatthew Dillon
904d2a0deccSMatthew Dillon(3) The 'compatibility' partitions now use slice 0 in the device name,
905d2a0deccSMatthew Dillon    so instead of da0a you must specify da0s0a.  Also, as per (1) above,
906d2a0deccSMatthew Dillon    accessing the disklabel for the compatibility partitions must be
907d2a0deccSMatthew Dillon    done via slice 0 (da0s0).
908d2a0deccSMatthew Dillon
909d2a0deccSMatthew Dillon(4) Many device drivers that used to fake up labels, such as CD, ACD, VN,
910d2a0deccSMatthew Dillon    and CCD now run through the disk management layer and are assigned
911d2a0deccSMatthew Dillon    real disk management devices.   VN and CCD in particular do not usually
912d2a0deccSMatthew Dillon    use a MBR and disklabels must be accessed through the compatibility
913d2a0deccSMatthew Dillon    slice 0.  Your /etc/ccd.conf file still specifies 'ccd0', though, you
914d2a0deccSMatthew Dillon    don't name it 'ccd0s0' in the config file.
915d2a0deccSMatthew Dillon
916d2a0deccSMatthew DillonGenerally speaking, you have to get used to running fdisk and disklabel on
917d2a0deccSMatthew Dillonthe correctly specified device names.  A lot of the wiggle, such as running
918d2a0deccSMatthew Dillondisklabel on a partition, has been removed.
919d2a0deccSMatthew Dillon
920d2a0deccSMatthew Dillon+-----------------------------------------------------------------------+
921d2a0deccSMatthew Dillon+         UPGRADING FROM OLDER VERSIONS OF DRAGONFLY OR FREEBSD		+
922d2a0deccSMatthew Dillon+-----------------------------------------------------------------------+
923d2a0deccSMatthew Dillon
924d2a0deccSMatthew Dillon> Kerberos IV
925d2a0deccSMatthew Dillon-------------
926d2a0deccSMatthew Dillon
927d2a0deccSMatthew DillonKerberos IV (eBones) was removed from the tree, please consider moving to
928d2a0deccSMatthew DillonKerberos 5 (Heimdal).
929d2a0deccSMatthew Dillon
930d2a0deccSMatthew Dillon> Package Management System
931d2a0deccSMatthew Dillon---------------------------
932d2a0deccSMatthew Dillon
933d2a0deccSMatthew DillonStarting with the 1.4 release, DragonFly uses NetBSD's pkgsrc package
934d2a0deccSMatthew Dillonmanagement system.  The necessary tools to build and maintain packages
935d2a0deccSMatthew Dillonare provided in /usr/pkg/bin and /usr/pkg/sbin.  Make sure that these
936d2a0deccSMatthew Dillondirectories are in your PATH variable.
937d2a0deccSMatthew Dillon
938d2a0deccSMatthew DillonIn order to obtain a reasonably current snapshot of the pkgsrc tree, use
939d2a0deccSMatthew Dillonthe tarball from NetBSD:
940d2a0deccSMatthew Dillon
941d2a0deccSMatthew Dillon	fetch -o /tmp/pkgsrc.tar.gz ftp://ftp.NetBSD.org/pub/NetBSD/packages/pkgsrc.tar.gz
942d2a0deccSMatthew Dillon	cd /usr; tar -xzf /tmp/pkgsrc.tar.gz; chown -R root:wheel pkgsrc
943d2a0deccSMatthew Dillon
944d2a0deccSMatthew DillonThis tree can then be kept up to date with cvs update:
945d2a0deccSMatthew Dillon
946d2a0deccSMatthew Dillon	cd /usr/pkgsrc; cvs up
947d2a0deccSMatthew Dillon
948d2a0deccSMatthew DillonNOTE! If you upgraded from a pre-1.4 system to 1.4 or later, you need to
949d2a0deccSMatthew Dillonbuild and install the pkgsrc bootstrap manually:
950d2a0deccSMatthew Dillon
951d2a0deccSMatthew Dillon	cd /usr/pkgsrc/bootstrap
952d2a0deccSMatthew Dillon	./bootstrap --pkgdbdir /var/db/pkg --prefix /usr/pkg
953d2a0deccSMatthew Dillon
954d2a0deccSMatthew Dillon+-----------------------------------------------------------------------+
955d2a0deccSMatthew Dillon+         UPGRADING DRAGONFLY ON AN EXISTING DRAGONFLY SYSTEM		+
956d2a0deccSMatthew Dillon+         UPDATING FROM PRE-1.2 SYSTEMS OR FreeBSD 4.x TO               +
957d2a0deccSMatthew Dillon+         DRAGONFLY 1.3+ (EITHER PREVIEW or HEAD)                       +
958d2a0deccSMatthew Dillon+-----------------------------------------------------------------------+
95958116288SJoerg Sonnenberger
960114580acSSascha WildnerThe compatibility shims for the build environment have been removed, you
96158116288SJoerg Sonnenbergerhave to update to DragonFly 1.2 release branch first.
96258116288SJoerg Sonnenberger
9631fcc7462SJoerg SonnenbergerThe default PAM configuration has moved from /etc/pam.conf to /etc/pam.d/.
9641fcc7462SJoerg SonnenbergerThe existing configuration can be converted using /etc/pam.d/convert.sh.
9651fcc7462SJoerg SonnenbergerEntries in /etc/pam.d/ override entries in /etc/pam.conf. In addition
9661fcc7462SJoerg Sonnenbergerthe pam_skey.so module was retired, you have to remove it manually from
9671fcc7462SJoerg Sonnenbergeryour configuration, when you convert it.
96858116288SJoerg Sonnenberger
969a3107071SMatthew Dillon> Required user and group IDs when upgrading from either FreeBSD or DragonFly
970a3107071SMatthew Dillon---------------------
971a3107071SMatthew Dillon
972a3107071SMatthew DillonThe following users may be missing from your password file.  Use vipw and
973a3107071SMatthew Dillonadd any that are missing:
974a3107071SMatthew Dillon
975a3107071SMatthew Dillonsmmsp:*:25:25::0:0:Sendmail Submission User:/var/spool/clientmqueue:/sbin/nologin
976dcf85892SJoerg Sonnenberger_pflogd:*:64:64::0:0:pflogd privsep user:/var/empty:/sbin/nologin
977a3107071SMatthew Dillon
978a3107071SMatthew DillonThe following groups may be missing from your group file.  Use vi /etc/group
979a3107071SMatthew Dillonand add any that are missing:
980a3107071SMatthew Dillon
981a3107071SMatthew Dillonsmmsp:*:25:
982a3107071SMatthew Dillonauthpf:*:63:
983dcf85892SJoerg Sonnenberger_pflogd:*:64:
984a3107071SMatthew Dillon
985a3107071SMatthew Dillon
986f419dacaSMatthew Dillon> Upgrading to DragonFly from FreeBSD
987984263bcSMatthew Dillon---------------------
988984263bcSMatthew Dillon
989f419dacaSMatthew DillonYou can build the DragonFly world and DragonFly kernels on a FreeBSD-4.x or
990f419dacaSMatthew DillonFreeBSD-5.x machine and then install DragonFly over FreeBSD, replacing
991f419dacaSMatthew DillonFreeBSD.  Note that the DragonFly buildworld target does not try to reuse
992f419dacaSMatthew Dillonmake depend information, it starts from scratch, so no pre-cleaning of the
993f419dacaSMatthew Dillonobject hierarchy is necessary.
994984263bcSMatthew Dillon
995466bbc10SHiten Pandya	# get the CVS repository (it is placed in /home/dcvs, 500MB).
996f419dacaSMatthew Dillon	# Please use the -h option and a mirror site to pull the
997f419dacaSMatthew Dillon	# initial repository, but feel free to use the main repository
998f419dacaSMatthew Dillon	# machine to pull updates.
9995010eeb3SSascha Wildner	cvsup /usr/share/examples/cvsup/DragonFly-cvs-supfile
1000f419dacaSMatthew Dillon	# install the source from the CVS hierarchy (remove preexisting
1001f419dacaSMatthew Dillon	# FreeBSD src first) (500MB)
1002f419dacaSMatthew Dillon	cd /usr
1003f419dacaSMatthew Dillon	rm -rf src
100450172b1cSDavid Rhodus	cvs -R -d /home/dcvs checkout -P src
1005984263bcSMatthew Dillon
1006f419dacaSMatthew Dillon	# build it (500MB used in /usr/obj)
1007f419dacaSMatthew Dillon	#
1008fb12f484SMatthew Dillon	cd /usr/src
1009fb12f484SMatthew Dillon	make buildworld
1010f419dacaSMatthew Dillon	make buildkernel KERNCONF=<KERNELNAME>
1011f419dacaSMatthew Dillon
1012f419dacaSMatthew DillonOnce you have built DragonFly you have to install it over FreeBSD.  Since
1013f419dacaSMatthew DillonDragonFly does not track changes made by FreeBSD to its include file
1014f419dacaSMatthew Dillonhierarchy and include file pollution can cause all sorts of unexpected
1015f419dacaSMatthew Dilloncompilation issues to come up, it is best to wipe your include hierarchy
1016f419dacaSMatthew Dillonprior to installing DragonFly.  Note that you should not wipe any installed
1017f419dacaSMatthew DillonFreeBSD header files or binaries until after you have successfully completed
1018f419dacaSMatthew Dillonthe build steps above.
1019f419dacaSMatthew Dillon
1020f419dacaSMatthew Dillon	rm -rf /usr/include
1021f419dacaSMatthew Dillon	mkdir /usr/include
1022f419dacaSMatthew Dillon	make installkernel KERNCONF=<KERNELNAME>
1023fb12f484SMatthew Dillon	make installworld
1024fb12f484SMatthew Dillon
1025b8cbf045SSascha WildnerThen you need to upgrade your system.  DragonFly's 'make upgrade' target
1026f419dacaSMatthew Dillonwill unconditionally upgrade the /etc files that sysops do not usually
1027b8cbf045SSascha Wildnermess around with, such as the files in /etc/rc.d.  It will also remove any
1028b8cbf045SSascha Wildnerobsolete files such as utilities and manpages that have been removed from
1029b8cbf045SSascha Wildnerthe system since the version you're coming from.  If you are unsure we
1030b8cbf045SSascha Wildnerrecommend that you make a backup of at least your /etc before applying
1031b8cbf045SSascha Wildnerthis step.  Note that DragonFly's RC system is basically RCNG from
1032b8cbf045SSascha WildnerFreeBSD-5, but there are some differences in the contents of the RC files.
1033f419dacaSMatthew Dillon
1034f419dacaSMatthew Dillon	make upgrade
1035f419dacaSMatthew Dillon
1036b8cbf045SSascha WildnerNOTE! Never do a 'make upgrade' before 'make installworld' has been run.
1037b8cbf045SSascha WildnerDoing so might leave your system in an unusable state.
1038b8cbf045SSascha Wildner
1039f419dacaSMatthew DillonFinally we recommend that you do an 'ls -lta BLAH' for /bin, /sbin, /usr/bin,
1040b8cbf045SSascha Wildner/usr/bin, and /usr/lib, and remove any stale files that you find.  Please
1041b8cbf045SSascha Wildnerreport these files to the DragonFly developers so that they can be added to
1042b8cbf045SSascha Wildnerthe 'upgrade' target.
1043f419dacaSMatthew Dillon
1044