DragonFly BSD 3.0 Released


Recommended Posts

DragonFly Release 3.0

22 February 2012

The DragonFly 3.0 release is here!

This release was delayed from our regular schedule for tracking down what appears to be a AMD CPU bug.

As a pleasant side effect, the giant kernel lock has been removed from much of the system and this release performs significantly better on multi-core systems than previous DragonFly versions.

Big-ticket items

Major VM SMP work

Previously the majority of the VM was under a single token, the vm_token; now vm_objects (mappable entities) are each under a private token, concurrent page faults in the same object can proceed, and VM SMP scalability overall is improved. Results for Postgres and MySQL, among others, are excellent. Francois Tigeot worked on benchmarks comparing DragonFly 2.10 and DragonFly 2.13, among other operating systems. The resulting graphs show how well DragonFly responds to multiple CPUs on a 24-threads Xeon system. (2.13 is the development version of DragonFly that became 3.0.) pgbench-dfly-210-213.png

HAMMER performance greatly increased

A new time domain multiplexing method has been added to balance storage operation types over long time periods. HAMMER fairness and throughput under heavy storage loads has significantly improved. HAMMER's behavior in very low memory configurations has also improved; it will no longer readily starve a system of kernel allocation space. HAMMER should work on systems with as little as 256MB of RAM.

SMP kernel installed by default ACPI + interrupt routing have been upgraded. A SMP kernel will work on all machines and is installed by default.

Disk Encryption DragonFly now has tcplay(8), a tool for creating and managing encrypted disk volumes. It is 100% TrueCrypt compatible and BSD licensed.

Availability Four 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)
  • A GUI bootable ISO image with a full X environment. DVD disc required.
  • A GUI bootable USB disk-key image with a full X environment. (minimum 4G USB stick needed)

Note that the x86_64 GUI ISO image has booting problems; a up to date version is on the way. The release ISO images should be available on most of the 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 or boot a Live CD to check for compatibility. The GUI bootable USB image also contains the DragonFly git repo in /usr/src and the pkgsrc git repo in /usr/pkgsrc. The code can be trivially checked out using these repos and can be incrementally updated from master sites, post-install.

MD5 sums

MD5 sums for the compressed images:

  • MD5 (dfly-i386-3.0.1_REL.img.bz2) = 8f812dbcb9c0ca28a61f5a0ae1e35a9e
  • MD5 (dfly-i386-3.0.1_REL.iso.bz2) = 0c602e122c4f8c7b31e1578fb7c975e4
  • MD5 (dfly-i386-gui-3.0.1_REL.img.bz2) = f113ecb9839b4b1edcd0d33376d32362
  • MD5 (dfly-i386-gui-3.0.1_REL.iso.bz2) = 3d8fcc33fbf2169868a33b8928c53d53
  • MD5 (dfly-x86_64-3.0.1_REL.img.bz2) = d9d7880ad328c5ccf9e46b1c9de36fff
  • MD5 (dfly-x86_64-3.0.1_REL.iso.bz2) = dcc2b27a9ef938470433465342655a90
  • MD5 (dfly-x86_64-gui-3.0.1_REL.img.bz2) = 6ede68b56b329ab079e9fd22af343160
  • MD5 (dfly-x86_64-gui-3.0.1_REL.iso.bz2) = 76632bc7d6f84a142f091ea2bce610c9

MD5 sums for the uncompressed images:

  • MD5 (dfly-i386-3.0.1_REL.img) = a7cc87b26c04a179476f9c3f20f8ce9d
  • MD5 (dfly-i386-3.0.1_REL.iso) = dcabe48f2c5b427a1afbe5c44d9b2f04
  • MD5 (dfly-i386-gui-3.0.1_REL.img) = f4e098334058e692f257545f7f7e0cda
  • MD5 (dfly-i386-gui-3.0.1_REL.iso) = 64a1a228da4ee1ec37942f092094bdcf
  • MD5 (dfly-x86_64-3.0.1_REL.img) = 9c235b5e8d8a59b0c53db3523647f9fc
  • MD5 (dfly-x86_64-3.0.1_REL.iso) = 8bd79fb3174184f8ddf1e6ebceb028eb
  • MD5 (dfly-x86_64-gui-3.0.1_REL.img) = 25bf66c189809910d855419551e5cd26
  • MD5 (dfly-x86_64-gui-3.0.1_REL.iso) = 1383ed5c7adf4ac16ef887cf2296c85a

