Category: DragonFly

Chromium and dbus, separated


This is a minor thing, but I bet someone will find it useful: Chromium in dports has been patched to remove the forced dependency on dbus, which will be useful to anyone using DragonFly and a ‘lighter’ window manager.  You still need to specify this preference in your make.conf to have it happen.

Posted by     Categories: Committed Code, DPorts, DragonFly     0 Comments

smbfix


If you had trouble mounting a Windows share with mount_smbfs, the problem has been fixed – and in _release, too.  I don’t know when it started.

Posted by     Categories: Committed Code, DragonFly     0 Comments

Good news for multiple processors


Matthew Dillon has made a number of locking improvements, that speeds up performance on systems with multiple processor.  Here’s his commit with some numbers.  Note that he’s testing with these built-in utilities.   This probably helps multiple cores too, and some attention is shown to Hammer, too.

Posted by     Categories: Committed Code, DragonFly, Hammer     0 Comments

Go and DragonFly requirements


If you are moving to the newest 1.8 version of Go, the language, you need to be on at least the last release of DragonFly 4.4, or 4.6.  You’ve probably upgraded by now anyway, or at least I hope you have.

Posted by     Categories: DragonFly, Goings-on     0 Comments

Odd options: console color


Did you know you can set the border color for the system console?  I didn’t.  syscons(4) lists a number of options, including scrollback length and some other features I never thought about changing.

Binutils changeout


DragonFly has had binutils 2.24 and 2.25 both available for some time.  2.24 has been taken out and replaced by binutils 2.27, thanks to Rimvydas Jasinskas.

The 2.25 version was and still is installed by default.  If you want to try out 2.27 instead, WORLD_BINUTILSVER=binutils227 is what you need.  I didn’t test that, of course.  The binutils changelog will tell you what’s different in 2.27.

Posted by     Categories: Committed Code, DragonFly     7 Comments

EFI run-time ABI support in DragonFly


UEFI, which I casually sum up as the replacement for BIOS, has been seeing some support in DragonFly, but not within the installer.  Matthew Dillon and Sascha Wildner has ported over FreeBSD’s EFI ABI support, which I think means support for various EFI applications and features.  I haven’t booted a machine using UEFI in any significant way, so I don’t have a good explanation – but I am sure this is useful for people with new hardware.

Update: some explanation plus a note that it’s experimental and you could brick your machine.

re(4) users, please test


There’s a new version of re(4), the driver for Realtek network cards.  Sepherosa Ziehau put it together for testing.  He has it on a separate branch, so give it a try if you have appropriate hardware.  This will hopefully fix some of that hardware’s quirkiness.

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

Full-offload scan and what it means


Imre Vadasz is working on full-offload scan support for wlan, imported from FreeBSD.  That doesn’t change much from a user point of view, other that (I assume) reducing load and power usage a tiny amount.  I’m reinforcing something most people don’t think about: there’s tiny computers inside your computer with their own firmware and processors, that you don’t directly control.

nvme(4) added to the kernel


If you are using nvme(4), it’s no longer necessary to load the module.  Update your configs accordingly, if you are on DragonFly 4.7.

Posted by     Categories: Device support, DragonFly     0 Comments

nc(1) in DragonFly base


Because of libressl, nc(1) is now available in the base DragonFly system.  It was already available through dports, but it’s such a flexible tool that this is worth mentioning.

Posted by     Categories: Committed Code, DPorts, DragonFly     5 Comments

Braswell and DragonFly


If you’re wondering about the new Braswell-series systems from Intel, Matthew Dillon has already run two with DragonFly.  He reported on the results.

Posted by     Categories: Device support, DragonFly     0 Comments

Trackpad and Elantech support in DragonFly


One of my favorite things: when someone just appears out of nowhere and says, “I needed a change to my software so I did it and here it is to share”.  Harald Brinkhof wandered into DragonFly and the first thing he did was update support for trackpads.

Posted by     Categories: Device support, DragonFly     2 Comments

More EFI work


It’s now possible to put the /boot of your DragonFly system in the ‘a’ partition of a disklabel.  It’s perhaps not major, but it’s another step in EFI support.  EFI installs are possible now – if you do it manually.

Posted by     Categories: Committed Code, DragonFly     2 Comments

MMC/SDCard use now possible


If you have a memory card slot of some sort on your laptop, DragonFly can now reliably access it.  Probably even boot from it, though I haven’t seen it happen.

Posted by     Categories: Device support, DragonFly     3 Comments

Time tidbits


