Category: DragonFly

OpenSSL update


There were more problems found in OpenSSL… right after release of DragonFly 3.8.  OpenSSL 1.0.1h has been committed, thanks to Robin Hahling and Sascha Wildner.  I’ll be rolling a 3.8.1 release soon.

If you are saying “Hey, what about LibreSSL?  And do I write it LibReSSL?”, it’s not set up as a portable release yet.  Also, I don’t know the correct capitalization, either.  There is some debate about the lack of notification from OpenSSL to LibreSSL, though other vendors were notified days before.

Posted by     Categories: DragonFly, Goings-on     8 Comments

DragonFly 3.8 released


The 3.8 release of DragonFly is out!  See the release page for a changelog and check your local mirror for download first.

Binary dports packages for 3.8 have been built; they are available for download.  (link goes to release versions of the packages.  Future updates will be in ../LATEST)

For upgrades from 3.6: You can pull the 3.8 source normally with git:

cd /usr/src
git fetch origin
git branch DragonFly_RELEASE_3_8 origin/DragonFly_RELEASE_3_8
git checkout DragonFly_RELEASE_3_8

Assuming you are using an unmodified kernel, here’s the steps I usually do for an upgrade:

# make buildworld && make buildkernel && make installkernel && make installworld && make upgrade

After upgrading from 3.6, pkg (as designed) will download the appropriate 3.8 packages with pkg upgrade.

Posted by     Categories: DragonFly, Goings-on, Heads Up!     9 Comments

DragonFly 3.8RC2 out


I put together a second release candidate for DragonFly 3.8, and it’s uploading now.  The reason is that I goofed up the pkg build – Sascha Wildner has hopefully made that harder for me to screw up now.

Release is still planned for the 4th.

Posted by     Categories: DragonFly, Goings-on     4 Comments

Try a docking station


If you have DragonFly on a laptop, and a docking station for that laptop, it may be better supported now.  (no, I don’t know exactly what acpi_dock does.)

Posted by     Categories: Device support, DragonFly     1 Comment

wpa_supplicant, hostapd updated


Alexandre Perrin contributed an upgrade of wpa_supplicant and hostapd for DragonFly, bringing it from 0.6.10 to version 2.1 – a 4-year jump.

Posted by     Categories: Device support, DragonFly     0 Comments

DragonFly in GCC tests


Thanks to John Marino and people I don’t know the name of in the gcc project, DragonFly is now part of the gcc test suite.

“What about clang?” you say?  We’re not picky; DragonFly works with either.

Posted by     Categories: DragonFly, Goings-on     3 Comments

DragonFly 3.8 release candidate available


I’ve branched DragonFly 3.8, and tagged a release candidate.  Please try the release candidate if you can.  I have links in my post to users@/kernel@.  Don’t forget the remaining issues!  Planned release date is June 4th.

Posted by     Categories: DragonFly, Goings-on, Heads Up!, Please test     2 Comments

DragonFly, PostgreSQL, PGCon, slides


The slides from Francois Tigeot’s talk about benchmarking DragonFly with PostgreSQL are now online – link is to a PDF.

Posted by     Categories: Conventions, DragonFly, Goings-on     2 Comments

Hammer in BSD Magazine


The May BSD Magazine is out, and Siju George has written an article about using Hammer on DragonFly.  It’s a free download to read.

(link fixed)

Posted by     Categories: BSD, DragonFly, Hammer, Periodicals     3 Comments

DragonFly 3.8, coming up


We’re due for the next release of DragonFly.  I’ve posted the two-week warning to kernel@.  As I noted in that post, please look at the list of issues for the release and see what you can close.

Posted by     Categories: DragonFly, Goings-on     2 Comments

DragonFly, PostgreSQL, PGCon


Francois Tigeot is giving a talk tomorrow on benchmarking DragonFly using PostgreSQL, at PGCon 2014.  PGCon is the PostgreSQL convention happening immediately after BSDCan in the same location, in case you didn’t know already.

Posted by     Categories: Conventions, DragonFly, Goings-on     1 Comment

Newest committer: Imre Vadasz


Imre Vadasz is our newest DragonFly committer.  Welcome, Imre!