pkgsrc packages

We offer roughly 10,000 pre-built pkgsrc packages for this release. The pkg_radd(1) utility may be used to download pre-built binary packages. The path can be overridden by setting BINPKG_BASE in /etc/pkg_radd.conf. To get a list of all packages, let pkg_search(1) download the summary file for that release: # pkg_search -d 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.0 Special Installation and Upgrade Notes Disk size warning - Unless your hard disk is 50G or larger, we recommend doing a UFS install and not the default HAMMER install. We also recommend installing from the CD ISO, not the GUI .img, for smaller drives. A more serious installation should use HAMMER with at least 50G of disk space and can install from the GUI .img. HAMMER on smaller disk drives is possible but requires careful pruning to keep from filling the disk with file history.

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.)

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.

ISA driver removal - A number of ISA hardware drivers have been removed. One of these drivers, ie(4), was in our GENERIC config. Another driver, aha(4), was in both our GENERIC and our X86_64_GENERIC kernel configuration files. If you are using a kernel config based on a previous release's GENERIC config file, you may need to remove these drivers in order to successfully compile the kernel.

PAM Changes - The pam_krb5 and pam_ksu modules have been removed as part of a PAM update. If you were using these modules, the security/pam-krb5 package in pkgsrc is a suitable replacement.

Remaining issues - The DragonFly bug tracker mentions some issues still known but not fully diagnosed at time of release. Specifically, building world with more than 4 processes (-j 5) may cause issues on i386, and some users have seen issues with NFS. Check the 3.0 release ticket for details.

DragonFly 3.0 Release Notes Release Improvements

Kernel changes

  • crypto(4) now supports the AES-GCM, Twofish, Serpent, Twofish-XTS and Serpent-XTS ciphers.
  • Fixed dm(4)'s remove_all so that it works correctly when the volumes are interdependent.
  • Improved dm(4) performance by reducing serialization in the I/O path.
  • dm_target_crypt now supports plain64 IV generator.
  • dm_target_crypt now supports Serpent and Twofish XTS modes.
  • dm_target_crypt now uses per-volume mpipes. This fixes a major issue with stacked volumes.
  • devfs(4) has been changed to track related devices explicitly by cdev pointer instead of by (sub)name. The devfs subname* API has been completely replaced by the related* API.
  • Fixed some potential deadlocks in dsched(4) and dsched_fq.
  • bfq(4), an experimental, work-in-progress budget fair queuing dsched(4) policy has been added.
  • mps(4) driver has been updated and now supports RAID.
  • pf(4) has been converted to use kmalloc instead of zalloc.
  • Substantial update to the kernel's ELF handling.
  • The refcount API has been overhauled.
  • A netgraph MP race has been fixed.
  • A bug in the kernel smb code relating to directory scanning has been fixed.
  • NFS server updates were pulled in from FreeBSD; read and write clustering behavior is improved.
  • MSI (Managed System Interrupt) and MSI-X support has been greatly expanded.
  • Soft tokens can now be taken in shared mode in addition to the classical exclusive mode.
  • Virtual file system accounting support has been added and will serve as a basis for future file-system independent quota work.
  • Appletalk support removed.
  • tmpfs filesystems can now be exported via NFS.
  • libm has been updated with multiple math functions brought in from NetBSD/FreeBSD.
  • Position-Independent Executables (PIE) support added.
  • TRIM support added.
  • PCI MMC/SD drivers are included in the GENERIC kernel.

