(no commit message)
[ikiwiki.git] / release56 / index.mdwn
1 # DragonFly BSD 5.6
2
3 * Version 5.6.0 released xx June 2019
4
5 DragonFly version 5.6 brings etc etc etc.  This page is not finished.  *** Do not link to this page before release, please. ***
6
7 The details of all commits between the 5.4 and 5.6 branches are available in the associated commit messages for [5.6.0rc1](http://lists.dragonflybsd.org/pipermail/commits/2019-June/718996.html) and [5.6.0]().
8  
9 ## Big-ticket items
10
11 ### Improved VM.
12
13 ### DRM.
14
15 * Major udpates to the radeon and ttm (amd support code).  We have not quite gotten the amd support up to the more modern cards or ryzen APUs yet, however.
16 * Add DRM_IOCTL_GET_PCIINFO to improve mesa/libdrm support.
17 * Improve UEFI framebuffer support.
18 * Fix excessive wired memory build-ups.
19
20 ### HAMMER2.
21
22 * The filesystem sync code has been rewritten to significantly improve performance.
23 * Add simple dependency tracking to prevent directory/file splits during create/rename/remove operations, for better consistency after a crash.
24 * Refactor the snapshot code to reduce flush latency and to ensure a consistent snapshot.
25 * Attempt to pipeline the flush code against the frontend, improving flush vs frontend write concurrency.
26 * Improve umount operation.
27 * Numerous bugs fixed that could lead to meta-data corruption.
28
29 ## Details
30
31 ### Checksums
32
33     MD5 (dfly-x86_64-5.6.0_REL.img) = 
34     MD5 (dfly-x86_64-5.6.0_REL.iso) = 
35     MD5 (dfly-x86_64-5.6.0_REL.img.bz2) = 
36     MD5 (dfly-x86_64-5.6.0_REL.iso.bz2) = 
37
38 ### Upgrading
39
40 If you have an existing 5.x system and are running a generic kernel, the normal upgrade process, described below, will work.  
41
42 Change your local `/usr/src` to 5.6:
43
44     cd /usr/src
45     git fetch origin
46     git branch DragonFly_RELEASE_5_6 origin/DragonFly_RELEASE_5_6
47     git checkout DragonFly_RELEASE_5_6
48     git pull
49
50 And then rebuild: (in `/usr/src`)
51
52     make buildworld
53     make buildkernel
54     make installkernel
55     make installworld
56     make upgrade
57
58     (reboot your system)
59
60     make initrd 
61
62 `make initrd` is optional for systems with unencrypted disks, and has been possible for several releases; it's mentioned here for completeness. Look at the [initrd(7)](https://leaf.dragonflybsd.org/cgi/web-man?command=initrd&section=ANY) man page for details on what it does.
63
64 Don't forget to upgrade your existing packages.  5.6 packages have already been built and are immediately available.
65
66     pkg update
67     pkg upgrade
68
69 ## All other changes since DragonFly 5.4
70
71 ### Security Issues
72
73 ### Kernel
74
75 * Fix a probable callout race that could result in stuck processes.
76 * Increase number of kqueue timers from 4096 to 65536.  More apps use them.
77 * Adjust the blist code to allow more than 2TB of swap to be configured.
78 * Fix bugs related to the STOP signal that could block threads with locks held.
79 * Fix a race related to the STOP signal when operating on a multi-threaded program.
80 * Fix a rare vref() assertion.  This typically required extreme loads to reproduce.
81 * Synchronize ACPICA to Intel's version 20190108.
82 * atkbdc - Still attach a PS2 controller even if the FADT says not to.
83 * All modules now use inlined atomics instead of static function calls.
84
85 ### Filesystems
86
87 * hammer2 - (see above)
88 * hammer2 - Refactor the 'info' directive.
89 * hammer1 - Fix left-over /var/run/hammer.cleanup lock files.
90 * tmpfs - Fix cpu inefficiencies related to the syncer.
91 * autofs - Misc fixes.
92
93 ### Networking
94
95 * wpa_supplicant pkg included in nrelease build for usb install image.
96 * pkg based wpa_supplicant is preferred over base version.
97 * Implement DHCP flag for ipv6_ifconfig_* in rc.conf.
98 * Add ifconfig -n ... to disable automatic module loading.
99 * Properly bring up/down interface, primarily to support wpa_supplicant.
100 * Rework wlan_down() and other wlan support in network.subr.
101 * dhcpcd will now go into the background immediately by default.
102 * Throw a global lock around udev dictionary ops.  Not having them could result in fairly rare corruption (devices aren't added or removing very often), particularly when using the 'vn' device.
103 * Major cleanup of TSC related code.
104
105 * vkernel - The vkernel uses the TSC by default when possible.
106
107 ### Driver updates
108
109 * iwm - Fix possible null pointer indirection.
110
111 ### Userland
112
113 * Update 'script', bringing new options and bug fixes in from FreeBSD.
114 * Header file adjustments.
115 * Many manual page adjustments.
116 * Detect a common mistake of putting a 'sysctl' prefix in /etc/sysctl.conf and don't spew to the console when it happens.
117 * Sync zoneinfo database to tzdata2018i (from ftp.iana.org)
118
119 ### Boot
120
121 * Rework the initrd build logic to simplify matters.
122
123 ### Various tools have been upgraded in the base system:
124
125 ### Compiler status
126
127 * libc - Add reallocarray() from OpenBSD to improve application compatibility.
128
129 ### Package updates
130
131 * A full set of new binary packages has been built for 5.6, available through the pkg tool.