Link to 5.4.0 tag commit
[ikiwiki.git] / release54 / index.mdwn
1 # DragonFly BSD 5.4
2
3 * Version 5.4.0 released 03 December 2018
4
5 DragonFly version 5.4 brings a new system compiler, GCC 8, a large number network and virtual machine driver updates, and updates to video support.  This release is 64-bit only, as with previous releases.
6
7 The details of all commits between the 5.2 and 5.4 branches are available in the associated commit messages for [5.4.0rc](http://lists.dragonflybsd.org/pipermail/commits/2018-November/718131.html) and [5.4.0](http://lists.dragonflybsd.org/pipermail/commits/2018-December/718171.html).
8  
9 ## Big-ticket items
10
11 * Better support for asymmetric NUMA configurations.  In particular, both the memory subsystem and the scheduler now understand the Threadripper 2990WX's architecture.  The scheduler will prioritize CPU nodes with direct-attached memory and the memory subsystem will normalize memory queues for CPU nodes without direct-attached memory (which improves cache locality on those CPUs).
12
13 * Incremental performance work.  DragonFly as a whole is very SMP friendly.  The type of performance work we are doing now mostly revolves around improving fairness for shared-vs-exclusive lock clashes, reducing cache ping-ponging due to non-contending SMP locks (i.e. massive use of shared locks on shared resources), and so forth.
14
15 * Major updates to dports brings us to within a week or two of FreeBSD's ports as of this writing, in particular major updates to chromium, and making the whole mess work with gcc-8.
16
17 ### GCC 8 
18
19 * DragonFly now ships with GCC 8.0, and runs as the default compiler. It is also now used for building dports.
20
21 * GCC 4.7.4 and GCC 5.4.1 are still installed.  4.7.4 is our backup compiler, and 5.4.1 is still there to ensure a smooth transition, but should generally not be used.  buildworld builds all three by default to ensure maximum compatibility.
22
23 ### HAMMER2
24
25 * Bug fixing has continued.  HAMMER2 is recommended as the default root filesystem in non-clustered mode.
26 * Clustered support is not yet available.
27
28 ### Driver updates
29
30 * A number of drivers of use when running DragonFly as a guest VM have been added or updated, including ena, if_vtnet, virtio_balloon, and virtio_pci.
31 * Improvements for DRM and radeon.
32 * Serial-output-only installs are now possible.
33
34 ### Network updates
35
36 * dhcpcd has been added to the base system, and will replace dhclient and rtsold - though not in this release.
37 * A number of network device drivers have been added.
38 * A couple of edge-case panics have been fixed.
39 * wpa_supplicant is installed via dports, by default, to override the default version in base.  The base version remains so that a mass pkg deletion doesn't accidentally remove the ability to get online.
40
41 ## Details
42
43 ### Checksums
44
45     MD5 (dfly-x86_64-5.4.0_REL.img) = 
46     MD5 (dfly-x86_64-5.4.0_REL.iso) = 
47     MD5 (dfly-x86_64-5.4.0_REL.img.bz2) = 
48     MD5 (dfly-x86_64-5.4.0_REL.iso.bz2) = 
49
50 ### Upgrading
51
52 If you have an existing 5.2.x system and are running a generic kernel, the normal upgrade process, described below, will work.  
53
54 Change your local /usr/src to 5.4:
55
56     cd /usr/src
57     git fetch origin
58     git branch DragonFly_RELEASE_5_4 origin/DragonFly_RELEASE_5_4
59     git checkout DragonFly_RELEASE_5_4
60     git pull
61
62 And then rebuild: (in /usr/src )
63
64     make buildworld
65     make buildkernel
66     make installkernel
67     make installworld
68     make upgrade
69
70     (reboot your system)
71
72     make initrd 
73
74 Don't forget to upgrade your existing packages.  5.4 packages have already been built and are immediately available.
75
76     pkg update
77     pkg upgrade
78
79 ## All changes since DragonFly 5.2
80
81 ### Kernel
82
83 * drm has been updated to match Linux kernel 4.7.10 in a number of locations.
84 * The radeon driver has been updated; currently matches Linux 3.18.
85 * CVE-2018-8897 mitigated.
86 * x2apic timer support added.
87 * various updates to autofs
88
89 ### Networking
90
91 * The network tunnel driver, [tun(4)](https://leaf.dragonflybsd.org/cgi/web-man?command=tun&section=4), has been cleaned up and updated.  It's now clonable for anyone building VPN links.
92 * The [tap(4)](https://leaf.dragonflybsd.org/cgi/web-man?command=tap&section=4) and interface cloning have also received related updates and fixes.
93 * Interface groups are now supported in the kernel and [pf(4)](https://leaf.dragonflybsd.org/cgi/web-man?command=pf&section=4).  They can be configured with [ifconfig(8)](https://leaf.dragonflybsd.org/cgi/web-man?command=ifconfig&section=8)
94 * DragonFly now can use [dhcpcd(8)](https://leaf.dragonflybsd.org/cgi/web-man?command=dhcpcd&section=8) for DHCP, for both IPv4 and IPv6.  See [the announcement](http://lists.dragonflybsd.org/pipermail/users/2018-November/357989.html) for details.  The existing utilities dhclient(8) and rtsold(8) are still supported, so no configuration change is required yet.
95 * The ena (Elastic Network Adapter) network driver has been added.
96 * if_iwm has had multiple updates.
97 * if_vtnet, the virtual I/O Ethernet driver, has been updated.
98
99 ### Other drivers
100
101 * The virtio_balloon memory driver has been added.
102 * /dev/sndstat can now be opened multiple times by the same device.
103 * mpr(4) driver for LSI Fusion-MPT 3/3.5 SAS controllers added.
104 * MosChip PCIe serial communications now supported.
105
106 ### Userland
107
108 ### Boot
109
110 * The initrd has had significant improvement and now forms a much more complete rescue system, with over 70 tools added via [crunchgen(1)](https://leaf.dragonflybsd.org/cgi/web-man?command=crunchgen&section=1).  See the [initrd(7)](https://leaf.dragonflybsd.org/cgi/web-man?command=initrd&section=7) man page for details.
111
112 ### Various tools have been upgraded in the base system:
113
114 * [dhcpcd](http://roy.marples.name/projects/dhcpcd) 7.0.8 imported.
115 * [openresolv](https://roy.marples.name/projects/openresolv) 3.9.0 imported, installed as [resolvconf(8)](https://leaf.dragonflybsd.org/cgi/web-man?command=resolvconf&section=8).
116 * [ip6addrctl(8)](https://leaf.dragonflybsd.org/cgi/web-man?command=ip6addrctl&section=8) together with a rc script imported from FreeBSD.
117 * DHCP server for network installs updated to net/isc-dhcp44-server.
118 * OpenSSH updated to 7.6p1.
119 * ACPICA updated to 20181031.
120 * Time zone data updated to tzdata2018g.
121 * Compiler - see next section
122
123 ### Compiler status
124
125 * gcc 8.0 is the default compiler, for kernel, world, and dports.  GCC versions 4 and 5 are still installed and built if needed.
126
127 ### Package updates
128
129 * A full set of new binary packages has been built for 5.4, available through the pkg tool.
130 * There's a number of options now for running a web browser on DragonFly; check the [browser documentation page](https://www.dragonflybsd.org/docs/docs/howtos/WebBrowsers/) for a full list.
131 * wpa_supplicant is installed as a package by default; delete if your system does not use wireless.  The version in base remains as a safety measure in case the dports version is deleted.
132
133
134