Hardware changes (non-networking)

  • padlock(4) now supports the built-in random number generator and feeds entropy into the kernel's entropy pool.
  • ubsec(4) has now been fixed to be compatible with the new crypto(4) framework.
  • mfi(4) updated to LSI's version 3.981.
  • hptiop(4) updated.
  • safe(4) added.
  • mps(4) driver updated
  • ecc(4) now supports more hardware.
  • coretemp(4) updated.

Hardware changes (networking)

  • bge(4) now supports the 5761, 5784, and 57780 chipsets.
  • ndis(4) updated.
  • msk(4) updated.
  • re(4) updated.
  • lgue(4) added.
  • bce(4) updated.
  • em(4)/emx(4) updated.

New Multiprocessor-safe Work

  • VM: vm_objects now use per-object tokens and a hold/release based-lock protocol, rather than the global VM token.
  • VM: VM page queues locking is now fine-grained
  • VM: x86-64 PMAP has been rewritten to synchronise at the page/object level rather than using the vm_token.
  • kqueue: kqueue uses per-kq and per-list token rather than a global page queue token
  • signals: Move some signal processing unto LWP rather than process tokens

Userland changes

  • The C library slab allocator (nmalloc) has been replaced with a considerably more scalable, faster design on x86-64 (dmalloc).
  • proplib(3) has been updated
  • libdm, a simple BSD-licensed device mapper library that is API-compatible with libdevicemapper has been added.
  • tcplay(8), a simple BSD-licensed tool that allows creation, managing and mapping of TrueCrypt volumes has been added. It is fully integrated with initrd and cryptdisks and 100% compatible with TrueCrypt.
  • tcplay(3), a library based on tcplay(8) that allows access to TrueCrypt volumes, has been added.
  • POSIX 2008 fmemopen(3) and open_memstream(3) routines have been added to libc
  • Bug in socket timeouts has been fixed, allowing Varnish to run w/ default configuration.
  • The jail rc.d script can now automatically mount a devfs inside the jails.
  • Minor fix in hammer(8) for snapshot count in the info directive.
  • Major update to rtld-elf.
  • Major update and bugfixes to sh(1).
  • 'hammer dedup' can run in fixed memory by running multiple passes.
  • buildworld can now be run in parallel for faster results.
  • dfregress, a regression testing framework, added.
  • Support for exception handling on statically-linked binaries.
  • libhammer, a library for HAMMER functions, has been added.
  • tuxload, a tool for stressing the VM system's free memory, has been added.
  • Patches for use with Coccinelle and DragonFly are now included.

x86_64-specific changes

  • A bug in the initial stack pointer alignment has been fixed.
  • File-descriptor passing via sendmsg has been fixed on x86_64
  • MTRR support added to x86_64 kernel
  • dmalloc added (see Userland Changes)

Removals

  • The following ISA only drivers have been removed along with a couple of associated userland tools: aha(4), asc(4), sasc(1), ctx, dgb(4), el(4), gpib, gsc(4), sgsc(1), ie(4), labpc(4), le(4), mse(4), rc(4), rdp(4), spigot, tw(4) & xten(1) & xtend(8), wl(4), wlconfig(8), wt(4).