Posted by     Categories: DragonFly, Goings-on     5 Comments

Portmaster tip: you are using the new version


Portmaster, if you install it, tells you to upgrade your packages.  If you are on DragonFly, you are already upgraded.

Posted by     Categories: DPorts, DragonFly     0 Comments

ral(4) updates


Sascha Wildner has updated ral(4) with support for RT2700/2800/3090 chipsets.  If you have one of these, please try it out – these are untested.

Posted by     Categories: Device support, DragonFly, Please test     2 Comments

GSI CPU Autoselection


Sepherosa Ziehau has enabled GSI target CPU auto selection, by default, on x86_64.  He says to let him know if there’s problems.  I’m not sure what form the problems would take, cause I’m not sure what this does.

Posted by     Categories: Committed Code, DragonFly, Heads Up!     1 Comment

Atheros updates for sleep


Matthew Dillon brought in Adrian Chadd’s sleep state changes for the ath(4) driver from FreeBSD to DragonFly; you may see reduced power usage if you have the appropriate hardware.

Posted by     Categories: Device support, DragonFly, FreeBSD     0 Comments

Updates for libpcap, file


libpcap has been updated in DragonFly by Matthew Dillon, and file has been updated by Peter Avalos.

Posted by     Categories: Committed Code, DragonFly     0 Comments

Confluence on DragonFly: works, sometimes


I’ve seen Atlassian Confluence, a Java-based wiki program, in a few places.  Atlassian apparently offers their software at a discount (free?) to qualified open source projects.  I set up Confluence 5.4 on DragonFly as a test run, and it generally worked.  That’s great!  I tried to set up version 5.5, and it will not start.

May 08, 2014 7:24:41 PM org.apache.catalina.core.ContainerBase startInternal
SEVERE: A child container failed during start
java.util.concurrent.ExecutionException: java.lang.InternalError: platform not recognized
        at java.util.concurrent.FutureTask.report(FutureTask.java:122)

This is annoying. DragonFly (or any BSD) is not supported by Atlassian for Confluence, so it’s not a surprise… but I was so close! Their product has a very nice interface and I was planning to replace Mediawiki at my workplace with it, for some internal documentation. This FreeBSD bug report is the closest fix I can find, but it’s old enough it shouldn’t matter now.

Posted by     Categories: DragonFly, Goings-on     7 Comments

DragonFly network performance


Wojciech Puchar noted with some surprise that DragonFly uses less CPU than expected for high-packet-rate traffic.  This has been going on for a while, and apparently Sepherosa Ziehau has even more improvements planned.

Posted by     Categories: DragonFly, Goings-on     0 Comments

A recurring DragonFly pattern: hey, this is fast!


The reaction I have heard a number of times from new DragonFly users: hey, this runs really fast, even when I try to load it down!

Posted by     Categories: DragonFly, Goings-on     2 Comments

Goodbye, ATM


ATM support is gone in DragonFly, and frankly, I’m surprised it was still there.

Posted by     Categories: Committed Code, DragonFly     0 Comments

ACPICA updated to 20140424


Sascha Wildner’s updated ACPICA to version 20140424.  Will that help you?  Perhaps with newer motherboards; otherwise check the changelog.

Posted by     Categories: Committed Code, DragonFly     0 Comments

A pkg 1.3 change to enjoy


The pkg tool, used in DragonFly (and FreeBSD) for ports, is at version 1.2.  Version 1.3 will apparently be able to solve the problem where one port is ended and replaced with another.  This is a problem that’s been around forever, and I don’t just mean with pkg.  I don’t know how soon 1.3 will be out, or what version FreeBSD is at.

Posted by     Categories: DragonFly, FreeBSD, Goings-on     0 Comments

Extra digit on your PIDs


Just so nobody’s surprised: DragonFly process IDs now go an order of magnitude higher.

Posted by     Categories: DragonFly, Goings-on     0 Comments

New virtio-net driver


If you’re using DragonFly in qemu, virtualbox, whatever – but not VMWare – there’s a new virtio-net driver to try out.

Posted by     Categories: Device support, DragonFly     3 Comments

BSD Magazine for March


