# DragonFly Release 3.4 Version 3.4.0 released xx April 2013. ## Big-ticket items ### Experimental packaging system: dports John Marino has created a system, DPorts, that uses the FreeBSD ports system to build ports for DragonFly, and uses [pkgng](https://github.com/pkgng/pkgng#readme) to manage the binary packages produced from those ports. The default packaging system on DragonFly is pkgsrc. To use DPorts, you must remove or disable pkgsrc packages. Pkgsrc and DPorts cannot be used at the same time, or have packages mixed together. See the [DPorts Howto page](docs/docs/howtos/HowToDPorts/) for details on installing and using DPorts. Note: this is the first release with DPorts, and this is still experimental. The [DragonFly snapshots](http://avalon.dragonflybsd.org/snapshots/) are built using dports. (and also have XFCE for the desktop) ### Performance improvements under extreme load The process of testing [poudriere](https://fossil.etoilebsd.net/poudriere/doc/trunk/doc/index.wiki), a tool for mass-producing binary dports packages, exposed stability issues when repeatedly mounting and unmounting many tmpfs systems on large multicore (48) systems. These issues have been fixed. In addition to stability, several changes were made to improve performance in situations with heavy processor and disk usage. ### Experimental HAMMER2 included The next version of HAMMER, HAMMER2, is in DragonFly. It is not ready to use for storage at this point. However, it is [possible to set it up](http://leaf.dragonflybsd.org/mailarchive/users/2012-08/msg00060.html) to experiment with the messaging protocols. ### New USB stack [USB4BSD](http://www.selasky.org/hans_petter/usb4bsd/) is available this release, though not by default. More USB devices are compatible with DragonFly, and xhci (USB 3.0) users may be able to take full advantage of their newer hardware. Since this is a new feature, it is available in 3.4 but *not* built by default. See the [original announcement](http://lists.dragonflybsd.org/pipermail/users/2012-October/017542.html) for how to do so. This feature was available in DragonFly 3.2 but is still experimental. ## Availability Two release options are now available for 32-bit as well as for 64-bit. 64-bit installations are recommended if you do not need the Linux emulation layer. * An ISO, to be burned to a physical CD or used as an image to install a virtual machine. * A bootable USB disk-key image. (minimum 2G USB stick needed) The release ISO images should be available on most of the [[mirrors|mirrors]]. If the ISO is not available on a certain mirror, please try another one or download it from the DragonFly master site. Each image is in the "Live CD" format, meaning that it boots into a running and fully functional DragonFly system, which can be used for testing or system recovery tasks as well as installation. Check the [hardware page](http://www.dragonflybsd.org/docs/supportedhardware/) or boot a Live CD to check for compatibility. ### MD5 sums MD5 sums for the compressed images: * MD5 (dfly-i386-3.2.1_REL.img.bz2) = a592... * (FIXME) MD5 sums for the uncompressed images: * MD5 (dfly-i386-3.2.1_REL.img) = 52c416d... * (FIXME) ### pkgsrc packages Pkgsrc packages have not been pre-built for this release. We suggest building from source for pkgsrc installation. We supply a Makefile in `/usr` to track the pkgsrc tree and we supply a Git mirror of the NetBSD pkgsrc CVS repo at `git://git.dragonflybsd.org/pkgsrcv2.git`. We recommend that users use it, instead of pulling from NetBSD with CVS. Our Git mirror is updated several times a day. Type 'make' in /usr to see the available commands for performing these actions. ## DragonFly 3.4 Special Installation and Upgrade Notes **Disk size warning** - Installations using HAMMER should be to disks over 50G in size. HAMMER history will consume disk space quickly. Either use UFS on smaller disks, or prune your file history carefully. **Virtual PC users** - Virtual PC does not supply serial numbers for the virtual disks. The system may need to be manually directed in the boot loader if the disk identifier changes. (Hit ? in the boot loader for a list of available volumes.) **Qemu users** - If you see a large number of error messages on the console when booting, you may need to boot DragonFly with ACPI disabled. This can be done in the menu presented at initial boot. If that doesn't help, try placing hw.ioapic_enable=0 in /boot/loader.conf. **Installer Crypt Options** - The installer can encrypt the root volume and the swap volume. It will not work properly for other volumes despite any additional check-boxes you might see. Installer and boot-time support works but is still a bit rough around the edges. Performance will be relatively high on multi-core machines. ## DragonFly 3.4.0 Release Notes For a list of per-commit changes, see the [3.4.0rc tag commit](http://lists.dragonflybsd.org/pipermail/commits/2013-April/129831.html). > ### Kernel changes * nmalloc now used instead of dmalloc * tmpfs stability improvements * More reliable when very rapidly mounting and unmounting filesystems * USB4BSD libraries added: libusbhid, usbhidctl. * SMP support now on by default * SMBIOS information is now detected and available. * ifnet/ifaddr statistics are now saved per-CPU. * virtio, virtio-blk drivers added. > ### Hardware changes * AVX instructions are now supported on 64-bit processors. * Improved stability for iwi(4), wpi(4), and ath(4) * hptiop(4) supports RocketRAID 4520 and 4522 * USB4BSD drivers added: usb, ehci, ohci, uhci, xhci, umass, usfs, uaudio, uep, uhid, ukbd, ums, uether, udav, and axe. * em(4) and emx(4) are updated to Intel em-7.3.4. * igb(4) has I210 and I211 support, and is updated to Intel igb-2.3.7. * bnx(4) supports the BCM5717-C0, BCM5762, BCM5725 and BCM5727. * rl(4) supports the DLink DFE520TX C1 * msk(4) and et(4) are MSI-enabled * bce(4) supports multiple-vector MSI-X, multiple receiving queues and multiple transmitting queues for BCM5709/BCM5716 * bce(4), bge(4), bnx(4), em(4), emx(4) and jme(4) packet transmission performance has been improved by aggregating hardware register writing. * bce(4) and igb(4) now enable multiple hardware transmitting queues by default. * emx(4) supports 2 transmitting queues on 82571/82572, but is not enabled by default. * bce(4), emx(4), igb(4) and jme(4) fully support the new polling(4) (IFPOLL). > ### HAMMER2 * AES GCM support. * Cache coherency management system created based on HAMMER1. * Message passing system implemented. * Spanning code written. > ### Userland changes * Vkernel disk serial numbers and interface MACs can now be set from the command line. * mktemp(1) improvements from FreeBSD. * System make set to bmake. * Automatic installation of dports via /usr/Makefile added. > ### Removals * None in this release > ### Contributed Software * Shipping with pkgsrc-2013Q1. * gcc4.1 removed * gcc4.7 added * flex updated to 2.5.3.7 * bmake updated to 20121010 * OpenSSH updated to 6.1p1 * m4 updated * byacc updated to 20121003 * OpenSSL updated to 1.0.1e * dialog updated to 1.2-20121230 * libarchive updated to 3.1.2 * zoneinfo updated to tzdata2013b >### Security related * No specific security-related updates in this release.