The May 2010 issue of BSD Magazine is out, with, among other articles, a writeup by yours truly about using HAMMER to access historical data.
Month: April 2010
A note, in part for my own benefit: the @reboot crontab entry is all you need to get a HAMMER mirror-stream going again after a reboot/shutdown.
Because of a number of problems, snapshot building hasn’t worked for some days. To fix this, some updates need to happen within DragonFly. This will mean a minor version bump to 2.6.3 in the next little while.
From a commenter on a previous post: Gentoo has a Google Summer of Code project porting portage to DragonFly, by student Naohiro Aota. I had no idea this was happening – this is interesting!
We’ve got 3 projects for Google Summer of Code 2010:
- “Device Mapper based Logical Volume Management”, by Alexander Hornung and mentored by Chuck Tuffli.
- “Porting kernel mode-setting, GEM and KMS, to DragonFlyBSD” by David Shao, mentored by Matthew Dillon
- “Coalesce + MPSAFE kevent, select, poll and wakeup” by Samuel Greear, mentored by Joe Talbott
We had a good number of excellent proposals, but only 3 slots from Google. There were only 12 spare slots by the end of the proposal period, too, meaning less than 1 spare per 10 organizations. I’d encourage people that applied and didn’t get in to still try the work; there were some neat proposals!
Visit the GSoC site for more details.
I’ve made reference to DESTDIR for pkgsrc several times, with only an informal understanding of what it means. From what I’ve learned, and what Joerg Sonnenberger’s told me, DESTDIR support means that packages can be built from pkgsrc without needing to be root. This means local packages can be built on an ordinary user account using pkgsrc.
This also means that pkgsrc can build packages before each upgrade, and only upgrade if a binary package can be built for each item involved. This means minimal downtime and no failures during upgrades, the biggest bugaboo for using pkgsrc that I’ve encountered.
Matthew Dillon went into detail on just how Hammer snapshots could be shared out via Samba.
There’s a deficit of vowels in the title of this post… Anyway, Alex Hornung has changed the format of some of the sysctls used in the I/O scheduler, dsched. Be ready for this if you’ve been messing with it in 2.7.
Siju George is making a Hammer volume’s snapshots available through Samba, with the results that some Windows-using developers get historical snapshots for free.
Linux Weekly News describes the 2.6 release of DragonFly in an extensive article, which even mentions this Digest. (yay!) Also in the comments, a link to a short interview with Matthew Dillon on a French site with an English translation.
I posted a note about where the 2010Q1 builds are for pkgsrc; if you’re on i386/2.6 right now, you can try it out.
The newest branch of pkgsrc for 2010 is officially out – read the release announcement for details on what’s updated. Among other things, DESTDIR support is almost complete, and a shift to default KDE4 is underway.
I’m working on bulk builds already, so hopefully soon you’ll be able to pkg_radd 2010Q1 packages…
Venkatesh Srinivas has been working on new version of DragonFly’s malloc; he’s published an extensive writeup (which is inexplicably split in two in the mail archives) that includes several of my favorite thing: graphs! For those short on attention: the new malloc has around a 20-25% improvement over the existing malloc in MySQL sysbench results.
In this recent note about the new wireless driver framework, Rui Paolo noted how to add a ath(4) device as wlan0 automatically.
Sascha Wildner has ported MultiMedia Card support from FreeBSD; SD, SDHC, and MMC cards should work in DragonFly now. Man, there’s been a lot of new additions recently.
Thomas Nikolajsen wrote some tips on starting a NFS client on DragonFly; I’m linking to them both because they’re generally handy and specifically so I can have them for later…
Rui Paulo’s work porting the current set of FreeBSD network drivers over to DragonFly has been committed; there’s about a zillion commits (via Matthew Dillon) today to show for it.
Gergo Szakal mentioned some ideas he had about binary upgrades; among other parts of the conversation, Samuel J. Greear/Sascha Wildner reminded everyone that Matthias Schmidt had ported the FreeBSD binary upgrade system over in late 2007, and it’s still around to play with.
Rui Paulo’s work on wireless drivers will be entering 2.7 very soon. (2.6 is unaffected.) This will cause problems if you are running acx(4), bwi(4), iwi(4), iwl(4), rtw(4), rum(4), or ural(4), until someone writes a driver that matches the new framework. If you’re on 2.7 and you need these drivers working, hold off on updates for a bit…
Antonio Huete Jimenez has posted his results from testing Alex Hornung’s experimental I/O scheduler. Results are positive, and he also lists exactly how to download the code and test it on your own system. It’s worth trying, especially if you have DragonFly for a desktop.
Here’s some explicit instructions for upgrading from 2.4 to 2.6.
If for some reason you don’t have a /usr/src directory:
mkdir -p /usr/src cd /usr/src && git init git remote add origin git://git.dragonflybsd.org/dragonfly.git git fetch origin git branch DragonFly_RELEASE_2_6 origin/DragonFly_RELEASE_2_6 git checkout DragonFly_RELEASE_2_6 git pull
If you already have a /usr/src/ directory, you can just do the last 3 steps:
git branch DragonFly_RELEASE_2_6 origin/DragonFly_RELEASE_2_6 git checkout DragonFly_RELEASE_2_6 git pull
And then you can perform the normal “make buildworld…” steps outlined in /usr/src/UPDATING.
We’ve got 28 applications for Summer of Code, approximately what we had last year. If you’re a student, hold tight. We’ve got until the 21st to get everyone matched up, student <-> mentor.
David Shao is working on improving DragonFly’s DRM (kernel graphics drivers, not that other thing). That’s a good project to start, and also Antonio Huete Jimenez is willing to test it. We can always use more guinea pigs; if you want to contribute to DragonFly without writing code, testing someone’s dramatic changes is a big help.
Jan Lentfer’s ready to remove BIND from the base system; test out his changes if you’re running a DragonFly-based name server and want to see how it’ll work.
I suspect most people who are interested in BSD or open source in general have the same reaction to the iPad: it’s pretty, it looks neat, and hey Apple wait what do you mean I can’t use it the way I want to? I’ve managed to hold out for a few days on commenting about it, and the benefit is a bit less incoherence.
It’s relevant because it’s a BSD-based device without the normal freedoms you’d associate with it. I’m going to just point at these three articles that do a good job of describing what rubs me the wrong way.
The 4th issue of BSD Magazine is out, with the theme “Hosting BSD“. It’s a free download, and they now have a “questions from users” section that you can write in to.
If you’re a potential Summer of Code student, there’s about 72 hours left in the student application period. Get it in there!
pkgsrcCon is happening May 28th-30th in Basel, Switzerland. The event web page has note on location and hotel information. (thanks, S.P.Zeidler)
Alex Hornung posted a followup about his I/O scheduler work, with some interesting ways to watch the state of your disk’s activity.
Did you know Linux still had Big Kernel Lock issues? I didn’t. Plus: yay for new KernelTrap activity! Unless this is some sort of April Fools’s prank…
If you’re interested in software design, this blog post may have some good links to follow.
The April Open Source Business Resource is out, on “Cloud Computing”.