The March issue of BSD Magazine is out, and this month has an article written by Siju George about how his company is using DragonFly and Hammer for backups.

Posted by     Categories: BSD, DragonFly, Hammer, Periodicals     0 Comments

One weird trick for dports


Remember: If you have a particular port that’s not building in DragonFly, there may be a patch in pkgsrc that could be brought over, as John Marino points out.

Posted by     Categories: DPorts, DragonFly, pkgsrc     1 Comment

ACPICA updated to 20140325


Sascha Wildner’s updated ACPICA to a very recent version, which happens to fix a bug in an earlier ACPICA version.

Posted by     Categories: DragonFly, Goings-on     2 Comments

Dynamic binaries arrive


Here’s the announcement from Francois Tigeot: DragonFly now uses dynamic binaries in the root filesystem.  You will need to do a full buildworld/buildkernel if on 3.7 and upgrading.

Posted by     Categories: Committed Code, DragonFly, Heads Up!     0 Comments

Rescue initrd added


DragonFly now has a ‘rescue’ system added in, which also functions as a way to mount encrypted filesystems.  Does PAM work yet?  I don’t know; I may be linking to this earlier than I need to.

Posted by     Categories: Committed Code, DragonFly     2 Comments

DragonFly 3.6.2 released


Release 3.6.2 of DragonFly has been tagged, and ISO/img files are available.  This includes an updated OpenSSL for Heartbleed problems.  Here’s the changelog.  You can, if you haven’t already, update your existing 3.6 systems the normal way.

Posted by     Categories: DragonFly, Goings-on     0 Comments

HTTPS, OpenSSL, and dragonflybsd.org


All the dragonflybsd.org sites (www, bugs, gitweb, lists, leaf) should be available via https now, thanks to a wildcard certificate from InterNetX.  Also, all the machines have an up-to-date version (1.0.1g) of OpenSSL installed to prevent the Heartbleed issue.

Posted by     Categories: DragonFly, Goings-on     0 Comments

How do you test a balloon memory driver?


I’ve wanted more support for virtualized DragonFly systems.  Sascha Wildner put together an experimental balloon memory driver to test out, and I ran it on two virtual machines separately, one with it loaded and one without, on the same host system.  The problem is, I can’t tell what it does.  The two machine reported almost the exact same RAM usage during a buildworld.

Any VMWare/virtualization experts out there able to tell me what needs to be tested to verify this?

Posted by     Categories: DragonFly, Please test     4 Comments

Heartbleed and BSD


If you didn’t know what the Heartbleed bug is, here’s your explanation, plus details.  (via).  You should probably update your systems.

Posted by     Categories: DragonFly, FreeBSD, Heads Up!, NetBSD, OpenBSD     0 Comments

Rescue RAMdisk to test


Francois Tigeot’s rescue ramdisk work is ready for testing.  You can pull it directly from his repo and try it out.  It’s surprising how small the ramdisk can be crunched.

Note: he now has a newer branch than what is in that linked message.

Posted by     Categories: DragonFly, Goings-on     0 Comments

bwn(4) added


You know what always makes me happy?  When someone shows up out of the blue and says “Here; I did this cause I needed it; everyone can share.”  The latest example of that is Imre Vadasz porting bwn(4), for the Broadcom BCM43xx wireless chipset over from FreeBSD to DragonFly.

Posted by     Categories: Device support, DragonFly     0 Comments

Video cards on DragonFly


In a thread about video cards on DragonFly, Francois Tigeot listed good ATI cards to try, and pointed out the VESA driver is probably your best bet right now with NVidia cards.

Posted by     Categories: Device support, DragonFly     0 Comments

Thinkpad users: update for ACPI


The acpi_thinkpad module (section?  code?) has been updated.  Update if you are on DragonFly 3.7, or be patient if you are on 3.6.

Posted by     Categories: Device support, DragonFly     0 Comments

For the next DragonFly release


I wrote up some thoughts for the next release of DragonFly.  There’s some project work in there for anyone interested.  The next release should be near the end of May.

Posted by     Categories: DragonFly, Goings-on     1 Comment

BSDTalk 239: Baptiste Daroussin