Two things recently learned by Sascha Wildner’s timezone update in DragonFly: Everything (“GNU/Linux,  Android,  the BSDs,  Chromium OS, Cygwin, AIX, iOS, BlackBerry 10, MacOS, Microsoft Windows, OpenVMS, and Solaris”) uses the same time zone data, and there once was a “day of two noons“.

Posted by     Categories: Committed Code, DragonFly     0 Comments

In Other BSDs for 2016/10/29


I get all the BSDs this week.

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

More security rewiring


The switch to from OpenSSL to LibreSSL in DragonFly’s base and in dports has led to more cleanup, including the removal of an old, strange munitions/crypto import restriction.  Be careful upgrading if you’re on master, though!

Posted by     Categories: Committed Code, DPorts, DragonFly     0 Comments

net.inet.carp.setroute and what it does


If your DragonFly machine is using CARP, and you don’t want CARP messing with your default routes, the sysctl net.inet.carp.setroute can keep them from being changed.

Better Fortran


Rimvydas Jasinskas has been improving LTO – Link Time Optimization – support.  It’s led to a lot of commits, and those are just a few examples.

Posted by     Categories: Committed Code, DragonFly     1 Comment

Goodbye, COMPAT_43


COMPAT_43 is gone, but it hasn’t worked in a long time anyway.  Note that this is 4.3BSD, pre-everything.

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

em(4), re(4), and network issues


If you are using em(4) or re(4) devices for networking, you may want to turn on polling.  MSI may or may not help for re(4), along with switching to the emx(4) driver.

LibreSSL not just available but default


Remember I posted that LibreSSL is in base DragonFly, but not default?  Well, it’s default now.  You can have a system without OpenSSL at all, by rebuilding DragonFly-current and using up-to-date dports.

Update: see John’s comments for clarification: LibreSSL is default; the change is that OpenSSL isn’t even built any more.  The result is still the same good news: you can have an OpenSSL-free DragonFly system now.

Posted by     Categories: Committed Code, DPorts, DragonFly     3 Comments

DragonFly 4.6.1 images up


I’ve uploaded ISO and IMG files for DragonFly 4.6.1, so they should be available for download at your local mirror.  Note that there’s an uncompressed 4.6.1 ISO for those installing to a virtual server.

Posted by     Categories: DragonFly, Goings-on     0 Comments

DragonFly 4.6.1 tagged


I don’t have it uploaded yet, but DragonFly 4.6.1 is tagged.  Anyone with an existing 4.6.0 or earlier system can upgrade now.  Use the 4.6 release instructions if you are unsure on how to upgrade.  The 4.6.1 tag commit message has all the changes.

Posted by     Categories: Committed Code, DragonFly     1 Comment

OpenSSL update, DragonFly update


OpenSSL in DragonFly 4.6 has been updated to 1.0.1u.  It’s time for a DragonFly 4.6.1, to catch up on this and other updates since the 4.6.0 release.  I plan to work on it this weekend.

Posted by     Categories: Committed Code, DragonFly     0 Comments

iwm(4) and power management


It looks like I summarized iwm(4) updates too early, cause Imre Vadasz added an actual powersave option.  I’d like to see someone with a power meter do some before-and-after testing.

Posted by     Categories: Device support, DragonFly     1 Comment

Recent iwm(4) updates


It’s been a quiet week, but there’s some activity: Imre Vadasz has been committing many improvements to iwm(4).  They haven’t been standalone enough for me to build a post around, but the most recent enables a low-power scan mode.

Posted by     Categories: Device support, DragonFly     0 Comments

Hammer helps again


I’ll just say I did this:

cpdup -VV -v /var/hammer/usr/snap-20160928-0301/local/pgsql/data /usr/local/pgsql/

And managed to bring back my last year or so of RSS feeds and the like.  Phew!

Posted by     Categories: DragonFly     0 Comments

Synaptics improvements


If you had trouble getting your laptop’s touchpad to work under DragonFly, try again.  (If you are running DragonFly-current)

Posted by     Categories: Committed Code, Device support, DragonFly     0 Comments

LibreSSL, DragonFly, and dports


It’s now possible to build dports using LibreSSL instead of OpenSSL.  Set SSL_DEFAULT in make.conf to the appropriate port name, and start building.  Use synth for fastest results, of course.

LibreSSL will eventually become the default library.  This is in addition to the previously-mentioned, already-completed in DragonFly 4.7, base system switch to LibreSSL.

Posted by     Categories: Committed Code, DragonFly     0 Comments

iwm(4) firmware updates, plus temperature?


