Lag!

Markus Pfeiffer has imported FreeBSD’s if_lagg to DragonFly.  It’s for talking LACP over multiple network ports, so that the traffic from those multiple ports can be aggregated – if what’s on the other end generally understands LACP.  (Failover mode may not count.)  Please test if you have that sort of surfeit of network ports.

DragonFly as a desktop

There’s been so much work in DragonFly recently that makes a desktop easier (i915 support, dports, and so on), that I decided to resurrect an older Dell machine and use it as my desktop.

The Dell that I’m using is a leftover from someone else’s workplace; it’s 7 years old, and has “only” 4G of RAM and a Core 2 DuoE6600  CPU in it.  It works, however.

Setting up DragonFly and installing xorg and so on is pretty straightforward.  Using dports makes it crazy quick to add all the packages.  I went for XFCE4 because I could.  Starting X gave me some trouble at first; the default config couldn’t find the mouse and would eventually crash.

Running ‘X -configure’ created a xorg.conf file I could edit, and these lines in /etc/rc.conf gave me a working mouse:

moused_enable="YES"
moused_type="auto"
moused_port="/dev/ums0"

The crashing problem with my radeon-driven video card was fixed by turning off the acceleration – uncommenting this line in xorg.conf did it:

Option     "NoAccel"

Video performance isn’t as nice as I would like it with acceleration, but this is an older machine anyway.

I couldn’t get sound working. Francois Tigeot has a branch of DragonFly that contains newer sound drivers brought over from FreeBSD, here:

git://leaf.dragonflybsd.org/~ftigeot/dragonfly.git (pcm_2014_september branch.)

It doesn’t support device cloning, so I can run Youtube videos and XMMS, but not audio from both at the same time.  (for instance; not that you’d want to do this other than by accident)

I installed x11/webfonts, and web pages look a bit better after changing my default font preferences.

And… that’s about it.  It’s a working desktop.  Digging up a half-height video card that has working acceleration is a next step, but I can’t imagine that’ll be expensive.  I wish I had done this a long time ago.

In Other BSDs for 2014/09/06

Why is it so warm out?  I want autumn to start.

New kernel and new target

You should perform a full world and kernel install if on master.

Several people (including me) have been getting bit by a problem: when performing an installworld with a changed kernel, the vn kernel module is loaded, but it was built by the previous kernel and may cause problems when it doesn’t match up.

To fix that, vn is now built in, instead of being a separate module.  The rescue initrd (which is what is being mounted when it has this problem) is now installed via a ‘make rescue‘ command that can wait until a successful installworld and reboot.

In Other BSDs for 2014/08/23

Another long list.  These are making my Friday nights take some extra effort.

pkg upgrade tip for pkg 1.3

DragonFly’s using pkg 1.3, at least on master, and I’ve seen a few people report an error message when performing ‘pkg upgrade’.   The error message usually includes something like:

pkg: need to re-create repo Avalon to upgrade schema vers

If you get this, do ‘pkg update -f’ and it will complete.