BSDTalk 239 is 55 minutes of talk with Baptiste Daroussin at vBSDCon 2013 about ‘pkgng’ on FreeBSD.  The BSDTalk post doesn’t mention it, but it is the same pkg tool that DragonFly uses, so Baptiste’s plans are relevant to DragonFly too.  (I haven’t had a chance to listen to the podcast yet so I don’t know how much he talks about DragonFly, specifically.)

Posted by     Categories: BSD, DragonFly, Periodicals     0 Comments

Timezones and political reality


Timezones are a human invention to describe the natural world, so they are changed according to human whims.  That’s a grand way to note this change in timezones that is global but I noted in a DragonFly commit of tzdata2014b – look at the last entry.

Posted by     Categories: DragonFly     0 Comments

Various USB drivers added


I’ve been away because of some home construction taking up time, but this has actually been happening for a while: plenty of USB device drivers have been getting ported in to work with the new USB4BSD stack.  My links for that are not comprehensive.

Posted by     Categories: Device support, DragonFly     0 Comments

NSS/LDAP and DragonFly


One of the requirements to get NSS/LDAP working on (most) any unixlike system is to have dynamic binaries; meaning they are dependent on various libraries to run.  Since you’re talking about programs for login when you’re talking about NSS/LDAP, that means if the libraries aren’t available, you can’t log in.  DragonFly has static binaries just to avoid that problem.

Francois Tigeot proposed switching to dynamic binaries and building a /rescue directory with static backups, as is the case with I think FreeBSD and NetBSD.  If you follow the thread, it looks like the best path is to use initrd instead.  Initrd stands for INITial Ram Disk, and is the first volume the computer sets up to boot from BIOS.  Since initrd gives the computer enough space to load all the needed modules (like Hammer2…), it works without making the computer dependent on various libraries or having a bloated /rescue directory.

(Someone correct me if I have the details wrong.)  As long as we’re talking about things that would help DragonFly in a larger environment, can someone work on a VM balloon memory driver, too?

Posted by     Categories: DragonFly, Goings-on     1 Comment

GUI images for DragonFly 3.6 sort of


If you noticed the lack of a GUI DVD image for the 3.6 release of DragonFly, I posted a followup note on the users@ list that talks about the steps to get X installed.  It’s not much work, with pkg set up.

IPv6 test patch


Sepherosa Ziehau has an IPv6 patch for you to try.  What’s it do?  I think it improves performance under multiple streams of traffic, but that’s from looking at the code and totally guessing.

Posted by     Categories: DragonFly, Please test     0 Comments

Hammer 2 work and notes


Matthew Dillon committed the start of a Hammer 2 cluster API. I noticed, while looking at the commit, that there’s a design document, a freemap design document, a changes list, and – most important for anyone interested – a TODO list.

Posted by     Categories: DragonFly, Hammer     2 Comments

tcplay updated to 2.0


Alex Hornung has updated tcplay in DragonFly to 2.0, and cryptdisks is updated to match.  If you have a short memory, tcplay(8) is the tool on DragonFly to manage TrueCrypt volumes.  Is DragonFly the only BSD to have this?  I think so, based on very few seconds of googling.

Posted by     Categories: Committed Code, DragonFly     1 Comment

Some 10G results on DragonFly


In part because I asked him, Sepherosa Ziehau benchmarked 10G ix(4) with 2 ports on DragonFly.  The results?  Good, both for bandwidth and for CPU usage.

Posted by     Categories: Device support, DragonFly     0 Comments

Connection speedup for x86_64


A recent commit from Sepherosa Ziehau has a 5% improvement in the number of network connections per second a x86_64 machine can accept.  He’s also reducing the number of IPIs during network activity.  If this seems somewhat esoteric, it’s because network speeds are getting so fast that the benefits come from reducing the accompanying CPU load.

Posted by     Categories: Committed Code, DragonFly     0 Comments

tzdata2014a and an odd thing


Sascha Wildner updated the time zone database on DragonFly to tzdata2014a.  The odd thing isn’t that update – Sascha updates like clockwork, haha! – but the release notes.  Apparently Even Microsoft is starting to support time zone names, sorta, finally.

Posted by     Categories: Committed Code, DragonFly     0 Comments