Contributed Software

  • Shipping with pkgsrc-2011Q4 built packages.
  • binutils 2.20 removed
  • libgnuregex removed
  • BSD gprof replaced with GNU gprof
  • GNU sort replaced by NetBSD sort
  • xchat removed from GUI build
  • awk updated to 20110810
  • binutils updated to 2.22 (2.21 is the default)
  • dma updated to 0.7
  • diffutils updated to 3.2
  • file updated to 5.10
  • ftp updated to match NetBSD's tnftp as of 2012/01/08
  • gcc44 updated to 4.4.7
  • gdb (and kdgb) updated to 7.3
  • gdtoa 20110321 added
  • grep updated to 2.9
  • ldns/drill updated to 1.6.11
  • less updated to 444
  • libarchive updated to 3.0.3
  • libgmp updated to 5.0.2
  • libmpfr updated to 3.1
  • libpcap updated to 1.2.1
  • mdocml updated to 1.11.3
  • OpenPAM updated to 'Lycopsida'
  • OpenSSH updated to 5.9p1
  • OpenSSL updated to 1.0.0g
  • sendmail updated to v8.14.15
  • tcpdump updated to 4.2.1
  • texinfo updated to 4.13
  • xz updated to 5.0.3
  • zoneinfo database updated to tzdata2011n

Security related

  • CVE-2011-4862, telnetd, fixed.
  • CVE-2011-3581, CVE-2011-3207, CVE-2011-3210, CVE-2010-3864 CVE-2010-2939 fixed through contrib software updates.
  • crypt(3) changed to use the Linux implementation of SHA256/512. SHA512 is the new default.