For those running DragonFly 4.7, there’s new firmware for all iwm(4) devices.  Also, you can get temperature readings off the iwm wireless device now, if I’m reading this correctly.

Posted by     Categories: Device support, DragonFly     0 Comments

Who wants FUSE on DragonFly?


Tomohiro Kusumi is thinking about porting it.  Follow the whole thread for details.

3D printing on DragonFly


3D printing on DragonFly with a Fabrikator?  Yep, it works.  (from jh32 on EFNet #dragonflybsd)

Posted by     Categories: Device support, DragonFly     0 Comments

In Other BSDs for 2016/09/17


I’ve never had as many hackathon links as I did for g2k16 over this week and last.

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

Laptop on fire? Use powerd!


Matthew Dillon has added powerd, a utility that will automatically step down processor speed based on reported temperature.  The range is configurable, and there’s some other nice-to-have features.  This will save your CPU from melting, and probably also your thighs from being burned.

Posted by     Categories: Committed Code, Device support, DragonFly     3 Comments

Hybrid graphics, switcheroo, and DragonFly


karu.pruun has been trying to get a Macbook’s hybrid graphics card to work in DragonFly.  He’s been working on a gmux driver, but it needs a framework like Linux’s switcheroo.  If this topic interests you, help him out.

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

Restarting pf


I may have mentioned this in part before, but Matthew Dillon has a brief script to reload pf when an interface IP changes.  I’m linking it here in case it’s useful in the future.

Changes in release, master


Recent changes for virtual machine support and the new powerd utility have been rolled into the release branch for DragonFly. They’ll probably be in the next point release, or you can rebuild a release machine now for immediate access.

Also mentioned in the update from Matthew Dillon, DragonFly-master users should upgrade carefully as DragonFly migrates to using LibreSSL in base, and dports-based LibreSSL in dports.

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

AMD CPU users, try this


The’Errata 793‘ issue is apparently a bug where an AMD CPU can hang under very specific circumstances.  Sepherosa Ziehau has a fix – please try it if you have the appropriate hardware.

Posted by     Categories: DragonFly, Please test     0 Comments

Package building statistics


How long does it take to build all 24,000 packages in the DragonFly ports collection?  Apparently about 22 hours on a dual Xeon machine (with I think 36 cores) or 48-core Opteron.  This is with synth.  I used to measure pkgsrc builds in weeks.

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

LibreSSL now default in DragonFly


DragonFly now has version 2.4.2 of LibreSSL and uses it in base.  Ports may still link to OpenSSL, though – it’s still built by default, though make.conf can be configured to prevent that.

Posted by     Categories: Committed Code, DPorts, DragonFly     1 Comment

Zeroing does nothing


This makes sense once you think about it: copy-on-write filesystems (like Hammer2 and ZFS and probably others) actually do nothing when “zeroing” out filespace.

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

DSA keys disabled on DragonFly


DragonFly-master (i.e. 4.7) now disables DSA keys by default.  If you are using a DSA key for SSH/SFTP/whatever, you should change it anyway.  Otherwise, it won’t work without workarounds after your next 4.7 upgrade, or by the time of the next DragonFly release.

GCC update


GCC has been updated by John Marino from 5.3 to 5.4 in DragonFly – the 5.4 closed bug list on the GCC site is a good way to find out the benefits.

Posted by     Categories: Committed Code, DragonFly     0 Comments

In Other BSDs for 2016/08/27


I don’t know how I ended up with 3 pfSense items to lead with – it just happened.

 

Posted by     Categories: BSD, DPorts, DragonFly, FreeBSD, FreeNAS, NetBSD, pfSense     0 Comments

In Other BSDs for 2016/08/20


For once, I’m not working on Saturday, so even though this is last minute, at least I’m not in a race with the clock.

Posted by     Categories: BSD, BUG, DragonFly, FreeBSD, OpenBSD, OPNSense     0 Comments

Pulseaudio removed from dports


There’s been multiple reports of pulseaudio causing problems for DragonFly users.  It would get pulled in as a dependency, and audio would suddenly stop working.  Uninstall, and audio is fine.  John Marino has removed it from dports, to prevent that exact problem.

Posted by     Categories: DPorts, DragonFly, Goings-on     3 Comments

Optimizing your kernel


There’s been a number of commits lately around higher optimization levels for your DragonFly kernel.  It looks you can even set it systemwide.  Boot code remains at -O; any higher level will make it explode.  Is this safe?  I have no idea!

Posted by     Categories: Committed Code, DragonFly     1 Comment

Buildworld for -current users


If you are on DragonFly-current, AKA DragonFly 4.7, make sure to perform a full buildworld on your next upgrade.  Tomohiro Kusumi changed a Hammer ioctl, and the buildworld is needed to keep everything in sync.

Posted by     Categories: Committed Code, DragonFly, Hammer     0 Comments

You probably didn’t use this anyway


The last bits of Linux emulation have been removed from DragonFly.  It’s 32-bit, so it’s been unsupported since DragonFly went to 64-bit only with the 4.0 release.  Also, some other 32-bit only items are gone, including the cs, ep, ex, fe, and vx network drivers.  It’s almost impossible that anyone was using it, but it’s notable because that’s some… 15-20k lines of code gone?  Removal of unused code is also positive.

Posted by     Categories: Committed Code, DragonFly     4 Comments

IPI benchmarks in DragonFly


Alex Merritt noticed that one of the new characteristics of DragonFly 4.6 was “improved IPI signalling”.  He asked about benchmarks, Sepherosa Ziehau pointed at tools, and Matthew Dillon provided some results.

Posted by     Categories: DragonFly, Goings-on     0 Comments

OpenSSH, OpenSSL updates


Because this always happens just after I create a DragonFly release, there’s a new version of OpenSSL.  However, this is for version 1.0.2.  1.0.1 is what’s in the release, and it’s supported through the end of the year.

OpenSSH has a major version bump in DragonFly, to 7.3p1.  This means some features – specifically patches for High Performance Networking – are no longer there, and you’ll get an error if your config file requires them.  Either remove the options from your config, or install OpenSSH from dports.

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

ACPICA and a program inside


Did you know that ACPICA has its own internal ‘coding language’, called AML?  I did not, but it’s in DragonFly now in any case.  Every program eventually grows big enough to read email, and every specification eventually includes its own programming segment.

Posted by     Categories: Committed Code, Device support, DragonFly     0 Comments

Changes for vmstats


If you’re one of the people who can easily read ‘systat -vm’ output, the data presented there has been modified.  If you’re not one of those people, it’s a good way to monitor system health.

Posted by     Categories: Committed Code, DragonFly     0 Comments

DragonFly notes elsewhere


Here is some coverage of the DragonFly 4.6 release, which may be interesting to read because of the comments: Hacker News, Hacker News again, and lobste.rs.

A reaction to the initial creation of DragonFly I never saw before, and Matthew Dillon’s followup.  (via)

I like the summary in the very first comment of this story on DragonFly removing page-zeroing.

Posted by     Categories: DragonFly, Goings-on     0 Comments

For VPS users, an ISO


Thanks to a reminder from IRC user ‘cgag’, I’ve put an uncompressed ISO image of DragonFly 4.6 up on the main site.  It’s linked on the download page, and should be available within 24 hours on the mirrors.  If you are buying service from a virtual host provider, and can install an operating system directly from a downloadable URL, this is for you.

No more page zeroing


After some testing of different ways to pre-zero out memory pages, Matthew Dillon came to the conclusion: page zeroing doesn’t matter any more.  The idea dates all the way back to CSRG, and he’s removed it from DragonFly.

Posted by     Categories: BSD, Committed Code, DragonFly     0 Comments

DragonFlyBSD 4.6 released


DragonFly 4.6 is officially released!  Download from your nearest mirror, or update your source files and build – my users@ email describes the steps.

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

In Other BSDs for 2016/07/30


I did all of this in a hour, because I had so many tabs saved from during the week.  Don’t get overwhelmed!

Bonus DragonFly items, sent by Rolinh on IRC:

 

Posted by     Categories: BSD, BUG, Conventions, DragonFly, FreeBSD, OpenBSD, pfSense     0 Comments

HEADS UP: world needs rebuilding


I’m a bit late on this, but: If you are using DragonFly-current, you will need to rebuild world.  If you are on 4.4, this won’t matter until you go to 4.6, and you’d be rebuilding world and kernel for that anyway.

(4.6 will probably be tagged this weekend.)

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

DragonFly 4.6 release candidate 2 available


DragonFly 4.6 release candidate 2 has been tagged.  You can pull it directly from the master site in img or iso form (check your local mirror instead if possible), or shift to the new tag.

“Where is RC1?” you may ask?  I tagged the first release candidate some days ago, and this bug was immediately found right after.  It was easier to go right to RC2 once a fix was found.

This candidate will probably lead directly to a release version, so if you want to run the release version exactly, wait a few days.

Posted by     Categories: DragonFly, Goings-on     5 Comments

NVMe and IOPS


Matthew Dillon added NVMe support recently, and he also made some changes to DragonFly’s I/O system.  His test system was able to reach over a million IOPS.  That’s bananas!

Posted by     Categories: Device support, DragonFly     0 Comments

i915 update to 4.4


the i915 support in DragonFly now matches the Linux 4.4 kernel, which is good news if you have a Broxton, Skylake, or Cherryview processor, plus it adds a variety of fixes.

Posted by     Categories: Committed Code, DragonFly     0 Comments

Looking at your battery


If you want to check battery life, ‘sysctl hw.acpi.battery.life’ may help, as Sepherosa Ziehau points out.  I’ve always used ‘acpiconf -i 0‘, myself.

Posted by     Categories: Device support, DragonFly     0 Comments

UEFI install story


I like finding “This is how I did it” stories from people, as they are often really useful for anyone else trying to do the same “it”.  Here’s Dave MacFarlane’s UEFI install story.  (Note he’s still needing touchpad support.)

Posted by     Categories: Device support, DragonFly     0 Comments

Reminder: move your Hammer cleanup


A useful tip: if your DragonFly machine isn’t usually on 24/7 (e.g. a laptop, not a server), you should move your Hammer cleanup from 3 AM to sometime when the computer is normally on.

UEFI booting and manual installation


karu.pruun shares a story of manually installing DragonFly on a UEFI-booting machine.  In this case, it’s a Macbook, though there’s other non-fruit UEFI machines out there?

Two tips for video and audio


That’s one tip per subject, really.  If you need to set up a ‘video’ group for xorg, here’s the one-liner to do so.  If PulseAudio annoys you, which is not uncommon, ‘chmod -x /usr/local/bin/pulseaudio’ and it’ll go away.

ipfw3: lockless in-kernel NAT


It’s exactly what the title is: ipfw3 now does NAT in-kernel, without locking.  I have no benchmarks to point at, unfortunately.  The commit has usage examples.

Posted by     Categories: Committed Code, DragonFly     2 Comments

Any Mono/DragonFly users out there?


This is a specialized use case, but Mono 4.x has some issues on DragonFly.  Some minor testing has been done, but if you are already using it, please contribute.

Posted by     Categories: DPorts, DragonFly, Please test     0 Comments

DragonFly PIE


Place Independent Executables are now supported on DragonFly, thanks to sumbitter ‘shamaz’.

Posted by     Categories: Committed Code, DragonFly     0 Comments

Want to run a go builder for DragonFly?


The system I had for running a go builder died.  I am running out of extra hardware.  Is there someone who is using Go and DragonFly and is willing to commit to running a semi-dedicated builder?

Posted by     Categories: DragonFly, Goings-on     0 Comments

Kisumu digital library and DragonFly


There’s a new digital library in Kisumu, Kenya – and it’s running DragonFly for file storage.

Posted by     Categories: DragonFly, Goings-on     0 Comments

Hammer2 major changes


Hammer2 now has inode indexing, which Matthew Dillon was avoiding while trying to create more efficient hardlink support.  The result is now with that problem solved, more updates can come in: NFS support, mtime updates, output changes, code removal, and lots of other changes, not all of which I’m even linking.

Posted by     Categories: Committed Code, DragonFly, Hammer     2 Comments

nvmectl added


If you have a NVMe chipset under DragonFly, you now can use a special utility to retrieve status information: nvmectl.  Right now, only ‘info’ is implemented.

Posted by     Categories: Committed Code, Device support, DragonFly     0 Comments

HEADS UP: world reneeds rebuilding


If you are running DragonFly 4.5 (i.e. bleeding edge), Sepherosa Ziehau made an ifnet change that will require a full buildkernel/world if you want things like netstat to keep working.

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

Reminder: sometimes VESA is better


This is limited to some users of specific Intel video chipsets, but: if you get odd screen artifacts in X, the ‘vesa’ driver may work just fine for you.  Or turn acceleration off.  Or set ‘drm.i915.enable_execlists=0’ according to zrj on #dragonflybsd.

(Updated to reflect all the answers in the thread and elsewhere.)

Don’t forget tuning(7)


If you didn’t already know about it, you will find this useful: DragonFly has a tuning(7) man page, about getting the best performance from your system.  Matthew Dillon recently updated the man page with some tips about SSD setup.

What’s that @@?


Tomohiro Kasumi wrote a lengthy explanation of what “@@” means, in the context of the Hammer file system.  It acts as a sort of signifier for each actual Hammer pseudo-file-system, since it’s possible to null-mount these anywhere in DragonFly, under all sorts of names.  Don’t trust my summary, though – read his.

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