Building world for 3.7 users


If you’re on DragonFly 3.7, you will need to build world before building the kernel again if you are updating to some point in the last 24 hours.  Sascha Wildner points out the related commit.

Posted by     Categories: Committed Code, DragonFly, Heads Up!     0 Comments

Setting up Poudriere


Poudriere is the tool for building all of ports/dports, and Michael W. Lucas has written up his experience using it to build a custom ports set.  He’s doing on FreeBSD, but if you ignore the geom-specific parts, it should generally apply to DragonFly.

Posted by     Categories: DPorts, DragonFly, FreeBSD     0 Comments

New USB on by default


DragonFly has moved from the old USB stack to USB4BSD by default.  That means:

  • If you are already using USB4BSD, you will want to remove WANT_USB4BSD from your kernel config.
  • If you have trouble, switch back to the old USB.
  • There’s some drivers that are not yet converted; help with them would be appreciated.  
  • A full kernel/world build and ‘make upgrade’ will be needed in either case.

Sascha Wildner’s announcement email has all the gory details, including the kernel config changes to move back to the old USB setup.  This is of course in master; 3.6 users are unaffected.

Posted by     Categories: Device support, DragonFly, Please test     0 Comments

Backing up Hammer to non-Hammer volumes


Hammer’s ability to stream to remote disks is great, but what if you have storage that uses some other file system?  Antonio Huete Jimenez put together a shell script that will dump out the contents of a Hammer PFS, for upload to whatever.  Read the README for the details.

Note for docbook and upgrading


If you are upgrading packages on your DragonFly 3.6 system, and you have docbook installed, there’s an extra step needed because of the moving around of several docbook packages.  If you don’t have docbook installed – nothing to see here.

Posted by     Categories: DPorts, DragonFly     0 Comments

Summer of Code 2014 followup


I followed up with Google on why DragonFly isn’t in Summer of Code this year.  It is exactly as I suspected: they want to get new organizations in.  DragonFly’s been doing it for 6 years, so they are picking new orgs over returning ones.  This is apparently the same reason NetBSD isn’t in this year, either.

(Honestly, I can use the break.)

Posted by     Categories: DragonFly, Google Summer of Code     3 Comments

arcmsr(4) update


Sascha Wildner has updated arcmsr(4), which brings in support for the Areca ARC1214, ARC1224, ARC1264, ARC1284, and ARC1883 models, from FreeBSD.  Please test if you have the appropriate hardware.

Posted by     Categories: Device support, DragonFly     0 Comments

Bugs site now supports OpenID


bugs.dragonflybsd.org, the bug reporting site for DragonFly, uses Redmine.  It’s been updated and now can take OpenID for your login.

Posted by     Categories: DragonFly, Goings-on     0 Comments

coretemp available on DragonFly by default


Coretemp is now in the default kernel configs for DragonFly, so you can use coretemp to see your Intel CPU temperature.

Posted by     Categories: Device support, DragonFly     0 Comments

For Intel graphics users who can’t find a monitor


If you’re using the i915 driver for xorg, and xorg dies with a “No monitor specified for screen” error, there’s a config change to fix that, or you can just update.

Posted by     Categories: Device support, DPorts, DragonFly     0 Comments

In Other BSDs for 2014/03/01


Another week where I barely need to look up source code commits.

Posted by     Categories: Conventions, DragonFly, FreeBSD, NetBSD, OpenBSD, PC-BSD     1 Comment

pfi and authorized_keys support


pfi, the automated installer that nobody knows about, now supports installing an authorized_keys file as part of an install.  Credit goes to Alex Hornung for adding the functionality.

ACPICA 20140214 brought in


Sascha Wildner brought in ACPICA 20140214, and his commit message has a list of the updates.

Posted by     Categories: Committed Code, DragonFly     3 Comments

Spreading DMA


The DragonFly Mail Agent is being suggested as a possible sendmail replacement for FreeBSD.

Posted by     Categories: BSD, DragonFly, FreeBSD     1 Comment

DragonFly 3.6.1 released


I’ve tagged version 3.6.1 of DragonFly, and built ISO/img files of it.  They should be available by now on mirrors if you need them, or you can just upgrade as normal.   See the linked tag commit message for what’s changed.