Link to comment
https://www.neowin.net/forum/topic/1059634-dragonfly-bsd-30-released/
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • BleachBit 6.0.1 Beta by Razvan Serea When your computer is getting full, BleachBit quickly frees disk space. When your information is only your business, BleachBit guards your privacy. With BleachBit you can free cache, delete cookies, clear Internet history, shred temporary files, delete logs, and discard junk you didn't know was there. Designed for Linux and Windows systems, it wipes clean thousands of applications including Firefox, Microsoft Edge, Google Chrome, Opera, Safari, and more. Beyond simply deleting files, BleachBit includes advanced features such as shredding files to prevent recovery, wiping free disk space to hide traces of files deleted by other applications, and vacuuming Firefox to make it faster. Better than free, BleachBit is open source. BleachBit has many useful features: Delete your private files so completely that "even God can't read them" according to South Carolina Representative Trey Gowdy. Simple operation: read the descriptions, check the boxes you want, click preview, and click delete. Multi-platform: Linux and Windows Free of charge and no money trail Free to share, learn, and modify (open source) No adware, spyware, malware, browser toolbars, or "value-added software" Translated to 64 languages besides American English Shred files to hide their contents and prevent data recovery Shred any file (such as a spreadsheet on your desktop) Overwrite free disk space to hide previously deleted files Portable app for Windows: run without installation Command line interface for scripting and automation CleanerML allows anyone to write a new cleaner using XML Automatically import and update winapp2.ini cleaner files (a separate download) giving Windows users access to 2500+ additional cleaners Frequent software updates with new features Going beyond standard deletion of files, BleachBit has several advanced cleaners: Clear the memory and swap on Linux Delete broken shortcuts on Linux Delete the Firefox URL history without deleting the whole file—with optional shredding Delete Linux localizations: delete languages you don't use. More powerful than localepurge and available on more Linux distributions. Clean APT for Debian, Ubuntu, Kubuntu, Xubuntu, and Linux Mint Find widely-scattered junk such as Thumbs.db and .DS_Store files. Execute yum clean for CentOS, Fedora, and Red Hat to remove cached package data Delete Windows registry keys—often where MRU (most recently used) lists are stored Delete the OpenOffice.org recent documents list without deleting the whole Common.xcu file Overwrite free disk space to hide previously files Vacuum Firefox, Google Chrome, Liferea, Thunderbird, and Yum databases: shrink files without removing data to save space and improve speed Surgically remove private information from .ini and JSON configuration files and SQLite3 databases without deleting the whole file Overwrite data in SQLite3 before deleting it to prevent recovery (optional) BleachBit 6.0.1 Beta release notes: BleachBit 6.0.1 beta is now available for testing. This maintenance-focused release includes bug fixes, updated translations, and a range of safe enhancements. This release fixes a Windows security issue that could allow arbitrary file deletion during privileged cleaning (reported by Zeze with TeamT5). It also adds new cleaners (including a DNS cache cleaner, Claude Code, and Visual Studio Code forks), support for multiple Chrome and Edge profiles, new deep scan options for developer directories like node_modules and venv, and safer, faster file shredding. All Platforms Added cleaners for Claude Code, DNS cache, and many Visual Studio Code forks. Added support for multiple Chrome and Edge profiles. Chrome can now clean downloaded AI models. Deep Scan can optionally remove venv, __pycache__, node_modules, and .angular directories. Deep Scan is faster by skipping directories on the keep list. File shredding is safer, faster, and leaves fewer recoverable traces. Improved handling of cookies, symlinks, Unicode filenames, external processes, and configuration files. Improved Expert Mode warnings and long warning dialogs. Fixed crashes related to cleaner detection, invalid Unicode, and malformed cleaner data. Clipboard is now cleared automatically after shredding files via paste operations. Linux Added AppImage support. Added cleaners for Visual Studio Code, Codeium, Librewolf (.deb), Transmission (Flatpak), and Profanity. Improved Linux trash detection, including Snap-installed applications and mounted drives. Fixed Wayland root CLI issues and several Snap-related problems. Improved package dependencies, AppStream metadata, and desktop file handling. Fixed startup crashes when Python Requests is unavailable. Windows Fixed a security vulnerability that could allow arbitrary file deletion when cleaning with elevated privileges. Added %WindowsSystem% variable support. Improved clipboard clearing using native Windows APIs. Improved installer experience on unsupported Windows versions. Reduced installer size and improved application robustness. Fixed Unicode handling, filename anonymization, Git revision reporting, and splash screen stability. [full release notes] Download: BleachBit 6.0 | Portable | ~20.0 MB (Open Source) View: BleachBit Home page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • DriversCloud 12.1.6 by Razvan Serea With DriversCloud (formerly My-Config.com), you can explore your computer easily, safely and free. The application quickly scans your PC and identifies the hardware and software components. DriversCloud then establishes a list of the different drivers compatible with your OS and hardware. Download the drivers needed for the proper functioning of your computer. To detect your drivers, DriversCloud also displays a detailed summary of your hardware and software configuration, analyzes your BSOD, monitors in real-time your PC voltages and temperatures and lets you share your configuration online. Once the hardware components have been detected, you will be able to obtain with just a few clicks the latest drivers corresponding to the identified hardware. You can record your configuration on the site for free, and can get the corresponding URL to post the configuration to technical forums, e-mail and social networks. You can also download the detection result (the configuration) as a PDF file. To protect the user's privacy and data confidentiality, a 4-level confidentiality system was created that filters the XML marks and gives control to the user. The default level can be modified in the preferences. Using the maximum level will prevent the user from publishing his configuration and generating a corresponding PDF file. In non-connected mode, each XML configuration is stored on the server for one day (for practical reasons). However, you are given the opportunity to manually delete it. Created in 2004, and continually improved, My-Config.com has established itself on the web as a free service to PC users running Windows and Linux operating systems. The service is designed to work with the most common Internet browsers (Edge, Firefox, Chrome, Safari). Download: DriversCloud 64-bit | 20.0 MB (Freeware) Download: DriversCloud 32-bit | 18.9 MB Link: DriversCloud Home Page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • One Month Later
      AndreaB earned a badge
      One Month Later
    • One Month Later
      agatameier earned a badge
      One Month Later
    • Week One Done
      agatameier earned a badge
      Week One Done
    • Week One Done
      ssd21345 earned a badge
      Week One Done
    • Contributor
      MarkHughes4096 went up a rank
      Contributor
  • Popular Contributors

    1. 1
      +primortal
      516
    2. 2
      +Edouard
      193
    3. 3
      PsYcHoKiLLa
      147
    4. 4
      ATLien_0
      96
    5. 5
      Steven P.
      77
  • Tell a friend

    Love Neowin? Tell a friend!