Posted by     Categories: DragonFly, Goings-on     0 Comments

Do you have ACPI _PMM?


Grep /var/run/dmesg.boot for PMM, and if it turns up, Sepherosa Ziehau has a patch he’d like you to try.

Posted by     Categories: DragonFly, Please test     0 Comments

Clockmod replaces p4tcc


See the announcement, and the commit.  I’m not totally sure what this affects.

Posted by     Categories: Committed Code, DragonFly     0 Comments

i915 users: lose your monitor?


If you have i915 chipset-based video on DragonFly, and you get a “Output xxx has no Monitor section” complaint in your xorg logs, look at this fix using xrandr.

Posted by     Categories: Device support, DragonFly     0 Comments

Two AMD changes


Here’s two recent changes in DragonFly that may interest you if you have an AMD processor: Compute Units are now supported, thanks to Mihai Carabas, and Imre Vadasz ported over km(4), for temperature monitoring on 14h and 15h CPUs.  I’m still not totally clear on what Compute Units are.

Posted by     Categories: Device support, DragonFly     2 Comments

DragonFly 3.6.1 soon


As I mentioned on kernel@, I’m going to roll a point release of DragonFly soon.  Push in your changes if you want to get them in!

Posted by     Categories: DragonFly, Goings-on     0 Comments

3.8 release goals


Antonio Huete put together a list of goals for the next release on the DragonFly bugtracker.  Some of them are pretty ambitious, some of them are relatively easy, but they are all very useful.

Posted by     Categories: DragonFly, Goings-on     3 Comments

Go maintainer for DragonFly needed


We’ve got Go builders running for DragonFly, but nobody actively maintaining Go itself on DragonFly.  The dports version builds, but there’s a Go release coming up and having native support would be much better than relying on chance FreeBSD build compatibility.

The current error as I type this is a TLS problem that sounds like a simple fix, if only I knew where it was.

Posted by     Categories: DPorts, DragonFly     0 Comments

For Summer of Code: >63 CPUs


Here’s a potential DragonFly and Summer of Code project: adding support for more than 63 cores to DragonFly.  Matthew Dillon has already outlined how.

ACPICA-20140114 added


There seems to be a lot of ACPI-related updates lately: Sascha Wildner has updated ACPICA in DragonFly to what I think is the very latest version.  See his commit for the differences.

There really is a daemon in there


John Marino updated daemon(8) on DragonFly.  For some reason, I didn’t know it was a standalone program.  I knew about the idea of daemons as helpers based inside the computer, which is why so many server programs end with a ‘d’ – sshd, ftpd, and so on.  Inexplicably, I never actually saw the program itself.

Posted by     Categories: Committed Code, DragonFly     1 Comment

In Other BSDs for 2014/02/08


As you read this, I’m at NYCBSDCon – or at least should be.

Posted by     Categories: BSD, DragonFly, FreeBSD, NetBSD, OpenBSD, pkgsrc     0 Comments

C-state sysctl followup


Probably because of the C-state changes, Sepherosa Ziehau wants people to use a new set of sysctls instead of the hw.cpu_mwait* ones – at least on x86_64.  This won’t affect you if you aren’t already familiar with them, probably.

Posted by     Categories: DragonFly, Goings-on     0 Comments

New C-state possibilities


It’s now possible to reach deeper power-saving C-states  with DragonFly, thanks to work from Sepherosa Ziehau.  It’s possible to have it auto-adjusted by setting two sysctls.

Posted by     Categories: Device support, DragonFly     0 Comments

Summer of Code application in


I put in the application for Google Summer of Code 2014, for DragonFly.  Will we get in for a 7th year?  I hope so!

(I still want more mentors; contact me if you’re interested.)

Posted by     Categories: DragonFly, Google Summer of Code     0 Comments

DragonFly and Google Summer of Code 2014


I already asked this question on kernel@, but I’ll repeat it here.  Who is interested in mentoring for DragonFly, for Google Summer of Code 2014?  The org application period is starting today, and it would be neat to do this for a seventh year in a row.

Posted by     Categories: DragonFly, Google Summer of Code     1 Comment